{ "smithy": "2.0", "shapes": { "com.amazonaws.rolesanywhere#AccessDeniedException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

You do not have sufficient access to perform this action.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.rolesanywhere#AliasName": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^(?!.*//)([A-Za-z]([A-Za-z0-9_/-]*[A-Za-z0-9_-])?)?$" } }, "com.amazonaws.rolesanywhere#AmazonResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 } } }, "com.amazonaws.rolesanywhere#AttributeMapping": { "type": "structure", "members": { "certificateField": { "target": "com.amazonaws.rolesanywhere#CertificateField", "traits": { "smithy.api#documentation": "

Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.

" } }, "mappingRules": { "target": "com.amazonaws.rolesanywhere#MappingRules", "traits": { "smithy.api#documentation": "

A list of mapping entries for every supported specifier or sub-field.

" } } }, "traits": { "smithy.api#documentation": "

A mapping applied to the authenticating end-entity certificate.

" } }, "com.amazonaws.rolesanywhere#AttributeMappings": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#AttributeMapping" } }, "com.amazonaws.rolesanywhere#CertificateField": { "type": "string", "traits": { "smithy.api#enum": [ { "name": "x509Subject", "value": "x509Subject" }, { "name": "x509Issuer", "value": "x509Issuer" }, { "name": "x509SAN", "value": "x509SAN" } ] } }, "com.amazonaws.rolesanywhere#CreateProfile": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#CreateProfileRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ProfileDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Creates a profile, a list of the roles that Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.

Required permissions: rolesanywhere:CreateProfile.

", "smithy.api#http": { "uri": "/profiles", "method": "POST", "code": 201 } } }, "com.amazonaws.rolesanywhere#CreateProfileRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.rolesanywhere#ResourceName", "traits": { "smithy.api#documentation": "

The name of the profile.

", "smithy.api#required": {} } }, "requireInstanceProperties": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Unused, saved for future use. Will likely specify whether instance properties are required in temporary credential requests with this profile.

" } }, "sessionPolicy": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A session policy that applies to the trust boundary of the vended session credentials.

" } }, "roleArns": { "target": "com.amazonaws.rolesanywhere#RoleArnList", "traits": { "smithy.api#documentation": "

A list of IAM roles that this profile can assume in a temporary credential request.

", "smithy.api#required": {} } }, "managedPolicyArns": { "target": "com.amazonaws.rolesanywhere#ManagedPolicyList", "traits": { "smithy.api#documentation": "

A list of managed policy ARNs that apply to the vended session credentials.

" } }, "durationSeconds": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.

", "smithy.api#range": { "min": 900, "max": 43200 } } }, "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether the profile is enabled.

" } }, "tags": { "target": "com.amazonaws.rolesanywhere#TagList", "traits": { "smithy.api#documentation": "

The tags to attach to the profile.

" } }, "acceptRoleSessionName": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Used to determine if a custom role session name will be accepted in a temporary credential request.

" } }, "aliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

An alias for the profile. When you set an alias, the response includes the alias ARN of the profile in aliasArn.

An alias name contains 1 to 256 characters. It must begin with a letter (A-Z or a-z). It can contain only letters (A-Z and a-z), numbers (0-9), underscores (_), hyphens (-), and forward slashes (/). A forward slash can appear only between two other characters, so an alias name can't end with a forward slash or contain two in a row. Alias names that begin with aws/, in any combination of uppercase and lowercase letters, are reserved. Alias names are case sensitive.

The alias name must be unique among resources of the same type in your account and Region. If another resource of the same type already has the alias, the request fails with a ValidationException. An invalid or reserved alias name also causes a ValidationException.

If you omit this parameter or specify an empty string, the resource is created without an alias.

" } }, "tipConfiguration": { "target": "com.amazonaws.rolesanywhere#TipConfiguration", "traits": { "smithy.api#documentation": "

The trusted identity propagation (TIP) settings for the profile. When you enable TIP, sessions from the profile include the identity from the certificate in aws:OriginIdentity condition keys.

If you omit this parameter, the profile doesn't use TIP.

" } } } }, "com.amazonaws.rolesanywhere#CreateTrustAnchor": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#CreateTrustAnchorRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA). You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.

Required permissions: rolesanywhere:CreateTrustAnchor.

", "smithy.api#http": { "uri": "/trustanchors", "method": "POST", "code": 201 } } }, "com.amazonaws.rolesanywhere#CreateTrustAnchorRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.rolesanywhere#ResourceName", "traits": { "smithy.api#documentation": "

The name of the trust anchor.

", "smithy.api#required": {} } }, "source": { "target": "com.amazonaws.rolesanywhere#Source", "traits": { "smithy.api#documentation": "

The trust anchor type and its related certificate data.

", "smithy.api#required": {} } }, "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether the trust anchor is enabled.

" } }, "crlDpRevocationEnabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether the trust anchor checks certificate revocation status against CRL distribution points.

" } }, "tags": { "target": "com.amazonaws.rolesanywhere#TagList", "traits": { "smithy.api#documentation": "

The tags to attach to the trust anchor.

" } }, "notificationSettings": { "target": "com.amazonaws.rolesanywhere#NotificationSettings", "traits": { "smithy.api#documentation": "

A list of notification settings to be associated to the trust anchor.

" } }, "aliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

An alias for the trust anchor. When you set an alias, the response includes the alias ARN of the trust anchor in aliasArn.

An alias name contains 1 to 256 characters. It must begin with a letter (A-Z or a-z). It can contain only letters (A-Z and a-z), numbers (0-9), underscores (_), hyphens (-), and forward slashes (/). A forward slash can appear only between two other characters, so an alias name can't end with a forward slash or contain two in a row. Alias names that begin with aws/, in any combination of uppercase and lowercase letters, are reserved. Alias names are case sensitive.

The alias name must be unique among resources of the same type in your account and Region. If another resource of the same type already has the alias, the request fails with a ValidationException. An invalid or reserved alias name also causes a ValidationException.

If you omit this parameter or specify an empty string, the resource is created without an alias.

" } } } }, "com.amazonaws.rolesanywhere#CredentialSummaries": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#CredentialSummary" } }, "com.amazonaws.rolesanywhere#CredentialSummary": { "type": "structure", "members": { "seenAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.

", "smithy.api#timestampFormat": "date-time" } }, "serialNumber": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The serial number of the certificate.

" } }, "issuer": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The fully qualified domain name of the issuing certificate for the presented end-entity certificate.

" } }, "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the credential is enabled.

" } }, "x509CertificateData": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The PEM-encoded data of the certificate.

" } }, "failed": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the temporary credential request was successful.

" } } }, "traits": { "smithy.api#documentation": "

A record of a presented X509 credential from a temporary credential request.

" } }, "com.amazonaws.rolesanywhere#Crl": { "type": "resource", "identifiers": { "crlId": { "target": "com.amazonaws.rolesanywhere#CrlIdentifier" } }, "create": { "target": "com.amazonaws.rolesanywhere#ImportCrl" }, "read": { "target": "com.amazonaws.rolesanywhere#GetCrl" }, "update": { "target": "com.amazonaws.rolesanywhere#UpdateCrl" }, "delete": { "target": "com.amazonaws.rolesanywhere#DeleteCrl" }, "list": { "target": "com.amazonaws.rolesanywhere#ListCrls" }, "operations": [ { "target": "com.amazonaws.rolesanywhere#DisableCrl" }, { "target": "com.amazonaws.rolesanywhere#EnableCrl" } ] }, "com.amazonaws.rolesanywhere#CrlAliasArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:aws(-[^:]+)?:rolesanywhere(:.*){2}(:alias/crl/.*)$" } }, "com.amazonaws.rolesanywhere#CrlDetail": { "type": "structure", "members": { "crlId": { "target": "com.amazonaws.rolesanywhere#Uuid", "traits": { "smithy.api#documentation": "

The unique identifier of the certificate revocation list (CRL).

" } }, "crlArn": { "target": "com.amazonaws.rolesanywhere#CrlResourceArn", "traits": { "smithy.api#documentation": "

The ARN of the certificate revocation list (CRL).

" } }, "name": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The name of the certificate revocation list (CRL).

" } }, "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the certificate revocation list (CRL) is enabled.

" } }, "crlData": { "target": "smithy.api#Blob", "traits": { "smithy.api#documentation": "

The state of the certificate revocation list (CRL) after a read or write operation.

" } }, "trustAnchorArn": { "target": "com.amazonaws.rolesanywhere#TrustAnchorResourceArn", "traits": { "smithy.api#documentation": "

The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.

" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 timestamp when the certificate revocation list (CRL) was created.

", "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 timestamp when the certificate revocation list (CRL) was last updated.

", "smithy.api#timestampFormat": "date-time" } }, "aliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

The alias of the certificate revocation list (CRL). Present only if the CRL has an alias.

" } }, "aliasArn": { "target": "com.amazonaws.rolesanywhere#CrlAliasArn", "traits": { "smithy.api#documentation": "

The alias ARN of the certificate revocation list (CRL), in the form arn:partition:rolesanywhere:region:account:alias/crl/alias-name . Present only if the CRL has an alias.

You can use the alias ARN in place of the resource ID or ARN in the request parameters whose descriptions say that they accept an alias ARN. Don't use the alias ARN in Identity and Access Management (IAM) policies. A policy statement that names an alias ARN doesn't apply to the resource that holds the alias. Write policies with the ARN that contains the resource ID instead.

" } }, "previousAliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

The alias that the resource had before the update request. IAM Roles Anywhere returns this value only in the response to an update request that changed or removed an existing alias. It isn't returned when the alias was unchanged, when the resource had no alias before the request, or by other operations.

" } } }, "traits": { "smithy.api#documentation": "

The state of the certificate revocation list (CRL) after a read or write operation.

" } }, "com.amazonaws.rolesanywhere#CrlDetailResponse": { "type": "structure", "members": { "crl": { "target": "com.amazonaws.rolesanywhere#CrlDetail", "traits": { "smithy.api#documentation": "

The state of the certificate revocation list (CRL) after a read or write operation.

", "smithy.api#required": {} } } } }, "com.amazonaws.rolesanywhere#CrlDetails": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#CrlDetail" } }, "com.amazonaws.rolesanywhere#CrlIdentifier": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^([a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}|arn:aws(-[^:]+)?:rolesanywhere(:.*){2}:(crl|alias/crl)/.*)$" } }, "com.amazonaws.rolesanywhere#CrlResourceArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:aws(-[^:]+)?:rolesanywhere(:.*){2}(:crl/.*)$" } }, "com.amazonaws.rolesanywhere#DeleteAttributeMapping": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#DeleteAttributeMappingRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#DeleteAttributeMappingResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Delete an entry from the attribute mapping rules enforced by a given profile.

", "smithy.api#examples": [ { "title": "DeleteAttributeMapping - Deletes a custom attribute mapping rule", "input": { "profileId": "00000000-0000-0000-0000-000000000000", "specifiers": [ "OU" ], "certificateField": "x509Subject" }, "output": { "profile": { "acceptRoleSessionName": false, "attributeMappings": [ { "mappingRules": [ { "specifier": "CN" } ], "certificateField": "x509Subject" } ], "createdAt": "2021-07-19T15:55:25.986591Z", "createdBy": "arn:aws:sts::123456789012:assumed-role/Admin/DummyRole", "durationSeconds": 3600, "enabled": true, "managedPolicyArns": [], "name": "Dummy Profile", "profileArn": "arn:aws:rolesanywhere:us-east-1:123456789012:profile/00000000-0000-0000-0000-000000000000", "profileId": "00000000-0000-0000-0000-000000000000", "requireInstanceProperties": false, "roleArns": [ "arn:aws:iam::123456789012:role/DummyRole" ], "sessionPolicy": "", "updatedAt": "2021-07-19T15:55:25.986591Z" } } } ], "smithy.api#http": { "uri": "/profiles/{profileId}/mappings", "method": "DELETE" }, "smithy.api#idempotent": {} } }, "com.amazonaws.rolesanywhere#DeleteAttributeMappingRequest": { "type": "structure", "members": { "profileId": { "target": "com.amazonaws.rolesanywhere#ProfileIdentifier", "traits": { "smithy.api#documentation": "

The profile to act on. You can specify one of the following:

An ARN must be for a profile in your account and Region.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "certificateField": { "target": "com.amazonaws.rolesanywhere#CertificateField", "traits": { "smithy.api#documentation": "

Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.

", "smithy.api#httpQuery": "certificateField", "smithy.api#required": {} } }, "specifiers": { "target": "com.amazonaws.rolesanywhere#SpecifierList", "traits": { "smithy.api#documentation": "

A list of specifiers of a certificate field; for example, CN, OU, UID from a Subject.

", "smithy.api#httpQuery": "specifiers" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.rolesanywhere#DeleteAttributeMappingResponse": { "type": "structure", "members": { "profile": { "target": "com.amazonaws.rolesanywhere#ProfileDetail", "traits": { "smithy.api#documentation": "

The state of the profile after a read or write operation.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.rolesanywhere#DeleteCrl": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarCrlRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#CrlDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Deletes a certificate revocation list (CRL).

Required permissions: rolesanywhere:DeleteCrl.

", "smithy.api#http": { "uri": "/crl/{crlId}", "method": "DELETE" }, "smithy.api#idempotent": {} } }, "com.amazonaws.rolesanywhere#DeleteProfile": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarProfileRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ProfileDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Deletes a profile.

Required permissions: rolesanywhere:DeleteProfile.

", "smithy.api#http": { "uri": "/profile/{profileId}", "method": "DELETE" }, "smithy.api#idempotent": {} } }, "com.amazonaws.rolesanywhere#DeleteTrustAnchor": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarTrustAnchorRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Deletes a trust anchor.

Required permissions: rolesanywhere:DeleteTrustAnchor.

", "smithy.api#http": { "uri": "/trustanchor/{trustAnchorId}", "method": "DELETE" }, "smithy.api#idempotent": {} } }, "com.amazonaws.rolesanywhere#DisableCrl": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarCrlRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#CrlDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Disables a certificate revocation list (CRL).

Required permissions: rolesanywhere:DisableCrl.

", "smithy.api#http": { "uri": "/crl/{crlId}/disable", "method": "POST" } } }, "com.amazonaws.rolesanywhere#DisableProfile": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarProfileRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ProfileDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Disables a profile. When disabled, temporary credential requests with this profile fail.

Required permissions: rolesanywhere:DisableProfile.

", "smithy.api#http": { "uri": "/profile/{profileId}/disable", "method": "POST" } } }, "com.amazonaws.rolesanywhere#DisableTrustAnchor": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarTrustAnchorRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Disables a trust anchor. When disabled, temporary credential requests specifying this trust anchor are unauthorized.

Required permissions: rolesanywhere:DisableTrustAnchor.

", "smithy.api#http": { "uri": "/trustanchor/{trustAnchorId}/disable", "method": "POST" } } }, "com.amazonaws.rolesanywhere#EnableCrl": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarCrlRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#CrlDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Enables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.

Required permissions: rolesanywhere:EnableCrl.

", "smithy.api#http": { "uri": "/crl/{crlId}/enable", "method": "POST" } } }, "com.amazonaws.rolesanywhere#EnableProfile": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarProfileRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ProfileDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Enables temporary credential requests for a profile.

Required permissions: rolesanywhere:EnableProfile.

", "smithy.api#http": { "uri": "/profile/{profileId}/enable", "method": "POST" } } }, "com.amazonaws.rolesanywhere#EnableTrustAnchor": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarTrustAnchorRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.

Required permissions: rolesanywhere:EnableTrustAnchor.

", "smithy.api#http": { "uri": "/trustanchor/{trustAnchorId}/enable", "method": "POST" } } }, "com.amazonaws.rolesanywhere#GetCrl": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarCrlRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#CrlDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Gets a certificate revocation list (CRL).

Required permissions: rolesanywhere:GetCrl.

", "smithy.api#http": { "uri": "/crl/{crlId}", "method": "GET" }, "smithy.api#readonly": {} } }, "com.amazonaws.rolesanywhere#GetProfile": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarProfileRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ProfileDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Gets a profile.

Required permissions: rolesanywhere:GetProfile.

", "smithy.api#http": { "uri": "/profile/{profileId}", "method": "GET" }, "smithy.api#readonly": {} } }, "com.amazonaws.rolesanywhere#GetSubject": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarSubjectRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#SubjectDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Gets a subject, which associates a certificate identity with authentication attempts. The subject stores auditing information such as the status of the last authentication attempt, the certificate data used in the attempt, and the last time the associated identity attempted authentication.

Required permissions: rolesanywhere:GetSubject.

", "smithy.api#http": { "uri": "/subject/{subjectId}", "method": "GET" }, "smithy.api#readonly": {} } }, "com.amazonaws.rolesanywhere#GetTrustAnchor": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ScalarTrustAnchorRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Gets a trust anchor.

Required permissions: rolesanywhere:GetTrustAnchor.

", "smithy.api#http": { "uri": "/trustanchor/{trustAnchorId}", "method": "GET" }, "smithy.api#readonly": {} } }, "com.amazonaws.rolesanywhere#ImportCrl": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ImportCrlRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#CrlDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Imports the certificate revocation list (CRL). A CRL is a list of certificates that have been revoked by the issuing certificate Authority (CA).In order to be properly imported, a CRL must be in PEM format. IAM Roles Anywhere validates against the CRL before issuing credentials.

Required permissions: rolesanywhere:ImportCrl.

", "smithy.api#http": { "uri": "/crls", "method": "POST", "code": 201 } } }, "com.amazonaws.rolesanywhere#ImportCrlRequest": { "type": "structure", "members": { "name": { "target": "com.amazonaws.rolesanywhere#ResourceName", "traits": { "smithy.api#documentation": "

The name of the certificate revocation list (CRL).

", "smithy.api#required": {} } }, "crlData": { "target": "smithy.api#Blob", "traits": { "smithy.api#documentation": "

The x509 v3 specified certificate revocation list (CRL).

", "smithy.api#length": { "min": 1, "max": 300000 }, "smithy.api#required": {} } }, "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether the certificate revocation list (CRL) is enabled.

" } }, "tags": { "target": "com.amazonaws.rolesanywhere#TagList", "traits": { "smithy.api#documentation": "

A list of tags to attach to the certificate revocation list (CRL).

" } }, "trustAnchorArn": { "target": "com.amazonaws.rolesanywhere#TrustAnchorIdentifierArn", "traits": { "smithy.api#documentation": "

The ARN of the trust anchor that the certificate revocation list (CRL) provides revocation for. Specify the trust anchor ARN that contains the trust anchor ID. This parameter doesn't support alias ARNs. If you specify an alias ARN, the request fails with ResourceNotFoundException.

", "smithy.api#required": {} } }, "aliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

An alias for the certificate revocation list (CRL). When you set an alias, the response includes the alias ARN of the CRL in aliasArn.

An alias name contains 1 to 256 characters. It must begin with a letter (A-Z or a-z). It can contain only letters (A-Z and a-z), numbers (0-9), underscores (_), hyphens (-), and forward slashes (/). A forward slash can appear only between two other characters, so an alias name can't end with a forward slash or contain two in a row. Alias names that begin with aws/, in any combination of uppercase and lowercase letters, are reserved. Alias names are case sensitive.

The alias name must be unique among resources of the same type in your account and Region. If another resource of the same type already has the alias, the request fails with a ValidationException. An invalid or reserved alias name also causes a ValidationException.

If you omit this parameter or specify an empty string, the resource is created without an alias.

" } } } }, "com.amazonaws.rolesanywhere#InstanceProperties": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#InstanceProperty" } }, "com.amazonaws.rolesanywhere#InstanceProperty": { "type": "structure", "members": { "seenAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.

", "smithy.api#timestampFormat": "date-time" } }, "properties": { "target": "com.amazonaws.rolesanywhere#InstancePropertyMap", "traits": { "smithy.api#documentation": "

A list of instanceProperty objects.

" } }, "failed": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the temporary credential request was successful.

" } } }, "traits": { "smithy.api#documentation": "

A key-value pair you set that identifies a property of the authenticating instance.

" } }, "com.amazonaws.rolesanywhere#InstancePropertyMap": { "type": "map", "key": { "target": "smithy.api#String", "traits": { "smithy.api#length": { "min": 1, "max": 200 } } }, "value": { "target": "smithy.api#String", "traits": { "smithy.api#length": { "min": 1, "max": 200 } } }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.rolesanywhere#ListCrls": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ListRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ListCrlsResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Lists all certificate revocation lists (CRL) in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListCrls.

", "smithy.api#http": { "uri": "/crls", "method": "GET" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "crls" }, "smithy.api#readonly": {} } }, "com.amazonaws.rolesanywhere#ListCrlsResponse": { "type": "structure", "members": { "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.

" } }, "crls": { "target": "com.amazonaws.rolesanywhere#CrlDetails", "traits": { "smithy.api#documentation": "

A list of certificate revocation lists (CRL).

" } } } }, "com.amazonaws.rolesanywhere#ListProfiles": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ListRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ListProfilesResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Lists all profiles in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListProfiles.

", "smithy.api#http": { "uri": "/profiles", "method": "GET" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "profiles" }, "smithy.api#readonly": {} } }, "com.amazonaws.rolesanywhere#ListProfilesResponse": { "type": "structure", "members": { "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.

" } }, "profiles": { "target": "com.amazonaws.rolesanywhere#ProfileDetails", "traits": { "smithy.api#documentation": "

A list of profiles.

" } } } }, "com.amazonaws.rolesanywhere#ListRequest": { "type": "structure", "members": { "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.

", "smithy.api#httpQuery": "nextToken", "smithy.api#length": { "min": 1, "max": 10000 } } }, "pageSize": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The number of resources in the paginated list.

", "smithy.api#httpQuery": "pageSize" } } } }, "com.amazonaws.rolesanywhere#ListSubjects": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ListRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ListSubjectsResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Lists the subjects in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListSubjects.

", "smithy.api#http": { "uri": "/subjects", "method": "GET" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "subjects" }, "smithy.api#readonly": {} } }, "com.amazonaws.rolesanywhere#ListSubjectsResponse": { "type": "structure", "members": { "subjects": { "target": "com.amazonaws.rolesanywhere#SubjectSummaries", "traits": { "smithy.api#documentation": "

A list of subjects.

" } }, "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.

" } } } }, "com.amazonaws.rolesanywhere#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Lists the tags attached to the resource.

Required permissions: rolesanywhere:ListTagsForResource.

", "smithy.api#http": { "uri": "/ListTagsForResource", "method": "GET" }, "smithy.api#readonly": {} } }, "com.amazonaws.rolesanywhere#ListTagsForResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.rolesanywhere#AmazonResourceName", "traits": { "smithy.api#documentation": "

The ARN of the resource.

", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} } } } }, "com.amazonaws.rolesanywhere#ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.rolesanywhere#TagList", "traits": { "smithy.api#documentation": "

A list of tags attached to the resource.

" } } } }, "com.amazonaws.rolesanywhere#ListTrustAnchors": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ListRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ListTrustAnchorsResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Lists the trust anchors in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListTrustAnchors.

", "smithy.api#http": { "uri": "/trustanchors", "method": "GET" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "trustAnchors" }, "smithy.api#readonly": {} } }, "com.amazonaws.rolesanywhere#ListTrustAnchorsResponse": { "type": "structure", "members": { "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.

" } }, "trustAnchors": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetails", "traits": { "smithy.api#documentation": "

A list of trust anchors.

" } } } }, "com.amazonaws.rolesanywhere#ManagedPolicyList": { "type": "list", "member": { "target": "smithy.api#String", "traits": { "smithy.api#length": { "min": 1, "max": 200 } } }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.rolesanywhere#MappingRule": { "type": "structure", "members": { "specifier": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

Specifier within a certificate field, such as CN, OU, or UID from the Subject field.

", "smithy.api#length": { "max": 60 }, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

A single mapping entry for each supported specifier or sub-field.

" } }, "com.amazonaws.rolesanywhere#MappingRules": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#MappingRule" } }, "com.amazonaws.rolesanywhere#NotificationChannel": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ALL", "name": "ALL" } ] } }, "com.amazonaws.rolesanywhere#NotificationEvent": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CA_CERTIFICATE_EXPIRY", "name": "CA_CERTIFICATE_EXPIRY" }, { "value": "END_ENTITY_CERTIFICATE_EXPIRY", "name": "END_ENTITY_CERTIFICATE_EXPIRY" } ] } }, "com.amazonaws.rolesanywhere#NotificationSetting": { "type": "structure", "members": { "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the notification setting is enabled.

", "smithy.api#required": {} } }, "event": { "target": "com.amazonaws.rolesanywhere#NotificationEvent", "traits": { "smithy.api#documentation": "

The event to which this notification setting is applied.

", "smithy.api#required": {} } }, "threshold": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The number of days before a notification event. This value is required for a notification setting that is enabled.

", "smithy.api#range": { "min": 1, "max": 360 } } }, "channel": { "target": "com.amazonaws.rolesanywhere#NotificationChannel", "traits": { "smithy.api#documentation": "

The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

" } } }, "traits": { "smithy.api#documentation": "

Customizable notification settings that will be applied to notification events. IAM Roles Anywhere consumes these settings while notifying across multiple channels - CloudWatch metrics, EventBridge, and Health Dashboard.

" } }, "com.amazonaws.rolesanywhere#NotificationSettingDetail": { "type": "structure", "members": { "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the notification setting is enabled.

", "smithy.api#required": {} } }, "event": { "target": "com.amazonaws.rolesanywhere#NotificationEvent", "traits": { "smithy.api#documentation": "

The event to which this notification setting is applied.

", "smithy.api#required": {} } }, "threshold": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The number of days before a notification event.

", "smithy.api#range": { "min": 1, "max": 360 } } }, "channel": { "target": "com.amazonaws.rolesanywhere#NotificationChannel", "traits": { "smithy.api#documentation": "

The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.

In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.

" } }, "configuredBy": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The principal that configured the notification setting. For default settings configured by IAM Roles Anywhere, the value is rolesanywhere.amazonaws.com, and for customized notifications settings, it is the respective account ID.

", "smithy.api#length": { "min": 1, "max": 200 } } } }, "traits": { "smithy.api#documentation": "

The state of a notification setting.

A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.

" } }, "com.amazonaws.rolesanywhere#NotificationSettingDetails": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#NotificationSettingDetail" }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.rolesanywhere#NotificationSettingKey": { "type": "structure", "members": { "event": { "target": "com.amazonaws.rolesanywhere#NotificationEvent", "traits": { "smithy.api#documentation": "

The notification setting event to reset.

", "smithy.api#required": {} } }, "channel": { "target": "com.amazonaws.rolesanywhere#NotificationChannel", "traits": { "smithy.api#documentation": "

The specified channel of notification.

" } } }, "traits": { "smithy.api#documentation": "

A notification setting key to reset. A notification setting key includes the event and the channel.

" } }, "com.amazonaws.rolesanywhere#NotificationSettingKeys": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#NotificationSettingKey" }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.rolesanywhere#NotificationSettings": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#NotificationSetting" }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.rolesanywhere#Profile": { "type": "resource", "identifiers": { "profileId": { "target": "com.amazonaws.rolesanywhere#ProfileIdentifier" } }, "create": { "target": "com.amazonaws.rolesanywhere#CreateProfile" }, "read": { "target": "com.amazonaws.rolesanywhere#GetProfile" }, "update": { "target": "com.amazonaws.rolesanywhere#UpdateProfile" }, "delete": { "target": "com.amazonaws.rolesanywhere#DeleteProfile" }, "list": { "target": "com.amazonaws.rolesanywhere#ListProfiles" }, "operations": [ { "target": "com.amazonaws.rolesanywhere#DeleteAttributeMapping" }, { "target": "com.amazonaws.rolesanywhere#DisableProfile" }, { "target": "com.amazonaws.rolesanywhere#EnableProfile" }, { "target": "com.amazonaws.rolesanywhere#PutAttributeMapping" } ], "traits": { "aws.cloudformation#cfnResource": {} } }, "com.amazonaws.rolesanywhere#ProfileAliasArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:aws(-[^:]+)?:rolesanywhere(:.*){2}(:alias/profile/.*)$" } }, "com.amazonaws.rolesanywhere#ProfileDetail": { "type": "structure", "members": { "profileId": { "target": "com.amazonaws.rolesanywhere#Uuid", "traits": { "smithy.api#documentation": "

The unique identifier of the profile.

" } }, "profileArn": { "target": "com.amazonaws.rolesanywhere#ProfileResourceArn", "traits": { "smithy.api#documentation": "

The ARN of the profile.

" } }, "name": { "target": "com.amazonaws.rolesanywhere#ResourceName", "traits": { "smithy.api#documentation": "

The name of the profile.

" } }, "requireInstanceProperties": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Unused, saved for future use. Will likely specify whether instance properties are required in temporary credential requests with this profile.

" } }, "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the profile is enabled.

" } }, "createdBy": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The Amazon Web Services account that created the profile.

" } }, "sessionPolicy": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A session policy that applies to the trust boundary of the vended session credentials.

" } }, "roleArns": { "target": "com.amazonaws.rolesanywhere#RoleArnList", "traits": { "smithy.api#documentation": "

A list of IAM roles that this profile can assume in a temporary credential request.

" } }, "managedPolicyArns": { "target": "com.amazonaws.rolesanywhere#ManagedPolicyList", "traits": { "smithy.api#documentation": "

A list of managed policy ARNs that apply to the vended session credentials.

" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 timestamp when the profile was created.

", "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 timestamp when the profile was last updated.

", "smithy.api#timestampFormat": "date-time" } }, "durationSeconds": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.

" } }, "acceptRoleSessionName": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Used to determine if a custom role session name will be accepted in a temporary credential request.

" } }, "attributeMappings": { "target": "com.amazonaws.rolesanywhere#AttributeMappings", "traits": { "smithy.api#documentation": "

A mapping applied to the authenticating end-entity certificate.

" } }, "aliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

The alias of the profile. Present only if the profile has an alias.

" } }, "aliasArn": { "target": "com.amazonaws.rolesanywhere#ProfileAliasArn", "traits": { "smithy.api#documentation": "

The alias ARN of the profile, in the form arn:partition:rolesanywhere:region:account:alias/profile/alias-name . Present only if the profile has an alias.

You can use the alias ARN in place of the resource ID or ARN in the request parameters whose descriptions say that they accept an alias ARN. Don't use the alias ARN in Identity and Access Management (IAM) policies. A policy statement that names an alias ARN doesn't apply to the resource that holds the alias. Write policies with the ARN that contains the resource ID instead.

" } }, "tipConfiguration": { "target": "com.amazonaws.rolesanywhere#TipConfiguration", "traits": { "smithy.api#documentation": "

The trusted identity propagation (TIP) settings of the profile.

" } }, "previousAliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

The alias that the resource had before the update request. IAM Roles Anywhere returns this value only in the response to an update request that changed or removed an existing alias. It isn't returned when the alias was unchanged, when the resource had no alias before the request, or by other operations.

" } } }, "traits": { "smithy.api#documentation": "

The state of the profile after a read or write operation.

" } }, "com.amazonaws.rolesanywhere#ProfileDetailResponse": { "type": "structure", "members": { "profile": { "target": "com.amazonaws.rolesanywhere#ProfileDetail", "traits": { "smithy.api#documentation": "

The state of the profile after a read or write operation.

" } } } }, "com.amazonaws.rolesanywhere#ProfileDetails": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#ProfileDetail" } }, "com.amazonaws.rolesanywhere#ProfileIdentifier": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^([a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}|arn:aws(-[^:]+)?:rolesanywhere(:.*){2}:(profile|alias/profile)/.*)$" } }, "com.amazonaws.rolesanywhere#ProfileResourceArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:aws(-[^:]+)?:rolesanywhere(:.*){2}(:profile/.*)$" } }, "com.amazonaws.rolesanywhere#PutAttributeMapping": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#PutAttributeMappingRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#PutAttributeMappingResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Put an entry in the attribute mapping rules that will be enforced by a given profile. A mapping specifies a certificate field and one or more specifiers that have contextual meanings.

", "smithy.api#examples": [ { "title": "PutAttributeMapping - Adds a custom attribute mapping rule", "input": { "profileId": "00000000-0000-0000-0000-000000000000", "mappingRules": [ { "specifier": "CN" } ], "certificateField": "x509Subject" }, "output": { "profile": { "acceptRoleSessionName": false, "attributeMappings": [ { "mappingRules": [ { "specifier": "CN" } ], "certificateField": "x509Subject" } ], "createdAt": "2021-07-19T15:55:25.986591Z", "createdBy": "arn:aws:sts::123456789012:assumed-role/Admin/DummyRole", "durationSeconds": 3600, "enabled": true, "managedPolicyArns": [], "name": "Dummy Profile", "profileArn": "arn:aws:rolesanywhere:us-east-1:123456789012:profile/00000000-0000-0000-0000-000000000000", "profileId": "00000000-0000-0000-0000-000000000000", "requireInstanceProperties": false, "roleArns": [ "arn:aws:iam::123456789012:role/DummyRole" ], "sessionPolicy": "", "updatedAt": "2021-07-19T15:55:25.986591Z" } } } ], "smithy.api#http": { "uri": "/profiles/{profileId}/mappings", "method": "PUT" }, "smithy.api#idempotent": {} } }, "com.amazonaws.rolesanywhere#PutAttributeMappingRequest": { "type": "structure", "members": { "profileId": { "target": "com.amazonaws.rolesanywhere#ProfileIdentifier", "traits": { "smithy.api#documentation": "

The profile to act on. You can specify one of the following:

An ARN must be for a profile in your account and Region.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "certificateField": { "target": "com.amazonaws.rolesanywhere#CertificateField", "traits": { "smithy.api#documentation": "

Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.

", "smithy.api#required": {} } }, "mappingRules": { "target": "com.amazonaws.rolesanywhere#MappingRules", "traits": { "smithy.api#documentation": "

A list of mapping entries for every supported specifier or sub-field.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.rolesanywhere#PutAttributeMappingResponse": { "type": "structure", "members": { "profile": { "target": "com.amazonaws.rolesanywhere#ProfileDetail", "traits": { "smithy.api#documentation": "

The state of the profile after a read or write operation.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.rolesanywhere#PutNotificationSettings": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#PutNotificationSettingsRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#PutNotificationSettingsResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Attaches a list of notification settings to a trust anchor.

A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.

Required permissions: rolesanywhere:PutNotificationSettings.

", "smithy.api#examples": [ { "title": "PutNotificationSettings - Adds custom notification settings", "input": { "trustAnchorId": "c2505e61-2fc1-4a18-9fcf-94e18a22928b", "notificationSettings": [ { "event": "END_ENTITY_CERTIFICATE_EXPIRY", "enabled": true, "threshold": 10 } ] }, "output": { "trustAnchor": { "trustAnchorId": "c2505e61-2fc1-4a18-9fcf-94e18a22928b", "trustAnchorArn": "arn:aws:rolesanywhere:us-west-2:123456789012:trust-anchor/c2505e61-2fc1-4a18-9fcf-94e18a22928b", "name": "PutNotificationSettings - TA with PCA - example", "enabled": true, "notificationSettings": [ { "event": "CA_CERTIFICATE_EXPIRY", "channel": "ALL", "configuredBy": "rolesanywhere.amazonaws.com", "enabled": true, "threshold": 45 }, { "event": "END_ENTITY_CERTIFICATE_EXPIRY", "channel": "ALL", "configuredBy": "123456789012", "enabled": true, "threshold": 10 } ], "source": { "sourceType": "AWS_ACM_PCA", "sourceData": { "acmPcaArn": "arn:aws:acm-pca:us-west-2:123456789012:certificate-authority/123abc00-1233-12b3-1a33-54cb9c1ce2f3" } }, "updatedAt": "2021-07-19T15:55:25.986591Z", "createdAt": "2021-07-19T15:55:25.986591Z" } } } ], "smithy.api#http": { "uri": "/put-notifications-settings", "method": "PATCH" } } }, "com.amazonaws.rolesanywhere#PutNotificationSettingsRequest": { "type": "structure", "members": { "trustAnchorId": { "target": "com.amazonaws.rolesanywhere#Uuid", "traits": { "smithy.api#documentation": "

The unique identifier of the trust anchor.

", "smithy.api#required": {} } }, "notificationSettings": { "target": "com.amazonaws.rolesanywhere#NotificationSettings", "traits": { "smithy.api#documentation": "

A list of notification settings to be associated to the trust anchor.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.rolesanywhere#PutNotificationSettingsResponse": { "type": "structure", "members": { "trustAnchor": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetail", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.rolesanywhere#ResetNotificationSettings": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#ResetNotificationSettingsRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ResetNotificationSettingsResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Resets the custom notification setting to IAM Roles Anywhere default setting.

Required permissions: rolesanywhere:ResetNotificationSettings.

", "smithy.api#examples": [ { "title": "ResetNotificationSettings - Resets to IAM Roles Anywhere defined default notification settings", "input": { "trustAnchorId": "c2505e61-2fc1-4a18-9fcf-94e18a22928b", "notificationSettingKeys": [ { "event": "END_ENTITY_CERTIFICATE_EXPIRY" } ] }, "output": { "trustAnchor": { "trustAnchorId": "c2505e61-2fc1-4a18-9fcf-94e18a22928b", "trustAnchorArn": "arn:aws:rolesanywhere:us-west-2:123456789012:trust-anchor/c2505e61-2fc1-4a18-9fcf-94e18a22928b", "name": "ResetNotificationSettings - TA with PCA - example", "enabled": true, "notificationSettings": [ { "event": "CA_CERTIFICATE_EXPIRY", "channel": "ALL", "configuredBy": "rolesanywhere.amazonaws.com", "enabled": true, "threshold": 45 }, { "event": "END_ENTITY_CERTIFICATE_EXPIRY", "channel": "ALL", "configuredBy": "123456789012", "enabled": true, "threshold": 45 } ], "source": { "sourceType": "AWS_ACM_PCA", "sourceData": { "acmPcaArn": "arn:aws:acm-pca:us-west-2:123456789012:certificate-authority/123abc00-1233-12b3-1a33-54cb9c1ce2f3" } }, "updatedAt": "2021-07-19T15:55:25.986591Z", "createdAt": "2021-07-19T15:55:25.986591Z" } } } ], "smithy.api#http": { "uri": "/reset-notifications-settings", "method": "PATCH" } } }, "com.amazonaws.rolesanywhere#ResetNotificationSettingsRequest": { "type": "structure", "members": { "trustAnchorId": { "target": "com.amazonaws.rolesanywhere#Uuid", "traits": { "smithy.api#documentation": "

The unique identifier of the trust anchor.

", "smithy.api#required": {} } }, "notificationSettingKeys": { "target": "com.amazonaws.rolesanywhere#NotificationSettingKeys", "traits": { "smithy.api#documentation": "

A list of notification setting keys to reset. A notification setting key includes the event and the channel.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.rolesanywhere#ResetNotificationSettingsResponse": { "type": "structure", "members": { "trustAnchor": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetail", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.rolesanywhere#ResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": "^[ a-zA-Z0-9-_]*$" } }, "com.amazonaws.rolesanywhere#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

The resource could not be found.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.rolesanywhere#RoleArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:aws(-[^:]+)?:iam(:.*){2}(:role.*)$" } }, "com.amazonaws.rolesanywhere#RoleArnList": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#RoleArn" }, "traits": { "smithy.api#length": { "min": 0, "max": 250 } } }, "com.amazonaws.rolesanywhere#RolesAnywhere": { "type": "service", "version": "2018-05-10", "operations": [ { "target": "com.amazonaws.rolesanywhere#ListTagsForResource" }, { "target": "com.amazonaws.rolesanywhere#PutNotificationSettings" }, { "target": "com.amazonaws.rolesanywhere#ResetNotificationSettings" }, { "target": "com.amazonaws.rolesanywhere#TagResource" }, { "target": "com.amazonaws.rolesanywhere#UntagResource" } ], "resources": [ { "target": "com.amazonaws.rolesanywhere#Crl" }, { "target": "com.amazonaws.rolesanywhere#Profile" }, { "target": "com.amazonaws.rolesanywhere#Subject" }, { "target": "com.amazonaws.rolesanywhere#TrustAnchor" } ], "traits": { "aws.api#service": { "sdkId": "RolesAnywhere", "arnNamespace": "rolesanywhere", "cloudFormationName": "RolesAnywhere" }, "aws.auth#sigv4": { "name": "rolesanywhere" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "

Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications that run outside of Amazon Web Services to obtain temporary Amazon Web Services credentials. Your workloads can use the same IAM policies and roles you have for native Amazon Web Services applications to access Amazon Web Services resources. Using IAM Roles Anywhere eliminates the need to manage long-term credentials for workloads running outside of Amazon Web Services.

To use IAM Roles Anywhere, your workloads must use X.509 certificates issued by their certificate authority (CA). You register the CA with IAM Roles Anywhere as a trust anchor to establish trust between your public key infrastructure (PKI) and IAM Roles Anywhere. If you don't manage your own PKI system, you can use Private Certificate Authority to create a CA and then use that to establish trust with IAM Roles Anywhere.

This guide describes the IAM Roles Anywhere operations that you can call programmatically. For more information about IAM Roles Anywhere, see the IAM Roles Anywhere User Guide.

", "smithy.api#title": "IAM Roles Anywhere", "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "results": [ { "conditions": [], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://rolesanywhere-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://rolesanywhere-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://rolesanywhere.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://rolesanywhere.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 13, "nodes": "/////wAAAAH/////AAAAAAAAAAwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eELAAAAAwAAAAgAAAAGAAAABAAAAAcF9eEKAAAABQX14QgF9eEJAAAABAAAAAoAAAAJAAAABgX14QYF9eEHAAAABQAAAAsF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAANAAAABAX14QIF9eED" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] } ] }, { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://rolesanywhere-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://rolesanywhere-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://rolesanywhere.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } ], "type": "tree" }, { "conditions": [], "endpoint": { "url": "https://rolesanywhere.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ] }, "smithy.rules#endpointTests": { "testCases": [ { "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.ap-east-1.amazonaws.com" } }, "params": { "Region": "ap-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.ap-northeast-1.amazonaws.com" } }, "params": { "Region": "ap-northeast-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.ap-northeast-2.amazonaws.com" } }, "params": { "Region": "ap-northeast-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.ap-northeast-3.amazonaws.com" } }, "params": { "Region": "ap-northeast-3", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.ap-south-1.amazonaws.com" } }, "params": { "Region": "ap-south-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.ap-southeast-1.amazonaws.com" } }, "params": { "Region": "ap-southeast-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.ap-southeast-2.amazonaws.com" } }, "params": { "Region": "ap-southeast-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.ca-central-1.amazonaws.com" } }, "params": { "Region": "ca-central-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.eu-central-1.amazonaws.com" } }, "params": { "Region": "eu-central-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.eu-north-1.amazonaws.com" } }, "params": { "Region": "eu-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.eu-west-1.amazonaws.com" } }, "params": { "Region": "eu-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.eu-west-2.amazonaws.com" } }, "params": { "Region": "eu-west-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.eu-west-3.amazonaws.com" } }, "params": { "Region": "eu-west-3", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.me-south-1.amazonaws.com" } }, "params": { "Region": "me-south-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.sa-east-1.amazonaws.com" } }, "params": { "Region": "sa-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.us-east-2.amazonaws.com" } }, "params": { "Region": "us-east-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.us-west-1.amazonaws.com" } }, "params": { "Region": "us-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.us-west-2.amazonaws.com" } }, "params": { "Region": "us-west-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://rolesanywhere-fips.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere-fips.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://rolesanywhere.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://rolesanywhere-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere-fips.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://rolesanywhere.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://rolesanywhere-fips.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere-fips.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://rolesanywhere.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://rolesanywhere.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips disabled and dualstack enabled", "expect": { "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } }, { "documentation": "Missing region", "expect": { "error": "Invalid Configuration: Missing Region" } } ], "version": "1.0" } } }, "com.amazonaws.rolesanywhere#ScalarCrlRequest": { "type": "structure", "members": { "crlId": { "target": "com.amazonaws.rolesanywhere#CrlIdentifier", "traits": { "smithy.api#documentation": "

The certificate revocation list (CRL) to act on. You can specify one of the following:

An ARN must be for a CRL in your account and Region.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.rolesanywhere#ScalarProfileRequest": { "type": "structure", "members": { "profileId": { "target": "com.amazonaws.rolesanywhere#ProfileIdentifier", "traits": { "smithy.api#documentation": "

The profile to act on. You can specify one of the following:

An ARN must be for a profile in your account and Region.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.rolesanywhere#ScalarSubjectRequest": { "type": "structure", "members": { "subjectId": { "target": "com.amazonaws.rolesanywhere#Uuid", "traits": { "smithy.api#documentation": "

The unique identifier of the subject.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.rolesanywhere#ScalarTrustAnchorRequest": { "type": "structure", "members": { "trustAnchorId": { "target": "com.amazonaws.rolesanywhere#TrustAnchorIdentifier", "traits": { "smithy.api#documentation": "

The trust anchor to act on. You can specify one of the following:

An ARN must be for a trust anchor in your account and Region.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.rolesanywhere#ServiceUnavailableException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The exception message.

", "smithy.api#required": {} } }, "retryAfterSeconds": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The recommended number of seconds after which the client should retry the request.

" } } }, "traits": { "smithy.api#documentation": "

The request has failed due to a temporary failure of the service.

", "smithy.api#error": "server", "smithy.api#httpError": 503, "smithy.api#retryable": {} } }, "com.amazonaws.rolesanywhere#Source": { "type": "structure", "members": { "sourceType": { "target": "com.amazonaws.rolesanywhere#TrustAnchorType", "traits": { "smithy.api#documentation": "

The type of the trust anchor.

" } }, "sourceData": { "target": "com.amazonaws.rolesanywhere#SourceData", "traits": { "smithy.api#documentation": "

The data field of the trust anchor depending on its type.

" } } }, "traits": { "smithy.api#documentation": "

The trust anchor type and its related certificate data.

" } }, "com.amazonaws.rolesanywhere#SourceData": { "type": "union", "members": { "x509CertificateData": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The PEM-encoded data for the certificate anchor. Included for trust anchors of type CERTIFICATE_BUNDLE.

", "smithy.api#length": { "min": 1, "max": 204800 } } }, "acmPcaArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The root certificate of the Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests. Included for trust anchors of type AWS_ACM_PCA.

" } } }, "traits": { "smithy.api#documentation": "

The data field of the trust anchor depending on its type.

" } }, "com.amazonaws.rolesanywhere#SpecifierList": { "type": "list", "member": { "target": "smithy.api#String" } }, "com.amazonaws.rolesanywhere#Subject": { "type": "resource", "identifiers": { "subjectId": { "target": "com.amazonaws.rolesanywhere#Uuid" } }, "read": { "target": "com.amazonaws.rolesanywhere#GetSubject" }, "list": { "target": "com.amazonaws.rolesanywhere#ListSubjects" }, "traits": { "aws.cloudformation#cfnResource": {} } }, "com.amazonaws.rolesanywhere#SubjectDetail": { "type": "structure", "members": { "subjectArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ARN of the resource.

" } }, "subjectId": { "target": "com.amazonaws.rolesanywhere#Uuid", "traits": { "smithy.api#documentation": "

The id of the resource

" } }, "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

The enabled status of the subject.

" } }, "x509Subject": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The x509 principal identifier of the authenticating certificate.

" } }, "lastSeenAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 timestamp of the last time this subject requested temporary session credentials.

", "smithy.api#timestampFormat": "date-time" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 timestamp when the subject was created.

", "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 timestamp when the subject was last updated.

", "smithy.api#timestampFormat": "date-time" } }, "credentials": { "target": "com.amazonaws.rolesanywhere#CredentialSummaries", "traits": { "smithy.api#documentation": "

The temporary session credentials vended at the last authenticating call with this subject.

" } }, "instanceProperties": { "target": "com.amazonaws.rolesanywhere#InstanceProperties", "traits": { "smithy.api#documentation": "

The specified instance properties associated with the request.

" } } }, "traits": { "smithy.api#documentation": "

The state of the subject after a read or write operation.

" } }, "com.amazonaws.rolesanywhere#SubjectDetailResponse": { "type": "structure", "members": { "subject": { "target": "com.amazonaws.rolesanywhere#SubjectDetail", "traits": { "smithy.api#documentation": "

The state of the subject after a read or write operation.

" } } } }, "com.amazonaws.rolesanywhere#SubjectSummaries": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#SubjectSummary" } }, "com.amazonaws.rolesanywhere#SubjectSummary": { "type": "structure", "members": { "subjectArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The ARN of the resource.

" } }, "subjectId": { "target": "com.amazonaws.rolesanywhere#Uuid", "traits": { "smithy.api#documentation": "

The id of the resource.

" } }, "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

The enabled status of the subject.

" } }, "x509Subject": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The x509 principal identifier of the authenticating certificate.

" } }, "lastSeenAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.

", "smithy.api#timestampFormat": "date-time" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 time stamp of when the certificate was first used in a temporary credential request.

", "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 timestamp when the subject was last updated.

", "smithy.api#timestampFormat": "date-time" } } }, "traits": { "smithy.api#documentation": "

A summary representation of subjects.

" } }, "com.amazonaws.rolesanywhere#Tag": { "type": "structure", "members": { "key": { "target": "com.amazonaws.rolesanywhere#TagKey", "traits": { "smithy.api#documentation": "

The tag key.

", "smithy.api#required": {} } }, "value": { "target": "com.amazonaws.rolesanywhere#TagValue", "traits": { "smithy.api#documentation": "

The tag value.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

A label that consists of a key and value you define.

" } }, "com.amazonaws.rolesanywhere#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[ a-zA-Z0-9_.:/=+@-]*$", "smithy.api#sensitive": {} } }, "com.amazonaws.rolesanywhere#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#TagKey" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.rolesanywhere#TagList": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.rolesanywhere#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#TagResourceRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#TooManyTagsException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Attaches tags to a resource.

Required permissions: rolesanywhere:TagResource.

", "smithy.api#http": { "uri": "/TagResource", "method": "POST", "code": 201 } } }, "com.amazonaws.rolesanywhere#TagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.rolesanywhere#AmazonResourceName", "traits": { "smithy.api#documentation": "

The ARN of the resource.

", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.rolesanywhere#TagList", "traits": { "smithy.api#documentation": "

The tags to attach to the resource.

", "smithy.api#required": {} } } } }, "com.amazonaws.rolesanywhere#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.rolesanywhere#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^[ a-zA-Z0-9_.:/=+@-]*$", "smithy.api#sensitive": {} } }, "com.amazonaws.rolesanywhere#TipConfiguration": { "type": "structure", "members": { "status": { "target": "com.amazonaws.rolesanywhere#TipStatus", "traits": { "smithy.api#documentation": "

Specifies whether you use trusted identity propagation (TIP) for the profile. This field supports the following values:

", "smithy.api#required": {} } }, "subjectType": { "target": "com.amazonaws.rolesanywhere#TipSubjectType", "traits": { "smithy.api#documentation": "

Specifies whether the certificates for the profile identify workloads or people. This field supports the following values:

Sessions include the value in aws:OriginIdentity/SubjectType. If you omit this field, sessions don't include that key.

" } }, "subjectSource": { "target": "com.amazonaws.rolesanywhere#TipSubjectSource", "traits": { "smithy.api#documentation": "

The certificate field whose value becomes the subject, aws:OriginIdentity/Subject. This field supports the following values:

The profile's attribute mappings must include a rule for this field, and the default attribute mappings include one for each value. If the certificate has no value for the field, CreateSession denies the request.

" } } }, "traits": { "smithy.api#documentation": "

The trusted identity propagation (TIP) settings of a profile. When you enable TIP, sessions from the profile include the identity from the certificate in aws:OriginIdentity condition keys, which callers can't set.

" } }, "com.amazonaws.rolesanywhere#TipStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ENABLED", "name": "ENABLED" }, { "value": "DISABLED", "name": "DISABLED" } ] } }, "com.amazonaws.rolesanywhere#TipSubjectSource": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "x509SAN/URI", "name": "x509SAN_URI" }, { "value": "x509Subject/CN", "name": "x509Subject_CN" } ] } }, "com.amazonaws.rolesanywhere#TipSubjectType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "user", "name": "user" }, { "value": "workload", "name": "workload" } ] } }, "com.amazonaws.rolesanywhere#TooManyTagsException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

Too many tags.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.rolesanywhere#TrustAnchor": { "type": "resource", "identifiers": { "trustAnchorId": { "target": "com.amazonaws.rolesanywhere#TrustAnchorIdentifier" } }, "create": { "target": "com.amazonaws.rolesanywhere#CreateTrustAnchor" }, "read": { "target": "com.amazonaws.rolesanywhere#GetTrustAnchor" }, "update": { "target": "com.amazonaws.rolesanywhere#UpdateTrustAnchor" }, "delete": { "target": "com.amazonaws.rolesanywhere#DeleteTrustAnchor" }, "list": { "target": "com.amazonaws.rolesanywhere#ListTrustAnchors" }, "operations": [ { "target": "com.amazonaws.rolesanywhere#DisableTrustAnchor" }, { "target": "com.amazonaws.rolesanywhere#EnableTrustAnchor" } ], "traits": { "aws.cloudformation#cfnResource": {} } }, "com.amazonaws.rolesanywhere#TrustAnchorAliasArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:aws(-[^:]+)?:rolesanywhere(:.*){2}(:alias/trust-anchor/.*)$" } }, "com.amazonaws.rolesanywhere#TrustAnchorDetail": { "type": "structure", "members": { "trustAnchorId": { "target": "com.amazonaws.rolesanywhere#Uuid", "traits": { "smithy.api#documentation": "

The unique identifier of the trust anchor.

" } }, "trustAnchorArn": { "target": "com.amazonaws.rolesanywhere#TrustAnchorResourceArn", "traits": { "smithy.api#documentation": "

The ARN of the trust anchor.

" } }, "name": { "target": "com.amazonaws.rolesanywhere#ResourceName", "traits": { "smithy.api#documentation": "

The name of the trust anchor.

" } }, "source": { "target": "com.amazonaws.rolesanywhere#Source", "traits": { "smithy.api#documentation": "

The trust anchor type and its related certificate data.

" } }, "enabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Indicates whether the trust anchor is enabled.

" } }, "crlDpRevocationEnabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether the trust anchor checks certificate revocation status against CRL distribution points.

" } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 timestamp when the trust anchor was created.

", "smithy.api#timestampFormat": "date-time" } }, "updatedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The ISO-8601 timestamp when the trust anchor was last updated.

", "smithy.api#timestampFormat": "date-time" } }, "notificationSettings": { "target": "com.amazonaws.rolesanywhere#NotificationSettingDetails", "traits": { "smithy.api#documentation": "

A list of notification settings to be associated to the trust anchor.

" } }, "aliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

The alias of the trust anchor. Present only if the trust anchor has an alias.

" } }, "aliasArn": { "target": "com.amazonaws.rolesanywhere#TrustAnchorAliasArn", "traits": { "smithy.api#documentation": "

The alias ARN of the trust anchor, in the form arn:partition:rolesanywhere:region:account:alias/trust-anchor/alias-name . Present only if the trust anchor has an alias.

You can use the alias ARN in place of the resource ID or ARN in the request parameters whose descriptions say that they accept an alias ARN. Don't use the alias ARN in Identity and Access Management (IAM) policies. A policy statement that names an alias ARN doesn't apply to the resource that holds the alias. Write policies with the ARN that contains the resource ID instead.

" } }, "previousAliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

The alias that the resource had before the update request. IAM Roles Anywhere returns this value only in the response to an update request that changed or removed an existing alias. It isn't returned when the alias was unchanged, when the resource had no alias before the request, or by other operations.

" } } }, "traits": { "smithy.api#documentation": "

The state of the trust anchor after a read or write operation.

" } }, "com.amazonaws.rolesanywhere#TrustAnchorDetailResponse": { "type": "structure", "members": { "trustAnchor": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetail", "traits": { "smithy.api#documentation": "

The state of the trust anchor after a read or write operation.

", "smithy.api#required": {} } } } }, "com.amazonaws.rolesanywhere#TrustAnchorDetails": { "type": "list", "member": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetail" } }, "com.amazonaws.rolesanywhere#TrustAnchorIdentifier": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^([a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}|arn:aws(-[^:]+)?:rolesanywhere(:.*){2}:(trust-anchor|alias/trust-anchor)/.*)$" } }, "com.amazonaws.rolesanywhere#TrustAnchorIdentifierArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:aws(-[^:]+)?:rolesanywhere(:.*){2}(:trust-anchor.*|:alias/trust-anchor/.*)$" } }, "com.amazonaws.rolesanywhere#TrustAnchorResourceArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 }, "smithy.api#pattern": "^arn:aws(-[^:]+)?:rolesanywhere(:.*){2}(:trust-anchor/.*)$" } }, "com.amazonaws.rolesanywhere#TrustAnchorType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "AWS_ACM_PCA", "name": "AWS_ACM_PCA" }, { "value": "CERTIFICATE_BUNDLE", "name": "CERTIFICATE_BUNDLE" }, { "value": "SELF_SIGNED_REPOSITORY", "name": "SELF_SIGNED_REPOSITORY" } ] } }, "com.amazonaws.rolesanywhere#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#UntagResourceRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Removes tags from the resource.

Required permissions: rolesanywhere:UntagResource.

", "smithy.api#http": { "uri": "/UntagResource", "method": "POST", "code": 200 } } }, "com.amazonaws.rolesanywhere#UntagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.rolesanywhere#AmazonResourceName", "traits": { "smithy.api#documentation": "

The ARN of the resource.

", "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.rolesanywhere#TagKeyList", "traits": { "smithy.api#documentation": "

A list of keys. Tag keys are the unique identifiers of tags.

", "smithy.api#required": {} } } } }, "com.amazonaws.rolesanywhere#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.rolesanywhere#UpdateCrl": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#UpdateCrlRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#CrlDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Updates the certificate revocation list (CRL). A CRL is a list of certificates that have been revoked by the issuing certificate authority (CA). IAM Roles Anywhere validates against the CRL before issuing credentials.

Required permissions: rolesanywhere:UpdateCrl.

", "smithy.api#http": { "uri": "/crl/{crlId}", "method": "PATCH" } } }, "com.amazonaws.rolesanywhere#UpdateCrlRequest": { "type": "structure", "members": { "crlId": { "target": "com.amazonaws.rolesanywhere#CrlIdentifier", "traits": { "smithy.api#documentation": "

The certificate revocation list (CRL) to act on. You can specify one of the following:

An ARN must be for a CRL in your account and Region.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.rolesanywhere#ResourceName", "traits": { "smithy.api#documentation": "

The name of the Crl.

" } }, "crlData": { "target": "smithy.api#Blob", "traits": { "smithy.api#documentation": "

The x509 v3 specified certificate revocation list (CRL).

", "smithy.api#length": { "min": 1, "max": 300000 } } }, "aliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

The alias for the certificate revocation list (CRL).

You can use this parameter in the following ways:

An alias name contains 1 to 256 characters. It must begin with a letter (A-Z or a-z). It can contain only letters (A-Z and a-z), numbers (0-9), underscores (_), hyphens (-), and forward slashes (/). A forward slash can appear only between two other characters, so an alias name can't end with a forward slash or contain two in a row. Alias names that begin with aws/, in any combination of uppercase and lowercase letters, are reserved. Alias names are case sensitive.

The alias name must be unique among resources of the same type in your account and Region. If another resource of the same type already has the alias, the request fails with a ValidationException. An invalid or reserved alias name also causes a ValidationException.

" } } } }, "com.amazonaws.rolesanywhere#UpdateProfile": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#UpdateProfileRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#ProfileDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Updates a profile, a list of the roles that IAM Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.

Required permissions: rolesanywhere:UpdateProfile.

", "smithy.api#http": { "uri": "/profile/{profileId}", "method": "PATCH" }, "smithy.api#idempotent": {} } }, "com.amazonaws.rolesanywhere#UpdateProfileRequest": { "type": "structure", "members": { "profileId": { "target": "com.amazonaws.rolesanywhere#ProfileIdentifier", "traits": { "smithy.api#documentation": "

The profile to act on. You can specify one of the following:

An ARN must be for a profile in your account and Region.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.rolesanywhere#ResourceName", "traits": { "smithy.api#documentation": "

The name of the profile.

" } }, "sessionPolicy": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A session policy that applies to the trust boundary of the vended session credentials.

", "smithy.api#length": { "min": 1, "max": 100000 } } }, "roleArns": { "target": "com.amazonaws.rolesanywhere#RoleArnList", "traits": { "smithy.api#documentation": "

A list of IAM roles that this profile can assume in a temporary credential request.

" } }, "managedPolicyArns": { "target": "com.amazonaws.rolesanywhere#ManagedPolicyList", "traits": { "smithy.api#documentation": "

A list of managed policy ARNs that apply to the vended session credentials.

" } }, "durationSeconds": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

Used to determine how long sessions vended using this profile are valid for. See the Expiration section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.

", "smithy.api#range": { "min": 900, "max": 43200 } } }, "acceptRoleSessionName": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Used to determine if a custom role session name will be accepted in a temporary credential request.

" } }, "aliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

The alias for the profile.

You can use this parameter in the following ways:

An alias name contains 1 to 256 characters. It must begin with a letter (A-Z or a-z). It can contain only letters (A-Z and a-z), numbers (0-9), underscores (_), hyphens (-), and forward slashes (/). A forward slash can appear only between two other characters, so an alias name can't end with a forward slash or contain two in a row. Alias names that begin with aws/, in any combination of uppercase and lowercase letters, are reserved. Alias names are case sensitive.

The alias name must be unique among resources of the same type in your account and Region. If another resource of the same type already has the alias, the request fails with a ValidationException. An invalid or reserved alias name also causes a ValidationException.

" } }, "tipConfiguration": { "target": "com.amazonaws.rolesanywhere#TipConfiguration", "traits": { "smithy.api#documentation": "

The trusted identity propagation (TIP) settings for the profile. The settings that you specify replace the current settings, and a field that you omit returns to its default. If you omit this parameter, the TIP settings don't change.

" } } } }, "com.amazonaws.rolesanywhere#UpdateTrustAnchor": { "type": "operation", "input": { "target": "com.amazonaws.rolesanywhere#UpdateTrustAnchorRequest" }, "output": { "target": "com.amazonaws.rolesanywhere#TrustAnchorDetailResponse" }, "errors": [ { "target": "com.amazonaws.rolesanywhere#AccessDeniedException" }, { "target": "com.amazonaws.rolesanywhere#ResourceNotFoundException" }, { "target": "com.amazonaws.rolesanywhere#ServiceUnavailableException" }, { "target": "com.amazonaws.rolesanywhere#ValidationException" } ], "traits": { "smithy.api#documentation": "

Updates a trust anchor. You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.

Required permissions: rolesanywhere:UpdateTrustAnchor.

", "smithy.api#http": { "uri": "/trustanchor/{trustAnchorId}", "method": "PATCH" }, "smithy.api#idempotent": {} } }, "com.amazonaws.rolesanywhere#UpdateTrustAnchorRequest": { "type": "structure", "members": { "trustAnchorId": { "target": "com.amazonaws.rolesanywhere#TrustAnchorIdentifier", "traits": { "smithy.api#documentation": "

The trust anchor to act on. You can specify one of the following:

An ARN must be for a trust anchor in your account and Region.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.rolesanywhere#ResourceName", "traits": { "smithy.api#documentation": "

The name of the trust anchor.

" } }, "source": { "target": "com.amazonaws.rolesanywhere#Source", "traits": { "smithy.api#documentation": "

The trust anchor type and its related certificate data.

" } }, "crlDpRevocationEnabled": { "target": "smithy.api#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether the trust anchor checks certificate revocation status against CRL distribution points.

" } }, "aliasName": { "target": "com.amazonaws.rolesanywhere#AliasName", "traits": { "smithy.api#documentation": "

The alias for the trust anchor.

You can use this parameter in the following ways:

An alias name contains 1 to 256 characters. It must begin with a letter (A-Z or a-z). It can contain only letters (A-Z and a-z), numbers (0-9), underscores (_), hyphens (-), and forward slashes (/). A forward slash can appear only between two other characters, so an alias name can't end with a forward slash or contain two in a row. Alias names that begin with aws/, in any combination of uppercase and lowercase letters, are reserved. Alias names are case sensitive.

The alias name must be unique among resources of the same type in your account and Region. If another resource of the same type already has the alias, the request fails with a ValidationException. An invalid or reserved alias name also causes a ValidationException.

" } } } }, "com.amazonaws.rolesanywhere#Uuid": { "type": "string", "traits": { "smithy.api#length": { "min": 36, "max": 36 }, "smithy.api#pattern": "[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}" } }, "com.amazonaws.rolesanywhere#ValidationException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

Validation exception error.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } } } }