{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2023-01-01",
    "auth":["aws.auth#sigv4"],
    "endpointPrefix":"signin",
    "protocol":"rest-json",
    "protocols":["rest-json"],
    "serviceFullName":"AWS Sign-In Service",
    "serviceId":"Signin",
    "signatureVersion":"v4",
    "signingName":"signin",
    "uid":"signin-2023-01-01"
  },
  "operations":{
    "CreateBearerToken":{
      "name":"CreateBearerToken",
      "http":{
        "method":"POST",
        "requestUri":"/v1/token?x-amz-token-request-type=bearer",
        "responseCode":200
      },
      "input":{"shape":"CreateBearerTokenRequest"},
      "output":{"shape":"CreateBearerTokenResponse"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "staticContextParams":{
        "IsOAuthEndpoint":{"value":true}
      }
    },
    "CreateOAuth2Token":{
      "name":"CreateOAuth2Token",
      "http":{
        "method":"POST",
        "requestUri":"/v1/token",
        "responseCode":200
      },
      "input":{"shape":"CreateOAuth2TokenRequest"},
      "output":{"shape":"CreateOAuth2TokenResponse"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "auth":["smithy.api#noAuth"],
      "staticContextParams":{
        "IsControlPlane":{"value":false}
      },
      "authtype":"none"
    },
    "CreateOAuth2TokenWithIAM":{
      "name":"CreateOAuth2TokenWithIAM",
      "http":{
        "method":"POST",
        "requestUri":"/v1/token?x-amz-client-auth-method=iam",
        "responseCode":200
      },
      "input":{"shape":"CreateOAuth2TokenWithIAMRequest"},
      "output":{"shape":"CreateOAuth2TokenWithIAMResponse"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "staticContextParams":{
        "IsOAuthEndpoint":{"value":true}
      }
    },
    "CreateOAuth2TokenWithTokenExchange":{
      "name":"CreateOAuth2TokenWithTokenExchange",
      "http":{
        "method":"POST",
        "requestUri":"/v1/token?x-amz-oauth-token-method=token-exchange",
        "responseCode":200
      },
      "input":{"shape":"CreateOAuth2TokenWithTokenExchangeRequest"},
      "output":{"shape":"CreateOAuth2TokenWithTokenExchangeResponse"},
      "errors":[
        {"shape":"InvalidGrantException"},
        {"shape":"InvalidScopeException"},
        {"shape":"TooManyRequestsError"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"}
      ],
      "auth":["smithy.api#noAuth"],
      "staticContextParams":{
        "IsOAuthEndpoint":{"value":true}
      },
      "authtype":"none"
    },
    "DeleteConsoleAuthorizationConfiguration":{
      "name":"DeleteConsoleAuthorizationConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/delete-console-authorization-configuration",
        "responseCode":200
      },
      "input":{"shape":"DeleteConsoleAuthorizationConfigurationInput"},
      "output":{"shape":"DeleteConsoleAuthorizationConfigurationOutput"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "idempotent":true,
      "staticContextParams":{
        "IsControlPlane":{"value":true}
      }
    },
    "DeleteResourcePermissionStatement":{
      "name":"DeleteResourcePermissionStatement",
      "http":{
        "method":"POST",
        "requestUri":"/delete-resource-permission-statement",
        "responseCode":200
      },
      "input":{"shape":"DeleteResourcePermissionStatementInput"},
      "output":{"shape":"DeleteResourcePermissionStatementOutput"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "staticContextParams":{
        "IsControlPlane":{"value":true}
      }
    },
    "GetConsoleAuthorizationConfiguration":{
      "name":"GetConsoleAuthorizationConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/get-console-authorization-configuration",
        "responseCode":200
      },
      "input":{"shape":"GetConsoleAuthorizationConfigurationInput"},
      "output":{"shape":"GetConsoleAuthorizationConfigurationOutput"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "readonly":true,
      "staticContextParams":{
        "IsControlPlane":{"value":true}
      }
    },
    "GetResourcePolicy":{
      "name":"GetResourcePolicy",
      "http":{
        "method":"POST",
        "requestUri":"/get-resource-policy",
        "responseCode":200
      },
      "input":{"shape":"GetResourcePolicyInput"},
      "output":{"shape":"GetResourcePolicyOutput"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"AccessDeniedException"}
      ],
      "readonly":true,
      "staticContextParams":{
        "IsControlPlane":{"value":true}
      }
    },
    "IntrospectOAuth2TokenWithIAM":{
      "name":"IntrospectOAuth2TokenWithIAM",
      "http":{
        "method":"POST",
        "requestUri":"/v1/introspect?x-amz-client-auth-method=iam",
        "responseCode":200
      },
      "input":{"shape":"IntrospectOAuth2TokenWithIAMRequest"},
      "output":{"shape":"IntrospectOAuth2TokenWithIAMResponse"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "readonly":true,
      "staticContextParams":{
        "IsOAuthEndpoint":{"value":true}
      }
    },
    "ListResourcePermissionStatements":{
      "name":"ListResourcePermissionStatements",
      "http":{
        "method":"POST",
        "requestUri":"/list-resource-permission-statements",
        "responseCode":200
      },
      "input":{"shape":"ListResourcePermissionStatementsInput"},
      "output":{"shape":"ListResourcePermissionStatementsOutput"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "readonly":true,
      "staticContextParams":{
        "IsControlPlane":{"value":true}
      }
    },
    "PutConsoleAuthorizationConfiguration":{
      "name":"PutConsoleAuthorizationConfiguration",
      "http":{
        "method":"POST",
        "requestUri":"/put-console-authorization-configuration",
        "responseCode":200
      },
      "input":{"shape":"PutConsoleAuthorizationConfigurationInput"},
      "output":{"shape":"PutConsoleAuthorizationConfigurationOutput"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "idempotent":true,
      "staticContextParams":{
        "IsControlPlane":{"value":true}
      }
    },
    "PutResourcePermissionStatement":{
      "name":"PutResourcePermissionStatement",
      "http":{
        "method":"POST",
        "requestUri":"/put-resource-permission-statement",
        "responseCode":200
      },
      "input":{"shape":"PutResourcePermissionStatementInput"},
      "output":{"shape":"PutResourcePermissionStatementOutput"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"ConflictException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "idempotent":true,
      "staticContextParams":{
        "IsControlPlane":{"value":true}
      }
    },
    "RevokeOAuth2TokenWithIAM":{
      "name":"RevokeOAuth2TokenWithIAM",
      "http":{
        "method":"POST",
        "requestUri":"/v1/revoke?x-amz-client-auth-method=iam",
        "responseCode":200
      },
      "input":{"shape":"RevokeOAuth2TokenWithIAMRequest"},
      "output":{"shape":"RevokeOAuth2TokenWithIAMResponse"},
      "errors":[
        {"shape":"TooManyRequestsError"},
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"}
      ],
      "idempotent":true,
      "staticContextParams":{
        "IsOAuthEndpoint":{"value":true}
      }
    }
  },
  "shapes":{
    "AccessDeniedException":{
      "type":"structure",
      "required":[
        "error",
        "message"
      ],
      "members":{
        "error":{"shape":"OAuth2ErrorCode"},
        "message":{"shape":"String"}
      },
      "exception":true
    },
    "AccessToken":{
      "type":"structure",
      "required":[
        "accessKeyId",
        "secretAccessKey",
        "sessionToken"
      ],
      "members":{
        "accessKeyId":{
          "shape":"String",
          "locationName":"accessKeyId"
        },
        "secretAccessKey":{
          "shape":"String",
          "locationName":"secretAccessKey"
        },
        "sessionToken":{
          "shape":"String",
          "locationName":"sessionToken"
        }
      },
      "sensitive":true
    },
    "AccountId":{
      "type":"string",
      "max":12,
      "min":12,
      "pattern":"[0-9]{12}"
    },
    "AuthorizationCode":{
      "type":"string",
      "max":512,
      "min":1
    },
    "BearerTokenExpiresIn":{
      "type":"integer",
      "box":true,
      "min":1
    },
    "BearerTokenType":{
      "type":"string",
      "pattern":"Bearer"
    },
    "Boolean":{
      "type":"boolean",
      "box":true
    },
    "ClientCredentialsGrantType":{
      "type":"string",
      "pattern":"client_credentials"
    },
    "ClientId":{
      "type":"string",
      "pattern":"arn:aws:signin:::devtools/(cross-device|same-device)"
    },
    "ClientToken":{
      "type":"string",
      "max":64,
      "min":1,
      "pattern":"[!-~]+"
    },
    "CodeVerifier":{
      "type":"string",
      "max":128,
      "min":43,
      "pattern":"[A-Za-z0-9\\-._~]+"
    },
    "Condition":{
      "type":"map",
      "key":{"shape":"String"},
      "value":{"shape":"ConditionValues"}
    },
    "ConditionBlock":{
      "type":"map",
      "key":{"shape":"ConditionType"},
      "value":{"shape":"Condition"}
    },
    "ConditionType":{"type":"string"},
    "ConditionValues":{
      "type":"list",
      "member":{"shape":"String"}
    },
    "ConflictException":{
      "type":"structure",
      "required":[
        "error",
        "message"
      ],
      "members":{
        "error":{"shape":"OAuth2ErrorCode"},
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":409,
        "senderFault":true
      },
      "exception":true
    },
    "ConsolePermissionMaxResults":{
      "type":"integer",
      "box":true,
      "max":100,
      "min":1
    },
    "CreateBearerTokenRequest":{
      "type":"structure",
      "required":[
        "grantType",
        "resource"
      ],
      "members":{
        "grantType":{
          "shape":"ClientCredentialsGrantType",
          "locationName":"grant_type"
        },
        "resource":{"shape":"Resource"},
        "durationSeconds":{
          "shape":"TokenDuration",
          "locationName":"duration"
        }
      }
    },
    "CreateBearerTokenResponse":{
      "type":"structure",
      "required":[
        "accessToken",
        "tokenType",
        "expiresIn"
      ],
      "members":{
        "accessToken":{
          "shape":"OAuthAccessToken",
          "locationName":"access_token"
        },
        "tokenType":{
          "shape":"BearerTokenType",
          "locationName":"token_type"
        },
        "expiresIn":{
          "shape":"BearerTokenExpiresIn",
          "locationName":"expires_in"
        }
      }
    },
    "CreateOAuth2TokenRequest":{
      "type":"structure",
      "required":["tokenInput"],
      "members":{
        "tokenInput":{"shape":"CreateOAuth2TokenRequestBody"}
      },
      "payload":"tokenInput"
    },
    "CreateOAuth2TokenRequestBody":{
      "type":"structure",
      "required":[
        "clientId",
        "grantType"
      ],
      "members":{
        "clientId":{
          "shape":"ClientId",
          "locationName":"clientId"
        },
        "grantType":{
          "shape":"GrantType",
          "locationName":"grantType"
        },
        "code":{"shape":"AuthorizationCode"},
        "redirectUri":{
          "shape":"RedirectUri",
          "locationName":"redirectUri"
        },
        "codeVerifier":{
          "shape":"CodeVerifier",
          "locationName":"codeVerifier"
        },
        "refreshToken":{
          "shape":"RefreshToken",
          "locationName":"refreshToken"
        }
      }
    },
    "CreateOAuth2TokenResponse":{
      "type":"structure",
      "required":["tokenOutput"],
      "members":{
        "tokenOutput":{"shape":"CreateOAuth2TokenResponseBody"}
      },
      "payload":"tokenOutput"
    },
    "CreateOAuth2TokenResponseBody":{
      "type":"structure",
      "required":[
        "accessToken",
        "tokenType",
        "expiresIn",
        "refreshToken"
      ],
      "members":{
        "accessToken":{
          "shape":"AccessToken",
          "locationName":"accessToken"
        },
        "tokenType":{
          "shape":"TokenType",
          "locationName":"tokenType"
        },
        "expiresIn":{
          "shape":"ExpiresIn",
          "locationName":"expiresIn"
        },
        "refreshToken":{
          "shape":"RefreshToken",
          "locationName":"refreshToken"
        },
        "idToken":{
          "shape":"IdToken",
          "locationName":"idToken"
        }
      }
    },
    "CreateOAuth2TokenWithIAMRequest":{
      "type":"structure",
      "required":[
        "grantType",
        "resource"
      ],
      "members":{
        "grantType":{
          "shape":"ClientCredentialsGrantType",
          "locationName":"grant_type"
        },
        "resource":{"shape":"Resource"}
      }
    },
    "CreateOAuth2TokenWithIAMResponse":{
      "type":"structure",
      "required":[
        "accessToken",
        "tokenType",
        "expiresIn"
      ],
      "members":{
        "accessToken":{
          "shape":"OAuthAccessToken",
          "locationName":"access_token"
        },
        "tokenType":{
          "shape":"BearerTokenType",
          "locationName":"token_type"
        },
        "expiresIn":{
          "shape":"TokenExpiresIn",
          "locationName":"expires_in"
        }
      }
    },
    "CreateOAuth2TokenWithTokenExchangeRequest":{
      "type":"structure",
      "required":["grantType"],
      "members":{
        "grantType":{
          "shape":"TokenExchangeGrantType",
          "locationName":"grant_type"
        },
        "subjectToken":{
          "shape":"SubjectToken",
          "locationName":"subject_token"
        },
        "subjectTokenType":{
          "shape":"SubjectTokenType",
          "locationName":"subject_token_type"
        },
        "resource":{"shape":"Resource"},
        "scope":{"shape":"Scope"}
      }
    },
    "CreateOAuth2TokenWithTokenExchangeResponse":{
      "type":"structure",
      "required":[
        "accessToken",
        "tokenType",
        "expiresIn"
      ],
      "members":{
        "accessToken":{
          "shape":"OAuthAccessToken",
          "locationName":"access_token"
        },
        "issuedTokenType":{
          "shape":"IssuedOAuthAccessTokenType",
          "locationName":"issued_token_type"
        },
        "tokenType":{
          "shape":"BearerTokenType",
          "locationName":"token_type"
        },
        "expiresIn":{
          "shape":"TokenExpiresIn",
          "locationName":"expires_in"
        }
      }
    },
    "DeleteConsoleAuthorizationConfigurationInput":{
      "type":"structure",
      "members":{
        "targetId":{"shape":"TargetId"}
      }
    },
    "DeleteConsoleAuthorizationConfigurationOutput":{
      "type":"structure",
      "required":[
        "targetId",
        "scope",
        "consoleAuthorizationEnabled"
      ],
      "members":{
        "targetId":{"shape":"TargetId"},
        "scope":{"shape":"String"},
        "consoleAuthorizationEnabled":{"shape":"Boolean"}
      }
    },
    "DeleteResourcePermissionStatementInput":{
      "type":"structure",
      "required":["statementId"],
      "members":{
        "statementId":{"shape":"StatementId"},
        "clientToken":{
          "shape":"ClientToken",
          "idempotencyToken":true
        }
      }
    },
    "DeleteResourcePermissionStatementOutput":{
      "type":"structure",
      "members":{}
    },
    "ExcludedPrincipal":{
      "type":"string",
      "max":2048,
      "min":20,
      "pattern":"arn:aws:((iam::[0-9]{12}:role/[a-zA-Z0-9_+=,.@-]{1,64})|(iam::[0-9]{12}:user/[a-zA-Z0-9_+=,.@-]{1,64})|(sts::[0-9]{12}:federated-user/[a-zA-Z0-9_+=,.@-]{2,193})|(iam::[0-9]{12}:root))"
    },
    "ExpiresIn":{
      "type":"integer",
      "box":true,
      "max":900,
      "min":1
    },
    "GetConsoleAuthorizationConfigurationInput":{
      "type":"structure",
      "members":{
        "targetId":{"shape":"TargetId"}
      }
    },
    "GetConsoleAuthorizationConfigurationOutput":{
      "type":"structure",
      "required":[
        "targetId",
        "scope",
        "consoleAuthorizationEnabled"
      ],
      "members":{
        "targetId":{"shape":"TargetId"},
        "scope":{"shape":"String"},
        "consoleAuthorizationEnabled":{"shape":"Boolean"}
      }
    },
    "GetResourcePolicyInput":{
      "type":"structure",
      "members":{}
    },
    "GetResourcePolicyOutput":{
      "type":"structure",
      "required":["signinResourceBasedPolicy"],
      "members":{
        "signinResourceBasedPolicy":{"shape":"SigninResourceBasedPolicy"}
      }
    },
    "GrantType":{
      "type":"string",
      "pattern":"(authorization_code|refresh_token)"
    },
    "IdToken":{
      "type":"string",
      "max":4096,
      "min":1
    },
    "InternalServerException":{
      "type":"structure",
      "required":[
        "error",
        "message"
      ],
      "members":{
        "error":{"shape":"OAuth2ErrorCode"},
        "message":{"shape":"String"}
      },
      "error":{"httpStatusCode":500},
      "exception":true,
      "fault":true
    },
    "IntrospectOAuth2TokenWithIAMRequest":{
      "type":"structure",
      "required":["token"],
      "members":{
        "token":{
          "shape":"IntrospectionToken",
          "locationName":"token"
        },
        "tokenTypeHint":{
          "shape":"TokenTypeHint",
          "locationName":"token_type_hint"
        }
      }
    },
    "IntrospectOAuth2TokenWithIAMResponse":{
      "type":"structure",
      "required":["active"],
      "members":{
        "active":{"shape":"Boolean"},
        "clientId":{
          "shape":"String",
          "locationName":"client_id"
        },
        "userId":{
          "shape":"String",
          "locationName":"user_id"
        },
        "tokenType":{
          "shape":"IntrospectedTokenType",
          "locationName":"token_type"
        },
        "exp":{
          "shape":"Long",
          "locationName":"exp"
        },
        "iat":{
          "shape":"Long",
          "locationName":"iat"
        },
        "nbf":{
          "shape":"Long",
          "locationName":"nbf"
        },
        "sub":{
          "shape":"String",
          "locationName":"sub"
        },
        "aud":{
          "shape":"String",
          "locationName":"aud"
        },
        "iss":{
          "shape":"String",
          "locationName":"iss"
        },
        "jti":{
          "shape":"String",
          "locationName":"jti"
        },
        "accountId":{
          "shape":"AccountId",
          "locationName":"account_id"
        },
        "signinSession":{
          "shape":"String",
          "locationName":"signin_session"
        },
        "resource":{
          "shape":"Resource",
          "locationName":"resource"
        }
      }
    },
    "IntrospectedTokenType":{
      "type":"string",
      "pattern":"(access_token|refresh_token)"
    },
    "IntrospectionToken":{
      "type":"string",
      "max":4096,
      "min":1,
      "pattern":"ASO[AR][A-Za-z0-9+/=_\\-]+",
      "sensitive":true
    },
    "InvalidGrantException":{
      "type":"structure",
      "required":[
        "error",
        "message"
      ],
      "members":{
        "error":{"shape":"OAuth2ErrorCode"},
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "InvalidScopeException":{
      "type":"structure",
      "required":[
        "error",
        "message"
      ],
      "members":{
        "error":{"shape":"OAuth2ErrorCode"},
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "IssuedOAuthAccessTokenType":{
      "type":"string",
      "pattern":"urn:ietf:params:oauth:token-type:access_token"
    },
    "ListResourcePermissionStatementsInput":{
      "type":"structure",
      "members":{
        "maxResults":{"shape":"ConsolePermissionMaxResults"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "ListResourcePermissionStatementsOutput":{
      "type":"structure",
      "required":["permissionStatements"],
      "members":{
        "permissionStatements":{"shape":"PermissionStatementSummaries"},
        "nextToken":{"shape":"NextToken"}
      }
    },
    "Long":{
      "type":"long",
      "box":true
    },
    "NextToken":{
      "type":"string",
      "max":2048,
      "min":0,
      "pattern":"[-a-zA-Z0-9+=/_]*"
    },
    "OAuth2ErrorCode":{
      "type":"string",
      "enum":[
        "TOKEN_EXPIRED",
        "USER_CREDENTIALS_CHANGED",
        "INSUFFICIENT_PERMISSIONS",
        "AUTHCODE_EXPIRED",
        "server_error",
        "INVALID_REQUEST",
        "RESOURCE_NOT_FOUND",
        "CONFLICT",
        "SERVICE_QUOTA_EXCEEDED",
        "unsupported_grant_type",
        "invalid_request",
        "invalid_grant",
        "invalid_scope",
        "invalid_target",
        "rate_exceeded",
        "service_unavailable"
      ]
    },
    "OAuthAccessToken":{
      "type":"string",
      "max":4096,
      "min":1,
      "sensitive":true
    },
    "PermissionStatementSummaries":{
      "type":"list",
      "member":{"shape":"PermissionStatementSummary"}
    },
    "PermissionStatementSummary":{
      "type":"structure",
      "required":["sid"],
      "members":{
        "sid":{"shape":"StatementId"},
        "condition":{"shape":"ConditionBlock"}
      }
    },
    "PolicyActions":{
      "type":"list",
      "member":{"shape":"String"}
    },
    "PolicyStatement":{
      "type":"structure",
      "members":{
        "effect":{
          "shape":"String",
          "locationName":"Effect"
        },
        "principal":{
          "shape":"Principal",
          "locationName":"Principal"
        },
        "action":{
          "shape":"PolicyActions",
          "locationName":"Action"
        },
        "resource":{
          "shape":"String",
          "locationName":"Resource"
        },
        "condition":{
          "shape":"ConditionBlock",
          "locationName":"Condition"
        }
      }
    },
    "PolicyStatements":{
      "type":"list",
      "member":{"shape":"PolicyStatement"}
    },
    "Principal":{
      "type":"map",
      "key":{"shape":"String"},
      "value":{"shape":"String"}
    },
    "PutConsoleAuthorizationConfigurationInput":{
      "type":"structure",
      "members":{
        "targetId":{"shape":"TargetId"}
      }
    },
    "PutConsoleAuthorizationConfigurationOutput":{
      "type":"structure",
      "required":[
        "targetId",
        "scope",
        "consoleAuthorizationEnabled"
      ],
      "members":{
        "targetId":{"shape":"TargetId"},
        "scope":{"shape":"String"},
        "consoleAuthorizationEnabled":{"shape":"Boolean"}
      }
    },
    "PutResourcePermissionStatementInput":{
      "type":"structure",
      "members":{
        "sourceVpc":{"shape":"SourceVpc"},
        "signinSourceVpce":{"shape":"SourceVpce"},
        "consoleSourceVpce":{"shape":"SourceVpce"},
        "vpcSourceIp":{"shape":"VpcSourceIp"},
        "sourceIp":{"shape":"SourceIp"},
        "requestedRegion":{"shape":"RequestedRegion"},
        "excludedPrincipal":{"shape":"ExcludedPrincipal"},
        "clientToken":{
          "shape":"ClientToken",
          "idempotencyToken":true
        }
      }
    },
    "PutResourcePermissionStatementOutput":{
      "type":"structure",
      "required":["statementId"],
      "members":{
        "statementId":{"shape":"StatementId"}
      }
    },
    "RedirectUri":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "RefreshToken":{
      "type":"string",
      "max":2048,
      "min":1,
      "sensitive":true
    },
    "RequestedRegion":{
      "type":"string",
      "pattern":"[a-z]{2}(-[a-z]+)+-\\d+"
    },
    "Resource":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "required":[
        "error",
        "message"
      ],
      "members":{
        "error":{"shape":"OAuth2ErrorCode"},
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "RevocationToken":{
      "type":"string",
      "max":4096,
      "min":1,
      "pattern":"ASOR[A-Za-z0-9+/=_\\-]+",
      "sensitive":true
    },
    "RevokeOAuth2TokenWithIAMRequest":{
      "type":"structure",
      "required":["token"],
      "members":{
        "token":{
          "shape":"RevocationToken",
          "locationName":"token"
        }
      }
    },
    "RevokeOAuth2TokenWithIAMResponse":{
      "type":"structure",
      "members":{}
    },
    "Scope":{
      "type":"string",
      "max":4096,
      "min":1
    },
    "ServiceQuotaExceededException":{
      "type":"structure",
      "required":[
        "error",
        "message"
      ],
      "members":{
        "error":{"shape":"OAuth2ErrorCode"},
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":402,
        "senderFault":true
      },
      "exception":true
    },
    "ServiceUnavailableException":{
      "type":"structure",
      "required":[
        "error",
        "message"
      ],
      "members":{
        "error":{"shape":"OAuth2ErrorCode"},
        "message":{"shape":"String"}
      },
      "error":{"httpStatusCode":503},
      "exception":true,
      "fault":true,
      "retryable":{"throttling":false}
    },
    "SigninResourceBasedPolicy":{
      "type":"structure",
      "members":{
        "version":{
          "shape":"String",
          "locationName":"Version"
        },
        "statement":{
          "shape":"PolicyStatements",
          "locationName":"Statement"
        }
      }
    },
    "SourceIp":{"type":"string"},
    "SourceVpc":{
      "type":"string",
      "pattern":"vpc-([0-9a-f]{8}|[0-9a-f]{17})"
    },
    "SourceVpce":{
      "type":"string",
      "pattern":"vpce-[a-z0-9]{8,20}"
    },
    "StatementId":{
      "type":"string",
      "pattern":"[A-Za-z0-9+/]{64}=?"
    },
    "String":{"type":"string"},
    "SubjectToken":{
      "type":"string",
      "max":20000,
      "min":4,
      "sensitive":true
    },
    "SubjectTokenType":{
      "type":"string",
      "pattern":"urn:ietf:params:oauth:token-type:.+"
    },
    "TargetId":{
      "type":"string",
      "max":32,
      "min":12,
      "pattern":"(\\d{12}|o-[a-z0-9]{10}|r-[0-9a-z]{4,32})"
    },
    "TokenDuration":{
      "type":"integer",
      "box":true,
      "min":300
    },
    "TokenExchangeGrantType":{
      "type":"string",
      "pattern":"urn:ietf:params:oauth:grant-type:token-exchange"
    },
    "TokenExpiresIn":{
      "type":"integer",
      "box":true,
      "max":3600,
      "min":1
    },
    "TokenType":{
      "type":"string",
      "pattern":"aws_sigv4"
    },
    "TokenTypeHint":{
      "type":"string",
      "pattern":"(access_token|refresh_token)"
    },
    "TooManyRequestsError":{
      "type":"structure",
      "required":[
        "error",
        "message"
      ],
      "members":{
        "error":{"shape":"OAuth2ErrorCode"},
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":429,
        "senderFault":true
      },
      "exception":true
    },
    "ValidationException":{
      "type":"structure",
      "required":[
        "error",
        "message"
      ],
      "members":{
        "error":{"shape":"OAuth2ErrorCode"},
        "message":{"shape":"String"}
      },
      "error":{
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "VpcSourceIp":{"type":"string"}
  }
}
