delete_app_input_source
async
¶
delete_app_input_source(
app_arn: Arn,
*,
config_overrides: Optional[AsyncresiliencehubClientConfig] = None,
source_arn: Optional[Arn] = None,
terraform_source: Optional[TerraformSource] = None,
client_token: Optional[ClientToken] = None,
eks_source_cluster_namespace: Optional[EksSourceClusterNamespace] = None,
) -> DeleteAppInputSourceResponse
Deletes the input source and all of its imported resources from the Resilience Hub application.
Parameters:
-
app_arn(Arn) –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. -
source_arn(Optional[Arn], default:None) –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 Amazon Web Services General Reference guide.
-
terraform_source(Optional[TerraformSource], default:None) –The imported Terraform s3 state file you want to remove from the Resilience Hub application.
-
client_token(Optional[ClientToken], default:None) –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.
-
eks_source_cluster_namespace(Optional[EksSourceClusterNamespace], default:None) –The namespace on your Amazon Elastic Kubernetes Service cluster that you want to delete from the Resilience Hub application.
Raises:
-
AccessDeniedException–You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
-
ConflictException–This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
InternalServerException–This exception occurs when there is an internal failure in the Resilience Hub service.
-
ResourceNotFoundException–This exception occurs when the specified resource could not be found.
-
ThrottlingException–This exception occurs when you have exceeded the limit on the number of requests per second.
-
ValidationException–This exception occurs when a request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_resiliencehub/_services/async_resiliencehub.py
1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 | |