|
5 | 5 | "endpointPrefix":"oidc",
|
6 | 6 | "jsonVersion":"1.1",
|
7 | 7 | "protocol":"rest-json",
|
| 8 | + "protocols":["rest-json"], |
8 | 9 | "serviceAbbreviation":"SSO OIDC",
|
9 | 10 | "serviceFullName":"AWS SSO OIDC",
|
10 | 11 | "serviceId":"SSO OIDC",
|
|
59 | 60 | {"shape":"InternalServerException"},
|
60 | 61 | {"shape":"InvalidRequestRegionException"}
|
61 | 62 | ],
|
62 |
| - "documentation":"<p>Creates and returns access and refresh tokens for clients and applications that are authenticated using IAM entities. The access token can be used to fetch short-term credentials for the assigned AWS accounts or to access application APIs using <code>bearer</code> authentication.</p>" |
| 63 | + "documentation":"<p>Creates and returns access and refresh tokens for clients and applications that are authenticated using IAM entities. The access token can be used to fetch short-term credentials for the assigned Amazon Web Services accounts or to access application APIs using <code>bearer</code> authentication.</p>" |
63 | 64 | },
|
64 | 65 | "RegisterClient":{
|
65 | 66 | "name":"RegisterClient",
|
|
73 | 74 | {"shape":"InvalidRequestException"},
|
74 | 75 | {"shape":"InvalidScopeException"},
|
75 | 76 | {"shape":"InvalidClientMetadataException"},
|
76 |
| - {"shape":"InternalServerException"} |
| 77 | + {"shape":"InternalServerException"}, |
| 78 | + {"shape":"InvalidRedirectUriException"}, |
| 79 | + {"shape":"UnsupportedGrantTypeException"} |
77 | 80 | ],
|
78 | 81 | "documentation":"<p>Registers a client with IAM Identity Center. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.</p>",
|
79 | 82 | "authtype":"none"
|
|
118 | 121 | "type":"string",
|
119 | 122 | "sensitive":true
|
120 | 123 | },
|
| 124 | + "ArnType":{"type":"string"}, |
121 | 125 | "Assertion":{
|
122 | 126 | "type":"string",
|
123 | 127 | "sensitive":true
|
|
146 | 150 | "sensitive":true
|
147 | 151 | },
|
148 | 152 | "ClientType":{"type":"string"},
|
| 153 | + "CodeVerifier":{ |
| 154 | + "type":"string", |
| 155 | + "sensitive":true |
| 156 | + }, |
149 | 157 | "CreateTokenRequest":{
|
150 | 158 | "type":"structure",
|
151 | 159 | "required":[
|
|
185 | 193 | "redirectUri":{
|
186 | 194 | "shape":"URI",
|
187 | 195 | "documentation":"<p>Used only when calling this API for the Authorization Code grant type. This value specifies the location of the client or application that has registered to receive the authorization code.</p>"
|
| 196 | + }, |
| 197 | + "codeVerifier":{ |
| 198 | + "shape":"CodeVerifier", |
| 199 | + "documentation":"<p>Used only when calling this API for the Authorization Code grant type. This value is generated by the client and presented to validate the original code challenge value the client passed at authorization time.</p>" |
188 | 200 | }
|
189 | 201 | }
|
190 | 202 | },
|
|
193 | 205 | "members":{
|
194 | 206 | "accessToken":{
|
195 | 207 | "shape":"AccessToken",
|
196 |
| - "documentation":"<p>A bearer token to access AWS accounts and applications assigned to a user.</p>" |
| 208 | + "documentation":"<p>A bearer token to access Amazon Web Services accounts and applications assigned to a user.</p>" |
197 | 209 | },
|
198 | 210 | "tokenType":{
|
199 | 211 | "shape":"TokenType",
|
|
259 | 271 | "requestedTokenType":{
|
260 | 272 | "shape":"TokenTypeURI",
|
261 | 273 | "documentation":"<p>Used only when calling this API for the Token Exchange grant type. This value specifies the type of token that the requester can receive. The following values are supported:</p> <p>* Access Token - <code>urn:ietf:params:oauth:token-type:access_token</code> </p> <p>* Refresh Token - <code>urn:ietf:params:oauth:token-type:refresh_token</code> </p>"
|
| 274 | + }, |
| 275 | + "codeVerifier":{ |
| 276 | + "shape":"CodeVerifier", |
| 277 | + "documentation":"<p>Used only when calling this API for the Authorization Code grant type. This value is generated by the client and presented to validate the original code challenge value the client passed at authorization time.</p>" |
262 | 278 | }
|
263 | 279 | }
|
264 | 280 | },
|
|
267 | 283 | "members":{
|
268 | 284 | "accessToken":{
|
269 | 285 | "shape":"AccessToken",
|
270 |
| - "documentation":"<p>A bearer token to access AWS accounts and applications assigned to a user.</p>" |
| 286 | + "documentation":"<p>A bearer token to access Amazon Web Services accounts and applications assigned to a user.</p>" |
271 | 287 | },
|
272 | 288 | "tokenType":{
|
273 | 289 | "shape":"TokenType",
|
|
316 | 332 | "exception":true
|
317 | 333 | },
|
318 | 334 | "GrantType":{"type":"string"},
|
| 335 | + "GrantTypes":{ |
| 336 | + "type":"list", |
| 337 | + "member":{"shape":"GrantType"} |
| 338 | + }, |
319 | 339 | "IdToken":{
|
320 | 340 | "type":"string",
|
321 | 341 | "sensitive":true
|
|
386 | 406 | "error":{"httpStatusCode":400},
|
387 | 407 | "exception":true
|
388 | 408 | },
|
| 409 | + "InvalidRedirectUriException":{ |
| 410 | + "type":"structure", |
| 411 | + "members":{ |
| 412 | + "error":{ |
| 413 | + "shape":"Error", |
| 414 | + "documentation":"<p>Single error code. For this exception the value will be <code>invalid_redirect_uri</code>.</p>" |
| 415 | + }, |
| 416 | + "error_description":{ |
| 417 | + "shape":"ErrorDescription", |
| 418 | + "documentation":"<p>Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.</p>" |
| 419 | + } |
| 420 | + }, |
| 421 | + "documentation":"<p>Indicates that one or more redirect URI in the request is not supported for this operation.</p>", |
| 422 | + "error":{"httpStatusCode":400}, |
| 423 | + "exception":true |
| 424 | + }, |
389 | 425 | "InvalidRequestException":{
|
390 | 426 | "type":"structure",
|
391 | 427 | "members":{
|
|
444 | 480 | },
|
445 | 481 | "Location":{"type":"string"},
|
446 | 482 | "LongTimeStampType":{"type":"long"},
|
| 483 | + "RedirectUris":{ |
| 484 | + "type":"list", |
| 485 | + "member":{"shape":"URI"} |
| 486 | + }, |
447 | 487 | "RefreshToken":{
|
448 | 488 | "type":"string",
|
449 | 489 | "sensitive":true
|
|
467 | 507 | "scopes":{
|
468 | 508 | "shape":"Scopes",
|
469 | 509 | "documentation":"<p>The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.</p>"
|
| 510 | + }, |
| 511 | + "redirectUris":{ |
| 512 | + "shape":"RedirectUris", |
| 513 | + "documentation":"<p>The list of redirect URI that are defined by the client. At completion of authorization, this list is used to restrict what locations the user agent can be redirected back to.</p>" |
| 514 | + }, |
| 515 | + "grantTypes":{ |
| 516 | + "shape":"GrantTypes", |
| 517 | + "documentation":"<p>The list of OAuth 2.0 grant types that are defined by the client. This list is used to restrict the token granting flows available to the client.</p>" |
| 518 | + }, |
| 519 | + "issuerUrl":{ |
| 520 | + "shape":"URI", |
| 521 | + "documentation":"<p>The IAM Identity Center Issuer URL associated with an instance of IAM Identity Center. This value is needed for user access to resources through the client.</p>" |
| 522 | + }, |
| 523 | + "entitledApplicationArn":{ |
| 524 | + "shape":"ArnType", |
| 525 | + "documentation":"<p>This IAM Identity Center application ARN is used to define administrator-managed configuration for public client access to resources. At authorization, the scopes, grants, and redirect URI available to this client will be restricted by this application resource.</p>" |
470 | 526 | }
|
471 | 527 | }
|
472 | 528 | },
|
|
0 commit comments