aws-sdk 2.925.0 → 2.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -1
- package/README.md +1 -1
- package/apis/appmesh-2019-01-25.min.json +322 -189
- package/apis/chime-2018-05-01.min.json +2 -1
- package/apis/cognito-idp-2016-04-18.min.json +41 -5
- package/apis/connect-2017-08-08.min.json +229 -124
- package/apis/connect-2017-08-08.paginators.json +6 -0
- package/apis/ec2-2016-11-15.min.json +728 -669
- package/apis/greengrassv2-2020-11-30.min.json +166 -28
- package/apis/greengrassv2-2020-11-30.paginators.json +6 -0
- package/apis/iotanalytics-2017-11-27.min.json +68 -27
- package/apis/managedblockchain-2018-09-24.min.json +35 -32
- package/apis/mediaconnect-2018-11-14.min.json +49 -27
- package/apis/medialive-2017-10-14.min.json +172 -163
- package/apis/models.lex.v2-2020-08-07.min.json +60 -37
- package/apis/ram-2018-01-04.min.json +22 -11
- package/apis/ram-2018-01-04.paginators.json +15 -0
- package/apis/redshift-data-2019-12-20.min.json +26 -3
- package/apis/runtime.lex.v2-2020-08-07.min.json +49 -35
- package/apis/sagemaker-2017-07-24.min.json +479 -459
- package/apis/sagemaker-featurestore-runtime-2020-07-01.min.json +97 -6
- package/clients/appflow.d.ts +8 -2
- package/clients/appmesh.d.ts +216 -15
- package/clients/chime.d.ts +13 -9
- package/clients/cognitoidentityserviceprovider.d.ts +40 -4
- package/clients/connect.d.ts +184 -94
- package/clients/ec2.d.ts +81 -12
- package/clients/greengrassv2.d.ts +138 -2
- package/clients/iotanalytics.d.ts +51 -4
- package/clients/lexmodelsv2.d.ts +30 -4
- package/clients/lexruntimev2.d.ts +46 -36
- package/clients/lookoutmetrics.d.ts +4 -4
- package/clients/managedblockchain.d.ts +17 -5
- package/clients/mediaconnect.d.ts +23 -0
- package/clients/medialive.d.ts +18 -1
- package/clients/ram.d.ts +28 -8
- package/clients/redshiftdata.d.ts +25 -0
- package/clients/sagemaker.d.ts +42 -0
- package/clients/sagemakerfeaturestoreruntime.d.ts +80 -0
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +20 -20
- package/dist/aws-sdk.js +1124 -863
- package/dist/aws-sdk.min.js +71 -71
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/chime.d.ts
CHANGED
|
@@ -92,19 +92,19 @@ declare class Chime extends Service {
|
|
|
92
92
|
*/
|
|
93
93
|
batchUnsuspendUser(callback?: (err: AWSError, data: Chime.Types.BatchUnsuspendUserResponse) => void): Request<Chime.Types.BatchUnsuspendUserResponse, AWSError>;
|
|
94
94
|
/**
|
|
95
|
-
* Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type or the calling name. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the
|
|
95
|
+
* Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type or the calling name. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type. Updates to outbound calling names can take up to 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.
|
|
96
96
|
*/
|
|
97
97
|
batchUpdatePhoneNumber(params: Chime.Types.BatchUpdatePhoneNumberRequest, callback?: (err: AWSError, data: Chime.Types.BatchUpdatePhoneNumberResponse) => void): Request<Chime.Types.BatchUpdatePhoneNumberResponse, AWSError>;
|
|
98
98
|
/**
|
|
99
|
-
* Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type or the calling name. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the
|
|
99
|
+
* Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem. For example, you can update the product type or the calling name. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type. Updates to outbound calling names can take up to 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.
|
|
100
100
|
*/
|
|
101
101
|
batchUpdatePhoneNumber(callback?: (err: AWSError, data: Chime.Types.BatchUpdatePhoneNumberResponse) => void): Request<Chime.Types.BatchUpdatePhoneNumberResponse, AWSError>;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Updates user details within the UpdateUserRequestItem object for up to 20 users for the specified Amazon Chime account. Currently, only LicenseType updates are supported for this action.
|
|
104
104
|
*/
|
|
105
105
|
batchUpdateUser(params: Chime.Types.BatchUpdateUserRequest, callback?: (err: AWSError, data: Chime.Types.BatchUpdateUserResponse) => void): Request<Chime.Types.BatchUpdateUserResponse, AWSError>;
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* Updates user details within the UpdateUserRequestItem object for up to 20 users for the specified Amazon Chime account. Currently, only LicenseType updates are supported for this action.
|
|
108
108
|
*/
|
|
109
109
|
batchUpdateUser(callback?: (err: AWSError, data: Chime.Types.BatchUpdateUserResponse) => void): Request<Chime.Types.BatchUpdateUserResponse, AWSError>;
|
|
110
110
|
/**
|
|
@@ -212,11 +212,11 @@ declare class Chime extends Service {
|
|
|
212
212
|
*/
|
|
213
213
|
createMeetingWithAttendees(callback?: (err: AWSError, data: Chime.Types.CreateMeetingWithAttendeesResponse) => void): Request<Chime.Types.CreateMeetingWithAttendeesResponse, AWSError>;
|
|
214
214
|
/**
|
|
215
|
-
* Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the
|
|
215
|
+
* Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.
|
|
216
216
|
*/
|
|
217
217
|
createPhoneNumberOrder(params: Chime.Types.CreatePhoneNumberOrderRequest, callback?: (err: AWSError, data: Chime.Types.CreatePhoneNumberOrderResponse) => void): Request<Chime.Types.CreatePhoneNumberOrderResponse, AWSError>;
|
|
218
218
|
/**
|
|
219
|
-
* Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the
|
|
219
|
+
* Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.
|
|
220
220
|
*/
|
|
221
221
|
createPhoneNumberOrder(callback?: (err: AWSError, data: Chime.Types.CreatePhoneNumberOrderResponse) => void): Request<Chime.Types.CreatePhoneNumberOrderResponse, AWSError>;
|
|
222
222
|
/**
|
|
@@ -1308,11 +1308,11 @@ declare class Chime extends Service {
|
|
|
1308
1308
|
*/
|
|
1309
1309
|
untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
1310
1310
|
/**
|
|
1311
|
-
* Updates account details for the specified Amazon Chime account. Currently, only account name updates are supported for this action.
|
|
1311
|
+
* Updates account details for the specified Amazon Chime account. Currently, only account name and default license updates are supported for this action.
|
|
1312
1312
|
*/
|
|
1313
1313
|
updateAccount(params: Chime.Types.UpdateAccountRequest, callback?: (err: AWSError, data: Chime.Types.UpdateAccountResponse) => void): Request<Chime.Types.UpdateAccountResponse, AWSError>;
|
|
1314
1314
|
/**
|
|
1315
|
-
* Updates account details for the specified Amazon Chime account. Currently, only account name updates are supported for this action.
|
|
1315
|
+
* Updates account details for the specified Amazon Chime account. Currently, only account name and default license updates are supported for this action.
|
|
1316
1316
|
*/
|
|
1317
1317
|
updateAccount(callback?: (err: AWSError, data: Chime.Types.UpdateAccountResponse) => void): Request<Chime.Types.UpdateAccountResponse, AWSError>;
|
|
1318
1318
|
/**
|
|
@@ -1783,7 +1783,7 @@ declare namespace Chime {
|
|
|
1783
1783
|
*/
|
|
1784
1784
|
ErrorCode?: ErrorCode;
|
|
1785
1785
|
/**
|
|
1786
|
-
* The error message.
|
|
1786
|
+
* The error message.
|
|
1787
1787
|
*/
|
|
1788
1788
|
ErrorMessage?: String;
|
|
1789
1789
|
}
|
|
@@ -5690,6 +5690,10 @@ declare namespace Chime {
|
|
|
5690
5690
|
* The new name for the specified Amazon Chime account.
|
|
5691
5691
|
*/
|
|
5692
5692
|
Name?: AccountName;
|
|
5693
|
+
/**
|
|
5694
|
+
* The default license applied when you add users to an Amazon Chime account.
|
|
5695
|
+
*/
|
|
5696
|
+
DefaultLicense?: License;
|
|
5693
5697
|
}
|
|
5694
5698
|
export interface UpdateAccountResponse {
|
|
5695
5699
|
/**
|
|
@@ -308,11 +308,11 @@ declare class CognitoIdentityServiceProvider extends Service {
|
|
|
308
308
|
*/
|
|
309
309
|
createUserPool(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolResponse) => void): Request<CognitoIdentityServiceProvider.Types.CreateUserPoolResponse, AWSError>;
|
|
310
310
|
/**
|
|
311
|
-
* Creates the user pool client.
|
|
311
|
+
* Creates the user pool client. When you create a new user pool client, token revocation is automatically enabled. For more information about revoking tokens, see RevokeToken.
|
|
312
312
|
*/
|
|
313
313
|
createUserPoolClient(params: CognitoIdentityServiceProvider.Types.CreateUserPoolClientRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolClientResponse) => void): Request<CognitoIdentityServiceProvider.Types.CreateUserPoolClientResponse, AWSError>;
|
|
314
314
|
/**
|
|
315
|
-
* Creates the user pool client.
|
|
315
|
+
* Creates the user pool client. When you create a new user pool client, token revocation is automatically enabled. For more information about revoking tokens, see RevokeToken.
|
|
316
316
|
*/
|
|
317
317
|
createUserPoolClient(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolClientResponse) => void): Request<CognitoIdentityServiceProvider.Types.CreateUserPoolClientResponse, AWSError>;
|
|
318
318
|
/**
|
|
@@ -643,6 +643,14 @@ declare class CognitoIdentityServiceProvider extends Service {
|
|
|
643
643
|
* Responds to the authentication challenge. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other AWS service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide.
|
|
644
644
|
*/
|
|
645
645
|
respondToAuthChallenge(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.RespondToAuthChallengeResponse) => void): Request<CognitoIdentityServiceProvider.Types.RespondToAuthChallengeResponse, AWSError>;
|
|
646
|
+
/**
|
|
647
|
+
* Revokes all of the access tokens generated by the specified refresh token. After the token is revoked, you can not use the revoked token to access Cognito authenticated APIs.
|
|
648
|
+
*/
|
|
649
|
+
revokeToken(params: CognitoIdentityServiceProvider.Types.RevokeTokenRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.RevokeTokenResponse) => void): Request<CognitoIdentityServiceProvider.Types.RevokeTokenResponse, AWSError>;
|
|
650
|
+
/**
|
|
651
|
+
* Revokes all of the access tokens generated by the specified refresh token. After the token is revoked, you can not use the revoked token to access Cognito authenticated APIs.
|
|
652
|
+
*/
|
|
653
|
+
revokeToken(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.RevokeTokenResponse) => void): Request<CognitoIdentityServiceProvider.Types.RevokeTokenResponse, AWSError>;
|
|
646
654
|
/**
|
|
647
655
|
* Configures actions on detected risks. To delete the risk configuration for UserPoolId or ClientId, pass null values for all four configuration types. To enable Amazon Cognito advanced security features, update the user pool to include the UserPoolAddOns keyAdvancedSecurityMode.
|
|
648
656
|
*/
|
|
@@ -780,11 +788,11 @@ declare class CognitoIdentityServiceProvider extends Service {
|
|
|
780
788
|
*/
|
|
781
789
|
updateUserPool(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolResponse) => void): Request<CognitoIdentityServiceProvider.Types.UpdateUserPoolResponse, AWSError>;
|
|
782
790
|
/**
|
|
783
|
-
* Updates the specified user pool app client with the specified attributes. You can get a list of the current user pool app client settings using DescribeUserPoolClient. If you don't provide a value for an attribute, it will be set to the default value.
|
|
791
|
+
* Updates the specified user pool app client with the specified attributes. You can get a list of the current user pool app client settings using DescribeUserPoolClient. If you don't provide a value for an attribute, it will be set to the default value. You can also use this operation to enable token revocation for user pool clients. For more information about revoking tokens, see RevokeToken.
|
|
784
792
|
*/
|
|
785
793
|
updateUserPoolClient(params: CognitoIdentityServiceProvider.Types.UpdateUserPoolClientRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolClientResponse) => void): Request<CognitoIdentityServiceProvider.Types.UpdateUserPoolClientResponse, AWSError>;
|
|
786
794
|
/**
|
|
787
|
-
* Updates the specified user pool app client with the specified attributes. You can get a list of the current user pool app client settings using DescribeUserPoolClient. If you don't provide a value for an attribute, it will be set to the default value.
|
|
795
|
+
* Updates the specified user pool app client with the specified attributes. You can get a list of the current user pool app client settings using DescribeUserPoolClient. If you don't provide a value for an attribute, it will be set to the default value. You can also use this operation to enable token revocation for user pool clients. For more information about revoking tokens, see RevokeToken.
|
|
788
796
|
*/
|
|
789
797
|
updateUserPoolClient(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolClientResponse) => void): Request<CognitoIdentityServiceProvider.Types.UpdateUserPoolClientResponse, AWSError>;
|
|
790
798
|
/**
|
|
@@ -1968,6 +1976,10 @@ declare namespace CognitoIdentityServiceProvider {
|
|
|
1968
1976
|
* Use this setting to choose which errors and responses are returned by Cognito APIs during authentication, account confirmation, and password recovery when the user does not exist in the user pool. When set to ENABLED and the user does not exist, authentication returns an error indicating either the username or password was incorrect, and account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs will return a UserNotFoundException exception if the user does not exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the old behavior of Cognito where user existence related errors are not prevented. After February 15th 2020, the value of PreventUserExistenceErrors will default to ENABLED for newly created user pool clients if no value is provided.
|
|
1969
1977
|
*/
|
|
1970
1978
|
PreventUserExistenceErrors?: PreventUserExistenceErrorTypes;
|
|
1979
|
+
/**
|
|
1980
|
+
* Enables or disables token revocation. For more information about revoking tokens, see RevokeToken. If you don't include this parameter, token revocation is automatically enabled for the new user pool client.
|
|
1981
|
+
*/
|
|
1982
|
+
EnableTokenRevocation?: WrappedBooleanType;
|
|
1971
1983
|
}
|
|
1972
1984
|
export interface CreateUserPoolClientResponse {
|
|
1973
1985
|
/**
|
|
@@ -3398,6 +3410,22 @@ declare namespace CognitoIdentityServiceProvider {
|
|
|
3398
3410
|
*/
|
|
3399
3411
|
AuthenticationResult?: AuthenticationResultType;
|
|
3400
3412
|
}
|
|
3413
|
+
export interface RevokeTokenRequest {
|
|
3414
|
+
/**
|
|
3415
|
+
* The token that you want to revoke.
|
|
3416
|
+
*/
|
|
3417
|
+
Token: TokenModelType;
|
|
3418
|
+
/**
|
|
3419
|
+
* The client ID for the token that you want to revoke.
|
|
3420
|
+
*/
|
|
3421
|
+
ClientId: ClientIdType;
|
|
3422
|
+
/**
|
|
3423
|
+
* The secret for the client ID. This is required only if the client ID has a secret.
|
|
3424
|
+
*/
|
|
3425
|
+
ClientSecret?: ClientSecretType;
|
|
3426
|
+
}
|
|
3427
|
+
export interface RevokeTokenResponse {
|
|
3428
|
+
}
|
|
3401
3429
|
export interface RiskConfigurationType {
|
|
3402
3430
|
/**
|
|
3403
3431
|
* The user pool ID.
|
|
@@ -4024,6 +4052,10 @@ declare namespace CognitoIdentityServiceProvider {
|
|
|
4024
4052
|
* Use this setting to choose which errors and responses are returned by Cognito APIs during authentication, account confirmation, and password recovery when the user does not exist in the user pool. When set to ENABLED and the user does not exist, authentication returns an error indicating either the username or password was incorrect, and account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs will return a UserNotFoundException exception if the user does not exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the old behavior of Cognito where user existence related errors are not prevented. After February 15th 2020, the value of PreventUserExistenceErrors will default to ENABLED for newly created user pool clients if no value is provided.
|
|
4025
4053
|
*/
|
|
4026
4054
|
PreventUserExistenceErrors?: PreventUserExistenceErrorTypes;
|
|
4055
|
+
/**
|
|
4056
|
+
* Enables or disables token revocation. For more information about revoking tokens, see RevokeToken.
|
|
4057
|
+
*/
|
|
4058
|
+
EnableTokenRevocation?: WrappedBooleanType;
|
|
4027
4059
|
}
|
|
4028
4060
|
export interface UpdateUserPoolClientResponse {
|
|
4029
4061
|
/**
|
|
@@ -4299,6 +4331,10 @@ declare namespace CognitoIdentityServiceProvider {
|
|
|
4299
4331
|
* Use this setting to choose which errors and responses are returned by Cognito APIs during authentication, account confirmation, and password recovery when the user does not exist in the user pool. When set to ENABLED and the user does not exist, authentication returns an error indicating either the username or password was incorrect, and account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs will return a UserNotFoundException exception if the user does not exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the old behavior of Cognito where user existence related errors are not prevented. After February 15th 2020, the value of PreventUserExistenceErrors will default to ENABLED for newly created user pool clients if no value is provided.
|
|
4300
4332
|
*/
|
|
4301
4333
|
PreventUserExistenceErrors?: PreventUserExistenceErrorTypes;
|
|
4334
|
+
/**
|
|
4335
|
+
* Indicates whether token revocation is enabled for the user pool client. When you create a new user pool client, token revocation is enabled by default. For more information about revoking tokens, see RevokeToken.
|
|
4336
|
+
*/
|
|
4337
|
+
EnableTokenRevocation?: WrappedBooleanType;
|
|
4302
4338
|
}
|
|
4303
4339
|
export interface UserPoolDescriptionType {
|
|
4304
4340
|
/**
|