aws-sdk-applicationdiscoveryservice 1.22.0 → 1.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d66cbac37c06854d4cabdb49e7e73d790b26cccb
4
- data.tar.gz: 84fb307c459f6915234622d842da3332d066a976
2
+ SHA256:
3
+ metadata.gz: 0dfba74281607d1f633dee0bbbc728282ccefd93ef7cb66ae9d7be66fd1c5bb8
4
+ data.tar.gz: 417ffbc3f66995fcd1c08a5ab59bb671117fbfc49fd0c09b3f0ea3bbd790d0a2
5
5
  SHA512:
6
- metadata.gz: 8cf6f957b359a24af7b3c1f624cec602d687a70bb3a6908333d0bae4c6bfb8ebc53323995cc91829fd2cc385ecb3379f4994b98599e87ab8f56471e16f57126e
7
- data.tar.gz: 3722c27688c235c66e3cc70e9834e5db8b7689814096b665273da032b05639c609edd52f8a44ac6018dbf21b5525ee14ea42b8c474315bf17af9160958b039a0
6
+ metadata.gz: 3bb310f34150c39cf1375d7bc7d2eb31b1257bc894fc7479b95c774c43efc9d7fb6482c348c8e060aaf76cae85bb37cde00ceefc9929c5466a4ed9ceb8119d20
7
+ data.tar.gz: 691fa175a027fd3b8af122cc99ecdb2d072c1e0c5be89c5acb1a44fd8cc9c7244f33bbfd9b19c8218653a1fdb555fee907b6cf98950fa952f2b7fc55fdc86ac0
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-applicationdiscoveryservice/customizations'
24
24
  # methods each accept a hash of request parameters and return a response
25
25
  # structure.
26
26
  #
27
+ # application_discovery_service = Aws::ApplicationDiscoveryService::Client.new
28
+ # resp = application_discovery_service.associate_configuration_items_to_application(params)
29
+ #
27
30
  # See {Client} for more information.
28
31
  #
29
32
  # # Errors
30
33
  #
31
- # Errors returned from AWS Application Discovery Service all
32
- # extend {Errors::ServiceError}.
34
+ # Errors returned from AWS Application Discovery Service are defined in the
35
+ # {Errors} module and all extend {Errors::ServiceError}.
33
36
  #
34
37
  # begin
35
38
  # # do stuff
36
39
  # rescue Aws::ApplicationDiscoveryService::Errors::ServiceError
37
- # # rescues all service API errors
40
+ # # rescues all AWS Application Discovery Service API errors
38
41
  # end
39
42
  #
40
43
  # See {Errors} for more information.
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-applicationdiscoveryservice/customizations'
42
45
  # @service
43
46
  module Aws::ApplicationDiscoveryService
44
47
 
45
- GEM_VERSION = '1.22.0'
48
+ GEM_VERSION = '1.27.0'
46
49
 
47
50
  end
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
30
30
  Aws::Plugins::GlobalConfiguration.add_identifier(:applicationdiscoveryservice)
31
31
 
32
32
  module Aws::ApplicationDiscoveryService
33
+ # An API client for ApplicationDiscoveryService. To construct a client, you need to configure a `:region` and `:credentials`.
34
+ #
35
+ # client = Aws::ApplicationDiscoveryService::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
+ #
41
+ # For details on configuring region and credentials see
42
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
43
+ #
44
+ # See {#initialize} for a full list of supported configuration options.
33
45
  class Client < Seahorse::Client::Base
34
46
 
35
47
  include Aws::ClientStubs
@@ -93,7 +105,7 @@ module Aws::ApplicationDiscoveryService
93
105
  # @option options [required, String] :region
94
106
  # The AWS region to connect to. The configured `:region` is
95
107
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
97
109
  #
98
110
  # * `Aws.config[:region]`
99
111
  # * `ENV['AWS_REGION']`
@@ -108,6 +120,12 @@ module Aws::ApplicationDiscoveryService
108
120
  # When set to `true`, a thread polling for endpoints will be running in
109
121
  # the background every 60 secs (default). Defaults to `false`.
110
122
  #
123
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
124
+ # Used only in `adaptive` retry mode. When true, the request will sleep
125
+ # until there is sufficent client side capacity to retry the request.
126
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
127
+ # not retry instead of sleeping.
128
+ #
111
129
  # @option options [Boolean] :client_side_monitoring (false)
