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 Mar 9, 2020
1 parent 091d013 commit cb2ba09
Show file tree
Hide file tree
Showing 1,120 changed files with 12,488 additions and 5,182 deletions.
28 changes: 25 additions & 3 deletions apis/dms/2016-01-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,7 @@
"DmsTransferSettings":{"shape":"DmsTransferSettings"},
"MongoDbSettings":{"shape":"MongoDbSettings"},
"KinesisSettings":{"shape":"KinesisSettings"},
"KafkaSettings":{"shape":"KafkaSettings"},
"ElasticsearchSettings":{"shape":"ElasticsearchSettings"},
"RedshiftSettings":{"shape":"RedshiftSettings"}
}
Expand Down Expand Up @@ -1365,6 +1366,7 @@
"DmsTransferSettings":{"shape":"DmsTransferSettings"},
"MongoDbSettings":{"shape":"MongoDbSettings"},
"KinesisSettings":{"shape":"KinesisSettings"},
"KafkaSettings":{"shape":"KafkaSettings"},
"ElasticsearchSettings":{"shape":"ElasticsearchSettings"},
"RedshiftSettings":{"shape":"RedshiftSettings"}
}
Expand Down Expand Up @@ -1528,6 +1530,13 @@
},
"exception":true
},
"KafkaSettings":{
"type":"structure",
"members":{
"Broker":{"shape":"String"},
"Topic":{"shape":"String"}
}
},
"KeyList":{
"type":"list",
"member":{"shape":"String"}
Expand All @@ -1537,7 +1546,12 @@
"members":{
"StreamArn":{"shape":"String"},
"MessageFormat":{"shape":"MessageFormatValue"},
"ServiceAccessRoleArn":{"shape":"String"}
"ServiceAccessRoleArn":{"shape":"String"},
"IncludeTransactionDetails":{"shape":"BooleanOptional"},
"IncludePartitionValue":{"shape":"BooleanOptional"},
"PartitionIncludeSchemaTable":{"shape":"BooleanOptional"},
"IncludeTableAlterOperations":{"shape":"BooleanOptional"},
"IncludeControlDetails":{"shape":"BooleanOptional"}
}
},
"ListTagsForResourceMessage":{
Expand All @@ -1556,7 +1570,10 @@
"Long":{"type":"long"},
"MessageFormatValue":{
"type":"string",
"enum":["json"]
"enum":[
"json",
"json-unformatted"
]
},
"MigrationTypeValue":{
"type":"string",
Expand Down Expand Up @@ -1589,6 +1606,7 @@
"DmsTransferSettings":{"shape":"DmsTransferSettings"},
"MongoDbSettings":{"shape":"MongoDbSettings"},
"KinesisSettings":{"shape":"KinesisSettings"},
"KafkaSettings":{"shape":"KafkaSettings"},
"ElasticsearchSettings":{"shape":"ElasticsearchSettings"},
"RedshiftSettings":{"shape":"RedshiftSettings"}
}
Expand Down Expand Up @@ -2074,7 +2092,8 @@
"IncludeOpForFullLoad":{"shape":"BooleanOptional"},
"CdcInsertsOnly":{"shape":"BooleanOptional"},
"TimestampColumnName":{"shape":"String"},
"ParquetTimestampInMillisecond":{"shape":"BooleanOptional"}
"ParquetTimestampInMillisecond":{"shape":"BooleanOptional"},
"CdcInsertsAndUpdates":{"shape":"BooleanOptional"}
}
},
"SNSInvalidTopicFault":{
Expand Down Expand Up @@ -2222,6 +2241,9 @@
"FullLoadRows":{"shape":"Long"},
"FullLoadCondtnlChkFailedRows":{"shape":"Long"},
"FullLoadErrorRows":{"shape":"Long"},
"FullLoadStartTime":{"shape":"TStamp"},
"FullLoadEndTime":{"shape":"TStamp"},
"FullLoadReloaded":{"shape":"BooleanOptional"},
"LastUpdateTime":{"shape":"TStamp"},
"TableState":{"shape":"String"},
"ValidationPendingRecords":{"shape":"Long"},
Expand Down
185 changes: 102 additions & 83 deletions apis/dms/2016-01-01/docs-2.json

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions apis/ec2/2016-11-15/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6890,8 +6890,16 @@
],
"members":{
"AllocationId":{"shape":"AllocationId"},
"ClientToken":{"shape":"String"},
"SubnetId":{"shape":"SubnetId"}
"ClientToken":{
"shape":"String",
"idempotencyToken":true
},
"DryRun":{"shape":"Boolean"},
"SubnetId":{"shape":"SubnetId"},
"TagSpecifications":{
"shape":"TagSpecificationList",
"locationName":"TagSpecification"
}
}
},
"CreateNatGatewayResult":{
Expand Down Expand Up @@ -8385,6 +8393,7 @@
"type":"structure",
"required":["NatGatewayId"],
"members":{
"DryRun":{"shape":"Boolean"},
"NatGatewayId":{"shape":"NatGatewayId"}
}
},
Expand Down Expand Up @@ -10817,6 +10826,7 @@
"DescribeNatGatewaysRequest":{
"type":"structure",
"members":{
"DryRun":{"shape":"Boolean"},
"Filter":{"shape":"FilterList"},
"MaxResults":{"shape":"DescribeNatGatewaysMaxResults"},
"NatGatewayIds":{
Expand Down
4 changes: 4 additions & 0 deletions apis/ec2/2016-11-15/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,7 @@
"CreateLaunchTemplateVersionRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"CreateLocalGatewayRouteRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"CreateLocalGatewayRouteTableVpcAssociationRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"CreateNatGatewayRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"CreateNetworkAclEntryRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"CreateNetworkAclEntryRequest$Egress": "<p>Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).</p>",
"CreateNetworkAclRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
Expand Down Expand Up @@ -1186,6 +1187,7 @@
"DeleteLaunchTemplateVersionsRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DeleteLocalGatewayRouteRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DeleteLocalGatewayRouteTableVpcAssociationRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DeleteNatGatewayRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DeleteNetworkAclEntryRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DeleteNetworkAclEntryRequest$Egress": "<p>Indicates whether the rule is an egress rule.</p>",
"DeleteNetworkAclRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
Expand Down Expand Up @@ -1277,6 +1279,7 @@
"DescribeLocalGatewayVirtualInterfacesRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DescribeLocalGatewaysRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DescribeMovingAddressesRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DescribeNatGatewaysRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DescribeNetworkAclsRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DescribeNetworkInterfaceAttributeRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
"DescribeNetworkInterfacesRequest$DryRun": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>",
Expand Down Expand Up @@ -13488,6 +13491,7 @@
"CreateFlowLogsRequest$TagSpecifications": "<p>The tags to apply to the flow logs.</p>",
"CreateFpgaImageRequest$TagSpecifications": "<p>The tags to apply to the FPGA image during creation.</p>",
"CreateLaunchTemplateRequest$TagSpecifications": "<p>The tags to apply to the launch template during creation.</p>",
"CreateNatGatewayRequest$TagSpecifications": "<p>The tags to assign to the NAT gateway.</p>",
"CreateSnapshotRequest$TagSpecifications": "<p>The tags to apply to the snapshot during creation.</p>",
"CreateSnapshotsRequest$TagSpecifications": "<p>Tags to apply to every snapshot specified by the instance.</p>",
"CreateTrafficMirrorFilterRequest$TagSpecifications": "<p>The tags to assign to a Traffic Mirror filter.</p>",
Expand Down
12 changes: 12 additions & 0 deletions apis/medialive/2017-10-14/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7690,6 +7690,10 @@
"MultiplexProgramSettings": {
"type": "structure",
"members": {
"PreferredChannelPipeline": {
"shape": "PreferredChannelPipeline",
"locationName": "preferredChannelPipeline"
},
"ProgramNumber": {
"shape": "__integerMin0Max65535",
"locationName": "programNumber"
Expand Down Expand Up @@ -8186,6 +8190,14 @@
"PipelineId"
]
},
"PreferredChannelPipeline": {
"type": "string",
"enum": [
"CURRENTLY_ACTIVE",
"PIPELINE_0",
"PIPELINE_1"
]
},
"PurchaseOffering": {
"type": "structure",
"members": {
Expand Down
6 changes: 6 additions & 0 deletions apis/medialive/2017-10-14/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2059,6 +2059,12 @@
"__listOfPipelinePauseStateSettings$member": null
}
},
"PreferredChannelPipeline": {
"base": "Indicates which pipeline is preferred by the multiplex for program ingest.\nIf set to \\\"PIPELINE_0\\\" or \\\"PIPELINE_1\\\" and an unhealthy ingest causes the multiplex to switch to the non-preferred pipeline,\nit will switch back once that ingest is healthy again. If set to \\\"CURRENTLY_ACTIVE\\\",\nit will not switch back to the other pipeline based on it recovering to a healthy state,\nit will only switch if the active pipeline becomes unhealthy.\n",
"refs": {
"MultiplexProgramSettings$PreferredChannelPipeline": "Indicates which pipeline is preferred by the multiplex for program ingest."
}
},
"PurchaseOffering": {
"base": "PurchaseOffering request",
"refs": {
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-sdk-accessanalyzer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.3.0 (2020-03-09)
------------------

* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.

1.2.1 (2020-03-02)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-accessanalyzer/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.1
1.3.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
# @service
module Aws::AccessAnalyzer

GEM_VERSION = '1.2.1'
GEM_VERSION = '1.3.0'

end
51 changes: 45 additions & 6 deletions gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ class Client < Seahorse::Client::Base
# When set to `true`, a thread polling for endpoints will be running in
# the background every 60 secs (default). Defaults to `false`.
#
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
# Used only in `adaptive` retry mode. When true, the request will sleep
# until there is sufficent client side capacity to retry the request.
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
# not retry instead of sleeping.
#
# @option options [Boolean] :client_side_monitoring (false)
# When `true`, client-side metrics will be collected for all API requests from
# this client.
Expand All @@ -144,6 +150,10 @@ class Client < Seahorse::Client::Base
# When `true`, an attempt is made to coerce request parameters into
# the required types.
#
# @option options [Boolean] :correct_clock_skew (true)
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
# a clock skew correction and retry requests with skewed client clocks.
#
# @option options [Boolean] :disable_host_prefix_injection (false)
# Set to true to disable SDK automatically adding host prefix
# to default service endpoint when available.
Expand Down Expand Up @@ -178,27 +188,56 @@ class Client < Seahorse::Client::Base
# The Logger instance to send log messages to. If this option
# is not set, logging will be disabled.
#
# @option options [Integer] :max_attempts (3)
# An integer representing the maximum number attempts that will be made for
# a single request, including the initial attempt. For example,
# setting this value to 5 will result in a request being retried up to
# 4 times. Used in `standard` and `adaptive` retry modes.
#
# @option options [String] :profile ("default")
# Used when loading credentials from the shared credentials file
# at HOME/.aws/credentials. When not specified, 'default' is used.
#
# @option options [Proc] :retry_backoff
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
# This option is only used in the `legacy` retry mode.
#
# @option options [Float] :retry_base_delay (0.3)
# The base delay in seconds used by the default backoff function.
# The base delay in seconds used by the default backoff function. This option
# is only used in the `legacy` retry mode.
#
# @option options [Symbol] :retry_jitter (:none)
# A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
# A delay randomiser function used by the default backoff function.
# Some predefined functions can be referenced by name - :none, :equal, :full,
# otherwise a Proc that takes and returns a number. This option is only used
# in the `legacy` retry mode.
#
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
#
# @option options [Integer] :retry_limit (3)
# The maximum number of times to retry failed requests. Only
# ~ 500 level server errors and certain ~ 400 level client errors
# are retried. Generally, these are throttling errors, data
# checksum errors, networking errors, timeout errors and auth
# errors from expired credentials.
# checksum errors, networking errors, timeout errors, auth errors,
# endpoint discovery, and errors from expired credentials.
# This option is only used in the `legacy` retry mode.
#
# @option options [Integer] :retry_max_delay (0)
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
# The maximum number of seconds to delay between retries (0 for no limit)
# used by the default backoff function. This option is only used in the
# `legacy` retry mode.
#
# @option options [String] :retry_mode ("legacy")
# Specifies which retry algorithm to use. Values are:
# * `legacy` - The pre-existing retry behavior. This is default value if
# no retry mode is provided.
# * `standard` - A standardized set of retry rules across the AWS SDKs.
# This includes support for retry quotas, which limit the number of
# unsuccessful retries a client can make.
# * `adaptive` - An experimental retry mode that includes all the
# functionality of `standard` mode along with automatic client side
# throttling. This is a provisional mode that may change behavior
# in the future.
#
# @option options [String] :secret_access_key
#
Expand Down Expand Up @@ -1031,7 +1070,7 @@ def build_request(operation_name, params = {})
params: params,
config: config)
context[:gem_name] = 'aws-sdk-accessanalyzer'
context[:gem_version] = '1.2.1'
context[:gem_version] = '1.3.0'
Seahorse::Client::Request.new(handlers, context)
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def initialize(context, message, data = Aws::EmptyStructure.new)
def message
@message || @data[:message]
end

end

class ConflictException < ServiceError
Expand All @@ -78,7 +77,6 @@ def resource_id
def resource_type
@data[:resource_type]
end

end

class InternalServerException < ServiceError
Expand All @@ -99,7 +97,6 @@ def message
def retry_after_seconds
@data[:retry_after_seconds]
end

end

class ResourceNotFoundException < ServiceError
Expand All @@ -125,7 +122,6 @@ def resource_id
def resource_type
@data[:resource_type]
end

end

class ServiceQuotaExceededException < ServiceError
Expand All @@ -151,7 +147,6 @@ def resource_id
def resource_type
@data[:resource_type]
end

end

class ThrottlingException < ServiceError
Expand All @@ -172,7 +167,6 @@ def message
def retry_after_seconds
@data[:retry_after_seconds]
end

end

class ValidationException < ServiceError
Expand All @@ -198,7 +192,6 @@ def message
def reason
@data[:reason]
end

end

end
Expand Down

0 comments on commit cb2ba09

Please sign in to comment.