aws-sdk 2.1611.0 → 2.1613.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.
@@ -681,11 +681,11 @@ declare namespace ConnectCases {
681
681
  }
682
682
  export interface DeleteFieldRequest {
683
683
  /**
684
- * The unique identifier of the Cases domain.
684
+ * The unique identifier of the Cases domain.
685
685
  */
686
686
  domainId: DomainId;
687
687
  /**
688
- * The unique identifier of a field.
688
+ * Unique identifier of the field.
689
689
  */
690
690
  fieldId: FieldId;
691
691
  }
@@ -693,7 +693,7 @@ declare namespace ConnectCases {
693
693
  }
694
694
  export interface DeleteLayoutRequest {
695
695
  /**
696
- * The unique identifier of the Cases domain.
696
+ * The unique identifier of the Cases domain.
697
697
  */
698
698
  domainId: DomainId;
699
699
  /**
@@ -705,7 +705,7 @@ declare namespace ConnectCases {
705
705
  }
706
706
  export interface DeleteTemplateRequest {
707
707
  /**
708
- * The unique identifier of the Cases domain.
708
+ * The unique identifier of the Cases domain.
709
709
  */
710
710
  domainId: DomainId;
711
711
  /**
@@ -914,6 +914,19 @@ declare namespace ConnectCases {
914
914
  userArnValue?: String;
915
915
  }
916
916
  export type FieldValueUnionStringValueString = string;
917
+ export type FileArn = string;
918
+ export interface FileContent {
919
+ /**
920
+ * The Amazon Resource Name (ARN) of a File in Amazon Connect.
921
+ */
922
+ fileArn: FileArn;
923
+ }
924
+ export interface FileFilter {
925
+ /**
926
+ * The Amazon Resource Name (ARN) of the file.
927
+ */
928
+ fileArn?: FileArn;
929
+ }
917
930
  export interface GetCaseAuditEventsRequest {
918
931
  /**
919
932
  * A unique identifier of the case.
@@ -1028,11 +1041,11 @@ declare namespace ConnectCases {
1028
1041
  }
1029
1042
  export interface GetFieldResponse {
1030
1043
  /**
1031
- * The timestamp for when the resource was created.
1044
+ * Timestamp at which the resource was created.
1032
1045
  */
1033
1046
  createdTime?: CreatedTime;
1034
1047
  /**
1035
- * Indicates whether the resource has been deleted.
1048
+ * Denotes whether or not the resource has been deleted.
1036
1049
  */
1037
1050
  deleted?: Deleted;
1038
1051
  /**
@@ -1048,7 +1061,7 @@ declare namespace ConnectCases {
1048
1061
  */
1049
1062
  fieldId: FieldId;
1050
1063
  /**
1051
- * The timestamp for when the resource was created or last modified.
1064
+ * Timestamp at which the resource was created or last modified.
1052
1065
  */
1053
1066
  lastModifiedTime?: LastModifiedTime;
1054
1067
  /**
@@ -1084,15 +1097,15 @@ declare namespace ConnectCases {
1084
1097
  */
1085
1098
  content: LayoutContent;
1086
1099
  /**
1087
- * The timestamp for when the resource was created.
1100
+ * Timestamp at which the resource was created.
1088
1101
  */
1089
1102
  createdTime?: CreatedTime;
1090
1103
  /**
1091
- * Indicates whether the resource has been deleted.
1104
+ * Denotes whether or not the resource has been deleted.
1092
1105
  */
1093
1106
  deleted?: Deleted;
1094
1107
  /**
1095
- * The timestamp for when the resource was created or last modified.
1108
+ * Timestamp at which the resource was created or last modified.
1096
1109
  */
1097
1110
  lastModifiedTime?: LastModifiedTime;
1098
1111
  /**
@@ -1124,11 +1137,11 @@ declare namespace ConnectCases {
1124
1137
  }
1125
1138
  export interface GetTemplateResponse {
1126
1139
  /**
1127
- * The timestamp for when the resource was created.
1140
+ * Timestamp at which the resource was created.
1128
1141
  */
1129
1142
  createdTime?: CreatedTime;
1130
1143
  /**
1131
- * Indicates whether the resource has been deleted.
1144
+ * Denotes whether or not the resource has been deleted.
1132
1145
  */
1133
1146
  deleted?: Deleted;
1134
1147
  /**
@@ -1136,7 +1149,7 @@ declare namespace ConnectCases {
1136
1149
  */
1137
1150
  description?: TemplateDescription;
1138
1151
  /**
1139
- * The timestamp for when the resource was created or last modified.
1152
+ * Timestamp at which the resource was created or last modified.
1140
1153
  */
1141
1154
  lastModifiedTime?: LastModifiedTime;
1142
1155
  /**
@@ -1401,6 +1414,10 @@ declare namespace ConnectCases {
1401
1414
  * Represents the content of a contact to be returned to agents.
1402
1415
  */
1403
1416
  contact?: ContactContent;
1417
+ /**
1418
+ * Represents the content of a File to be returned to agents.
1419
+ */
1420
+ file?: FileContent;
1404
1421
  }
