aws-sdk 2.1610.0 → 2.1612.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/README.md +1 -1
- package/apis/bedrock-agent-2023-06-05.min.json +42 -10
- package/apis/dynamodb-2012-08-10.min.json +249 -180
- package/apis/ec2-2016-11-15.min.json +107 -70
- package/apis/personalize-2018-05-22.min.json +153 -44
- package/apis/personalize-runtime-2018-05-22.min.json +9 -1
- package/apis/redshift-serverless-2021-04-21.min.json +7 -1
- package/apis/sesv2-2019-09-27.min.json +7 -16
- package/clients/bedrockagent.d.ts +59 -6
- package/clients/dynamodb.d.ts +80 -11
- package/clients/ec2.d.ts +54 -7
- package/clients/personalize.d.ts +160 -1
- package/clients/personalizeruntime.d.ts +6 -0
- package/clients/redshiftserverless.d.ts +17 -7
- package/clients/securityhub.d.ts +4 -4
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +8 -8
- package/dist/aws-sdk.js +521 -298
- package/dist/aws-sdk.min.js +79 -78
- package/lib/core.js +1 -1
- package/lib/dynamodb/document_client.d.ts +76 -7
- package/package.json +1 -1
package/clients/dynamodb.d.ts
CHANGED
@@ -247,11 +247,11 @@ declare class DynamoDB extends DynamoDBCustomizations {
|
|
247
247
|
*/
|
248
248
|
getItem(callback?: (err: AWSError, data: DynamoDB.Types.GetItemOutput) => void): Request<DynamoDB.Types.GetItemOutput, AWSError>;
|
249
249
|
/**
|
250
|
-
* Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format. GetResourcePolicy follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy request immediately after issuing another request: If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return a PolicyNotFoundException. If you issue a GetResourcePolicyrequest immediately after a DeleteResourcePolicy request, DynamoDB might return the policy that was present before the deletion request. If you issue a GetResourcePolicy request immediately after a CreateTable request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException or a PolicyNotFoundException. Because GetResourcePolicy uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy request. After a GetResourcePolicy request returns a policy created using the PutResourcePolicy request,
|
250
|
+
* Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format. GetResourcePolicy follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy request immediately after issuing another request: If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return a PolicyNotFoundException. If you issue a GetResourcePolicyrequest immediately after a DeleteResourcePolicy request, DynamoDB might return the policy that was present before the deletion request. If you issue a GetResourcePolicy request immediately after a CreateTable request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException or a PolicyNotFoundException. Because GetResourcePolicy uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy request. After a GetResourcePolicy request returns a policy created using the PutResourcePolicy request, the policy will be applied in the authorization of requests to the resource. Because this process is eventually consistent, it will take some time to apply the policy to all requests to a resource. Policies that you attach while creating a table using the CreateTable request will always be applied to all requests for that table.
|
251
251
|
*/
|
252
252
|
getResourcePolicy(params: DynamoDB.Types.GetResourcePolicyInput, callback?: (err: AWSError, data: DynamoDB.Types.GetResourcePolicyOutput) => void): Request<DynamoDB.Types.GetResourcePolicyOutput, AWSError>;
|
253
253
|
/**
|
254
|
-
* Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format. GetResourcePolicy follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy request immediately after issuing another request: If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return a PolicyNotFoundException. If you issue a GetResourcePolicyrequest immediately after a DeleteResourcePolicy request, DynamoDB might return the policy that was present before the deletion request. If you issue a GetResourcePolicy request immediately after a CreateTable request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException or a PolicyNotFoundException. Because GetResourcePolicy uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy request. After a GetResourcePolicy request returns a policy created using the PutResourcePolicy request,
|
254
|
+
* Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format. GetResourcePolicy follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy request immediately after issuing another request: If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return a PolicyNotFoundException. If you issue a GetResourcePolicyrequest immediately after a DeleteResourcePolicy request, DynamoDB might return the policy that was present before the deletion request. If you issue a GetResourcePolicy request immediately after a CreateTable request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException or a PolicyNotFoundException. Because GetResourcePolicy uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy request. After a GetResourcePolicy request returns a policy created using the PutResourcePolicy request, the policy will be applied in the authorization of requests to the resource. Because this process is eventually consistent, it will take some time to apply the policy to all requests to a resource. Policies that you attach while creating a table using the CreateTable request will always be applied to all requests for that table.
|
255
255
|
*/
|
256
256
|
getResourcePolicy(callback?: (err: AWSError, data: DynamoDB.Types.GetResourcePolicyOutput) => void): Request<DynamoDB.Types.GetResourcePolicyOutput, AWSError>;
|
257
257
|
/**
|
@@ -327,11 +327,11 @@ declare class DynamoDB extends DynamoDBCustomizations {
|
|
327
327
|
*/
|
328
328
|
putItem(callback?: (err: AWSError, data: DynamoDB.Types.PutItemOutput) => void): Request<DynamoDB.Types.PutItemOutput, AWSError>;
|
329
329
|
/**
|
330
|
-
* Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent . PutResourcePolicy is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId
|
330
|
+
* Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent . PutResourcePolicy is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId that doesn't match the current policy's RevisionId, the PolicyNotFoundException will be returned. PutResourcePolicy is an asynchronous operation. If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return your previous policy, if there was one, or return the PolicyNotFoundException. This is because GetResourcePolicy uses an eventually consistent query, and the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then try the GetResourcePolicy request again.
|
331
331
|
*/
|
332
332
|
putResourcePolicy(params: DynamoDB.Types.PutResourcePolicyInput, callback?: (err: AWSError, data: DynamoDB.Types.PutResourcePolicyOutput) => void): Request<DynamoDB.Types.PutResourcePolicyOutput, AWSError>;
|
333
333
|
/**
|
334
|
-
* Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent . PutResourcePolicy is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId
|
334
|
+
* Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent . PutResourcePolicy is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId that doesn't match the current policy's RevisionId, the PolicyNotFoundException will be returned. PutResourcePolicy is an asynchronous operation. If you issue a GetResourcePolicy request immediately after a PutResourcePolicy request, DynamoDB might return your previous policy, if there was one, or return the PolicyNotFoundException. This is because GetResourcePolicy uses an eventually consistent query, and the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then try the GetResourcePolicy request again.
|
335
335
|
*/
|
336
336
|
putResourcePolicy(callback?: (err: AWSError, data: DynamoDB.Types.PutResourcePolicyOutput) => void): Request<DynamoDB.Types.PutResourcePolicyOutput, AWSError>;
|
337
337
|
/**
|
@@ -1058,6 +1058,10 @@ declare namespace DynamoDB {
|
|
1058
1058
|
* Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
|
1059
1059
|
*/
|
1060
1060
|
ProvisionedThroughput?: ProvisionedThroughput;
|
1061
|
+
/**
|
1062
|
+
* The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
1063
|
+
*/
|
1064
|
+
OnDemandThroughput?: OnDemandThroughput;
|
1061
1065
|
}
|
1062
1066
|
export interface CreateGlobalTableInput {
|
1063
1067
|
/**
|
@@ -1094,6 +1098,10 @@ declare namespace DynamoDB {
|
|
1094
1098
|
* Replica-specific provisioned throughput. If not specified, uses the source table's provisioned throughput settings.
|
1095
1099
|
*/
|
1096
1100
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
1101
|
+
/**
|
1102
|
+
* The maximum on-demand throughput settings for the specified replica table being created. You can only modify MaxReadRequestUnits, because you can't modify MaxWriteRequestUnits for individual replica tables.
|
1103
|
+
*/
|
1104
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
1097
1105
|
/**
|
1098
1106
|
* Replica-specific global secondary index settings.
|
1099
1107
|
*/
|
@@ -1153,9 +1161,13 @@ declare namespace DynamoDB {
|
|
1153
1161
|
*/
|
1154
1162
|
DeletionProtectionEnabled?: DeletionProtectionEnabled;
|
1155
1163
|
/**
|
1156
|
-
* An Amazon Web Services resource-based policy document in JSON format that will be attached to the table. When you attach a resource-based policy while creating a table, the policy
|
1164
|
+
* An Amazon Web Services resource-based policy document in JSON format that will be attached to the table. When you attach a resource-based policy while creating a table, the policy application is strongly consistent. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see Resource-based policy considerations.
|
1157
1165
|
*/
|
1158
1166
|
ResourcePolicy?: ResourcePolicy;
|
1167
|
+
/**
|
1168
|
+
* Sets the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
1169
|
+
*/
|
1170
|
+
OnDemandThroughput?: OnDemandThroughput;
|
1159
1171
|
}
|
1160
1172
|
export interface CreateTableOutput {
|
1161
1173
|
/**
|
@@ -1308,7 +1320,7 @@ declare namespace DynamoDB {
|
|
1308
1320
|
}
|
1309
1321
|
export interface DeleteResourcePolicyOutput {
|
1310
1322
|
/**
|
1311
|
-
* A unique string that represents the revision ID of the policy. If you
|
1323
|
+
* A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic. This value will be empty if you make a request against a resource without a policy.
|
1312
1324
|
*/
|
1313
1325
|
RevisionId?: PolicyRevisionId;
|
1314
1326
|
}
|
@@ -1873,7 +1885,7 @@ declare namespace DynamoDB {
|
|
1873
1885
|
*/
|
1874
1886
|
Policy?: ResourcePolicy;
|
1875
1887
|
/**
|
1876
|
-
* A unique string that represents the revision ID of the policy. If you
|
1888
|
+
* A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.
|
1877
1889
|
*/
|
1878
1890
|
RevisionId?: PolicyRevisionId;
|
1879
1891
|
}
|
@@ -1894,6 +1906,10 @@ declare namespace DynamoDB {
|
|
1894
1906
|
* Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
|
1895
1907
|
*/
|
1896
1908
|
ProvisionedThroughput?: ProvisionedThroughput;
|
1909
|
+
/**
|
1910
|
+
* The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
1911
|
+
*/
|
1912
|
+
OnDemandThroughput?: OnDemandThroughput;
|
1897
1913
|
}
|
1898
1914
|
export interface GlobalSecondaryIndexAutoScalingUpdate {
|
1899
1915
|
/**
|
@@ -1940,6 +1956,10 @@ declare namespace DynamoDB {
|
|
1940
1956
|
* The Amazon Resource Name (ARN) that uniquely identifies the index.
|
1941
1957
|
*/
|
1942
1958
|
IndexArn?: String;
|
1959
|
+
/**
|
1960
|
+
* The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
1961
|
+
*/
|
1962
|
+
OnDemandThroughput?: OnDemandThroughput;
|
1943
1963
|
}
|
1944
1964
|
export type GlobalSecondaryIndexDescriptionList = GlobalSecondaryIndexDescription[];
|
1945
1965
|
export interface GlobalSecondaryIndexInfo {
|
@@ -1959,6 +1979,7 @@ declare namespace DynamoDB {
|
|
1959
1979
|
* Represents the provisioned throughput settings for the specified global secondary index.
|
1960
1980
|
*/
|
1961
1981
|
ProvisionedThroughput?: ProvisionedThroughput;
|
1982
|
+
OnDemandThroughput?: OnDemandThroughput;
|
1962
1983
|
}
|
1963
1984
|
export type GlobalSecondaryIndexList = GlobalSecondaryIndex[];
|
1964
1985
|
export interface GlobalSecondaryIndexUpdate {
|
@@ -2565,6 +2586,22 @@ declare namespace DynamoDB {
|
|
2565
2586
|
export type NullAttributeValue = boolean;
|
2566
2587
|
export type NumberAttributeValue = string;
|
2567
2588
|
export type NumberSetAttributeValue = NumberAttributeValue[];
|
2589
|
+
export interface OnDemandThroughput {
|
2590
|
+
/**
|
2591
|
+
* Maximum number of read request units for the specified table. To specify a maximum OnDemandThroughput on your table, set the value of MaxReadRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxReadRequestUnits to -1.
|
2592
|
+
*/
|
2593
|
+
MaxReadRequestUnits?: LongObject;
|
2594
|
+
/**
|
2595
|
+
* Maximum number of write request units for the specified table. To specify a maximum OnDemandThroughput on your table, set the value of MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxWriteRequestUnits to -1.
|
2596
|
+
*/
|
2597
|
+
MaxWriteRequestUnits?: LongObject;
|
2598
|
+
}
|
2599
|
+
export interface OnDemandThroughputOverride {
|
2600
|
+
/**
|
2601
|
+
* Maximum number of read request units for the specified replica table.
|
2602
|
+
*/
|
2603
|
+
MaxReadRequestUnits?: LongObject;
|
2604
|
+
}
|
2568
2605
|
export interface ParameterizedStatement {
|
2569
2606
|
/**
|
2570
2607
|
* A PartiQL statement that uses parameters.
|
@@ -2756,11 +2793,11 @@ declare namespace DynamoDB {
|
|
2756
2793
|
*/
|
2757
2794
|
ResourceArn: ResourceArnString;
|
2758
2795
|
/**
|
2759
|
-
* An Amazon Web Services resource-based policy document in JSON format.
|
2796
|
+
* An Amazon Web Services resource-based policy document in JSON format. The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. Within a resource-based policy, if the action for a DynamoDB service-linked role (SLR) to replicate data for a global table is denied, adding or deleting a replica will fail with an error. For a full list of all considerations that apply while attaching a resource-based policy, see Resource-based policy considerations.
|
2760
2797
|
*/
|
2761
2798
|
Policy: ResourcePolicy;
|
2762
2799
|
/**
|
2763
|
-
* A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy.
|
2800
|
+
* A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy. When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, your request will be rejected with a PolicyNotFoundException. To conditionally attach a policy when no policy exists for the resource, specify NO_POLICY for the revision ID.
|
2764
2801
|
*/
|
2765
2802
|
ExpectedRevisionId?: PolicyRevisionId;
|
2766
2803
|
/**
|
@@ -2770,7 +2807,7 @@ declare namespace DynamoDB {
|
|
2770
2807
|
}
|
2771
2808
|
export interface PutResourcePolicyOutput {
|
2772
2809
|
/**
|
2773
|
-
* A unique string that represents the revision ID of the policy. If you
|
2810
|
+
* A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.
|
2774
2811
|
*/
|
2775
2812
|
RevisionId?: PolicyRevisionId;
|
2776
2813
|
}
|
@@ -2924,6 +2961,10 @@ declare namespace DynamoDB {
|
|
2924
2961
|
* Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings.
|
2925
2962
|
*/
|
2926
2963
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
2964
|
+
/**
|
2965
|
+
* Overrides the maximum on-demand throughput settings for the specified replica table.
|
2966
|
+
*/
|
2967
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
2927
2968
|
/**
|
2928
2969
|
* Replica-specific global secondary index settings.
|
2929
2970
|
*/
|
@@ -2944,6 +2985,10 @@ declare namespace DynamoDB {
|
|
2944
2985
|
* Replica table GSI-specific provisioned throughput. If not specified, uses the source table GSI's read capacity settings.
|
2945
2986
|
*/
|
2946
2987
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
2988
|
+
/**
|
2989
|
+
* Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.
|
2990
|
+
*/
|
2991
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
2947
2992
|
}
|
2948
2993
|
export interface ReplicaGlobalSecondaryIndexAutoScalingDescription {
|
2949
2994
|
/**
|
@@ -2975,6 +3020,10 @@ declare namespace DynamoDB {
|
|
2975
3020
|
* If not described, uses the source table GSI's read capacity settings.
|
2976
3021
|
*/
|
2977
3022
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
3023
|
+
/**
|
3024
|
+
* Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.
|
3025
|
+
*/
|
3026
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
2978
3027
|
}
|
2979
3028
|
export type ReplicaGlobalSecondaryIndexDescriptionList = ReplicaGlobalSecondaryIndexDescription[];
|
2980
3029
|
export type ReplicaGlobalSecondaryIndexList = ReplicaGlobalSecondaryIndex[];
|
@@ -3155,6 +3204,7 @@ declare namespace DynamoDB {
|
|
3155
3204
|
* Provisioned throughput settings for the restored table.
|
3156
3205
|
*/
|
3157
3206
|
ProvisionedThroughputOverride?: ProvisionedThroughput;
|
3207
|
+
OnDemandThroughputOverride?: OnDemandThroughput;
|
3158
3208
|
/**
|
3159
3209
|
* The new server-side encryption settings for the restored table.
|
3160
3210
|
*/
|
@@ -3203,6 +3253,7 @@ declare namespace DynamoDB {
|
|
3203
3253
|
* Provisioned throughput settings for the restored table.
|
3204
3254
|
*/
|
3205
3255
|
ProvisionedThroughputOverride?: ProvisionedThroughput;
|
3256
|
+
OnDemandThroughputOverride?: OnDemandThroughput;
|
3206
3257
|
/**
|
3207
3258
|
* The new server-side encryption settings for the restored table.
|
3208
3259
|
*/
|
@@ -3391,6 +3442,7 @@ declare namespace DynamoDB {
|
|
3391
3442
|
* Read IOPs and Write IOPS on the table when the backup was created.
|
3392
3443
|
*/
|
3393
3444
|
ProvisionedThroughput: ProvisionedThroughput;
|
3445
|
+
OnDemandThroughput?: OnDemandThroughput;
|
3394
3446
|
/**
|
3395
3447
|
* Number of items in the table. Note that this is an approximate value.
|
3396
3448
|
*/
|
@@ -3483,6 +3535,7 @@ declare namespace DynamoDB {
|
|
3483
3535
|
*/
|
3484
3536
|
BillingMode?: BillingMode;
|
3485
3537
|
ProvisionedThroughput?: ProvisionedThroughput;
|
3538
|
+
OnDemandThroughput?: OnDemandThroughput;
|
3486
3539
|
SSESpecification?: SSESpecification;
|
3487
3540
|
/**
|
3488
3541
|
* The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.
|
@@ -3582,6 +3635,10 @@ declare namespace DynamoDB {
|
|
3582
3635
|
* Indicates whether deletion protection is enabled (true) or disabled (false) on the table.
|
3583
3636
|
*/
|
3584
3637
|
DeletionProtectionEnabled?: DeletionProtectionEnabled;
|
3638
|
+
/**
|
3639
|
+
* The maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
3640
|
+
*/
|
3641
|
+
OnDemandThroughput?: OnDemandThroughput;
|
3585
3642
|
}
|
3586
3643
|
export type TableId = string;
|
3587
3644
|
export type TableName = string;
|
@@ -3800,7 +3857,11 @@ declare namespace DynamoDB {
|
|
3800
3857
|
/**
|
3801
3858
|
* Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
|
3802
3859
|
*/
|
3803
|
-
ProvisionedThroughput
|
3860
|
+
ProvisionedThroughput?: ProvisionedThroughput;
|
3861
|
+
/**
|
3862
|
+
* Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
3863
|
+
*/
|
3864
|
+
OnDemandThroughput?: OnDemandThroughput;
|
3804
3865
|
}
|
3805
3866
|
export interface UpdateGlobalTableInput {
|
3806
3867
|
/**
|
@@ -3970,6 +4031,10 @@ declare namespace DynamoDB {
|
|
3970
4031
|
* Replica-specific provisioned throughput. If not specified, uses the source table's provisioned throughput settings.
|
3971
4032
|
*/
|
3972
4033
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
4034
|
+
/**
|
4035
|
+
* Overrides the maximum on-demand throughput for the replica table.
|
4036
|
+
*/
|
4037
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
3973
4038
|
/**
|
3974
4039
|
* Replica-specific global secondary index settings.
|
3975
4040
|
*/
|
@@ -4020,6 +4085,10 @@ declare namespace DynamoDB {
|
|
4020
4085
|
* Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
|
4021
4086
|
*/
|
4022
4087
|
DeletionProtectionEnabled?: DeletionProtectionEnabled;
|
4088
|
+
/**
|
4089
|
+
* Updates the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
|
4090
|
+
*/
|
4091
|
+
OnDemandThroughput?: OnDemandThroughput;
|
4023
4092
|
}
|
4024
4093
|
export interface UpdateTableOutput {
|
4025
4094
|
/**
|
package/clients/ec2.d.ts
CHANGED
@@ -1573,11 +1573,11 @@ declare class EC2 extends Service {
|
|
1573
1573
|
*/
|
1574
1574
|
deleteTransitGatewayRoute(callback?: (err: AWSError, data: EC2.Types.DeleteTransitGatewayRouteResult) => void): Request<EC2.Types.DeleteTransitGatewayRouteResult, AWSError>;
|
1575
1575
|
/**
|
1576
|
-
* Deletes the specified transit gateway route table.
|
1576
|
+
* Deletes the specified transit gateway route table. If there are any route tables associated with the transit gateway route table, you must first run DisassociateRouteTable before you can delete the transit gateway route table. This removes any route tables associated with the transit gateway route table.
|
1577
1577
|
*/
|
1578
1578
|
deleteTransitGatewayRouteTable(params: EC2.Types.DeleteTransitGatewayRouteTableRequest, callback?: (err: AWSError, data: EC2.Types.DeleteTransitGatewayRouteTableResult) => void): Request<EC2.Types.DeleteTransitGatewayRouteTableResult, AWSError>;
|
1579
1579
|
/**
|
1580
|
-
* Deletes the specified transit gateway route table.
|
1580
|
+
* Deletes the specified transit gateway route table. If there are any route tables associated with the transit gateway route table, you must first run DisassociateRouteTable before you can delete the transit gateway route table. This removes any route tables associated with the transit gateway route table.
|
1581
1581
|
*/
|
1582
1582
|
deleteTransitGatewayRouteTable(callback?: (err: AWSError, data: EC2.Types.DeleteTransitGatewayRouteTableResult) => void): Request<EC2.Types.DeleteTransitGatewayRouteTableResult, AWSError>;
|
1583
1583
|
/**
|
@@ -3556,6 +3556,14 @@ declare class EC2 extends Service {
|
|
3556
3556
|
* Gets the default instance metadata service (IMDS) settings that are set at the account level in the specified Amazon Web Services
 Region. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.
|
3557
3557
|
*/
|
3558
3558
|
getInstanceMetadataDefaults(callback?: (err: AWSError, data: EC2.Types.GetInstanceMetadataDefaultsResult) => void): Request<EC2.Types.GetInstanceMetadataDefaultsResult, AWSError>;
|
3559
|
+
/**
|
3560
|
+
* Gets the public endorsement key associated with the Nitro Trusted Platform Module (NitroTPM) for the specified instance.
|
3561
|
+
*/
|
3562
|
+
getInstanceTpmEkPub(params: EC2.Types.GetInstanceTpmEkPubRequest, callback?: (err: AWSError, data: EC2.Types.GetInstanceTpmEkPubResult) => void): Request<EC2.Types.GetInstanceTpmEkPubResult, AWSError>;
|
3563
|
+
/**
|
3564
|
+
* Gets the public endorsement key associated with the Nitro Trusted Platform Module (NitroTPM) for the specified instance.
|
3565
|
+
*/
|
3566
|
+
getInstanceTpmEkPub(callback?: (err: AWSError, data: EC2.Types.GetInstanceTpmEkPubResult) => void): Request<EC2.Types.GetInstanceTpmEkPubResult, AWSError>;
|
3559
3567
|
/**
|
3560
3568
|
* Returns a list of instance types with the specified instance attributes. You can use the response to preview the instance types without launching instances. Note that the response does not consider capacity. When you specify multiple parameters, you get instance types that satisfy all of the specified parameters. If you specify multiple values for a parameter, you get instance types that satisfy any of the specified values. For more information, see Preview instance types with specified attributes, Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide, and Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.
|
3561
3569
|
*/
|
@@ -17621,7 +17629,7 @@ declare namespace EC2 {
|
|
17621
17629
|
*/
|
17622
17630
|
TransitGatewayIds?: TransitGatewayIdStringList;
|
17623
17631
|
/**
|
17624
|
-
* One or more filters. The possible values are: options.propagation-default-route-table-id - The ID of the default propagation route table. options.amazon-side-asn - The private ASN for the Amazon side of a BGP session. options.association-default-route-table-id - The ID of the default association route table. options.auto-accept-shared-attachments - Indicates whether there is automatic acceptance of attachment requests (enable | disable). options.default-route-table-association - Indicates whether resource attachments are automatically associated with the default association route table (enable | disable). options.default-route-table-propagation - Indicates whether resource attachments automatically propagate routes to the default propagation route table (enable | disable). options.dns-support - Indicates whether DNS support is enabled (enable | disable). options.vpn-ecmp-support - Indicates whether Equal Cost Multipath Protocol support is enabled (enable | disable). owner-id - The ID of the Amazon Web Services account that owns the transit gateway. state - The state of the transit gateway (available | deleted | deleting | modifying | pending). transit-gateway-id - The ID of the transit gateway.
|
17632
|
+
* One or more filters. The possible values are: options.propagation-default-route-table-id - The ID of the default propagation route table. options.amazon-side-asn - The private ASN for the Amazon side of a BGP session. options.association-default-route-table-id - The ID of the default association route table. options.auto-accept-shared-attachments - Indicates whether there is automatic acceptance of attachment requests (enable | disable). options.default-route-table-association - Indicates whether resource attachments are automatically associated with the default association route table (enable | disable). options.default-route-table-propagation - Indicates whether resource attachments automatically propagate routes to the default propagation route table (enable | disable). options.dns-support - Indicates whether DNS support is enabled (enable | disable). options.vpn-ecmp-support - Indicates whether Equal Cost Multipath Protocol support is enabled (enable | disable). owner-id - The ID of the Amazon Web Services account that owns the transit gateway. state - The state of the transit gateway (available | deleted | deleting | modifying | pending). transit-gateway-id - The ID of the transit gateway. tag-key - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
|
17625
17633
|
*/
|
17626
17634
|
Filters?: FilterList;
|
17627
17635
|
/**
|
@@ -19555,6 +19563,9 @@ declare namespace EC2 {
|
|
19555
19563
|
export type EgressOnlyInternetGatewayList = EgressOnlyInternetGateway[];
|
19556
19564
|
export type EipAllocationPublicIp = string;
|
19557
19565
|
export type EipAssociationIdList = ElasticIpAssociationId[];
|
19566
|
+
export type EkPubKeyFormat = "der"|"tpmt"|string;
|
19567
|
+
export type EkPubKeyType = "rsa-2048"|"ecc-sec-p384"|string;
|
19568
|
+
export type EkPubKeyValue = string;
|
19558
19569
|
export interface ElasticGpuAssociation {
|
19559
19570
|
/**
|
19560
19571
|
* The ID of the Elastic Graphics accelerator.
|
@@ -21714,6 +21725,42 @@ declare namespace EC2 {
|
|
21714
21725
|
*/
|
21715
21726
|
AccountLevel?: InstanceMetadataDefaultsResponse;
|
21716
21727
|
}
|
21728
|
+
export interface GetInstanceTpmEkPubRequest {
|
21729
|
+
/**
|
21730
|
+
* The ID of the instance for which to get the public endorsement key.
|
21731
|
+
*/
|
21732
|
+
InstanceId: InstanceId;
|
21733
|
+
/**
|
21734
|
+
* The required public endorsement key type.
|
21735
|
+
*/
|
21736
|
+
KeyType: EkPubKeyType;
|
21737
|
+
/**
|
21738
|
+
* The required public endorsement key format. Specify der for a DER-encoded public key that is compatible with OpenSSL. Specify tpmt for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.
|
21739
|
+
*/
|
21740
|
+
KeyFormat: EkPubKeyFormat;
|
21741
|
+
/**
|
21742
|
+
* Specify this parameter to verify whether the request will succeed, without actually making the request. If the request will succeed, the response is DryRunOperation. Otherwise, the response is UnauthorizedOperation.
|
21743
|
+
*/
|
21744
|
+
DryRun?: Boolean;
|
21745
|
+
}
|
21746
|
+
export interface GetInstanceTpmEkPubResult {
|
21747
|
+
/**
|
21748
|
+
* The ID of the instance.
|
21749
|
+
*/
|
21750
|
+
InstanceId?: InstanceId;
|
21751
|
+
/**
|
21752
|
+
* The public endorsement key type.
|
21753
|
+
*/
|
21754
|
+
KeyType?: EkPubKeyType;
|
21755
|
+
/**
|
21756
|
+
* The public endorsement key format.
|
21757
|
+
*/
|
21758
|
+
KeyFormat?: EkPubKeyFormat;
|
21759
|
+
/**
|
21760
|
+
* The public endorsement key material.
|
21761
|
+
*/
|
21762
|
+
KeyValue?: EkPubKeyValue;
|
21763
|
+
}
|
21717
21764
|
export interface GetInstanceTypesFromInstanceRequirementsRequest {
|
21718
21765
|
/**
|
21719
21766
|
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
@@ -27038,7 +27085,7 @@ declare namespace EC2 {
|
|
27038
27085
|
*/
|
27039
27086
|
Description?: String;
|
27040
27087
|
/**
|
27041
|
-
* The device index for the network interface attachment.
|
27088
|
+
* The device index for the network interface attachment. Each network interface requires a device index. If you create a launch template that includes secondary network interfaces but not a primary network interface, then you must add a primary network interface as a launch parameter when you launch an instance from the template.
|
27042
27089
|
*/
|
27043
27090
|
DeviceIndex?: Integer;
|
27044
27091
|
/**
|
@@ -39277,7 +39324,7 @@ declare namespace EC2 {
|
|
39277
39324
|
export type VirtualizationTypeSet = VirtualizationType[];
|
39278
39325
|
export interface Volume {
|
39279
39326
|
/**
|
39280
|
-
* Information about the volume attachments.
|
39327
|
+
* This parameter is not returned by CreateVolume. Information about the volume attachments.
|
39281
39328
|
*/
|
39282
39329
|
Attachments?: VolumeAttachmentList;
|
39283
39330
|
/**
|
@@ -39329,7 +39376,7 @@ declare namespace EC2 {
|
|
39329
39376
|
*/
|
39330
39377
|
VolumeType?: VolumeType;
|
39331
39378
|
/**
|
39332
|
-
* Indicates whether the volume was created using fast snapshot restore.
|
39379
|
+
* This parameter is not returned by CreateVolume. Indicates whether the volume was created using fast snapshot restore.
|
39333
39380
|
*/
|
39334
39381
|
FastRestored?: Boolean;
|
39335
39382
|
/**
|
@@ -39341,7 +39388,7 @@ declare namespace EC2 {
|
|
39341
39388
|
*/
|
39342
39389
|
Throughput?: Integer;
|
39343
39390
|
/**
|
39344
|
-
* Reserved for future use.
|
39391
|
+
* This parameter is not returned by CreateVolume. Reserved for future use.
|
39345
39392
|
*/
|
39346
39393
|
SseType?: SSEType;
|
39347
39394
|
}
|
package/clients/personalize.d.ts
CHANGED
@@ -35,6 +35,14 @@ declare class Personalize extends Service {
|
|
35
35
|
* You incur campaign costs while it is active. To avoid unnecessary costs, make sure to delete the campaign when you are finished. For information about campaign costs, see Amazon Personalize pricing. Creates a campaign that deploys a solution version. When a client calls the GetRecommendations and GetPersonalizedRanking APIs, a campaign is specified in the request. Minimum Provisioned TPS and Auto-Scaling A high minProvisionedTPS will increase your cost. We recommend starting with 1 for minProvisionedTPS (the default). Track your usage using Amazon CloudWatch metrics, and increase the minProvisionedTPS as necessary. When you create an Amazon Personalize campaign, you can specify the minimum provisioned transactions per second (minProvisionedTPS) for the campaign. This is the baseline transaction throughput for the campaign provisioned by Amazon Personalize. It sets the minimum billing charge for the campaign while it is active. A transaction is a single GetRecommendations or GetPersonalizedRanking request. The default minProvisionedTPS is 1. If your TPS increases beyond the minProvisionedTPS, Amazon Personalize auto-scales the provisioned capacity up and down, but never below minProvisionedTPS. There's a short time delay while the capacity is increased that might cause loss of transactions. When your traffic reduces, capacity returns to the minProvisionedTPS. You are charged for the the minimum provisioned TPS or, if your requests exceed the minProvisionedTPS, the actual TPS. The actual TPS is the total number of recommendation requests you make. We recommend starting with a low minProvisionedTPS, track your usage using Amazon CloudWatch metrics, and then increase the minProvisionedTPS as necessary. For more information about campaign costs, see Amazon Personalize pricing. Status A campaign can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING > DELETE IN_PROGRESS To get the campaign status, call DescribeCampaign. Wait until the status of the campaign is ACTIVE before asking the campaign for recommendations. Related APIs ListCampaigns DescribeCampaign UpdateCampaign DeleteCampaign
|
36
36
|
*/
|
37
37
|
createCampaign(callback?: (err: AWSError, data: Personalize.Types.CreateCampaignResponse) => void): Request<Personalize.Types.CreateCampaignResponse, AWSError>;
|
38
|
+
/**
|
39
|
+
* Creates a batch job that deletes all references to specific users from an Amazon Personalize dataset group in batches. You specify the users to delete in a CSV file of userIds in an Amazon S3 bucket. After a job completes, Amazon Personalize no longer trains on the users’ data and no longer considers the users when generating user segments. For more information about creating a data deletion job, see Deleting users. Your input file must be a CSV file with a single USER_ID column that lists the users IDs. For more information about preparing the CSV file, see Preparing your data deletion file and uploading it to Amazon S3. To give Amazon Personalize permission to access your input CSV file of userIds, you must specify an IAM service role that has permission to read from the data source. This role needs GetObject and ListBucket permissions for the bucket and its content. These permissions are the same as importing data. For information on granting access to your Amazon S3 bucket, see Giving Amazon Personalize Access to Amazon S3 Resources. After you create a job, it can take up to a day to delete all references to the users from datasets and models. Until the job completes, Amazon Personalize continues to use the data when training. And if you use a User Segmentation recipe, the users might appear in user segments. Status A data deletion job can have one of the following statuses: PENDING > IN_PROGRESS > COMPLETED -or- FAILED To get the status of the data deletion job, call DescribeDataDeletionJob API operation and specify the Amazon Resource Name (ARN) of the job. If the status is FAILED, the response includes a failureReason key, which describes why the job failed. Related APIs ListDataDeletionJobs DescribeDataDeletionJob
|
40
|
+
*/
|
41
|
+
createDataDeletionJob(params: Personalize.Types.CreateDataDeletionJobRequest, callback?: (err: AWSError, data: Personalize.Types.CreateDataDeletionJobResponse) => void): Request<Personalize.Types.CreateDataDeletionJobResponse, AWSError>;
|
42
|
+
/**
|
43
|
+
* Creates a batch job that deletes all references to specific users from an Amazon Personalize dataset group in batches. You specify the users to delete in a CSV file of userIds in an Amazon S3 bucket. After a job completes, Amazon Personalize no longer trains on the users’ data and no longer considers the users when generating user segments. For more information about creating a data deletion job, see Deleting users. Your input file must be a CSV file with a single USER_ID column that lists the users IDs. For more information about preparing the CSV file, see Preparing your data deletion file and uploading it to Amazon S3. To give Amazon Personalize permission to access your input CSV file of userIds, you must specify an IAM service role that has permission to read from the data source. This role needs GetObject and ListBucket permissions for the bucket and its content. These permissions are the same as importing data. For information on granting access to your Amazon S3 bucket, see Giving Amazon Personalize Access to Amazon S3 Resources. After you create a job, it can take up to a day to delete all references to the users from datasets and models. Until the job completes, Amazon Personalize continues to use the data when training. And if you use a User Segmentation recipe, the users might appear in user segments. Status A data deletion job can have one of the following statuses: PENDING > IN_PROGRESS > COMPLETED -or- FAILED To get the status of the data deletion job, call DescribeDataDeletionJob API operation and specify the Amazon Resource Name (ARN) of the job. If the status is FAILED, the response includes a failureReason key, which describes why the job failed. Related APIs ListDataDeletionJobs DescribeDataDeletionJob
|
44
|
+
*/
|
45
|
+
createDataDeletionJob(callback?: (err: AWSError, data: Personalize.Types.CreateDataDeletionJobResponse) => void): Request<Personalize.Types.CreateDataDeletionJobResponse, AWSError>;
|
38
46
|
/**
|
39
47
|
* Creates an empty dataset and adds it to the specified dataset group. Use CreateDatasetImportJob to import your training data to a dataset. There are 5 types of datasets: Item interactions Items Users Action interactions Actions Each dataset type has an associated schema with required field types. Only the Item interactions dataset is required in order to train a model (also referred to as creating a solution). A dataset can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING > DELETE IN_PROGRESS To get the status of the dataset, call DescribeDataset. Related APIs CreateDatasetGroup ListDatasets DescribeDataset DeleteDataset
|
40
48
|
*/
|
@@ -227,6 +235,14 @@ declare class Personalize extends Service {
|
|
227
235
|
* Describes the given campaign, including its status. A campaign can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING > DELETE IN_PROGRESS When the status is CREATE FAILED, the response includes the failureReason key, which describes why. For more information on campaigns, see CreateCampaign.
|
228
236
|
*/
|
229
237
|
describeCampaign(callback?: (err: AWSError, data: Personalize.Types.DescribeCampaignResponse) => void): Request<Personalize.Types.DescribeCampaignResponse, AWSError>;
|
238
|
+
/**
|
239
|
+
* Describes the data deletion job created by CreateDataDeletionJob, including the job status.
|
240
|
+
*/
|
241
|
+
describeDataDeletionJob(params: Personalize.Types.DescribeDataDeletionJobRequest, callback?: (err: AWSError, data: Personalize.Types.DescribeDataDeletionJobResponse) => void): Request<Personalize.Types.DescribeDataDeletionJobResponse, AWSError>;
|
242
|
+
/**
|
243
|
+
* Describes the data deletion job created by CreateDataDeletionJob, including the job status.
|
244
|
+
*/
|
245
|
+
describeDataDeletionJob(callback?: (err: AWSError, data: Personalize.Types.DescribeDataDeletionJobResponse) => void): Request<Personalize.Types.DescribeDataDeletionJobResponse, AWSError>;
|
230
246
|
/**
|
231
247
|
* Describes the given dataset. For more information on datasets, see CreateDataset.
|
232
248
|
*/
|
@@ -363,6 +379,14 @@ declare class Personalize extends Service {
|
|
363
379
|
* Returns a list of campaigns that use the given solution. When a solution is not specified, all the campaigns associated with the account are listed. The response provides the properties for each campaign, including the Amazon Resource Name (ARN). For more information on campaigns, see CreateCampaign.
|
364
380
|
*/
|
365
381
|
listCampaigns(callback?: (err: AWSError, data: Personalize.Types.ListCampaignsResponse) => void): Request<Personalize.Types.ListCampaignsResponse, AWSError>;
|
382
|
+
/**
|
383
|
+
* Returns a list of data deletion jobs for a dataset group ordered by creation time, with the most recent first. When a dataset group is not specified, all the data deletion jobs associated with the account are listed. The response provides the properties for each job, including the Amazon Resource Name (ARN). For more information on data deletion jobs, see Deleting users.
|
384
|
+
*/
|
385
|
+
listDataDeletionJobs(params: Personalize.Types.ListDataDeletionJobsRequest, callback?: (err: AWSError, data: Personalize.Types.ListDataDeletionJobsResponse) => void): Request<Personalize.Types.ListDataDeletionJobsResponse, AWSError>;
|
386
|
+
/**
|
387
|
+
* Returns a list of data deletion jobs for a dataset group ordered by creation time, with the most recent first. When a dataset group is not specified, all the data deletion jobs associated with the account are listed. The response provides the properties for each job, including the Amazon Resource Name (ARN). For more information on data deletion jobs, see Deleting users.
|
388
|
+
*/
|
389
|
+
listDataDeletionJobs(callback?: (err: AWSError, data: Personalize.Types.ListDataDeletionJobsResponse) => void): Request<Personalize.Types.ListDataDeletionJobsResponse, AWSError>;
|
366
390
|
/**
|
367
391
|
* Returns a list of dataset export jobs that use the given dataset. When a dataset is not specified, all the dataset export jobs associated with the account are listed. The response provides the properties for each dataset export job, including the Amazon Resource Name (ARN). For more information on dataset export jobs, see CreateDatasetExportJob. For more information on datasets, see CreateDataset.
|
368
392
|
*/
|
@@ -1090,6 +1114,34 @@ declare namespace Personalize {
|
|
1090
1114
|
*/
|
1091
1115
|
campaignArn?: Arn;
|
1092
1116
|
}
|
1117
|
+
export interface CreateDataDeletionJobRequest {
|
1118
|
+
/**
|
1119
|
+
* The name for the data deletion job.
|
1120
|
+
*/
|
1121
|
+
jobName: Name;
|
1122
|
+
/**
|
1123
|
+
* The Amazon Resource Name (ARN) of the dataset group that has the datasets you want to delete records from.
|
1124
|
+
*/
|
1125
|
+
datasetGroupArn: Arn;
|
1126
|
+
/**
|
1127
|
+
* The Amazon S3 bucket that contains the list of userIds of the users to delete.
|
1128
|
+
*/
|
1129
|
+
dataSource: DataSource;
|
1130
|
+
/**
|
1131
|
+
* The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.
|
1132
|
+
*/
|
1133
|
+
roleArn: RoleArn;
|
1134
|
+
/**
|
1135
|
+
* A list of tags to apply to the data deletion job.
|
1136
|
+
*/
|
1137
|
+
tags?: Tags;
|
1138
|
+
}
|
1139
|
+
export interface CreateDataDeletionJobResponse {
|
1140
|
+
/**
|
1141
|
+
* The Amazon Resource Name (ARN) of the data deletion job.
|
1142
|
+
*/
|
1143
|
+
dataDeletionJobArn?: Arn;
|
1144
|
+
}
|
1093
1145
|
export interface CreateDatasetExportJobRequest {
|
1094
1146
|
/**
|
1095
1147
|
* The name for the dataset export job.
|
@@ -1406,9 +1458,79 @@ declare namespace Personalize {
|
|
1406
1458
|
*/
|
1407
1459
|
solutionVersionArn?: Arn;
|
1408
1460
|
}
|
1461
|
+
export interface DataDeletionJob {
|
1462
|
+
/**
|
1463
|
+
* The name of the data deletion job.
|
1464
|
+
*/
|
1465
|
+
jobName?: Name;
|
1466
|
+
/**
|
1467
|
+
* The Amazon Resource Name (ARN) of the data deletion job.
|
1468
|
+
*/
|
1469
|
+
dataDeletionJobArn?: Arn;
|
1470
|
+
/**
|
1471
|
+
* The Amazon Resource Name (ARN) of the dataset group the job deletes records from.
|
1472
|
+
*/
|
1473
|
+
datasetGroupArn?: Arn;
|
1474
|
+
dataSource?: DataSource;
|
1475
|
+
/**
|
1476
|
+
* The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.
|
1477
|
+
*/
|
1478
|
+
roleArn?: RoleArn;
|
1479
|
+
/**
|
1480
|
+
* The status of the data deletion job. A data deletion job can have one of the following statuses: PENDING > IN_PROGRESS > COMPLETED -or- FAILED
|
1481
|
+
*/
|
1482
|
+
status?: Status;
|
1483
|
+
/**
|
1484
|
+
* The number of records deleted by a COMPLETED job.
|
1485
|
+
*/
|
1486
|
+
numDeleted?: Integer;
|
1487
|
+
/**
|
1488
|
+
* The creation date and time (in Unix time) of the data deletion job.
|
1489
|
+
*/
|
1490
|
+
creationDateTime?: _Date;
|
1491
|
+
/**
|
1492
|
+
* The date and time (in Unix time) the data deletion job was last updated.
|
1493
|
+
*/
|
1494
|
+
lastUpdatedDateTime?: _Date;
|
1495
|
+
/**
|
1496
|
+
* If a data deletion job fails, provides the reason why.
|
1497
|
+
*/
|
1498
|
+
failureReason?: FailureReason;
|
1499
|
+
}
|
1500
|
+
export interface DataDeletionJobSummary {
|
1501
|
+
/**
|
1502
|
+
* The Amazon Resource Name (ARN) of the data deletion job.
|
1503
|
+
*/
|
1504
|
+
dataDeletionJobArn?: Arn;
|
1505
|
+
/**
|
1506
|
+
* The Amazon Resource Name (ARN) of the dataset group the job deleted records from.
|
1507
|
+
*/
|
1508
|
+
datasetGroupArn?: Arn;
|
1509
|
+
/**
|
1510
|
+
* The name of the data deletion job.
|
1511
|
+
*/
|
1512
|
+
jobName?: Name;
|
1513
|
+
/**
|
1514
|
+
* The status of the data deletion job. A data deletion job can have one of the following statuses: PENDING > IN_PROGRESS > COMPLETED -or- FAILED
|
1515
|
+
*/
|
1516
|
+
status?: Status;
|
1517
|
+
/**
|
1518
|
+
* The creation date and time (in Unix time) of the data deletion job.
|
1519
|
+
*/
|
1520
|
+
creationDateTime?: _Date;
|
1521
|
+
/**
|
1522
|
+
* The date and time (in Unix time) the data deletion job was last updated.
|
1523
|
+
*/
|
1524
|
+
lastUpdatedDateTime?: _Date;
|
1525
|
+
/**
|
1526
|
+
* If a data deletion job fails, provides the reason why.
|
1527
|
+
*/
|
1528
|
+
failureReason?: FailureReason;
|
1529
|
+
}
|
1530
|
+
export type DataDeletionJobs = DataDeletionJobSummary[];
|
1409
1531
|
export interface DataSource {
|
1410
1532
|
/**
|
1411
|
-
*
|
1533
|
+
* For dataset import jobs, the path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For data deletion jobs, the path to the Amazon S3 bucket that stores the list of records to delete. For example: s3://bucket-name/folder-name/fileName.csv If your CSV files are in a folder in your Amazon S3 bucket and you want your import job or data deletion job to consider multiple files, you can specify the path to the folder. With a data deletion job, Amazon Personalize uses all files in the folder and any sub folder. Use the following syntax with a / after the folder name: s3://bucket-name/folder-name/
|
1412
1534
|
*/
|
1413
1535
|
dataLocation?: S3Location;
|
1414
1536
|
}
|
@@ -1940,6 +2062,18 @@ declare namespace Personalize {
|
|
1940
2062
|
*/
|
1941
2063
|
campaign?: Campaign;
|
1942
2064
|
}
|
2065
|
+
export interface DescribeDataDeletionJobRequest {
|
2066
|
+
/**
|
2067
|
+
* The Amazon Resource Name (ARN) of the data deletion job.
|
2068
|
+
*/
|
2069
|
+
dataDeletionJobArn: Arn;
|
2070
|
+
}
|
2071
|
+
export interface DescribeDataDeletionJobResponse {
|
2072
|
+
/**
|
2073
|
+
* Information about the data deletion job, including the status. The status is one of the following values: PENDING IN_PROGRESS COMPLETED FAILED
|
2074
|
+
*/
|
2075
|
+
dataDeletionJob?: DataDeletionJob;
|
2076
|
+
}
|
1943
2077
|
export interface DescribeDatasetExportJobRequest {
|
1944
2078
|
/**
|
1945
2079
|
* The Amazon Resource Name (ARN) of the dataset export job to describe.
|
@@ -2333,6 +2467,7 @@ declare namespace Personalize {
|
|
2333
2467
|
export type HyperParameters = {[key: string]: ParameterValue};
|
2334
2468
|
export type ImportMode = "FULL"|"INCREMENTAL"|string;
|
2335
2469
|
export type IngestionMode = "BULK"|"PUT"|"ALL"|string;
|
2470
|
+
export type Integer = number;
|
2336
2471
|
export interface IntegerHyperParameterRange {
|
2337
2472
|
/**
|
2338
2473
|
* The name of the hyperparameter.
|
@@ -2424,6 +2559,30 @@ declare namespace Personalize {
|
|
2424
2559
|
*/
|
2425
2560
|
nextToken?: NextToken;
|
2426
2561
|
}
|
2562
|
+
export interface ListDataDeletionJobsRequest {
|
2563
|
+
/**
|
2564
|
+
* The Amazon Resource Name (ARN) of the dataset group to list data deletion jobs for.
|
2565
|
+
*/
|
2566
|
+
datasetGroupArn?: Arn;
|
2567
|
+
/**
|
2568
|
+
* A token returned from the previous call to ListDataDeletionJobs for getting the next set of jobs (if they exist).
|
2569
|
+
*/
|
2570
|
+
nextToken?: NextToken;
|
2571
|
+
/**
|
2572
|
+
* The maximum number of data deletion jobs to return.
|
2573
|
+
*/
|
2574
|
+
maxResults?: MaxResults;
|
2575
|
+
}
|
2576
|
+
export interface ListDataDeletionJobsResponse {
|
2577
|
+
/**
|
2578
|
+
* The list of data deletion jobs.
|
2579
|
+
*/
|
2580
|
+
dataDeletionJobs?: DataDeletionJobs;
|
2581
|
+
/**
|
2582
|
+
* A token for getting the next set of data deletion jobs (if they exist).
|
2583
|
+
*/
|
2584
|
+
nextToken?: NextToken;
|
2585
|
+
}
|
2427
2586
|
export interface ListDatasetExportJobsRequest {
|
2428
2587
|
/**
|
2429
2588
|
* The Amazon Resource Name (ARN) of the dataset to list the dataset export jobs for.
|