From fa8ecadb5a4e380aa77450a170bca25461379421 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 30 Aug 2023 18:43:23 +0000 Subject: [PATCH] Publish v3.403.0 --- CHANGELOG.md | 20 + benchmark/size/report.md | 2 +- clients/client-appflow/CHANGELOG.md | 11 + clients/client-appflow/package.json | 2 +- clients/client-apprunner/CHANGELOG.md | 11 + clients/client-apprunner/package.json | 2 +- clients/client-auditmanager/CHANGELOG.md | 11 + clients/client-auditmanager/package.json | 2 +- clients/client-cleanrooms/CHANGELOG.md | 11 + clients/client-cleanrooms/package.json | 2 +- .../CHANGELOG.md | 8 + .../package.json | 2 +- .../src/commands/AdminCreateUserCommand.ts | 60 +++ .../commands/CreateUserPoolClientCommand.ts | 128 +++++ .../src/commands/CreateUserPoolCommand.ts | 456 ++++++++++++++++++ .../src/commands/InitiateAuthCommand.ts | 37 ++ .../src/commands/ListUsersCommand.ts | 76 +++ clients/client-datasync/CHANGELOG.md | 11 + clients/client-datasync/package.json | 2 +- clients/client-neptunedata/CHANGELOG.md | 11 + clients/client-neptunedata/package.json | 2 +- clients/client-network-firewall/CHANGELOG.md | 11 + clients/client-network-firewall/package.json | 2 +- clients/client-pca-connector-ad/CHANGELOG.md | 11 + clients/client-pca-connector-ad/package.json | 2 +- clients/client-sagemaker/CHANGELOG.md | 11 + clients/client-sagemaker/package.json | 2 +- clients/client-sesv2/CHANGELOG.md | 8 + clients/client-sesv2/package.json | 2 +- .../src/commands/CancelExportJobCommand.ts | 11 + .../src/commands/CreateExportJobCommand.ts | 78 +++ .../src/commands/GetExportJobCommand.ts | 52 ++ .../src/commands/GetMessageInsightsCommand.ts | 60 +++ .../src/commands/ListExportJobsCommand.ts | 25 + lerna.json | 2 +- private/aws-middleware-test/CHANGELOG.md | 8 + private/aws-middleware-test/package.json | 2 +- 37 files changed, 1140 insertions(+), 14 deletions(-) create mode 100644 clients/client-neptunedata/CHANGELOG.md create mode 100644 clients/client-pca-connector-ad/CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 506d9eb34152..0bfd179f5adb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,26 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + + +### Features + +* **client-appflow:** Add SAP source connector parallel and pagination feature ([6205b2c](https://github.com/aws/aws-sdk-js-v3/commit/6205b2c41430c75bf19eff7e8b2ebffa6a0bc683)) +* **client-apprunner:** App Runner adds support for Bitbucket. You can now create App Runner connection that connects to your Bitbucket repositories and deploy App Runner service with the source code stored in a Bitbucket repository. ([d0e2044](https://github.com/aws/aws-sdk-js-v3/commit/d0e2044eb7971e951c5d8b08cb3494b6feeb235b)) +* **client-auditmanager:** This release marks some assessment metadata as sensitive. We added a sensitive trait to the following attributes: assessmentName, emailAddress, scope, createdBy, lastUpdatedBy, and userName. ([c785bbe](https://github.com/aws/aws-sdk-js-v3/commit/c785bbe85cc936c5bbd2c4e9d1dc00b0c3a1f120)) +* **client-cleanrooms:** This release decouples member abilities in a collaboration. With this change, the member who can run queries no longer needs to be the same as the member who can receive results. ([915b7c9](https://github.com/aws/aws-sdk-js-v3/commit/915b7c97fad83bbc3a22e22758f16290ff662db4)) +* **client-datasync:** AWS DataSync introduces Task Reports, a new feature that provides detailed reports of data transfer operations for each task execution. ([4ca461a](https://github.com/aws/aws-sdk-js-v3/commit/4ca461a66d828778a0fc661787fe1452379a3194)) +* **client-neptunedata:** Allows customers to execute data plane actions like bulk loading graphs, issuing graph queries using Gremlin and openCypher directly from the SDK. ([61abba3](https://github.com/aws/aws-sdk-js-v3/commit/61abba3e8e753c3031432e6e717d237bea13958c)) +* **client-network-firewall:** Network Firewall increasing pagination token string length ([bcaac0b](https://github.com/aws/aws-sdk-js-v3/commit/bcaac0bb1b15dea7e3b0bed434bdeeeaff43a6b5)) +* **client-pca-connector-ad:** The Connector for AD allows you to use a fully-managed AWS Private CA as a drop-in replacement for your self-managed enterprise CAs without local agents or proxy servers. Enterprises that use AD to manage Windows environments can reduce their private certificate authority (CA) costs and complexity. ([f6c8094](https://github.com/aws/aws-sdk-js-v3/commit/f6c8094236e32b4871e476959888d7ae5ffa2092)) +* **client-sagemaker:** Amazon SageMaker Canvas adds IdentityProviderOAuthSettings support for CanvasAppSettings ([6d84166](https://github.com/aws/aws-sdk-js-v3/commit/6d841668d3d1e12a59223097ff869c40bf4efccf)) +* **clients:** update client endpoints as of 2023-08-30 ([36c8ce9](https://github.com/aws/aws-sdk-js-v3/commit/36c8ce9fba71e691cdd6ac4967ccaf8fb2d75028)) + + + + + # [3.402.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.401.0...v3.402.0) (2023-08-29) diff --git a/benchmark/size/report.md b/benchmark/size/report.md index f1d70229a9f1..02387e825cb9 100644 --- a/benchmark/size/report.md +++ b/benchmark/size/report.md @@ -14,7 +14,7 @@ |@aws-sdk/client-codedeploy|3.395.0|1.3 MB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)| |@aws-sdk/client-codepipeline|3.395.0|920.8 KB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)| |@aws-sdk/client-cognito-identity|3.397.0|508 KB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)| -|@aws-sdk/client-cognito-identity-provider|3.398.0|2.5 MB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)| +|@aws-sdk/client-cognito-identity-provider|3.402.0|2.5 MB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)| |@aws-sdk/client-cognito-sync|3.395.0|439.9 KB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)| |@aws-sdk/client-dynamodb|3.395.0|1.7 MB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)| |@aws-sdk/client-ec2|3.398.0|15 MB|✅(5.88.2)|✅(3.26.3)|✅(0.18.15)| diff --git a/clients/client-appflow/CHANGELOG.md b/clients/client-appflow/CHANGELOG.md index 28c6228924f4..2350e5b30866 100644 --- a/clients/client-appflow/CHANGELOG.md +++ b/clients/client-appflow/CHANGELOG.md @@ -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.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + + +### Features + +* **client-appflow:** Add SAP source connector parallel and pagination feature ([6205b2c](https://github.com/aws/aws-sdk-js-v3/commit/6205b2c41430c75bf19eff7e8b2ebffa6a0bc683)) + + + + + # [3.398.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.397.0...v3.398.0) (2023-08-23) **Note:** Version bump only for package @aws-sdk/client-appflow diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index 056ebaf8b663..8d76195b9884 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-appflow", "description": "AWS SDK for JavaScript Appflow Client for Node.js, Browser and React Native", - "version": "3.398.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-apprunner/CHANGELOG.md b/clients/client-apprunner/CHANGELOG.md index e033e4726d11..c3ceece3b3dd 100644 --- a/clients/client-apprunner/CHANGELOG.md +++ b/clients/client-apprunner/CHANGELOG.md @@ -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.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + + +### Features + +* **client-apprunner:** App Runner adds support for Bitbucket. You can now create App Runner connection that connects to your Bitbucket repositories and deploy App Runner service with the source code stored in a Bitbucket repository. ([d0e2044](https://github.com/aws/aws-sdk-js-v3/commit/d0e2044eb7971e951c5d8b08cb3494b6feeb235b)) + + + + + # [3.398.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.397.0...v3.398.0) (2023-08-23) **Note:** Version bump only for package @aws-sdk/client-apprunner diff --git a/clients/client-apprunner/package.json b/clients/client-apprunner/package.json index 70bd837cc7a1..520f7689c097 100644 --- a/clients/client-apprunner/package.json +++ b/clients/client-apprunner/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-apprunner", "description": "AWS SDK for JavaScript Apprunner Client for Node.js, Browser and React Native", - "version": "3.398.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-auditmanager/CHANGELOG.md b/clients/client-auditmanager/CHANGELOG.md index 6a932d9eedbd..543d16685fe7 100644 --- a/clients/client-auditmanager/CHANGELOG.md +++ b/clients/client-auditmanager/CHANGELOG.md @@ -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.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + + +### Features + +* **client-auditmanager:** This release marks some assessment metadata as sensitive. We added a sensitive trait to the following attributes: assessmentName, emailAddress, scope, createdBy, lastUpdatedBy, and userName. ([c785bbe](https://github.com/aws/aws-sdk-js-v3/commit/c785bbe85cc936c5bbd2c4e9d1dc00b0c3a1f120)) + + + + + # [3.398.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.397.0...v3.398.0) (2023-08-23) **Note:** Version bump only for package @aws-sdk/client-auditmanager diff --git a/clients/client-auditmanager/package.json b/clients/client-auditmanager/package.json index 8428ef0212b6..41ee8ec4618b 100644 --- a/clients/client-auditmanager/package.json +++ b/clients/client-auditmanager/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-auditmanager", "description": "AWS SDK for JavaScript Auditmanager Client for Node.js, Browser and React Native", - "version": "3.398.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-cleanrooms/CHANGELOG.md b/clients/client-cleanrooms/CHANGELOG.md index 6bb9dc0553b9..389e71e7b67d 100644 --- a/clients/client-cleanrooms/CHANGELOG.md +++ b/clients/client-cleanrooms/CHANGELOG.md @@ -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.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + + +### Features + +* **client-cleanrooms:** This release decouples member abilities in a collaboration. With this change, the member who can run queries no longer needs to be the same as the member who can receive results. ([915b7c9](https://github.com/aws/aws-sdk-js-v3/commit/915b7c97fad83bbc3a22e22758f16290ff662db4)) + + + + + # [3.398.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.397.0...v3.398.0) (2023-08-23) **Note:** Version bump only for package @aws-sdk/client-cleanrooms diff --git a/clients/client-cleanrooms/package.json b/clients/client-cleanrooms/package.json index 6fdf0852356f..0b885971bc75 100644 --- a/clients/client-cleanrooms/package.json +++ b/clients/client-cleanrooms/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-cleanrooms", "description": "AWS SDK for JavaScript Cleanrooms Client for Node.js, Browser and React Native", - "version": "3.398.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-cognito-identity-provider/CHANGELOG.md b/clients/client-cognito-identity-provider/CHANGELOG.md index bccc5f3798bd..0b50f88459ef 100644 --- a/clients/client-cognito-identity-provider/CHANGELOG.md +++ b/clients/client-cognito-identity-provider/CHANGELOG.md @@ -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.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + +**Note:** Version bump only for package @aws-sdk/client-cognito-identity-provider + + + + + # [3.402.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.401.0...v3.402.0) (2023-08-29) diff --git a/clients/client-cognito-identity-provider/package.json b/clients/client-cognito-identity-provider/package.json index 18eea807aa13..5757c153782f 100644 --- a/clients/client-cognito-identity-provider/package.json +++ b/clients/client-cognito-identity-provider/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-cognito-identity-provider", "description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native", - "version": "3.402.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-cognito-identity-provider/src/commands/AdminCreateUserCommand.ts b/clients/client-cognito-identity-provider/src/commands/AdminCreateUserCommand.ts index b32c4353bd48..ed12a481e472 100644 --- a/clients/client-cognito-identity-provider/src/commands/AdminCreateUserCommand.ts +++ b/clients/client-cognito-identity-provider/src/commands/AdminCreateUserCommand.ts @@ -218,6 +218,66 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _ * @throws {@link CognitoIdentityProviderServiceException} *