112
130
  # When `true`, client-side metrics will be collected for all API requests from
113
131
  # this client.
@@ -132,6 +150,10 @@ module Aws::ApplicationDiscoveryService
132
150
  # When `true`, an attempt is made to coerce request parameters into
133
151
  # the required types.
134
152
  #
153
+ # @option options [Boolean] :correct_clock_skew (true)
154
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
155
+ # a clock skew correction and retry requests with skewed client clocks.
156
+ #
135
157
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
158
  # Set to true to disable SDK automatically adding host prefix
137
159
  # to default service endpoint when available.
@@ -139,7 +161,7 @@ module Aws::ApplicationDiscoveryService
139
161
  # @option options [String] :endpoint
140
162
  # The client endpoint is normally constructed from the `:region`
141
163
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
143
165
  #
144
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +176,7 @@ module Aws::ApplicationDiscoveryService
154
176
  # requests fetching endpoints information. Defaults to 60 sec.
155
177
  #
156
178
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
180
  #
159
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
182
  # The log formatter.
@@ -166,15 +188,29 @@ module Aws::ApplicationDiscoveryService
166
188
  # The Logger instance to send log messages to. If this option
167
189
  # is not set, logging will be disabled.
168
190
  #
191
+ # @option options [Integer] :max_attempts (3)
192
+ # An integer representing the maximum number attempts that will be made for
193
+ # a single request, including the initial attempt. For example,
194
+ # setting this value to 5 will result in a request being retried up to
195
+ # 4 times. Used in `standard` and `adaptive` retry modes.
196
+ #
169
197
  # @option options [String] :profile ("default")
170
198
  # Used when loading credentials from the shared credentials file
171
199
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
200
  #
201
+ # @option options [Proc] :retry_backoff
202
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
203
+ # This option is only used in the `legacy` retry mode.
204
+ #
173
205
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
206
+ # The base delay in seconds used by the default backoff function. This option
207
+ # is only used in the `legacy` retry mode.
175
208
  #
176
209
  # @option options [Symbol] :retry_jitter (:none)
177
- # 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.
210
+ # A delay randomiser function used by the default backoff function.
211
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
212
+ # otherwise a Proc that takes and returns a number. This option is only used
213
+ # in the `legacy` retry mode.
178
214
  #
179
215
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
216
  #
@@ -182,11 +218,30 @@ module Aws::ApplicationDiscoveryService
182
218
  # The maximum number of times to retry failed requests. Only
183
219
  # ~ 500 level server errors and certain ~ 400 level client errors
184
220
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
221
+ # checksum errors, networking errors, timeout errors, auth errors,
222
+ # endpoint discovery, and errors from expired credentials.
223
+ # This option is only used in the `legacy` retry mode.
187
224
  #
188
225
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
226
+ # The maximum number of seconds to delay between retries (0 for no limit)
227
+ # used by the default backoff function. This option is only used in the
228
+ # `legacy` retry mode.
229
+ #
230
+ # @option options [String] :retry_mode ("legacy")
231
+ # Specifies which retry algorithm to use. Values are:
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
190
245
  #
191
246
  # @option options [String] :secret_access_key
192
247
  #
@@ -219,16 +274,15 @@ module Aws::ApplicationDiscoveryService
219
274
  # requests through. Formatted like 'http://proxy.com:123'.
220
275
  #
221
276
  # @option options [Float] :http_open_timeout (15) The number of
222
- # seconds to wait when opening a HTTP session before rasing a
277
+ # seconds to wait when opening a HTTP session before raising a
223
278
  # `Timeout::Error`.
224
279
  #
225
280
  # @option options [Integer] :http_read_timeout (60) The default
226
281
  # number of seconds to wait for response data. This value can
227
- # safely be set
228
- # per-request on the session yeidled by {#session_for}.
282
+ # safely be set per-request on the session.
229
283
  #
230
284
  # @option options [Float] :http_idle_timeout (5) The number of
231
- # seconds a connection is allowed to sit idble before it is
285
+ # seconds a connection is allowed to sit idle before it is
232
286
  # considered stale. Stale connections are closed and removed
233
287
  # from the pool before making a request.
234
288
  #
