ResilienceHub / Client / delete_app_input_source
delete_app_input_source#
- ResilienceHub.Client.delete_app_input_source(**kwargs)#
Deletes the input source and all of its imported resources from the Resilience Hub application.
See also: AWS API Documentation
Request Syntax
response = client.delete_app_input_source( appArn='string', clientToken='string', eksSourceClusterNamespace={ 'eksClusterArn': 'string', 'namespace': 'string' }, sourceArn='string', terraformSource={ 's3StateFileUrl': 'string' } )
- Parameters:
appArn (string) –
[REQUIRED]
The 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 AWS General Reference guide.clientToken (string) –
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
This field is autopopulated if not provided.
eksSourceClusterNamespace (dict) –
The namespace on your Amazon Elastic Kubernetes Service cluster that you want to delete from the Resilience Hub application.
eksClusterArn (string) – [REQUIRED]
The 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 AWS General Reference guide.namespace (string) – [REQUIRED]
Name of the namespace that is located on your Amazon Elastic Kubernetes Service cluster.
sourceArn (string) – The Amazon Resource Name (ARN) of the imported resource you want to remove from the Resilience Hub application. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
terraformSource (dict) –
The imported Terraform s3 state file you want to remove from the Resilience Hub application.
s3StateFileUrl (string) – [REQUIRED]
The URL of the Terraform s3 state file you need to import.
- Return type:
dict
- Returns:
Response Syntax
{ 'appArn': 'string', 'appInputSource': { 'eksSourceClusterNamespace': { 'eksClusterArn': 'string', 'namespace': 'string' }, 'importType': 'CfnStack'|'Resource'|'AppRegistryApp'|'ResourceGroup'|'Terraform'|'EKS', 'resourceCount': 123, 'sourceArn': 'string', 'sourceName': 'string', 'terraformSource': { 's3StateFileUrl': 'string' } } }
Response Structure
(dict) –
appArn (string) –
The 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 AWS General Reference guide.appInputSource (dict) –
The name of the input source from where the application resource is imported from.
eksSourceClusterNamespace (dict) –
The namespace on your Amazon Elastic Kubernetes Service cluster.
eksClusterArn (string) –
The 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 AWS 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 AWS 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.
Exceptions
ResilienceHub.Client.exceptions.InternalServerException
ResilienceHub.Client.exceptions.ResourceNotFoundException
ResilienceHub.Client.exceptions.ConflictException
ResilienceHub.Client.exceptions.ThrottlingException
ResilienceHub.Client.exceptions.ValidationException
ResilienceHub.Client.exceptions.AccessDeniedException