Skip to content

IAM  >  Errors  >  PolicyNotAttachableException

PolicyNotAttachableException

Error Class

PolicyNotAttachableException dataclass

Bases: ServiceError, _SerdeShape

The request failed because Amazon Web Services service role policies can only be attached to the service-linked role for that service.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.