ResilienceHub / Client / list_app_input_sources

list_app_input_sources#

ResilienceHub.Client.list_app_input_sources(**kwargs)#

Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.

See also: AWS API Documentation

Request Syntax

response = client.list_app_input_sources(
    appArn='string',
    appVersion='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • appArn (string) –

    [REQUIRED]

    Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: partition:resiliencehub: region: account:app/ app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

  • appVersion (string) –

    [REQUIRED]

    Resilience Hub application version.

  • maxResults (integer) – Maximum number of input sources to be displayed per Resilience Hub application.

  • nextToken (string) – Null, or the token from a previous call to get the next set of results.

Return type:

dict

Returns:

Response Syntax

{
    'appInputSources': [
        {
            'eksSourceClusterNamespace': {
                'eksClusterArn': 'string',
                'namespace': 'string'
            },
            'importType': 'CfnStack'|'Resource'|'AppRegistryApp'|'ResourceGroup'|'Terraform'|'EKS',
            'resourceCount': 123,
            'sourceArn': 'string',
            'sourceName': 'string',
            'terraformSource': {
                's3StateFileUrl': 'string'
            }
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • appInputSources (list) –

      The list of Resilience Hub application input sources.

      • (dict) –

        The list of Resilience Hub application input sources.

        • eksSourceClusterNamespace (dict) –

          The namespace on your Amazon Elastic Kubernetes Service cluster.

          • eksClusterArn (string) –

            Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. The format for this ARN is: arn: aws:eks: region: account-id:cluster/ cluster-name. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

          • namespace (string) –

            Name of the namespace that is located on your Amazon Elastic Kubernetes Service cluster.

        • importType (string) –

          The resource type of the input source.

        • resourceCount (integer) –

          The number of resources.

        • sourceArn (string) –

          The Amazon Resource Name (ARN) of the input source. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

        • sourceName (string) –

          The name of the input source.

        • terraformSource (dict) –

          The name of the Terraform s3 state file.

          • s3StateFileUrl (string) –

            The URL of the Terraform s3 state file you need to import.

    • nextToken (string) –

      Token for the next set of results, or null if there are no more results.

Exceptions