1405
1422
  export interface RelatedItemEventIncludedData {
1406
1423
  /**
@@ -1418,8 +1435,12 @@ declare namespace ConnectCases {
1418
1435
  * Object representing a contact in Amazon Connect as an API request field.
1419
1436
  */
1420
1437
  contact?: Contact;
1438
+ /**
1439
+ * A file of related items.
1440
+ */
1441
+ file?: FileContent;
1421
1442
  }
1422
- export type RelatedItemType = "Contact"|"Comment"|string;
1443
+ export type RelatedItemType = "Contact"|"Comment"|"File"|string;
1423
1444
  export interface RelatedItemTypeFilter {
1424
1445
  /**
1425
1446
  * A filter for related items of type Comment.
@@ -1429,6 +1450,10 @@ declare namespace ConnectCases {
1429
1450
  * A filter for related items of type Contact.
1430
1451
  */
1431
1452
  contact?: ContactFilter;
1453
+ /**
1454
+ * A filter for related items of this type of File.
1455
+ */
1456
+ file?: FileFilter;
1432
1457
  }
1433
1458
  export interface RequiredField {
1434
1459
  /**
@@ -452,11 +452,11 @@ declare class DataSync extends Service {
452
452
  */
453
453
  updateLocationNfs(callback?: (err: AWSError, data: DataSync.Types.UpdateLocationNfsResponse) => void): Request<DataSync.Types.UpdateLocationNfsResponse, AWSError>;
454
454
  /**
455
- * Updates some parameters of an existing object storage location that DataSync accesses for a transfer. For information about creating a self-managed object storage location, see Creating a location for object storage.
455
+ * Updates some parameters of an existing DataSync location for an object storage system.
456
456
  */
457
457
  updateLocationObjectStorage(params: DataSync.Types.UpdateLocationObjectStorageRequest, callback?: (err: AWSError, data: DataSync.Types.UpdateLocationObjectStorageResponse) => void): Request<DataSync.Types.UpdateLocationObjectStorageResponse, AWSError>;
458
458
  /**
459
- * Updates some parameters of an existing object storage location that DataSync accesses for a transfer. For information about creating a self-managed object storage location, see Creating a location for object storage.
459
+ * Updates some parameters of an existing DataSync location for an object storage system.
460
460
  */
461
461
  updateLocationObjectStorage(callback?: (err: AWSError, data: DataSync.Types.UpdateLocationObjectStorageResponse) => void): Request<DataSync.Types.UpdateLocationObjectStorageResponse, AWSError>;
462
462
  /**
@@ -945,7 +945,7 @@ declare namespace DataSync {
945
945
  */
946
946
  Tags?: InputTagList;
947
947
  /**
948
- * Specifies a file with the certificates that are used to sign the object storage server's certificate (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The file you specify must include the following: The certificate of the signing certificate authority (CA) Any intermediate certificates base64 encoding A .pem extension The file can be up to 32768 bytes (before base64 encoding). To use this parameter, configure ServerProtocol to HTTPS.
948
+ * Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA). You must specify a single .pem file with a full certificate chain (for example, file:///home/user/.ssh/object_storage_certificates.pem). The certificate chain might include: The object storage system's certificate All intermediate certificates (if there are any) The root certificate of the signing CA You can concatenate your certificates into a .pem file (which can be up to 32768 bytes before base64 encoding). The following example cat command creates an object_storage_certificates.pem file that includes three certificates: cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem &gt; object_storage_certificates.pem To use this parameter, configure ServerProtocol to HTTPS.
949
949
  */
950
950
  ServerCertificate?: ObjectStorageCertificate;
951
951
  }
