SpendPrincipal
A principal whose spend you want to query.
Contents
- Id
-
The ID of the principal. The value depends on the principal type:
-
For an Identity Center user, specify the user ID.
-
For an IAM principal, specify the ARN of the IAM root user, IAM user or role, or the STS assumed-role or federated-user ARN.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
^(([0-9a-f]{10}-)?[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}|arn:aws(-[a-z]+)*:(iam::[0-9]{12}:(root|(role|user)/([\x21-\x7E]{1,510}/)?[A-Za-z0-9+=,.@_-]{1,64})|sts::[0-9]{12}:(assumed-role/[A-Za-z0-9+=,.@_-]{1,64}/[A-Za-z0-9+=,.@_-]{2,64}|federated-user/[A-Za-z0-9+=,.@_-]{2,32})))$Required: Yes
-
- Type
-
The kind of principal. Valid values are
IDENTITY_CENTER_USERandIAM_PRINCIPAL.Type: String
Valid Values:
IDENTITY_CENTER_USER | IAM_PRINCIPALRequired: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: