remove_draft_app_version_resource_mappings
¶
remove_draft_app_version_resource_mappings(
app_arn: Arn,
*,
config_overrides: Optional[resiliencehubClientConfig] = None,
resource_names: Optional[EntityNameList] = None,
logical_stack_names: Optional[String255List] = None,
app_registry_app_names: Optional[EntityNameList] = None,
resource_group_names: Optional[EntityNameList] = None,
terraform_source_names: Optional[String255List] = None,
eks_source_names: Optional[String255List] = None,
) -> RemoveDraftAppVersionResourceMappingsResponse
Removes resource mappings from a draft application version.
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. -
resource_names(Optional[EntityNameList], default:None) –The names of the resources you want to remove from the resource mappings.
-
logical_stack_names(Optional[String255List], default:None) –The names of the CloudFormation stacks you want to remove from the resource mappings.
-
app_registry_app_names(Optional[EntityNameList], default:None) –The names of the registered applications you want to remove from the resource mappings.
-
resource_group_names(Optional[EntityNameList], default:None) –The names of the resource groups you want to remove from the resource mappings.
-
terraform_source_names(Optional[String255List], default:None) –The names of the Terraform sources you want to remove from the resource mappings.
-
eks_source_names(Optional[String255List], default:None) –The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from the resource mappings.
This parameter accepts values in "eks-cluster/namespace" format.
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/resiliencehub.py
4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 | |