From adbb3673a8b76825490524c280589cd5a1d0e16e Mon Sep 17 00:00:00 2001 From: AWS SDK for Ruby Date: Mon, 18 May 2020 18:07:19 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/chime/2018-05-01/api-2.json | 98 +++++ apis/chime/2018-05-01/docs-2.json | 28 ++ apis/dynamodb/2012-08-10/docs-2.json | 16 +- apis/ec2/2016-11-15/api-2.json | 1 + apis/ecs/2014-11-13/api-2.json | 21 + apis/ecs/2014-11-13/docs-2.json | 24 +- apis/macie2/2020-01-01/api-2.json | 2 +- apis/qldb/2019-01-02/api-2.json | 223 ++++++++++ apis/qldb/2019-01-02/docs-2.json | 122 +++++- apis/qldb/2019-01-02/paginators-1.json | 5 + gems/aws-partitions/CHANGELOG.md | 5 + gems/aws-partitions/VERSION | 2 +- gems/aws-partitions/partitions.json | 16 +- gems/aws-sdk-chime/CHANGELOG.md | 5 + gems/aws-sdk-chime/VERSION | 2 +- gems/aws-sdk-chime/lib/aws-sdk-chime.rb | 2 +- .../aws-sdk-chime/lib/aws-sdk-chime/client.rb | 64 ++- .../lib/aws-sdk-chime/client_api.rb | 48 +++ gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb | 68 +++ gems/aws-sdk-cloudfront/CHANGELOG.md | 3 + gems/aws-sdk-cloudfront/VERSION | 2 +- .../lib/aws-sdk-cloudfront.rb | 2 +- .../lib/aws-sdk-cloudfront/client.rb | 2 +- gems/aws-sdk-core/CHANGELOG.md | 3 + gems/aws-sdk-core/VERSION | 2 +- gems/aws-sdk-core/lib/aws-sdk-sts.rb | 2 +- gems/aws-sdk-core/lib/aws-sdk-sts/client.rb | 2 +- gems/aws-sdk-dynamodb/CHANGELOG.md | 5 + gems/aws-sdk-dynamodb/VERSION | 2 +- gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb | 2 +- .../lib/aws-sdk-dynamodb/client.rb | 46 +- .../lib/aws-sdk-dynamodb/table.rb | 4 + .../lib/aws-sdk-dynamodb/types.rb | 5 + gems/aws-sdk-ec2/CHANGELOG.md | 5 + gems/aws-sdk-ec2/VERSION | 2 +- gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb | 2 +- gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb | 5 +- .../aws-sdk-ec2/lib/aws-sdk-ec2/client_api.rb | 2 +- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb | 3 + gems/aws-sdk-ecs/CHANGELOG.md | 5 + gems/aws-sdk-ecs/VERSION | 2 +- gems/aws-sdk-ecs/lib/aws-sdk-ecs.rb | 2 +- gems/aws-sdk-ecs/lib/aws-sdk-ecs/client.rb | 41 +- .../aws-sdk-ecs/lib/aws-sdk-ecs/client_api.rb | 11 + gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb | 135 +++++- gems/aws-sdk-macie2/CHANGELOG.md | 5 + gems/aws-sdk-macie2/VERSION | 2 +- gems/aws-sdk-macie2/lib/aws-sdk-macie2.rb | 2 +- .../lib/aws-sdk-macie2/client.rb | 108 ++--- .../lib/aws-sdk-macie2/client_api.rb | 2 +- .../lib/aws-sdk-macie2/types.rb | 404 +++++++++--------- gems/aws-sdk-qldb/CHANGELOG.md | 5 + gems/aws-sdk-qldb/VERSION | 2 +- gems/aws-sdk-qldb/lib/aws-sdk-qldb.rb | 4 +- gems/aws-sdk-qldb/lib/aws-sdk-qldb/client.rb | 266 +++++++++++- .../lib/aws-sdk-qldb/client_api.rb | 119 ++++++ gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb | 345 ++++++++++++++- gems/aws-sdk-s3/CHANGELOG.md | 5 + gems/aws-sdk-s3/VERSION | 2 +- gems/aws-sdk-s3/aws-sdk-s3.gemspec | 2 +- gems/aws-sdk-s3/lib/aws-sdk-s3.rb | 2 +- gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb | 2 +- 62 files changed, 2006 insertions(+), 320 deletions(-) diff --git a/apis/chime/2018-05-01/api-2.json b/apis/chime/2018-05-01/api-2.json index b31a0f0178e..545b91dd55e 100644 --- a/apis/chime/2018-05-01/api-2.json +++ b/apis/chime/2018-05-01/api-2.json @@ -1667,6 +1667,44 @@ {"shape":"ServiceFailureException"} ] }, + "RedactConversationMessage":{ + "name":"RedactConversationMessage", + "http":{ + "method":"POST", + "requestUri":"/accounts/{accountId}/conversations/{conversationId}/messages/{messageId}?operation=redact", + "responseCode":200 + }, + "input":{"shape":"RedactConversationMessageRequest"}, + "output":{"shape":"RedactConversationMessageResponse"}, + "errors":[ + {"shape":"NotFoundException"}, + {"shape":"ForbiddenException"}, + {"shape":"UnauthorizedClientException"}, + {"shape":"ThrottledClientException"}, + {"shape":"BadRequestException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ServiceFailureException"} + ] + }, + "RedactRoomMessage":{ + "name":"RedactRoomMessage", + "http":{ + "method":"POST", + "requestUri":"/accounts/{accountId}/rooms/{roomId}/messages/{messageId}?operation=redact", + "responseCode":200 + }, + "input":{"shape":"RedactRoomMessageRequest"}, + "output":{"shape":"RedactRoomMessageResponse"}, + "errors":[ + {"shape":"NotFoundException"}, + {"shape":"ForbiddenException"}, + {"shape":"UnauthorizedClientException"}, + {"shape":"ThrottledClientException"}, + {"shape":"BadRequestException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ServiceFailureException"} + ] + }, "RegenerateSecurityToken":{ "name":"RegenerateSecurityToken", "http":{ @@ -4635,6 +4673,66 @@ "Termination":{"shape":"Termination"} } }, + "RedactConversationMessageRequest":{ + "type":"structure", + "required":[ + "AccountId", + "ConversationId", + "MessageId" + ], + "members":{ + "AccountId":{ + "shape":"NonEmptyString", + "location":"uri", + "locationName":"accountId" + }, + "ConversationId":{ + "shape":"NonEmptyString", + "location":"uri", + "locationName":"conversationId" + }, + "MessageId":{ + "shape":"NonEmptyString", + "location":"uri", + "locationName":"messageId" + } + } + }, + "RedactConversationMessageResponse":{ + "type":"structure", + "members":{ + } + }, + "RedactRoomMessageRequest":{ + "type":"structure", + "required":[ + "AccountId", + "RoomId", + "MessageId" + ], + "members":{ + "AccountId":{ + "shape":"NonEmptyString", + "location":"uri", + "locationName":"accountId" + }, + "RoomId":{ + "shape":"NonEmptyString", + "location":"uri", + "locationName":"roomId" + }, + "MessageId":{ + "shape":"NonEmptyString", + "location":"uri", + "locationName":"messageId" + } + } + }, + "RedactRoomMessageResponse":{ + "type":"structure", + "members":{ + } + }, "RegenerateSecurityTokenRequest":{ "type":"structure", "required":[ diff --git a/apis/chime/2018-05-01/docs-2.json b/apis/chime/2018-05-01/docs-2.json index 1a6f7b348f5..7d597be10b6 100644 --- a/apis/chime/2018-05-01/docs-2.json +++ b/apis/chime/2018-05-01/docs-2.json @@ -90,6 +90,8 @@ "PutVoiceConnectorStreamingConfiguration": "

Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming configuration specifies whether media streaming is enabled for sending to Amazon Kinesis. It also sets the retention period, in hours, for the Amazon Kinesis data.

", "PutVoiceConnectorTermination": "

Adds termination settings for the specified Amazon Chime Voice Connector.

", "PutVoiceConnectorTerminationCredentials": "

Adds termination SIP credentials for the specified Amazon Chime Voice Connector.

", + "RedactConversationMessage": "

Redacts the specified message from the specified Amazon Chime conversation.

", + "RedactRoomMessage": "

Redacts the specified message from the specified Amazon Chime chat room.

", "RegenerateSecurityToken": "

Regenerates the security token for a bot.

", "ResetPersonalPIN": "

Resets the personal meeting PIN for the specified user on an Amazon Chime account. Returns the User object with the updated personal meeting PIN.

", "RestorePhoneNumber": "

Moves a phone number from the Deletion queue back into the phone number Inventory.

", @@ -1479,6 +1481,12 @@ "PutVoiceConnectorStreamingConfigurationRequest$VoiceConnectorId": "

The Amazon Chime Voice Connector ID.

", "PutVoiceConnectorTerminationCredentialsRequest$VoiceConnectorId": "

The Amazon Chime Voice Connector ID.

", "PutVoiceConnectorTerminationRequest$VoiceConnectorId": "

The Amazon Chime Voice Connector ID.

", + "RedactConversationMessageRequest$AccountId": "

The Amazon Chime account ID.

", + "RedactConversationMessageRequest$ConversationId": "

The conversation ID.

", + "RedactConversationMessageRequest$MessageId": "

The message ID.

", + "RedactRoomMessageRequest$AccountId": "

The Amazon Chime account ID.

", + "RedactRoomMessageRequest$RoomId": "

The room ID.

", + "RedactRoomMessageRequest$MessageId": "

The message ID.

", "RegenerateSecurityTokenRequest$AccountId": "

The Amazon Chime account ID.

", "RegenerateSecurityTokenRequest$BotId": "

The bot ID.

", "ResetPersonalPINRequest$AccountId": "

The Amazon Chime account ID.

", @@ -1866,6 +1874,26 @@ "refs": { } }, + "RedactConversationMessageRequest": { + "base": null, + "refs": { + } + }, + "RedactConversationMessageResponse": { + "base": null, + "refs": { + } + }, + "RedactRoomMessageRequest": { + "base": null, + "refs": { + } + }, + "RedactRoomMessageResponse": { + "base": null, + "refs": { + } + }, "RegenerateSecurityTokenRequest": { "base": null, "refs": { diff --git a/apis/dynamodb/2012-08-10/docs-2.json b/apis/dynamodb/2012-08-10/docs-2.json index 4a3811e46ae..144954b0b2d 100644 --- a/apis/dynamodb/2012-08-10/docs-2.json +++ b/apis/dynamodb/2012-08-10/docs-2.json @@ -5,7 +5,7 @@ "BatchGetItem": "

The BatchGetItem operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key.

A single operation can retrieve up to 16 MB of data, which can contain as many as 100 items. BatchGetItem returns a partial result if the response size limit is exceeded, the table's provisioned throughput is exceeded, or an internal processing failure occurs. If a partial result is returned, the operation returns a value for UnprocessedKeys. You can use this value to retry the operation starting with the next item to get.

If you request more than 100 items, BatchGetItem returns a ValidationException with the message \"Too many items requested for the BatchGetItem call.\"

For example, if you ask to retrieve 100 items, but each individual item is 300 KB in size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns an appropriate UnprocessedKeys value so you can get the next page of results. If desired, your application can include its own logic to assemble the pages of results into one dataset.

If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchGetItem returns a ProvisionedThroughputExceededException. If at least one of the items is successfully processed, then BatchGetItem completes successfully, while returning the keys of the unread items in UnprocessedKeys.

If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.

For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide.

By default, BatchGetItem performs eventually consistent reads on every table in the request. If you want strongly consistent reads instead, you can set ConsistentRead to true for any or all tables.

In order to minimize response latency, BatchGetItem retrieves items in parallel.

When designing your application, keep in mind that DynamoDB does not return items in any particular order. To help parse the response by item, include the primary key values for the items in your request in the ProjectionExpression parameter.

If a requested item does not exist, it is not returned in the result. Requests for nonexistent items consume the minimum read capacity units according to the type of read. For more information, see Working with Tables in the Amazon DynamoDB Developer Guide.

", "BatchWriteItem": "

The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can write up to 16 MB of data, which can comprise as many as 25 put or delete requests. Individual items to be written can be as large as 400 KB.

BatchWriteItem cannot update items. To update items, use the UpdateItem action.

The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed.

If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem returns a ProvisionedThroughputExceededException.

If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.

For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide.

With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response.

If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application.

Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit.

If one or more of the following is true, DynamoDB rejects the entire batch write operation:

", "CreateBackup": "

Creates a backup for an existing table.

Each time you create an on-demand backup, the entire table data is backed up. There is no limit to the number of on-demand backups that can be taken.

When you create an on-demand backup, a time marker of the request is cataloged, and the backup is created asynchronously, by applying all changes until the time of the request to the last full table snapshot. Backup requests are processed instantaneously and become available for restore within minutes.

You can call CreateBackup at a maximum rate of 50 times per second.

All backups in DynamoDB work without consuming any provisioned throughput on the table.

If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed to contain all data committed to the table up to 14:24:00, and data committed after 14:26:00 will not be. The backup might contain data modifications made between 14:24:00 and 14:26:00. On-demand backup does not support causal consistency.

Along with data, the following are also included on the backups:

", - "CreateGlobalTable": "

Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided Regions.

This method only applies to Version 2017.11.29 of global tables.

If you want to add a new replica table to a global table, each of the following conditions must be true:

If global secondary indexes are specified, then the following conditions must also be met:

Write capacity settings should be set consistently across your replica tables and secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write capacity settings for all of your global tables replicas and indexes.

If you prefer to manage write capacity settings manually, you should provision equal replicated write capacity units to your replica tables. You should also provision equal replicated write capacity units to matching secondary indexes across your global table.

", + "CreateGlobalTable": "

Creates a global table from an existing table. A global table creates a replication relationship between two or more DynamoDB tables with the same table name in the provided Regions.

This operation only applies to Version 2017.11.29 of global tables.

If you want to add a new replica table to a global table, each of the following conditions must be true:

If global secondary indexes are specified, then the following conditions must also be met:

If local secondary indexes are specified, then the following conditions must also be met:

Write capacity settings should be set consistently across your replica tables and secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write capacity settings for all of your global tables replicas and indexes.

If you prefer to manage write capacity settings manually, you should provision equal replicated write capacity units to your replica tables. You should also provision equal replicated write capacity units to matching secondary indexes across your global table.

", "CreateTable": "

The CreateTable operation adds a new table to your account. In an AWS account, table names must be unique within each Region. That is, you can have two tables with same name if you create the tables in different Regions.

CreateTable is an asynchronous operation. Upon receiving a CreateTable request, DynamoDB immediately returns a response with a TableStatus of CREATING. After the table is created, DynamoDB sets the TableStatus to ACTIVE. You can perform read and write operations only on an ACTIVE table.

You can optionally define secondary indexes on the new table, as part of the CreateTable operation. If you want to create multiple tables with secondary indexes on them, you must create the tables sequentially. Only one table with secondary indexes can be in the CREATING state at any given time.

You can use the DescribeTable action to check the table status.

", "DeleteBackup": "

Deletes an existing backup of a table.

You can call DeleteBackup at a maximum rate of 10 times per second.

", "DeleteItem": "

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.

", @@ -14,19 +14,19 @@ "DescribeContinuousBackups": "

Checks the status of continuous backups and point in time recovery on the specified table. Continuous backups are ENABLED on all tables at table creation. If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.

After continuous backups and point in time recovery are enabled, you can restore to any point in time within EarliestRestorableDateTime and LatestRestorableDateTime.

LatestRestorableDateTime is typically 5 minutes before the current time. You can restore your table to any point in time during the last 35 days.

You can call DescribeContinuousBackups at a maximum rate of 10 times per second.

", "DescribeContributorInsights": "

Returns information about contributor insights, for a given table or global secondary index.

", "DescribeEndpoints": "

Returns the regional endpoint information.

", - "DescribeGlobalTable": "

Returns information about the specified global table.

This method only applies to Version 2017.11.29 of global tables.

", - "DescribeGlobalTableSettings": "

Describes Region-specific settings for a global table.

This method only applies to Version 2017.11.29 of global tables.

", + "DescribeGlobalTable": "

Returns information about the specified global table.

This operation only applies to Version 2017.11.29 of global tables. If you are using global tables Version 2019.11.21 you can use DescribeTable instead.

", + "DescribeGlobalTableSettings": "

Describes Region-specific settings for a global table.

This operation only applies to Version 2017.11.29 of global tables.

", "DescribeLimits": "

Returns the current provisioned-capacity limits for your AWS account in a Region, both for the Region as a whole and for any one DynamoDB table that you create there.

When you establish an AWS account, the account has initial limits on the maximum read capacity units and write capacity units that you can provision across all of your DynamoDB tables in a given Region. Also, there are per-table limits that apply when you create a table there. For more information, see Limits page in the Amazon DynamoDB Developer Guide.

Although you can increase these limits by filing a case at AWS Support Center, obtaining the increase is not instantaneous. The DescribeLimits action lets you write code to compare the capacity you are currently using to those limits imposed by your account so that you have enough time to apply for an increase before you hit a limit.

For example, you could use one of the AWS SDKs to do the following:

  1. Call DescribeLimits for a particular Region to obtain your current account limits on provisioned capacity there.

  2. Create a variable to hold the aggregate read capacity units provisioned for all your tables in that Region, and one to hold the aggregate write capacity units. Zero them both.

  3. Call ListTables to obtain a list of all your DynamoDB tables.

  4. For each table name listed by ListTables, do the following:

    • Call DescribeTable with the table name.

    • Use the data returned by DescribeTable to add the read capacity units and write capacity units provisioned for the table itself to your variables.

    • If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well.

  5. Report the account limits for that Region returned by DescribeLimits, along with the total current provisioned capacity levels you have calculated.

This will let you see whether you are getting close to your account-level limits.

The per-table limits apply only when you are creating a new table. They restrict the sum of the provisioned capacity of the new table itself and all its global secondary indexes.

For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned capacity extremely rapidly. But the only upper limit that applies is that the aggregate provisioned capacity over all your tables and GSIs cannot exceed either of the per-account limits.

DescribeLimits should only be called periodically. You can expect throttling errors if you call it more than once in a minute.

The DescribeLimits Request element has no content.

", "DescribeTable": "

Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.

If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might return a ResourceNotFoundException. This is because DescribeTable uses an eventually consistent query, and the metadata for your table might not be available at that moment. Wait for a few seconds, and then try the DescribeTable request again.

", - "DescribeTableReplicaAutoScaling": "

Describes auto scaling settings across replicas of the global table at once.

This method only applies to Version 2019.11.21 of global tables.

", + "DescribeTableReplicaAutoScaling": "

Describes auto scaling settings across replicas of the global table at once.

This operation only applies to Version 2019.11.21 of global tables.

", "DescribeTimeToLive": "

Gives a description of the Time to Live (TTL) status on the specified table.

", "GetItem": "

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.

", "ListBackups": "

List backups associated with an AWS account. To list backups for a given table, specify TableName. ListBackups returns a paginated list of results with at most 1 MB worth of items in a page. You can also specify a limit for the maximum number of entries to be returned in a page.

In the request, start time is inclusive, but end time is exclusive. Note that these limits are for the time at which the original backup was requested.

You can call ListBackups a maximum of five times per second.

", "ListContributorInsights": "

Returns a list of ContributorInsightsSummary for a table and all its global secondary indexes.

", - "ListGlobalTables": "

Lists all global tables that have a replica in the specified Region.

This method only applies to Version 2017.11.29 of global tables.

", + "ListGlobalTables": "

Lists all global tables that have a replica in the specified Region.

This operation only applies to Version 2017.11.29 of global tables.

", "ListTables": "

Returns an array of table names associated with the current account and endpoint. The output from ListTables is paginated, with each page returning a maximum of 100 table names.

", "ListTagsOfResource": "

List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.

For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.

", - "PutItem": "

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.

This topic provides general information about the PutItem API.

For information on how to call the PutItem API using the AWS SDK in specific languages, see the following:

When you add an item, the primary key attributes are the only required attributes. Attribute values cannot be null. String and Binary type attributes must have lengths greater than zero. Set type attributes cannot be empty. 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.

", + "PutItem": "

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.

This topic provides general information about the PutItem API.

For information on how to call the PutItem API using the AWS SDK in specific languages, see the following:

When you add an item, the primary key attributes are the only required attributes. Attribute values cannot be null.

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.

", "Query": "

The Query operation finds items based on primary key values. You can query any table or secondary index that has a composite primary key (a partition key and a sort key).

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.

", "RestoreTableFromBackup": "

Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.

You can call RestoreTableFromBackup at a maximum rate of 10 times per second.

You must manually set up the following on the restored table:

", "RestoreTableToPointInTime": "

Restores the specified table to the specified point in time within EarliestRestorableDateTime and LatestRestorableDateTime. You can restore your table to any point in time during the last 35 days. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.

When you restore using point in time recovery, DynamoDB restores your table data to the state based on the selected date and time (day:hour:minute:second) to a new table.

Along with data, the following are also included on the new restored table using point in time recovery:

You must manually set up the following on the restored table:

", @@ -41,7 +41,7 @@ "UpdateGlobalTableSettings": "

Updates settings for a global table.

", "UpdateItem": "

Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).

You can also return the item's attribute values in the same UpdateItem operation using the ReturnValues parameter.

", "UpdateTable": "

Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.

You can only perform one of the following operations at once:

UpdateTable is an asynchronous operation; while it is executing, the table status changes from ACTIVE to UPDATING. While it is UPDATING, you cannot issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete.

", - "UpdateTableReplicaAutoScaling": "

Updates auto scaling settings on your global tables at once.

This method only applies to Version 2019.11.21 of global tables.

", + "UpdateTableReplicaAutoScaling": "

Updates auto scaling settings on your global tables at once.

This operation only applies to Version 2019.11.21 of global tables.

", "UpdateTimeToLive": "

The UpdateTimeToLive method enables or disables Time to Live (TTL) for the specified table. A successful UpdateTimeToLive call returns the current TimeToLiveSpecification. It can take up to one hour for the change to fully process. Any additional UpdateTimeToLive calls for the same table during this one hour duration result in a ValidationException.

TTL compares the current time in epoch time format to the time stored in the TTL attribute of an item. If the epoch time value stored in the attribute is less than the current time, the item is marked as expired and subsequently deleted.

The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.

DynamoDB deletes expired items on a best-effort basis to ensure availability of throughput for other data operations.

DynamoDB typically deletes expired items within two days of expiration. The exact duration within which an item gets deleted after expiration is specific to the nature of the workload. Items that have expired and not been deleted will still show up in reads, queries, and scans.

As items are deleted, they are removed from any local secondary index and global secondary index immediately in the same eventually consistent way as a standard delete operation.

For more information, see Time To Live in the Amazon DynamoDB Developer Guide.

" }, "shapes": { @@ -1635,7 +1635,7 @@ "base": null, "refs": { "Put$Item": "

A map of attribute name to attribute values, representing the primary key of the item to be written by PutItem. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item that are part of an index key schema for the table, their types must match the index key schema.

", - "PutItemInput$Item": "

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.

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.

", + "PutItemInput$Item": "

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.

", "PutRequest$Item": "

A map of attribute name to attribute values, representing the primary key of an item to be processed by PutItem. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item that are part of an index key schema for the table, their types must match the index key schema.

" } }, diff --git a/apis/ec2/2016-11-15/api-2.json b/apis/ec2/2016-11-15/api-2.json index 6ac523bbed1..b9cbe9c85b9 100644 --- a/apis/ec2/2016-11-15/api-2.json +++ b/apis/ec2/2016-11-15/api-2.json @@ -24572,6 +24572,7 @@ }, "ClientToken":{ "shape":"String", + "idempotencyToken":true, "locationName":"clientToken" }, "DisableApiTermination":{ diff --git a/apis/ecs/2014-11-13/api-2.json b/apis/ecs/2014-11-13/api-2.json index a063c8d1308..a3c67428d9a 100644 --- a/apis/ecs/2014-11-13/api-2.json +++ b/apis/ecs/2014-11-13/api-2.json @@ -1070,6 +1070,7 @@ "entryPoint":{"shape":"StringList"}, "command":{"shape":"StringList"}, "environment":{"shape":"EnvironmentVariables"}, + "environmentFiles":{"shape":"EnvironmentFiles"}, "mountPoints":{"shape":"MountPointList"}, "volumesFrom":{"shape":"VolumeFromList"}, "linuxParameters":{"shape":"LinuxParameters"}, @@ -1167,6 +1168,7 @@ "name":{"shape":"String"}, "command":{"shape":"StringList"}, "environment":{"shape":"EnvironmentVariables"}, + "environmentFiles":{"shape":"EnvironmentFiles"}, "cpu":{"shape":"BoxedInteger"}, "memory":{"shape":"BoxedInteger"}, "memoryReservation":{"shape":"BoxedInteger"}, @@ -1649,6 +1651,25 @@ "authorizationConfig":{"shape":"EFSAuthorizationConfig"} } }, + "EnvironmentFile":{ + "type":"structure", + "required":[ + "value", + "type" + ], + "members":{ + "value":{"shape":"String"}, + "type":{"shape":"EnvironmentFileType"} + } + }, + "EnvironmentFileType":{ + "type":"string", + "enum":["s3"] + }, + "EnvironmentFiles":{ + "type":"list", + "member":{"shape":"EnvironmentFile"} + }, "EnvironmentVariables":{ "type":"list", "member":{"shape":"KeyValuePair"} diff --git a/apis/ecs/2014-11-13/docs-2.json b/apis/ecs/2014-11-13/docs-2.json index a028934c233..3fadb3128d4 100644 --- a/apis/ecs/2014-11-13/docs-2.json +++ b/apis/ecs/2014-11-13/docs-2.json @@ -776,6 +776,25 @@ "Volume$efsVolumeConfiguration": "

This parameter is specified when you are using an Amazon Elastic File System (Amazon EFS) file storage. Amazon EFS file systems are only supported when you are using the EC2 launch type.

EFSVolumeConfiguration remains in preview and is a Beta Service as defined by and subject to the Beta Service Participation Service Terms located at https://aws.amazon.com/service-terms (\"Beta Terms\"). These Beta Terms apply to your participation in this preview of EFSVolumeConfiguration.

" } }, + "EnvironmentFile": { + "base": "

A list of files containing the environment variables to pass to a container. You can specify up to ten environment files. The file must have a .env file extension. Each line in an environment file should contain an environment variable in VARIABLE=VALUE format. Lines beginning with # are treated as comments and are ignored. For more information on the environment variable file syntax, see Declare default environment variables in file.

If there are environment variables specified using the environment parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they are processed from the top down. It is recommended to use unique variable names. For more information, see Specifying Environment Variables in the Amazon Elastic Container Service Developer Guide.

This field is not valid for containers in tasks using the Fargate launch type.

", + "refs": { + "EnvironmentFiles$member": null + } + }, + "EnvironmentFileType": { + "base": null, + "refs": { + "EnvironmentFile$type": "

The file type to use. The only supported value is s3.

" + } + }, + "EnvironmentFiles": { + "base": null, + "refs": { + "ContainerDefinition$environmentFiles": "

A list of files containing the environment variables to pass to a container. This parameter maps to the --env-file option to docker run.

You can specify up to ten environment files. The file must have a .env file extension. Each line in an environment file should contain an environment variable in VARIABLE=VALUE format. Lines beginning with # are treated as comments and are ignored. For more information on the environment variable file syntax, see Declare default environment variables in file.

If there are environment variables specified using the environment parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they are processed from the top down. It is recommended to use unique variable names. For more information, see Specifying Environment Variables in the Amazon Elastic Container Service Developer Guide.

This field is not valid for containers in tasks using the Fargate launch type.

", + "ContainerOverride$environmentFiles": "

A list of files containing the environment variables to pass to a container, instead of the value from the container definition.

" + } + }, "EnvironmentVariables": { "base": null, "refs": { @@ -926,7 +945,7 @@ "KernelCapabilities": { "base": "

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker. For more information on the default capabilities and the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run reference. For more detailed information on these Linux capabilities, see the capabilities(7) Linux manual page.

", "refs": { - "LinuxParameters$capabilities": "

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.

If you are using tasks that use the Fargate launch type, capabilities is supported but the add parameter is not supported.

" + "LinuxParameters$capabilities": "

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.

For tasks that use the Fargate launch type, capabilities is supported for all platform versions but the add parameter is only supported if using platform version 1.4.0 or later.

" } }, "KeyValuePair": { @@ -1706,6 +1725,7 @@ "EFSAuthorizationConfig$accessPointId": "

The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the EFSVolumeConfiguration will be relative to the directory set for the access point. If an access point is used, transit encryption must be enabled in the EFSVolumeConfiguration. For more information, see Working with Amazon EFS Access Points in the Amazon Elastic File System User Guide.

", "EFSVolumeConfiguration$fileSystemId": "

The Amazon EFS file system ID to use.

", "EFSVolumeConfiguration$rootDirectory": "

The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying / will have the same effect as omitting this parameter.

", + "EnvironmentFile$value": "

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.

", "Failure$arn": "

The Amazon Resource Name (ARN) of the failed resource.

", "Failure$reason": "

The reason for the failure.

", "Failure$detail": "

The details of the failure.

", @@ -1915,7 +1935,7 @@ "DescribeTaskSetsRequest$taskSets": "

The ID or full Amazon Resource Name (ARN) of task sets to describe.

", "DescribeTasksRequest$tasks": "

A list of up to 100 task IDs or full ARN entries.

", "HealthCheck$command": "

A string array representing the command that the container runs to determine if it is healthy. The string array must start with CMD to execute the command arguments directly, or CMD-SHELL to run the command with the container's default shell. For example:

[ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]

An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see HealthCheck in the Create a container section of the Docker Remote API.

", - "KernelCapabilities$add": "

The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to CapAdd in the Create a container section of the Docker Remote API and the --cap-add option to docker run.

If you are using tasks that use the Fargate launch type, the add parameter is not supported.

Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"

", + "KernelCapabilities$add": "

The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to CapAdd in the Create a container section of the Docker Remote API and the --cap-add option to docker run.

The SYS_PTRACE capability is supported for tasks that use the Fargate launch type if they are also using platform version 1.4.0. The other capabilities are not supported for any platform versions.

Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"

", "KernelCapabilities$drop": "

The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to CapDrop in the Create a container section of the Docker Remote API and the --cap-drop option to docker run.

Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"

", "ListClustersResponse$clusterArns": "

The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.

", "ListContainerInstancesResponse$containerInstanceArns": "

The list of container instances with full ARN entries for each container instance associated with the specified cluster.

", diff --git a/apis/macie2/2020-01-01/api-2.json b/apis/macie2/2020-01-01/api-2.json index f2f14851eeb..923202be0fe 100644 --- a/apis/macie2/2020-01-01/api-2.json +++ b/apis/macie2/2020-01-01/api-2.json @@ -7,7 +7,7 @@ "serviceId": "Macie2", "protocol": "rest-json", "jsonVersion": "1.1", - "uid": "macie2-2020-01-01T00:00:00Z", + "uid": "macie2-2020-01-01", "signatureVersion": "v4" }, "operations": { diff --git a/apis/qldb/2019-01-02/api-2.json b/apis/qldb/2019-01-02/api-2.json index 98e9fd653d2..0dabb32f7c4 100644 --- a/apis/qldb/2019-01-02/api-2.json +++ b/apis/qldb/2019-01-02/api-2.json @@ -13,6 +13,20 @@ "uid":"qldb-2019-01-02" }, "operations":{ + "CancelJournalKinesisStream":{ + "name":"CancelJournalKinesisStream", + "http":{ + "method":"DELETE", + "requestUri":"/ledgers/{name}/journal-kinesis-streams/{streamId}" + }, + "input":{"shape":"CancelJournalKinesisStreamRequest"}, + "output":{"shape":"CancelJournalKinesisStreamResponse"}, + "errors":[ + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourcePreconditionNotMetException"} + ] + }, "CreateLedger":{ "name":"CreateLedger", "http":{ @@ -42,6 +56,20 @@ {"shape":"ResourcePreconditionNotMetException"} ] }, + "DescribeJournalKinesisStream":{ + "name":"DescribeJournalKinesisStream", + "http":{ + "method":"GET", + "requestUri":"/ledgers/{name}/journal-kinesis-streams/{streamId}" + }, + "input":{"shape":"DescribeJournalKinesisStreamRequest"}, + "output":{"shape":"DescribeJournalKinesisStreamResponse"}, + "errors":[ + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourcePreconditionNotMetException"} + ] + }, "DescribeJournalS3Export":{ "name":"DescribeJournalS3Export", "http":{ @@ -122,6 +150,20 @@ {"shape":"ResourcePreconditionNotMetException"} ] }, + "ListJournalKinesisStreamsForLedger":{ + "name":"ListJournalKinesisStreamsForLedger", + "http":{ + "method":"GET", + "requestUri":"/ledgers/{name}/journal-kinesis-streams" + }, + "input":{"shape":"ListJournalKinesisStreamsForLedgerRequest"}, + "output":{"shape":"ListJournalKinesisStreamsForLedgerResponse"}, + "errors":[ + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourcePreconditionNotMetException"} + ] + }, "ListJournalS3Exports":{ "name":"ListJournalS3Exports", "http":{ @@ -162,6 +204,20 @@ {"shape":"ResourceNotFoundException"} ] }, + "StreamJournalToKinesis":{ + "name":"StreamJournalToKinesis", + "http":{ + "method":"POST", + "requestUri":"/ledgers/{name}/journal-kinesis-streams" + }, + "input":{"shape":"StreamJournalToKinesisRequest"}, + "output":{"shape":"StreamJournalToKinesisResponse"}, + "errors":[ + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourcePreconditionNotMetException"} + ] + }, "TagResource":{ "name":"TagResource", "http":{ @@ -208,6 +264,32 @@ "max":1600, "min":20 }, + "Boolean":{"type":"boolean"}, + "CancelJournalKinesisStreamRequest":{ + "type":"structure", + "required":[ + "LedgerName", + "StreamId" + ], + "members":{ + "LedgerName":{ + "shape":"LedgerName", + "location":"uri", + "locationName":"name" + }, + "StreamId":{ + "shape":"UniqueId", + "location":"uri", + "locationName":"streamId" + } + } + }, + "CancelJournalKinesisStreamResponse":{ + "type":"structure", + "members":{ + "StreamId":{"shape":"UniqueId"} + } + }, "CreateLedgerRequest":{ "type":"structure", "required":[ @@ -243,6 +325,31 @@ } }, "DeletionProtection":{"type":"boolean"}, + "DescribeJournalKinesisStreamRequest":{ + "type":"structure", + "required":[ + "LedgerName", + "StreamId" + ], + "members":{ + "LedgerName":{ + "shape":"LedgerName", + "location":"uri", + "locationName":"name" + }, + "StreamId":{ + "shape":"UniqueId", + "location":"uri", + "locationName":"streamId" + } + } + }, + "DescribeJournalKinesisStreamResponse":{ + "type":"structure", + "members":{ + "Stream":{"shape":"JournalKinesisStreamDescription"} + } + }, "DescribeJournalS3ExportRequest":{ "type":"structure", "required":[ @@ -295,6 +402,13 @@ "max":32, "min":32 }, + "ErrorCause":{ + "type":"string", + "enum":[ + "KINESIS_STREAM_NOT_FOUND", + "IAM_PERMISSION_REVOKED" + ] + }, "ErrorMessage":{"type":"string"}, "ExportJournalToS3Request":{ "type":"structure", @@ -419,6 +533,34 @@ "min":1, "sensitive":true }, + "JournalKinesisStreamDescription":{ + "type":"structure", + "required":[ + "LedgerName", + "RoleArn", + "StreamId", + "Status", + "KinesisConfiguration", + "StreamName" + ], + "members":{ + "LedgerName":{"shape":"LedgerName"}, + "CreationTime":{"shape":"Timestamp"}, + "InclusiveStartTime":{"shape":"Timestamp"}, + "ExclusiveEndTime":{"shape":"Timestamp"}, + "RoleArn":{"shape":"Arn"}, + "StreamId":{"shape":"UniqueId"}, + "Arn":{"shape":"Arn"}, + "Status":{"shape":"StreamStatus"}, + "KinesisConfiguration":{"shape":"KinesisConfiguration"}, + "ErrorCause":{"shape":"ErrorCause"}, + "StreamName":{"shape":"StreamName"} + } + }, + "JournalKinesisStreamDescriptionList":{ + "type":"list", + "member":{"shape":"JournalKinesisStreamDescription"} + }, "JournalS3ExportDescription":{ "type":"structure", "required":[ @@ -446,6 +588,14 @@ "type":"list", "member":{"shape":"JournalS3ExportDescription"} }, + "KinesisConfiguration":{ + "type":"structure", + "required":["StreamArn"], + "members":{ + "StreamArn":{"shape":"Arn"}, + "AggregationEnabled":{"shape":"Boolean"} + } + }, "LedgerList":{ "type":"list", "member":{"shape":"LedgerSummary"} @@ -482,6 +632,34 @@ "error":{"httpStatusCode":400}, "exception":true }, + "ListJournalKinesisStreamsForLedgerRequest":{ + "type":"structure", + "required":["LedgerName"], + "members":{ + "LedgerName":{ + "shape":"LedgerName", + "location":"uri", + "locationName":"name" + }, + "MaxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"max_results" + }, + "NextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"next_token" + } + } + }, + "ListJournalKinesisStreamsForLedgerResponse":{ + "type":"structure", + "members":{ + "Streams":{"shape":"JournalKinesisStreamDescriptionList"}, + "NextToken":{"shape":"NextToken"} + } + }, "ListJournalS3ExportsForLedgerRequest":{ "type":"structure", "required":["Name"], @@ -669,6 +847,51 @@ "max":128, "min":0 }, + "StreamJournalToKinesisRequest":{ + "type":"structure", + "required":[ + "LedgerName", + "RoleArn", + "InclusiveStartTime", + "KinesisConfiguration", + "StreamName" + ], + "members":{ + "LedgerName":{ + "shape":"LedgerName", + "location":"uri", + "locationName":"name" + }, + "RoleArn":{"shape":"Arn"}, + "Tags":{"shape":"Tags"}, + "InclusiveStartTime":{"shape":"Timestamp"}, + "ExclusiveEndTime":{"shape":"Timestamp"}, + "KinesisConfiguration":{"shape":"KinesisConfiguration"}, + "StreamName":{"shape":"StreamName"} + } + }, + "StreamJournalToKinesisResponse":{ + "type":"structure", + "members":{ + "StreamId":{"shape":"UniqueId"} + } + }, + "StreamName":{ + "type":"string", + "max":32, + "min":1, + "pattern":"(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" + }, + "StreamStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "COMPLETED", + "CANCELED", + "FAILED", + "IMPAIRED" + ] + }, "TagKey":{ "type":"string", "max":128, diff --git a/apis/qldb/2019-01-02/docs-2.json b/apis/qldb/2019-01-02/docs-2.json index f16028f5546..19afe6714ea 100644 --- a/apis/qldb/2019-01-02/docs-2.json +++ b/apis/qldb/2019-01-02/docs-2.json @@ -2,18 +2,22 @@ "version": "2.0", "service": "

The control plane for Amazon QLDB

", "operations": { + "CancelJournalKinesisStream": "

Ends a given Amazon QLDB journal stream. Before a stream can be canceled, its current status must be ACTIVE.

You can't restart a stream after you cancel it. Canceled QLDB stream resources are subject to a 7-day retention period, so they are automatically deleted after this limit expires.

", "CreateLedger": "

Creates a new ledger in your AWS account.

", "DeleteLedger": "

Deletes a ledger and all of its contents. This action is irreversible.

If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger operation to set the flag to false. The QLDB console disables deletion protection for you when you use it to delete a ledger.

", - "DescribeJournalS3Export": "

Returns information about a journal export job, including the ledger name, export ID, when it was created, current status, and its start and end time export parameters.

If the export job with the given ExportId doesn't exist, then throws ResourceNotFoundException.

If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException.

", + "DescribeJournalKinesisStream": "

Returns detailed information about a given Amazon QLDB journal stream. The output includes the Amazon Resource Name (ARN), stream name, current status, creation time, and the parameters of your original stream creation request.

", + "DescribeJournalS3Export": "

Returns information about a journal export job, including the ledger name, export ID, when it was created, current status, and its start and end time export parameters.

This action does not return any expired export jobs. For more information, see Export Job Expiration in the Amazon QLDB Developer Guide.

If the export job with the given ExportId doesn't exist, then throws ResourceNotFoundException.

If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException.

", "DescribeLedger": "

Returns information about a ledger, including its state and when it was created.

", "ExportJournalToS3": "

Exports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage Service (Amazon S3) bucket. The data is written as files in Amazon Ion format.

If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException.

If the ledger with the given Name is in CREATING status, then throws ResourcePreconditionNotMetException.

You can initiate up to two concurrent journal export requests for each ledger. Beyond this limit, journal export requests throw LimitExceededException.

", "GetBlock": "

Returns a journal block object at a specified address in a ledger. Also returns a proof of the specified block for verification if DigestTipAddress is provided.

If the specified ledger doesn't exist or is in DELETING status, then throws ResourceNotFoundException.

If the specified ledger is in CREATING status, then throws ResourcePreconditionNotMetException.

If no block exists with the specified address, then throws InvalidParameterException.

", "GetDigest": "

Returns the digest of a ledger at the latest committed block in the journal. The response includes a 256-bit hash value and a block address.

", "GetRevision": "

Returns a revision data object for a specified document ID and block address. Also returns a proof of the specified revision for verification if DigestTipAddress is provided.

", - "ListJournalS3Exports": "

Returns an array of journal export job descriptions for all ledgers that are associated with the current AWS account and Region.

This action returns a maximum of MaxResults items, and is paginated so that you can retrieve all the items by calling ListJournalS3Exports multiple times.

", - "ListJournalS3ExportsForLedger": "

Returns an array of journal export job descriptions for a specified ledger.

This action returns a maximum of MaxResults items, and is paginated so that you can retrieve all the items by calling ListJournalS3ExportsForLedger multiple times.

", + "ListJournalKinesisStreamsForLedger": "

Returns an array of all Amazon QLDB journal stream descriptors for a given ledger. The output of each stream descriptor includes the same details that are returned by DescribeJournalKinesisStream.

This action returns a maximum of MaxResults items. It is paginated so that you can retrieve all the items by calling ListJournalKinesisStreamsForLedger multiple times.

", + "ListJournalS3Exports": "

Returns an array of journal export job descriptions for all ledgers that are associated with the current AWS account and Region.

This action returns a maximum of MaxResults items, and is paginated so that you can retrieve all the items by calling ListJournalS3Exports multiple times.

This action does not return any expired export jobs. For more information, see Export Job Expiration in the Amazon QLDB Developer Guide.

", + "ListJournalS3ExportsForLedger": "

Returns an array of journal export job descriptions for a specified ledger.

This action returns a maximum of MaxResults items, and is paginated so that you can retrieve all the items by calling ListJournalS3ExportsForLedger multiple times.

This action does not return any expired export jobs. For more information, see Export Job Expiration in the Amazon QLDB Developer Guide.

", "ListLedgers": "

Returns an array of ledger summaries that are associated with the current AWS account and Region.

This action returns a maximum of 100 items and is paginated so that you can retrieve all the items by calling ListLedgers multiple times.

", "ListTagsForResource": "

Returns all tags for a specified Amazon QLDB resource.

", + "StreamJournalToKinesis": "

Creates a stream for a given Amazon QLDB ledger that delivers the journal data to a specified Amazon Kinesis Data Streams resource. The stream captures every document revision that is committed to your journal and sends it to the Kinesis data stream.

", "TagResource": "

Adds one or more tags to a specified Amazon QLDB resource.

A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.

", "UntagResource": "

Removes one or more tags from a specified Amazon QLDB resource. You can specify up to 50 tag keys to remove.

", "UpdateLedger": "

Updates properties on a ledger.

" @@ -25,14 +29,34 @@ "CreateLedgerResponse$Arn": "

The Amazon Resource Name (ARN) for the ledger.

", "DescribeLedgerResponse$Arn": "

The Amazon Resource Name (ARN) for the ledger.

", "ExportJournalToS3Request$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:

", + "JournalKinesisStreamDescription$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.

", + "JournalKinesisStreamDescription$Arn": "

The Amazon Resource Name (ARN) of the QLDB journal stream.

", "JournalS3ExportDescription$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:

", + "KinesisConfiguration$StreamArn": "

The Amazon Resource Name (ARN) of the Kinesis data stream resource.

", "ListTagsForResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) for which you want to list the tags. For example:

arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

", - "S3EncryptionConfiguration$KmsKeyArn": "

The Amazon Resource Name (ARN) for a customer master key (CMK) in AWS Key Management Service (AWS KMS).

You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.

KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.

", + "S3EncryptionConfiguration$KmsKeyArn": "

The Amazon Resource Name (ARN) for a symmetric customer master key (CMK) in AWS Key Management Service (AWS KMS). Amazon QLDB does not support asymmetric CMKs.

You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.

KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.

", + "StreamJournalToKinesisRequest$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.

", "TagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) to which you want to add the tags. For example:

arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

", "UntagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) from which you want to remove the tags. For example:

arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

", "UpdateLedgerResponse$Arn": "

The Amazon Resource Name (ARN) for the ledger.

" } }, + "Boolean": { + "base": null, + "refs": { + "KinesisConfiguration$AggregationEnabled": "

Enables QLDB to publish multiple stream records in a single Kinesis Data Streams record. To learn more, see KPL Key Concepts in the Amazon Kinesis Data Streams Developer Guide.

" + } + }, + "CancelJournalKinesisStreamRequest": { + "base": null, + "refs": { + } + }, + "CancelJournalKinesisStreamResponse": { + "base": null, + "refs": { + } + }, "CreateLedgerRequest": { "base": null, "refs": { @@ -58,6 +82,16 @@ "UpdateLedgerResponse$DeletionProtection": "

The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true) by default.

If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger operation to set the flag to false. The QLDB console disables deletion protection for you when you use it to delete a ledger.

" } }, + "DescribeJournalKinesisStreamRequest": { + "base": null, + "refs": { + } + }, + "DescribeJournalKinesisStreamResponse": { + "base": null, + "refs": { + } + }, "DescribeJournalS3ExportRequest": { "base": null, "refs": { @@ -84,6 +118,12 @@ "GetDigestResponse$Digest": "

The 256-bit hash value representing the digest returned by a GetDigest request.

" } }, + "ErrorCause": { + "base": null, + "refs": { + "JournalKinesisStreamDescription$ErrorCause": "

The error message that describes the reason that a stream has a status of IMPAIRED or FAILED. This is not applicable to streams that have other status values.

" + } + }, "ErrorMessage": { "base": null, "refs": { @@ -152,6 +192,19 @@ "ValueHolder$IonText": "

An Amazon Ion plaintext value contained in a ValueHolder structure.

" } }, + "JournalKinesisStreamDescription": { + "base": "

The information about an Amazon QLDB journal stream, including the Amazon Resource Name (ARN), stream name, creation time, current status, and the parameters of your original stream creation request.

", + "refs": { + "DescribeJournalKinesisStreamResponse$Stream": "

Information about the QLDB journal stream returned by a DescribeJournalS3Export request.

", + "JournalKinesisStreamDescriptionList$member": null + } + }, + "JournalKinesisStreamDescriptionList": { + "base": null, + "refs": { + "ListJournalKinesisStreamsForLedgerResponse$Streams": "

The array of QLDB journal stream descriptors that are associated with the given ledger.

" + } + }, "JournalS3ExportDescription": { "base": "

The information about a journal export job, including the ledger name, export ID, when it was created, current status, and its start and end time export parameters.

", "refs": { @@ -166,6 +219,13 @@ "ListJournalS3ExportsResponse$JournalS3Exports": "

The array of journal export job descriptions for all ledgers that are associated with the current AWS account and Region.

" } }, + "KinesisConfiguration": { + "base": "

The configuration settings of the Amazon Kinesis Data Streams destination for your Amazon QLDB journal stream.

", + "refs": { + "JournalKinesisStreamDescription$KinesisConfiguration": "

The configuration settings of the Amazon Kinesis Data Streams destination for your QLDB journal stream.

", + "StreamJournalToKinesisRequest$KinesisConfiguration": "

The configuration settings of the Kinesis Data Streams destination for your stream request.

" + } + }, "LedgerList": { "base": null, "refs": { @@ -175,9 +235,11 @@ "LedgerName": { "base": null, "refs": { + "CancelJournalKinesisStreamRequest$LedgerName": "

The name of the ledger.

", "CreateLedgerRequest$Name": "

The name of the ledger that you want to create. The name must be unique among all of your ledgers in the current AWS Region.

", "CreateLedgerResponse$Name": "

The name of the ledger.

", "DeleteLedgerRequest$Name": "

The name of the ledger that you want to delete.

", + "DescribeJournalKinesisStreamRequest$LedgerName": "

The name of the ledger.

", "DescribeJournalS3ExportRequest$Name": "

The name of the ledger.

", "DescribeLedgerRequest$Name": "

The name of the ledger that you want to describe.

", "DescribeLedgerResponse$Name": "

The name of the ledger.

", @@ -185,9 +247,12 @@ "GetBlockRequest$Name": "

The name of the ledger.

", "GetDigestRequest$Name": "

The name of the ledger.

", "GetRevisionRequest$Name": "

The name of the ledger.

", + "JournalKinesisStreamDescription$LedgerName": "

The name of the ledger.

", "JournalS3ExportDescription$LedgerName": "

The name of the ledger.

", "LedgerSummary$Name": "

The name of the ledger.

", + "ListJournalKinesisStreamsForLedgerRequest$LedgerName": "

The name of the ledger.

", "ListJournalS3ExportsForLedgerRequest$Name": "

The name of the ledger.

", + "StreamJournalToKinesisRequest$LedgerName": "

The name of the ledger.

", "UpdateLedgerRequest$Name": "

The name of the ledger.

", "UpdateLedgerResponse$Name": "

The name of the ledger.

" } @@ -212,6 +277,16 @@ "refs": { } }, + "ListJournalKinesisStreamsForLedgerRequest": { + "base": null, + "refs": { + } + }, + "ListJournalKinesisStreamsForLedgerResponse": { + "base": null, + "refs": { + } + }, "ListJournalS3ExportsForLedgerRequest": { "base": null, "refs": { @@ -255,6 +330,7 @@ "MaxResults": { "base": null, "refs": { + "ListJournalKinesisStreamsForLedgerRequest$MaxResults": "

The maximum number of results to return in a single ListJournalKinesisStreamsForLedger request. (The actual number of results returned might be fewer.)

", "ListJournalS3ExportsForLedgerRequest$MaxResults": "

The maximum number of results to return in a single ListJournalS3ExportsForLedger request. (The actual number of results returned might be fewer.)

", "ListJournalS3ExportsRequest$MaxResults": "

The maximum number of results to return in a single ListJournalS3Exports request. (The actual number of results returned might be fewer.)

", "ListLedgersRequest$MaxResults": "

The maximum number of results to return in a single ListLedgers request. (The actual number of results returned might be fewer.)

" @@ -263,6 +339,8 @@ "NextToken": { "base": null, "refs": { + "ListJournalKinesisStreamsForLedgerRequest$NextToken": "

A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous ListJournalKinesisStreamsForLedger call, you should use that value as input here.

", + "ListJournalKinesisStreamsForLedgerResponse$NextToken": "", "ListJournalS3ExportsForLedgerRequest$NextToken": "

A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous ListJournalS3ExportsForLedger call, then you should use that value as input here.

", "ListJournalS3ExportsForLedgerResponse$NextToken": "", "ListJournalS3ExportsRequest$NextToken": "

A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous ListJournalS3Exports call, then you should use that value as input here.

", @@ -353,6 +431,29 @@ "S3ExportConfiguration$Prefix": "

The prefix for the Amazon S3 bucket in which a journal export job writes the journal contents.

The prefix must comply with Amazon S3 key naming rules and restrictions. For more information, see Object Key and Metadata in the Amazon S3 Developer Guide.

The following are examples of valid Prefix values:

" } }, + "StreamJournalToKinesisRequest": { + "base": null, + "refs": { + } + }, + "StreamJournalToKinesisResponse": { + "base": null, + "refs": { + } + }, + "StreamName": { + "base": null, + "refs": { + "JournalKinesisStreamDescription$StreamName": "

The user-defined name of the QLDB journal stream.

", + "StreamJournalToKinesisRequest$StreamName": "

The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream.

Your stream name must be unique among other active streams for a given ledger. If you try to create a stream with the same name and configuration of an active, existing stream for the same ledger, QLDB simply returns the existing stream. Stream names have the same naming constraints as ledger names, as defined in Quotas in Amazon QLDB in the Amazon QLDB Developer Guide.

" + } + }, + "StreamStatus": { + "base": null, + "refs": { + "JournalKinesisStreamDescription$Status": "

The current state of the QLDB journal stream.

" + } + }, "TagKey": { "base": null, "refs": { @@ -387,6 +488,7 @@ "refs": { "CreateLedgerRequest$Tags": "

The key-value pairs to add as tags to the ledger that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null.

", "ListTagsForResourceResponse$Tags": "

The tags that are currently associated with the specified Amazon QLDB resource.

", + "StreamJournalToKinesisRequest$Tags": "

The key-value pairs to add as tags to the stream that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null.

", "TagResourceRequest$Tags": "

The key-value pairs to add as tags to the specified QLDB resource. Tag keys are case sensitive. If you specify a key that already exists for the resource, your request fails and returns an error. Tag values are case sensitive and can be null.

" } }, @@ -397,20 +499,30 @@ "DescribeLedgerResponse$CreationDateTime": "

The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

", "ExportJournalToS3Request$InclusiveStartTime": "

The inclusive start date and time for the range of journal contents that you want to export.

The InclusiveStartTime must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z

The InclusiveStartTime must be before ExclusiveEndTime.

If you provide an InclusiveStartTime that is before the ledger's CreationDateTime, Amazon QLDB defaults it to the ledger's CreationDateTime.

", "ExportJournalToS3Request$ExclusiveEndTime": "

The exclusive end date and time for the range of journal contents that you want to export.

The ExclusiveEndTime must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z

The ExclusiveEndTime must be less than or equal to the current UTC date and time.

", + "JournalKinesisStreamDescription$CreationTime": "

The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

", + "JournalKinesisStreamDescription$InclusiveStartTime": "

The inclusive start date and time from which to start streaming journal data.

", + "JournalKinesisStreamDescription$ExclusiveEndTime": "

The exclusive date and time that specifies when the stream ends. If this parameter is blank, the stream runs indefinitely until you cancel it.

", "JournalS3ExportDescription$ExportCreationTime": "

The date and time, in epoch time format, when the export job was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

", "JournalS3ExportDescription$InclusiveStartTime": "

The inclusive start date and time for the range of journal contents that are specified in the original export request.

", "JournalS3ExportDescription$ExclusiveEndTime": "

The exclusive end date and time for the range of journal contents that are specified in the original export request.

", "LedgerSummary$CreationDateTime": "

The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

", + "StreamJournalToKinesisRequest$InclusiveStartTime": "

The inclusive start date and time from which to start streaming journal data. This parameter must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z

The InclusiveStartTime cannot be in the future and must be before ExclusiveEndTime.

If you provide an InclusiveStartTime that is before the ledger's CreationDateTime, QLDB effectively defaults it to the ledger's CreationDateTime.

", + "StreamJournalToKinesisRequest$ExclusiveEndTime": "

The exclusive date and time that specifies when the stream ends. If you keep this parameter blank, the stream runs indefinitely until you cancel it.

The ExclusiveEndTime must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z

", "UpdateLedgerResponse$CreationDateTime": "

The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" } }, "UniqueId": { "base": null, "refs": { + "CancelJournalKinesisStreamRequest$StreamId": "

The unique ID that QLDB assigns to each QLDB journal stream.

", + "CancelJournalKinesisStreamResponse$StreamId": "

The unique ID that QLDB assigns to each QLDB journal stream.

", + "DescribeJournalKinesisStreamRequest$StreamId": "

The unique ID that QLDB assigns to each QLDB journal stream.

", "DescribeJournalS3ExportRequest$ExportId": "

The unique ID of the journal export job that you want to describe.

", "ExportJournalToS3Response$ExportId": "

The unique ID that QLDB assigns to each journal export job.

To describe your export request and check the status of the job, you can use ExportId to call DescribeJournalS3Export.

", "GetRevisionRequest$DocumentId": "

The unique ID of the document to be verified.

", - "JournalS3ExportDescription$ExportId": "

The unique ID of the journal export job.

" + "JournalKinesisStreamDescription$StreamId": "

The unique ID that QLDB assigns to each QLDB journal stream.

", + "JournalS3ExportDescription$ExportId": "

The unique ID of the journal export job.

", + "StreamJournalToKinesisResponse$StreamId": "

The unique ID that QLDB assigns to each QLDB journal stream.

" } }, "UntagResourceRequest": { diff --git a/apis/qldb/2019-01-02/paginators-1.json b/apis/qldb/2019-01-02/paginators-1.json index 696cd5b2bef..dcebff0861b 100644 --- a/apis/qldb/2019-01-02/paginators-1.json +++ b/apis/qldb/2019-01-02/paginators-1.json @@ -1,5 +1,10 @@ { "pagination": { + "ListJournalKinesisStreamsForLedger": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListJournalS3Exports": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index d4bb55106f5..b8d25353754 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.317.0 (2020-05-18) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.316.0 (2020-05-15) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index efa7677407a..ac329853645 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.316.0 +1.317.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index fd02dd41c90..537b9ccac1a 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -1527,8 +1527,10 @@ }, "discovery" : { "endpoints" : { + "ap-northeast-1" : { }, "ap-southeast-2" : { }, "eu-central-1" : { }, + "us-east-1" : { }, "us-west-2" : { } } }, @@ -3422,8 +3424,10 @@ }, "mgh" : { "endpoints" : { + "ap-northeast-1" : { }, "ap-southeast-2" : { }, "eu-central-1" : { }, + "us-east-1" : { }, "us-west-2" : { } } }, @@ -7065,7 +7069,12 @@ "protocols" : [ "https" ] }, "endpoints" : { - "us-gov-west-1" : { } + "us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "greengrass.us-gov-west-1.amazonaws.com" + } }, "isRegionalized" : true }, @@ -7873,6 +7882,11 @@ } } }, + "es" : { + "endpoints" : { + "us-iso-east-1" : { } + } + }, "events" : { "endpoints" : { "us-iso-east-1" : { } diff --git a/gems/aws-sdk-chime/CHANGELOG.md b/gems/aws-sdk-chime/CHANGELOG.md index a50ac3b3247..163d17fae56 100644 --- a/gems/aws-sdk-chime/CHANGELOG.md +++ b/gems/aws-sdk-chime/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.25.0 (2020-05-18) +------------------ + +* Feature - Amazon Chime now supports redacting chat messages. + 1.24.0 (2020-05-07) ------------------ diff --git a/gems/aws-sdk-chime/VERSION b/gems/aws-sdk-chime/VERSION index 53cc1a6f929..ad2191947f7 100644 --- a/gems/aws-sdk-chime/VERSION +++ b/gems/aws-sdk-chime/VERSION @@ -1 +1 @@ -1.24.0 +1.25.0 diff --git a/gems/aws-sdk-chime/lib/aws-sdk-chime.rb b/gems/aws-sdk-chime/lib/aws-sdk-chime.rb index d293585f9b7..36c35564c04 100644 --- a/gems/aws-sdk-chime/lib/aws-sdk-chime.rb +++ b/gems/aws-sdk-chime/lib/aws-sdk-chime.rb @@ -45,6 +45,6 @@ # @service module Aws::Chime - GEM_VERSION = '1.24.0' + GEM_VERSION = '1.25.0' end diff --git a/gems/aws-sdk-chime/lib/aws-sdk-chime/client.rb b/gems/aws-sdk-chime/lib/aws-sdk-chime/client.rb index e1551f2a04d..6031fbdcfd3 100644 --- a/gems/aws-sdk-chime/lib/aws-sdk-chime/client.rb +++ b/gems/aws-sdk-chime/lib/aws-sdk-chime/client.rb @@ -3849,6 +3849,68 @@ def put_voice_connector_termination_credentials(params = {}, options = {}) req.send_request(options) end + # Redacts the specified message from the specified Amazon Chime + # conversation. + # + # @option params [required, String] :account_id + # The Amazon Chime account ID. + # + # @option params [required, String] :conversation_id + # The conversation ID. + # + # @option params [required, String] :message_id + # The message ID. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.redact_conversation_message({ + # account_id: "NonEmptyString", # required + # conversation_id: "NonEmptyString", # required + # message_id: "NonEmptyString", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessage AWS API Documentation + # + # @overload redact_conversation_message(params = {}) + # @param [Hash] params ({}) + def redact_conversation_message(params = {}, options = {}) + req = build_request(:redact_conversation_message, params) + req.send_request(options) + end + + # Redacts the specified message from the specified Amazon Chime chat + # room. + # + # @option params [required, String] :account_id + # The Amazon Chime account ID. + # + # @option params [required, String] :room_id + # The room ID. + # + # @option params [required, String] :message_id + # The message ID. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.redact_room_message({ + # account_id: "NonEmptyString", # required + # room_id: "NonEmptyString", # required + # message_id: "NonEmptyString", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessage AWS API Documentation + # + # @overload redact_room_message(params = {}) + # @param [Hash] params ({}) + def redact_room_message(params = {}, options = {}) + req = build_request(:redact_room_message, params) + req.send_request(options) + end + # Regenerates the security token for a bot. # # @option params [required, String] :account_id @@ -4817,7 +4879,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-chime' - context[:gem_version] = '1.24.0' + context[:gem_version] = '1.25.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-chime/lib/aws-sdk-chime/client_api.rb b/gems/aws-sdk-chime/lib/aws-sdk-chime/client_api.rb index 77dec1b1b62..48f6cf78113 100644 --- a/gems/aws-sdk-chime/lib/aws-sdk-chime/client_api.rb +++ b/gems/aws-sdk-chime/lib/aws-sdk-chime/client_api.rb @@ -282,6 +282,10 @@ module ClientApi PutVoiceConnectorTerminationCredentialsRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationCredentialsRequest') PutVoiceConnectorTerminationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationRequest') PutVoiceConnectorTerminationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationResponse') + RedactConversationMessageRequest = Shapes::StructureShape.new(name: 'RedactConversationMessageRequest') + RedactConversationMessageResponse = Shapes::StructureShape.new(name: 'RedactConversationMessageResponse') + RedactRoomMessageRequest = Shapes::StructureShape.new(name: 'RedactRoomMessageRequest') + RedactRoomMessageResponse = Shapes::StructureShape.new(name: 'RedactRoomMessageResponse') RegenerateSecurityTokenRequest = Shapes::StructureShape.new(name: 'RegenerateSecurityTokenRequest') RegenerateSecurityTokenResponse = Shapes::StructureShape.new(name: 'RegenerateSecurityTokenResponse') RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus') @@ -1225,6 +1229,20 @@ module ClientApi PutVoiceConnectorTerminationResponse.add_member(:termination, Shapes::ShapeRef.new(shape: Termination, location_name: "Termination")) PutVoiceConnectorTerminationResponse.struct_class = Types::PutVoiceConnectorTerminationResponse + RedactConversationMessageRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId")) + RedactConversationMessageRequest.add_member(:conversation_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "conversationId")) + RedactConversationMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "messageId")) + RedactConversationMessageRequest.struct_class = Types::RedactConversationMessageRequest + + RedactConversationMessageResponse.struct_class = Types::RedactConversationMessageResponse + + RedactRoomMessageRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId")) + RedactRoomMessageRequest.add_member(:room_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "roomId")) + RedactRoomMessageRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "messageId")) + RedactRoomMessageRequest.struct_class = Types::RedactRoomMessageRequest + + RedactRoomMessageResponse.struct_class = Types::RedactRoomMessageResponse + RegenerateSecurityTokenRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId")) RegenerateSecurityTokenRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "botId")) RegenerateSecurityTokenRequest.struct_class = Types::RegenerateSecurityTokenRequest @@ -2948,6 +2966,36 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException) end) + api.add_operation(:redact_conversation_message, Seahorse::Model::Operation.new.tap do |o| + o.name = "RedactConversationMessage" + o.http_method = "POST" + o.http_request_uri = "/accounts/{accountId}/conversations/{conversationId}/messages/{messageId}?operation=redact" + o.input = Shapes::ShapeRef.new(shape: RedactConversationMessageRequest) + o.output = Shapes::ShapeRef.new(shape: RedactConversationMessageResponse) + o.errors << Shapes::ShapeRef.new(shape: NotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException) + o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException) + o.errors << Shapes::ShapeRef.new(shape: BadRequestException) + o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) + o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException) + end) + + api.add_operation(:redact_room_message, Seahorse::Model::Operation.new.tap do |o| + o.name = "RedactRoomMessage" + o.http_method = "POST" + o.http_request_uri = "/accounts/{accountId}/rooms/{roomId}/messages/{messageId}?operation=redact" + o.input = Shapes::ShapeRef.new(shape: RedactRoomMessageRequest) + o.output = Shapes::ShapeRef.new(shape: RedactRoomMessageResponse) + o.errors << Shapes::ShapeRef.new(shape: NotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException) + o.errors << Shapes::ShapeRef.new(shape: ThrottledClientException) + o.errors << Shapes::ShapeRef.new(shape: BadRequestException) + o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) + o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException) + end) + api.add_operation(:regenerate_security_token, Seahorse::Model::Operation.new.tap do |o| o.name = "RegenerateSecurityToken" o.http_method = "POST" diff --git a/gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb b/gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb index fe6f58c7a7e..874fb3e9496 100644 --- a/gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb +++ b/gems/aws-sdk-chime/lib/aws-sdk-chime/types.rb @@ -4277,6 +4277,74 @@ class PutVoiceConnectorTerminationResponse < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass RedactConversationMessageRequest + # data as a hash: + # + # { + # account_id: "NonEmptyString", # required + # conversation_id: "NonEmptyString", # required + # message_id: "NonEmptyString", # required + # } + # + # @!attribute [rw] account_id + # The Amazon Chime account ID. + # @return [String] + # + # @!attribute [rw] conversation_id + # The conversation ID. + # @return [String] + # + # @!attribute [rw] message_id + # The message ID. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessageRequest AWS API Documentation + # + class RedactConversationMessageRequest < Struct.new( + :account_id, + :conversation_id, + :message_id) + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessageResponse AWS API Documentation + # + class RedactConversationMessageResponse < Aws::EmptyStructure; end + + # @note When making an API call, you may pass RedactRoomMessageRequest + # data as a hash: + # + # { + # account_id: "NonEmptyString", # required + # room_id: "NonEmptyString", # required + # message_id: "NonEmptyString", # required + # } + # + # @!attribute [rw] account_id + # The Amazon Chime account ID. + # @return [String] + # + # @!attribute [rw] room_id + # The room ID. + # @return [String] + # + # @!attribute [rw] message_id + # The message ID. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessageRequest AWS API Documentation + # + class RedactRoomMessageRequest < Struct.new( + :account_id, + :room_id, + :message_id) + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessageResponse AWS API Documentation + # + class RedactRoomMessageResponse < Aws::EmptyStructure; end + # @note When making an API call, you may pass RegenerateSecurityTokenRequest # data as a hash: # diff --git a/gems/aws-sdk-cloudfront/CHANGELOG.md b/gems/aws-sdk-cloudfront/CHANGELOG.md index 8b8e54d6080..00b631d3a33 100644 --- a/gems/aws-sdk-cloudfront/CHANGELOG.md +++ b/gems/aws-sdk-cloudfront/CHANGELOG.md @@ -1,6 +1,9 @@ Unreleased Changes ------------------ +1.27.1 (2020-05-18) +------------------ + * Issue - Split on first instance of `://` in `Aws::CloudFront::Signer` to handle 3rd party s3:// urls. 1.27.0 (2020-05-07) diff --git a/gems/aws-sdk-cloudfront/VERSION b/gems/aws-sdk-cloudfront/VERSION index 5db08bf2dc5..08002f86cc8 100644 --- a/gems/aws-sdk-cloudfront/VERSION +++ b/gems/aws-sdk-cloudfront/VERSION @@ -1 +1 @@ -1.27.0 +1.27.1 diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb index 58037862f89..d10d746c2eb 100644 --- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb +++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb @@ -46,6 +46,6 @@ # @service module Aws::CloudFront - GEM_VERSION = '1.27.0' + GEM_VERSION = '1.27.1' end diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb index b51ee357d9c..3fe89423c6f 100644 --- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb +++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb @@ -4158,7 +4158,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-cloudfront' - context[:gem_version] = '1.27.0' + context[:gem_version] = '1.27.1' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-core/CHANGELOG.md b/gems/aws-sdk-core/CHANGELOG.md index 0c7cfda5059..52ba361a103 100644 --- a/gems/aws-sdk-core/CHANGELOG.md +++ b/gems/aws-sdk-core/CHANGELOG.md @@ -1,6 +1,9 @@ Unreleased Changes ------------------ +3.96.1 (2020-05-18) +------------------ + * Issue - Raise `ArgumentError` for XML services when required URI elements are not included. 3.96.0 (2020-05-15) diff --git a/gems/aws-sdk-core/VERSION b/gems/aws-sdk-core/VERSION index a3e4b141d58..5e37cb0256b 100644 --- a/gems/aws-sdk-core/VERSION +++ b/gems/aws-sdk-core/VERSION @@ -1 +1 @@ -3.96.0 +3.96.1 diff --git a/gems/aws-sdk-core/lib/aws-sdk-sts.rb b/gems/aws-sdk-core/lib/aws-sdk-sts.rb index ca45bbaf1ed..cc128c39e64 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-sts.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-sts.rb @@ -43,6 +43,6 @@ # @service module Aws::STS - GEM_VERSION = '3.96.0' + GEM_VERSION = '3.96.1' end diff --git a/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb b/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb index 1c3d3758981..f7176313003 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb @@ -2185,7 +2185,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-core' - context[:gem_version] = '3.96.0' + context[:gem_version] = '3.96.1' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-dynamodb/CHANGELOG.md b/gems/aws-sdk-dynamodb/CHANGELOG.md index 1f9a552efe5..e5b6f9890d8 100644 --- a/gems/aws-sdk-dynamodb/CHANGELOG.md +++ b/gems/aws-sdk-dynamodb/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.47.0 (2020-05-18) +------------------ + +* Feature - Documentation updates for dynamodb + 1.46.1 (2020-05-11) ------------------ diff --git a/gems/aws-sdk-dynamodb/VERSION b/gems/aws-sdk-dynamodb/VERSION index aa3ed3a5e03..21998d3c2d9 100644 --- a/gems/aws-sdk-dynamodb/VERSION +++ b/gems/aws-sdk-dynamodb/VERSION @@ -1 +1 @@ -1.46.1 +1.47.0 diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb index d86eb9eba20..befa3fd12dc 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb @@ -47,6 +47,6 @@ # @service module Aws::DynamoDB - GEM_VERSION = '1.46.1' + GEM_VERSION = '1.47.0' end diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb index 4c7807557fb..c61b83f893b 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb @@ -944,7 +944,8 @@ def create_backup(params = {}, options = {}) # a replication relationship between two or more DynamoDB tables with # the same table name in the provided Regions. # - # This method only applies to [Version 2017.11.29][1] of global tables. + # This operation only applies to [Version 2017.11.29][1] of global + # tables. # # # @@ -969,6 +970,14 @@ def create_backup(params = {}, options = {}) # * The global secondary indexes must have the same hash key and sort # key (if present). # + # If local secondary indexes are specified, then the following + # conditions must also be met: + # + # * The local secondary indexes must have the same name. + # + # * The local secondary indexes must have the same hash key and sort key + # (if present). + # # Write capacity settings should be set consistently across your replica # tables and secondary indexes. DynamoDB strongly recommends enabling # auto scaling to manage the write capacity settings for all of your @@ -2163,13 +2172,17 @@ def describe_endpoints(params = {}, options = {}) # Returns information about the specified global table. # - # This method only applies to [Version 2017.11.29][1] of global tables. + # This operation only applies to [Version 2017.11.29][1] of global + # tables. If you are using global tables [Version 2019.11.21][2] you can + # use [DescribeTable][3] instead. # # # # # # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html + # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html + # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html # # @option params [required, String] :global_table_name # The name of the global table. @@ -2212,7 +2225,8 @@ def describe_global_table(params = {}, options = {}) # Describes Region-specific settings for a global table. # - # This method only applies to [Version 2017.11.29][1] of global tables. + # This operation only applies to [Version 2017.11.29][1] of global + # tables. # # # @@ -2575,7 +2589,8 @@ def describe_table(params = {}, options = {}) # Describes auto scaling settings across replicas of the global table at # once. # - # This method only applies to [Version 2019.11.21][1] of global tables. + # This operation only applies to [Version 2019.11.21][1] of global + # tables. # # # @@ -3011,7 +3026,8 @@ def list_contributor_insights(params = {}, options = {}) # Lists all global tables that have a replica in the specified Region. # - # This method only applies to [Version 2017.11.29][1] of global tables. + # This operation only applies to [Version 2017.11.29][1] of global + # tables. # # # @@ -3205,9 +3221,14 @@ def list_tags_of_resource(params = {}, options = {}) # * [ PutItem in the AWS SDK for Ruby V2][9] # # When you add an item, the primary key attributes are the only required - # attributes. Attribute values cannot be null. String and Binary type - # attributes must have lengths greater than zero. Set type attributes - # cannot be empty. Requests with empty values will be rejected with a + # attributes. Attribute values cannot be null. + # + # 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 @@ -3252,6 +3273,10 @@ def list_tags_of_resource(params = {}, options = {}) # 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][1] in the # *Amazon DynamoDB Developer Guide*. # @@ -6377,7 +6402,8 @@ def update_table(params = {}, options = {}) # Updates auto scaling settings on your global tables at once. # - # This method only applies to [Version 2019.11.21][1] of global tables. + # This operation only applies to [Version 2019.11.21][1] of global + # tables. # # # @@ -6630,7 +6656,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-dynamodb' - context[:gem_version] = '1.46.1' + context[:gem_version] = '1.47.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/table.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/table.rb index be9d4a8cf39..4f8b9429ca3 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/table.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/table.rb @@ -855,6 +855,10 @@ def get_item(options = {}) # 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][1] in the # *Amazon DynamoDB Developer Guide*. # diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb index cdc7e243146..385318ac165 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb @@ -5163,6 +5163,11 @@ class Put < Struct.new( # 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][1] in the # *Amazon DynamoDB Developer Guide*. # diff --git a/gems/aws-sdk-ec2/CHANGELOG.md b/gems/aws-sdk-ec2/CHANGELOG.md index bebc672ff51..2516dcd76dc 100644 --- a/gems/aws-sdk-ec2/CHANGELOG.md +++ b/gems/aws-sdk-ec2/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.160.0 (2020-05-18) +------------------ + +* Feature - This release changes the RunInstances CLI and SDK's so that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. + 1.159.0 (2020-05-14) ------------------ diff --git a/gems/aws-sdk-ec2/VERSION b/gems/aws-sdk-ec2/VERSION index 1532475709c..1b187630970 100644 --- a/gems/aws-sdk-ec2/VERSION +++ b/gems/aws-sdk-ec2/VERSION @@ -1 +1 @@ -1.159.0 +1.160.0 diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb index 09cfd1f1be9..efe493fd2bf 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb @@ -69,6 +69,6 @@ # @service module Aws::EC2 - GEM_VERSION = '1.159.0' + GEM_VERSION = '1.160.0' end diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb index 9b929f71d57..024d6456a01 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb @@ -35113,6 +35113,9 @@ def revoke_security_group_ingress(params = {}, options = {}) # # Constraints: Maximum 64 ASCII characters # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option.** + # # # # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html @@ -36948,7 +36951,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-ec2' - context[:gem_version] = '1.159.0' + context[:gem_version] = '1.160.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client_api.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client_api.rb index 79f983c888e..f9d7b412853 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client_api.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client_api.rb @@ -8401,7 +8401,7 @@ module ClientApi RunInstancesRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId")) RunInstancesRequest.add_member(:user_data, Shapes::ShapeRef.new(shape: String, location_name: "UserData")) RunInstancesRequest.add_member(:additional_info, Shapes::ShapeRef.new(shape: String, location_name: "additionalInfo")) - RunInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken")) + RunInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true})) RunInstancesRequest.add_member(:disable_api_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "disableApiTermination")) RunInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun")) RunInstancesRequest.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsOptimized")) diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb index 36a66d479cb..3ff8d8db8ad 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb @@ -40882,6 +40882,9 @@ class RunInstancesMonitoringEnabled < Struct.new( # # Constraints: Maximum 64 ASCII characters # + # **A suitable default value is auto-generated.** You should normally + # not need to pass this option. + # # # # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html diff --git a/gems/aws-sdk-ecs/CHANGELOG.md b/gems/aws-sdk-ecs/CHANGELOG.md index ce3cf00594c..e149f51a546 100644 --- a/gems/aws-sdk-ecs/CHANGELOG.md +++ b/gems/aws-sdk-ecs/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.62.0 (2020-05-18) +------------------ + +* Feature - This release adds support for specifying environment files to add environment variables to your containers. + 1.61.0 (2020-05-07) ------------------ diff --git a/gems/aws-sdk-ecs/VERSION b/gems/aws-sdk-ecs/VERSION index 91951fd8ad7..76d05362056 100644 --- a/gems/aws-sdk-ecs/VERSION +++ b/gems/aws-sdk-ecs/VERSION @@ -1 +1 @@ -1.61.0 +1.62.0 diff --git a/gems/aws-sdk-ecs/lib/aws-sdk-ecs.rb b/gems/aws-sdk-ecs/lib/aws-sdk-ecs.rb index 29523eea197..9fa14a9fcee 100644 --- a/gems/aws-sdk-ecs/lib/aws-sdk-ecs.rb +++ b/gems/aws-sdk-ecs/lib/aws-sdk-ecs.rb @@ -46,6 +46,6 @@ # @service module Aws::ECS - GEM_VERSION = '1.61.0' + GEM_VERSION = '1.62.0' end diff --git a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client.rb b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client.rb index 7d7f432b79c..827a911c1c6 100644 --- a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client.rb +++ b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client.rb @@ -2296,6 +2296,9 @@ def deregister_container_instance(params = {}, options = {}) # resp.task_definition.container_definitions[0].environment #=> Array # resp.task_definition.container_definitions[0].environment[0].name #=> String # resp.task_definition.container_definitions[0].environment[0].value #=> String + # resp.task_definition.container_definitions[0].environment_files #=> Array + # resp.task_definition.container_definitions[0].environment_files[0].value #=> String + # resp.task_definition.container_definitions[0].environment_files[0].type #=> String, one of "s3" # resp.task_definition.container_definitions[0].mount_points #=> Array # resp.task_definition.container_definitions[0].mount_points[0].source_volume #=> String # resp.task_definition.container_definitions[0].mount_points[0].container_path #=> String @@ -3159,6 +3162,9 @@ def describe_services(params = {}, options = {}) # resp.task_definition.container_definitions[0].environment #=> Array # resp.task_definition.container_definitions[0].environment[0].name #=> String # resp.task_definition.container_definitions[0].environment[0].value #=> String + # resp.task_definition.container_definitions[0].environment_files #=> Array + # resp.task_definition.container_definitions[0].environment_files[0].value #=> String + # resp.task_definition.container_definitions[0].environment_files[0].type #=> String, one of "s3" # resp.task_definition.container_definitions[0].mount_points #=> Array # resp.task_definition.container_definitions[0].mount_points[0].source_volume #=> String # resp.task_definition.container_definitions[0].mount_points[0].container_path #=> String @@ -3537,6 +3543,9 @@ def describe_task_sets(params = {}, options = {}) # resp.tasks[0].overrides.container_overrides[0].environment #=> Array # resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String # resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String + # resp.tasks[0].overrides.container_overrides[0].environment_files #=> Array + # resp.tasks[0].overrides.container_overrides[0].environment_files[0].value #=> String + # resp.tasks[0].overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3" # resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer # resp.tasks[0].overrides.container_overrides[0].memory #=> Integer # resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer @@ -5492,6 +5501,12 @@ def register_container_instance(params = {}, options = {}) # value: "String", # }, # ], + # environment_files: [ + # { + # value: "String", # required + # type: "s3", # required, accepts s3 + # }, + # ], # mount_points: [ # { # source_volume: "String", @@ -5697,6 +5712,9 @@ def register_container_instance(params = {}, options = {}) # resp.task_definition.container_definitions[0].environment #=> Array # resp.task_definition.container_definitions[0].environment[0].name #=> String # resp.task_definition.container_definitions[0].environment[0].value #=> String + # resp.task_definition.container_definitions[0].environment_files #=> Array + # resp.task_definition.container_definitions[0].environment_files[0].value #=> String + # resp.task_definition.container_definitions[0].environment_files[0].type #=> String, one of "s3" # resp.task_definition.container_definitions[0].mount_points #=> Array # resp.task_definition.container_definitions[0].mount_points[0].source_volume #=> String # resp.task_definition.container_definitions[0].mount_points[0].container_path #=> String @@ -6115,6 +6133,12 @@ def register_task_definition(params = {}, options = {}) # value: "String", # }, # ], + # environment_files: [ + # { + # value: "String", # required + # type: "s3", # required, accepts s3 + # }, + # ], # cpu: 1, # memory: 1, # memory_reservation: 1, @@ -6227,6 +6251,9 @@ def register_task_definition(params = {}, options = {}) # resp.tasks[0].overrides.container_overrides[0].environment #=> Array # resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String # resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String + # resp.tasks[0].overrides.container_overrides[0].environment_files #=> Array + # resp.tasks[0].overrides.container_overrides[0].environment_files[0].value #=> String + # resp.tasks[0].overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3" # resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer # resp.tasks[0].overrides.container_overrides[0].memory #=> Integer # resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer @@ -6409,6 +6436,12 @@ def run_task(params = {}, options = {}) # value: "String", # }, # ], + # environment_files: [ + # { + # value: "String", # required + # type: "s3", # required, accepts s3 + # }, + # ], # cpu: 1, # memory: 1, # memory_reservation: 1, @@ -6508,6 +6541,9 @@ def run_task(params = {}, options = {}) # resp.tasks[0].overrides.container_overrides[0].environment #=> Array # resp.tasks[0].overrides.container_overrides[0].environment[0].name #=> String # resp.tasks[0].overrides.container_overrides[0].environment[0].value #=> String + # resp.tasks[0].overrides.container_overrides[0].environment_files #=> Array + # resp.tasks[0].overrides.container_overrides[0].environment_files[0].value #=> String + # resp.tasks[0].overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3" # resp.tasks[0].overrides.container_overrides[0].cpu #=> Integer # resp.tasks[0].overrides.container_overrides[0].memory #=> Integer # resp.tasks[0].overrides.container_overrides[0].memory_reservation #=> Integer @@ -6662,6 +6698,9 @@ def start_task(params = {}, options = {}) # resp.task.overrides.container_overrides[0].environment #=> Array # resp.task.overrides.container_overrides[0].environment[0].name #=> String # resp.task.overrides.container_overrides[0].environment[0].value #=> String + # resp.task.overrides.container_overrides[0].environment_files #=> Array + # resp.task.overrides.container_overrides[0].environment_files[0].value #=> String + # resp.task.overrides.container_overrides[0].environment_files[0].type #=> String, one of "s3" # resp.task.overrides.container_overrides[0].cpu #=> Integer # resp.task.overrides.container_overrides[0].memory #=> Integer # resp.task.overrides.container_overrides[0].memory_reservation #=> Integer @@ -7959,7 +7998,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-ecs' - context[:gem_version] = '1.61.0' + context[:gem_version] = '1.62.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client_api.rb b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client_api.rb index c76d13d03a8..de08579ccff 100644 --- a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client_api.rb +++ b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client_api.rb @@ -123,6 +123,9 @@ module ClientApi EFSAuthorizationConfigIAM = Shapes::StringShape.new(name: 'EFSAuthorizationConfigIAM') EFSTransitEncryption = Shapes::StringShape.new(name: 'EFSTransitEncryption') EFSVolumeConfiguration = Shapes::StructureShape.new(name: 'EFSVolumeConfiguration') + EnvironmentFile = Shapes::StructureShape.new(name: 'EnvironmentFile') + EnvironmentFileType = Shapes::StringShape.new(name: 'EnvironmentFileType') + EnvironmentFiles = Shapes::ListShape.new(name: 'EnvironmentFiles') EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables') Failure = Shapes::StructureShape.new(name: 'Failure') Failures = Shapes::ListShape.new(name: 'Failures') @@ -449,6 +452,7 @@ module ClientApi ContainerDefinition.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "entryPoint")) ContainerDefinition.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command")) ContainerDefinition.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment")) + ContainerDefinition.add_member(:environment_files, Shapes::ShapeRef.new(shape: EnvironmentFiles, location_name: "environmentFiles")) ContainerDefinition.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPointList, location_name: "mountPoints")) ContainerDefinition.add_member(:volumes_from, Shapes::ShapeRef.new(shape: VolumeFromList, location_name: "volumesFrom")) ContainerDefinition.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters")) @@ -511,6 +515,7 @@ module ClientApi ContainerOverride.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name")) ContainerOverride.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command")) ContainerOverride.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment")) + ContainerOverride.add_member(:environment_files, Shapes::ShapeRef.new(shape: EnvironmentFiles, location_name: "environmentFiles")) ContainerOverride.add_member(:cpu, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "cpu")) ContainerOverride.add_member(:memory, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memory")) ContainerOverride.add_member(:memory_reservation, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memoryReservation")) @@ -770,6 +775,12 @@ module ClientApi EFSVolumeConfiguration.add_member(:authorization_config, Shapes::ShapeRef.new(shape: EFSAuthorizationConfig, location_name: "authorizationConfig")) EFSVolumeConfiguration.struct_class = Types::EFSVolumeConfiguration + EnvironmentFile.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value")) + EnvironmentFile.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentFileType, required: true, location_name: "type")) + EnvironmentFile.struct_class = Types::EnvironmentFile + + EnvironmentFiles.member = Shapes::ShapeRef.new(shape: EnvironmentFile) + EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair) Failure.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn")) diff --git a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb index 3b4edb73594..7f250a5b088 100644 --- a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb +++ b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb @@ -743,6 +743,12 @@ class Container < Struct.new( # value: "String", # }, # ], + # environment_files: [ + # { + # value: "String", # required + # type: "s3", # required, accepts s3 + # }, + # ], # mount_points: [ # { # source_volume: "String", @@ -1187,6 +1193,37 @@ class Container < Struct.new( # [3]: https://docs.docker.com/engine/reference/run/ # @return [Array] # + # @!attribute [rw] environment_files + # A list of files containing the environment variables to pass to a + # container. This parameter maps to the `--env-file` option to [docker + # run][1]. + # + # You can specify up to ten environment files. The file must have a + # `.env` file extension. Each line in an environment file should + # contain an environment variable in `VARIABLE=VALUE` format. Lines + # beginning with `#` are treated as comments and are ignored. For more + # information on the environment variable file syntax, see [Declare + # default environment variables in file][2]. + # + # If there are environment variables specified using the `environment` + # parameter in a container definition, they take precedence over the + # variables contained within an environment file. If multiple + # environment files are specified that contain the same variable, they + # are processed from the top down. It is recommended to use unique + # variable names. For more information, see [Specifying Environment + # Variables][3] in the *Amazon Elastic Container Service Developer + # Guide*. + # + # This field is not valid for containers in tasks using the Fargate + # launch type. + # + # + # + # [1]: https://docs.docker.com/engine/reference/run/ + # [2]: https://docs.docker.com/compose/env-file/ + # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html + # @return [Array] + # # @!attribute [rw] mount_points # The mount points for data volumes in your container. # @@ -1719,6 +1756,7 @@ class ContainerDefinition < Struct.new( :entry_point, :command, :environment, + :environment_files, :mount_points, :volumes_from, :linux_parameters, @@ -2017,6 +2055,12 @@ class ContainerInstance < Struct.new( # value: "String", # }, # ], + # environment_files: [ + # { + # value: "String", # required + # type: "s3", # required, accepts s3 + # }, + # ], # cpu: 1, # memory: 1, # memory_reservation: 1, @@ -2047,6 +2091,11 @@ class ContainerInstance < Struct.new( # container name. # @return [Array] # + # @!attribute [rw] environment_files + # A list of files containing the environment variables to pass to a + # container, instead of the value from the container definition. + # @return [Array] + # # @!attribute [rw] cpu # The number of `cpu` units reserved for the container, instead of the # default value from the task definition. You must also specify a @@ -2078,6 +2127,7 @@ class ContainerOverride < Struct.new( :name, :command, :environment, + :environment_files, :cpu, :memory, :memory_reservation, @@ -4329,6 +4379,56 @@ class EFSVolumeConfiguration < Struct.new( include Aws::Structure end + # A list of files containing the environment variables to pass to a + # container. You can specify up to ten environment files. The file must + # have a `.env` file extension. Each line in an environment file should + # contain an environment variable in `VARIABLE=VALUE` format. Lines + # beginning with `#` are treated as comments and are ignored. For more + # information on the environment variable file syntax, see [Declare + # default environment variables in file][1]. + # + # If there are environment variables specified using the `environment` + # parameter in a container definition, they take precedence over the + # variables contained within an environment file. If multiple + # environment files are specified that contain the same variable, they + # are processed from the top down. It is recommended to use unique + # variable names. For more information, see [Specifying Environment + # Variables][2] in the *Amazon Elastic Container Service Developer + # Guide*. + # + # This field is not valid for containers in tasks using the Fargate + # launch type. + # + # + # + # [1]: https://docs.docker.com/compose/env-file/ + # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html + # + # @note When making an API call, you may pass EnvironmentFile + # data as a hash: + # + # { + # value: "String", # required + # type: "s3", # required, accepts s3 + # } + # + # @!attribute [rw] value + # The Amazon Resource Name (ARN) of the Amazon S3 object containing + # the environment variable file. + # @return [String] + # + # @!attribute [rw] type + # The file type to use. The only supported value is `s3`. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/EnvironmentFile AWS API Documentation + # + class EnvironmentFile < Struct.new( + :value, + :type) + include Aws::Structure + end + # A failed resource. # # @!attribute [rw] arn @@ -4689,8 +4789,9 @@ class InvalidParameterException < Aws::EmptyStructure; end # `CapAdd` in the [Create a container][1] section of the [Docker # Remote API][2] and the `--cap-add` option to [docker run][3]. # - # If you are using tasks that use the Fargate launch type, the `add` - # parameter is not supported. + # The `SYS_PTRACE` capability is supported for tasks that use the + # Fargate launch type if they are also using platform version 1.4.0. + # The other capabilities are not supported for any platform versions. # # # @@ -4811,9 +4912,9 @@ class LimitExceededException < Aws::EmptyStructure; end # The Linux capabilities for the container that are added to or # dropped from the default configuration provided by Docker. # - # If you are using tasks that use the Fargate launch type, - # `capabilities` is supported but the `add` parameter is not - # supported. + # For tasks that use the Fargate launch type, `capabilities` is + # supported for all platform versions but the `add` parameter is only + # supported if using platform version 1.4.0 or later. # # # @return [Types::KernelCapabilities] @@ -6828,6 +6929,12 @@ class RegisterContainerInstanceResponse < Struct.new( # value: "String", # }, # ], + # environment_files: [ + # { + # value: "String", # required + # type: "s3", # required, accepts s3 + # }, + # ], # mount_points: [ # { # source_volume: "String", @@ -7515,6 +7622,12 @@ class ResourceRequirement < Struct.new( # value: "String", # }, # ], + # environment_files: [ + # { + # value: "String", # required + # type: "s3", # required, accepts s3 + # }, + # ], # cpu: 1, # memory: 1, # memory_reservation: 1, @@ -8296,6 +8409,12 @@ class Setting < Struct.new( # value: "String", # }, # ], + # environment_files: [ + # { + # value: "String", # required + # type: "s3", # required, accepts s3 + # }, + # ], # cpu: 1, # memory: 1, # memory_reservation: 1, @@ -9614,6 +9733,12 @@ class TaskDefinitionPlacementConstraint < Struct.new( # value: "String", # }, # ], + # environment_files: [ + # { + # value: "String", # required + # type: "s3", # required, accepts s3 + # }, + # ], # cpu: 1, # memory: 1, # memory_reservation: 1, diff --git a/gems/aws-sdk-macie2/CHANGELOG.md b/gems/aws-sdk-macie2/CHANGELOG.md index 058725e088e..6765dbe554a 100644 --- a/gems/aws-sdk-macie2/CHANGELOG.md +++ b/gems/aws-sdk-macie2/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.1.0 (2020-05-18) +------------------ + +* Feature - Documentation updates for Amazon Macie + 1.0.0 (2020-05-13) ------------------ diff --git a/gems/aws-sdk-macie2/VERSION b/gems/aws-sdk-macie2/VERSION index 3eefcb9dd5b..9084fa2f716 100644 --- a/gems/aws-sdk-macie2/VERSION +++ b/gems/aws-sdk-macie2/VERSION @@ -1 +1 @@ -1.0.0 +1.1.0 diff --git a/gems/aws-sdk-macie2/lib/aws-sdk-macie2.rb b/gems/aws-sdk-macie2/lib/aws-sdk-macie2.rb index a457fc706f8..54ed1e8747c 100644 --- a/gems/aws-sdk-macie2/lib/aws-sdk-macie2.rb +++ b/gems/aws-sdk-macie2/lib/aws-sdk-macie2.rb @@ -45,6 +45,6 @@ # @service module Aws::Macie2 - GEM_VERSION = '1.0.0' + GEM_VERSION = '1.1.0' end diff --git a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb index aee59c0dc7e..d664240f730 100644 --- a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb +++ b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb @@ -324,7 +324,7 @@ def initialize(*args) # master_account: "__string", # required # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AcceptInvitation AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation AWS API Documentation # # @overload accept_invitation(params = {}) # @param [Hash] params ({}) @@ -345,7 +345,7 @@ def accept_invitation(params = {}, options = {}) # finding_ids: ["__string"], # required # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ArchiveFindings AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ArchiveFindings AWS API Documentation # # @overload archive_findings(params = {}) # @param [Hash] params ({}) @@ -381,7 +381,7 @@ def archive_findings(params = {}, options = {}) # resp.not_found_identifier_ids #=> Array # resp.not_found_identifier_ids[0] #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BatchGetCustomDataIdentifiers AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers AWS API Documentation # # @overload batch_get_custom_data_identifiers(params = {}) # @param [Hash] params ({}) @@ -510,7 +510,7 @@ def batch_get_custom_data_identifiers(params = {}, options = {}) # resp.job_arn #=> String # resp.job_id #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateClassificationJob AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob AWS API Documentation # # @overload create_classification_job(params = {}) # @param [Hash] params ({}) @@ -566,7 +566,7 @@ def create_classification_job(params = {}, options = {}) # # resp.custom_data_identifier_id #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateCustomDataIdentifier AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier AWS API Documentation # # @overload create_custom_data_identifier(params = {}) # @param [Hash] params ({}) @@ -636,7 +636,7 @@ def create_custom_data_identifier(params = {}, options = {}) # resp.arn #=> String # resp.id #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateFindingsFilter AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter AWS API Documentation # # @overload create_findings_filter(params = {}) # @param [Hash] params ({}) @@ -672,7 +672,7 @@ def create_findings_filter(params = {}, options = {}) # resp.unprocessed_accounts[0].error_code #=> String, one of "ClientError", "InternalError" # resp.unprocessed_accounts[0].error_message #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateInvitations AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations AWS API Documentation # # @overload create_invitations(params = {}) # @param [Hash] params ({}) @@ -712,7 +712,7 @@ def create_invitations(params = {}, options = {}) # # resp.arn #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateMember AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember AWS API Documentation # # @overload create_member(params = {}) # @param [Hash] params ({}) @@ -733,7 +733,7 @@ def create_member(params = {}, options = {}) # finding_types: ["SensitiveData:S3Object/Multiple"], # accepts SensitiveData:S3Object/Multiple, SensitiveData:S3Object/Financial, SensitiveData:S3Object/Personal, SensitiveData:S3Object/Credentials, SensitiveData:S3Object/CustomIdentifier, Policy:IAMUser/S3BucketPublic, Policy:IAMUser/S3BucketSharedExternally, Policy:IAMUser/S3BucketReplicatedExternally, Policy:IAMUser/S3BucketEncryptionDisabled, Policy:IAMUser/S3BlockPublicAccessDisabled # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateSampleFindings AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings AWS API Documentation # # @overload create_sample_findings(params = {}) # @param [Hash] params ({}) @@ -764,7 +764,7 @@ def create_sample_findings(params = {}, options = {}) # resp.unprocessed_accounts[0].error_code #=> String, one of "ClientError", "InternalError" # resp.unprocessed_accounts[0].error_message #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeclineInvitations AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations AWS API Documentation # # @overload decline_invitations(params = {}) # @param [Hash] params ({}) @@ -785,7 +785,7 @@ def decline_invitations(params = {}, options = {}) # id: "__string", # required # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteCustomDataIdentifier AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier AWS API Documentation # # @overload delete_custom_data_identifier(params = {}) # @param [Hash] params ({}) @@ -806,7 +806,7 @@ def delete_custom_data_identifier(params = {}, options = {}) # id: "__string", # required # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteFindingsFilter AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter AWS API Documentation # # @overload delete_findings_filter(params = {}) # @param [Hash] params ({}) @@ -837,7 +837,7 @@ def delete_findings_filter(params = {}, options = {}) # resp.unprocessed_accounts[0].error_code #=> String, one of "ClientError", "InternalError" # resp.unprocessed_accounts[0].error_message #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteInvitations AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations AWS API Documentation # # @overload delete_invitations(params = {}) # @param [Hash] params ({}) @@ -859,7 +859,7 @@ def delete_invitations(params = {}, options = {}) # id: "__string", # required # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteMember AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember AWS API Documentation # # @overload delete_member(params = {}) # @param [Hash] params ({}) @@ -951,7 +951,7 @@ def delete_member(params = {}, options = {}) # resp.buckets[0].versioning #=> Boolean # resp.next_token #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DescribeBuckets AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets AWS API Documentation # # @overload describe_buckets(params = {}) # @param [Hash] params ({}) @@ -1038,7 +1038,7 @@ def describe_buckets(params = {}, options = {}) # resp.tags #=> Hash # resp.tags["__string"] #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DescribeClassificationJob AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob AWS API Documentation # # @overload describe_classification_job(params = {}) # @param [Hash] params ({}) @@ -1060,7 +1060,7 @@ def describe_classification_job(params = {}, options = {}) # resp.auto_enable #=> Boolean # resp.max_account_limit_reached #=> Boolean # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DescribeOrganizationConfiguration AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration AWS API Documentation # # @overload describe_organization_configuration(params = {}) # @param [Hash] params ({}) @@ -1074,7 +1074,7 @@ def describe_organization_configuration(params = {}, options = {}) # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisableMacie AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie AWS API Documentation # # @overload disable_macie(params = {}) # @param [Hash] params ({}) @@ -1096,7 +1096,7 @@ def disable_macie(params = {}, options = {}) # admin_account_id: "__string", # required # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisableOrganizationAdminAccount AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount AWS API Documentation # # @overload disable_organization_admin_account(params = {}) # @param [Hash] params ({}) @@ -1109,7 +1109,7 @@ def disable_organization_admin_account(params = {}, options = {}) # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisassociateFromMasterAccount AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount AWS API Documentation # # @overload disassociate_from_master_account(params = {}) # @param [Hash] params ({}) @@ -1130,7 +1130,7 @@ def disassociate_from_master_account(params = {}, options = {}) # id: "__string", # required # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisassociateMember AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember AWS API Documentation # # @overload disassociate_member(params = {}) # @param [Hash] params ({}) @@ -1164,7 +1164,7 @@ def disassociate_member(params = {}, options = {}) # status: "PAUSED", # accepts PAUSED, ENABLED # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/EnableMacie AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie AWS API Documentation # # @overload enable_macie(params = {}) # @param [Hash] params ({}) @@ -1191,7 +1191,7 @@ def enable_macie(params = {}, options = {}) # client_token: "__string", # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/EnableOrganizationAdminAccount AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount AWS API Documentation # # @overload enable_organization_admin_account(params = {}) # @param [Hash] params ({}) @@ -1241,7 +1241,7 @@ def enable_organization_admin_account(params = {}, options = {}) # resp.size_in_bytes #=> Integer # resp.size_in_bytes_compressed #=> Integer # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetBucketStatistics AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics AWS API Documentation # # @overload get_bucket_statistics(params = {}) # @param [Hash] params ({}) @@ -1263,7 +1263,7 @@ def get_bucket_statistics(params = {}, options = {}) # resp.configuration.s3_destination.key_prefix #=> String # resp.configuration.s3_destination.kms_key_arn #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetClassificationExportConfiguration AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration AWS API Documentation # # @overload get_classification_export_configuration(params = {}) # @param [Hash] params ({}) @@ -1314,7 +1314,7 @@ def get_classification_export_configuration(params = {}, options = {}) # resp.tags #=> Hash # resp.tags["__string"] #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetCustomDataIdentifier AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier AWS API Documentation # # @overload get_custom_data_identifier(params = {}) # @param [Hash] params ({}) @@ -1370,7 +1370,7 @@ def get_custom_data_identifier(params = {}, options = {}) # resp.counts_by_group[0].count #=> Integer # resp.counts_by_group[0].group_key #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetFindingStatistics AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics AWS API Documentation # # @overload get_finding_statistics(params = {}) # @param [Hash] params ({}) @@ -1526,7 +1526,7 @@ def get_finding_statistics(params = {}, options = {}) # resp.findings[0].type #=> String, one of "SensitiveData:S3Object/Multiple", "SensitiveData:S3Object/Financial", "SensitiveData:S3Object/Personal", "SensitiveData:S3Object/Credentials", "SensitiveData:S3Object/CustomIdentifier", "Policy:IAMUser/S3BucketPublic", "Policy:IAMUser/S3BucketSharedExternally", "Policy:IAMUser/S3BucketReplicatedExternally", "Policy:IAMUser/S3BucketEncryptionDisabled", "Policy:IAMUser/S3BlockPublicAccessDisabled" # resp.findings[0].updated_at #=> Time # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetFindings AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings AWS API Documentation # # @overload get_findings(params = {}) # @param [Hash] params ({}) @@ -1577,7 +1577,7 @@ def get_findings(params = {}, options = {}) # resp.tags #=> Hash # resp.tags["__string"] #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetFindingsFilter AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter AWS API Documentation # # @overload get_findings_filter(params = {}) # @param [Hash] params ({}) @@ -1597,7 +1597,7 @@ def get_findings_filter(params = {}, options = {}) # # resp.invitations_count #=> Integer # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetInvitationsCount AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount AWS API Documentation # # @overload get_invitations_count(params = {}) # @param [Hash] params ({}) @@ -1625,7 +1625,7 @@ def get_invitations_count(params = {}, options = {}) # resp.status #=> String, one of "PAUSED", "ENABLED" # resp.updated_at #=> Time # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetMacieSession AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession AWS API Documentation # # @overload get_macie_session(params = {}) # @param [Hash] params ({}) @@ -1648,7 +1648,7 @@ def get_macie_session(params = {}, options = {}) # resp.master.invited_at #=> Time # resp.master.relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed" # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetMasterAccount AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount AWS API Documentation # # @overload get_master_account(params = {}) # @param [Hash] params ({}) @@ -1691,7 +1691,7 @@ def get_master_account(params = {}, options = {}) # resp.tags["__string"] #=> String # resp.updated_at #=> Time # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetMember AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember AWS API Documentation # # @overload get_member(params = {}) # @param [Hash] params ({}) @@ -1749,7 +1749,7 @@ def get_member(params = {}, options = {}) # resp.records[0].usage[0].service_limit.value #=> Integer # resp.records[0].usage[0].type #=> String, one of "DATA_INVENTORY_EVALUATION", "SENSITIVE_DATA_DISCOVERY" # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetUsageStatistics AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics AWS API Documentation # # @overload get_usage_statistics(params = {}) # @param [Hash] params ({}) @@ -1771,7 +1771,7 @@ def get_usage_statistics(params = {}, options = {}) # resp.usage_totals[0].estimated_cost #=> String # resp.usage_totals[0].type #=> String, one of "DATA_INVENTORY_EVALUATION", "SENSITIVE_DATA_DISCOVERY" # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetUsageTotals AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals AWS API Documentation # # @overload get_usage_totals(params = {}) # @param [Hash] params ({}) @@ -1841,7 +1841,7 @@ def get_usage_totals(params = {}, options = {}) # resp.items[0].name #=> String # resp.next_token #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListClassificationJobs AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation # # @overload list_classification_jobs(params = {}) # @param [Hash] params ({}) @@ -1879,7 +1879,7 @@ def list_classification_jobs(params = {}, options = {}) # resp.items[0].name #=> String # resp.next_token #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListCustomDataIdentifiers AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers AWS API Documentation # # @overload list_custom_data_identifiers(params = {}) # @param [Hash] params ({}) @@ -1936,7 +1936,7 @@ def list_custom_data_identifiers(params = {}, options = {}) # resp.finding_ids[0] #=> String # resp.next_token #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListFindings AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings AWS API Documentation # # @overload list_findings(params = {}) # @param [Hash] params ({}) @@ -1974,7 +1974,7 @@ def list_findings(params = {}, options = {}) # resp.findings_filter_list_items[0].tags["__string"] #=> String # resp.next_token #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListFindingsFilters AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters AWS API Documentation # # @overload list_findings_filters(params = {}) # @param [Hash] params ({}) @@ -2011,7 +2011,7 @@ def list_findings_filters(params = {}, options = {}) # resp.invitations[0].relationship_status #=> String, one of "Enabled", "Paused", "Invited", "Created", "Removed", "Resigned", "EmailVerificationInProgress", "EmailVerificationFailed" # resp.next_token #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListInvitations AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations AWS API Documentation # # @overload list_invitations(params = {}) # @param [Hash] params ({}) @@ -2056,7 +2056,7 @@ def list_invitations(params = {}, options = {}) # resp.members[0].updated_at #=> Time # resp.next_token #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListMembers AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers AWS API Documentation # # @overload list_members(params = {}) # @param [Hash] params ({}) @@ -2091,7 +2091,7 @@ def list_members(params = {}, options = {}) # resp.admin_accounts[0].status #=> String, one of "ENABLED", "DISABLING_IN_PROGRESS" # resp.next_token #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListOrganizationAdminAccounts AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts AWS API Documentation # # @overload list_organization_admin_accounts(params = {}) # @param [Hash] params ({}) @@ -2121,7 +2121,7 @@ def list_organization_admin_accounts(params = {}, options = {}) # resp.tags #=> Hash # resp.tags["__string"] #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListTagsForResource AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource AWS API Documentation # # @overload list_tags_for_resource(params = {}) # @param [Hash] params ({}) @@ -2160,7 +2160,7 @@ def list_tags_for_resource(params = {}, options = {}) # resp.configuration.s3_destination.key_prefix #=> String # resp.configuration.s3_destination.kms_key_arn #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/PutClassificationExportConfiguration AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration AWS API Documentation # # @overload put_classification_export_configuration(params = {}) # @param [Hash] params ({}) @@ -2191,7 +2191,7 @@ def put_classification_export_configuration(params = {}, options = {}) # }, # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/TagResource AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource AWS API Documentation # # @overload tag_resource(params = {}) # @param [Hash] params ({}) @@ -2230,7 +2230,7 @@ def tag_resource(params = {}, options = {}) # # resp.match_count #=> Integer # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/TestCustomDataIdentifier AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier AWS API Documentation # # @overload test_custom_data_identifier(params = {}) # @param [Hash] params ({}) @@ -2251,7 +2251,7 @@ def test_custom_data_identifier(params = {}, options = {}) # finding_ids: ["__string"], # required # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UnarchiveFindings AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UnarchiveFindings AWS API Documentation # # @overload unarchive_findings(params = {}) # @param [Hash] params ({}) @@ -2276,7 +2276,7 @@ def unarchive_findings(params = {}, options = {}) # tag_keys: ["__string"], # required # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UntagResource AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource AWS API Documentation # # @overload untag_resource(params = {}) # @param [Hash] params ({}) @@ -2301,7 +2301,7 @@ def untag_resource(params = {}, options = {}) # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateClassificationJob AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob AWS API Documentation # # @overload update_classification_job(params = {}) # @param [Hash] params ({}) @@ -2360,7 +2360,7 @@ def update_classification_job(params = {}, options = {}) # resp.arn #=> String # resp.id #=> String # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateFindingsFilter AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter AWS API Documentation # # @overload update_findings_filter(params = {}) # @param [Hash] params ({}) @@ -2389,7 +2389,7 @@ def update_findings_filter(params = {}, options = {}) # status: "PAUSED", # accepts PAUSED, ENABLED # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateMacieSession AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession AWS API Documentation # # @overload update_macie_session(params = {}) # @param [Hash] params ({}) @@ -2415,7 +2415,7 @@ def update_macie_session(params = {}, options = {}) # status: "PAUSED", # required, accepts PAUSED, ENABLED # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateMemberSession AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession AWS API Documentation # # @overload update_member_session(params = {}) # @param [Hash] params ({}) @@ -2436,7 +2436,7 @@ def update_member_session(params = {}, options = {}) # auto_enable: false, # required # }) # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateOrganizationConfiguration AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration AWS API Documentation # # @overload update_organization_configuration(params = {}) # @param [Hash] params ({}) @@ -2458,7 +2458,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-macie2' - context[:gem_version] = '1.0.0' + context[:gem_version] = '1.1.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client_api.rb b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client_api.rb index bd21afaaad1..975e24a09e7 100644 --- a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client_api.rb +++ b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client_api.rb @@ -1272,7 +1272,7 @@ module ClientApi "serviceId" => "Macie2", "signatureVersion" => "v4", "signingName" => "macie2", - "uid" => "macie2-2020-01-01T00:00:00Z", + "uid" => "macie2-2020-01-01", } api.add_operation(:accept_invitation, Seahorse::Model::Operation.new.tap do |o| diff --git a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb index 768adbf10e3..2fb7ae7d20c 100644 --- a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb +++ b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb @@ -24,7 +24,7 @@ module Types # @!attribute [rw] master_account # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AcceptInvitationRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitationRequest AWS API Documentation # class AcceptInvitationRequest < Struct.new( :invitation_id, @@ -32,7 +32,7 @@ class AcceptInvitationRequest < Struct.new( include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AcceptInvitationResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitationResponse AWS API Documentation # class AcceptInvitationResponse < Aws::EmptyStructure; end @@ -45,7 +45,7 @@ class AcceptInvitationResponse < Aws::EmptyStructure; end # @!attribute [rw] allows_public_write_access # @return [Boolean] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AccessControlList AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AccessControlList AWS API Documentation # class AccessControlList < Struct.new( :allows_public_read_access, @@ -59,7 +59,7 @@ class AccessControlList < Struct.new( # @!attribute [rw] message # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AccessDeniedException AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AccessDeniedException AWS API Documentation # class AccessDeniedException < Struct.new( :message) @@ -83,7 +83,7 @@ class AccessDeniedException < Struct.new( # @!attribute [rw] email # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AccountDetail AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AccountDetail AWS API Documentation # class AccountDetail < Struct.new( :account_id, @@ -106,7 +106,7 @@ class AccountDetail < Struct.new( # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html # @return [Types::BlockPublicAccess] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AccountLevelPermissions AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AccountLevelPermissions AWS API Documentation # class AccountLevelPermissions < Struct.new( :block_public_access) @@ -124,7 +124,7 @@ class AccountLevelPermissions < Struct.new( # Amazon Macie for an AWS organization. # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AdminAccount AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AdminAccount AWS API Documentation # class AdminAccount < Struct.new( :account_id, @@ -157,7 +157,7 @@ class AdminAccount < Struct.new( # @!attribute [rw] last_seen # @return [Time] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ApiCallDetails AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ApiCallDetails AWS API Documentation # class ApiCallDetails < Struct.new( :api, @@ -179,14 +179,14 @@ class ApiCallDetails < Struct.new( # @!attribute [rw] finding_ids # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ArchiveFindingsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ArchiveFindingsRequest AWS API Documentation # class ArchiveFindingsRequest < Struct.new( :finding_ids) include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ArchiveFindingsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ArchiveFindingsResponse AWS API Documentation # class ArchiveFindingsResponse < Aws::EmptyStructure; end @@ -209,7 +209,7 @@ class ArchiveFindingsResponse < Aws::EmptyStructure; end # who performed an action by using temporary security credentials. # @return [Types::SessionContext] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AssumedRole AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AssumedRole AWS API Documentation # class AssumedRole < Struct.new( :access_key_id, @@ -228,7 +228,7 @@ class AssumedRole < Struct.new( # @!attribute [rw] principal_id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AwsAccount AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AwsAccount AWS API Documentation # class AwsAccount < Struct.new( :account_id, @@ -241,7 +241,7 @@ class AwsAccount < Struct.new( # @!attribute [rw] invoked_by # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/AwsService AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AwsService AWS API Documentation # class AwsService < Struct.new( :invoked_by) @@ -268,7 +268,7 @@ class AwsService < Struct.new( # @!attribute [rw] name # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BatchGetCustomDataIdentifierSummary AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifierSummary AWS API Documentation # class BatchGetCustomDataIdentifierSummary < Struct.new( :arn, @@ -293,7 +293,7 @@ class BatchGetCustomDataIdentifierSummary < Struct.new( # @!attribute [rw] ids # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BatchGetCustomDataIdentifiersRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiersRequest AWS API Documentation # class BatchGetCustomDataIdentifiersRequest < Struct.new( :ids) @@ -308,7 +308,7 @@ class BatchGetCustomDataIdentifiersRequest < Struct.new( # @!attribute [rw] not_found_identifier_ids # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BatchGetCustomDataIdentifiersResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiersResponse AWS API Documentation # class BatchGetCustomDataIdentifiersResponse < Struct.new( :custom_data_identifiers, @@ -338,7 +338,7 @@ class BatchGetCustomDataIdentifiersResponse < Struct.new( # @!attribute [rw] restrict_public_buckets # @return [Boolean] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BlockPublicAccess AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BlockPublicAccess AWS API Documentation # class BlockPublicAccess < Struct.new( :block_public_acls, @@ -360,7 +360,7 @@ class BlockPublicAccess < Struct.new( # @!attribute [rw] publicly_writable # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BucketCountByEffectivePermission AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketCountByEffectivePermission AWS API Documentation # class BucketCountByEffectivePermission < Struct.new( :publicly_accessible, @@ -382,7 +382,7 @@ class BucketCountByEffectivePermission < Struct.new( # @!attribute [rw] unencrypted # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BucketCountByEncryptionType AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketCountByEncryptionType AWS API Documentation # class BucketCountByEncryptionType < Struct.new( :kms_managed, @@ -403,7 +403,7 @@ class BucketCountByEncryptionType < Struct.new( # @!attribute [rw] not_shared # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BucketCountBySharedAccessType AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketCountBySharedAccessType AWS API Documentation # class BucketCountBySharedAccessType < Struct.new( :external, @@ -449,7 +449,7 @@ class BucketCountBySharedAccessType < Struct.new( # @!attribute [rw] prefix # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BucketCriteriaAdditionalProperties AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketCriteriaAdditionalProperties AWS API Documentation # class BucketCriteriaAdditionalProperties < Struct.new( :eq, @@ -487,7 +487,7 @@ class BucketCriteriaAdditionalProperties < Struct.new( # policy for an S3 bucket. # @return [Types::BucketPolicy] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BucketLevelPermissions AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketLevelPermissions AWS API Documentation # class BucketLevelPermissions < Struct.new( :access_control_list, @@ -552,7 +552,7 @@ class BucketLevelPermissions < Struct.new( # @!attribute [rw] versioning # @return [Boolean] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BucketMetadata AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketMetadata AWS API Documentation # class BucketMetadata < Struct.new( :account_id, @@ -587,7 +587,7 @@ class BucketMetadata < Struct.new( # S3 bucket. # @return [Types::BucketLevelPermissions] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BucketPermissionConfiguration AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketPermissionConfiguration AWS API Documentation # class BucketPermissionConfiguration < Struct.new( :account_level_permissions, @@ -604,7 +604,7 @@ class BucketPermissionConfiguration < Struct.new( # @!attribute [rw] allows_public_write_access # @return [Boolean] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BucketPolicy AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketPolicy AWS API Documentation # class BucketPolicy < Struct.new( :allows_public_read_access, @@ -623,7 +623,7 @@ class BucketPolicy < Struct.new( # bucket, or the bucket that contains an object. # @return [Types::BucketPermissionConfiguration] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BucketPublicAccess AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketPublicAccess AWS API Documentation # class BucketPublicAccess < Struct.new( :effective_permission, @@ -648,7 +648,7 @@ class BucketPublicAccess < Struct.new( # @!attribute [rw] order_by # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/BucketSortCriteria AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketSortCriteria AWS API Documentation # class BucketSortCriteria < Struct.new( :attribute_name, @@ -674,7 +674,7 @@ class BucketSortCriteria < Struct.new( # found. # @return [Types::ClassificationResult] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ClassificationDetails AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationDetails AWS API Documentation # class ClassificationDetails < Struct.new( :detailed_results_location, @@ -704,7 +704,7 @@ class ClassificationDetails < Struct.new( # the encryption settings to use when storing results in that bucket. # @return [Types::S3Destination] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ClassificationExportConfiguration AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationExportConfiguration AWS API Documentation # class ClassificationExportConfiguration < Struct.new( :s3_destination) @@ -736,7 +736,7 @@ class ClassificationExportConfiguration < Struct.new( # Provides information about the status of a sensitive data finding. # @return [Types::ClassificationResultStatus] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ClassificationResult AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationResult AWS API Documentation # class ClassificationResult < Struct.new( :custom_data_identifiers, @@ -755,7 +755,7 @@ class ClassificationResult < Struct.new( # @!attribute [rw] reason # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ClassificationResultStatus AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationResultStatus AWS API Documentation # class ClassificationResultStatus < Struct.new( :code, @@ -769,7 +769,7 @@ class ClassificationResultStatus < Struct.new( # @!attribute [rw] message # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ConflictException AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ConflictException AWS API Documentation # class ConflictException < Struct.new( :message) @@ -898,7 +898,7 @@ class ConflictException < Struct.new( # findings filter, or member account. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateClassificationJobRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJobRequest AWS API Documentation # class CreateClassificationJobRequest < Struct.new( :client_token, @@ -923,7 +923,7 @@ class CreateClassificationJobRequest < Struct.new( # @!attribute [rw] job_id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateClassificationJobResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJobResponse AWS API Documentation # class CreateClassificationJobResponse < Struct.new( :job_arn, @@ -979,7 +979,7 @@ class CreateClassificationJobResponse < Struct.new( # findings filter, or member account. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateCustomDataIdentifierRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifierRequest AWS API Documentation # class CreateCustomDataIdentifierRequest < Struct.new( :client_token, @@ -999,7 +999,7 @@ class CreateCustomDataIdentifierRequest < Struct.new( # @!attribute [rw] custom_data_identifier_id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateCustomDataIdentifierResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifierResponse AWS API Documentation # class CreateCustomDataIdentifierResponse < Struct.new( :custom_data_identifier_id) @@ -1064,7 +1064,7 @@ class CreateCustomDataIdentifierResponse < Struct.new( # findings filter, or member account. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateFindingsFilterRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilterRequest AWS API Documentation # class CreateFindingsFilterRequest < Struct.new( :action, @@ -1086,7 +1086,7 @@ class CreateFindingsFilterRequest < Struct.new( # @!attribute [rw] id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateFindingsFilterResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilterResponse AWS API Documentation # class CreateFindingsFilterResponse < Struct.new( :arn, @@ -1114,7 +1114,7 @@ class CreateFindingsFilterResponse < Struct.new( # @!attribute [rw] message # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateInvitationsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitationsRequest AWS API Documentation # class CreateInvitationsRequest < Struct.new( :account_ids, @@ -1129,7 +1129,7 @@ class CreateInvitationsRequest < Struct.new( # @!attribute [rw] unprocessed_accounts # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateInvitationsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitationsResponse AWS API Documentation # class CreateInvitationsResponse < Struct.new( :unprocessed_accounts) @@ -1162,7 +1162,7 @@ class CreateInvitationsResponse < Struct.new( # findings filter, or member account. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateMemberRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMemberRequest AWS API Documentation # class CreateMemberRequest < Struct.new( :account, @@ -1176,7 +1176,7 @@ class CreateMemberRequest < Struct.new( # @!attribute [rw] arn # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateMemberResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMemberResponse AWS API Documentation # class CreateMemberResponse < Struct.new( :arn) @@ -1196,14 +1196,14 @@ class CreateMemberResponse < Struct.new( # @!attribute [rw] finding_types # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateSampleFindingsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindingsRequest AWS API Documentation # class CreateSampleFindingsRequest < Struct.new( :finding_types) include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CreateSampleFindingsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindingsResponse AWS API Documentation # class CreateSampleFindingsResponse < Aws::EmptyStructure; end @@ -1240,7 +1240,7 @@ class CreateSampleFindingsResponse < Aws::EmptyStructure; end # @!attribute [rw] neq # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CriterionAdditionalProperties AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CriterionAdditionalProperties AWS API Documentation # class CriterionAdditionalProperties < Struct.new( :eq, @@ -1269,7 +1269,7 @@ class CriterionAdditionalProperties < Struct.new( # @!attribute [rw] name # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CustomDataIdentifierSummary AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CustomDataIdentifierSummary AWS API Documentation # class CustomDataIdentifierSummary < Struct.new( :arn, @@ -1291,7 +1291,7 @@ class CustomDataIdentifierSummary < Struct.new( # @!attribute [rw] total_count # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CustomDataIdentifiers AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CustomDataIdentifiers AWS API Documentation # class CustomDataIdentifiers < Struct.new( :detections, @@ -1312,7 +1312,7 @@ class CustomDataIdentifiers < Struct.new( # @!attribute [rw] name # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/CustomDetection AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CustomDetection AWS API Documentation # class CustomDetection < Struct.new( :arn, @@ -1323,7 +1323,7 @@ class CustomDetection < Struct.new( # @api private # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DailySchedule AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DailySchedule AWS API Documentation # class DailySchedule < Aws::EmptyStructure; end @@ -1340,7 +1340,7 @@ class DailySchedule < Aws::EmptyStructure; end # @!attribute [rw] account_ids # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeclineInvitationsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitationsRequest AWS API Documentation # class DeclineInvitationsRequest < Struct.new( :account_ids) @@ -1354,7 +1354,7 @@ class DeclineInvitationsRequest < Struct.new( # @!attribute [rw] unprocessed_accounts # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeclineInvitationsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitationsResponse AWS API Documentation # class DeclineInvitationsResponse < Struct.new( :unprocessed_accounts) @@ -1370,7 +1370,7 @@ class DeclineInvitationsResponse < Struct.new( # @!attribute [rw] type # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DefaultDetection AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DefaultDetection AWS API Documentation # class DefaultDetection < Struct.new( :count, @@ -1388,14 +1388,14 @@ class DefaultDetection < Struct.new( # @!attribute [rw] id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteCustomDataIdentifierRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifierRequest AWS API Documentation # class DeleteCustomDataIdentifierRequest < Struct.new( :id) include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteCustomDataIdentifierResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifierResponse AWS API Documentation # class DeleteCustomDataIdentifierResponse < Aws::EmptyStructure; end @@ -1409,14 +1409,14 @@ class DeleteCustomDataIdentifierResponse < Aws::EmptyStructure; end # @!attribute [rw] id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteFindingsFilterRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilterRequest AWS API Documentation # class DeleteFindingsFilterRequest < Struct.new( :id) include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteFindingsFilterResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilterResponse AWS API Documentation # class DeleteFindingsFilterResponse < Aws::EmptyStructure; end @@ -1433,7 +1433,7 @@ class DeleteFindingsFilterResponse < Aws::EmptyStructure; end # @!attribute [rw] account_ids # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteInvitationsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitationsRequest AWS API Documentation # class DeleteInvitationsRequest < Struct.new( :account_ids) @@ -1446,7 +1446,7 @@ class DeleteInvitationsRequest < Struct.new( # @!attribute [rw] unprocessed_accounts # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteInvitationsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitationsResponse AWS API Documentation # class DeleteInvitationsResponse < Struct.new( :unprocessed_accounts) @@ -1463,14 +1463,14 @@ class DeleteInvitationsResponse < Struct.new( # @!attribute [rw] id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteMemberRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMemberRequest AWS API Documentation # class DeleteMemberRequest < Struct.new( :id) include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DeleteMemberResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMemberResponse AWS API Documentation # class DeleteMemberResponse < Aws::EmptyStructure; end @@ -1516,7 +1516,7 @@ class DeleteMemberResponse < Aws::EmptyStructure; end # information about S3 buckets. # @return [Types::BucketSortCriteria] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DescribeBucketsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBucketsRequest AWS API Documentation # class DescribeBucketsRequest < Struct.new( :criteria, @@ -1536,7 +1536,7 @@ class DescribeBucketsRequest < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DescribeBucketsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBucketsResponse AWS API Documentation # class DescribeBucketsResponse < Struct.new( :buckets, @@ -1554,7 +1554,7 @@ class DescribeBucketsResponse < Struct.new( # @!attribute [rw] job_id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DescribeClassificationJobRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobRequest AWS API Documentation # class DescribeClassificationJobRequest < Struct.new( :job_id) @@ -1623,7 +1623,7 @@ class DescribeClassificationJobRequest < Struct.new( # findings filter, or member account. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DescribeClassificationJobResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobResponse AWS API Documentation # class DescribeClassificationJobResponse < Struct.new( :client_token, @@ -1647,7 +1647,7 @@ class DescribeClassificationJobResponse < Struct.new( # @api private # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DescribeOrganizationConfigurationRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfigurationRequest AWS API Documentation # class DescribeOrganizationConfigurationRequest < Aws::EmptyStructure; end @@ -1660,7 +1660,7 @@ class DescribeOrganizationConfigurationRequest < Aws::EmptyStructure; end # @!attribute [rw] max_account_limit_reached # @return [Boolean] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DescribeOrganizationConfigurationResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfigurationResponse AWS API Documentation # class DescribeOrganizationConfigurationResponse < Struct.new( :auto_enable, @@ -1670,11 +1670,11 @@ class DescribeOrganizationConfigurationResponse < Struct.new( # @api private # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisableMacieRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacieRequest AWS API Documentation # class DisableMacieRequest < Aws::EmptyStructure; end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisableMacieResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacieResponse AWS API Documentation # class DisableMacieResponse < Aws::EmptyStructure; end @@ -1688,24 +1688,24 @@ class DisableMacieResponse < Aws::EmptyStructure; end # @!attribute [rw] admin_account_id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisableOrganizationAdminAccountRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccountRequest AWS API Documentation # class DisableOrganizationAdminAccountRequest < Struct.new( :admin_account_id) include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisableOrganizationAdminAccountResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccountResponse AWS API Documentation # class DisableOrganizationAdminAccountResponse < Aws::EmptyStructure; end # @api private # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisassociateFromMasterAccountRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccountRequest AWS API Documentation # class DisassociateFromMasterAccountRequest < Aws::EmptyStructure; end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisassociateFromMasterAccountResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccountResponse AWS API Documentation # class DisassociateFromMasterAccountResponse < Aws::EmptyStructure; end @@ -1719,21 +1719,21 @@ class DisassociateFromMasterAccountResponse < Aws::EmptyStructure; end # @!attribute [rw] id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisassociateMemberRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMemberRequest AWS API Documentation # class DisassociateMemberRequest < Struct.new( :id) include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DisassociateMemberResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMemberResponse AWS API Documentation # class DisassociateMemberResponse < Aws::EmptyStructure; end # @!attribute [rw] domain_name # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/DomainDetails AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DomainDetails AWS API Documentation # class DomainDetails < Struct.new( :domain_name) @@ -1743,7 +1743,7 @@ class DomainDetails < Struct.new( # The request succeeded and there isn't any content to include in the # body of the response (No Content). # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/Empty AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Empty AWS API Documentation # class Empty < Aws::EmptyStructure; end @@ -1774,7 +1774,7 @@ class Empty < Aws::EmptyStructure; end # The status of an Amazon Macie account. Valid values are: # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/EnableMacieRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacieRequest AWS API Documentation # class EnableMacieRequest < Struct.new( :client_token, @@ -1783,7 +1783,7 @@ class EnableMacieRequest < Struct.new( include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/EnableMacieResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacieResponse AWS API Documentation # class EnableMacieResponse < Aws::EmptyStructure; end @@ -1807,7 +1807,7 @@ class EnableMacieResponse < Aws::EmptyStructure; end # not need to pass this option. # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/EnableOrganizationAdminAccountRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccountRequest AWS API Documentation # class EnableOrganizationAdminAccountRequest < Struct.new( :admin_account_id, @@ -1815,7 +1815,7 @@ class EnableOrganizationAdminAccountRequest < Struct.new( include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/EnableOrganizationAdminAccountResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccountResponse AWS API Documentation # class EnableOrganizationAdminAccountResponse < Aws::EmptyStructure; end @@ -1838,7 +1838,7 @@ class EnableOrganizationAdminAccountResponse < Aws::EmptyStructure; end # who performed an action by using temporary security credentials. # @return [Types::SessionContext] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/FederatedUser AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FederatedUser AWS API Documentation # class FederatedUser < Struct.new( :access_key_id, @@ -1913,7 +1913,7 @@ class FederatedUser < Struct.new( # @!attribute [rw] updated_at # @return [Time] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/Finding AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Finding AWS API Documentation # class Finding < Struct.new( :account_id, @@ -1958,7 +1958,7 @@ class Finding < Struct.new( # All date and time values are in UTC and extended ISO 8601 format. # @return [Types::ApiCallDetails] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/FindingAction AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FindingAction AWS API Documentation # class FindingAction < Struct.new( :action_type, @@ -1978,7 +1978,7 @@ class FindingAction < Struct.new( # @!attribute [rw] user_identity # @return [Types::UserIdentity] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/FindingActor AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FindingActor AWS API Documentation # class FindingActor < Struct.new( :domain_details, @@ -2011,7 +2011,7 @@ class FindingActor < Struct.new( # to use to filter the results of a query for findings. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/FindingCriteria AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FindingCriteria AWS API Documentation # class FindingCriteria < Struct.new( :criterion) @@ -2036,7 +2036,7 @@ class FindingCriteria < Struct.new( # @!attribute [rw] order_by # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/FindingStatisticsSortCriteria AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FindingStatisticsSortCriteria AWS API Documentation # class FindingStatisticsSortCriteria < Struct.new( :attribute_name, @@ -2061,7 +2061,7 @@ class FindingStatisticsSortCriteria < Struct.new( # findings filter, or member account. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/FindingsFilterListItem AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FindingsFilterListItem AWS API Documentation # class FindingsFilterListItem < Struct.new( :arn, @@ -2084,7 +2084,7 @@ class FindingsFilterListItem < Struct.new( # @!attribute [rw] account_id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetBucketStatisticsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatisticsRequest AWS API Documentation # class GetBucketStatisticsRequest < Struct.new( :account_id) @@ -2129,7 +2129,7 @@ class GetBucketStatisticsRequest < Struct.new( # @!attribute [rw] size_in_bytes_compressed # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetBucketStatisticsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatisticsResponse AWS API Documentation # class GetBucketStatisticsResponse < Struct.new( :bucket_count, @@ -2146,7 +2146,7 @@ class GetBucketStatisticsResponse < Struct.new( # @api private # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetClassificationExportConfigurationRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfigurationRequest AWS API Documentation # class GetClassificationExportConfigurationRequest < Aws::EmptyStructure; end @@ -2160,7 +2160,7 @@ class GetClassificationExportConfigurationRequest < Aws::EmptyStructure; end # bucket. # @return [Types::ClassificationExportConfiguration] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetClassificationExportConfigurationResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfigurationResponse AWS API Documentation # class GetClassificationExportConfigurationResponse < Struct.new( :configuration) @@ -2177,7 +2177,7 @@ class GetClassificationExportConfigurationResponse < Struct.new( # @!attribute [rw] id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetCustomDataIdentifierRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifierRequest AWS API Documentation # class GetCustomDataIdentifierRequest < Struct.new( :id) @@ -2223,7 +2223,7 @@ class GetCustomDataIdentifierRequest < Struct.new( # findings filter, or member account. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetCustomDataIdentifierResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifierResponse AWS API Documentation # class GetCustomDataIdentifierResponse < Struct.new( :arn, @@ -2283,7 +2283,7 @@ class GetCustomDataIdentifierResponse < Struct.new( # information about findings. # @return [Types::FindingStatisticsSortCriteria] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetFindingStatisticsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatisticsRequest AWS API Documentation # class GetFindingStatisticsRequest < Struct.new( :finding_criteria, @@ -2299,7 +2299,7 @@ class GetFindingStatisticsRequest < Struct.new( # @!attribute [rw] counts_by_group # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetFindingStatisticsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatisticsResponse AWS API Documentation # class GetFindingStatisticsResponse < Struct.new( :counts_by_group) @@ -2316,7 +2316,7 @@ class GetFindingStatisticsResponse < Struct.new( # @!attribute [rw] id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetFindingsFilterRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilterRequest AWS API Documentation # class GetFindingsFilterRequest < Struct.new( :id) @@ -2356,7 +2356,7 @@ class GetFindingsFilterRequest < Struct.new( # findings filter, or member account. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetFindingsFilterResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilterResponse AWS API Documentation # class GetFindingsFilterResponse < Struct.new( :action, @@ -2391,7 +2391,7 @@ class GetFindingsFilterResponse < Struct.new( # information about findings. # @return [Types::SortCriteria] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetFindingsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsRequest AWS API Documentation # class GetFindingsRequest < Struct.new( :finding_ids, @@ -2405,7 +2405,7 @@ class GetFindingsRequest < Struct.new( # @!attribute [rw] findings # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetFindingsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsResponse AWS API Documentation # class GetFindingsResponse < Struct.new( :findings) @@ -2414,7 +2414,7 @@ class GetFindingsResponse < Struct.new( # @api private # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetInvitationsCountRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCountRequest AWS API Documentation # class GetInvitationsCountRequest < Aws::EmptyStructure; end @@ -2425,7 +2425,7 @@ class GetInvitationsCountRequest < Aws::EmptyStructure; end # @!attribute [rw] invitations_count # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetInvitationsCountResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCountResponse AWS API Documentation # class GetInvitationsCountResponse < Struct.new( :invitations_count) @@ -2434,7 +2434,7 @@ class GetInvitationsCountResponse < Struct.new( # @api private # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetMacieSessionRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSessionRequest AWS API Documentation # class GetMacieSessionRequest < Aws::EmptyStructure; end @@ -2460,7 +2460,7 @@ class GetMacieSessionRequest < Aws::EmptyStructure; end # @!attribute [rw] updated_at # @return [Time] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetMacieSessionResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSessionResponse AWS API Documentation # class GetMacieSessionResponse < Struct.new( :created_at, @@ -2473,7 +2473,7 @@ class GetMacieSessionResponse < Struct.new( # @api private # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetMasterAccountRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccountRequest AWS API Documentation # class GetMasterAccountRequest < Aws::EmptyStructure; end @@ -2487,7 +2487,7 @@ class GetMasterAccountRequest < Aws::EmptyStructure; end # that was received by an account. # @return [Types::Invitation] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetMasterAccountResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccountResponse AWS API Documentation # class GetMasterAccountResponse < Struct.new( :master) @@ -2504,7 +2504,7 @@ class GetMasterAccountResponse < Struct.new( # @!attribute [rw] id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetMemberRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMemberRequest AWS API Documentation # class GetMemberRequest < Struct.new( :id) @@ -2544,7 +2544,7 @@ class GetMemberRequest < Struct.new( # @!attribute [rw] updated_at # @return [Time] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetMemberResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMemberResponse AWS API Documentation # class GetMemberResponse < Struct.new( :account_id, @@ -2594,7 +2594,7 @@ class GetMemberResponse < Struct.new( # quotas and usage data. # @return [Types::UsageStatisticsSortBy] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetUsageStatisticsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatisticsRequest AWS API Documentation # class GetUsageStatisticsRequest < Struct.new( :filter_by, @@ -2613,7 +2613,7 @@ class GetUsageStatisticsRequest < Struct.new( # @!attribute [rw] records # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetUsageStatisticsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatisticsResponse AWS API Documentation # class GetUsageStatisticsResponse < Struct.new( :next_token, @@ -2623,7 +2623,7 @@ class GetUsageStatisticsResponse < Struct.new( # @api private # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetUsageTotalsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotalsRequest AWS API Documentation # class GetUsageTotalsRequest < Aws::EmptyStructure; end @@ -2633,7 +2633,7 @@ class GetUsageTotalsRequest < Aws::EmptyStructure; end # @!attribute [rw] usage_totals # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GetUsageTotalsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotalsResponse AWS API Documentation # class GetUsageTotalsResponse < Struct.new( :usage_totals) @@ -2649,7 +2649,7 @@ class GetUsageTotalsResponse < Struct.new( # @!attribute [rw] group_key # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/GroupCount AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GroupCount AWS API Documentation # class GroupCount < Struct.new( :count, @@ -2671,7 +2671,7 @@ class GroupCount < Struct.new( # @!attribute [rw] user_name # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/IamUser AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/IamUser AWS API Documentation # class IamUser < Struct.new( :account_id, @@ -2687,7 +2687,7 @@ class IamUser < Struct.new( # @!attribute [rw] message # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/InternalServerException AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/InternalServerException AWS API Documentation # class InternalServerException < Struct.new( :message) @@ -2712,7 +2712,7 @@ class InternalServerException < Struct.new( # values are: # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/Invitation AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Invitation AWS API Documentation # class Invitation < Struct.new( :account_id, @@ -2741,7 +2741,7 @@ class Invitation < Struct.new( # Reserved for future use. # @return [Types::IpOwner] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/IpAddressDetails AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/IpAddressDetails AWS API Documentation # class IpAddressDetails < Struct.new( :ip_address_v4, @@ -2757,7 +2757,7 @@ class IpAddressDetails < Struct.new( # @!attribute [rw] name # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/IpCity AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/IpCity AWS API Documentation # class IpCity < Struct.new( :name) @@ -2772,7 +2772,7 @@ class IpCity < Struct.new( # @!attribute [rw] name # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/IpCountry AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/IpCountry AWS API Documentation # class IpCountry < Struct.new( :code, @@ -2788,7 +2788,7 @@ class IpCountry < Struct.new( # @!attribute [rw] lon # @return [Float] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/IpGeoLocation AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/IpGeoLocation AWS API Documentation # class IpGeoLocation < Struct.new( :lat, @@ -2810,7 +2810,7 @@ class IpGeoLocation < Struct.new( # @!attribute [rw] org # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/IpOwner AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/IpOwner AWS API Documentation # class IpOwner < Struct.new( :asn, @@ -2847,7 +2847,7 @@ class IpOwner < Struct.new( # @!attribute [rw] weekly_schedule # @return [Types::WeeklySchedule] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/JobScheduleFrequency AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobScheduleFrequency AWS API Documentation # class JobScheduleFrequency < Struct.new( :daily_schedule, @@ -2891,7 +2891,7 @@ class JobScheduleFrequency < Struct.new( # included or excluded from a classification job. # @return [Types::TagScopeTerm] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/JobScopeTerm AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobScopeTerm AWS API Documentation # class JobScopeTerm < Struct.new( :simple_scope_term, @@ -2930,7 +2930,7 @@ class JobScopeTerm < Struct.new( # @!attribute [rw] and # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/JobScopingBlock AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobScopingBlock AWS API Documentation # class JobScopingBlock < Struct.new( :and) @@ -2960,7 +2960,7 @@ class JobScopingBlock < Struct.new( # @!attribute [rw] name # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/JobSummary AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobSummary AWS API Documentation # class JobSummary < Struct.new( :bucket_definitions, @@ -2982,7 +2982,7 @@ class JobSummary < Struct.new( # @!attribute [rw] value # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/KeyValuePair AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/KeyValuePair AWS API Documentation # class KeyValuePair < Struct.new( :key, @@ -3037,7 +3037,7 @@ class KeyValuePair < Struct.new( # information about classification jobs. # @return [Types::ListJobsSortCriteria] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListClassificationJobsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobsRequest AWS API Documentation # class ListClassificationJobsRequest < Struct.new( :filter_criteria, @@ -3056,7 +3056,7 @@ class ListClassificationJobsRequest < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListClassificationJobsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobsResponse AWS API Documentation # class ListClassificationJobsResponse < Struct.new( :items, @@ -3081,7 +3081,7 @@ class ListClassificationJobsResponse < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListCustomDataIdentifiersRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiersRequest AWS API Documentation # class ListCustomDataIdentifiersRequest < Struct.new( :max_results, @@ -3098,7 +3098,7 @@ class ListCustomDataIdentifiersRequest < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListCustomDataIdentifiersResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiersResponse AWS API Documentation # class ListCustomDataIdentifiersResponse < Struct.new( :items, @@ -3120,7 +3120,7 @@ class ListCustomDataIdentifiersResponse < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListFindingsFiltersRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFiltersRequest AWS API Documentation # class ListFindingsFiltersRequest < Struct.new( :max_results, @@ -3136,7 +3136,7 @@ class ListFindingsFiltersRequest < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListFindingsFiltersResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFiltersResponse AWS API Documentation # class ListFindingsFiltersResponse < Struct.new( :findings_filter_list_items, @@ -3187,7 +3187,7 @@ class ListFindingsFiltersResponse < Struct.new( # information about findings. # @return [Types::SortCriteria] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListFindingsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsRequest AWS API Documentation # class ListFindingsRequest < Struct.new( :finding_criteria, @@ -3206,7 +3206,7 @@ class ListFindingsRequest < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListFindingsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsResponse AWS API Documentation # class ListFindingsResponse < Struct.new( :finding_ids, @@ -3228,7 +3228,7 @@ class ListFindingsResponse < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListInvitationsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitationsRequest AWS API Documentation # class ListInvitationsRequest < Struct.new( :max_results, @@ -3245,7 +3245,7 @@ class ListInvitationsRequest < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListInvitationsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitationsResponse AWS API Documentation # class ListInvitationsResponse < Struct.new( :invitations, @@ -3282,7 +3282,7 @@ class ListInvitationsResponse < Struct.new( # @!attribute [rw] includes # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListJobsFilterCriteria AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListJobsFilterCriteria AWS API Documentation # class ListJobsFilterCriteria < Struct.new( :excludes, @@ -3314,7 +3314,7 @@ class ListJobsFilterCriteria < Struct.new( # @!attribute [rw] values # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListJobsFilterTerm AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListJobsFilterTerm AWS API Documentation # class ListJobsFilterTerm < Struct.new( :comparator, @@ -3341,7 +3341,7 @@ class ListJobsFilterTerm < Struct.new( # @!attribute [rw] order_by # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListJobsSortCriteria AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListJobsSortCriteria AWS API Documentation # class ListJobsSortCriteria < Struct.new( :attribute_name, @@ -3367,7 +3367,7 @@ class ListJobsSortCriteria < Struct.new( # @!attribute [rw] only_associated # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListMembersRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembersRequest AWS API Documentation # class ListMembersRequest < Struct.new( :max_results, @@ -3385,7 +3385,7 @@ class ListMembersRequest < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListMembersResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembersResponse AWS API Documentation # class ListMembersResponse < Struct.new( :members, @@ -3407,7 +3407,7 @@ class ListMembersResponse < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListOrganizationAdminAccountsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccountsRequest AWS API Documentation # class ListOrganizationAdminAccountsRequest < Struct.new( :max_results, @@ -3424,7 +3424,7 @@ class ListOrganizationAdminAccountsRequest < Struct.new( # @!attribute [rw] next_token # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListOrganizationAdminAccountsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccountsResponse AWS API Documentation # class ListOrganizationAdminAccountsResponse < Struct.new( :admin_accounts, @@ -3442,7 +3442,7 @@ class ListOrganizationAdminAccountsResponse < Struct.new( # @!attribute [rw] resource_arn # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListTagsForResourceRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResourceRequest AWS API Documentation # class ListTagsForResourceRequest < Struct.new( :resource_arn) @@ -3459,7 +3459,7 @@ class ListTagsForResourceRequest < Struct.new( # findings filter, or member account. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ListTagsForResourceResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResourceResponse AWS API Documentation # class ListTagsForResourceResponse < Struct.new( :tags) @@ -3499,7 +3499,7 @@ class ListTagsForResourceResponse < Struct.new( # @!attribute [rw] updated_at # @return [Time] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/Member AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Member AWS API Documentation # class Member < Struct.new( :account_id, @@ -3526,7 +3526,7 @@ class Member < Struct.new( # @!attribute [rw] day_of_month # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/MonthlySchedule AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/MonthlySchedule AWS API Documentation # class MonthlySchedule < Struct.new( :day_of_month) @@ -3545,7 +3545,7 @@ class MonthlySchedule < Struct.new( # @!attribute [rw] unencrypted # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ObjectCountByEncryptionType AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ObjectCountByEncryptionType AWS API Documentation # class ObjectCountByEncryptionType < Struct.new( :customer_managed, @@ -3567,7 +3567,7 @@ class ObjectCountByEncryptionType < Struct.new( # produced a policy finding for a resource. # @return [Types::FindingActor] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/PolicyDetails AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PolicyDetails AWS API Documentation # class PolicyDetails < Struct.new( :action, @@ -3599,7 +3599,7 @@ class PolicyDetails < Struct.new( # bucket. # @return [Types::ClassificationExportConfiguration] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/PutClassificationExportConfigurationRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfigurationRequest AWS API Documentation # class PutClassificationExportConfigurationRequest < Struct.new( :configuration) @@ -3616,7 +3616,7 @@ class PutClassificationExportConfigurationRequest < Struct.new( # bucket. # @return [Types::ClassificationExportConfiguration] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/PutClassificationExportConfigurationResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfigurationResponse AWS API Documentation # class PutClassificationExportConfigurationResponse < Struct.new( :configuration) @@ -3636,7 +3636,7 @@ class PutClassificationExportConfigurationResponse < Struct.new( # @!attribute [rw] replication_accounts # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ReplicationDetails AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ReplicationDetails AWS API Documentation # class ReplicationDetails < Struct.new( :replicated, @@ -3651,7 +3651,7 @@ class ReplicationDetails < Struct.new( # @!attribute [rw] message # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ResourceNotFoundException AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ResourceNotFoundException AWS API Documentation # class ResourceNotFoundException < Struct.new( :message) @@ -3668,7 +3668,7 @@ class ResourceNotFoundException < Struct.new( # Provides information about an S3 object that a finding applies to. # @return [Types::S3Object] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ResourcesAffected AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ResourcesAffected AWS API Documentation # class ResourcesAffected < Struct.new( :s3_bucket, @@ -3705,7 +3705,7 @@ class ResourcesAffected < Struct.new( # Reserved for future use. # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/S3Bucket AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3Bucket AWS API Documentation # class S3Bucket < Struct.new( :arn, @@ -3735,7 +3735,7 @@ class S3Bucket < Struct.new( # @!attribute [rw] buckets # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/S3BucketDefinitionForJob AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3BucketDefinitionForJob AWS API Documentation # class S3BucketDefinitionForJob < Struct.new( :account_id, @@ -3751,7 +3751,7 @@ class S3BucketDefinitionForJob < Struct.new( # @!attribute [rw] id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/S3BucketOwner AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3BucketOwner AWS API Documentation # class S3BucketOwner < Struct.new( :display_name, @@ -3780,7 +3780,7 @@ class S3BucketOwner < Struct.new( # @!attribute [rw] kms_key_arn # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/S3Destination AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3Destination AWS API Documentation # class S3Destination < Struct.new( :bucket_name, @@ -3856,7 +3856,7 @@ class S3Destination < Struct.new( # @!attribute [rw] scoping # @return [Types::Scoping] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/S3JobDefinition AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3JobDefinition AWS API Documentation # class S3JobDefinition < Struct.new( :bucket_definitions, @@ -3906,7 +3906,7 @@ class S3JobDefinition < Struct.new( # @!attribute [rw] version_id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/S3Object AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3Object AWS API Documentation # class S3Object < Struct.new( :bucket_arn, @@ -3982,7 +3982,7 @@ class S3Object < Struct.new( # Reserved for future use. # @return [Types::JobScopingBlock] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/Scoping AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Scoping AWS API Documentation # class Scoping < Struct.new( :excludes, @@ -4003,7 +4003,7 @@ class Scoping < Struct.new( # @!attribute [rw] total_count # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/SensitiveDataItem AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SensitiveDataItem AWS API Documentation # class SensitiveDataItem < Struct.new( :category, @@ -4023,7 +4023,7 @@ class SensitiveDataItem < Struct.new( # @!attribute [rw] kms_master_key_id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ServerSideEncryption AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ServerSideEncryption AWS API Documentation # class ServerSideEncryption < Struct.new( :encryption_type, @@ -4042,7 +4042,7 @@ class ServerSideEncryption < Struct.new( # @!attribute [rw] value # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ServiceLimit AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ServiceLimit AWS API Documentation # class ServiceLimit < Struct.new( :is_service_limited, @@ -4057,7 +4057,7 @@ class ServiceLimit < Struct.new( # @!attribute [rw] message # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ServiceQuotaExceededException AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ServiceQuotaExceededException AWS API Documentation # class ServiceQuotaExceededException < Struct.new( :message) @@ -4077,7 +4077,7 @@ class ServiceQuotaExceededException < Struct.new( # credentials that were issued to an entity. # @return [Types::SessionIssuer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/SessionContext AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SessionContext AWS API Documentation # class SessionContext < Struct.new( :attributes, @@ -4094,7 +4094,7 @@ class SessionContext < Struct.new( # @!attribute [rw] mfa_authenticated # @return [Boolean] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/SessionContextAttributes AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SessionContextAttributes AWS API Documentation # class SessionContextAttributes < Struct.new( :creation_date, @@ -4120,7 +4120,7 @@ class SessionContextAttributes < Struct.new( # @!attribute [rw] user_name # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/SessionIssuer AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SessionIssuer AWS API Documentation # class SessionIssuer < Struct.new( :account_id, @@ -4142,7 +4142,7 @@ class SessionIssuer < Struct.new( # @!attribute [rw] score # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/Severity AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Severity AWS API Documentation # class Severity < Struct.new( :description, @@ -4174,7 +4174,7 @@ class Severity < Struct.new( # @!attribute [rw] values # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/SimpleScopeTerm AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SimpleScopeTerm AWS API Documentation # class SimpleScopeTerm < Struct.new( :comparator, @@ -4200,7 +4200,7 @@ class SimpleScopeTerm < Struct.new( # @!attribute [rw] order_by # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/SortCriteria AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SortCriteria AWS API Documentation # class SortCriteria < Struct.new( :attribute_name, @@ -4216,7 +4216,7 @@ class SortCriteria < Struct.new( # @!attribute [rw] number_of_runs # @return [Float] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/Statistics AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Statistics AWS API Documentation # class Statistics < Struct.new( :approximate_number_of_objects_to_process, @@ -4247,7 +4247,7 @@ class Statistics < Struct.new( # findings filter, or member account. # @return [Hash] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/TagResourceRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResourceRequest AWS API Documentation # class TagResourceRequest < Struct.new( :resource_arn, @@ -4257,7 +4257,7 @@ class TagResourceRequest < Struct.new( # The request succeeded. The specified tags were added to the resource. # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/TagResourceResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResourceResponse AWS API Documentation # class TagResourceResponse < Aws::EmptyStructure; end @@ -4294,7 +4294,7 @@ class TagResourceResponse < Aws::EmptyStructure; end # are: # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/TagScopeTerm AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagScopeTerm AWS API Documentation # class TagScopeTerm < Struct.new( :comparator, @@ -4321,7 +4321,7 @@ class TagScopeTerm < Struct.new( # @!attribute [rw] value # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/TagValuePair AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagValuePair AWS API Documentation # class TagValuePair < Struct.new( :key, @@ -4357,7 +4357,7 @@ class TagValuePair < Struct.new( # @!attribute [rw] sample_text # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/TestCustomDataIdentifierRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifierRequest AWS API Documentation # class TestCustomDataIdentifierRequest < Struct.new( :ignore_words, @@ -4373,7 +4373,7 @@ class TestCustomDataIdentifierRequest < Struct.new( # @!attribute [rw] match_count # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/TestCustomDataIdentifierResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifierResponse AWS API Documentation # class TestCustomDataIdentifierResponse < Struct.new( :match_count) @@ -4386,7 +4386,7 @@ class TestCustomDataIdentifierResponse < Struct.new( # @!attribute [rw] message # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ThrottlingException AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ThrottlingException AWS API Documentation # class ThrottlingException < Struct.new( :message) @@ -4405,14 +4405,14 @@ class ThrottlingException < Struct.new( # @!attribute [rw] finding_ids # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UnarchiveFindingsRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UnarchiveFindingsRequest AWS API Documentation # class UnarchiveFindingsRequest < Struct.new( :finding_ids) include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UnarchiveFindingsResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UnarchiveFindingsResponse AWS API Documentation # class UnarchiveFindingsResponse < Aws::EmptyStructure; end @@ -4429,7 +4429,7 @@ class UnarchiveFindingsResponse < Aws::EmptyStructure; end # @!attribute [rw] error_message # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UnprocessedAccount AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UnprocessedAccount AWS API Documentation # class UnprocessedAccount < Struct.new( :account_id, @@ -4452,7 +4452,7 @@ class UnprocessedAccount < Struct.new( # @!attribute [rw] tag_keys # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UntagResourceRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResourceRequest AWS API Documentation # class UntagResourceRequest < Struct.new( :resource_arn, @@ -4463,7 +4463,7 @@ class UntagResourceRequest < Struct.new( # The request succeeded. The specified tags were removed from the # resource. # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UntagResourceResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResourceResponse AWS API Documentation # class UntagResourceResponse < Aws::EmptyStructure; end @@ -4484,7 +4484,7 @@ class UntagResourceResponse < Aws::EmptyStructure; end # The current status of a classification job. Valid values are: # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateClassificationJobRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJobRequest AWS API Documentation # class UpdateClassificationJobRequest < Struct.new( :job_id, @@ -4492,7 +4492,7 @@ class UpdateClassificationJobRequest < Struct.new( include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateClassificationJobResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJobResponse AWS API Documentation # class UpdateClassificationJobResponse < Aws::EmptyStructure; end @@ -4543,7 +4543,7 @@ class UpdateClassificationJobResponse < Aws::EmptyStructure; end # @!attribute [rw] position # @return [Integer] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateFindingsFilterRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilterRequest AWS API Documentation # class UpdateFindingsFilterRequest < Struct.new( :action, @@ -4564,7 +4564,7 @@ class UpdateFindingsFilterRequest < Struct.new( # @!attribute [rw] id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateFindingsFilterResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilterResponse AWS API Documentation # class UpdateFindingsFilterResponse < Struct.new( :arn, @@ -4593,7 +4593,7 @@ class UpdateFindingsFilterResponse < Struct.new( # The status of an Amazon Macie account. Valid values are: # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateMacieSessionRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSessionRequest AWS API Documentation # class UpdateMacieSessionRequest < Struct.new( :finding_publishing_frequency, @@ -4601,7 +4601,7 @@ class UpdateMacieSessionRequest < Struct.new( include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateMacieSessionResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSessionResponse AWS API Documentation # class UpdateMacieSessionResponse < Aws::EmptyStructure; end @@ -4622,7 +4622,7 @@ class UpdateMacieSessionResponse < Aws::EmptyStructure; end # The status of an Amazon Macie account. Valid values are: # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateMemberSessionRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSessionRequest AWS API Documentation # class UpdateMemberSessionRequest < Struct.new( :id, @@ -4630,7 +4630,7 @@ class UpdateMemberSessionRequest < Struct.new( include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateMemberSessionResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSessionResponse AWS API Documentation # class UpdateMemberSessionResponse < Aws::EmptyStructure; end @@ -4647,14 +4647,14 @@ class UpdateMemberSessionResponse < Aws::EmptyStructure; end # @!attribute [rw] auto_enable # @return [Boolean] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateOrganizationConfigurationRequest AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfigurationRequest AWS API Documentation # class UpdateOrganizationConfigurationRequest < Struct.new( :auto_enable) include Aws::Structure end - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UpdateOrganizationConfigurationResponse AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfigurationResponse AWS API Documentation # class UpdateOrganizationConfigurationResponse < Aws::EmptyStructure; end @@ -4678,7 +4678,7 @@ class UpdateOrganizationConfigurationResponse < Aws::EmptyStructure; end # The name of a usage metric for an account. Possible values are: # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UsageByAccount AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageByAccount AWS API Documentation # class UsageByAccount < Struct.new( :currency, @@ -4699,7 +4699,7 @@ class UsageByAccount < Struct.new( # @!attribute [rw] usage # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UsageRecord AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageRecord AWS API Documentation # class UsageRecord < Struct.new( :account_id, @@ -4727,7 +4727,7 @@ class UsageRecord < Struct.new( # @!attribute [rw] values # @return [Array] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UsageStatisticsFilter AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageStatisticsFilter AWS API Documentation # class UsageStatisticsFilter < Struct.new( :key, @@ -4754,7 +4754,7 @@ class UsageStatisticsFilter < Struct.new( # @!attribute [rw] order_by # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UsageStatisticsSortBy AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageStatisticsSortBy AWS API Documentation # class UsageStatisticsSortBy < Struct.new( :key, @@ -4777,7 +4777,7 @@ class UsageStatisticsSortBy < Struct.new( # The name of a usage metric for an account. Possible values are: # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UsageTotal AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageTotal AWS API Documentation # class UsageTotal < Struct.new( :currency, @@ -4814,7 +4814,7 @@ class UsageTotal < Struct.new( # Reserved for future use. # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UserIdentity AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UserIdentity AWS API Documentation # class UserIdentity < Struct.new( :assumed_role, @@ -4838,7 +4838,7 @@ class UserIdentity < Struct.new( # @!attribute [rw] principal_id # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/UserIdentityRoot AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UserIdentityRoot AWS API Documentation # class UserIdentityRoot < Struct.new( :account_id, @@ -4853,7 +4853,7 @@ class UserIdentityRoot < Struct.new( # @!attribute [rw] message # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/ValidationException AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ValidationException AWS API Documentation # class ValidationException < Struct.new( :message) @@ -4870,7 +4870,7 @@ class ValidationException < Struct.new( # @!attribute [rw] day_of_week # @return [String] # - # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01T00:00:00Z/WeeklySchedule AWS API Documentation + # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/WeeklySchedule AWS API Documentation # class WeeklySchedule < Struct.new( :day_of_week) diff --git a/gems/aws-sdk-qldb/CHANGELOG.md b/gems/aws-sdk-qldb/CHANGELOG.md index a25e70ff4aa..e815ff3a9a2 100644 --- a/gems/aws-sdk-qldb/CHANGELOG.md +++ b/gems/aws-sdk-qldb/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.4.0 (2020-05-18) +------------------ + +* Feature - Amazon QLDB now supports Amazon Kinesis data streams. You can now emit QLDB journal data, via the new QLDB Streams feature, directly to Amazon Kinesis supporting event processing and analytics among related use cases. + 1.3.0 (2020-05-07) ------------------ diff --git a/gems/aws-sdk-qldb/VERSION b/gems/aws-sdk-qldb/VERSION index f0bb29e7638..88c5fb891dc 100644 --- a/gems/aws-sdk-qldb/VERSION +++ b/gems/aws-sdk-qldb/VERSION @@ -1 +1 @@ -1.3.0 +1.4.0 diff --git a/gems/aws-sdk-qldb/lib/aws-sdk-qldb.rb b/gems/aws-sdk-qldb/lib/aws-sdk-qldb.rb index c4b80baec61..e5c249a97d0 100644 --- a/gems/aws-sdk-qldb/lib/aws-sdk-qldb.rb +++ b/gems/aws-sdk-qldb/lib/aws-sdk-qldb.rb @@ -25,7 +25,7 @@ # structure. # # qldb = Aws::QLDB::Client.new -# resp = qldb.create_ledger(params) +# resp = qldb.cancel_journal_kinesis_stream(params) # # See {Client} for more information. # @@ -45,6 +45,6 @@ # @service module Aws::QLDB - GEM_VERSION = '1.3.0' + GEM_VERSION = '1.4.0' end diff --git a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client.rb b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client.rb index e9351ec7562..ff5e6963a73 100644 --- a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client.rb +++ b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client.rb @@ -308,6 +308,43 @@ def initialize(*args) # @!group API Operations + # Ends a given Amazon QLDB journal stream. Before a stream can be + # canceled, its current status must be `ACTIVE`. + # + # You can't restart a stream after you cancel it. Canceled QLDB stream + # resources are subject to a 7-day retention period, so they are + # automatically deleted after this limit expires. + # + # @option params [required, String] :ledger_name + # The name of the ledger. + # + # @option params [required, String] :stream_id + # The unique ID that QLDB assigns to each QLDB journal stream. + # + # @return [Types::CancelJournalKinesisStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::CancelJournalKinesisStreamResponse#stream_id #stream_id} => String + # + # @example Request syntax with placeholder values + # + # resp = client.cancel_journal_kinesis_stream({ + # ledger_name: "LedgerName", # required + # stream_id: "UniqueId", # required + # }) + # + # @example Response structure + # + # resp.stream_id #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/CancelJournalKinesisStream AWS API Documentation + # + # @overload cancel_journal_kinesis_stream(params = {}) + # @param [Hash] params ({}) + def cancel_journal_kinesis_stream(params = {}, options = {}) + req = build_request(:cancel_journal_kinesis_stream, params) + req.send_request(options) + end + # Creates a new ledger in your AWS account. # # @option params [required, String] :name @@ -397,16 +434,70 @@ def delete_ledger(params = {}, options = {}) req.send_request(options) end + # Returns detailed information about a given Amazon QLDB journal stream. + # The output includes the Amazon Resource Name (ARN), stream name, + # current status, creation time, and the parameters of your original + # stream creation request. + # + # @option params [required, String] :ledger_name + # The name of the ledger. + # + # @option params [required, String] :stream_id + # The unique ID that QLDB assigns to each QLDB journal stream. + # + # @return [Types::DescribeJournalKinesisStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::DescribeJournalKinesisStreamResponse#stream #stream} => Types::JournalKinesisStreamDescription + # + # @example Request syntax with placeholder values + # + # resp = client.describe_journal_kinesis_stream({ + # ledger_name: "LedgerName", # required + # stream_id: "UniqueId", # required + # }) + # + # @example Response structure + # + # resp.stream.ledger_name #=> String + # resp.stream.creation_time #=> Time + # resp.stream.inclusive_start_time #=> Time + # resp.stream.exclusive_end_time #=> Time + # resp.stream.role_arn #=> String + # resp.stream.stream_id #=> String + # resp.stream.arn #=> String + # resp.stream.status #=> String, one of "ACTIVE", "COMPLETED", "CANCELED", "FAILED", "IMPAIRED" + # resp.stream.kinesis_configuration.stream_arn #=> String + # resp.stream.kinesis_configuration.aggregation_enabled #=> Boolean + # resp.stream.error_cause #=> String, one of "KINESIS_STREAM_NOT_FOUND", "IAM_PERMISSION_REVOKED" + # resp.stream.stream_name #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeJournalKinesisStream AWS API Documentation + # + # @overload describe_journal_kinesis_stream(params = {}) + # @param [Hash] params ({}) + def describe_journal_kinesis_stream(params = {}, options = {}) + req = build_request(:describe_journal_kinesis_stream, params) + req.send_request(options) + end + # Returns information about a journal export job, including the ledger # name, export ID, when it was created, current status, and its start # and end time export parameters. # + # This action does not return any expired export jobs. For more + # information, see [Export Job Expiration][1] in the *Amazon QLDB + # Developer Guide*. + # # If the export job with the given `ExportId` doesn't exist, then # throws `ResourceNotFoundException`. # # If the ledger with the given `Name` doesn't exist, then throws # `ResourceNotFoundException`. # + # + # + # [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/export-journal.request.html#export-journal.request.expiration + # # @option params [required, String] :name # The name of the ledger. # @@ -722,6 +813,69 @@ def get_revision(params = {}, options = {}) req.send_request(options) end + # Returns an array of all Amazon QLDB journal stream descriptors for a + # given ledger. The output of each stream descriptor includes the same + # details that are returned by `DescribeJournalKinesisStream`. + # + # This action returns a maximum of `MaxResults` items. It is paginated + # so that you can retrieve all the items by calling + # `ListJournalKinesisStreamsForLedger` multiple times. + # + # @option params [required, String] :ledger_name + # The name of the ledger. + # + # @option params [Integer] :max_results + # The maximum number of results to return in a single + # `ListJournalKinesisStreamsForLedger` request. (The actual number of + # results returned might be fewer.) + # + # @option params [String] :next_token + # A pagination token, indicating that you want to retrieve the next page + # of results. If you received a value for `NextToken` in the response + # from a previous `ListJournalKinesisStreamsForLedger` call, you should + # use that value as input here. + # + # @return [Types::ListJournalKinesisStreamsForLedgerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListJournalKinesisStreamsForLedgerResponse#streams #streams} => Array<Types::JournalKinesisStreamDescription> + # * {Types::ListJournalKinesisStreamsForLedgerResponse#next_token #next_token} => String + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_journal_kinesis_streams_for_ledger({ + # ledger_name: "LedgerName", # required + # max_results: 1, + # next_token: "NextToken", + # }) + # + # @example Response structure + # + # resp.streams #=> Array + # resp.streams[0].ledger_name #=> String + # resp.streams[0].creation_time #=> Time + # resp.streams[0].inclusive_start_time #=> Time + # resp.streams[0].exclusive_end_time #=> Time + # resp.streams[0].role_arn #=> String + # resp.streams[0].stream_id #=> String + # resp.streams[0].arn #=> String + # resp.streams[0].status #=> String, one of "ACTIVE", "COMPLETED", "CANCELED", "FAILED", "IMPAIRED" + # resp.streams[0].kinesis_configuration.stream_arn #=> String + # resp.streams[0].kinesis_configuration.aggregation_enabled #=> Boolean + # resp.streams[0].error_cause #=> String, one of "KINESIS_STREAM_NOT_FOUND", "IAM_PERMISSION_REVOKED" + # resp.streams[0].stream_name #=> String + # resp.next_token #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListJournalKinesisStreamsForLedger AWS API Documentation + # + # @overload list_journal_kinesis_streams_for_ledger(params = {}) + # @param [Hash] params ({}) + def list_journal_kinesis_streams_for_ledger(params = {}, options = {}) + req = build_request(:list_journal_kinesis_streams_for_ledger, params) + req.send_request(options) + end + # Returns an array of journal export job descriptions for all ledgers # that are associated with the current AWS account and Region. # @@ -729,6 +883,14 @@ def get_revision(params = {}, options = {}) # so that you can retrieve all the items by calling # `ListJournalS3Exports` multiple times. # + # This action does not return any expired export jobs. For more + # information, see [Export Job Expiration][1] in the *Amazon QLDB + # Developer Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/export-journal.request.html#export-journal.request.expiration + # # @option params [Integer] :max_results # The maximum number of results to return in a single # `ListJournalS3Exports` request. (The actual number of results returned @@ -786,6 +948,14 @@ def list_journal_s3_exports(params = {}, options = {}) # so that you can retrieve all the items by calling # `ListJournalS3ExportsForLedger` multiple times. # + # This action does not return any expired export jobs. For more + # information, see [Export Job Expiration][1] in the *Amazon QLDB + # Developer Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/export-journal.request.html#export-journal.request.expiration + # # @option params [required, String] :name # The name of the ledger. # @@ -920,6 +1090,100 @@ def list_tags_for_resource(params = {}, options = {}) req.send_request(options) end + # Creates a stream for a given Amazon QLDB ledger that delivers the + # journal data to a specified Amazon Kinesis Data Streams resource. The + # stream captures every document revision that is committed to your + # journal and sends it to the Kinesis data stream. + # + # @option params [required, String] :ledger_name + # The name of the ledger. + # + # @option params [required, String] :role_arn + # The Amazon Resource Name (ARN) of the IAM role that grants QLDB + # permissions for a journal stream to write data records to a Kinesis + # Data Streams resource. + # + # @option params [Hash] :tags + # The key-value pairs to add as tags to the stream that you want to + # create. Tag keys are case sensitive. Tag values are case sensitive and + # can be null. + # + # @option params [required, Time,DateTime,Date,Integer,String] :inclusive_start_time + # The inclusive start date and time from which to start streaming + # journal data. This parameter must be in `ISO 8601` date and time + # format and in Universal Coordinated Time (UTC). For example: + # `2019-06-13T21:36:34Z` + # + # The `InclusiveStartTime` cannot be in the future and must be before + # `ExclusiveEndTime`. + # + # If you provide an `InclusiveStartTime` that is before the ledger's + # `CreationDateTime`, QLDB effectively defaults it to the ledger's + # `CreationDateTime`. + # + # @option params [Time,DateTime,Date,Integer,String] :exclusive_end_time + # The exclusive date and time that specifies when the stream ends. If + # you keep this parameter blank, the stream runs indefinitely until you + # cancel it. + # + # The `ExclusiveEndTime` must be in `ISO 8601` date and time format and + # in Universal Coordinated Time (UTC). For example: + # `2019-06-13T21:36:34Z` + # + # @option params [required, Types::KinesisConfiguration] :kinesis_configuration + # The configuration settings of the Kinesis Data Streams destination for + # your stream request. + # + # @option params [required, String] :stream_name + # The name that you want to assign to the QLDB journal stream. + # User-defined names can help identify and indicate the purpose of a + # stream. + # + # Your stream name must be unique among other *active* streams for a + # given ledger. If you try to create a stream with the same name and + # configuration of an active, existing stream for the same ledger, QLDB + # simply returns the existing stream. Stream names have the same naming + # constraints as ledger names, as defined in [Quotas in Amazon QLDB][1] + # in the *Amazon QLDB Developer Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming + # + # @return [Types::StreamJournalToKinesisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::StreamJournalToKinesisResponse#stream_id #stream_id} => String + # + # @example Request syntax with placeholder values + # + # resp = client.stream_journal_to_kinesis({ + # ledger_name: "LedgerName", # required + # role_arn: "Arn", # required + # tags: { + # "TagKey" => "TagValue", + # }, + # inclusive_start_time: Time.now, # required + # exclusive_end_time: Time.now, + # kinesis_configuration: { # required + # stream_arn: "Arn", # required + # aggregation_enabled: false, + # }, + # stream_name: "StreamName", # required + # }) + # + # @example Response structure + # + # resp.stream_id #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/StreamJournalToKinesis AWS API Documentation + # + # @overload stream_journal_to_kinesis(params = {}) + # @param [Hash] params ({}) + def stream_journal_to_kinesis(params = {}, options = {}) + req = build_request(:stream_journal_to_kinesis, params) + req.send_request(options) + end + # Adds one or more tags to a specified Amazon QLDB resource. # # A resource can have up to 50 tags. If you try to create more than 50 @@ -1048,7 +1312,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-qldb' - context[:gem_version] = '1.3.0' + context[:gem_version] = '1.4.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client_api.rb b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client_api.rb index 60d9634631b..66716ef49e8 100644 --- a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client_api.rb +++ b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client_api.rb @@ -12,15 +12,21 @@ module ClientApi include Seahorse::Model Arn = Shapes::StringShape.new(name: 'Arn') + Boolean = Shapes::BooleanShape.new(name: 'Boolean') + CancelJournalKinesisStreamRequest = Shapes::StructureShape.new(name: 'CancelJournalKinesisStreamRequest') + CancelJournalKinesisStreamResponse = Shapes::StructureShape.new(name: 'CancelJournalKinesisStreamResponse') CreateLedgerRequest = Shapes::StructureShape.new(name: 'CreateLedgerRequest') CreateLedgerResponse = Shapes::StructureShape.new(name: 'CreateLedgerResponse') DeleteLedgerRequest = Shapes::StructureShape.new(name: 'DeleteLedgerRequest') DeletionProtection = Shapes::BooleanShape.new(name: 'DeletionProtection') + DescribeJournalKinesisStreamRequest = Shapes::StructureShape.new(name: 'DescribeJournalKinesisStreamRequest') + DescribeJournalKinesisStreamResponse = Shapes::StructureShape.new(name: 'DescribeJournalKinesisStreamResponse') DescribeJournalS3ExportRequest = Shapes::StructureShape.new(name: 'DescribeJournalS3ExportRequest') DescribeJournalS3ExportResponse = Shapes::StructureShape.new(name: 'DescribeJournalS3ExportResponse') DescribeLedgerRequest = Shapes::StructureShape.new(name: 'DescribeLedgerRequest') DescribeLedgerResponse = Shapes::StructureShape.new(name: 'DescribeLedgerResponse') Digest = Shapes::BlobShape.new(name: 'Digest') + ErrorCause = Shapes::StringShape.new(name: 'ErrorCause') ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage') ExportJournalToS3Request = Shapes::StructureShape.new(name: 'ExportJournalToS3Request') ExportJournalToS3Response = Shapes::StructureShape.new(name: 'ExportJournalToS3Response') @@ -33,13 +39,18 @@ module ClientApi GetRevisionResponse = Shapes::StructureShape.new(name: 'GetRevisionResponse') InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException') IonText = Shapes::StringShape.new(name: 'IonText') + JournalKinesisStreamDescription = Shapes::StructureShape.new(name: 'JournalKinesisStreamDescription') + JournalKinesisStreamDescriptionList = Shapes::ListShape.new(name: 'JournalKinesisStreamDescriptionList') JournalS3ExportDescription = Shapes::StructureShape.new(name: 'JournalS3ExportDescription') JournalS3ExportList = Shapes::ListShape.new(name: 'JournalS3ExportList') + KinesisConfiguration = Shapes::StructureShape.new(name: 'KinesisConfiguration') LedgerList = Shapes::ListShape.new(name: 'LedgerList') LedgerName = Shapes::StringShape.new(name: 'LedgerName') LedgerState = Shapes::StringShape.new(name: 'LedgerState') LedgerSummary = Shapes::StructureShape.new(name: 'LedgerSummary') LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException') + ListJournalKinesisStreamsForLedgerRequest = Shapes::StructureShape.new(name: 'ListJournalKinesisStreamsForLedgerRequest') + ListJournalKinesisStreamsForLedgerResponse = Shapes::StructureShape.new(name: 'ListJournalKinesisStreamsForLedgerResponse') ListJournalS3ExportsForLedgerRequest = Shapes::StructureShape.new(name: 'ListJournalS3ExportsForLedgerRequest') ListJournalS3ExportsForLedgerResponse = Shapes::StructureShape.new(name: 'ListJournalS3ExportsForLedgerResponse') ListJournalS3ExportsRequest = Shapes::StructureShape.new(name: 'ListJournalS3ExportsRequest') @@ -63,6 +74,10 @@ module ClientApi S3ExportConfiguration = Shapes::StructureShape.new(name: 'S3ExportConfiguration') S3ObjectEncryptionType = Shapes::StringShape.new(name: 'S3ObjectEncryptionType') S3Prefix = Shapes::StringShape.new(name: 'S3Prefix') + StreamJournalToKinesisRequest = Shapes::StructureShape.new(name: 'StreamJournalToKinesisRequest') + StreamJournalToKinesisResponse = Shapes::StructureShape.new(name: 'StreamJournalToKinesisResponse') + StreamName = Shapes::StringShape.new(name: 'StreamName') + StreamStatus = Shapes::StringShape.new(name: 'StreamStatus') TagKey = Shapes::StringShape.new(name: 'TagKey') TagKeyList = Shapes::ListShape.new(name: 'TagKeyList') TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest') @@ -77,6 +92,13 @@ module ClientApi UpdateLedgerResponse = Shapes::StructureShape.new(name: 'UpdateLedgerResponse') ValueHolder = Shapes::StructureShape.new(name: 'ValueHolder') + CancelJournalKinesisStreamRequest.add_member(:ledger_name, Shapes::ShapeRef.new(shape: LedgerName, required: true, location: "uri", location_name: "name")) + CancelJournalKinesisStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: UniqueId, required: true, location: "uri", location_name: "streamId")) + CancelJournalKinesisStreamRequest.struct_class = Types::CancelJournalKinesisStreamRequest + + CancelJournalKinesisStreamResponse.add_member(:stream_id, Shapes::ShapeRef.new(shape: UniqueId, location_name: "StreamId")) + CancelJournalKinesisStreamResponse.struct_class = Types::CancelJournalKinesisStreamResponse + CreateLedgerRequest.add_member(:name, Shapes::ShapeRef.new(shape: LedgerName, required: true, location_name: "Name")) CreateLedgerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) CreateLedgerRequest.add_member(:permissions_mode, Shapes::ShapeRef.new(shape: PermissionsMode, required: true, location_name: "PermissionsMode")) @@ -93,6 +115,13 @@ module ClientApi DeleteLedgerRequest.add_member(:name, Shapes::ShapeRef.new(shape: LedgerName, required: true, location: "uri", location_name: "name")) DeleteLedgerRequest.struct_class = Types::DeleteLedgerRequest + DescribeJournalKinesisStreamRequest.add_member(:ledger_name, Shapes::ShapeRef.new(shape: LedgerName, required: true, location: "uri", location_name: "name")) + DescribeJournalKinesisStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: UniqueId, required: true, location: "uri", location_name: "streamId")) + DescribeJournalKinesisStreamRequest.struct_class = Types::DescribeJournalKinesisStreamRequest + + DescribeJournalKinesisStreamResponse.add_member(:stream, Shapes::ShapeRef.new(shape: JournalKinesisStreamDescription, location_name: "Stream")) + DescribeJournalKinesisStreamResponse.struct_class = Types::DescribeJournalKinesisStreamResponse + DescribeJournalS3ExportRequest.add_member(:name, Shapes::ShapeRef.new(shape: LedgerName, required: true, location: "uri", location_name: "name")) DescribeJournalS3ExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: UniqueId, required: true, location: "uri", location_name: "exportId")) DescribeJournalS3ExportRequest.struct_class = Types::DescribeJournalS3ExportRequest @@ -150,6 +179,21 @@ module ClientApi InvalidParameterException.add_member(:parameter_name, Shapes::ShapeRef.new(shape: ParameterName, location_name: "ParameterName")) InvalidParameterException.struct_class = Types::InvalidParameterException + JournalKinesisStreamDescription.add_member(:ledger_name, Shapes::ShapeRef.new(shape: LedgerName, required: true, location_name: "LedgerName")) + JournalKinesisStreamDescription.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime")) + JournalKinesisStreamDescription.add_member(:inclusive_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "InclusiveStartTime")) + JournalKinesisStreamDescription.add_member(:exclusive_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExclusiveEndTime")) + JournalKinesisStreamDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn")) + JournalKinesisStreamDescription.add_member(:stream_id, Shapes::ShapeRef.new(shape: UniqueId, required: true, location_name: "StreamId")) + JournalKinesisStreamDescription.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn")) + JournalKinesisStreamDescription.add_member(:status, Shapes::ShapeRef.new(shape: StreamStatus, required: true, location_name: "Status")) + JournalKinesisStreamDescription.add_member(:kinesis_configuration, Shapes::ShapeRef.new(shape: KinesisConfiguration, required: true, location_name: "KinesisConfiguration")) + JournalKinesisStreamDescription.add_member(:error_cause, Shapes::ShapeRef.new(shape: ErrorCause, location_name: "ErrorCause")) + JournalKinesisStreamDescription.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName")) + JournalKinesisStreamDescription.struct_class = Types::JournalKinesisStreamDescription + + JournalKinesisStreamDescriptionList.member = Shapes::ShapeRef.new(shape: JournalKinesisStreamDescription) + JournalS3ExportDescription.add_member(:ledger_name, Shapes::ShapeRef.new(shape: LedgerName, required: true, location_name: "LedgerName")) JournalS3ExportDescription.add_member(:export_id, Shapes::ShapeRef.new(shape: UniqueId, required: true, location_name: "ExportId")) JournalS3ExportDescription.add_member(:export_creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ExportCreationTime")) @@ -162,6 +206,10 @@ module ClientApi JournalS3ExportList.member = Shapes::ShapeRef.new(shape: JournalS3ExportDescription) + KinesisConfiguration.add_member(:stream_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "StreamArn")) + KinesisConfiguration.add_member(:aggregation_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AggregationEnabled")) + KinesisConfiguration.struct_class = Types::KinesisConfiguration + LedgerList.member = Shapes::ShapeRef.new(shape: LedgerSummary) LedgerSummary.add_member(:name, Shapes::ShapeRef.new(shape: LedgerName, location_name: "Name")) @@ -173,6 +221,15 @@ module ClientApi LimitExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType")) LimitExceededException.struct_class = Types::LimitExceededException + ListJournalKinesisStreamsForLedgerRequest.add_member(:ledger_name, Shapes::ShapeRef.new(shape: LedgerName, required: true, location: "uri", location_name: "name")) + ListJournalKinesisStreamsForLedgerRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results")) + ListJournalKinesisStreamsForLedgerRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token")) + ListJournalKinesisStreamsForLedgerRequest.struct_class = Types::ListJournalKinesisStreamsForLedgerRequest + + ListJournalKinesisStreamsForLedgerResponse.add_member(:streams, Shapes::ShapeRef.new(shape: JournalKinesisStreamDescriptionList, location_name: "Streams")) + ListJournalKinesisStreamsForLedgerResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) + ListJournalKinesisStreamsForLedgerResponse.struct_class = Types::ListJournalKinesisStreamsForLedgerResponse + ListJournalS3ExportsForLedgerRequest.add_member(:name, Shapes::ShapeRef.new(shape: LedgerName, required: true, location: "uri", location_name: "name")) ListJournalS3ExportsForLedgerRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results")) ListJournalS3ExportsForLedgerRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token")) @@ -233,6 +290,18 @@ module ClientApi S3ExportConfiguration.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: S3EncryptionConfiguration, required: true, location_name: "EncryptionConfiguration")) S3ExportConfiguration.struct_class = Types::S3ExportConfiguration + StreamJournalToKinesisRequest.add_member(:ledger_name, Shapes::ShapeRef.new(shape: LedgerName, required: true, location: "uri", location_name: "name")) + StreamJournalToKinesisRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RoleArn")) + StreamJournalToKinesisRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) + StreamJournalToKinesisRequest.add_member(:inclusive_start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "InclusiveStartTime")) + StreamJournalToKinesisRequest.add_member(:exclusive_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExclusiveEndTime")) + StreamJournalToKinesisRequest.add_member(:kinesis_configuration, Shapes::ShapeRef.new(shape: KinesisConfiguration, required: true, location_name: "KinesisConfiguration")) + StreamJournalToKinesisRequest.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName")) + StreamJournalToKinesisRequest.struct_class = Types::StreamJournalToKinesisRequest + + StreamJournalToKinesisResponse.add_member(:stream_id, Shapes::ShapeRef.new(shape: UniqueId, location_name: "StreamId")) + StreamJournalToKinesisResponse.struct_class = Types::StreamJournalToKinesisResponse + TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey) TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn")) @@ -283,6 +352,17 @@ module ClientApi "uid" => "qldb-2019-01-02", } + api.add_operation(:cancel_journal_kinesis_stream, Seahorse::Model::Operation.new.tap do |o| + o.name = "CancelJournalKinesisStream" + o.http_method = "DELETE" + o.http_request_uri = "/ledgers/{name}/journal-kinesis-streams/{streamId}" + o.input = Shapes::ShapeRef.new(shape: CancelJournalKinesisStreamRequest) + o.output = Shapes::ShapeRef.new(shape: CancelJournalKinesisStreamResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException) + end) + api.add_operation(:create_ledger, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateLedger" o.http_method = "POST" @@ -307,6 +387,17 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException) end) + api.add_operation(:describe_journal_kinesis_stream, Seahorse::Model::Operation.new.tap do |o| + o.name = "DescribeJournalKinesisStream" + o.http_method = "GET" + o.http_request_uri = "/ledgers/{name}/journal-kinesis-streams/{streamId}" + o.input = Shapes::ShapeRef.new(shape: DescribeJournalKinesisStreamRequest) + o.output = Shapes::ShapeRef.new(shape: DescribeJournalKinesisStreamResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException) + end) + api.add_operation(:describe_journal_s3_export, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeJournalS3Export" o.http_method = "GET" @@ -369,6 +460,23 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException) end) + api.add_operation(:list_journal_kinesis_streams_for_ledger, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListJournalKinesisStreamsForLedger" + o.http_method = "GET" + o.http_request_uri = "/ledgers/{name}/journal-kinesis-streams" + o.input = Shapes::ShapeRef.new(shape: ListJournalKinesisStreamsForLedgerRequest) + o.output = Shapes::ShapeRef.new(shape: ListJournalKinesisStreamsForLedgerResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:list_journal_s3_exports, Seahorse::Model::Operation.new.tap do |o| o.name = "ListJournalS3Exports" o.http_method = "GET" @@ -421,6 +529,17 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) + api.add_operation(:stream_journal_to_kinesis, Seahorse::Model::Operation.new.tap do |o| + o.name = "StreamJournalToKinesis" + o.http_method = "POST" + o.http_request_uri = "/ledgers/{name}/journal-kinesis-streams" + o.input = Shapes::ShapeRef.new(shape: StreamJournalToKinesisRequest) + o.output = Shapes::ShapeRef.new(shape: StreamJournalToKinesisResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ResourcePreconditionNotMetException) + end) + api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "TagResource" o.http_method = "POST" diff --git a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb index 062aa76738c..cc2707b794f 100644 --- a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb +++ b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/types.rb @@ -8,6 +8,41 @@ module Aws::QLDB module Types + # @note When making an API call, you may pass CancelJournalKinesisStreamRequest + # data as a hash: + # + # { + # ledger_name: "LedgerName", # required + # stream_id: "UniqueId", # required + # } + # + # @!attribute [rw] ledger_name + # The name of the ledger. + # @return [String] + # + # @!attribute [rw] stream_id + # The unique ID that QLDB assigns to each QLDB journal stream. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/CancelJournalKinesisStreamRequest AWS API Documentation + # + class CancelJournalKinesisStreamRequest < Struct.new( + :ledger_name, + :stream_id) + include Aws::Structure + end + + # @!attribute [rw] stream_id + # The unique ID that QLDB assigns to each QLDB journal stream. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/CancelJournalKinesisStreamResponse AWS API Documentation + # + class CancelJournalKinesisStreamResponse < Struct.new( + :stream_id) + include Aws::Structure + end + # @note When making an API call, you may pass CreateLedgerRequest # data as a hash: # @@ -119,6 +154,42 @@ class DeleteLedgerRequest < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass DescribeJournalKinesisStreamRequest + # data as a hash: + # + # { + # ledger_name: "LedgerName", # required + # stream_id: "UniqueId", # required + # } + # + # @!attribute [rw] ledger_name + # The name of the ledger. + # @return [String] + # + # @!attribute [rw] stream_id + # The unique ID that QLDB assigns to each QLDB journal stream. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeJournalKinesisStreamRequest AWS API Documentation + # + class DescribeJournalKinesisStreamRequest < Struct.new( + :ledger_name, + :stream_id) + include Aws::Structure + end + + # @!attribute [rw] stream + # Information about the QLDB journal stream returned by a + # `DescribeJournalS3Export` request. + # @return [Types::JournalKinesisStreamDescription] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeJournalKinesisStreamResponse AWS API Documentation + # + class DescribeJournalKinesisStreamResponse < Struct.new( + :stream) + include Aws::Structure + end + # @note When making an API call, you may pass DescribeJournalS3ExportRequest # data as a hash: # @@ -488,6 +559,81 @@ class InvalidParameterException < Struct.new( include Aws::Structure end + # The information about an Amazon QLDB journal stream, including the + # Amazon Resource Name (ARN), stream name, creation time, current + # status, and the parameters of your original stream creation request. + # + # @!attribute [rw] ledger_name + # The name of the ledger. + # @return [String] + # + # @!attribute [rw] creation_time + # The date and time, in epoch time format, when the QLDB journal + # stream was created. (Epoch time format is the number of seconds + # elapsed since 12:00:00 AM January 1, 1970 UTC.) + # @return [Time] + # + # @!attribute [rw] inclusive_start_time + # The inclusive start date and time from which to start streaming + # journal data. + # @return [Time] + # + # @!attribute [rw] exclusive_end_time + # The exclusive date and time that specifies when the stream ends. If + # this parameter is blank, the stream runs indefinitely until you + # cancel it. + # @return [Time] + # + # @!attribute [rw] role_arn + # The Amazon Resource Name (ARN) of the IAM role that grants QLDB + # permissions for a journal stream to write data records to a Kinesis + # Data Streams resource. + # @return [String] + # + # @!attribute [rw] stream_id + # The unique ID that QLDB assigns to each QLDB journal stream. + # @return [String] + # + # @!attribute [rw] arn + # The Amazon Resource Name (ARN) of the QLDB journal stream. + # @return [String] + # + # @!attribute [rw] status + # The current state of the QLDB journal stream. + # @return [String] + # + # @!attribute [rw] kinesis_configuration + # The configuration settings of the Amazon Kinesis Data Streams + # destination for your QLDB journal stream. + # @return [Types::KinesisConfiguration] + # + # @!attribute [rw] error_cause + # The error message that describes the reason that a stream has a + # status of `IMPAIRED` or `FAILED`. This is not applicable to streams + # that have other status values. + # @return [String] + # + # @!attribute [rw] stream_name + # The user-defined name of the QLDB journal stream. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/JournalKinesisStreamDescription AWS API Documentation + # + class JournalKinesisStreamDescription < Struct.new( + :ledger_name, + :creation_time, + :inclusive_start_time, + :exclusive_end_time, + :role_arn, + :stream_id, + :arn, + :status, + :kinesis_configuration, + :error_cause, + :stream_name) + include Aws::Structure + end + # The information about a journal export job, including the ledger name, # export ID, when it was created, current status, and its start and end # time export parameters. @@ -551,6 +697,39 @@ class JournalS3ExportDescription < Struct.new( include Aws::Structure end + # The configuration settings of the Amazon Kinesis Data Streams + # destination for your Amazon QLDB journal stream. + # + # @note When making an API call, you may pass KinesisConfiguration + # data as a hash: + # + # { + # stream_arn: "Arn", # required + # aggregation_enabled: false, + # } + # + # @!attribute [rw] stream_arn + # The Amazon Resource Name (ARN) of the Kinesis data stream resource. + # @return [String] + # + # @!attribute [rw] aggregation_enabled + # Enables QLDB to publish multiple stream records in a single Kinesis + # Data Streams record. To learn more, see [KPL Key Concepts][1] in the + # *Amazon Kinesis Data Streams Developer Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/streams/latest/dev/kinesis-kpl-concepts.html + # @return [Boolean] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/KinesisConfiguration AWS API Documentation + # + class KinesisConfiguration < Struct.new( + :stream_arn, + :aggregation_enabled) + include Aws::Structure + end + # Information about a ledger, including its name, state, and when it was # created. # @@ -594,6 +773,63 @@ class LimitExceededException < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass ListJournalKinesisStreamsForLedgerRequest + # data as a hash: + # + # { + # ledger_name: "LedgerName", # required + # max_results: 1, + # next_token: "NextToken", + # } + # + # @!attribute [rw] ledger_name + # The name of the ledger. + # @return [String] + # + # @!attribute [rw] max_results + # The maximum number of results to return in a single + # `ListJournalKinesisStreamsForLedger` request. (The actual number of + # results returned might be fewer.) + # @return [Integer] + # + # @!attribute [rw] next_token + # A pagination token, indicating that you want to retrieve the next + # page of results. If you received a value for `NextToken` in the + # response from a previous `ListJournalKinesisStreamsForLedger` call, + # you should use that value as input here. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListJournalKinesisStreamsForLedgerRequest AWS API Documentation + # + class ListJournalKinesisStreamsForLedgerRequest < Struct.new( + :ledger_name, + :max_results, + :next_token) + include Aws::Structure + end + + # @!attribute [rw] streams + # The array of QLDB journal stream descriptors that are associated + # with the given ledger. + # @return [Array] + # + # @!attribute [rw] next_token + # * If `NextToken` is empty, the last page of results has been + # processed and there are no more results to be retrieved. + # + # * If `NextToken` is *not* empty, more results are available. To + # retrieve the next page of results, use the value of `NextToken` in + # a subsequent `ListJournalKinesisStreamsForLedger` call. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListJournalKinesisStreamsForLedgerResponse AWS API Documentation + # + class ListJournalKinesisStreamsForLedgerResponse < Struct.new( + :streams, + :next_token) + include Aws::Structure + end + # @note When making an API call, you may pass ListJournalS3ExportsForLedgerRequest # data as a hash: # @@ -900,8 +1136,9 @@ class ResourcePreconditionNotMetException < Struct.new( # @return [String] # # @!attribute [rw] kms_key_arn - # The Amazon Resource Name (ARN) for a customer master key (CMK) in - # AWS Key Management Service (AWS KMS). + # The Amazon Resource Name (ARN) for a symmetric customer master key + # (CMK) in AWS Key Management Service (AWS KMS). Amazon QLDB does not + # support asymmetric CMKs. # # You must provide a `KmsKeyArn` if you specify `SSE_KMS` as the # `ObjectEncryptionType`. @@ -981,6 +1218,110 @@ class S3ExportConfiguration < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass StreamJournalToKinesisRequest + # data as a hash: + # + # { + # ledger_name: "LedgerName", # required + # role_arn: "Arn", # required + # tags: { + # "TagKey" => "TagValue", + # }, + # inclusive_start_time: Time.now, # required + # exclusive_end_time: Time.now, + # kinesis_configuration: { # required + # stream_arn: "Arn", # required + # aggregation_enabled: false, + # }, + # stream_name: "StreamName", # required + # } + # + # @!attribute [rw] ledger_name + # The name of the ledger. + # @return [String] + # + # @!attribute [rw] role_arn + # The Amazon Resource Name (ARN) of the IAM role that grants QLDB + # permissions for a journal stream to write data records to a Kinesis + # Data Streams resource. + # @return [String] + # + # @!attribute [rw] tags + # The key-value pairs to add as tags to the stream that you want to + # create. Tag keys are case sensitive. Tag values are case sensitive + # and can be null. + # @return [Hash] + # + # @!attribute [rw] inclusive_start_time + # The inclusive start date and time from which to start streaming + # journal data. This parameter must be in `ISO 8601` date and time + # format and in Universal Coordinated Time (UTC). For example: + # `2019-06-13T21:36:34Z` + # + # The `InclusiveStartTime` cannot be in the future and must be before + # `ExclusiveEndTime`. + # + # If you provide an `InclusiveStartTime` that is before the ledger's + # `CreationDateTime`, QLDB effectively defaults it to the ledger's + # `CreationDateTime`. + # @return [Time] + # + # @!attribute [rw] exclusive_end_time + # The exclusive date and time that specifies when the stream ends. If + # you keep this parameter blank, the stream runs indefinitely until + # you cancel it. + # + # The `ExclusiveEndTime` must be in `ISO 8601` date and time format + # and in Universal Coordinated Time (UTC). For example: + # `2019-06-13T21:36:34Z` + # @return [Time] + # + # @!attribute [rw] kinesis_configuration + # The configuration settings of the Kinesis Data Streams destination + # for your stream request. + # @return [Types::KinesisConfiguration] + # + # @!attribute [rw] stream_name + # The name that you want to assign to the QLDB journal stream. + # User-defined names can help identify and indicate the purpose of a + # stream. + # + # Your stream name must be unique among other *active* streams for a + # given ledger. If you try to create a stream with the same name and + # configuration of an active, existing stream for the same ledger, + # QLDB simply returns the existing stream. Stream names have the same + # naming constraints as ledger names, as defined in [Quotas in Amazon + # QLDB][1] in the *Amazon QLDB Developer Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/limits.html#limits.naming + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/StreamJournalToKinesisRequest AWS API Documentation + # + class StreamJournalToKinesisRequest < Struct.new( + :ledger_name, + :role_arn, + :tags, + :inclusive_start_time, + :exclusive_end_time, + :kinesis_configuration, + :stream_name) + include Aws::Structure + end + + # @!attribute [rw] stream_id + # The unique ID that QLDB assigns to each QLDB journal stream. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/StreamJournalToKinesisResponse AWS API Documentation + # + class StreamJournalToKinesisResponse < Struct.new( + :stream_id) + include Aws::Structure + end + # @note When making an API call, you may pass TagResourceRequest # data as a hash: # diff --git a/gems/aws-sdk-s3/CHANGELOG.md b/gems/aws-sdk-s3/CHANGELOG.md index f058ea69d58..80970a2a565 100644 --- a/gems/aws-sdk-s3/CHANGELOG.md +++ b/gems/aws-sdk-s3/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.65.0 (2020-05-18) +------------------ + +* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. + * Feature - Allow S3 presigner to presign non-object operations such as `list_objects`. 1.64.0 (2020-05-07) diff --git a/gems/aws-sdk-s3/VERSION b/gems/aws-sdk-s3/VERSION index 9405730420f..902c74186fb 100644 --- a/gems/aws-sdk-s3/VERSION +++ b/gems/aws-sdk-s3/VERSION @@ -1 +1 @@ -1.64.0 +1.65.0 diff --git a/gems/aws-sdk-s3/aws-sdk-s3.gemspec b/gems/aws-sdk-s3/aws-sdk-s3.gemspec index cd7652f65cd..fa34b51306a 100644 --- a/gems/aws-sdk-s3/aws-sdk-s3.gemspec +++ b/gems/aws-sdk-s3/aws-sdk-s3.gemspec @@ -25,6 +25,6 @@ Gem::Specification.new do |spec| spec.add_dependency('aws-sdk-kms', '~> 1') spec.add_dependency('aws-sigv4', '~> 1.1') - spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.83.0') + spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.96.1') end diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3.rb index 01a9b6c4c1c..3d21e8764fb 100644 --- a/gems/aws-sdk-s3/lib/aws-sdk-s3.rb +++ b/gems/aws-sdk-s3/lib/aws-sdk-s3.rb @@ -66,6 +66,6 @@ # @service module Aws::S3 - GEM_VERSION = '1.64.0' + GEM_VERSION = '1.65.0' end diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb index 032f0963a66..af4e2b0ac40 100644 --- a/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb +++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb @@ -11789,7 +11789,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-s3' - context[:gem_version] = '1.64.0' + context[:gem_version] = '1.65.0' Seahorse::Client::Request.new(handlers, context) end