Base exception class for all service exceptions from CognitoIdentityProvider service.

* + * @example An AdminCreateUser request for for a test user named John. + * ```javascript + * // This request submits a value for all possible parameters for AdminCreateUser. + * const input = { + * "DesiredDeliveryMediums": [ + * "SMS" + * ], + * "MessageAction": "SUPPRESS", + * "TemporaryPassword": "This-is-my-test-99!", + * "UserAttributes": [ + * { + * "Name": "name", + * "Value": "John" + * }, + * { + * "Name": "phone_number", + * "Value": "+12065551212" + * }, + * { + * "Name": "email", + * "Value": "testuser@example.com" + * } + * ], + * "UserPoolId": "us-east-1_EXAMPLE", + * "Username": "testuser" + * }; + * const command = new AdminCreateUserCommand(input); + * const response = await client.send(command); + * /* response == + * { + * "User": { + * "Attributes": [ + * { + * "Name": "sub", + * "Value": "d16b4aa8-8633-4abd-93b3-5062a8e1b5f8" + * }, + * { + * "Name": "name", + * "Value": "John" + * }, + * { + * "Name": "phone_number", + * "Value": "+12065551212" + * }, + * { + * "Name": "email", + * "Value": "testuser@example.com" + * } + * ], + * "Enabled": true, + * "UserCreateDate": 1689980857.949, + * "UserLastModifiedDate": 1689980857.949, + * "UserStatus": "FORCE_CHANGE_PASSWORD", + * "Username": "testuser" + * } + * } + * *\/ + * // example id: an-admincreateuser-request-for-for-a-test-user-named-john-1689980900481 + * ``` + * */ export class AdminCreateUserCommand extends $Command< AdminCreateUserCommandInput, diff --git a/clients/client-cognito-identity-provider/src/commands/CreateUserPoolClientCommand.ts b/clients/client-cognito-identity-provider/src/commands/CreateUserPoolClientCommand.ts index 9e917fe9e0ed..300484dc7531 100644 --- a/clients/client-cognito-identity-provider/src/commands/CreateUserPoolClientCommand.ts +++ b/clients/client-cognito-identity-provider/src/commands/CreateUserPoolClientCommand.ts @@ -224,6 +224,134 @@ export interface CreateUserPoolClientCommandOutput extends CreateUserPoolClientR * @throws {@link CognitoIdentityProviderServiceException} *

Base exception class for all service exceptions from CognitoIdentityProvider service.

* + * @example Example user pool app client with email and username sign-in + * ```javascript + * // The following example creates an app client with all configurable properties set to an example value. The resulting user pool client connects to an analytics client, allows sign-in with username and password, and has two external identity providers associated with it. + * const input = { + * "AccessTokenValidity": 6, + * "AllowedOAuthFlows": [ + * "code" + * ], + * "AllowedOAuthFlowsUserPoolClient": true, + * "AllowedOAuthScopes": [ + * "aws.cognito.signin.user.admin", + * "openid" + * ], + * "AnalyticsConfiguration": { + * "ApplicationId": "d70b2ba36a8c4dc5a04a0451a31a1e12", + * "ExternalId": "my-external-id", + * "RoleArn": "arn:aws:iam::123456789012:role/test-cognitouserpool-role", + * "UserDataShared": true + * }, + * "CallbackURLs": [ + * "https://example.com", + * "http://localhost", + * "myapp://example" + * ], + * "ClientName": "my-test-app-client", + * "DefaultRedirectURI": "https://example.com", + * "ExplicitAuthFlows": [ + * "ALLOW_ADMIN_USER_PASSWORD_AUTH", + * "ALLOW_USER_PASSWORD_AUTH", + * "ALLOW_REFRESH_TOKEN_AUTH" + * ], + * "GenerateSecret": true, + * "IdTokenValidity": 6, + * "LogoutURLs": [ + * "https://example.com/logout" + * ], + * "PreventUserExistenceErrors": "ENABLED", + * "ReadAttributes": [ + * "email", + * "address", + * "preferred_username" + * ], + * "RefreshTokenValidity": 6, + * "SupportedIdentityProviders": [ + * "SignInWithApple", + * "MySSO" + * ], + * "TokenValidityUnits": { + * "AccessToken": "hours", + * "IdToken": "minutes", + * "RefreshToken": "days" + * }, + * "UserPoolId": "us-east-1_EXAMPLE", + * "WriteAttributes": [ + * "family_name", + * "email" + * ] + * }; + * const command = new CreateUserPoolClientCommand(input); + * const response = await client.send(command); + * /* response == + * { + * "UserPoolClient": { + * "AccessTokenValidity": 6, + * "AllowedOAuthFlows": [ + * "code" + * ], + * "AllowedOAuthFlowsUserPoolClient": true, + * "AllowedOAuthScopes": [ + * "aws.cognito.signin.user.admin", + * "openid" + * ], + * "AnalyticsConfiguration": { + * "ApplicationId": "d70b2ba36a8c4dc5a04a0451a31a1e12", + * "ExternalId": "my-external-id", + * "RoleArn": "arn:aws:iam::123456789012:role/test-cognitouserpool-role", + * "UserDataShared": true + * }, + * "AuthSessionValidity": 3, + * "CallbackURLs": [ + * "https://example.com", + * "http://localhost", + * "myapp://example" + * ], + * "ClientId": "26cb2c60kq7nbmas7rbme9b6pp", + * "ClientName": "my-test-app-client", + * "ClientSecret": "13ka4h7u28d9oo44tqpq9djqsfvhvu8rk4d2ighvpu0k8fj1c2r9", + * "CreationDate": 1689885426.107, + * "DefaultRedirectURI": "https://example.com", + * "EnablePropagateAdditionalUserContextData": false, + * "EnableTokenRevocation": true, + * "ExplicitAuthFlows": [ + * "ALLOW_USER_PASSWORD_AUTH", + * "ALLOW_ADMIN_USER_PASSWORD_AUTH", + * "ALLOW_REFRESH_TOKEN_AUTH" + * ], + * "IdTokenValidity": 6, + * "LastModifiedDate": 1689885426.107, + * "LogoutURLs": [ + * "https://example.com/logout" + * ], + * "PreventUserExistenceErrors": "ENABLED", + * "ReadAttributes": [ + * "address", + * "preferred_username", + * "email" + * ], + * "RefreshTokenValidity": 6, + * "SupportedIdentityProviders": [ + * "SignInWithApple", + * "MySSO" + * ], + * "TokenValidityUnits": { + * "AccessToken": "hours", + * "IdToken": "minutes", + * "RefreshToken": "days" + * }, + * "UserPoolId": "us-east-1_EXAMPLE", + * "WriteAttributes": [ + * "family_name", + * "email" + * ] + * } + * } + * *\/ + * // example id: example-user-pool-app-client-with-email-and-username-sign-in-1689885750745 + * ``` + * */ export class CreateUserPoolClientCommand extends $Command< CreateUserPoolClientCommandInput, diff --git a/clients/client-cognito-identity-provider/src/commands/CreateUserPoolCommand.ts b/clients/client-cognito-identity-provider/src/commands/CreateUserPoolCommand.ts index 2be4c189a044..bc830b251be7 100644 --- a/clients/client-cognito-identity-provider/src/commands/CreateUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/src/commands/CreateUserPoolCommand.ts @@ -392,6 +392,462 @@ export interface CreateUserPoolCommandOutput extends CreateUserPoolResponse, __M * @throws {@link CognitoIdentityProviderServiceException} *

Base exception class for all service exceptions from CognitoIdentityProvider service.

* + * @example Example user pool with email and username sign-in + * ```javascript + * // The following example creates a user pool with all configurable properties set to an example value. The resulting user pool allows sign-in with username or email address, has optional MFA, and has a Lambda function assigned to each possible trigger. + * const input = { + * "AccountRecoverySetting": { + * "RecoveryMechanisms": [ + * { + * "Name": "verified_email", + * "Priority": 1 + * } + * ] + * }, + * "AdminCreateUserConfig": { + * "AllowAdminCreateUserOnly": false, + * "InviteMessageTemplate": { + * "EmailMessage": "Your username is {username} and temporary password is {####}.", + * "EmailSubject": "Your sign-in information", + * "SMSMessage": "Your username is {username} and temporary password is {####}." + * } + * }, + * "AliasAttributes": [ + * "email" + * ], + * "AutoVerifiedAttributes": [ + * "email" + * ], + * "DeletionProtection": "ACTIVE", + * "DeviceConfiguration": { + * "ChallengeRequiredOnNewDevice": true, + * "DeviceOnlyRememberedOnUserPrompt": true + * }, + * "EmailConfiguration": { + * "ConfigurationSet": "my-test-ses-configuration-set", + * "EmailSendingAccount": "DEVELOPER", + * "From": "support@example.com", + * "ReplyToEmailAddress": "support@example.com", + * "SourceArn": "arn:aws:ses:us-east-1:123456789012:identity/support@example.com" + * }, + * "EmailVerificationMessage": "Your verification code is {####}.", + * "EmailVerificationSubject": "Verify your email address", + * "LambdaConfig": { + * "CustomEmailSender": { + * "LambdaArn": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "LambdaVersion": "V1_0" + * }, + * "CustomMessage": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "CustomSMSSender": { + * "LambdaArn": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "LambdaVersion": "V1_0" + * }, + * "DefineAuthChallenge": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "KMSKeyID": "arn:aws:kms:us-east-1:123456789012:key/a6c4f8e2-0c45-47db-925f-87854bc9e357", + * "PostAuthentication": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "PostConfirmation": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "PreAuthentication": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "PreSignUp": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "PreTokenGeneration": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "UserMigration": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "VerifyAuthChallengeResponse": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction" + * }, + * "MfaConfiguration": "OPTIONAL", + * "Policies": { + * "PasswordPolicy": { + * "MinimumLength": 6, + * "RequireLowercase": true, + * "RequireNumbers": true, + * "RequireSymbols": true, + * "RequireUppercase": true, + * "TemporaryPasswordValidityDays": 7 + * } + * }, + * "PoolName": "my-test-user-pool", + * "Schema": [ + * { + * "AttributeDataType": "Number", + * "DeveloperOnlyAttribute": true, + * "Mutable": true, + * "Name": "mydev", + * "NumberAttributeConstraints": { + * "MaxValue": "99", + * "MinValue": "1" + * }, + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "99", + * "MinLength": "1" + * } + * } + * ], + * "SmsAuthenticationMessage": "Your verification code is {####}.", + * "SmsConfiguration": { + * "ExternalId": "my-role-external-id", + * "SnsCallerArn": "arn:aws:iam::123456789012:role/service-role/test-cognito-SMS-Role" + * }, + * "SmsVerificationMessage": "Your verification code is {####}.", + * "UserAttributeUpdateSettings": { + * "AttributesRequireVerificationBeforeUpdate": [ + * "email" + * ] + * }, + * "UserPoolAddOns": { + * "AdvancedSecurityMode": "OFF" + * }, + * "UserPoolTags": { + * "my-test-tag-key": "my-test-tag-key" + * }, + * "UsernameConfiguration": { + * "CaseSensitive": true + * }, + * "VerificationMessageTemplate": { + * "DefaultEmailOption": "CONFIRM_WITH_CODE", + * "EmailMessage": "Your confirmation code is {####}", + * "EmailMessageByLink": "Choose this link to {##verify your email##}", + * "EmailSubject": "Here is your confirmation code", + * "EmailSubjectByLink": "Here is your confirmation link", + * "SmsMessage": "Your confirmation code is {####}" + * } + * }; + * const command = new CreateUserPoolCommand(input); + * const response = await client.send(command); + * /* response == + * { + * "UserPool": { + * "AccountRecoverySetting": { + * "RecoveryMechanisms": [ + * { + * "Name": "verified_email", + * "Priority": 1 + * } + * ] + * }, + * "AdminCreateUserConfig": { + * "AllowAdminCreateUserOnly": false, + * "InviteMessageTemplate": { + * "EmailMessage": "Your username is {username} and temporary password is {####}.", + * "EmailSubject": "Your sign-in information", + * "SMSMessage": "Your username is {username} and temporary password is {####}." + * }, + * "UnusedAccountValidityDays": 7 + * }, + * "AliasAttributes": [ + * "email" + * ], + * "Arn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_EXAMPLE", + * "AutoVerifiedAttributes": [ + * "email" + * ], + * "CreationDate": 1689721665.239, + * "DeletionProtection": "ACTIVE", + * "DeviceConfiguration": { + * "ChallengeRequiredOnNewDevice": true, + * "DeviceOnlyRememberedOnUserPrompt": true + * }, + * "EmailConfiguration": { + * "ConfigurationSet": "my-test-ses-configuration-set", + * "EmailSendingAccount": "DEVELOPER", + * "From": "support@example.com", + * "ReplyToEmailAddress": "support@example.com", + * "SourceArn": "arn:aws:ses:us-east-1:123456789012:identity/support@example.com" + * }, + * "EmailVerificationMessage": "Your verification code is {####}.", + * "EmailVerificationSubject": "Verify your email address", + * "EstimatedNumberOfUsers": 0, + * "Id": "us-east-1_EXAMPLE", + * "LambdaConfig": { + * "CustomEmailSender": { + * "LambdaArn": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "LambdaVersion": "V1_0" + * }, + * "CustomMessage": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "CustomSMSSender": { + * "LambdaArn": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "LambdaVersion": "V1_0" + * }, + * "DefineAuthChallenge": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "KMSKeyID": "arn:aws:kms:us-east-1:767671399759:key/4d43904c-8edf-4bb4-9fca-fb1a80e41cbe", + * "PostAuthentication": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "PostConfirmation": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "PreAuthentication": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "PreSignUp": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "PreTokenGeneration": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "UserMigration": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + * "VerifyAuthChallengeResponse": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction" + * }, + * "LastModifiedDate": 1689721665.239, + * "MfaConfiguration": "OPTIONAL", + * "Name": "my-test-user-pool", + * "Policies": { + * "PasswordPolicy": { + * "MinimumLength": 6, + * "RequireLowercase": true, + * "RequireNumbers": true, + * "RequireSymbols": true, + * "RequireUppercase": true, + * "TemporaryPasswordValidityDays": 7 + * } + * }, + * "SchemaAttributes": [ + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": false, + * "Name": "sub", + * "Required": true, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "1" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "name", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "given_name", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "family_name", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "middle_name", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "nickname", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "preferred_username", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "profile", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "picture", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "website", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "email", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "Boolean", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "email_verified", + * "Required": false + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "gender", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "birthdate", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "10", + * "MinLength": "10" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "zoneinfo", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "locale", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "phone_number", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "Boolean", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "phone_number_verifie", + * "Required": false + * }, + * { + * "AttributeDataType": "String", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "address", + * "Required": false, + * "StringAttributeConstraints": { + * "MaxLength": "2048", + * "MinLength": "0" + * } + * }, + * { + * "AttributeDataType": "Number", + * "DeveloperOnlyAttribute": false, + * "Mutable": true, + * "Name": "updated_at", + * "NumberAttributeConstraints": { + * "MinValue": "0" + * }, + * "Required": false + * }, + * { + * "AttributeDataType": "Number", + * "DeveloperOnlyAttribute": true, + * "Mutable": true, + * "Name": "dev:custom:mydev", + * "NumberAttributeConstraints": { + * "MaxValue": "99", + * "MinValue": "1" + * }, + * "Required": false + * } + * ], + * "SmsAuthenticationMessage": "Your verification code is {####}.", + * "SmsConfiguration": { + * "ExternalId": "my-role-external-id", + * "SnsCallerArn": "arn:aws:iam::123456789012:role/service-role/test-cognito-SMS-Role", + * "SnsRegion": "us-east-1" + * }, + * "SmsVerificationMessage": "Your verification code is {####}.", + * "UserAttributeUpdateSettings": { + * "AttributesRequireVerificationBeforeUpdate": [ + * "email" + * ] + * }, + * "UserPoolAddOns": { + * "AdvancedSecurityMode": "OFF" + * }, + * "UserPoolTags": { + * "my-test-tag-key": "my-test-tag-value" + * }, + * "UsernameConfiguration": { + * "CaseSensitive": true + * }, + * "VerificationMessageTemplate": { + * "DefaultEmailOption": "CONFIRM_WITH_CODE", + * "EmailMessage": "Your confirmation code is {####}", + * "EmailMessageByLink": "Choose this link to {##verify your email##}", + * "EmailSubject": "Here is your confirmation code", + * "EmailSubjectByLink": "Here is your confirmation link", + * "SmsMessage": "Your confirmation code is {####}" + * } + * } + * } + * *\/ + * // example id: example-user-pool-with-email-and-username-sign-in-1689722835145 + * ``` + * */ export class CreateUserPoolCommand extends $Command< CreateUserPoolCommandInput, diff --git a/clients/client-cognito-identity-provider/src/commands/InitiateAuthCommand.ts b/clients/client-cognito-identity-provider/src/commands/InitiateAuthCommand.ts index 8a39e012e70a..b63fd37e4c94 100644 --- a/clients/client-cognito-identity-provider/src/commands/InitiateAuthCommand.ts +++ b/clients/client-cognito-identity-provider/src/commands/InitiateAuthCommand.ts @@ -180,6 +180,43 @@ export interface InitiateAuthCommandOutput extends InitiateAuthResponse, __Metad * @throws {@link CognitoIdentityProviderServiceException} *

Base exception class for all service exceptions from CognitoIdentityProvider service.

* + * @example Example username and password sign-in for a user who has TOTP MFA + * ```javascript + * // The following example signs in the user mytestuser with analytics data, client metadata, and user context data for advanced security. + * const input = { + * "AnalyticsMetadata": { + * "AnalyticsEndpointId": "d70b2ba36a8c4dc5a04a0451a31a1e12" + * }, + * "AuthFlow": "USER_PASSWORD_AUTH", + * "AuthParameters": { + * "PASSWORD": "This-is-my-test-99!", + * "SECRET_HASH": "oT5ZkS8ctnrhYeeGsGTvOzPhoc/Jd1cO5fueBWFVmp8=", + * "USERNAME": "mytestuser" + * }, + * "ClientId": "1example23456789", + * "ClientMetadata": { + * "MyTestKey": "MyTestValue" + * }, + * "UserContextData": { + * "EncodedData": "AmazonCognitoAdvancedSecurityData_object", + * "IpAddress": "192.0.2.1" + * } + * }; + * const command = new InitiateAuthCommand(input); + * const response = await client.send(command); + * /* response == + * { + * "ChallengeName": "SOFTWARE_TOKEN_MFA", + * "ChallengeParameters": { + * "FRIENDLY_DEVICE_NAME": "mytestauthenticator", + * "USER_ID_FOR_SRP": "mytestuser" + * }, + * "Session": "AYABeC1-y8qooiuysEv0uM4wAqQAHQABAAdTZXJ2aWNlABBDb2duaXRvVXNlclBvb2xzAAEAB2F3cy1rbXMAS2Fybjphd3M6a21zOnVzLXdlc3QtMjowMTU3MzY3MjcxOTg6a2V5LzI5OTFhNGE5LTM5YTAtNDQ0Mi04MWU4LWRkYjY4NTllMTg2MQC4AQIBAHhjxv5lVLhE2_WNrC1zuomqn08qDUUp3z9v4EGAjazZ-wGP3HuBF5Izvxf-9WkCT5uyAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMeQoT5e6Dpfh52caqAgEQgDvuL8uLMhPt0WmQpZnkNED1gob6xbqt5LaQo_H4L5CuT4Kj499dGCoZ1q1trmlZSRgRm0wwGGG8lFU37QIAAAAADAAAEAAAAAAAAAAAAAAAAADuLe9_UJ4oZAMsQYr0ntiT_____wAAAAEAAAAAAAAAAAAAAAEAAADnLDGmKBQtsCafNokRmPLgl2itBKuKR2dfZBQb5ucCYkzThM5HOfQUSEL-A3dZzfYDC0IODsrcMkrbeeVyMJk-FCzsxS9Og8BEBVnvi9WjZkPJ4mF0YS6FUXnoPSBV5oUqGzRaT-tJ169SUFZAUfFM1fGeJ8T57-QdCxjyISRCWV1VG5_7TiCioyRGfWwzNVWh7exJortF3ccfOyiEyxeqJ2VJvJq3m_w8NP24_PMDpktpRMKftObIMlD5ewRTNCdrUXQ1BW5KIxhJLGjYfRzJDZuKzmEgS-VHsKz0z76w-AlAgdfvdAjflLnsgduU5kUX4YP6jqnetg" + * } + * *\/ + * // example id: example-username-and-password-sign-in-for-a-user-who-has-totp-mfa-1689887395219 + * ``` + * */ export class InitiateAuthCommand extends $Command< InitiateAuthCommandInput, diff --git a/clients/client-cognito-identity-provider/src/commands/ListUsersCommand.ts b/clients/client-cognito-identity-provider/src/commands/ListUsersCommand.ts index 77d1a0a2804d..a50925c0289a 100644 --- a/clients/client-cognito-identity-provider/src/commands/ListUsersCommand.ts +++ b/clients/client-cognito-identity-provider/src/commands/ListUsersCommand.ts @@ -133,6 +133,82 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea * @throws {@link CognitoIdentityProviderServiceException} *

Base exception class for all service exceptions from CognitoIdentityProvider service.

* + * @example A ListUsers request for the next 3 users whose email address starts with "testuser." + * ```javascript + * // This request submits a value for all possible parameters for ListUsers. By iterating the PaginationToken, you can page through and collect all users in a user pool. + * const input = { + * "AttributesToGet": [ + * "email", + * "sub" + * ], + * "Filter": "\"email\"^=\"testuser\"", + * "Limit": 3, + * "PaginationToken": "abcd1234EXAMPLE", + * "UserPoolId": "us-east-1_EXAMPLE" + * }; + * const command = new ListUsersCommand(input); + * const response = await client.send(command); + * /* response == + * { + * "PaginationToken": "efgh5678EXAMPLE", + * "Users": [ + * { + * "Attributes": [ + * { + * "Name": "sub", + * "Value": "eaad0219-2117-439f-8d46-4db20e59268f" + * }, + * { + * "Name": "email", + * "Value": "testuser@example.com" + * } + * ], + * "Enabled": true, + * "UserCreateDate": 1682955829.578, + * "UserLastModifiedDate": 1689030181.63, + * "UserStatus": "CONFIRMED", + * "Username": "testuser" + * }, + * { + * "Attributes": [ + * { + * "Name": "sub", + * "Value": "3b994cfd-0b07-4581-be46-3c82f9a70c90" + * }, + * { + * "Name": "email", + * "Value": "testuser2@example.com" + * } + * ], + * "Enabled": true, + * "UserCreateDate": 1684427979.201, + * "UserLastModifiedDate": 1684427979.201, + * "UserStatus": "UNCONFIRMED", + * "Username": "testuser2" + * }, + * { + * "Attributes": [ + * { + * "Name": "sub", + * "Value": "5929e0d1-4c34-42d1-9b79-a5ecacfe66f7" + * }, + * { + * "Name": "email", + * "Value": "testuser3@example.com" + * } + * ], + * "Enabled": true, + * "UserCreateDate": 1684427823.641, + * "UserLastModifiedDate": 1684427823.641, + * "UserStatus": "UNCONFIRMED", + * "Username": "testuser3@example.com" + * } + * ] + * } + * *\/ + * // example id: a-listusers-request-for-the-next-3-users-whose-email-address-starts-with-testuser-1689977648246 + * ``` + * */ export class ListUsersCommand extends $Command< ListUsersCommandInput, diff --git a/clients/client-datasync/CHANGELOG.md b/clients/client-datasync/CHANGELOG.md index f8c731428992..88f5aa2d6fda 100644 --- a/clients/client-datasync/CHANGELOG.md +++ b/clients/client-datasync/CHANGELOG.md @@ -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.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + + +### Features + +* **client-datasync:** AWS DataSync introduces Task Reports, a new feature that provides detailed reports of data transfer operations for each task execution. ([4ca461a](https://github.com/aws/aws-sdk-js-v3/commit/4ca461a66d828778a0fc661787fe1452379a3194)) + + + + + # [3.398.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.397.0...v3.398.0) (2023-08-23) **Note:** Version bump only for package @aws-sdk/client-datasync diff --git a/clients/client-datasync/package.json b/clients/client-datasync/package.json index a8ff8a874f1c..bb95769a0b18 100644 --- a/clients/client-datasync/package.json +++ b/clients/client-datasync/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-datasync", "description": "AWS SDK for JavaScript Datasync Client for Node.js, Browser and React Native", - "version": "3.398.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-neptunedata/CHANGELOG.md b/clients/client-neptunedata/CHANGELOG.md new file mode 100644 index 000000000000..0592ccaee732 --- /dev/null +++ b/clients/client-neptunedata/CHANGELOG.md @@ -0,0 +1,11 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [3.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + + +### Features + +* **client-neptunedata:** Allows customers to execute data plane actions like bulk loading graphs, issuing graph queries using Gremlin and openCypher directly from the SDK. ([61abba3](https://github.com/aws/aws-sdk-js-v3/commit/61abba3e8e753c3031432e6e717d237bea13958c)) diff --git a/clients/client-neptunedata/package.json b/clients/client-neptunedata/package.json index 56ed2c16b94a..49613b5f14f8 100644 --- a/clients/client-neptunedata/package.json +++ b/clients/client-neptunedata/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-neptunedata", "description": "AWS SDK for JavaScript Neptunedata Client for Node.js, Browser and React Native", - "version": "3.0.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-network-firewall/CHANGELOG.md b/clients/client-network-firewall/CHANGELOG.md index 54fe92df7b92..2308de4c68e8 100644 --- a/clients/client-network-firewall/CHANGELOG.md +++ b/clients/client-network-firewall/CHANGELOG.md @@ -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.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + + +### Features + +* **client-network-firewall:** Network Firewall increasing pagination token string length ([bcaac0b](https://github.com/aws/aws-sdk-js-v3/commit/bcaac0bb1b15dea7e3b0bed434bdeeeaff43a6b5)) + + + + + # [3.398.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.397.0...v3.398.0) (2023-08-23) **Note:** Version bump only for package @aws-sdk/client-network-firewall diff --git a/clients/client-network-firewall/package.json b/clients/client-network-firewall/package.json index 5100c17211f2..2e3e4c433844 100644 --- a/clients/client-network-firewall/package.json +++ b/clients/client-network-firewall/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-network-firewall", "description": "AWS SDK for JavaScript Network Firewall Client for Node.js, Browser and React Native", - "version": "3.398.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-pca-connector-ad/CHANGELOG.md b/clients/client-pca-connector-ad/CHANGELOG.md new file mode 100644 index 000000000000..2a8d9efed1ea --- /dev/null +++ b/clients/client-pca-connector-ad/CHANGELOG.md @@ -0,0 +1,11 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +# [3.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + + +### Features + +* **client-pca-connector-ad:** The Connector for AD allows you to use a fully-managed AWS Private CA as a drop-in replacement for your self-managed enterprise CAs without local agents or proxy servers. Enterprises that use AD to manage Windows environments can reduce their private certificate authority (CA) costs and complexity. ([f6c8094](https://github.com/aws/aws-sdk-js-v3/commit/f6c8094236e32b4871e476959888d7ae5ffa2092)) diff --git a/clients/client-pca-connector-ad/package.json b/clients/client-pca-connector-ad/package.json index cb8fb621adca..a757f7107d54 100644 --- a/clients/client-pca-connector-ad/package.json +++ b/clients/client-pca-connector-ad/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-pca-connector-ad", "description": "AWS SDK for JavaScript Pca Connector Ad Client for Node.js, Browser and React Native", - "version": "3.0.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-sagemaker/CHANGELOG.md b/clients/client-sagemaker/CHANGELOG.md index 35af30c10b11..4bdac3470041 100644 --- a/clients/client-sagemaker/CHANGELOG.md +++ b/clients/client-sagemaker/CHANGELOG.md @@ -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.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + + +### Features + +* **client-sagemaker:** Amazon SageMaker Canvas adds IdentityProviderOAuthSettings support for CanvasAppSettings ([6d84166](https://github.com/aws/aws-sdk-js-v3/commit/6d841668d3d1e12a59223097ff869c40bf4efccf)) + + + + + # [3.398.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.397.0...v3.398.0) (2023-08-23) **Note:** Version bump only for package @aws-sdk/client-sagemaker diff --git a/clients/client-sagemaker/package.json b/clients/client-sagemaker/package.json index 857cbd77b9ed..feb9747350a5 100644 --- a/clients/client-sagemaker/package.json +++ b/clients/client-sagemaker/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-sagemaker", "description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native", - "version": "3.398.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-sesv2/CHANGELOG.md b/clients/client-sesv2/CHANGELOG.md index 1e52ec569254..387203ed14e6 100644 --- a/clients/client-sesv2/CHANGELOG.md +++ b/clients/client-sesv2/CHANGELOG.md @@ -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.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + +**Note:** Version bump only for package @aws-sdk/client-sesv2 + + + + + # [3.402.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.401.0...v3.402.0) (2023-08-29) diff --git a/clients/client-sesv2/package.json b/clients/client-sesv2/package.json index 2016c171d75d..9b91e12e4b44 100644 --- a/clients/client-sesv2/package.json +++ b/clients/client-sesv2/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/client-sesv2", "description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native", - "version": "3.402.0", + "version": "3.403.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", "build:cjs": "tsc -p tsconfig.cjs.json", diff --git a/clients/client-sesv2/src/commands/CancelExportJobCommand.ts b/clients/client-sesv2/src/commands/CancelExportJobCommand.ts index ea6a1b51b42a..a1eadd7de19e 100644 --- a/clients/client-sesv2/src/commands/CancelExportJobCommand.ts +++ b/clients/client-sesv2/src/commands/CancelExportJobCommand.ts @@ -70,6 +70,17 @@ export interface CancelExportJobCommandOutput extends CancelExportJobResponse, _ * @throws {@link SESv2ServiceException} *

Base exception class for all service exceptions from SESv2 service.

* + * @example Cancel export job + * ```javascript + * // Cancels the export job with ID ef28cf62-9d8e-4b60-9283-b09816c99a99 + * const input = { + * "JobId": "ef28cf62-9d8e-4b60-9283-b09816c99a99" + * }; + * const command = new CancelExportJobCommand(input); + * await client.send(command); + * // example id: cancel-export-job-1685699696331 + * ``` + * */ export class CancelExportJobCommand extends $Command< CancelExportJobCommandInput, diff --git a/clients/client-sesv2/src/commands/CreateExportJobCommand.ts b/clients/client-sesv2/src/commands/CreateExportJobCommand.ts index a0616da4b9b3..c69a483c0beb 100644 --- a/clients/client-sesv2/src/commands/CreateExportJobCommand.ts +++ b/clients/client-sesv2/src/commands/CreateExportJobCommand.ts @@ -146,6 +146,84 @@ export interface CreateExportJobCommandOutput extends CreateExportJobResponse, _ * @throws {@link SESv2ServiceException} *

Base exception class for all service exceptions from SESv2 service.

* + * @example Create Metrics export job + * ```javascript + * // Creates a new export job for Metrics data + * const input = { + * "ExportDataSource": { + * "MetricsDataSource": { + * "Dimensions": { + * "ISP": [ + * "*" + * ] + * }, + * "EndDate": "2023-07-02T00:00:00", + * "Metrics": [ + * { + * "Aggregation": "VOLUME", + * "Name": "SEND" + * }, + * { + * "Aggregation": "VOLUME", + * "Name": "COMPLAINT" + * }, + * { + * "Aggregation": "RATE", + * "Name": "COMPLAINT" + * } + * ], + * "Namespace": "VDM", + * "StartDate": "2023-07-01T00:00:00" + * } + * }, + * "ExportDestination": { + * "DataFormat": "CSV" + * } + * }; + * const command = new CreateExportJobCommand(input); + * const response = await client.send(command); + * /* response == + * { + * "JobId": "ef28cf62-9d8e-4b60-9283-b09816c99a99" + * } + * *\/ + * // example id: create-export-job-1685701853690 + * ``` + * + * @example Create Message Insights export job + * ```javascript + * // Creates a new export job for Message Insights data + * const input = { + * "ExportDataSource": { + * "MessageInsightsDataSource": { + * "EndDate": "2023-07-02T00:00:00", + * "Exclude": { + * "FromEmailAddress": [ + * "hello@example.com" + * ] + * }, + * "Include": { + * "Subject": [ + * "Hello" + * ] + * }, + * "StartDate": "2023-07-01T00:00:00" + * } + * }, + * "ExportDestination": { + * "DataFormat": "CSV" + * } + * }; + * const command = new CreateExportJobCommand(input); + * const response = await client.send(command); + * /* response == + * { + * "JobId": "ef28cf62-9d8e-4b60-9283-b09816c99a99" + * } + * *\/ + * // example id: create-export-job-1689957853323 + * ``` + * */ export class CreateExportJobCommand extends $Command< CreateExportJobCommandInput, diff --git a/clients/client-sesv2/src/commands/GetExportJobCommand.ts b/clients/client-sesv2/src/commands/GetExportJobCommand.ts index 9d9426a3a78e..7c8791c5888c 100644 --- a/clients/client-sesv2/src/commands/GetExportJobCommand.ts +++ b/clients/client-sesv2/src/commands/GetExportJobCommand.ts @@ -151,6 +151,58 @@ export interface GetExportJobCommandOutput extends GetExportJobResponse, __Metad * @throws {@link SESv2ServiceException} *