@@ -237,7 +291,7 @@ module Aws::ApplicationDiscoveryService
237
291
  # request body. This option has no effect unless the request has
238
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
239
293
  # disables this behaviour. This value can safely be set per
240
- # request on the session yeidled by {#session_for}.
294
+ # request on the session.
241
295
  #
242
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
243
297
  # HTTP debug output will be sent to the `:logger`.
@@ -538,13 +592,14 @@ module Aws::ApplicationDiscoveryService
538
592
  # number of network cards, etc.
539
593
  #
540
594
  # For a complete list of outputs for each asset type, see [Using the
541
- # DescribeConfigurations Action][1].
595
+ # DescribeConfigurations Action][1] in the *AWS Application Discovery
596
+ # Service User Guide*.
542
597
  #
543
598
  # </note>
544
599
  #
545
600
  #
546
601
  #
547
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#DescribeConfigurations
602
+ # [1]: https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#DescribeConfigurations
548
603
  #
549
604
  # @option params [required, Array<String>] :configuration_ids
550
605
  # One or more configuration IDs.
@@ -591,6 +646,8 @@ module Aws::ApplicationDiscoveryService
591
646
  # * {Types::DescribeContinuousExportsResponse#descriptions #descriptions} => Array&lt;Types::ContinuousExportDescription&gt;
592
647
  # * {Types::DescribeContinuousExportsResponse#next_token #next_token} => String
593
648
  #
649
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
650
+ #
594
651
  # @example Request syntax with placeholder values
595
652
  #
596
653
  # resp = client.describe_continuous_exports({
@@ -628,7 +685,7 @@ module Aws::ApplicationDiscoveryService
628
685
  # [1]: https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html
629
686
  #
630
687
  # @option params [Array<String>] :export_ids
631
- # A list of continuous export ids to search for.
688
+ # A list of continuous export IDs to search for.
632
689
  #
633
690
  # @option params [Integer] :max_results
634
691
  # A number between 1 and 100 specifying the maximum number of continuous
@@ -758,6 +815,8 @@ module Aws::ApplicationDiscoveryService
758
815
  # * {Types::DescribeImportTasksResponse#next_token #next_token} => String
759
816
  # * {Types::DescribeImportTasksResponse#tasks #tasks} => Array&lt;Types::ImportTask&gt;
760
817
  #
818
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
819
+ #
761
820
  # @example Request syntax with placeholder values
762
821
  #
763
822
  # resp = client.describe_import_tasks({
@@ -952,7 +1011,7 @@ module Aws::ApplicationDiscoveryService
952
1011
  end
953
1012
 
954
1013
  # Retrieves a list of configuration items as specified by the value
955
- # passed to the required paramater `configurationType`. Optional
1014
+ # passed to the required parameter `configurationType`. Optional
956
1015
  # filtering may be applied to refine search results.
957
1016
  #
958
1017
  # @option params [required, String] :configuration_type
@@ -965,11 +1024,12 @@ module Aws::ApplicationDiscoveryService
965
1024
  # `\{"key": "serverType", "value": "webServer"\}`
966
1025
  #
967
1026
  # For a complete list of filter options and guidance about using them
968
- # with this action, see [Querying Discovered Configuration Items][1].
1027
+ # with this action, see [Using the ListConfigurations Action][1] in the
1028
+ # *AWS Application Discovery Service User Guide*.
969
1029
  #
970
1030
  #
971
1031
  #
972
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#ListConfigurations
1032
+ # [1]: https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations
973
1033
  #
974
1034
  # @option params [Integer] :max_results
975
1035
  # The total number of items to return. The maximum value is 100.
@@ -984,11 +1044,12 @@ module Aws::ApplicationDiscoveryService
984
1044
  # @option params [Array<Types::OrderByElement>] :order_by
985
1045
  # Certain filter criteria return output that can be sorted in ascending
986
1046
  # or descending order. For a list of output characteristics for each
987
- # filter, see [Using the ListConfigurations Action][1].
1047
+ # filter, see [Using the ListConfigurations Action][1] in the *AWS
1048
+ # Application Discovery Service User Guide*.
988
1049
  #
989
1050
  #
990
1051
  #
991
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#ListConfigurations
1052
+ # [1]: https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations
992
1053
  #
993
1054
  # @return [Types::ListConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
