View a markdown version of this page

BatchPutPolicyAssignmentError - AWS Quick

BatchPutPolicyAssignmentError

A principal that a BatchPutPolicyAssignmentByPolicy request couldn't assign the policy to.

Contents

Note

In the following list, the required parameters are described first.

ErrorCode

The reason the entry failed. Possible values:

  • ValidationException – The entry is not valid.

  • ResourceNotFoundException – The principal doesn't exist, or the policy was deleted while the request was being processed.

  • ConflictException – The principal doesn't have the existing policy that you specified, or the assignment changed since the revision that you specified.

  • ThrottlingException – The entry was throttled. You can retry this entry.

  • InternalFailureException – An internal error occurred.

Type: String

Required: Yes

ErrorMessage

A description of the error.

Type: String

Required: Yes

PrincipalArn

The ARN of the principal.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: arn:.+

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: