Skip to content

Commit

Permalink
Publish v3.455.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Nov 20, 2023
1 parent 16c2343 commit 9cf0f6d
Show file tree
Hide file tree
Showing 17 changed files with 282 additions and 7 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.455.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.454.0...v3.455.0) (2023-11-20)


### Features

* **client-codestar-connections:** This release updates a few CodeStar Connections related APIs. ([6eb1bbf](https://github.com/aws/aws-sdk-js-v3/commit/6eb1bbf80591dd77d490bd5379dbe5957e3fc068))
* **client-docdb:** Amazon DocumentDB updates for new cluster storage configuration: Amazon DocumentDB I/O-Optimized. ([de29c92](https://github.com/aws/aws-sdk-js-v3/commit/de29c92150dd4f577632f1e5f303fd36611e6ef6))
* **client-ec2:** This release adds support for Security group referencing over Transit gateways, enabling you to simplify Security group management and control of instance-to-instance traffic across VPCs that are connected by Transit gateway. ([740d241](https://github.com/aws/aws-sdk-js-v3/commit/740d2418d9da9c6bac0f7dcc6bf1987fd7ced101))
* **clients:** update client endpoints as of 2023-11-20 ([16c2343](https://github.com/aws/aws-sdk-js-v3/commit/16c2343f1fc57a79103983fc1c1a1715dbbc1ea1))





# [3.454.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.453.0...v3.454.0) (2023-11-17)


Expand Down
2 changes: 1 addition & 1 deletion benchmark/size/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
|@aws-sdk/client-cognito-identity-provider|3.451.0|2.6 MB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)|
|@aws-sdk/client-cognito-sync|3.451.0|450.6 KB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)|
|@aws-sdk/client-dynamodb|3.451.0|1.7 MB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)|
|@aws-sdk/client-ec2|3.453.0|15.7 MB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)|
|@aws-sdk/client-ec2|3.454.0|15.7 MB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)|
|@aws-sdk/client-efs|3.451.0|788.1 KB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)|
|@aws-sdk/client-eventbridge|3.451.0|1.1 MB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)|
|@aws-sdk/client-firehose|3.451.0|535.4 KB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)|
Expand Down
11 changes: 11 additions & 0 deletions clients/client-codestar-connections/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.455.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.454.0...v3.455.0) (2023-11-20)


### Features

