'2011-06-15', 'endpointPrefix' => 'sts', 'serviceFullName' => 'AWS Security Token Service', 'serviceAbbreviation' => 'AWS STS', 'serviceType' => 'query', 'globalEndpoint' => 'sts.amazonaws.com', 'resultWrapped' => true, 'signatureVersion' => 'v4', 'namespace' => 'Sts', 'regions' => array( 'us-east-1' => array( 'http' => false, 'https' => true, 'hostname' => 'sts.amazonaws.com', ), 'us-west-1' => array( 'http' => false, 'https' => true, 'hostname' => 'sts.amazonaws.com', ), 'us-west-2' => array( 'http' => false, 'https' => true, 'hostname' => 'sts.amazonaws.com', ), 'eu-west-1' => array( 'http' => false, 'https' => true, 'hostname' => 'sts.amazonaws.com', ), 'ap-northeast-1' => array( 'http' => false, 'https' => true, 'hostname' => 'sts.amazonaws.com', ), 'ap-southeast-1' => array( 'http' => false, 'https' => true, 'hostname' => 'sts.amazonaws.com', ), 'ap-southeast-2' => array( 'http' => false, 'https' => true, 'hostname' => 'sts.amazonaws.com', ), 'sa-east-1' => array( 'http' => false, 'https' => true, 'hostname' => 'sts.amazonaws.com', ), 'cn-north-1' => array( 'http' => false, 'https' => true, 'hostname' => 'sts.cn-north-1.amazonaws.com.cn', ), 'us-gov-west-1' => array( 'http' => false, 'https' => true, 'hostname' => 'sts.us-gov-west-1.amazonaws.com', ), ), 'operations' => array( 'AssumeRole' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', 'responseClass' => 'AssumeRoleResponse', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', 'default' => 'AssumeRole', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-06-15', ), 'RoleArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, ), 'RoleSessionName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 2, ), 'Policy' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, ), 'DurationSeconds' => array( 'type' => 'numeric', 'location' => 'aws.query', 'minimum' => 900, 'maximum' => 3600, ), 'ExternalId' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 2, ), 'SerialNumber' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 9, ), 'TokenCode' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 6, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', 'class' => 'MalformedPolicyDocumentException', ), array( 'reason' => 'The request was rejected because the policy document was too large. The error message describes how big the policy document is, in packed form, as a percentage of what the API allows.', 'class' => 'PackedPolicyTooLargeException', ), ), ), 'AssumeRoleWithSAML' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', 'responseClass' => 'AssumeRoleWithSAMLResponse', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', 'default' => 'AssumeRoleWithSAML', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-06-15', ), 'RoleArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, ), 'PrincipalArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, ), 'SAMLAssertion' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, ), 'Policy' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, ), 'DurationSeconds' => array( 'type' => 'numeric', 'location' => 'aws.query', 'minimum' => 900, 'maximum' => 3600, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', 'class' => 'MalformedPolicyDocumentException', ), array( 'reason' => 'The request was rejected because the policy document was too large. The error message describes how big the policy document is, in packed form, as a percentage of what the API allows.', 'class' => 'PackedPolicyTooLargeException', ), array( 'reason' => 'The identity provider (IdP) reported that authentication failed. This might be because the claim is invalid. If this error is returned for the AssumeRoleWithWebIdentity operation, it can also mean that the claim has expired or has been explicitly revoked.', 'class' => 'IDPRejectedClaimException', ), array( 'reason' => 'The web identity token that was passed could not be validated by AWS. Get a new identity token from the identity provider and then retry the request.', 'class' => 'InvalidIdentityTokenException', ), array( 'reason' => 'The web identity token that was passed is expired or is not valid. Get a new identity token from the identity provider and then retry the request.', 'class' => 'ExpiredTokenException', ), ), ), 'AssumeRoleWithWebIdentity' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', 'responseClass' => 'AssumeRoleWithWebIdentityResponse', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', 'default' => 'AssumeRoleWithWebIdentity', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-06-15', ), 'RoleArn' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 20, ), 'RoleSessionName' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 2, ), 'WebIdentityToken' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, ), 'ProviderId' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 4, ), 'Policy' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, ), 'DurationSeconds' => array( 'type' => 'numeric', 'location' => 'aws.query', 'minimum' => 900, 'maximum' => 3600, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', 'class' => 'MalformedPolicyDocumentException', ), array( 'reason' => 'The request was rejected because the policy document was too large. The error message describes how big the policy document is, in packed form, as a percentage of what the API allows.', 'class' => 'PackedPolicyTooLargeException', ), array( 'reason' => 'The identity provider (IdP) reported that authentication failed. This might be because the claim is invalid. If this error is returned for the AssumeRoleWithWebIdentity operation, it can also mean that the claim has expired or has been explicitly revoked.', 'class' => 'IDPRejectedClaimException', ), array( 'reason' => 'The request could not be fulfilled because the non-AWS identity provider (IDP) that was asked to verify the incoming identity token could not be reached. This is often a transient error caused by network conditions. Retry the request a limited number of times so that you don\'t exceed the request rate. If the error persists, the non-AWS identity provider might be down or not responding.', 'class' => 'IDPCommunicationErrorException', ), array( 'reason' => 'The web identity token that was passed could not be validated by AWS. Get a new identity token from the identity provider and then retry the request.', 'class' => 'InvalidIdentityTokenException', ), array( 'reason' => 'The web identity token that was passed is expired or is not valid. Get a new identity token from the identity provider and then retry the request.', 'class' => 'ExpiredTokenException', ), ), ), 'DecodeAuthorizationMessage' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', 'responseClass' => 'DecodeAuthorizationMessageResponse', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', 'default' => 'DecodeAuthorizationMessage', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-06-15', ), 'EncodedMessage' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, ), ), 'errorResponses' => array( array( 'reason' => 'The error returned if the message passed to DecodeAuthorizationMessage was invalid. This can happen if the token contains invalid characters, such as linebreaks.', 'class' => 'InvalidAuthorizationMessageException', ), ), ), 'GetFederationToken' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', 'responseClass' => 'GetFederationTokenResponse', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', 'default' => 'GetFederationToken', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-06-15', ), 'Name' => array( 'required' => true, 'type' => 'string', 'location' => 'aws.query', 'minLength' => 2, ), 'Policy' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 1, ), 'DurationSeconds' => array( 'type' => 'numeric', 'location' => 'aws.query', 'minimum' => 900, 'maximum' => 129600, ), ), 'errorResponses' => array( array( 'reason' => 'The request was rejected because the policy document was malformed. The error message describes the specific error.', 'class' => 'MalformedPolicyDocumentException', ), array( 'reason' => 'The request was rejected because the policy document was too large. The error message describes how big the policy document is, in packed form, as a percentage of what the API allows.', 'class' => 'PackedPolicyTooLargeException', ), ), ), 'GetSessionToken' => array( 'httpMethod' => 'POST', 'uri' => '/', 'class' => 'Aws\\Common\\Command\\QueryCommand', 'responseClass' => 'GetSessionTokenResponse', 'responseType' => 'model', 'parameters' => array( 'Action' => array( 'static' => true, 'location' => 'aws.query', 'default' => 'GetSessionToken', ), 'Version' => array( 'static' => true, 'location' => 'aws.query', 'default' => '2011-06-15', ), 'DurationSeconds' => array( 'type' => 'numeric', 'location' => 'aws.query', 'minimum' => 900, 'maximum' => 129600, ), 'SerialNumber' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 9, ), 'TokenCode' => array( 'type' => 'string', 'location' => 'aws.query', 'minLength' => 6, ), ), ), ), 'models' => array( 'AssumeRoleResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Credentials' => array( 'type' => 'object', 'location' => 'xml', 'properties' => array( 'AccessKeyId' => array( 'type' => 'string', ), 'SecretAccessKey' => array( 'type' => 'string', ), 'SessionToken' => array( 'type' => 'string', ), 'Expiration' => array( 'type' => 'string', ), ), ), 'AssumedRoleUser' => array( 'type' => 'object', 'location' => 'xml', 'properties' => array( 'AssumedRoleId' => array( 'type' => 'string', ), 'Arn' => array( 'type' => 'string', ), ), ), 'PackedPolicySize' => array( 'type' => 'numeric', 'location' => 'xml', ), ), ), 'AssumeRoleWithSAMLResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Credentials' => array( 'type' => 'object', 'location' => 'xml', 'properties' => array( 'AccessKeyId' => array( 'type' => 'string', ), 'SecretAccessKey' => array( 'type' => 'string', ), 'SessionToken' => array( 'type' => 'string', ), 'Expiration' => array( 'type' => 'string', ), ), ), 'AssumedRoleUser' => array( 'type' => 'object', 'location' => 'xml', 'properties' => array( 'AssumedRoleId' => array( 'type' => 'string', ), 'Arn' => array( 'type' => 'string', ), ), ), 'PackedPolicySize' => array( 'type' => 'numeric', 'location' => 'xml', ), 'Subject' => array( 'type' => 'string', 'location' => 'xml', ), 'SubjectType' => array( 'type' => 'string', 'location' => 'xml', ), 'Issuer' => array( 'type' => 'string', 'location' => 'xml', ), 'Audience' => array( 'type' => 'string', 'location' => 'xml', ), 'NameQualifier' => array( 'type' => 'string', 'location' => 'xml', ), ), ), 'AssumeRoleWithWebIdentityResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Credentials' => array( 'type' => 'object', 'location' => 'xml', 'properties' => array( 'AccessKeyId' => array( 'type' => 'string', ), 'SecretAccessKey' => array( 'type' => 'string', ), 'SessionToken' => array( 'type' => 'string', ), 'Expiration' => array( 'type' => 'string', ), ), ), 'SubjectFromWebIdentityToken' => array( 'type' => 'string', 'location' => 'xml', ), 'AssumedRoleUser' => array( 'type' => 'object', 'location' => 'xml', 'properties' => array( 'AssumedRoleId' => array( 'type' => 'string', ), 'Arn' => array( 'type' => 'string', ), ), ), 'PackedPolicySize' => array( 'type' => 'numeric', 'location' => 'xml', ), 'Provider' => array( 'type' => 'string', 'location' => 'xml', ), 'Audience' => array( 'type' => 'string', 'location' => 'xml', ), ), ), 'DecodeAuthorizationMessageResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'DecodedMessage' => array( 'type' => 'string', 'location' => 'xml', ), ), ), 'GetFederationTokenResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Credentials' => array( 'type' => 'object', 'location' => 'xml', 'properties' => array( 'AccessKeyId' => array( 'type' => 'string', ), 'SecretAccessKey' => array( 'type' => 'string', ), 'SessionToken' => array( 'type' => 'string', ), 'Expiration' => array( 'type' => 'string', ), ), ), 'FederatedUser' => array( 'type' => 'object', 'location' => 'xml', 'properties' => array( 'FederatedUserId' => array( 'type' => 'string', ), 'Arn' => array( 'type' => 'string', ), ), ), 'PackedPolicySize' => array( 'type' => 'numeric', 'location' => 'xml', ), ), ), 'GetSessionTokenResponse' => array( 'type' => 'object', 'additionalProperties' => true, 'properties' => array( 'Credentials' => array( 'type' => 'object', 'location' => 'xml', 'properties' => array( 'AccessKeyId' => array( 'type' => 'string', ), 'SecretAccessKey' => array( 'type' => 'string', ), 'SessionToken' => array( 'type' => 'string', ), 'Expiration' => array( 'type' => 'string', ), ), ), ), ), ), );