994
1055
  #
@@ -1218,12 +1279,12 @@ module Aws::ApplicationDiscoveryService
1218
1279
  end
1219
1280
 
1220
1281
  # Starts an import task, which allows you to import details of your
1221
- # on-premises environment directly into AWS without having to use the
1222
- # Application Discovery Service (ADS) tools such as the Discovery
1223
- # Connector or Discovery Agent. This gives you the option to perform
1224
- # migration assessment and planning directly from your imported data,
1225
- # including the ability to group your devices as applications and track
1226
- # their migration status.
1282
+ # on-premises environment directly into AWS Migration Hub without having
1283
+ # to use the Application Discovery Service (ADS) tools such as the
1284
+ # Discovery Connector or Discovery Agent. This gives you the option to
1285
+ # perform migration assessment and planning directly from your imported
1286
+ # data, including the ability to group your devices as applications and
1287
+ # track their migration status.
1227
1288
  #
1228
1289
  # To start an import request, do this:
1229
1290
  #
@@ -1417,7 +1478,7 @@ module Aws::ApplicationDiscoveryService
1417
1478
  params: params,
1418
1479
  config: config)
1419
1480
  context[:gem_name] = 'aws-sdk-applicationdiscoveryservice'
1420
- context[:gem_version] = '1.22.0'
1481
+ context[:gem_version] = '1.27.0'
1421
1482
  Seahorse::Client::Request.new(handlers, context)
1422
1483
  end
1423
1484
 
@@ -100,6 +100,7 @@ module Aws::ApplicationDiscoveryService
100
100
  Filters = Shapes::ListShape.new(name: 'Filters')
101
101
  GetDiscoverySummaryRequest = Shapes::StructureShape.new(name: 'GetDiscoverySummaryRequest')
102
102
  GetDiscoverySummaryResponse = Shapes::StructureShape.new(name: 'GetDiscoverySummaryResponse')
103
+ HomeRegionNotSetException = Shapes::StructureShape.new(name: 'HomeRegionNotSetException')
103
104
  ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
104
105
  ImportTask = Shapes::StructureShape.new(name: 'ImportTask')
105
106
  ImportTaskFilter = Shapes::StructureShape.new(name: 'ImportTaskFilter')
@@ -405,6 +406,9 @@ module Aws::ApplicationDiscoveryService
405
406
  GetDiscoverySummaryResponse.add_member(:connector_summary, Shapes::ShapeRef.new(shape: CustomerConnectorInfo, location_name: "connectorSummary"))
406
407
  GetDiscoverySummaryResponse.struct_class = Types::GetDiscoverySummaryResponse
407
408
 
409
+ HomeRegionNotSetException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
410
+ HomeRegionNotSetException.struct_class = Types::HomeRegionNotSetException
411
+
408
412
  ImportTask.add_member(:import_task_id, Shapes::ShapeRef.new(shape: ImportTaskIdentifier, location_name: "importTaskId"))
409
413
  ImportTask.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
410
414
  ImportTask.add_member(:name, Shapes::ShapeRef.new(shape: ImportTaskName, location_name: "name"))
@@ -581,6 +585,7 @@ module Aws::ApplicationDiscoveryService
581
585
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
582
586
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
583
587
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
588
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
584
589
  end)
585
590
 
586
591
  api.add_operation(:batch_delete_import_data, Seahorse::Model::Operation.new.tap do |o|
@@ -590,8 +595,10 @@ module Aws::ApplicationDiscoveryService
590
595
  o.input = Shapes::ShapeRef.new(shape: BatchDeleteImportDataRequest)
591
596
  o.output = Shapes::ShapeRef.new(shape: BatchDeleteImportDataResponse)
592
597
  o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
598
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
593
599
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
594
600
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
601
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
595
602
  end)
596
603
 
597
604
  api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
@@ -604,6 +611,7 @@ module Aws::ApplicationDiscoveryService
604
611
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
605
612
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
606
613
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
614
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
607
615
  end)
608
616
 
609
617
  api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -617,6 +625,7 @@ module Aws::ApplicationDiscoveryService
617
625
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
618
626
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
619
627
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
628
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
620
629
  end)
621
630
 
