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 Aug 25, 2023
1 parent 8e75b8e commit 6926341
Show file tree
Hide file tree
Showing 24 changed files with 101 additions and 27 deletions.
20 changes: 17 additions & 3 deletions apis/cloudtrail/2013-11-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@
{"shape":"OrganizationNotInAllFeaturesModeException"},
{"shape":"NoManagementAccountSLRExistsException"},
{"shape":"CloudTrailInvalidClientTokenIdException"},
{"shape":"ConflictException"}
{"shape":"ConflictException"},
{"shape":"ThrottlingException"}
],
"idempotent":true
},
Expand Down Expand Up @@ -227,6 +228,7 @@
{"shape":"InvalidTrailNameException"},
{"shape":"CloudTrailARNInvalidException"},
{"shape":"ConflictException"},
{"shape":"ThrottlingException"},
{"shape":"InvalidHomeRegionException"},
{"shape":"UnsupportedOperationException"},
{"shape":"OperationNotPermittedException"},
Expand Down Expand Up @@ -377,7 +379,8 @@
{"shape":"UnsupportedOperationException"},
{"shape":"OperationNotPermittedException"},
{"shape":"InsightNotEnabledException"},
{"shape":"NoManagementAccountSLRExistsException"}
{"shape":"NoManagementAccountSLRExistsException"},
{"shape":"ThrottlingException"}
],
"idempotent":true
},
Expand Down Expand Up @@ -630,6 +633,7 @@
{"shape":"InvalidHomeRegionException"},
{"shape":"InvalidEventSelectorsException"},
{"shape":"ConflictException"},
{"shape":"ThrottlingException"},
{"shape":"UnsupportedOperationException"},
{"shape":"OperationNotPermittedException"},
{"shape":"NotOrganizationMasterAccountException"},
Expand Down Expand Up @@ -659,7 +663,8 @@
{"shape":"UnsupportedOperationException"},
{"shape":"OperationNotPermittedException"},
{"shape":"NotOrganizationMasterAccountException"},
{"shape":"NoManagementAccountSLRExistsException"}
{"shape":"NoManagementAccountSLRExistsException"},
{"shape":"ThrottlingException"}
],
"idempotent":true
},
Expand Down Expand Up @@ -813,6 +818,7 @@
"errors":[
{"shape":"CloudTrailARNInvalidException"},
{"shape":"ConflictException"},
{"shape":"ThrottlingException"},
{"shape":"TrailNotFoundException"},
{"shape":"InvalidTrailNameException"},
{"shape":"InvalidHomeRegionException"},
Expand Down Expand Up @@ -899,6 +905,7 @@
{"shape":"InvalidTrailNameException"},
{"shape":"CloudTrailARNInvalidException"},
{"shape":"ConflictException"},
{"shape":"ThrottlingException"},
{"shape":"InvalidHomeRegionException"},
{"shape":"UnsupportedOperationException"},
{"shape":"OperationNotPermittedException"},
Expand Down Expand Up @@ -984,6 +991,7 @@
{"shape":"InvalidEventSelectorsException"},
{"shape":"CloudTrailARNInvalidException"},
{"shape":"ConflictException"},
{"shape":"ThrottlingException"},
{"shape":"InvalidParameterCombinationException"},
{"shape":"InvalidHomeRegionException"},
{"shape":"KmsKeyNotFoundException"},
Expand Down Expand Up @@ -2855,6 +2863,12 @@
"max":200
},
"TerminationProtectionEnabled":{"type":"boolean"},
"ThrottlingException":{
"type":"structure",
"members":{
},
"exception":true
},
"Trail":{
"type":"structure",
"members":{
Expand Down
5 changes: 5 additions & 0 deletions apis/cloudtrail/2013-11-01/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,11 @@
"UpdateEventDataStoreResponse$TerminationProtectionEnabled": "<p>Indicates whether termination protection is enabled for the event data store.</p>"
}
},
"ThrottlingException": {
"base": "<p> This exception is thrown when the request rate exceeds the limit. </p>",
"refs": {
}
},
"Trail": {
"base": "<p>The settings for a trail.</p>",
"refs": {
Expand Down
6 changes: 4 additions & 2 deletions apis/detective/2018-10-26/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -613,12 +613,14 @@
"type":"string",
"max":64,
"min":1,
"pattern":"^.+@(?:(?:(?!-)[A-Za-z0-9-]{1,62})?[A-Za-z0-9]{1}\\.)+[A-Za-z]{2,63}$"
"pattern":"^.+@(?:(?:(?!-)[A-Za-z0-9-]{1,62})?[A-Za-z0-9]{1}\\.)+[A-Za-z]{2,63}$",
"sensitive":true
},
"EmailMessage":{
"type":"string",
"max":1000,
"min":1
"min":1,
"sensitive":true
},
"EnableOrganizationAdminAccountRequest":{
"type":"structure",
Expand Down
6 changes: 3 additions & 3 deletions apis/monitoring/2010-08-01/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,16 @@
"GetMetricStreamOutput$FirehoseArn": "<p>The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.</p>",
"GetMetricStreamOutput$RoleArn": "<p>The ARN of the IAM role that is used by this metric stream.</p>",
"ListManagedInsightRulesInput$ResourceARN": "<p> The ARN of an Amazon Web Services resource that has managed Contributor Insights rules. </p>",
"ListTagsForResourceInput$ResourceARN": "<p>The ARN of the CloudWatch resource that you want to view tags for.</p> <p>The ARN format of an alarm is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code> </p> <p>The ARN format of a Contributor Insights rule is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule:<i>insight-rule-name</i> </code> </p> <p>For more information about ARN format, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies\"> Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.</p>",
"ListTagsForResourceInput$ResourceARN": "<p>The ARN of the CloudWatch resource that you want to view tags for.</p> <p>The ARN format of an alarm is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code> </p> <p>The ARN format of a Contributor Insights rule is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule/<i>insight-rule-name</i> </code> </p> <p>For more information about ARN format, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies\"> Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.</p>",
"ManagedRule$ResourceARN": "<p> The ARN of an Amazon Web Services resource that has managed Contributor Insights rules. </p>",
"ManagedRuleDescription$ResourceARN": "<p> If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource. </p>",
"MetricStreamEntry$Arn": "<p>The ARN of the metric stream.</p>",
"MetricStreamEntry$FirehoseArn": "<p>The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.</p>",
"PutMetricStreamInput$FirehoseArn": "<p>The ARN of the Amazon Kinesis Data Firehose delivery stream to use for this metric stream. This Amazon Kinesis Data Firehose delivery stream must already exist and must be in the same account as the metric stream.</p>",
"PutMetricStreamInput$RoleArn": "<p>The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Data Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:</p> <ul> <li> <p>firehose:PutRecord</p> </li> <li> <p>firehose:PutRecordBatch</p> </li> </ul>",
"PutMetricStreamOutput$Arn": "<p>The ARN of the metric stream.</p>",
"TagResourceInput$ResourceARN": "<p>The ARN of the CloudWatch resource that you're adding tags to.</p> <p>The ARN format of an alarm is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code> </p> <p>The ARN format of a Contributor Insights rule is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule:<i>insight-rule-name</i> </code> </p> <p>For more information about ARN format, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies\"> Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.</p>",
"UntagResourceInput$ResourceARN": "<p>The ARN of the CloudWatch resource that you're removing tags from.</p> <p>The ARN format of an alarm is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code> </p> <p>The ARN format of a Contributor Insights rule is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule:<i>insight-rule-name</i> </code> </p> <p>For more information about ARN format, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies\"> Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.</p>"
"TagResourceInput$ResourceARN": "<p>The ARN of the CloudWatch resource that you're adding tags to.</p> <p>The ARN format of an alarm is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code> </p> <p>The ARN format of a Contributor Insights rule is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule/<i>insight-rule-name</i> </code> </p> <p>For more information about ARN format, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies\"> Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.</p>",
"UntagResourceInput$ResourceARN": "<p>The ARN of the CloudWatch resource that you're removing tags from.</p> <p>The ARN format of an alarm is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code> </p> <p>The ARN format of a Contributor Insights rule is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule/<i>insight-rule-name</i> </code> </p> <p>For more information about ARN format, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies\"> Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.</p>"
}
},
"AnomalyDetector": {
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-partitions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.812.0 (2023-08-25)
------------------

* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.

1.811.0 (2023-08-24)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-partitions/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.811.0
1.812.0
5 changes: 5 additions & 0 deletions gems/aws-partitions/partitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6220,6 +6220,7 @@
"deprecated" : true,
"hostname" : "email-fips.us-west-2.amazonaws.com"
},
"il-central-1" : { },
"me-south-1" : { },
"sa-east-1" : { },
"us-east-1" : {
Expand Down Expand Up @@ -7180,6 +7181,7 @@
"deprecated" : true,
"hostname" : "fsx-fips.us-west-2.amazonaws.com"
},
"il-central-1" : { },
"me-central-1" : { },
"me-south-1" : { },
"prod-ca-central-1" : {
Expand Down Expand Up @@ -7685,6 +7687,7 @@
"eu-west-1" : { },
"eu-west-2" : { },
"eu-west-3" : { },
"il-central-1" : { },
"me-central-1" : { },
"me-south-1" : { },
"sa-east-1" : { },
Expand Down Expand Up @@ -14139,6 +14142,7 @@
"fips-us-west-2" : {
"deprecated" : true
},
"il-central-1" : { },
"me-south-1" : { },
"sa-east-1" : { },
"us-east-1" : {
Expand Down Expand Up @@ -14941,6 +14945,7 @@
"eu-west-1" : { },
"eu-west-2" : { },
"eu-west-3" : { },
"il-central-1" : { },
"me-central-1" : { },
"me-south-1" : { },
"sa-east-1" : { },
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-sdk-cloudtrail/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.68.0 (2023-08-25)
------------------

* Feature - Add ThrottlingException with error code 429 to handle CloudTrail Delegated Admin request rate exceeded on organization resources.

1.67.0 (2023-08-10)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-cloudtrail/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.67.0
1.68.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
# @!group service
module Aws::CloudTrail

GEM_VERSION = '1.67.0'
GEM_VERSION = '1.68.0'

end
2 changes: 1 addition & 1 deletion gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3437,7 +3437,7 @@ def build_request(operation_name, params = {})
params: params,
config: config)
context[:gem_name] = 'aws-sdk-cloudtrail'
context[:gem_version] = '1.67.0'
context[:gem_version] = '1.68.0'
Seahorse::Client::Request.new(handlers, context)
end

Expand Down
11 changes: 11 additions & 0 deletions gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/client_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ module ClientApi
TagsLimitExceededException = Shapes::StructureShape.new(name: 'TagsLimitExceededException')
TagsList = Shapes::ListShape.new(name: 'TagsList')
TerminationProtectionEnabled = Shapes::BooleanShape.new(name: 'TerminationProtectionEnabled')
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
Trail = Shapes::StructureShape.new(name: 'Trail')
TrailAlreadyExistsException = Shapes::StructureShape.new(name: 'TrailAlreadyExistsException')
TrailInfo = Shapes::StructureShape.new(name: 'TrailInfo')
Expand Down Expand Up @@ -1057,6 +1058,8 @@ module ClientApi

TagsList.member = Shapes::ShapeRef.new(shape: Tag)

ThrottlingException.struct_class = Types::ThrottlingException

Trail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
Trail.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
Trail.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3KeyPrefix"))
Expand Down Expand Up @@ -1300,6 +1303,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
o.errors << Shapes::ShapeRef.new(shape: CloudTrailInvalidClientTokenIdException)
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
end)

