tag_resource
async
¶
tag_resource(
resource_arn: str,
tags: TagMap,
*,
config_overrides: Optional[AsyncSSMIncidentsClientConfig] = None,
) -> TagResourceResponse
Adds a tag to a response plan.
Parameters:
-
resource_arn(str) –The Amazon Resource Name (ARN) of the response plan you're adding the tags to.
-
tags(TagMap) –A list of tags to add to the response plan.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this operation.
-
ConflictException–Updating or deleting a resource causes an inconsistent state.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–Request references a resource which doesn't exist.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.