aws-sdk-migrationhub 1.19.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-migrationhub.rb +7 -4
- data/lib/aws-sdk-migrationhub/client.rb +124 -14
- data/lib/aws-sdk-migrationhub/client_api.rb +65 -0
- data/lib/aws-sdk-migrationhub/errors.rb +51 -8
- data/lib/aws-sdk-migrationhub/resource.rb +1 -0
- data/lib/aws-sdk-migrationhub/types.rb +95 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0420e927d11e0dd0249f959ed0c523193ace08427770820312d82329e7450a8a
|
4
|
+
data.tar.gz: 5652515ff44d6c66d5af5974beb9745374ab27d504f531e173b918088d8815f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e416815cfd55685420328f1a8426548ec4f625790123f43c9cd2552fa66f4003cb346927a5f374af738cc77bb6238a49a2370fbc59b54f1856ce8f115fb42207
|
7
|
+
data.tar.gz: c261a367e3e88a82ba5668be559a8430b43b6bea00f87ced5c5873eddeba0a7b0b5ce27e8bfa508b25549306f32a1bb960dbc0545bf65660ad7b1597c011f1e7
|
data/lib/aws-sdk-migrationhub.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-migrationhub/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# migration_hub = Aws::MigrationHub::Client.new
|
28
|
+
# resp = migration_hub.associate_created_artifact(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from AWS Migration Hub
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from AWS Migration Hub 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::MigrationHub::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all AWS Migration Hub API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-migrationhub/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::MigrationHub
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.24.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(:migrationhub)
|
31
31
|
|
32
32
|
module Aws::MigrationHub
|
33
|
+
# An API client for MigrationHub. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::MigrationHub::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::MigrationHub
|
|
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
|
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::MigrationHub
|
|
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::MigrationHub
|
|
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::MigrationHub
|
|
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
|
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::MigrationHub
|
|
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.
|
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::MigrationHub
|
|
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.
|
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::MigrationHub
|
|
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
|
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)
|
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::MigrationHub
|
|
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
|
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
|
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::MigrationHub
|
|
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
|
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`.
|
@@ -641,6 +695,54 @@ module Aws::MigrationHub
|
|
641
695
|
req.send_request(options)
|
642
696
|
end
|
643
697
|
|
698
|
+
# Lists all the migration statuses for your applications. If you use the
|
699
|
+
# optional `ApplicationIds` parameter, only the migration statuses for
|
700
|
+
# those applications will be returned.
|
701
|
+
#
|
702
|
+
# @option params [Array<String>] :application_ids
|
703
|
+
# The configurationIds from the Application Discovery Service that
|
704
|
+
# uniquely identifies your applications.
|
705
|
+
#
|
706
|
+
# @option params [String] :next_token
|
707
|
+
# If a `NextToken` was returned by a previous call, there are more
|
708
|
+
# results available. To retrieve the next page of results, make the call
|
709
|
+
# again using the returned token in `NextToken`.
|
710
|
+
#
|
711
|
+
# @option params [Integer] :max_results
|
712
|
+
# Maximum number of results to be returned per page.
|
713
|
+
#
|
714
|
+
# @return [Types::ListApplicationStatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
715
|
+
#
|
716
|
+
# * {Types::ListApplicationStatesResult#application_state_list #application_state_list} => Array<Types::ApplicationState>
|
717
|
+
# * {Types::ListApplicationStatesResult#next_token #next_token} => String
|
718
|
+
#
|
719
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
720
|
+
#
|
721
|
+
# @example Request syntax with placeholder values
|
722
|
+
#
|
723
|
+
# resp = client.list_application_states({
|
724
|
+
# application_ids: ["ApplicationId"],
|
725
|
+
# next_token: "Token",
|
726
|
+
# max_results: 1,
|
727
|
+
# })
|
728
|
+
#
|
729
|
+
# @example Response structure
|
730
|
+
#
|
731
|
+
# resp.application_state_list #=> Array
|
732
|
+
# resp.application_state_list[0].application_id #=> String
|
733
|
+
# resp.application_state_list[0].application_status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "COMPLETED"
|
734
|
+
# resp.application_state_list[0].last_updated_time #=> Time
|
735
|
+
# resp.next_token #=> String
|
736
|
+
#
|
737
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListApplicationStates AWS API Documentation
|
738
|
+
#
|
739
|
+
# @overload list_application_states(params = {})
|
740
|
+
# @param [Hash] params ({})
|
741
|
+
def list_application_states(params = {}, options = {})
|
742
|
+
req = build_request(:list_application_states, params)
|
743
|
+
req.send_request(options)
|
744
|
+
end
|
745
|
+
|
644
746
|
# Lists the created artifacts attached to a given migration task in an
|
645
747
|
# update stream. This API has the following traits:
|
646
748
|
#
|
@@ -672,6 +774,8 @@ module Aws::MigrationHub
|
|
672
774
|
# * {Types::ListCreatedArtifactsResult#next_token #next_token} => String
|
673
775
|
# * {Types::ListCreatedArtifactsResult#created_artifact_list #created_artifact_list} => Array<Types::CreatedArtifact>
|
674
776
|
#
|
777
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
778
|
+
#
|
675
779
|
# @example Request syntax with placeholder values
|
676
780
|
#
|
677
781
|
# resp = client.list_created_artifacts({
|
@@ -719,6 +823,8 @@ module Aws::MigrationHub
|
|
719
823
|
# * {Types::ListDiscoveredResourcesResult#next_token #next_token} => String
|
720
824
|
# * {Types::ListDiscoveredResourcesResult#discovered_resource_list #discovered_resource_list} => Array<Types::DiscoveredResource>
|
721
825
|
#
|
826
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
827
|
+
#
|
722
828
|
# @example Request syntax with placeholder values
|
723
829
|
#
|
724
830
|
# resp = client.list_discovered_resources({
|
@@ -771,6 +877,8 @@ module Aws::MigrationHub
|
|
771
877
|
# * {Types::ListMigrationTasksResult#next_token #next_token} => String
|
772
878
|
# * {Types::ListMigrationTasksResult#migration_task_summary_list #migration_task_summary_list} => Array<Types::MigrationTaskSummary>
|
773
879
|
#
|
880
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
881
|
+
#
|
774
882
|
# @example Request syntax with placeholder values
|
775
883
|
#
|
776
884
|
# resp = client.list_migration_tasks({
|
@@ -815,6 +923,8 @@ module Aws::MigrationHub
|
|
815
923
|
# * {Types::ListProgressUpdateStreamsResult#progress_update_stream_summary_list #progress_update_stream_summary_list} => Array<Types::ProgressUpdateStreamSummary>
|
816
924
|
# * {Types::ListProgressUpdateStreamsResult#next_token #next_token} => String
|
817
925
|
#
|
926
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
927
|
+
#
|
818
928
|
# @example Request syntax with placeholder values
|
819
929
|
#
|
820
930
|
# resp = client.list_progress_update_streams({
|
@@ -1041,7 +1151,7 @@ module Aws::MigrationHub
|
|
1041
1151
|
params: params,
|
1042
1152
|
config: config)
|
1043
1153
|
context[:gem_name] = 'aws-sdk-migrationhub'
|
1044
|
-
context[:gem_version] = '1.
|
1154
|
+
context[:gem_version] = '1.24.0'
|
1045
1155
|
Seahorse::Client::Request.new(handlers, context)
|
1046
1156
|
end
|
1047
1157
|
|
@@ -13,6 +13,9 @@ module Aws::MigrationHub
|
|
13
13
|
|
14
14
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
15
15
|
ApplicationId = Shapes::StringShape.new(name: 'ApplicationId')
|
16
|
+
ApplicationIds = Shapes::ListShape.new(name: 'ApplicationIds')
|
17
|
+
ApplicationState = Shapes::StructureShape.new(name: 'ApplicationState')
|
18
|
+
ApplicationStateList = Shapes::ListShape.new(name: 'ApplicationStateList')
|
16
19
|
ApplicationStatus = Shapes::StringShape.new(name: 'ApplicationStatus')
|
17
20
|
AssociateCreatedArtifactRequest = Shapes::StructureShape.new(name: 'AssociateCreatedArtifactRequest')
|
18
21
|
AssociateCreatedArtifactResult = Shapes::StructureShape.new(name: 'AssociateCreatedArtifactResult')
|
@@ -47,6 +50,8 @@ module Aws::MigrationHub
|
|
47
50
|
InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
|
48
51
|
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
|
49
52
|
LatestResourceAttributeList = Shapes::ListShape.new(name: 'LatestResourceAttributeList')
|
53
|
+
ListApplicationStatesRequest = Shapes::StructureShape.new(name: 'ListApplicationStatesRequest')
|
54
|
+
ListApplicationStatesResult = Shapes::StructureShape.new(name: 'ListApplicationStatesResult')
|
50
55
|
ListCreatedArtifactsRequest = Shapes::StructureShape.new(name: 'ListCreatedArtifactsRequest')
|
51
56
|
ListCreatedArtifactsResult = Shapes::StructureShape.new(name: 'ListCreatedArtifactsResult')
|
52
57
|
ListDiscoveredResourcesRequest = Shapes::StructureShape.new(name: 'ListDiscoveredResourcesRequest')
|
@@ -80,10 +85,12 @@ module Aws::MigrationHub
|
|
80
85
|
ResourceAttributeValue = Shapes::StringShape.new(name: 'ResourceAttributeValue')
|
81
86
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
82
87
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
88
|
+
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
83
89
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
84
90
|
Status = Shapes::StringShape.new(name: 'Status')
|
85
91
|
StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
|
86
92
|
Task = Shapes::StructureShape.new(name: 'Task')
|
93
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
87
94
|
Token = Shapes::StringShape.new(name: 'Token')
|
88
95
|
UnauthorizedOperation = Shapes::StructureShape.new(name: 'UnauthorizedOperation')
|
89
96
|
UpdateDateTime = Shapes::TimestampShape.new(name: 'UpdateDateTime')
|
@@ -91,6 +98,15 @@ module Aws::MigrationHub
|
|
91
98
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
92
99
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
93
100
|
|
101
|
+
ApplicationIds.member = Shapes::ShapeRef.new(shape: ApplicationId)
|
102
|
+
|
103
|
+
ApplicationState.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "ApplicationId"))
|
104
|
+
ApplicationState.add_member(:application_status, Shapes::ShapeRef.new(shape: ApplicationStatus, location_name: "ApplicationStatus"))
|
105
|
+
ApplicationState.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: UpdateDateTime, location_name: "LastUpdatedTime"))
|
106
|
+
ApplicationState.struct_class = Types::ApplicationState
|
107
|
+
|
108
|
+
ApplicationStateList.member = Shapes::ShapeRef.new(shape: ApplicationState)
|
109
|
+
|
94
110
|
AssociateCreatedArtifactRequest.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStream"))
|
95
111
|
AssociateCreatedArtifactRequest.add_member(:migration_task_name, Shapes::ShapeRef.new(shape: MigrationTaskName, required: true, location_name: "MigrationTaskName"))
|
96
112
|
AssociateCreatedArtifactRequest.add_member(:created_artifact, Shapes::ShapeRef.new(shape: CreatedArtifact, required: true, location_name: "CreatedArtifact"))
|
@@ -182,6 +198,15 @@ module Aws::MigrationHub
|
|
182
198
|
|
183
199
|
LatestResourceAttributeList.member = Shapes::ShapeRef.new(shape: ResourceAttribute)
|
184
200
|
|
201
|
+
ListApplicationStatesRequest.add_member(:application_ids, Shapes::ShapeRef.new(shape: ApplicationIds, location_name: "ApplicationIds"))
|
202
|
+
ListApplicationStatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
203
|
+
ListApplicationStatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
204
|
+
ListApplicationStatesRequest.struct_class = Types::ListApplicationStatesRequest
|
205
|
+
|
206
|
+
ListApplicationStatesResult.add_member(:application_state_list, Shapes::ShapeRef.new(shape: ApplicationStateList, location_name: "ApplicationStateList"))
|
207
|
+
ListApplicationStatesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
208
|
+
ListApplicationStatesResult.struct_class = Types::ListApplicationStatesResult
|
209
|
+
|
185
210
|
ListCreatedArtifactsRequest.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStream"))
|
186
211
|
ListCreatedArtifactsRequest.add_member(:migration_task_name, Shapes::ShapeRef.new(shape: MigrationTaskName, required: true, location_name: "MigrationTaskName"))
|
187
212
|
ListCreatedArtifactsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
@@ -287,6 +312,10 @@ module Aws::MigrationHub
|
|
287
312
|
Task.add_member(:progress_percent, Shapes::ShapeRef.new(shape: ProgressPercent, location_name: "ProgressPercent"))
|
288
313
|
Task.struct_class = Types::Task
|
289
314
|
|
315
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
|
316
|
+
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location_name: "RetryAfterSeconds"))
|
317
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
318
|
+
|
290
319
|
UnauthorizedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
291
320
|
UnauthorizedOperation.struct_class = Types::UnauthorizedOperation
|
292
321
|
|
@@ -315,6 +344,7 @@ module Aws::MigrationHub
|
|
315
344
|
o.input = Shapes::ShapeRef.new(shape: AssociateCreatedArtifactRequest)
|
316
345
|
o.output = Shapes::ShapeRef.new(shape: AssociateCreatedArtifactResult)
|
317
346
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
347
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
318
348
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
319
349
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
320
350
|
o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
|
@@ -331,6 +361,7 @@ module Aws::MigrationHub
|
|
331
361
|
o.input = Shapes::ShapeRef.new(shape: AssociateDiscoveredResourceRequest)
|
332
362
|
o.output = Shapes::ShapeRef.new(shape: AssociateDiscoveredResourceResult)
|
333
363
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
334
365
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
335
366
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
336
367
|
o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
|
@@ -348,6 +379,7 @@ module Aws::MigrationHub
|
|
348
379
|
o.input = Shapes::ShapeRef.new(shape: CreateProgressUpdateStreamRequest)
|
349
380
|
o.output = Shapes::ShapeRef.new(shape: CreateProgressUpdateStreamResult)
|
350
381
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
382
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
351
383
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
352
384
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
353
385
|
o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
|
@@ -363,6 +395,7 @@ module Aws::MigrationHub
|
|
363
395
|
o.input = Shapes::ShapeRef.new(shape: DeleteProgressUpdateStreamRequest)
|
364
396
|
o.output = Shapes::ShapeRef.new(shape: DeleteProgressUpdateStreamResult)
|
365
397
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
366
399
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
367
400
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
368
401
|
o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
|
@@ -379,6 +412,7 @@ module Aws::MigrationHub
|
|
379
412
|
o.input = Shapes::ShapeRef.new(shape: DescribeApplicationStateRequest)
|
380
413
|
o.output = Shapes::ShapeRef.new(shape: DescribeApplicationStateResult)
|
381
414
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
382
416
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
383
417
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
384
418
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
@@ -394,6 +428,7 @@ module Aws::MigrationHub
|
|
394
428
|
o.input = Shapes::ShapeRef.new(shape: DescribeMigrationTaskRequest)
|
395
429
|
o.output = Shapes::ShapeRef.new(shape: DescribeMigrationTaskResult)
|
396
430
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
397
432
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
398
433
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
399
434
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
@@ -408,6 +443,7 @@ module Aws::MigrationHub
|
|
408
443
|
o.input = Shapes::ShapeRef.new(shape: DisassociateCreatedArtifactRequest)
|
409
444
|
o.output = Shapes::ShapeRef.new(shape: DisassociateCreatedArtifactResult)
|
410
445
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
411
447
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
412
448
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
413
449
|
o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
|
@@ -424,6 +460,7 @@ module Aws::MigrationHub
|
|
424
460
|
o.input = Shapes::ShapeRef.new(shape: DisassociateDiscoveredResourceRequest)
|
425
461
|
o.output = Shapes::ShapeRef.new(shape: DisassociateDiscoveredResourceResult)
|
426
462
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
427
464
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
428
465
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
429
466
|
o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
|
@@ -440,6 +477,7 @@ module Aws::MigrationHub
|
|
440
477
|
o.input = Shapes::ShapeRef.new(shape: ImportMigrationTaskRequest)
|
441
478
|
o.output = Shapes::ShapeRef.new(shape: ImportMigrationTaskResult)
|
442
479
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
443
481
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
444
482
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
445
483
|
o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
|
@@ -449,6 +487,26 @@ module Aws::MigrationHub
|
|
449
487
|
o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
|
450
488
|
end)
|
451
489
|
|
490
|
+
api.add_operation(:list_application_states, Seahorse::Model::Operation.new.tap do |o|
|
491
|
+
o.name = "ListApplicationStates"
|
492
|
+
o.http_method = "POST"
|
493
|
+
o.http_request_uri = "/"
|
494
|
+
o.input = Shapes::ShapeRef.new(shape: ListApplicationStatesRequest)
|
495
|
+
o.output = Shapes::ShapeRef.new(shape: ListApplicationStatesResult)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
|
502
|
+
o[:pager] = Aws::Pager.new(
|
503
|
+
limit_key: "max_results",
|
504
|
+
tokens: {
|
505
|
+
"next_token" => "next_token"
|
506
|
+
}
|
507
|
+
)
|
508
|
+
end)
|
509
|
+
|
452
510
|
api.add_operation(:list_created_artifacts, Seahorse::Model::Operation.new.tap do |o|
|
453
511
|
o.name = "ListCreatedArtifacts"
|
454
512
|
o.http_method = "POST"
|
@@ -456,6 +514,7 @@ module Aws::MigrationHub
|
|
456
514
|
o.input = Shapes::ShapeRef.new(shape: ListCreatedArtifactsRequest)
|
457
515
|
o.output = Shapes::ShapeRef.new(shape: ListCreatedArtifactsResult)
|
458
516
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
459
518
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
460
519
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
461
520
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
@@ -476,6 +535,7 @@ module Aws::MigrationHub
|
|
476
535
|
o.input = Shapes::ShapeRef.new(shape: ListDiscoveredResourcesRequest)
|
477
536
|
o.output = Shapes::ShapeRef.new(shape: ListDiscoveredResourcesResult)
|
478
537
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
479
539
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
480
540
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
481
541
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
@@ -496,6 +556,7 @@ module Aws::MigrationHub
|
|
496
556
|
o.input = Shapes::ShapeRef.new(shape: ListMigrationTasksRequest)
|
497
557
|
o.output = Shapes::ShapeRef.new(shape: ListMigrationTasksResult)
|
498
558
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
499
560
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
500
561
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
501
562
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
@@ -517,6 +578,7 @@ module Aws::MigrationHub
|
|
517
578
|
o.input = Shapes::ShapeRef.new(shape: ListProgressUpdateStreamsRequest)
|
518
579
|
o.output = Shapes::ShapeRef.new(shape: ListProgressUpdateStreamsResult)
|
519
580
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
581
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
520
582
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
521
583
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
522
584
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
@@ -536,6 +598,7 @@ module Aws::MigrationHub
|
|
536
598
|
o.input = Shapes::ShapeRef.new(shape: NotifyApplicationStateRequest)
|
537
599
|
o.output = Shapes::ShapeRef.new(shape: NotifyApplicationStateResult)
|
538
600
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
539
602
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
540
603
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
541
604
|
o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
|
@@ -553,6 +616,7 @@ module Aws::MigrationHub
|
|
553
616
|
o.input = Shapes::ShapeRef.new(shape: NotifyMigrationTaskStateRequest)
|
554
617
|
o.output = Shapes::ShapeRef.new(shape: NotifyMigrationTaskStateResult)
|
555
618
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
556
620
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
557
621
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
558
622
|
o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
|
@@ -569,6 +633,7 @@ module Aws::MigrationHub
|
|
569
633
|
o.input = Shapes::ShapeRef.new(shape: PutResourceAttributesRequest)
|
570
634
|
o.output = Shapes::ShapeRef.new(shape: PutResourceAttributesResult)
|
571
635
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
636
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
572
637
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
573
638
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
574
639
|
o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
|
@@ -6,6 +6,38 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::MigrationHub
|
9
|
+
|
10
|
+
# When MigrationHub returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::MigrationHub::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all MigrationHub errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::MigrationHub::Errors::ServiceError
|
18
|
+
# # rescues all MigrationHub 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
|
+
# * {AccessDeniedException}
|
29
|
+
# * {DryRunOperation}
|
30
|
+
# * {HomeRegionNotSetException}
|
31
|
+
# * {InternalServerError}
|
32
|
+
# * {InvalidInputException}
|
33
|
+
# * {PolicyErrorException}
|
34
|
+
# * {ResourceNotFoundException}
|
35
|
+
# * {ServiceUnavailableException}
|
36
|
+
# * {ThrottlingException}
|
37
|
+
# * {UnauthorizedOperation}
|
38
|
+
#
|
39
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
40
|
+
# if they are not defined above.
|
9
41
|
module Errors
|
10
42
|
|
11
43
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +55,6 @@ module Aws::MigrationHub
|
|
23
55
|
def message
|
24
56
|
@message || @data[:message]
|
25
57
|
end
|
26
|
-
|
27
58
|
end
|
28
59
|
|
29
60
|
class DryRunOperation < ServiceError
|
@@ -39,7 +70,6 @@ module Aws::MigrationHub
|
|
39
70
|
def message
|
40
71
|
@message || @data[:message]
|
41
72
|
end
|
42
|
-
|
43
73
|
end
|
44
74
|
|
45
75
|
class HomeRegionNotSetException < ServiceError
|
@@ -55,7 +85,6 @@ module Aws::MigrationHub
|
|
55
85
|
def message
|
56
86
|
@message || @data[:message]
|
57
87
|
end
|
58
|
-
|
59
88
|
end
|
60
89
|
|
61
90
|
class InternalServerError < ServiceError
|
@@ -71,7 +100,6 @@ module Aws::MigrationHub
|
|
71
100
|
def message
|
72
101
|
@message || @data[:message]
|
73
102
|
end
|
74
|
-
|
75
103
|
end
|
76
104
|
|
77
105
|
class InvalidInputException < ServiceError
|
@@ -87,7 +115,6 @@ module Aws::MigrationHub
|
|
87
115
|
def message
|
88
116
|
@message || @data[:message]
|
89
117
|
end
|
90
|
-
|
91
118
|
end
|
92
119
|
|
93
120
|
class PolicyErrorException < ServiceError
|
@@ -103,7 +130,6 @@ module Aws::MigrationHub
|
|
103
130
|
def message
|
104
131
|
@message || @data[:message]
|
105
132
|
end
|
106
|
-
|
107
133
|
end
|
108
134
|
|
109
135
|
class ResourceNotFoundException < ServiceError
|
@@ -119,7 +145,6 @@ module Aws::MigrationHub
|
|
119
145
|
def message
|
120
146
|
@message || @data[:message]
|
121
147
|
end
|
122
|
-
|
123
148
|
end
|
124
149
|
|
125
150
|
class ServiceUnavailableException < ServiceError
|
@@ -135,7 +160,26 @@ module Aws::MigrationHub
|
|
135
160
|
def message
|
136
161
|
@message || @data[:message]
|
137
162
|
end
|
163
|
+
end
|
164
|
+
|
165
|
+
class ThrottlingException < ServiceError
|
166
|
+
|
167
|
+
# @param [Seahorse::Client::RequestContext] context
|
168
|
+
# @param [String] message
|
169
|
+
# @param [Aws::MigrationHub::Types::ThrottlingException] data
|
170
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
171
|
+
super(context, message, data)
|
172
|
+
end
|
173
|
+
|
174
|
+
# @return [String]
|
175
|
+
def message
|
176
|
+
@message || @data[:message]
|
177
|
+
end
|
138
178
|
|
179
|
+
# @return [String]
|
180
|
+
def retry_after_seconds
|
181
|
+
@data[:retry_after_seconds]
|
182
|
+
end
|
139
183
|
end
|
140
184
|
|
141
185
|
class UnauthorizedOperation < ServiceError
|
@@ -151,7 +195,6 @@ module Aws::MigrationHub
|
|
151
195
|
def message
|
152
196
|
@message || @data[:message]
|
153
197
|
end
|
154
|
-
|
155
198
|
end
|
156
199
|
|
157
200
|
end
|
@@ -20,6 +20,32 @@ module Aws::MigrationHub
|
|
20
20
|
include Aws::Structure
|
21
21
|
end
|
22
22
|
|
23
|
+
# The state of an application discovered through Migration Hub import,
|
24
|
+
# the AWS Agentless Discovery Connector, or the AWS Application
|
25
|
+
# Discovery Agent.
|
26
|
+
#
|
27
|
+
# @!attribute [rw] application_id
|
28
|
+
# The configurationId from the Application Discovery Service that
|
29
|
+
# uniquely identifies an application.
|
30
|
+
# @return [String]
|
31
|
+
#
|
32
|
+
# @!attribute [rw] application_status
|
33
|
+
# The current status of an application.
|
34
|
+
# @return [String]
|
35
|
+
#
|
36
|
+
# @!attribute [rw] last_updated_time
|
37
|
+
# The timestamp when the application status was last updated.
|
38
|
+
# @return [Time]
|
39
|
+
#
|
40
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ApplicationState AWS API Documentation
|
41
|
+
#
|
42
|
+
class ApplicationState < Struct.new(
|
43
|
+
:application_id,
|
44
|
+
:application_status,
|
45
|
+
:last_updated_time)
|
46
|
+
include Aws::Structure
|
47
|
+
end
|
48
|
+
|
23
49
|
# @note When making an API call, you may pass AssociateCreatedArtifactRequest
|
24
50
|
# data as a hash:
|
25
51
|
#
|
@@ -472,6 +498,57 @@ module Aws::MigrationHub
|
|
472
498
|
include Aws::Structure
|
473
499
|
end
|
474
500
|
|
501
|
+
# @note When making an API call, you may pass ListApplicationStatesRequest
|
502
|
+
# data as a hash:
|
503
|
+
#
|
504
|
+
# {
|
505
|
+
# application_ids: ["ApplicationId"],
|
506
|
+
# next_token: "Token",
|
507
|
+
# max_results: 1,
|
508
|
+
# }
|
509
|
+
#
|
510
|
+
# @!attribute [rw] application_ids
|
511
|
+
# The configurationIds from the Application Discovery Service that
|
512
|
+
# uniquely identifies your applications.
|
513
|
+
# @return [Array<String>]
|
514
|
+
#
|
515
|
+
# @!attribute [rw] next_token
|
516
|
+
# If a `NextToken` was returned by a previous call, there are more
|
517
|
+
# results available. To retrieve the next page of results, make the
|
518
|
+
# call again using the returned token in `NextToken`.
|
519
|
+
# @return [String]
|
520
|
+
#
|
521
|
+
# @!attribute [rw] max_results
|
522
|
+
# Maximum number of results to be returned per page.
|
523
|
+
# @return [Integer]
|
524
|
+
#
|
525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListApplicationStatesRequest AWS API Documentation
|
526
|
+
#
|
527
|
+
class ListApplicationStatesRequest < Struct.new(
|
528
|
+
:application_ids,
|
529
|
+
:next_token,
|
530
|
+
:max_results)
|
531
|
+
include Aws::Structure
|
532
|
+
end
|
533
|
+
|
534
|
+
# @!attribute [rw] application_state_list
|
535
|
+
# A list of Applications that exist in Application Discovery Service.
|
536
|
+
# @return [Array<Types::ApplicationState>]
|
537
|
+
#
|
538
|
+
# @!attribute [rw] next_token
|
539
|
+
# If a `NextToken` was returned by a previous call, there are more
|
540
|
+
# results available. To retrieve the next page of results, make the
|
541
|
+
# call again using the returned token in `NextToken`.
|
542
|
+
# @return [String]
|
543
|
+
#
|
544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListApplicationStatesResult AWS API Documentation
|
545
|
+
#
|
546
|
+
class ListApplicationStatesResult < Struct.new(
|
547
|
+
:application_state_list,
|
548
|
+
:next_token)
|
549
|
+
include Aws::Structure
|
550
|
+
end
|
551
|
+
|
475
552
|
# @note When making an API call, you may pass ListCreatedArtifactsRequest
|
476
553
|
# data as a hash:
|
477
554
|
#
|
@@ -1080,6 +1157,24 @@ module Aws::MigrationHub
|
|
1080
1157
|
include Aws::Structure
|
1081
1158
|
end
|
1082
1159
|
|
1160
|
+
# The request was denied due to request throttling.
|
1161
|
+
#
|
1162
|
+
# @!attribute [rw] message
|
1163
|
+
# A message that provides information about the exception.
|
1164
|
+
# @return [String]
|
1165
|
+
#
|
1166
|
+
# @!attribute [rw] retry_after_seconds
|
1167
|
+
# The number of seconds the caller should wait before retrying.
|
1168
|
+
# @return [Integer]
|
1169
|
+
#
|
1170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ThrottlingException AWS API Documentation
|
1171
|
+
#
|
1172
|
+
class ThrottlingException < Struct.new(
|
1173
|
+
:message,
|
1174
|
+
:retry_after_seconds)
|
1175
|
+
include Aws::Structure
|
1176
|
+
end
|
1177
|
+
|
1083
1178
|
# Exception raised to indicate a request was not authorized when the
|
1084
1179
|
# `DryRun` flag is set to "true".
|
1085
1180
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-migrationhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.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:
|
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.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - AWS Migration Hub
|