api.add_operation(:delete_channel, Seahorse::Model::Operation.new.tap do |o|
Expand Down Expand Up @@ -1358,6 +1362,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
Expand Down Expand Up @@ -1478,6 +1483,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
o.errors << Shapes::ShapeRef.new(shape: InsightNotEnabledException)
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
end)

api.add_operation(:get_query_results, Seahorse::Model::Operation.new.tap do |o|
Expand Down Expand Up @@ -1731,6 +1737,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
Expand All @@ -1757,6 +1764,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
o.errors << Shapes::ShapeRef.new(shape: NotOrganizationMasterAccountException)
o.errors << Shapes::ShapeRef.new(shape: NoManagementAccountSLRExistsException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
end)

api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
Expand Down Expand Up @@ -1885,6 +1893,7 @@ module ClientApi
o.output = Shapes::ShapeRef.new(shape: StartLoggingResponse)
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: TrailNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
Expand Down Expand Up @@ -1957,6 +1966,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: InvalidTrailNameException)
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
Expand Down Expand Up @@ -2030,6 +2040,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSelectorsException)
o.errors << Shapes::ShapeRef.new(shape: CloudTrailARNInvalidException)
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
o.errors << Shapes::ShapeRef.new(shape: InvalidHomeRegionException)
o.errors << Shapes::ShapeRef.new(shape: KmsKeyNotFoundException)
Expand Down
11 changes: 11 additions & 0 deletions gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ module Aws::CloudTrail
# * {ResourceTypeNotSupportedException}
# * {S3BucketDoesNotExistException}
# * {TagsLimitExceededException}
# * {ThrottlingException}
# * {TrailAlreadyExistsException}
# * {TrailNotFoundException}
# * {TrailNotProvidedException}
Expand Down Expand Up @@ -863,6 +864,16 @@ def initialize(context, message, data = Aws::EmptyStructure.new)
end
end

class ThrottlingException < ServiceError

# @param [Seahorse::Client::RequestContext] context
# @param [String] message
# @param [Aws::CloudTrail::Types::ThrottlingException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
end

class TrailAlreadyExistsException < ServiceError

# @param [Seahorse::Client::RequestContext] context
Expand Down
6 changes: 6 additions & 0 deletions gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4353,6 +4353,12 @@ class Tag < Struct.new(
#
class TagsLimitExceededException < Aws::EmptyStructure; end

# This exception is thrown when the request rate exceeds the limit.
#
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ThrottlingException AWS API Documentation
#
class ThrottlingException < Aws::EmptyStructure; end

# The settings for a trail.
#
# @!attribute [rw] name
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-sdk-cloudwatch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.80.0 (2023-08-25)
------------------

* Feature - Doc-only update to get doc bug fixes into the SDK docs

1.79.0 (2023-08-16)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-cloudwatch/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.79.0
1.80.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
# @!group service
module Aws::CloudWatch

GEM_VERSION = '1.79.0'
GEM_VERSION = '1.80.0'

end
Loading

0 comments on commit 6926341

Please sign in to comment.