ResilienceHub.Client.
delete_app_input_source
(**kwargs)¶Deletes the input source and all of its imported resources from the AWS Resilience Hub application.
See also: AWS API Documentation
Request Syntax
response = client.delete_app_input_source(
appArn='string',
clientToken='string',
sourceArn='string',
terraformSource={
's3StateFileUrl': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the AWS 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.
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.
The imported Terraform s3 state file you want to remove from the AWS Resilience Hub application.
The Terraform s3 state file you need to import.
dict
Response Syntax
{
'appArn': 'string',
'appInputSource': {
'importType': 'CfnStack'|'Resource'|'AppRegistryApp'|'ResourceGroup'|'Terraform',
'resourceCount': 123,
'sourceArn': 'string',
'sourceName': 'string',
'terraformSource': {
's3StateFileUrl': 'string'
}
}
}
Response Structure
(dict) --
appArn (string) --
The Amazon Resource Name (ARN) of the AWS 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.
importType (string) --
The resource type of the input source.
resourceCount (integer) --
The number of resources that were imported.
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 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