ResilienceHubV2 / Client / list_input_sources
list_input_sources¶
- ResilienceHubV2.Client.list_input_sources(**kwargs)¶
Lists input sources for a service.
See also: AWS API Documentation
Request Syntax
response = client.list_input_sources( serviceArn='string', type='CFN_STACK'|'TAGS'|'EKS'|'TERRAFORM'|'DESIGN_FILE'|'MONITORING', maxResults=123, nextToken='string' )
- Parameters:
serviceArn (string) –
[REQUIRED]
ARN identifier.
type (string) – Filter input sources by type.
maxResults (integer) – Pagination page size.
nextToken (string) – Pagination token.
- Return type:
dict
- Returns:
Response Syntax
{ 'inputSourceSummaries': [ { 'inputSourceId': 'string', 'type': 'CFN_STACK'|'TAGS'|'EKS'|'TERRAFORM'|'DESIGN_FILE'|'MONITORING', 'resourceTags': [ { 'key': 'string', 'values': [ 'string', ] }, ], 'cfnStackArn': 'string', 'tfStateFileUrl': 'string', 'eks': { 'clusterArn': 'string', 'namespaces': [ 'string', ] }, 'designFileS3Url': 'string', 'createdAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
inputSourceSummaries (list) –
The list of input source summaries.
(dict) –
Contains summary information about an input source for a service.
inputSourceId (string) –
The unique identifier of the input source.
type (string) –
The type of the input source.
resourceTags (list) –
The resource tags used for discovery, if this input source uses tags.
(dict) –
A tag key-value pair used for resource discovery.
key (string) –
Tag key.
values (list) –
The list of tag values.
(string) –
Tag value.
cfnStackArn (string) –
ARN identifier.
tfStateFileUrl (string) –
S3 URL — virtual hosted-style or s3:// URI.
eks (dict) –
The Amazon EKS configuration, if this input source uses EKS.
clusterArn (string) –
ARN identifier.
namespaces (list) –
The list of Kubernetes namespaces within the EKS cluster.
(string) –
Kubernetes namespace name (RFC 1123 Label).
designFileS3Url (string) –
S3 URL — virtual hosted-style or s3:// URI.
createdAt (datetime) –
The timestamp when the input source was created.
nextToken (string) –
Pagination token.
Exceptions
ResilienceHubV2.Client.exceptions.InternalServerExceptionResilienceHubV2.Client.exceptions.ResourceNotFoundExceptionResilienceHubV2.Client.exceptions.ValidationExceptionResilienceHubV2.Client.exceptions.AccessDeniedException