* **client-codestar-connections:** This release updates a few CodeStar Connections related APIs. ([6eb1bbf](https://github.com/aws/aws-sdk-js-v3/commit/6eb1bbf80591dd77d490bd5379dbe5957e3fc068))





# [3.454.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.453.0...v3.454.0) (2023-11-17)


Expand Down
2 changes: 1 addition & 1 deletion clients/client-codestar-connections/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aws-sdk/client-codestar-connections",
"description": "AWS SDK for JavaScript Codestar Connections Client for Node.js, Browser and React Native",
"version": "3.454.0",
"version": "3.455.0",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
Expand Down
11 changes: 11 additions & 0 deletions clients/client-docdb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.455.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.454.0...v3.455.0) (2023-11-20)


### Features

* **client-docdb:** Amazon DocumentDB updates for new cluster storage configuration: Amazon DocumentDB I/O-Optimized. ([de29c92](https://github.com/aws/aws-sdk-js-v3/commit/de29c92150dd4f577632f1e5f303fd36611e6ef6))





# [3.454.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.453.0...v3.454.0) (2023-11-17)

**Note:** Version bump only for package @aws-sdk/client-docdb
Expand Down
2 changes: 1 addition & 1 deletion clients/client-docdb/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aws-sdk/client-docdb",
"description": "AWS SDK for JavaScript Docdb Client for Node.js, Browser and React Native",
"version": "3.454.0",
"version": "3.455.0",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
Expand Down
11 changes: 11 additions & 0 deletions clients/client-ec2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.455.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.454.0...v3.455.0) (2023-11-20)


### Features

* **client-ec2:** This release adds support for Security group referencing over Transit gateways, enabling you to simplify Security group management and control of instance-to-instance traffic across VPCs that are connected by Transit gateway. ([740d241](https://github.com/aws/aws-sdk-js-v3/commit/740d2418d9da9c6bac0f7dcc6bf1987fd7ced101))





# [3.454.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.453.0...v3.454.0) (2023-11-17)


Expand Down
2 changes: 1 addition & 1 deletion clients/client-ec2/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aws-sdk/client-ec2",
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
"version": "3.454.0",
"version": "3.455.0",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
Expand Down
8 changes: 8 additions & 0 deletions clients/client-sso-oidc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.455.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.454.0...v3.455.0) (2023-11-20)

**Note:** Version bump only for package @aws-sdk/client-sso-oidc





# [3.454.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.453.0...v3.454.0) (2023-11-17)


Expand Down
2 changes: 1 addition & 1 deletion clients/client-sso-oidc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aws-sdk/client-sso-oidc",
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
"version": "3.454.0",
"version": "3.455.0",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
Expand Down
47 changes: 47 additions & 0 deletions clients/client-sso-oidc/src/commands/CreateTokenCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,53 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
* @throws {@link SSOOIDCServiceException}
* <p>Base exception class for all service exceptions from SSOOIDC service.</p>
*
* @example Call OAuth/OIDC /token endpoint for Device Code grant with Secret authentication
* ```javascript
* //
* const input = {
* "clientId": "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID",
* "clientSecret": "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0",
* "deviceCode": "yJraWQiOiJrZXktMTU2Njk2ODA4OCIsImFsZyI6IkhTMzIn0EXAMPLEDEVICECODE",
* "grantType": "urn:ietf:params:oauth:grant-type:device-code"
* };
* const command = new CreateTokenCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "accessToken": "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
* "expiresIn": 1579729529,
* "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
* "tokenType": "Bearer"
* }
* *\/
* // example id: create-token-for-device-code
* ```
*
* @example Call OAuth/OIDC /token endpoint for Refresh Token grant with Secret authentication
* ```javascript
* //
* const input = {
* "clientId": "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID",
* "clientSecret": "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0",
* "grantType": "refresh_token",
* "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
* "scope": [
* "codewhisperer:completions"
* ]
* };
* const command = new CreateTokenCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "accessToken": "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
* "expiresIn": 1579729529,
* "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
* "tokenType": "Bearer"
* }
* *\/
* // example id: create-token-for-refresh-token
* ```
*
*/
export class CreateTokenCommand extends $Command<
CreateTokenCommandInput,
Expand Down
118 changes: 118 additions & 0 deletions clients/client-sso-oidc/src/commands/CreateTokenWithIAMCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,124 @@ export interface CreateTokenWithIAMCommandOutput extends CreateTokenWithIAMRespo
* @throws {@link SSOOIDCServiceException}
* <p>Base exception class for all service exceptions from SSOOIDC service.</p>
*
* @example Call OAuth/OIDC /token endpoint for Authorization Code grant with IAM authentication
* ```javascript
* //
* const input = {
* "clientId": "arn:aws:sso::123456789012:application/ssoins-111111111111/apl-222222222222",
* "code": "yJraWQiOiJrZXktMTU2Njk2ODA4OCIsImFsZyI6IkhTMzg0In0EXAMPLEAUTHCODE",
* "grantType": "authorization_code",
* "redirectUri": "https://mywebapp.example/redirect",
* "scope": [
* "openid",
* "aws",
* "sts:identity_context"
* ]
* };
* const command = new CreateTokenWithIAMCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "accessToken": "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
* "expiresIn": 1579729529,
* "idToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhd3M6aWRlbnRpdHlfc3RvcmVfaWQiOiJkLTMzMzMzMzMzMzMiLCJzdWIiOiI3MzA0NDhmMi1lMGExLTcwYTctYzk1NC0wMDAwMDAwMDAwMDAiLCJhd3M6aW5zdGFuY2VfYWNjb3VudCI6IjExMTExMTExMTExMSIsInN0czppZGVudGl0eV9jb250ZXh0IjoiRVhBTVBMRUlERU5USVRZQ09OVEVYVCIsInN0czphdWRpdF9jb250ZXh0IjoiRVhBTVBMRUFVRElUQ09OVEVYVCIsImlzcyI6Imh0dHBzOi8vaWRlbnRpdHljZW50ZXIuYW1hem9uYXdzLmNvbS9zc29pbnMtMTExMTExMTExMTExIiwiYXdzOmlkZW50aXR5X3N0b3JlX2FybiI6ImFybjphd3M6aWRlbnRpdHlzdG9yZTo6MTExMTExMTExMTExOmlkZW50aXR5c3RvcmUvZC0zMzMzMzMzMzMzIiwiYXVkIjoiYXJuOmF3czpzc286OjEyMzQ1Njc4OTAxMjphcHBsaWNhdGlvbi9zc29pbnMtMTExMTExMTExMTExL2FwbC0yMjIyMjIyMjIyMjIiLCJhd3M6aW5zdGFuY2VfYXJuIjoiYXJuOmF3czpzc286OjppbnN0YW5jZS9zc29pbnMtMTExMTExMTExMTExIiwiYXdzOmNyZWRlbnRpYWxfaWQiOiJfWlIyTjZhVkJqMjdGUEtheWpfcEtwVjc3QVBERl80MXB4ZXRfWWpJdUpONlVJR2RBdkpFWEFNUExFQ1JFRElEIiwiYXV0aF90aW1lIjoiMjAyMC0wMS0yMlQxMjo0NToyOVoiLCJleHAiOjE1Nzk3Mjk1MjksImlhdCI6MTU3OTcyNTkyOX0.Xyah6qbk78qThzJ41iFU2yfGuRqqtKXHrJYwQ8L9Ip0",
* "issuedTokenType": "urn:ietf:params:oauth:token-type:refresh_token",
* "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
* "scope": [
* "openid",
* "aws",
* "sts:identity_context"
* ],
* "tokenType": "Bearer"
* }
* *\/
* // example id: create-token-with-iam-for-auth-code
* ```
*
* @example Call OAuth/OIDC /token endpoint for Refresh Token grant with IAM authentication
* ```javascript
* //
* const input = {
* "clientId": "arn:aws:sso::123456789012:application/ssoins-111111111111/apl-222222222222",
* "grantType": "refresh_token",
* "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN"
* };
* const command = new CreateTokenWithIAMCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "accessToken": "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
* "expiresIn": 1579729529,
* "issuedTokenType": "urn:ietf:params:oauth:token-type:refresh_token",
* "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
* "scope": [
* "openid",
* "aws",
* "sts:identity_context"
* ],
* "tokenType": "Bearer"
* }
* *\/
* // example id: create-token-with-iam-for-refresh-token
* ```
*
* @example Call OAuth/OIDC /token endpoint for JWT Bearer grant with IAM authentication
* ```javascript
* //
* const input = {
* "assertion": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjFMVE16YWtpaGlSbGFfOHoyQkVKVlhlV01xbyJ9.eyJ2ZXIiOiIyLjAiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vOTEyMjA0MGQtNmM2Ny00YzViLWIxMTItMzZhMzA0YjY2ZGFkL3YyLjAiLCJzdWIiOiJBQUFBQUFBQUFBQUFBQUFBQUFBQUFJa3pxRlZyU2FTYUZIeTc4MmJidGFRIiwiYXVkIjoiNmNiMDQwMTgtYTNmNS00NmE3LWI5OTUtOTQwYzc4ZjVhZWYzIiwiZXhwIjoxNTM2MzYxNDExLCJpYXQiOjE1MzYyNzQ3MTEsIm5iZiI6MTUzNjI3NDcxMSwibmFtZSI6IkFiZSBMaW5jb2xuIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiQWJlTGlAbWljcm9zb2Z0LmNvbSIsIm9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC02NmYzLTMzMzJlY2E3ZWE4MSIsInRpZCI6IjkxMjIwNDBkLTZjNjctNGM1Yi1iMTEyLTM2YTMwNGI2NmRhZCIsIm5vbmNlIjoiMTIzNTIzIiwiYWlvIjoiRGYyVVZYTDFpeCFsTUNXTVNPSkJjRmF0emNHZnZGR2hqS3Y4cTVnMHg3MzJkUjVNQjVCaXN2R1FPN1lXQnlqZDhpUURMcSFlR2JJRGFreXA1bW5PcmNkcUhlWVNubHRlcFFtUnA2QUlaOGpZIn0.1AFWW-Ck5nROwSlltm7GzZvDwUkqvhSQpm55TQsmVo9Y59cLhRXpvB8n-55HCr9Z6G_31_UbeUkoz612I2j_Sm9FFShSDDjoaLQr54CreGIJvjtmS3EkK9a7SJBbcpL1MpUtlfygow39tFjY7EVNW9plWUvRrTgVk7lYLprvfzw-CIqw3gHC-T7IK_m_xkr08INERBtaecwhTeN4chPC4W3jdmw_lIxzC48YoQ0dB1L9-ImX98Egypfrlbm0IBL5spFzL6JDZIRRJOu8vecJvj1mq-IUhGt0MacxX8jdxYLP-KUu2d9MbNKpCKJuZ7p8gwTL5B7NlUdh_dmSviPWrw",
* "clientId": "arn:aws:sso::123456789012:application/ssoins-111111111111/apl-222222222222",
* "grantType": "urn:ietf:params:oauth:grant-type:jwt-bearer"
* };
* const command = new CreateTokenWithIAMCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "accessToken": "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
* "expiresIn": 1579729529,
* "idToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhd3M6aWRlbnRpdHlfc3RvcmVfaWQiOiJkLTMzMzMzMzMzMzMiLCJzdWIiOiI3MzA0NDhmMi1lMGExLTcwYTctYzk1NC0wMDAwMDAwMDAwMDAiLCJhd3M6aW5zdGFuY2VfYWNjb3VudCI6IjExMTExMTExMTExMSIsInN0czppZGVudGl0eV9jb250ZXh0IjoiRVhBTVBMRUlERU5USVRZQ09OVEVYVCIsInN0czphdWRpdF9jb250ZXh0IjoiRVhBTVBMRUFVRElUQ09OVEVYVCIsImlzcyI6Imh0dHBzOi8vaWRlbnRpdHljZW50ZXIuYW1hem9uYXdzLmNvbS9zc29pbnMtMTExMTExMTExMTExIiwiYXdzOmlkZW50aXR5X3N0b3JlX2FybiI6ImFybjphd3M6aWRlbnRpdHlzdG9yZTo6MTExMTExMTExMTExOmlkZW50aXR5c3RvcmUvZC0zMzMzMzMzMzMzIiwiYXVkIjoiYXJuOmF3czpzc286OjEyMzQ1Njc4OTAxMjphcHBsaWNhdGlvbi9zc29pbnMtMTExMTExMTExMTExL2FwbC0yMjIyMjIyMjIyMjIiLCJhd3M6aW5zdGFuY2VfYXJuIjoiYXJuOmF3czpzc286OjppbnN0YW5jZS9zc29pbnMtMTExMTExMTExMTExIiwiYXdzOmNyZWRlbnRpYWxfaWQiOiJfWlIyTjZhVkJqMjdGUEtheWpfcEtwVjc3QVBERl80MXB4ZXRfWWpJdUpONlVJR2RBdkpFWEFNUExFQ1JFRElEIiwiYXV0aF90aW1lIjoiMjAyMC0wMS0yMlQxMjo0NToyOVoiLCJleHAiOjE1Nzk3Mjk1MjksImlhdCI6MTU3OTcyNTkyOX0.Xyah6qbk78qThzJ41iFU2yfGuRqqtKXHrJYwQ8L9Ip0",
* "issuedTokenType": "urn:ietf:params:oauth:token-type:refresh_token",
* "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
* "scope": [
* "openid",
* "aws",
* "sts:identity_context"
* ],
* "tokenType": "Bearer"
* }
* *\/
* // example id: create-token-with-iam-for-jwt-bearer
* ```
*
* @example Call OAuth/OIDC /token endpoint for Token Exchange grant with IAM authentication
* ```javascript
* //
* const input = {
* "clientId": "arn:aws:sso::123456789012:application/ssoins-111111111111/apl-222222222222",
* "grantType": "urn:ietf:params:oauth:grant-type:token-exchange",
* "requestedTokenType": "urn:ietf:params:oauth:token-type:access_token",
* "subjectToken": "aoak-Hig8TUDPNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZDIFFERENTACCESSTOKEN",
* "subjectTokenType": "urn:ietf:params:oauth:token-type:access_token"
* };
* const command = new CreateTokenWithIAMCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "accessToken": "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
* "expiresIn": 1579729529,
* "idToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhd3M6aWRlbnRpdHlfc3RvcmVfaWQiOiJkLTMzMzMzMzMzMzMiLCJzdWIiOiI3MzA0NDhmMi1lMGExLTcwYTctYzk1NC0wMDAwMDAwMDAwMDAiLCJhd3M6aW5zdGFuY2VfYWNjb3VudCI6IjExMTExMTExMTExMSIsInN0czppZGVudGl0eV9jb250ZXh0IjoiRVhBTVBMRUlERU5USVRZQ09OVEVYVCIsImlzcyI6Imh0dHBzOi8vaWRlbnRpdHljZW50ZXIuYW1hem9uYXdzLmNvbS9zc29pbnMtMTExMTExMTExMTExIiwiYXdzOmlkZW50aXR5X3N0b3JlX2FybiI6ImFybjphd3M6aWRlbnRpdHlzdG9yZTo6MTExMTExMTExMTExOmlkZW50aXR5c3RvcmUvZC0zMzMzMzMzMzMzIiwiYXVkIjoiYXJuOmF3czpzc286OjEyMzQ1Njc4OTAxMjphcHBsaWNhdGlvbi9zc29pbnMtMTExMTExMTExMTExL2FwbC0yMjIyMjIyMjIyMjIiLCJhd3M6aW5zdGFuY2VfYXJuIjoiYXJuOmF3czpzc286OjppbnN0YW5jZS9zc29pbnMtMTExMTExMTExMTExIiwiYXdzOmNyZWRlbnRpYWxfaWQiOiJfWlIyTjZhVkJqMjdGUEtheWpfcEtwVjc3QVBERl80MXB4ZXRfWWpJdUpONlVJR2RBdkpFWEFNUExFQ1JFRElEIiwiYXV0aF90aW1lIjoiMjAyMC0wMS0yMlQxMjo0NToyOVoiLCJleHAiOjE1Nzk3Mjk1MjksImlhdCI6MTU3OTcyNTkyOX0.5SYiW1kMsuUr7nna-l5tlakM0GNbMHvIM2_n0QD23jM",
* "issuedTokenType": "urn:ietf:params:oauth:token-type:access_token",
* "scope": [
* "openid",
* "aws",
* "sts:identity_context"
* ],
* "tokenType": "Bearer"
* }
* *\/
* // example id: create-token-with-iam-for-token-exchange
* ```
*
*/
export class CreateTokenWithIAMCommand extends $Command<
CreateTokenWithIAMCommandInput,
Expand Down
24 changes: 24 additions & 0 deletions clients/client-sso-oidc/src/commands/RegisterClientCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,30 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
* @throws {@link SSOOIDCServiceException}
* <p>Base exception class for all service exceptions from SSOOIDC service.</p>
*
* @example Call OAuth/OIDC /register-client endpoint
* ```javascript
* //
* const input = {
* "clientName": "My IDE Plugin",
* "clientType": "public",
* "scopes": [
* "sso:account:access",
* "codewhisperer:completions"
* ]
* };
* const command = new RegisterClientCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "clientId": "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID",
* "clientIdIssuedAt": 1579725929,
* "clientSecret": "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0",
* "clientSecretExpiresAt": 1587584729
* }
* *\/
* // example id: register-client
* ```
*
*/
export class RegisterClientCommand extends $Command<
RegisterClientCommandInput,
Expand Down
Loading

0 comments on commit 9cf0f6d

Please sign in to comment.