@@ -1485,7 +1485,7 @@ declare namespace DataSync {
1485
1485
  */
1486
1486
  CreationTime?: Time;
1487
1487
  /**
1488
- * The self-signed certificate that DataSync uses to securely authenticate with your object storage system.
1488
+ * The certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA).
1489
1489
  */
1490
1490
  ServerCertificate?: ObjectStorageCertificate;
1491
1491
  }
@@ -3000,7 +3000,7 @@ declare namespace DataSync {
3000
3000
  */
3001
3001
  ScheduleExpression: ScheduleExpressionCron;
3002
3002
  /**
3003
- * Specifies whether to enable or disable your task schedule. Your schedule is enabled by default, but there can be situations where you need to disable it. For example, you might need to pause a recurring transfer or fix an issue with your task or perform maintenance on your storage system. DataSync might disable your schedule automatically if your task fails repeatedly with the same error. For more information, see TaskScheduleDetails.
3003
+ * Specifies whether to enable or disable your task schedule. Your schedule is enabled by default, but there can be situations where you need to disable it. For example, you might need to pause a recurring transfer to fix an issue with your task or perform maintenance on your storage system. DataSync might disable your schedule automatically if your task fails repeatedly with the same error. For more information, see TaskScheduleDetails.
3004
3004
  */
3005
3005
  Status?: ScheduleStatus;
3006
3006
  }
@@ -3209,7 +3209,7 @@ declare namespace DataSync {
3209
3209
  */
3210
3210
  AgentArns?: AgentArnList;
3211
3211
  /**
3212
- * Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes (before Base64 encoding). To use this parameter, configure ServerProtocol to HTTPS. Updating the certificate doesn't interfere with tasks that you have in progress.
3212
+ * Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA). You must specify a single .pem file with a full certificate chain (for example, file:///home/user/.ssh/object_storage_certificates.pem). The certificate chain might include: The object storage system's certificate All intermediate certificates (if there are any) The root certificate of the signing CA You can concatenate your certificates into a .pem file (which can be up to 32768 bytes before base64 encoding). The following example cat command creates an object_storage_certificates.pem file that includes three certificates: cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem &gt; object_storage_certificates.pem To use this parameter, configure ServerProtocol to HTTPS. Updating this parameter doesn't interfere with tasks that you have in progress.
3213
3213
  */
3214
3214
  ServerCertificate?: ObjectStorageCertificate;
3215
3215
  }
@@ -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, you can assume the policy will start getting 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.
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, you can assume the policy will start getting 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.
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 which 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.
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 which 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.
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 creation 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. You can’t request an increase for this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.
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 are 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.
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 are comparing revision IDs, make sure to always use string comparison logic.
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. 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 you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.
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. 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 put a policy when no policy exists for the resource, specify NO_POLICY for the revision ID.
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 are comparing revision IDs, make sure to always use string comparison logic.
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: 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
@@ -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&#x2028; 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
  */
@@ -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.
@@ -1108,6 +1108,7 @@ declare namespace Inspector2 {
1108
1108
  }
1109
1109
  export type CisNumberFilterList = CisNumberFilter[];
1110
1110
  export type CisOwnerId = string;
1111
+ export type CisReportFormat = "PDF"|"CSV"|string;
1111
1112
  export type CisReportStatus = "SUCCEEDED"|"FAILED"|"IN_PROGRESS"|string;
1112
1113
  export type CisResultStatus = "PASSED"|"FAILED"|"SKIPPED"|string;
1113
1114
  export type CisResultStatusComparison = "EQUALS"|string;
@@ -2821,6 +2822,10 @@ declare namespace Inspector2 {
2821
2822
  export type FreeTrialType = "EC2"|"ECR"|"LAMBDA"|"LAMBDA_CODE"|string;
2822
2823
  export type FunctionName = string;
2823
2824
  export interface GetCisScanReportRequest {
2825
+ /**
2826
+ * The format of the report. Valid values are PDF and CSV. If no value is specified, the report format defaults to PDF.
2827
+ */
2828
+ reportFormat?: CisReportFormat;
2824
2829
  /**
2825
2830
  * The scan ARN.
2826
2831
  */
@@ -2836,7 +2841,7 @@ declare namespace Inspector2 {
2836
2841
  */
2837
2842
  status?: CisReportStatus;
2838
2843
  /**
2839
- * The URL where a PDF of the CIS scan report can be downloaded.
2844
+ * The URL where a PDF or CSV of the CIS scan report can be downloaded.
2840
2845
  */
2841
2846
  url?: String;
2842
2847
  }