622
631
  api.add_operation(:delete_applications, Seahorse::Model::Operation.new.tap do |o|
@@ -629,6 +638,7 @@ module Aws::ApplicationDiscoveryService
629
638
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
630
639
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
631
640
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
641
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
632
642
  end)
633
643
 
634
644
  api.add_operation(:delete_tags, Seahorse::Model::Operation.new.tap do |o|
@@ -642,6 +652,7 @@ module Aws::ApplicationDiscoveryService
642
652
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
643
653
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
644
654
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
655
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
645
656
  end)
646
657
 
647
658
  api.add_operation(:describe_agents, Seahorse::Model::Operation.new.tap do |o|
@@ -654,6 +665,7 @@ module Aws::ApplicationDiscoveryService
654
665
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
655
666
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
656
667
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
668
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
657
669
  end)
658
670
 
659
671
  api.add_operation(:describe_configurations, Seahorse::Model::Operation.new.tap do |o|
@@ -666,6 +678,7 @@ module Aws::ApplicationDiscoveryService
666
678
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
667
679
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
668
680
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
681
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
669
682
  end)
670
683
 
671
684
  api.add_operation(:describe_continuous_exports, Seahorse::Model::Operation.new.tap do |o|
@@ -680,6 +693,7 @@ module Aws::ApplicationDiscoveryService
680
693
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
681
694
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
682
695
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
696
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
683
697
  o[:pager] = Aws::Pager.new(
684
698
  limit_key: "max_results",
685
699
  tokens: {
@@ -700,6 +714,7 @@ module Aws::ApplicationDiscoveryService
700
714
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
701
715
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
702
716
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
717
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
703
718
  end)
704
719
 
705
720
  api.add_operation(:describe_export_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -712,6 +727,7 @@ module Aws::ApplicationDiscoveryService
712
727
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
713
728
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
714
729
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
730
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
715
731
  end)
716
732
 
717
733
  api.add_operation(:describe_import_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -721,8 +737,10 @@ module Aws::ApplicationDiscoveryService
721
737
  o.input = Shapes::ShapeRef.new(shape: DescribeImportTasksRequest)
722
738
  o.output = Shapes::ShapeRef.new(shape: DescribeImportTasksResponse)
723
739
  o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
740
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
724
741
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
725
742
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
743
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
726
744
  o[:pager] = Aws::Pager.new(
727
745
  limit_key: "max_results",
728
746
  tokens: {
@@ -742,6 +760,7 @@ module Aws::ApplicationDiscoveryService
742
760
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
743
761
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
744
762
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
763
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
745
764
  end)
746
765
 
747
766
  api.add_operation(:disassociate_configuration_items_from_application, Seahorse::Model::Operation.new.tap do |o|
@@ -754,6 +773,7 @@ module Aws::ApplicationDiscoveryService
754
773
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
755
774
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
756
775
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
776
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
757
777
  end)
758
778
 
759
779
  api.add_operation(:export_configurations, Seahorse::Model::Operation.new.tap do |o|
@@ -768,6 +788,7 @@ module Aws::ApplicationDiscoveryService
768
788
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
769
789
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
770
790
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
791
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
771
792
  end)
772
793
 
773
794
  api.add_operation(:get_discovery_summary, Seahorse::Model::Operation.new.tap do |o|
@@ -780,6 +801,7 @@ module Aws::ApplicationDiscoveryService
780
801
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
781
802
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
782
803
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
804
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
783
805
  end)
784
806
 
785
807
  api.add_operation(:list_configurations, Seahorse::Model::Operation.new.tap do |o|
@@ -793,6 +815,7 @@ module Aws::ApplicationDiscoveryService
793
815
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
794
816
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
795
817
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
818
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
796
819
  end)
797
820
 
798
821
  api.add_operation(:list_server_neighbors, Seahorse::Model::Operation.new.tap do |o|
@@ -805,6 +828,7 @@ module Aws::ApplicationDiscoveryService
805
828
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
806
829
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
807
830
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
831
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
808
832
  end)
809
833
 
810
834
  api.add_operation(:start_continuous_export, Seahorse::Model::Operation.new.tap do |o|
@@ -820,6 +844,7 @@ module Aws::ApplicationDiscoveryService
820
844
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
821
845
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
822
846
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
847
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
823
848
  end)
824
849
 
825
850
  api.add_operation(:start_data_collection_by_agent_ids, Seahorse::Model::Operation.new.tap do |o|
@@ -832,6 +857,7 @@ module Aws::ApplicationDiscoveryService
832
857
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
833
858
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
834
859
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
860
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
835
861
  end)
836
862
 
837
863
  api.add_operation(:start_export_task, Seahorse::Model::Operation.new.tap do |o|
@@ -845,6 +871,7 @@ module Aws::ApplicationDiscoveryService
845
871
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
846
872
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
847
873
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
874
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
848
875
  end)
849
876
 
850
877
  api.add_operation(:start_import_task, Seahorse::Model::Operation.new.tap do |o|
@@ -855,8 +882,10 @@ module Aws::ApplicationDiscoveryService
855
882
  o.output = Shapes::ShapeRef.new(shape: StartImportTaskResponse)
856
883
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
857
884
  o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
885
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
858
886
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
859
887
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
888
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
860
889
  end)
861
890
 
862
891
  api.add_operation(:stop_continuous_export, Seahorse::Model::Operation.new.tap do |o|
@@ -872,6 +901,7 @@ module Aws::ApplicationDiscoveryService
872
901
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
873
902
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
874
903
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
904
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
875
905
  end)
876
906
 
877
907
  api.add_operation(:stop_data_collection_by_agent_ids, Seahorse::Model::Operation.new.tap do |o|
@@ -884,6 +914,7 @@ module Aws::ApplicationDiscoveryService
884
914
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
885
915
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
886
916
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
917
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
887
918
  end)
888
919
 
889
920
  api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
@@ -896,6 +927,7 @@ module Aws::ApplicationDiscoveryService
896
927
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
897
928
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
898
929
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
930
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
899
931
  end)
900
932
  end
901
933
 
@@ -6,6 +6,37 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ApplicationDiscoveryService
9
+
10
+ # When ApplicationDiscoveryService returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::ApplicationDiscoveryService::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all ApplicationDiscoveryService errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::ApplicationDiscoveryService::Errors::ServiceError
18
+ # # rescues all ApplicationDiscoveryService API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {AuthorizationErrorException}
29
+ # * {ConflictErrorException}
30
+ # * {HomeRegionNotSetException}
31
+ # * {InvalidParameterException}
32
+ # * {InvalidParameterValueException}
33
+ # * {OperationNotPermittedException}
34
+ # * {ResourceInUseException}
35
+ # * {ResourceNotFoundException}
36
+ # * {ServerInternalErrorException}
37
+ #
38
+ # Additionally, error classes are dynamically generated for service errors based on the error code
39
+ # if they are not defined above.
9
40
  module Errors
10
41
 
11
42
  extend Aws::Errors::DynamicErrors
@@ -23,7 +54,6 @@ module Aws::ApplicationDiscoveryService
23
54
  def message
24
55
  @message || @data[:message]
25
56
  end
26
-
27
57
  end
28
58
 
29
59
  class ConflictErrorException < ServiceError
@@ -39,7 +69,21 @@ module Aws::ApplicationDiscoveryService
39
69
  def message
40
70
  @message || @data[:message]
41
71
  end
72
+ end
73
+
74
+ class HomeRegionNotSetException < ServiceError
75
+
76
+ # @param [Seahorse::Client::RequestContext] context
77
+ # @param [String] message
78
+ # @param [Aws::ApplicationDiscoveryService::Types::HomeRegionNotSetException] data
79
+ def initialize(context, message, data = Aws::EmptyStructure.new)
80
+ super(context, message, data)
81
+ end
42
82
 
83
+ # @return [String]
84
+ def message
85
+ @message || @data[:message]
86
+ end
43
87
  end
44
88
 
45
89
  class InvalidParameterException < ServiceError
@@ -55,7 +99,6 @@ module Aws::ApplicationDiscoveryService
55
99
  def message
56
100
  @message || @data[:message]
57
101
  end
58
-
59
102
  end
60
103
 
61
104
  class InvalidParameterValueException < ServiceError
@@ -71,7 +114,6 @@ module Aws::ApplicationDiscoveryService
71
114
  def message
72
115
  @message || @data[:message]
73
116
  end
74
-
75
117
  end
76
118
 
77
119
  class OperationNotPermittedException < ServiceError
@@ -87,7 +129,6 @@ module Aws::ApplicationDiscoveryService
87
129
  def message
88
130
  @message || @data[:message]
89
131
  end
90
-
91
132
  end
92
133
 
93
134
  class ResourceInUseException < ServiceError
@@ -103,7 +144,6 @@ module Aws::ApplicationDiscoveryService
103
144
  def message
104
145
  @message || @data[:message]
105
146
  end
106
-
107
147
  end
108
148
 
109
149
  class ResourceNotFoundException < ServiceError
@@ -119,7 +159,6 @@ module Aws::ApplicationDiscoveryService
119
159
  def message
120
160
  @message || @data[:message]
121
161
  end
122
-
123
162
  end
124
163
 
125
164
  class ServerInternalErrorException < ServiceError
@@ -135,7 +174,6 @@ module Aws::ApplicationDiscoveryService
135
174
  def message
136
175
  @message || @data[:message]
137
176
  end
138
-
139
177
  end
140
178
 
141
179
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ApplicationDiscoveryService
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -710,7 +710,7 @@ module Aws::ApplicationDiscoveryService
710
710
  # }
711
711
  #
712
712
  # @!attribute [rw] export_ids
713
- # A list of continuous export ids to search for.
713
+ # A list of continuous export IDs to search for.
714
714
  # @return [Array<String>]
715
715
  #
716
716
  # @!attribute [rw] max_results
@@ -1052,11 +1052,12 @@ module Aws::ApplicationDiscoveryService
1052
1052
  # A filter that can use conditional operators.
1053
1053
  #
1054
1054
  # For more information about filters, see [Querying Discovered
1055
- # Configuration Items][1].
1055
+ # Configuration Items][1] in the *AWS Application Discovery Service User
1056
+ # Guide*.
1056
1057
  #
1057
1058
  #
1058
1059
  #
1059
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html
1060
+ # [1]: https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html
1060
1061
  #
1061
1062
  # @note When making an API call, you may pass Filter
1062
1063
  # data as a hash:
@@ -1133,6 +1134,16 @@ module Aws::ApplicationDiscoveryService
1133
1134
  include Aws::Structure
1134
1135
  end
1135
1136
 
1137
+ # The home region is not set. Set the home region to continue.
1138
+ #
1139
+ # @!attribute [rw] message
1140
+ # @return [String]
1141
+ #
1142
+ class HomeRegionNotSetException < Struct.new(
1143
+ :message)
1144
+ include Aws::Structure
1145
+ end
1146
+
1136
1147
  # An array of information related to the import task request that
1137
1148
  # includes status information, times, IDs, the Amazon S3 Object URL for
1138
1149
  # the import file, and more.
@@ -1325,11 +1336,12 @@ module Aws::ApplicationDiscoveryService
1325
1336
  # `\{"key": "serverType", "value": "webServer"\}`
1326
1337
  #
1327
1338
  # For a complete list of filter options and guidance about using them
1328
- # with this action, see [Querying Discovered Configuration Items][1].
1339
+ # with this action, see [Using the ListConfigurations Action][1] in
1340
+ # the *AWS Application Discovery Service User Guide*.
1329
1341
  #
1330
1342
  #
1331
1343
  #
1332
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#ListConfigurations
1344
+ # [1]: https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations
1333
1345
  # @return [Array<Types::Filter>]
1334
1346
  #
1335
1347
  # @!attribute [rw] max_results
@@ -1347,11 +1359,12 @@ module Aws::ApplicationDiscoveryService
1347
1359
  # @!attribute [rw] order_by
1348
1360
  # Certain filter criteria return output that can be sorted in
1349
1361
  # ascending or descending order. For a list of output characteristics
1350
- # for each filter, see [Using the ListConfigurations Action][1].
1362
+ # for each filter, see [Using the ListConfigurations Action][1] in the
1363
+ # *AWS Application Discovery Service User Guide*.
1351
1364
  #
1352
1365
  #
1353
1366
  #
1354
- # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/discovery-api-queries.html#ListConfigurations
1367
+ # [1]: https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations
1355
1368
  # @return [Array<Types::OrderByElement>]
1356
1369
  #
1357
1370
  class ListConfigurationsRequest < Struct.new(
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-applicationdiscoveryservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2020-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - AWS Application Discovery Service