{ "smithy": "2.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.sso#AccessKeyType": { "type": "string" }, "com.amazonaws.sso#AccessTokenType": { "type": "string", "traits": { "smithy.api#sensitive": {} } }, "com.amazonaws.sso#AccountIdType": { "type": "string" }, "com.amazonaws.sso#AccountInfo": { "type": "structure", "members": { "accountId": { "target": "com.amazonaws.sso#AccountIdType", "traits": { "smithy.api#documentation": "

The identifier of the AWS account that is assigned to the user.

" } }, "accountName": { "target": "com.amazonaws.sso#AccountNameType", "traits": { "smithy.api#documentation": "

The display name of the AWS account that is assigned to the user.

" } }, "emailAddress": { "target": "com.amazonaws.sso#EmailAddressType", "traits": { "smithy.api#documentation": "

The email address of the AWS account that is assigned to the user.

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

Provides information about your AWS account.

" } }, "com.amazonaws.sso#AccountListType": { "type": "list", "member": { "target": "com.amazonaws.sso#AccountInfo" } }, "com.amazonaws.sso#AccountNameType": { "type": "string" }, "com.amazonaws.sso#EmailAddressType": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 254 } } }, "com.amazonaws.sso#ErrorDescription": { "type": "string" }, "com.amazonaws.sso#ExpirationTimestampType": { "type": "long", "traits": { "smithy.api#default": 0 } }, "com.amazonaws.sso#GetRoleCredentials": { "type": "operation", "input": { "target": "com.amazonaws.sso#GetRoleCredentialsRequest" }, "output": { "target": "com.amazonaws.sso#GetRoleCredentialsResponse" }, "errors": [ { "target": "com.amazonaws.sso#InvalidRequestException" }, { "target": "com.amazonaws.sso#ResourceNotFoundException" }, { "target": "com.amazonaws.sso#TooManyRequestsException" }, { "target": "com.amazonaws.sso#UnauthorizedException" } ], "traits": { "smithy.api#auth": [], "smithy.api#documentation": "

Returns the STS short-term credentials for a given role name that is assigned to the\n user.

", "smithy.api#http": { "method": "GET", "uri": "/federation/credentials", "code": 200 }, "smithy.api#optionalAuth": {} } }, "com.amazonaws.sso#GetRoleCredentialsRequest": { "type": "structure", "members": { "roleName": { "target": "com.amazonaws.sso#RoleNameType", "traits": { "smithy.api#documentation": "

The friendly name of the role that is assigned to the user.

", "smithy.api#httpQuery": "role_name", "smithy.api#required": {} } }, "accountId": { "target": "com.amazonaws.sso#AccountIdType", "traits": { "smithy.api#documentation": "

The identifier for the AWS account that is assigned to the user.

", "smithy.api#httpQuery": "account_id", "smithy.api#required": {} } }, "accessToken": { "target": "com.amazonaws.sso#AccessTokenType", "traits": { "smithy.api#documentation": "

The token issued by the CreateToken API call. For more information, see\n CreateToken in the IAM Identity Center OIDC API Reference Guide.

", "smithy.api#httpHeader": "x-amz-sso_bearer_token", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.sso#GetRoleCredentialsResponse": { "type": "structure", "members": { "roleCredentials": { "target": "com.amazonaws.sso#RoleCredentials", "traits": { "smithy.api#documentation": "

The credentials for the role that is assigned to the user.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.sso#InvalidRequestException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sso#ErrorDescription" } }, "traits": { "smithy.api#documentation": "

Indicates that a problem occurred with the input to the request. For example, a required\n parameter might be missing or out of range.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sso#ListAccountRoles": { "type": "operation", "input": { "target": "com.amazonaws.sso#ListAccountRolesRequest" }, "output": { "target": "com.amazonaws.sso#ListAccountRolesResponse" }, "errors": [ { "target": "com.amazonaws.sso#InvalidRequestException" }, { "target": "com.amazonaws.sso#ResourceNotFoundException" }, { "target": "com.amazonaws.sso#TooManyRequestsException" }, { "target": "com.amazonaws.sso#UnauthorizedException" } ], "traits": { "smithy.api#auth": [], "smithy.api#documentation": "

Lists all roles that are assigned to the user for a given AWS account.

", "smithy.api#http": { "method": "GET", "uri": "/assignment/roles", "code": 200 }, "smithy.api#optionalAuth": {}, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "roleList", "pageSize": "maxResults" } } }, "com.amazonaws.sso#ListAccountRolesRequest": { "type": "structure", "members": { "nextToken": { "target": "com.amazonaws.sso#NextTokenType", "traits": { "smithy.api#documentation": "

The page token from the previous response output when you request subsequent pages.

", "smithy.api#httpQuery": "next_token" } }, "maxResults": { "target": "com.amazonaws.sso#MaxResultType", "traits": { "smithy.api#documentation": "

The number of items that clients can request per page.

", "smithy.api#httpQuery": "max_result" } }, "accessToken": { "target": "com.amazonaws.sso#AccessTokenType", "traits": { "smithy.api#documentation": "

The token issued by the CreateToken API call. For more information, see\n CreateToken in the IAM Identity Center OIDC API Reference Guide.

", "smithy.api#httpHeader": "x-amz-sso_bearer_token", "smithy.api#required": {} } }, "accountId": { "target": "com.amazonaws.sso#AccountIdType", "traits": { "smithy.api#documentation": "

The identifier for the AWS account that is assigned to the user.

", "smithy.api#httpQuery": "account_id", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.sso#ListAccountRolesResponse": { "type": "structure", "members": { "nextToken": { "target": "com.amazonaws.sso#NextTokenType", "traits": { "smithy.api#documentation": "

The page token client that is used to retrieve the list of accounts.

" } }, "roleList": { "target": "com.amazonaws.sso#RoleListType", "traits": { "smithy.api#documentation": "

A paginated response with the list of roles and the next token if more results are\n available.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.sso#ListAccounts": { "type": "operation", "input": { "target": "com.amazonaws.sso#ListAccountsRequest" }, "output": { "target": "com.amazonaws.sso#ListAccountsResponse" }, "errors": [ { "target": "com.amazonaws.sso#InvalidRequestException" }, { "target": "com.amazonaws.sso#ResourceNotFoundException" }, { "target": "com.amazonaws.sso#TooManyRequestsException" }, { "target": "com.amazonaws.sso#UnauthorizedException" } ], "traits": { "smithy.api#auth": [], "smithy.api#documentation": "

Lists all AWS accounts assigned to the user. These AWS accounts are assigned by the\n administrator of the account. For more information, see Assign User Access in the IAM Identity Center User Guide. This operation\n returns a paginated response.

", "smithy.api#http": { "method": "GET", "uri": "/assignment/accounts", "code": 200 }, "smithy.api#optionalAuth": {}, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "accountList", "pageSize": "maxResults" } } }, "com.amazonaws.sso#ListAccountsRequest": { "type": "structure", "members": { "nextToken": { "target": "com.amazonaws.sso#NextTokenType", "traits": { "smithy.api#documentation": "

(Optional) When requesting subsequent pages, this is the page token from the previous\n response output.

", "smithy.api#httpQuery": "next_token" } }, "maxResults": { "target": "com.amazonaws.sso#MaxResultType", "traits": { "smithy.api#documentation": "

This is the number of items clients can request per page.

", "smithy.api#httpQuery": "max_result" } }, "accessToken": { "target": "com.amazonaws.sso#AccessTokenType", "traits": { "smithy.api#documentation": "

The token issued by the CreateToken API call. For more information, see\n CreateToken in the IAM Identity Center OIDC API Reference Guide.

", "smithy.api#httpHeader": "x-amz-sso_bearer_token", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.sso#ListAccountsResponse": { "type": "structure", "members": { "nextToken": { "target": "com.amazonaws.sso#NextTokenType", "traits": { "smithy.api#documentation": "

The page token client that is used to retrieve the list of accounts.

" } }, "accountList": { "target": "com.amazonaws.sso#AccountListType", "traits": { "smithy.api#documentation": "

A paginated response with the list of account information and the next token if more\n results are available.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.sso#Logout": { "type": "operation", "input": { "target": "com.amazonaws.sso#LogoutRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.sso#InvalidRequestException" }, { "target": "com.amazonaws.sso#TooManyRequestsException" }, { "target": "com.amazonaws.sso#UnauthorizedException" } ], "traits": { "smithy.api#auth": [], "smithy.api#documentation": "

Removes the locally stored SSO tokens from the client-side cache and sends an API call to\n the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in\n session.

\n \n

If a user uses IAM Identity Center to access the AWS CLI, the user\u2019s IAM Identity Center sign in session is\n used to obtain an IAM session, as specified in the corresponding IAM Identity Center permission set.\n More specifically, IAM Identity Center assumes an IAM role in the target account on behalf of the user,\n and the corresponding temporary AWS credentials are returned to the client.

\n

After user logout, any existing IAM role sessions that were created by using IAM Identity Center\n permission sets continue based on the duration configured in the permission set.\n For more information, see User\n authentications in the IAM Identity Center User\n Guide.

\n
", "smithy.api#http": { "method": "POST", "uri": "/logout", "code": 200 }, "smithy.api#optionalAuth": {} } }, "com.amazonaws.sso#LogoutRequest": { "type": "structure", "members": { "accessToken": { "target": "com.amazonaws.sso#AccessTokenType", "traits": { "smithy.api#documentation": "

The token issued by the CreateToken API call. For more information, see\n CreateToken in the IAM Identity Center OIDC API Reference Guide.

", "smithy.api#httpHeader": "x-amz-sso_bearer_token", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.sso#MaxResultType": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 100 } } }, "com.amazonaws.sso#NextTokenType": { "type": "string" }, "com.amazonaws.sso#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sso#ErrorDescription" } }, "traits": { "smithy.api#documentation": "

The specified resource doesn't exist.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.sso#RoleCredentials": { "type": "structure", "members": { "accessKeyId": { "target": "com.amazonaws.sso#AccessKeyType", "traits": { "smithy.api#documentation": "

The identifier used for the temporary security credentials. For more information, see\n Using Temporary Security Credentials to Request Access to AWS Resources in the\n AWS IAM User Guide.

" } }, "secretAccessKey": { "target": "com.amazonaws.sso#SecretAccessKeyType", "traits": { "smithy.api#documentation": "

The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the\n AWS IAM User Guide.

" } }, "sessionToken": { "target": "com.amazonaws.sso#SessionTokenType", "traits": { "smithy.api#documentation": "

The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the\n AWS IAM User Guide.

" } }, "expiration": { "target": "com.amazonaws.sso#ExpirationTimestampType", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "

The date on which temporary security credentials expire.

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

Provides information about the role credentials that are assigned to the user.

" } }, "com.amazonaws.sso#RoleInfo": { "type": "structure", "members": { "roleName": { "target": "com.amazonaws.sso#RoleNameType", "traits": { "smithy.api#documentation": "

The friendly name of the role that is assigned to the user.

" } }, "accountId": { "target": "com.amazonaws.sso#AccountIdType", "traits": { "smithy.api#documentation": "

The identifier of the AWS account assigned to the user.

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

Provides information about the role that is assigned to the user.

" } }, "com.amazonaws.sso#RoleListType": { "type": "list", "member": { "target": "com.amazonaws.sso#RoleInfo" } }, "com.amazonaws.sso#RoleNameType": { "type": "string" }, "com.amazonaws.sso#SWBPortalService": { "type": "service", "version": "2019-06-10", "operations": [ { "target": "com.amazonaws.sso#GetRoleCredentials" }, { "target": "com.amazonaws.sso#ListAccountRoles" }, { "target": "com.amazonaws.sso#ListAccounts" }, { "target": "com.amazonaws.sso#Logout" } ], "traits": { "aws.api#service": { "sdkId": "SSO", "arnNamespace": "awsssoportal", "cloudFormationName": "SSO", "cloudTrailEventSource": "sso.amazonaws.com", "endpointPrefix": "portal.sso" }, "aws.auth#sigv4": { "name": "awsssoportal" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "

AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to\n IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles\n assigned to them and get federated into the application.

\n \n

Although AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.

\n
\n

This reference guide describes the IAM Identity Center Portal operations that you can call\n programatically and includes detailed information on data types and errors.

\n \n

AWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

\n
", "smithy.api#title": "AWS Single Sign-On", "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 ] }, { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] }, "aws-us-gov" ] } ], "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://portal.sso-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://portal.sso.{Region}.amazonaws.com", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://portal.sso-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://portal.sso.{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://portal.sso.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 14, "nodes": "/////wAAAAH/////AAAAAAAAAA0AAAADAAAAAQAAAAQF9eEMAAAAAgAAAAUF9eEMAAAAAwAAAAgAAAAGAAAABAAAAAcF9eELAAAABQX14QkF9eEKAAAABAAAAAsAAAAJAAAABgAAAAoF9eEIAAAABwX14QYF9eEHAAAABQAAAAwF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAAOAAAABAX14QIF9eED" }, "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://portal.sso-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": [ { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] }, "aws-us-gov" ] } ], "endpoint": { "url": "https://portal.sso.{Region}.amazonaws.com", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://portal.sso-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://portal.sso.{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://portal.sso.{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://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.eu-north-1.amazonaws.com" } }, "params": { "Region": "eu-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://portal.sso.eu-south-1.amazonaws.com" } }, "params": { "Region": "eu-south-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.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://portal.sso.us-east-2.amazonaws.com" } }, "params": { "Region": "us-east-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://portal.sso.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://portal.sso-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://portal.sso-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://portal.sso.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://portal.sso-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://portal.sso-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://portal.sso.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://portal.sso.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://portal.sso.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://portal.sso.us-gov-west-1.amazonaws.com" } }, "params": { "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://portal.sso-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://portal.sso.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://portal.sso.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://portal.sso-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://portal.sso.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://portal.sso-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://portal.sso.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.sso#SecretAccessKeyType": { "type": "string", "traits": { "smithy.api#sensitive": {} } }, "com.amazonaws.sso#SessionTokenType": { "type": "string", "traits": { "smithy.api#sensitive": {} } }, "com.amazonaws.sso#TooManyRequestsException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sso#ErrorDescription" } }, "traits": { "smithy.api#documentation": "

Indicates that the request is being made too frequently and is more than what the server\n can handle.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.sso#UnauthorizedException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.sso#ErrorDescription" } }, "traits": { "smithy.api#documentation": "

Indicates that the request is not authorized. This can happen due to an invalid access\n token in the request.

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