Base exception class for all service exceptions from SESv2 service.

* + * @example Get export job + * ```javascript + * // Gets the export job with ID ef28cf62-9d8e-4b60-9283-b09816c99a99 + * const input = { + * "JobId": "ef28cf62-9d8e-4b60-9283-b09816c99a99" + * }; + * const command = new GetExportJobCommand(input); + * const response = await client.send(command); + * /* response == + * { + * "CreatedTimestamp": "1685700961057", + * "ExportDataSource": { + * "MetricsDataSource": { + * "Dimensions": { + * "ISP": [ + * "*" + * ] + * }, + * "EndDate": "1675209600000", + * "Metrics": [ + * { + * "Aggregation": "VOLUME", + * "Name": "SEND" + * }, + * { + * "Aggregation": "VOLUME", + * "Name": "COMPLAINT" + * }, + * { + * "Aggregation": "RATE", + * "Name": "COMPLAINT" + * } + * ], + * "Namespace": "VDM", + * "StartDate": "1672531200000" + * } + * }, + * "ExportDestination": { + * "DataFormat": "CSV" + * }, + * "ExportSourceType": "METRICS_DATA", + * "JobId": "ef28cf62-9d8e-4b60-9283-b09816c99a99", + * "JobStatus": "PROCESSING", + * "Statistics": { + * "ExportedRecordsCount": 5, + * "ProcessedRecordsCount": 5 + * } + * } + * *\/ + * // example id: get-export-job-1685699942772 + * ``` + * */ export class GetExportJobCommand extends $Command< GetExportJobCommandInput, diff --git a/clients/client-sesv2/src/commands/GetMessageInsightsCommand.ts b/clients/client-sesv2/src/commands/GetMessageInsightsCommand.ts index 34175afda764..3988051eb158 100644 --- a/clients/client-sesv2/src/commands/GetMessageInsightsCommand.ts +++ b/clients/client-sesv2/src/commands/GetMessageInsightsCommand.ts @@ -109,6 +109,66 @@ export interface GetMessageInsightsCommandOutput extends GetMessageInsightsRespo * @throws {@link SESv2ServiceException} *

Base exception class for all service exceptions from SESv2 service.

* + * @example Get Message Insights + * ```javascript + * // Provides information about a specific message. + * const input = { + * "MessageId": "000000000000ab00-0a000aa0-1234-0a0a-1234-0a0aaa0aa00a-000000" + * }; + * const command = new GetMessageInsightsCommand(input); + * const response = await client.send(command); + * /* response == + * { + * "EmailTags": [ + * { + * "Name": "ses:operation", + * "Value": "SendEmail" + * }, + * { + * "Name": "ses:recipient-isp", + * "Value": "UNKNOWN_ISP" + * }, + * { + * "Name": "ses:source-ip", + * "Value": "0.0.0.0" + * }, + * { + * "Name": "ses:from-domain", + * "Value": "example.com" + * }, + * { + * "Name": "ses:sender-identity", + * "Value": "hello@example.com" + * }, + * { + * "Name": "ses:caller-identity", + * "Value": "Identity" + * } + * ], + * "FromEmailAddress": "hello@example.com", + * "Insights": [ + * { + * "Destination": "recipient@example.com", + * "Events": [ + * { + * "Timestamp": "2023-01-01T00:00:00.000000+01:00", + * "Type": "SEND" + * }, + * { + * "Timestamp": "2023-01-01T00:00:01.000000+01:00", + * "Type": "DELIVERY" + * } + * ], + * "Isp": "UNKNOWN_ISP" + * } + * ], + * "MessageId": "000000000000ab00-0a000aa0-1234-0a0a-1234-0a0aaa0aa00a-000000", + * "Subject": "hello" + * } + * *\/ + * // example id: get-message-insights-1689955713493 + * ``` + * */ export class GetMessageInsightsCommand extends $Command< GetMessageInsightsCommandInput, diff --git a/clients/client-sesv2/src/commands/ListExportJobsCommand.ts b/clients/client-sesv2/src/commands/ListExportJobsCommand.ts index 217593c186b8..d1cb6430f9a8 100644 --- a/clients/client-sesv2/src/commands/ListExportJobsCommand.ts +++ b/clients/client-sesv2/src/commands/ListExportJobsCommand.ts @@ -81,6 +81,31 @@ export interface ListExportJobsCommandOutput extends ListExportJobsResponse, __M * @throws {@link SESv2ServiceException} *

Base exception class for all service exceptions from SESv2 service.

* + * @example List export jobs + * ```javascript + * // Lists export jobs of type METRICS_DATA and status PROCESSING + * const input = { + * "ExportSourceType": "METRICS_DATA", + * "JobStatus": "PROCESSING", + * "PageSize": 25 + * }; + * const command = new ListExportJobsCommand(input); + * const response = await client.send(command); + * /* response == + * { + * "ExportJobs": [ + * { + * "CreatedTimestamp": "167697473543", + * "ExportSourceType": "METRICS_DATA", + * "JobId": "72de83a0-6b49-47ca-9783-8b812576887a", + * "JobStatus": "PROCESSING" + * } + * ] + * } + * *\/ + * // example id: list-export-jobs-1685702074256 + * ``` + * */ export class ListExportJobsCommand extends $Command< ListExportJobsCommandInput, diff --git a/lerna.json b/lerna.json index 334fab5925ed..a27146f3c0b0 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "3.402.0", + "version": "3.403.0", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/private/aws-middleware-test/CHANGELOG.md b/private/aws-middleware-test/CHANGELOG.md index fe7d27736cfb..1b76f0437d7e 100644 --- a/private/aws-middleware-test/CHANGELOG.md +++ b/private/aws-middleware-test/CHANGELOG.md @@ -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.403.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.402.0...v3.403.0) (2023-08-30) + +**Note:** Version bump only for package @aws-sdk/aws-middleware-test + + + + + # [3.400.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.399.0...v3.400.0) (2023-08-25) **Note:** Version bump only for package @aws-sdk/aws-middleware-test diff --git a/private/aws-middleware-test/package.json b/private/aws-middleware-test/package.json index 9bbfc80d1109..c6a18eab272b 100644 --- a/private/aws-middleware-test/package.json +++ b/private/aws-middleware-test/package.json @@ -1,7 +1,7 @@ { "name": "@aws-sdk/aws-middleware-test", "description": "Integration test suite for AWS middleware", - "version": "3.400.0", + "version": "3.403.0", "scripts": { "build": "exit 0", "build:cjs": "exit 0",