cdk-lambda-subminute 2.0.409 → 2.0.411

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.
@@ -3239,7 +3239,7 @@ declare namespace CodeBuild {
3239
3239
  export type WebhookBuildType = "BUILD"|"BUILD_BATCH"|string;
3240
3240
  export interface WebhookFilter {
3241
3241
  /**
3242
- * The type of webhook filter. There are six webhook filter types: EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, and COMMIT_MESSAGE. EVENT A webhook event triggers a build when the provided pattern matches one of six event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The EVENT patterns are specified as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters all push, pull request created, and pull request updated events. The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise only. ACTOR_ACCOUNT_ID A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression pattern. HEAD_REF A webhook event triggers a build when the head reference matches the regular expression pattern. For example, refs/heads/branch-name and refs/tags/tag-name. Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. BASE_REF A webhook event triggers a build when the base reference matches the regular expression pattern. For example, refs/heads/branch-name. Works with pull request events only. FILE_PATH A webhook triggers a build when the path of a changed file matches the regular expression pattern. Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. COMMIT_MESSAGE A webhook triggers a build when the head commit message matches the regular expression pattern. Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
3242
+ * The type of webhook filter. There are eight webhook filter types: EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, COMMIT_MESSAGE, TAG_NAME, and RELEASE_NAME. EVENT A webhook event triggers a build when the provided pattern matches one of eight event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, PULL_REQUEST_MERGED, RELEASED, and PRERELEASED. The EVENT patterns are specified as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters all push, pull request created, and pull request updated events. The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise only. The RELEASED and PRERELEASED work with GitHub only. ACTOR_ACCOUNT_ID A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression pattern. HEAD_REF A webhook event triggers a build when the head reference matches the regular expression pattern. For example, refs/heads/branch-name and refs/tags/tag-name. Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. BASE_REF A webhook event triggers a build when the base reference matches the regular expression pattern. For example, refs/heads/branch-name. Works with pull request events only. FILE_PATH A webhook triggers a build when the path of a changed file matches the regular expression pattern. Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. COMMIT_MESSAGE A webhook triggers a build when the head commit message matches the regular expression pattern. Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. TAG_NAME A webhook triggers a build when the tag name of the release matches the regular expression pattern. Works with RELEASED and PRERELEASED events only. RELEASE_NAME A webhook triggers a build when the release name matches the regular expression pattern. Works with RELEASED and PRERELEASED events only.
3243
3243
  */
3244
3244
  type: WebhookFilterType;
3245
3245
  /**
@@ -2318,7 +2318,7 @@ declare namespace Connect {
2318
2318
  */
2319
2319
  InstanceId: InstanceId;
2320
2320
  /**
2321
- * A valid resource type.
2321
+ * A valid resource type. To enable streaming for real-time analysis of contacts, use the following types: For chat contacts, use REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS. For voice contacts, use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS. REAL_TIME_CONTACT_ANALYSIS_SEGMENTS is deprecated, but it is still supported and will apply only to VOICE channel contacts. Use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS for voice contacts moving forward. If you have previously associated a stream with REAL_TIME_CONTACT_ANALYSIS_SEGMENTS, no action is needed to update the stream to REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS.
2322
2322
  */
2323
2323
  ResourceType: InstanceStorageResourceType;
2324
2324
  /**
@@ -6490,7 +6490,7 @@ declare namespace Connect {
6490
6490
  KinesisFirehoseConfig?: KinesisFirehoseConfig;
6491
6491
  }
6492
6492
  export type InstanceStorageConfigs = InstanceStorageConfig[];
6493
- export type InstanceStorageResourceType = "CHAT_TRANSCRIPTS"|"CALL_RECORDINGS"|"SCHEDULED_REPORTS"|"MEDIA_STREAMS"|"CONTACT_TRACE_RECORDS"|"AGENT_EVENTS"|"REAL_TIME_CONTACT_ANALYSIS_SEGMENTS"|"ATTACHMENTS"|"CONTACT_EVALUATIONS"|"SCREEN_RECORDINGS"|string;
6493
+ export type InstanceStorageResourceType = "CHAT_TRANSCRIPTS"|"CALL_RECORDINGS"|"SCHEDULED_REPORTS"|"MEDIA_STREAMS"|"CONTACT_TRACE_RECORDS"|"AGENT_EVENTS"|"REAL_TIME_CONTACT_ANALYSIS_SEGMENTS"|"ATTACHMENTS"|"CONTACT_EVALUATIONS"|"SCREEN_RECORDINGS"|"REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS"|"REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS"|string;
6494
6494
  export interface InstanceSummary {
6495
6495
  /**
6496
6496
  * The identifier of the instance.
@@ -78,6 +78,14 @@ declare class DynamoDB extends DynamoDBCustomizations {
78
78
  * Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value. In addition to deleting an item, you can also return the item's attribute values in the same operation, using the ReturnValues parameter. Unless you specify conditions, the DeleteItem is an idempotent operation; running it multiple times on the same item or attribute does not result in an error response. Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted.
79
79
  */
80
80
  deleteItem(callback?: (err: AWSError, data: DynamoDB.Types.DeleteItemOutput) => void): Request<DynamoDB.Types.DeleteItemOutput, AWSError>;
81
+ /**
82
+ * Deletes the resource-based policy attached to the resource, which can be a table or stream. DeleteResourcePolicy is an idempotent operation; running it multiple times on the same resource doesn't result in an error response, unless you specify an ExpectedRevisionId, which will then return a PolicyNotFoundException. To make sure that you don't inadvertently lock yourself out of your own resources, the root principal in your Amazon Web Services account can perform DeleteResourcePolicy requests, even if your resource-based policy explicitly denies the root principal's access. DeleteResourcePolicy is an asynchronous operation. If you issue a GetResourcePolicy request immediately after running the DeleteResourcePolicy request, DynamoDB might still return the deleted policy. This is because the policy for your resource might not have been deleted yet. Wait for a few seconds, and then try the GetResourcePolicy request again.
83
+ */
84
+ deleteResourcePolicy(params: DynamoDB.Types.DeleteResourcePolicyInput, callback?: (err: AWSError, data: DynamoDB.Types.DeleteResourcePolicyOutput) => void): Request<DynamoDB.Types.DeleteResourcePolicyOutput, AWSError>;
85
+ /**
86
+ * Deletes the resource-based policy attached to the resource, which can be a table or stream. DeleteResourcePolicy is an idempotent operation; running it multiple times on the same resource doesn't result in an error response, unless you specify an ExpectedRevisionId, which will then return a PolicyNotFoundException. To make sure that you don't inadvertently lock yourself out of your own resources, the root principal in your Amazon Web Services account can perform DeleteResourcePolicy requests, even if your resource-based policy explicitly denies the root principal's access. DeleteResourcePolicy is an asynchronous operation. If you issue a GetResourcePolicy request immediately after running the DeleteResourcePolicy request, DynamoDB might still return the deleted policy. This is because the policy for your resource might not have been deleted yet. Wait for a few seconds, and then try the GetResourcePolicy request again.
87
+ */
88
+ deleteResourcePolicy(callback?: (err: AWSError, data: DynamoDB.Types.DeleteResourcePolicyOutput) => void): Request<DynamoDB.Types.DeleteResourcePolicyOutput, AWSError>;
81
89
  /**
82
90
  * The DeleteTable operation deletes a table and all of its items. After a DeleteTable request, the specified table is in the DELETING state until DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete it. If a table is in CREATING or UPDATING states, then DynamoDB returns a ResourceInUseException. If the specified table does not exist, DynamoDB returns a ResourceNotFoundException. If table is already in the DELETING state, no error is returned. This operation only applies to Version 2019.11.21 (Current) of global tables. DynamoDB might continue to accept data read and write operations, such as GetItem and PutItem, on a table in the DELETING state until the table deletion is complete. When you delete a table, any indexes on that table are also deleted. If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes into the DISABLED state, and the stream is automatically deleted after 24 hours. Use the DescribeTable action to check the status of the table.
83
91
  */
@@ -238,6 +246,14 @@ declare class DynamoDB extends DynamoDBCustomizations {
238
246
  * The GetItem operation returns a set of attributes for the item with the given primary key. If there is no matching item, GetItem does not return any data and there will be no Item element in the response. GetItem provides an eventually consistent read by default. If your application requires a strongly consistent read, set ConsistentRead to true. Although a strongly consistent read might take more time than an eventually consistent read, it always returns the last updated value.
239
247
  */
240
248
  getItem(callback?: (err: AWSError, data: DynamoDB.Types.GetItemOutput) => void): Request<DynamoDB.Types.GetItemOutput, AWSError>;
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.
251
+ */
252
+ getResourcePolicy(params: DynamoDB.Types.GetResourcePolicyInput, callback?: (err: AWSError, data: DynamoDB.Types.GetResourcePolicyOutput) => void): Request<DynamoDB.Types.GetResourcePolicyOutput, AWSError>;
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.
255
+ */
256
+ getResourcePolicy(callback?: (err: AWSError, data: DynamoDB.Types.GetResourcePolicyOutput) => void): Request<DynamoDB.Types.GetResourcePolicyOutput, AWSError>;
241
257
  /**
242
258
  * Imports table data from an S3 bucket.
243
259
  */
@@ -310,6 +326,14 @@ declare class DynamoDB extends DynamoDBCustomizations {
310
326
  * Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the ReturnValues parameter. When you add an item, the primary key attributes are the only required attributes. Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index. Set type attributes cannot be empty. Invalid Requests with empty values will be rejected with a ValidationException exception. To prevent a new item from replacing an existing item, use a conditional expression that contains the attribute_not_exists function with the name of the attribute being used as the partition key for the table. Since every record must contain that attribute, the attribute_not_exists function will only succeed if no matching item exists. For more information about PutItem, see Working with Items in the Amazon DynamoDB Developer Guide.
311
327
  */
312
328
  putItem(callback?: (err: AWSError, data: DynamoDB.Types.PutItemOutput) => void): Request<DynamoDB.Types.PutItemOutput, AWSError>;
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.
331
+ */
332
+ putResourcePolicy(params: DynamoDB.Types.PutResourcePolicyInput, callback?: (err: AWSError, data: DynamoDB.Types.PutResourcePolicyOutput) => void): Request<DynamoDB.Types.PutResourcePolicyOutput, AWSError>;
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.
335
+ */
336
+ putResourcePolicy(callback?: (err: AWSError, data: DynamoDB.Types.PutResourcePolicyOutput) => void): Request<DynamoDB.Types.PutResourcePolicyOutput, AWSError>;
313
337
  /**
314
338
  * You must provide the name of the partition key attribute and a single value for that attribute. Query returns all items with that partition key value. Optionally, you can provide a sort key attribute and use a comparison operator to refine the search results. Use the KeyConditionExpression parameter to provide a specific value for the partition key. The Query operation will return all of the items from the table or index with that partition key value. You can optionally narrow the scope of the Query operation by specifying a sort key value and a comparison operator in KeyConditionExpression. To further refine the Query results, you can optionally provide a FilterExpression. A FilterExpression determines which items within the results should be returned to you. All of the other results are discarded. A Query operation always returns a result set. If no matching items are found, the result set will be empty. Queries that do not return results consume the minimum number of read capacity units for that type of read operation. DynamoDB calculates the number of read capacity units consumed based on item size, not on the amount of data that is returned to an application. The number of capacity units consumed will be the same whether you request all of the attributes (the default behavior) or just some of them (using a projection expression). The number will also be the same whether or not you use a FilterExpression. Query results are always sorted by the sort key value. If the data type of the sort key is Number, the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes. By default, the sort order is ascending. To reverse the order, set the ScanIndexForward parameter to false. A single Query operation will read up to the maximum number of items set (if using the Limit parameter) or a maximum of 1 MB of data and then apply any filtering to the results using FilterExpression. If LastEvaluatedKey is present in the response, you will need to paginate the result set. For more information, see Paginating the Results in the Amazon DynamoDB Developer Guide. FilterExpression is applied after a Query finishes, but before the results are returned. A FilterExpression cannot contain partition key or sort key attributes. You need to specify those attributes in the KeyConditionExpression. A Query operation can return an empty result set and a LastEvaluatedKey if all the items read for the page of results are filtered out. You can query a table, a local secondary index, or a global secondary index. For a query on a table or on a local secondary index, you can set the ConsistentRead parameter to true and obtain a strongly consistent result. Global secondary indexes support eventually consistent reads only, so do not specify ConsistentRead when querying a global secondary index.
315
339
  */
@@ -423,11 +447,11 @@ declare class DynamoDB extends DynamoDBCustomizations {
423
447
  */
424
448
  updateKinesisStreamingDestination(callback?: (err: AWSError, data: DynamoDB.Types.UpdateKinesisStreamingDestinationOutput) => void): Request<DynamoDB.Types.UpdateKinesisStreamingDestinationOutput, AWSError>;
425
449
  /**
426
- * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. This operation only applies to Version 2019.11.21 (Current) of global tables. You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Remove a global secondary index from the table. Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it's executing, the table status changes from ACTIVE to UPDATING. While it's UPDATING, you can't issue another UpdateTable request on the base table nor any replicas. When the table returns to the ACTIVE state, the UpdateTable operation is complete.
450
+ * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. This operation only applies to Version 2019.11.21 (Current) of global tables. You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Remove a global secondary index from the table. Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it's executing, the table status changes from ACTIVE to UPDATING. While it's UPDATING, you can't issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete.
427
451
  */
428
452
  updateTable(params: DynamoDB.Types.UpdateTableInput, callback?: (err: AWSError, data: DynamoDB.Types.UpdateTableOutput) => void): Request<DynamoDB.Types.UpdateTableOutput, AWSError>;
429
453
  /**
430
- * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. This operation only applies to Version 2019.11.21 (Current) of global tables. You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Remove a global secondary index from the table. Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it's executing, the table status changes from ACTIVE to UPDATING. While it's UPDATING, you can't issue another UpdateTable request on the base table nor any replicas. When the table returns to the ACTIVE state, the UpdateTable operation is complete.
454
+ * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. This operation only applies to Version 2019.11.21 (Current) of global tables. You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Remove a global secondary index from the table. Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it's executing, the table status changes from ACTIVE to UPDATING. While it's UPDATING, you can't issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete.
431
455
  */
432
456
  updateTable(callback?: (err: AWSError, data: DynamoDB.Types.UpdateTableOutput) => void): Request<DynamoDB.Types.UpdateTableOutput, AWSError>;
433
457
  /**
@@ -771,14 +795,14 @@ declare namespace DynamoDB {
771
795
  }
772
796
  export interface BatchGetItemInput {
773
797
  /**
774
- * A map of one or more table names and, for each table, a map that describes one or more items to retrieve from that table. Each table name can be used only once per BatchGetItem request. Each element in the map of items to retrieve consists of the following: ConsistentRead - If true, a strongly consistent read is used; if false (the default), an eventually consistent read is used. ExpressionAttributeNames - One or more substitution tokens for attribute names in the ProjectionExpression parameter. The following are some use cases for using ExpressionAttributeNames: To access an attribute whose name conflicts with a DynamoDB reserved word. To create a placeholder for repeating occurrences of an attribute name in an expression. To prevent special characters in an attribute name from being misinterpreted in an expression. Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name: Percentile The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames: {"#P":"Percentile"} You could then use this substitution in an expression, as in this example: #P = :val Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime. For more information about expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. Keys - An array of primary key attribute values that define specific items in the table. For each primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide the partition key value. For a composite key, you must provide both the partition key value and the sort key value. ProjectionExpression - A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result. For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. AttributesToGet - This is a legacy parameter. Use ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer Guide.
798
+ * A map of one or more table names or table ARNs and, for each table, a map that describes one or more items to retrieve from that table. Each table name or ARN can be used only once per BatchGetItem request. Each element in the map of items to retrieve consists of the following: ConsistentRead - If true, a strongly consistent read is used; if false (the default), an eventually consistent read is used. ExpressionAttributeNames - One or more substitution tokens for attribute names in the ProjectionExpression parameter. The following are some use cases for using ExpressionAttributeNames: To access an attribute whose name conflicts with a DynamoDB reserved word. To create a placeholder for repeating occurrences of an attribute name in an expression. To prevent special characters in an attribute name from being misinterpreted in an expression. Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name: Percentile The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames: {"#P":"Percentile"} You could then use this substitution in an expression, as in this example: #P = :val Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime. For more information about expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. Keys - An array of primary key attribute values that define specific items in the table. For each primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide the partition key value. For a composite key, you must provide both the partition key value and the sort key value. ProjectionExpression - A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result. For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide. AttributesToGet - This is a legacy parameter. Use ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer Guide.
775
799
  */
776
800
  RequestItems: BatchGetRequestMap;
777
801
  ReturnConsumedCapacity?: ReturnConsumedCapacity;
778
802
  }
779
803
  export interface BatchGetItemOutput {
780
804
  /**
781
- * A map of table name to a list of items. Each object in Responses consists of a table name, along with a map of attribute data consisting of the data type and attribute value.
805
+ * A map of table name or table ARN to a list of items. Each object in Responses consists of a table name or ARN, along with a map of attribute data consisting of the data type and attribute value.
782
806
  */
783
807
  Responses?: BatchGetResponseMap;
784
808
  /**
@@ -841,7 +865,7 @@ declare namespace DynamoDB {
841
865
  }
842
866
  export interface BatchWriteItemInput {
843
867
  /**
844
- * A map of one or more table names and, for each table, a list of operations to be performed (DeleteRequest or PutRequest). Each element in the map consists of the following: DeleteRequest - Perform a DeleteItem operation on the specified item. The item to be deleted is identified by a Key subelement: Key - A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value. For each primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key. PutRequest - Perform a PutItem operation on the specified item. The item to be put is identified by an Item subelement: Item - A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. Attribute values must not be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests that contain empty values are rejected with a ValidationException exception. If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.
868
+ * A map of one or more table names or table ARNs and, for each table, a list of operations to be performed (DeleteRequest or PutRequest). Each element in the map consists of the following: DeleteRequest - Perform a DeleteItem operation on the specified item. The item to be deleted is identified by a Key subelement: Key - A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value. For each primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key. PutRequest - Perform a PutItem operation on the specified item. The item to be put is identified by an Item subelement: Item - A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. Attribute values must not be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests that contain empty values are rejected with a ValidationException exception. If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.
845
869
  */
846
870
  RequestItems: BatchWriteItemRequestMap;
847
871
  ReturnConsumedCapacity?: ReturnConsumedCapacity;
@@ -852,7 +876,7 @@ declare namespace DynamoDB {
852
876
  }
853
877
  export interface BatchWriteItemOutput {
854
878
  /**
855
- * A map of tables and requests against those tables that were not processed. The UnprocessedItems value is in the same form as RequestItems, so you can provide this value directly to a subsequent BatchWriteItem operation. For more information, see RequestItems in the Request Parameters section. Each UnprocessedItems entry consists of a table name and, for that table, a list of operations to perform (DeleteRequest or PutRequest). DeleteRequest - Perform a DeleteItem operation on the specified item. The item to be deleted is identified by a Key subelement: Key - A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value. PutRequest - Perform a PutItem operation on the specified item. The item to be put is identified by an Item subelement: Item - A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. Attribute values must not be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests that contain empty values will be rejected with a ValidationException exception. If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition. If there are no unprocessed items remaining, the response contains an empty UnprocessedItems map.
879
+ * A map of tables and requests against those tables that were not processed. The UnprocessedItems value is in the same form as RequestItems, so you can provide this value directly to a subsequent BatchWriteItem operation. For more information, see RequestItems in the Request Parameters section. Each UnprocessedItems entry consists of a table name or table ARN and, for that table, a list of operations to perform (DeleteRequest or PutRequest). DeleteRequest - Perform a DeleteItem operation on the specified item. The item to be deleted is identified by a Key subelement: Key - A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value. PutRequest - Perform a PutItem operation on the specified item. The item to be put is identified by an Item subelement: Item - A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. Attribute values must not be null; string and binary type attributes must have lengths greater than zero; and set type attributes must not be empty. Requests that contain empty values will be rejected with a ValidationException exception. If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition. If there are no unprocessed items remaining, the response contains an empty UnprocessedItems map.
856
880
  */
857
881
  UnprocessedItems?: BatchWriteItemRequestMap;
858
882
  /**
@@ -915,9 +939,9 @@ declare namespace DynamoDB {
915
939
  */
916
940
  Key: Key;
917
941
  /**
918
- * Name of the table for the check item request.
942
+ * Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
919
943
  */
920
- TableName: TableName;
944
+ TableName: TableArn;
921
945
  /**
922
946
  * A condition that must be satisfied in order for a conditional update to succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.
923
947
  */
@@ -937,12 +961,13 @@ declare namespace DynamoDB {
937
961
  }
938
962
  export type ConditionExpression = string;
939
963
  export type ConditionalOperator = "AND"|"OR"|string;
964
+ export type ConfirmRemoveSelfResourceAccess = boolean;
940
965
  export type ConsistentRead = boolean;
941
966
  export interface ConsumedCapacity {
942
967
  /**
943
- * The name of the table that was affected by the operation.
968
+ * The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.
944
969
  */
945
- TableName?: TableName;
970
+ TableName?: TableArn;
946
971
  /**
947
972
  * The total number of capacity units consumed by the operation.
948
973
  */
@@ -1002,9 +1027,9 @@ declare namespace DynamoDB {
1002
1027
  }
1003
1028
  export interface CreateBackupInput {
1004
1029
  /**
1005
- * The name of the table.
1030
+ * The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1006
1031
  */
1007
- TableName: TableName;
1032
+ TableName: TableArn;
1008
1033
  /**
1009
1034
  * Specified name for the backup.
1010
1035
  */
@@ -1084,9 +1109,9 @@ declare namespace DynamoDB {
1084
1109
  */
1085
1110
  AttributeDefinitions: AttributeDefinitions;
1086
1111
  /**
1087
- * The name of the table to create.
1112
+ * The name of the table to create. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1088
1113
  */
1089
- TableName: TableName;
1114
+ TableName: TableArn;
1090
1115
  /**
1091
1116
  * Specifies the attributes that make up the primary key for a table or an index. The attributes in KeySchema must also be defined in the AttributeDefinitions array. For more information, see Data Model in the Amazon DynamoDB Developer Guide. Each KeySchemaElement in the array is composed of: AttributeName - The name of this key attribute. KeyType - The role that the key attribute will assume: HASH - partition key RANGE - sort key The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from the DynamoDB usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. For a simple primary key (partition key), you must provide exactly one element with a KeyType of HASH. For a composite primary key (partition key and sort key), you must provide exactly two elements, in this order: The first element must have a KeyType of HASH, and the second element must have a KeyType of RANGE. For more information, see Working with Tables in the Amazon DynamoDB Developer Guide.
1092
1117
  */
@@ -1127,6 +1152,10 @@ declare namespace DynamoDB {
1127
1152
  * Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
1128
1153
  */
1129
1154
  DeletionProtectionEnabled?: DeletionProtectionEnabled;
1155
+ /**
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.
1157
+ */
1158
+ ResourcePolicy?: ResourcePolicy;
1130
1159
  }
1131
1160
  export interface CreateTableOutput {
1132
1161
  /**
@@ -1154,9 +1183,9 @@ declare namespace DynamoDB {
1154
1183
  */
1155
1184
  Key: Key;
1156
1185
  /**
1157
- * Name of the table in which the item to be deleted resides.
1186
+ * Name of the table in which the item to be deleted resides. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1158
1187
  */
1159
- TableName: TableName;
1188
+ TableName: TableArn;
1160
1189
  /**
1161
1190
  * A condition that must be satisfied in order for a conditional delete to succeed.
1162
1191
  */
@@ -1194,9 +1223,9 @@ declare namespace DynamoDB {
1194
1223
  }
1195
1224
  export interface DeleteItemInput {
1196
1225
  /**
1197
- * The name of the table from which to delete the item.
1226
+ * The name of the table from which to delete the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1198
1227
  */
1199
- TableName: TableName;
1228
+ TableName: TableArn;
1200
1229
  /**
1201
1230
  * A map of attribute names to AttributeValue objects, representing the primary key of the item to delete. For the primary key, you must provide all of the key attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.
1202
1231
  */
@@ -1267,11 +1296,27 @@ declare namespace DynamoDB {
1267
1296
  */
1268
1297
  Key: Key;
1269
1298
  }
1299
+ export interface DeleteResourcePolicyInput {
1300
+ /**
1301
+ * The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed. The resources you can specify include tables and streams. If you remove the policy of a table, it will also remove the permissions for the table's indexes defined in that policy document. This is because index permissions are defined in the table's policy.
1302
+ */
1303
+ ResourceArn: ResourceArnString;
1304
+ /**
1305
+ * A string value that you can use to conditionally delete your 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, the request will fail and return a PolicyNotFoundException.
1306
+ */
1307
+ ExpectedRevisionId?: PolicyRevisionId;
1308
+ }
1309
+ export interface DeleteResourcePolicyOutput {
1310
+ /**
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.
1312
+ */
1313
+ RevisionId?: PolicyRevisionId;
1314
+ }
1270
1315
  export interface DeleteTableInput {
1271
1316
  /**
1272
- * The name of the table to delete.
1317
+ * The name of the table to delete. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1273
1318
  */
1274
- TableName: TableName;
1319
+ TableName: TableArn;
1275
1320
  }
1276
1321
  export interface DeleteTableOutput {
1277
1322
  /**
@@ -1294,9 +1339,9 @@ declare namespace DynamoDB {
1294
1339
  }
1295
1340
  export interface DescribeContinuousBackupsInput {
1296
1341
  /**
1297
- * Name of the table for which the customer wants to check the continuous backups and point in time recovery settings.
1342
+ * Name of the table for which the customer wants to check the continuous backups and point in time recovery settings. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1298
1343
  */
1299
- TableName: TableName;
1344
+ TableName: TableArn;
1300
1345
  }
1301
1346
  export interface DescribeContinuousBackupsOutput {
1302
1347
  /**
@@ -1306,9 +1351,9 @@ declare namespace DynamoDB {
1306
1351
  }
1307
1352
  export interface DescribeContributorInsightsInput {
1308
1353
  /**
1309
- * The name of the table to describe.
1354
+ * The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1310
1355
  */
1311
- TableName: TableName;
1356
+ TableName: TableArn;
1312
1357
  /**
1313
1358
  * The name of the global secondary index to describe, if applicable.
1314
1359
  */
@@ -1402,9 +1447,9 @@ declare namespace DynamoDB {
1402
1447
  }
1403
1448
  export interface DescribeKinesisStreamingDestinationInput {
1404
1449
  /**
1405
- * The name of the table being described.
1450
+ * The name of the table being described. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1406
1451
  */
1407
- TableName: TableName;
1452
+ TableName: TableArn;
1408
1453
  }
1409
1454
  export interface DescribeKinesisStreamingDestinationOutput {
1410
1455
  /**
@@ -1438,9 +1483,9 @@ declare namespace DynamoDB {
1438
1483
  }
1439
1484
  export interface DescribeTableInput {
1440
1485
  /**
1441
- * The name of the table to describe.
1486
+ * The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1442
1487
  */
1443
- TableName: TableName;
1488
+ TableName: TableArn;
1444
1489
  }
1445
1490
  export interface DescribeTableOutput {
1446
1491
  /**
@@ -1450,9 +1495,9 @@ declare namespace DynamoDB {
1450
1495
  }
1451
1496
  export interface DescribeTableReplicaAutoScalingInput {
1452
1497
  /**
1453
- * The name of the table.
1498
+ * The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1454
1499
  */
1455
- TableName: TableName;
1500
+ TableName: TableArn;
1456
1501
  }
1457
1502
  export interface DescribeTableReplicaAutoScalingOutput {
1458
1503
  /**
@@ -1462,9 +1507,9 @@ declare namespace DynamoDB {
1462
1507
  }
1463
1508
  export interface DescribeTimeToLiveInput {
1464
1509
  /**
1465
- * The name of the table to be described.
1510
+ * The name of the table to be described. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1466
1511
  */
1467
- TableName: TableName;
1512
+ TableName: TableArn;
1468
1513
  }
1469
1514
  export interface DescribeTimeToLiveOutput {
1470
1515
  /**
@@ -1767,9 +1812,9 @@ declare namespace DynamoDB {
1767
1812
  */
1768
1813
  Key: Key;
1769
1814
  /**
1770
- * The name of the table from which to retrieve the specified item.
1815
+ * The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1771
1816
  */
1772
- TableName: TableName;
1817
+ TableName: TableArn;
1773
1818
  /**
1774
1819
  * A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.
1775
1820
  */
@@ -1781,9 +1826,9 @@ declare namespace DynamoDB {
1781
1826
  }
1782
1827
  export interface GetItemInput {
1783
1828
  /**
1784
- * The name of the table containing the requested item.
1829
+ * The name of the table containing the requested item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
1785
1830
  */
1786
- TableName: TableName;
1831
+ TableName: TableArn;
1787
1832
  /**
1788
1833
  * A map of attribute names to AttributeValue objects, representing the primary key of the item to retrieve. For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.
1789
1834
  */
@@ -1816,6 +1861,22 @@ declare namespace DynamoDB {
1816
1861
  */
1817
1862
  ConsumedCapacity?: ConsumedCapacity;
1818
1863
  }
1864
+ export interface GetResourcePolicyInput {
1865
+ /**
1866
+ * The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy is attached. The resources you can specify include tables and streams.
1867
+ */
1868
+ ResourceArn: ResourceArnString;
1869
+ }
1870
+ export interface GetResourcePolicyOutput {
1871
+ /**
1872
+ * The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.
1873
+ */
1874
+ Policy?: ResourcePolicy;
1875
+ /**
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.
1877
+ */
1878
+ RevisionId?: PolicyRevisionId;
1879
+ }
1819
1880
  export interface GlobalSecondaryIndex {
1820
1881
  /**
1821
1882
  * The name of the global secondary index. The name must be unique among all other indexes on this table.
@@ -2229,9 +2290,9 @@ declare namespace DynamoDB {
2229
2290
  export type KinesisDataStreamDestinations = KinesisDataStreamDestination[];
2230
2291
  export interface KinesisStreamingDestinationInput {
2231
2292
  /**
2232
- * The name of the DynamoDB table.
2293
+ * The name of the DynamoDB table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
2233
2294
  */
2234
- TableName: TableName;
2295
+ TableName: TableArn;
2235
2296
  /**
2236
2297
  * The ARN for a Kinesis data stream.
2237
2298
  */
@@ -2263,9 +2324,9 @@ declare namespace DynamoDB {
2263
2324
  export type ListAttributeValue = AttributeValue[];
2264
2325
  export interface ListBackupsInput {
2265
2326
  /**
2266
- * The backups from the table specified by TableName are listed.
2327
+ * Lists the backups from the table specified in TableName. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
2267
2328
  */
2268
- TableName?: TableName;
2329
+ TableName?: TableArn;
2269
2330
  /**
2270
2331
  * Maximum number of backups to return at once.
2271
2332
  */
@@ -2299,9 +2360,9 @@ declare namespace DynamoDB {
2299
2360
  }
2300
2361
  export interface ListContributorInsightsInput {
2301
2362
  /**
2302
- * The name of the table.
2363
+ * The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
2303
2364
  */
2304
- TableName?: TableName;
2365
+ TableName?: TableArn;
2305
2366
  /**
2306
2367
  * A token to for the desired page, if there is one.
2307
2368
  */
@@ -2544,6 +2605,7 @@ declare namespace DynamoDB {
2544
2605
  PointInTimeRecoveryEnabled: BooleanObject;
2545
2606
  }
2546
2607
  export type PointInTimeRecoveryStatus = "ENABLED"|"DISABLED"|string;
2608
+ export type PolicyRevisionId = string;
2547
2609
  export type PositiveIntegerObject = number;
2548
2610
  export type PositiveLongObject = number;
2549
2611
  export type PreparedStatementParameters = AttributeValue[];
@@ -2604,9 +2666,9 @@ declare namespace DynamoDB {
2604
2666
  */
2605
2667
  Item: PutItemInputAttributeMap;
2606
2668
  /**
2607
- * Name of the table in which to write the item.
2669
+ * Name of the table in which to write the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
2608
2670
  */
2609
- TableName: TableName;
2671
+ TableName: TableArn;
2610
2672
  /**
2611
2673
  * A condition that must be satisfied in order for a conditional update to succeed.
2612
2674
  */
@@ -2626,9 +2688,9 @@ declare namespace DynamoDB {
2626
2688
  }
2627
2689
  export interface PutItemInput {
2628
2690
  /**
2629
- * The name of the table to contain the item.
2691
+ * The name of the table to contain the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
2630
2692
  */
2631
- TableName: TableName;
2693
+ TableName: TableArn;
2632
2694
  /**
2633
2695
  * A map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item. You must provide all of the attributes for the primary key. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide both values for both the partition key and the sort key. If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition. Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index. For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer Guide. Each element in the Item map is an AttributeValue object.
2634
2696
  */
@@ -2688,11 +2750,35 @@ declare namespace DynamoDB {
2688
2750
  */
2689
2751
  Item: PutItemInputAttributeMap;
2690
2752
  }
2753
+ export interface PutResourcePolicyInput {
2754
+ /**
2755
+ * The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy will be attached. The resources you can specify include tables and streams. You can control index permissions using the base table's policy. To specify the same permission level for your table and its indexes, you can provide both the table and index Amazon Resource Name (ARN)s in the Resource field of a given Statement in your policy document. Alternatively, to specify different permissions for your table, indexes, or both, you can define multiple Statement fields in your policy document.
2756
+ */
2757
+ ResourceArn: ResourceArnString;
2758
+ /**
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.
2760
+ */
2761
+ Policy: ResourcePolicy;
2762
+ /**
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.
2764
+ */
2765
+ ExpectedRevisionId?: PolicyRevisionId;
2766
+ /**
2767
+ * Set this parameter to true to confirm that you want to remove your permissions to change the policy of this resource in the future.
2768
+ */
2769
+ ConfirmRemoveSelfResourceAccess?: ConfirmRemoveSelfResourceAccess;
2770
+ }
2771
+ export interface PutResourcePolicyOutput {
2772
+ /**
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.
2774
+ */
2775
+ RevisionId?: PolicyRevisionId;
2776
+ }
2691
2777
  export interface QueryInput {
2692
2778
  /**
2693
- * The name of the table containing the requested items.
2779
+ * The name of the table containing the requested items. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
2694
2780
  */
2695
- TableName: TableName;
2781
+ TableName: TableArn;
2696
2782
  /**
2697
2783
  * The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that if you use the IndexName parameter, you must also provide TableName.
2698
2784
  */
@@ -3024,6 +3110,7 @@ declare namespace DynamoDB {
3024
3110
  }
3025
3111
  export type ReplicationGroupUpdateList = ReplicationGroupUpdate[];
3026
3112
  export type ResourceArnString = string;
3113
+ export type ResourcePolicy = string;
3027
3114
  export type RestoreInProgress = boolean;
3028
3115
  export interface RestoreSummary {
3029
3116
  /**
@@ -3188,9 +3275,9 @@ declare namespace DynamoDB {
3188
3275
  export type ScalarAttributeType = "S"|"N"|"B"|string;
3189
3276
  export interface ScanInput {
3190
3277
  /**
3191
- * The name of the table containing the requested items; or, if you provide IndexName, the name of the table to which that index belongs.
3278
+ * The name of the table containing the requested items or if you provide IndexName, the name of the table to which that index belongs. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
3192
3279
  */
3193
- TableName: TableName;
3280
+ TableName: TableArn;
3194
3281
  /**
3195
3282
  * The name of a secondary index to scan. This index can be any local secondary index or global secondary index. Note that if you use the IndexName parameter, you must also provide TableName.
3196
3283
  */
@@ -3640,9 +3727,9 @@ declare namespace DynamoDB {
3640
3727
  */
3641
3728
  UpdateExpression: UpdateExpression;
3642
3729
  /**
3643
- * Name of the table for the UpdateItem request.
3730
+ * Name of the table for the UpdateItem request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
3644
3731
  */
3645
- TableName: TableName;
3732
+ TableName: TableArn;
3646
3733
  /**
3647
3734
  * A condition that must be satisfied in order for a conditional update to succeed.
3648
3735
  */
@@ -3662,9 +3749,9 @@ declare namespace DynamoDB {
3662
3749
  }
3663
3750
  export interface UpdateContinuousBackupsInput {
3664
3751
  /**
3665
- * The name of the table.
3752
+ * The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
3666
3753
  */
3667
- TableName: TableName;
3754
+ TableName: TableArn;
3668
3755
  /**
3669
3756
  * Represents the settings used to enable point in time recovery.
3670
3757
  */
@@ -3678,9 +3765,9 @@ declare namespace DynamoDB {
3678
3765
  }
3679
3766
  export interface UpdateContributorInsightsInput {
3680
3767
  /**
3681
- * The name of the table.
3768
+ * The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
3682
3769
  */
3683
- TableName: TableName;
3770
+ TableName: TableArn;
3684
3771
  /**
3685
3772
  * The global secondary index name, if applicable.
3686
3773
  */
@@ -3769,9 +3856,9 @@ declare namespace DynamoDB {
3769
3856
  }
3770
3857
  export interface UpdateItemInput {
3771
3858
  /**
3772
- * The name of the table containing the item to update.
3859
+ * The name of the table containing the item to update. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
3773
3860
  */
3774
- TableName: TableName;
3861
+ TableName: TableArn;
3775
3862
  /**
3776
3863
  * The primary key of the item to be updated. Each element consists of an attribute name and a value for that attribute. For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.
3777
3864
  */
@@ -3840,11 +3927,11 @@ declare namespace DynamoDB {
3840
3927
  }
3841
3928
  export interface UpdateKinesisStreamingDestinationInput {
3842
3929
  /**
3843
- * The table name for the Kinesis streaming destination input.
3930
+ * The table name for the Kinesis streaming destination input. You can also provide the ARN of the table in this parameter.
3844
3931
  */
3845
- TableName: TableName;
3932
+ TableName: TableArn;
3846
3933
  /**
3847
- * The ARN for the Kinesis stream input.
3934
+ * The Amazon Resource Name (ARN) for the Kinesis stream input.
3848
3935
  */
3849
3936
  StreamArn: StreamArn;
3850
3937
  /**
@@ -3898,9 +3985,9 @@ declare namespace DynamoDB {
3898
3985
  */
3899
3986
  AttributeDefinitions?: AttributeDefinitions;
3900
3987
  /**
3901
- * The name of the table to be updated.
3988
+ * The name of the table to be updated. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
3902
3989
  */
3903
- TableName: TableName;
3990
+ TableName: TableArn;
3904
3991
  /**
3905
3992
  * Controls how you are charged for read and write throughput and how you manage capacity. When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes over the past 30 minutes. PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.
3906
3993
  */
@@ -3946,9 +4033,9 @@ declare namespace DynamoDB {
3946
4033
  */
3947
4034
  GlobalSecondaryIndexUpdates?: GlobalSecondaryIndexAutoScalingUpdateList;
3948
4035
  /**
3949
- * The name of the global table to be updated.
4036
+ * The name of the global table to be updated. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
3950
4037
  */
3951
- TableName: TableName;
4038
+ TableName: TableArn;
3952
4039
  ProvisionedWriteCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate;
3953
4040
  /**
3954
4041
  * Represents the auto scaling settings of replicas of the table that will be modified.
@@ -3963,9 +4050,9 @@ declare namespace DynamoDB {
3963
4050
  }
3964
4051
  export interface UpdateTimeToLiveInput {
3965
4052
  /**
3966
- * The name of the table to be configured.
4053
+ * The name of the table to be configured. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
3967
4054
  */
3968
- TableName: TableName;
4055
+ TableName: TableArn;
3969
4056
  /**
3970
4057
  * Represents the settings used to enable or disable Time to Live for the specified table.
3971
4058
  */