Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed May 20, 2022
1 parent 3058e8b commit 96f2252
Show file tree
Hide file tree
Showing 19 changed files with 175 additions and 82 deletions.
17 changes: 16 additions & 1 deletion apis/comprehend/2017-11-27/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1503,6 +1503,7 @@
"CustomerInputStringList":{
"type":"list",
"member":{"shape":"CustomerInputString"},
"min":1,
"sensitive":true
},
"DeleteDocumentClassifierRequest":{
Expand Down Expand Up @@ -2935,7 +2936,21 @@
"AWS_SECRET_KEY",
"IP_ADDRESS",
"MAC_ADDRESS",
"ALL"
"ALL",
"LICENSE_PLATE",
"VEHICLE_IDENTIFICATION_NUMBER",
"UK_NATIONAL_INSURANCE_NUMBER",
"CA_SOCIAL_INSURANCE_NUMBER",
"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
"IN_PERMANENT_ACCOUNT_NUMBER",
"IN_NREGA",
"INTERNATIONAL_BANK_ACCOUNT_NUMBER",
"SWIFT_CODE",
"UK_NATIONAL_HEALTH_SERVICE_NUMBER",
"CA_HEALTH_NUMBER",
"IN_AADHAAR",
"IN_VOTER_NUMBER"
]
},
"PiiOutputDataConfig":{
Expand Down
36 changes: 18 additions & 18 deletions apis/comprehend/2017-11-27/docs-2.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions apis/logs/2014-03-28/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"operations": {
"AssociateKmsKey": "<p>Associates the specified Key Management Service customer master key (CMK) with the specified log group.</p> <p>Associating an KMS CMK with a log group overrides any existing associations between the log group and a CMK. After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.</p> <important> <p>CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK with your log group. For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html\">Using Symmetric and Asymmetric Keys</a>.</p> </important> <p>It can take up to 5 minutes for this operation to take effect.</p> <p>If you attempt to associate a CMK with a log group but the CMK does not exist or the CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p>",
"CancelExportTask": "<p>Cancels the specified export task.</p> <p>The task must be in the <code>PENDING</code> or <code>RUNNING</code> state.</p>",
"CreateExportTask": "<p>Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code> operation, you must use credentials that have permission to write to the S3 bucket that you specify as the destination.</p> <p>This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html\">DescribeExportTasks</a> to get the status of the export task. Each account can only have one active (<code>RUNNING</code> or <code>PENDING</code>) export task at a time. To cancel an export task, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html\">CancelExportTask</a>.</p> <p>You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects.</p> <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets encrypted with SSE-KMS is not supported. </p>",
"CreateExportTask": "<p>Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code> operation, you must use credentials that have permission to write to the S3 bucket that you specify as the destination.</p> <important> <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is not supported. Exporting log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is not supported.</p> <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p> </important> <p>This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html\">DescribeExportTasks</a> to get the status of the export task. Each account can only have one active (<code>RUNNING</code> or <code>PENDING</code>) export task at a time. To cancel an export task, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html\">CancelExportTask</a>.</p> <p>You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects.</p> <note> <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the exported log fild data by using Linux utilities.</p> </note>",
"CreateLogGroup": "<p>Creates a log group with the specified name. You can create up to 20,000 log groups per account.</p> <p>You must use the following guidelines when naming a log group:</p> <ul> <li> <p>Log group names must be unique within a region for an Amazon Web Services account.</p> </li> <li> <p>Log group names can be between 1 and 512 characters long.</p> </li> <li> <p>Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)</p> </li> </ul> <p>When you create a log group, by default the log events in the log group never expire. To set a retention policy so that events expire and are deleted after a specified time, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html\">PutRetentionPolicy</a>.</p> <p>If you associate a Key Management Service customer master key (CMK) with the log group, ingested data is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.</p> <p>If you attempt to associate a CMK with the log group but the CMK does not exist or the CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p> <important> <p>CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with your log group. For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html\">Using Symmetric and Asymmetric Keys</a>.</p> </important>",
"CreateLogStream": "<p>Creates a log stream for the specified log group. A log stream is a sequence of log events that originate from a single source, such as an application instance or a resource that is being monitored.</p> <p>There is no limit on the number of log streams that you can create for a log group. There is a limit of 50 TPS on <code>CreateLogStream</code> operations, after which transactions are throttled.</p> <p>You must use the following guidelines when naming a log stream:</p> <ul> <li> <p>Log stream names must be unique within the log group.</p> </li> <li> <p>Log stream names can be between 1 and 512 characters long.</p> </li> <li> <p>The ':' (colon) and '*' (asterisk) characters are not allowed.</p> </li> </ul>",
"DeleteDestination": "<p>Deletes the specified destination, and eventually disables all the subscription filters that publish to it. This operation does not delete the physical resource encapsulated by the destination.</p>",
Expand Down Expand Up @@ -97,7 +97,7 @@
}
},
"Days": {
"base": "<p>The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.</p> <p>To set a log group to never have log events expire, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html\">DeleteRetentionPolicy</a>. </p>",
"base": "<p>The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.</p> <p>To set a log group to never have log events expire, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html\">DeleteRetentionPolicy</a>. </p>",
"refs": {
"LogGroup$retentionInDays": null,
"PutRetentionPolicyRequest$retentionInDays": null
Expand Down Expand Up @@ -673,7 +673,7 @@
"LogGroups": {
"base": null,
"refs": {
"DescribeLogGroupsResponse$logGroups": "<p>The log groups.</p> <p>If the <code>retentionInDays</code> value if not included for a log group, then that log group is set to have its events never expire.</p>"
"DescribeLogGroupsResponse$logGroups": "<p>The log groups.</p> <p>If the <code>retentionInDays</code> value is not included for a log group, then that log group is set to have its events never expire.</p>"
}
},
"LogRecord": {
Expand Down Expand Up @@ -819,7 +819,7 @@
}
},
"OperationAbortedException": {
"base": "<p>Multiple requests to update the same resource were in conflict.</p>",
"base": "<p>Multiple concurrent requests to update the same resource were in conflict.</p>",
"refs": {
}
},
Expand Down Expand Up @@ -1228,7 +1228,7 @@
"base": null,
"refs": {
"CreateExportTaskRequest$from": "<p>The start time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not exported.</p>",
"CreateExportTaskRequest$to": "<p>The end time of the range for the request, expreswatchlogsdocused as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.</p>",
"CreateExportTaskRequest$to": "<p>The end time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.</p>",
"Destination$creationTime": "<p>The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.</p>",
"ExportTask$from": "<p>The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not exported.</p>",
"ExportTask$to": "<p>The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.</p>",
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-sdk-cloudwatchlogs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.53.0 (2022-05-20)
------------------

* Feature - Doc-only update to publish the new valid values for log retention

1.52.0 (2022-02-24)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-cloudwatchlogs/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.52.0
1.53.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
# @!group service
module Aws::CloudWatchLogs

GEM_VERSION = '1.52.0'
GEM_VERSION = '1.53.0'

end
23 changes: 16 additions & 7 deletions gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,12 @@ def cancel_export_task(params = {}, options = {})
# permission to write to the S3 bucket that you specify as the
# destination.
#
# Exporting log data to Amazon S3 buckets that are encrypted by KMS is
# not supported. Exporting log data to Amazon S3 buckets that have S3
# Object Lock enabled with a retention period is not supported.
#
# Exporting to S3 buckets that are encrypted with AES-256 is supported.
#
# This is an asynchronous call. If all the required information is
# provided, this operation initiates an export task and responds with
# the ID of the task. After the task has started, you can use
Expand All @@ -459,8 +465,11 @@ def cancel_export_task(params = {}, options = {})
# you can specify a prefix to be used as the Amazon S3 key prefix for
# all exported objects.
#
# Exporting to S3 buckets that are encrypted with AES-256 is supported.
# Exporting to S3 buckets encrypted with SSE-KMS is not supported.
# <note markdown="1"> Time-based sorting on chunks of log data inside an exported file is
# not guaranteed. You can sort the exported log fild data by using Linux
# utilities.
#
# </note>
#
#
#
Expand All @@ -483,9 +492,9 @@ def cancel_export_task(params = {}, options = {})
# timestamp earlier than this time are not exported.
#
# @option params [required, Integer] :to
# The end time of the range for the request, expreswatchlogsdocused as
# the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with
# a timestamp later than this time are not exported.
# The end time of the range for the request, expressed as the number of
# milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp
# later than this time are not exported.
#
# @option params [required, String] :destination
# The name of S3 bucket for the exported log data. The bucket must be in
Expand Down Expand Up @@ -2251,7 +2260,7 @@ def put_resource_policy(params = {}, options = {})
# @option params [required, Integer] :retention_in_days
# The number of days to retain the log events in the specified log
# group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180,
# 365, 400, 545, 731, 1827, and 3653.
# 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.
#
# To set a log group to never have log events expire, use
# [DeleteRetentionPolicy][1].
Expand Down Expand Up @@ -2633,7 +2642,7 @@ def build_request(operation_name, params = {})
params: params,
config: config)
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
context[:gem_version] = '1.52.0'
context[:gem_version] = '1.53.0'
Seahorse::Client::Request.new(handlers, context)
end

Expand Down
15 changes: 8 additions & 7 deletions gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ class CancelExportTaskRequest < Struct.new(
# @return [Integer]
#
# @!attribute [rw] to
# The end time of the range for the request, expreswatchlogsdocused as
# the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events
# with a timestamp later than this time are not exported.
# The end time of the range for the request, expressed as the number
# of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a
# timestamp later than this time are not exported.
# @return [Integer]
#
# @!attribute [rw] destination
Expand Down Expand Up @@ -559,7 +559,7 @@ class DescribeLogGroupsRequest < Struct.new(
# @!attribute [rw] log_groups
# The log groups.
#
# If the `retentionInDays` value if not included for a log group, then
# If the `retentionInDays` value is not included for a log group, then
# that log group is set to have its events never expire.
# @return [Array<Types::LogGroup>]
#
Expand Down Expand Up @@ -1614,7 +1614,7 @@ class ListTagsLogGroupResponse < Struct.new(
# @!attribute [rw] retention_in_days
# The number of days to retain the log events in the specified log
# group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150,
# 180, 365, 400, 545, 731, 1827, and 3653.
# 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.
#
# To set a log group to never have log events expire, use
# [DeleteRetentionPolicy][1].
Expand Down Expand Up @@ -1910,7 +1910,8 @@ class MetricTransformation < Struct.new(
include Aws::Structure
end

# Multiple requests to update the same resource were in conflict.
# Multiple concurrent requests to update the same resource were in
# conflict.
#
# @see http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/OperationAbortedException AWS API Documentation
#
Expand Down Expand Up @@ -2313,7 +2314,7 @@ class PutResourcePolicyResponse < Struct.new(
# @!attribute [rw] retention_in_days
# The number of days to retain the log events in the specified log
# group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150,
# 180, 365, 400, 545, 731, 1827, and 3653.
# 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.
#
# To set a log group to never have log events expire, use
# [DeleteRetentionPolicy][1].
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-sdk-comprehend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.61.0 (2022-05-20)
------------------

* Feature - Comprehend releases 14 new entity types for DetectPiiEntities and ContainsPiiEntities APIs.

1.60.0 (2022-03-09)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-comprehend/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.60.0
1.61.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-comprehend/lib/aws-sdk-comprehend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
# @!group service
module Aws::Comprehend

GEM_VERSION = '1.60.0'
GEM_VERSION = '1.61.0'

end
Loading

0 comments on commit 96f2252

Please sign in to comment.