aws-sdk-migrationhubstrategyrecommendations 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1380 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'seahorse/client/plugins/content_length.rb'
11
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
+ require 'aws-sdk-core/plugins/logging.rb'
13
+ require 'aws-sdk-core/plugins/param_converter.rb'
14
+ require 'aws-sdk-core/plugins/param_validator.rb'
15
+ require 'aws-sdk-core/plugins/user_agent.rb'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
+ require 'aws-sdk-core/plugins/retry_errors.rb'
18
+ require 'aws-sdk-core/plugins/global_configuration.rb'
19
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
+ require 'aws-sdk-core/plugins/response_paging.rb'
23
+ require 'aws-sdk-core/plugins/stub_responses.rb'
24
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/signature_v4.rb'
31
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
+
33
+ Aws::Plugins::GlobalConfiguration.add_identifier(:migrationhubstrategyrecommendations)
34
+
35
+ module Aws::MigrationHubStrategyRecommendations
36
+ # An API client for MigrationHubStrategyRecommendations. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::MigrationHubStrategyRecommendations::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
43
+ #
44
+ # For details on configuring region and credentials see
45
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
46
+ #
47
+ # See {#initialize} for a full list of supported configuration options.
48
+ class Client < Seahorse::Client::Base
49
+
50
+ include Aws::ClientStubs
51
+
52
+ @identifier = :migrationhubstrategyrecommendations
53
+
54
+ set_api(ClientApi::API)
55
+
56
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
57
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
58
+ add_plugin(Aws::Plugins::Logging)
59
+ add_plugin(Aws::Plugins::ParamConverter)
60
+ add_plugin(Aws::Plugins::ParamValidator)
61
+ add_plugin(Aws::Plugins::UserAgent)
62
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
63
+ add_plugin(Aws::Plugins::RetryErrors)
64
+ add_plugin(Aws::Plugins::GlobalConfiguration)
65
+ add_plugin(Aws::Plugins::RegionalEndpoint)
66
+ add_plugin(Aws::Plugins::EndpointDiscovery)
67
+ add_plugin(Aws::Plugins::EndpointPattern)
68
+ add_plugin(Aws::Plugins::ResponsePaging)
69
+ add_plugin(Aws::Plugins::StubResponses)
70
+ add_plugin(Aws::Plugins::IdempotencyToken)
71
+ add_plugin(Aws::Plugins::JsonvalueConverter)
72
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
73
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
+ add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
76
+ add_plugin(Aws::Plugins::SignatureV4)
77
+ add_plugin(Aws::Plugins::Protocols::RestJson)
78
+
79
+ # @overload initialize(options)
80
+ # @param [Hash] options
81
+ # @option options [required, Aws::CredentialProvider] :credentials
82
+ # Your AWS credentials. This can be an instance of any one of the
83
+ # following classes:
84
+ #
85
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
+ # credentials.
87
+ #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
102
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
103
+ # from an EC2 IMDS on an EC2 instance.
104
+ #
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
107
+ #
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
110
+ #
111
+ # When `:credentials` are not configured directly, the following
112
+ # locations will be searched for credentials:
113
+ #
114
+ # * `Aws.config[:credentials]`
115
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
116
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
117
+ # * `~/.aws/credentials`
118
+ # * `~/.aws/config`
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
123
+ #
124
+ # @option options [required, String] :region
125
+ # The AWS region to connect to. The configured `:region` is
126
+ # used to determine the service `:endpoint`. When not passed,
127
+ # a default `:region` is searched for in the following locations:
128
+ #
129
+ # * `Aws.config[:region]`
130
+ # * `ENV['AWS_REGION']`
131
+ # * `ENV['AMAZON_REGION']`
132
+ # * `ENV['AWS_DEFAULT_REGION']`
133
+ # * `~/.aws/credentials`
134
+ # * `~/.aws/config`
135
+ #
136
+ # @option options [String] :access_key_id
137
+ #
138
+ # @option options [Boolean] :active_endpoint_cache (false)
139
+ # When set to `true`, a thread polling for endpoints will be running in
140
+ # the background every 60 secs (default). Defaults to `false`.
141
+ #
142
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
143
+ # Used only in `adaptive` retry mode. When true, the request will sleep
144
+ # until there is sufficent client side capacity to retry the request.
145
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
146
+ # not retry instead of sleeping.
147
+ #
148
+ # @option options [Boolean] :client_side_monitoring (false)
149
+ # When `true`, client-side metrics will be collected for all API requests from
150
+ # this client.
151
+ #
152
+ # @option options [String] :client_side_monitoring_client_id ("")
153
+ # Allows you to provide an identifier for this client which will be attached to
154
+ # all generated client side metrics. Defaults to an empty string.
155
+ #
156
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
157
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
158
+ # side monitoring agent is running on, where client metrics will be published via UDP.
159
+ #
160
+ # @option options [Integer] :client_side_monitoring_port (31000)
161
+ # Required for publishing client metrics. The port that the client side monitoring
162
+ # agent is running on, where client metrics will be published via UDP.
163
+ #
164
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
165
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
166
+ # will use the Client Side Monitoring Agent Publisher.
167
+ #
168
+ # @option options [Boolean] :convert_params (true)
169
+ # When `true`, an attempt is made to coerce request parameters into
170
+ # the required types.
171
+ #
172
+ # @option options [Boolean] :correct_clock_skew (true)
173
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
+ # a clock skew correction and retry requests with skewed client clocks.
175
+ #
176
+ # @option options [Boolean] :disable_host_prefix_injection (false)
177
+ # Set to true to disable SDK automatically adding host prefix
178
+ # to default service endpoint when available.
179
+ #
180
+ # @option options [String] :endpoint
181
+ # The client endpoint is normally constructed from the `:region`
182
+ # option. You should only configure an `:endpoint` when connecting
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
184
+ #
185
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
186
+ # Used for the maximum size limit of the LRU cache storing endpoints data
187
+ # for endpoint discovery enabled operations. Defaults to 1000.
188
+ #
189
+ # @option options [Integer] :endpoint_cache_max_threads (10)
190
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
191
+ #
192
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
193
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
194
+ # Use this option to config the time interval in seconds for making
195
+ # requests fetching endpoints information. Defaults to 60 sec.
196
+ #
197
+ # @option options [Boolean] :endpoint_discovery (false)
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
199
+ #
200
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
201
+ # The log formatter.
202
+ #
203
+ # @option options [Symbol] :log_level (:info)
204
+ # The log level to send messages to the `:logger` at.
205
+ #
206
+ # @option options [Logger] :logger
207
+ # The Logger instance to send log messages to. If this option
208
+ # is not set, logging will be disabled.
209
+ #
210
+ # @option options [Integer] :max_attempts (3)
211
+ # An integer representing the maximum number attempts that will be made for
212
+ # a single request, including the initial attempt. For example,
213
+ # setting this value to 5 will result in a request being retried up to
214
+ # 4 times. Used in `standard` and `adaptive` retry modes.
215
+ #
216
+ # @option options [String] :profile ("default")
217
+ # Used when loading credentials from the shared credentials file
218
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
219
+ #
220
+ # @option options [Proc] :retry_backoff
221
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
222
+ # This option is only used in the `legacy` retry mode.
223
+ #
224
+ # @option options [Float] :retry_base_delay (0.3)
225
+ # The base delay in seconds used by the default backoff function. This option
226
+ # is only used in the `legacy` retry mode.
227
+ #
228
+ # @option options [Symbol] :retry_jitter (:none)
229
+ # A delay randomiser function used by the default backoff function.
230
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
231
+ # otherwise a Proc that takes and returns a number. This option is only used
232
+ # in the `legacy` retry mode.
233
+ #
234
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
235
+ #
236
+ # @option options [Integer] :retry_limit (3)
237
+ # The maximum number of times to retry failed requests. Only
238
+ # ~ 500 level server errors and certain ~ 400 level client errors
239
+ # are retried. Generally, these are throttling errors, data
240
+ # checksum errors, networking errors, timeout errors, auth errors,
241
+ # endpoint discovery, and errors from expired credentials.
242
+ # This option is only used in the `legacy` retry mode.
243
+ #
244
+ # @option options [Integer] :retry_max_delay (0)
245
+ # The maximum number of seconds to delay between retries (0 for no limit)
246
+ # used by the default backoff function. This option is only used in the
247
+ # `legacy` retry mode.
248
+ #
249
+ # @option options [String] :retry_mode ("legacy")
250
+ # Specifies which retry algorithm to use. Values are:
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
264
+ #
265
+ # @option options [String] :secret_access_key
266
+ #
267
+ # @option options [String] :session_token
268
+ #
269
+ # @option options [Boolean] :stub_responses (false)
270
+ # Causes the client to return stubbed responses. By default
271
+ # fake responses are generated and returned. You can specify
272
+ # the response data to return or errors to raise by calling
273
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
274
+ #
275
+ # ** Please note ** When response stubbing is enabled, no HTTP
276
+ # requests are made, and retries are disabled.
277
+ #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
287
+ # @option options [Boolean] :validate_params (true)
288
+ # When `true`, request parameters are validated before
289
+ # sending the request.
290
+ #
291
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
292
+ # requests through. Formatted like 'http://proxy.com:123'.
293
+ #
294
+ # @option options [Float] :http_open_timeout (15) The number of
295
+ # seconds to wait when opening a HTTP session before raising a
296
+ # `Timeout::Error`.
297
+ #
298
+ # @option options [Integer] :http_read_timeout (60) The default
299
+ # number of seconds to wait for response data. This value can
300
+ # safely be set per-request on the session.
301
+ #
302
+ # @option options [Float] :http_idle_timeout (5) The number of
303
+ # seconds a connection is allowed to sit idle before it is
304
+ # considered stale. Stale connections are closed and removed
305
+ # from the pool before making a request.
306
+ #
307
+ # @option options [Float] :http_continue_timeout (1) The number of
308
+ # seconds to wait for a 100-continue response before sending the
309
+ # request body. This option has no effect unless the request has
310
+ # "Expect" header set to "100-continue". Defaults to `nil` which
311
+ # disables this behaviour. This value can safely be set per
312
+ # request on the session.
313
+ #
314
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
315
+ # HTTP debug output will be sent to the `:logger`.
316
+ #
317
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
318
+ # SSL peer certificates are verified when establishing a
319
+ # connection.
320
+ #
321
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
322
+ # certificate authority bundle file that should be used when
323
+ # verifying peer certificates. If you do not pass
324
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
325
+ # will be used if available.
326
+ #
327
+ # @option options [String] :ssl_ca_directory Full path of the
328
+ # directory that contains the unbundled SSL certificate
329
+ # authority files for verifying peer certificates. If you do
330
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
331
+ # system default will be used if available.
332
+ #
333
+ def initialize(*args)
334
+ super
335
+ end
336
+
337
+ # @!group API Operations
338
+
339
+ # Retrieves details about an application component.
340
+ #
341
+ # @option params [required, String] :application_component_id
342
+ # The ID of the application component. The ID is unique within an AWS
343
+ # account.
344
+ #
345
+ # @return [Types::GetApplicationComponentDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
346
+ #
347
+ # * {Types::GetApplicationComponentDetailsResponse#application_component_detail #application_component_detail} => Types::ApplicationComponentDetail
348
+ # * {Types::GetApplicationComponentDetailsResponse#associated_applications #associated_applications} => Array&lt;Types::AssociatedApplication&gt;
349
+ # * {Types::GetApplicationComponentDetailsResponse#associated_server_ids #associated_server_ids} => Array&lt;String&gt;
350
+ # * {Types::GetApplicationComponentDetailsResponse#more_application_resource #more_application_resource} => Boolean
351
+ #
352
+ # @example Request syntax with placeholder values
353
+ #
354
+ # resp = client.get_application_component_details({
355
+ # application_component_id: "ApplicationComponentId", # required
356
+ # })
357
+ #
358
+ # @example Response structure
359
+ #
360
+ # resp.application_component_detail.analysis_status #=> String, one of "ANALYSIS_TO_BE_SCHEDULED", "ANALYSIS_STARTED", "ANALYSIS_SUCCESS", "ANALYSIS_FAILED"
361
+ # resp.application_component_detail.antipattern_report_s3_object.s3_bucket #=> String
362
+ # resp.application_component_detail.antipattern_report_s3_object.s3key #=> String
363
+ # resp.application_component_detail.antipattern_report_status #=> String, one of "FAILED", "IN_PROGRESS", "SUCCESS"
364
+ # resp.application_component_detail.antipattern_report_status_message #=> String
365
+ # resp.application_component_detail.app_type #=> String, one of "DotNetFramework", "Java", "SQLServer", "IIS", "Oracle", "Other"
366
+ # resp.application_component_detail.associated_server_id #=> String
367
+ # resp.application_component_detail.database_config_detail.secret_name #=> String
368
+ # resp.application_component_detail.id #=> String
369
+ # resp.application_component_detail.inclusion_status #=> String, one of "excludeFromAssessment", "includeInAssessment"
370
+ # resp.application_component_detail.last_analyzed_timestamp #=> Time
371
+ # resp.application_component_detail.list_antipattern_severity_summary #=> Array
372
+ # resp.application_component_detail.list_antipattern_severity_summary[0].count #=> Integer
373
+ # resp.application_component_detail.list_antipattern_severity_summary[0].severity #=> String, one of "HIGH", "MEDIUM", "LOW"
374
+ # resp.application_component_detail.more_server_association_exists #=> Boolean
375
+ # resp.application_component_detail.name #=> String
376
+ # resp.application_component_detail.os_driver #=> String
377
+ # resp.application_component_detail.os_version #=> String
378
+ # resp.application_component_detail.recommendation_set.strategy #=> String, one of "Rehost", "Retirement", "Refactor", "Replatform", "Retain", "Relocate", "Repurchase"
379
+ # resp.application_component_detail.recommendation_set.target_destination #=> String, one of "None specified", "AWS Elastic BeanStalk", "AWS Fargate", "Amazon Elastic Cloud Compute (EC2)", "Amazon Elastic Container Service (ECS)", "Amazon Elastic Kubernetes Service (EKS)", "Aurora MySQL", "Aurora PostgreSQL", "Amazon Relational Database Service on MySQL", "Amazon Relational Database Service on PostgreSQL", "Amazon DocumentDB", "Amazon DynamoDB", "Amazon Relational Database Service"
380
+ # resp.application_component_detail.recommendation_set.transformation_tool.description #=> String
381
+ # resp.application_component_detail.recommendation_set.transformation_tool.name #=> String, one of "App2Container", "Porting Assistant For .NET", "End of Support Migration", "Windows Web Application Migration Assistant", "Application Migration Service", "Strategy Recommendation Support", "In Place Operating System Upgrade", "Schema Conversion Tool", "Database Migration Service", "Native SQL Server Backup/Restore"
382
+ # resp.application_component_detail.recommendation_set.transformation_tool.tranformation_tool_installation_link #=> String
383
+ # resp.application_component_detail.resource_sub_type #=> String, one of "Database", "Process", "DatabaseProcess"
384
+ # resp.application_component_detail.source_code_repositories #=> Array
385
+ # resp.application_component_detail.source_code_repositories[0].branch #=> String
386
+ # resp.application_component_detail.source_code_repositories[0].repository #=> String
387
+ # resp.application_component_detail.source_code_repositories[0].version_control_type #=> String
388
+ # resp.application_component_detail.status_message #=> String
389
+ # resp.associated_applications #=> Array
390
+ # resp.associated_applications[0].id #=> String
391
+ # resp.associated_applications[0].name #=> String
392
+ # resp.associated_server_ids #=> Array
393
+ # resp.associated_server_ids[0] #=> String
394
+ # resp.more_application_resource #=> Boolean
395
+ #
396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentDetails AWS API Documentation
397
+ #
398
+ # @overload get_application_component_details(params = {})
399
+ # @param [Hash] params ({})
400
+ def get_application_component_details(params = {}, options = {})
401
+ req = build_request(:get_application_component_details, params)
402
+ req.send_request(options)
403
+ end
404
+
405
+ # Retrieves a list of all the recommended strategies and tools for an
406
+ # application component running on a server.
407
+ #
408
+ # @option params [required, String] :application_component_id
409
+ # The ID of the application component. The ID is unique within an AWS
410
+ # account.
411
+ #
412
+ # @return [Types::GetApplicationComponentStrategiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
413
+ #
414
+ # * {Types::GetApplicationComponentStrategiesResponse#application_component_strategies #application_component_strategies} => Array&lt;Types::ApplicationComponentStrategy&gt;
415
+ #
416
+ # @example Request syntax with placeholder values
417
+ #
418
+ # resp = client.get_application_component_strategies({
419
+ # application_component_id: "ApplicationComponentId", # required
420
+ # })
421
+ #
422
+ # @example Response structure
423
+ #
424
+ # resp.application_component_strategies #=> Array
425
+ # resp.application_component_strategies[0].is_preferred #=> Boolean
426
+ # resp.application_component_strategies[0].recommendation.strategy #=> String, one of "Rehost", "Retirement", "Refactor", "Replatform", "Retain", "Relocate", "Repurchase"
427
+ # resp.application_component_strategies[0].recommendation.target_destination #=> String, one of "None specified", "AWS Elastic BeanStalk", "AWS Fargate", "Amazon Elastic Cloud Compute (EC2)", "Amazon Elastic Container Service (ECS)", "Amazon Elastic Kubernetes Service (EKS)", "Aurora MySQL", "Aurora PostgreSQL", "Amazon Relational Database Service on MySQL", "Amazon Relational Database Service on PostgreSQL", "Amazon DocumentDB", "Amazon DynamoDB", "Amazon Relational Database Service"
428
+ # resp.application_component_strategies[0].recommendation.transformation_tool.description #=> String
429
+ # resp.application_component_strategies[0].recommendation.transformation_tool.name #=> String, one of "App2Container", "Porting Assistant For .NET", "End of Support Migration", "Windows Web Application Migration Assistant", "Application Migration Service", "Strategy Recommendation Support", "In Place Operating System Upgrade", "Schema Conversion Tool", "Database Migration Service", "Native SQL Server Backup/Restore"
430
+ # resp.application_component_strategies[0].recommendation.transformation_tool.tranformation_tool_installation_link #=> String
431
+ # resp.application_component_strategies[0].status #=> String, one of "recommended", "viableOption", "notRecommended"
432
+ #
433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentStrategies AWS API Documentation
434
+ #
435
+ # @overload get_application_component_strategies(params = {})
436
+ # @param [Hash] params ({})
437
+ def get_application_component_strategies(params = {}, options = {})
438
+ req = build_request(:get_application_component_strategies, params)
439
+ req.send_request(options)
440
+ end
441
+
442
+ # Retrieves the status of an on-going assessment.
443
+ #
444
+ # @option params [required, String] :id
445
+ # The `assessmentid` returned by StartAssessment.
446
+ #
447
+ # @return [Types::GetAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
448
+ #
449
+ # * {Types::GetAssessmentResponse#data_collection_details #data_collection_details} => Types::DataCollectionDetails
450
+ # * {Types::GetAssessmentResponse#id #id} => String
451
+ #
452
+ # @example Request syntax with placeholder values
453
+ #
454
+ # resp = client.get_assessment({
455
+ # id: "AsyncTaskId", # required
456
+ # })
457
+ #
458
+ # @example Response structure
459
+ #
460
+ # resp.data_collection_details.completion_time #=> Time
461
+ # resp.data_collection_details.failed #=> Integer
462
+ # resp.data_collection_details.in_progress #=> Integer
463
+ # resp.data_collection_details.servers #=> Integer
464
+ # resp.data_collection_details.start_time #=> Time
465
+ # resp.data_collection_details.status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED", "STOPPED"
466
+ # resp.data_collection_details.success #=> Integer
467
+ # resp.id #=> String
468
+ #
469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetAssessment AWS API Documentation
470
+ #
471
+ # @overload get_assessment(params = {})
472
+ # @param [Hash] params ({})
473
+ def get_assessment(params = {}, options = {})
474
+ req = build_request(:get_assessment, params)
475
+ req.send_request(options)
476
+ end
477
+
478
+ # Retrieves the details about a specific import task.
479
+ #
480
+ # @option params [required, String] :id
481
+ # The ID of the import file task. This ID is returned in the response of
482
+ # StartImportFileTask.
483
+ #
484
+ # @return [Types::GetImportFileTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
485
+ #
486
+ # * {Types::GetImportFileTaskResponse#completion_time #completion_time} => Time
487
+ # * {Types::GetImportFileTaskResponse#id #id} => String
488
+ # * {Types::GetImportFileTaskResponse#import_name #import_name} => String
489
+ # * {Types::GetImportFileTaskResponse#input_s3_bucket #input_s3_bucket} => String
490
+ # * {Types::GetImportFileTaskResponse#input_s3_key #input_s3_key} => String
491
+ # * {Types::GetImportFileTaskResponse#number_of_records_failed #number_of_records_failed} => Integer
492
+ # * {Types::GetImportFileTaskResponse#number_of_records_success #number_of_records_success} => Integer
493
+ # * {Types::GetImportFileTaskResponse#start_time #start_time} => Time
494
+ # * {Types::GetImportFileTaskResponse#status #status} => String
495
+ # * {Types::GetImportFileTaskResponse#status_report_s3_bucket #status_report_s3_bucket} => String
496
+ # * {Types::GetImportFileTaskResponse#status_report_s3_key #status_report_s3_key} => String
497
+ #
498
+ # @example Request syntax with placeholder values
499
+ #
500
+ # resp = client.get_import_file_task({
501
+ # id: "String", # required
502
+ # })
503
+ #
504
+ # @example Response structure
505
+ #
506
+ # resp.completion_time #=> Time
507
+ # resp.id #=> String
508
+ # resp.import_name #=> String
509
+ # resp.input_s3_bucket #=> String
510
+ # resp.input_s3_key #=> String
511
+ # resp.number_of_records_failed #=> Integer
512
+ # resp.number_of_records_success #=> Integer
513
+ # resp.start_time #=> Time
514
+ # resp.status #=> String, one of "ImportInProgress", "ImportFailed", "ImportPartialSuccess", "ImportSuccess", "DeleteInProgress", "DeleteFailed", "DeletePartialSuccess", "DeleteSuccess"
515
+ # resp.status_report_s3_bucket #=> String
516
+ # resp.status_report_s3_key #=> String
517
+ #
518
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetImportFileTask AWS API Documentation
519
+ #
520
+ # @overload get_import_file_task(params = {})
521
+ # @param [Hash] params ({})
522
+ def get_import_file_task(params = {}, options = {})
523
+ req = build_request(:get_import_file_task, params)
524
+ req.send_request(options)
525
+ end
526
+
527
+ # Retrieves your migration and modernization preferences.
528
+ #
529
+ # @return [Types::GetPortfolioPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
530
+ #
531
+ # * {Types::GetPortfolioPreferencesResponse#application_preferences #application_preferences} => Types::ApplicationPreferences
532
+ # * {Types::GetPortfolioPreferencesResponse#database_preferences #database_preferences} => Types::DatabasePreferences
533
+ # * {Types::GetPortfolioPreferencesResponse#prioritize_business_goals #prioritize_business_goals} => Types::PrioritizeBusinessGoals
534
+ #
535
+ # @example Response structure
536
+ #
537
+ # resp.application_preferences.management_preference.aws_managed_resources.target_destination #=> Array
538
+ # resp.application_preferences.management_preference.aws_managed_resources.target_destination[0] #=> String, one of "None specified", "AWS Elastic BeanStalk", "AWS Fargate"
539
+ # resp.application_preferences.management_preference.no_preference.target_destination #=> Array
540
+ # resp.application_preferences.management_preference.no_preference.target_destination[0] #=> String, one of "None specified", "AWS Elastic BeanStalk", "AWS Fargate", "Amazon Elastic Cloud Compute (EC2)", "Amazon Elastic Container Service (ECS)", "Amazon Elastic Kubernetes Service (EKS)"
541
+ # resp.application_preferences.management_preference.self_manage_resources.target_destination #=> Array
542
+ # resp.application_preferences.management_preference.self_manage_resources.target_destination[0] #=> String, one of "None specified", "Amazon Elastic Cloud Compute (EC2)", "Amazon Elastic Container Service (ECS)", "Amazon Elastic Kubernetes Service (EKS)"
543
+ # resp.database_preferences.database_management_preference #=> String, one of "AWS-managed", "Self-manage", "No preference"
544
+ # resp.database_preferences.database_migration_preference.heterogeneous.target_database_engine #=> Array
545
+ # resp.database_preferences.database_migration_preference.heterogeneous.target_database_engine[0] #=> String, one of "None specified", "Amazon Aurora", "AWS PostgreSQL", "MySQL", "Microsoft SQL Server", "Oracle Database", "MariaDB", "SAP", "Db2 LUW", "MongoDB"
546
+ # resp.database_preferences.database_migration_preference.homogeneous.target_database_engine #=> Array
547
+ # resp.database_preferences.database_migration_preference.homogeneous.target_database_engine[0] #=> String, one of "None specified"
548
+ # resp.database_preferences.database_migration_preference.no_preference.target_database_engine #=> Array
549
+ # resp.database_preferences.database_migration_preference.no_preference.target_database_engine[0] #=> String, one of "None specified", "Amazon Aurora", "AWS PostgreSQL", "MySQL", "Microsoft SQL Server", "Oracle Database", "MariaDB", "SAP", "Db2 LUW", "MongoDB"
550
+ # resp.prioritize_business_goals.business_goals.license_cost_reduction #=> Integer
551
+ # resp.prioritize_business_goals.business_goals.modernize_infrastructure_with_cloud_native_technologies #=> Integer
552
+ # resp.prioritize_business_goals.business_goals.reduce_operational_overhead_with_managed_services #=> Integer
553
+ # resp.prioritize_business_goals.business_goals.speed_of_migration #=> Integer
554
+ #
555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioPreferences AWS API Documentation
556
+ #
557
+ # @overload get_portfolio_preferences(params = {})
558
+ # @param [Hash] params ({})
559
+ def get_portfolio_preferences(params = {}, options = {})
560
+ req = build_request(:get_portfolio_preferences, params)
561
+ req.send_request(options)
562
+ end
563
+
564
+ # Retrieves overall summary including the number of servers to rehost
565
+ # and the overall number of anti-patterns.
566
+ #
567
+ # @return [Types::GetPortfolioSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
568
+ #
569
+ # * {Types::GetPortfolioSummaryResponse#assessment_summary #assessment_summary} => Types::AssessmentSummary
570
+ #
571
+ # @example Response structure
572
+ #
573
+ # resp.assessment_summary.antipattern_report_s3_object.s3_bucket #=> String
574
+ # resp.assessment_summary.antipattern_report_s3_object.s3key #=> String
575
+ # resp.assessment_summary.antipattern_report_status #=> String, one of "FAILED", "IN_PROGRESS", "SUCCESS"
576
+ # resp.assessment_summary.antipattern_report_status_message #=> String
577
+ # resp.assessment_summary.last_analyzed_timestamp #=> Time
578
+ # resp.assessment_summary.list_antipattern_severity_summary #=> Array
579
+ # resp.assessment_summary.list_antipattern_severity_summary[0].count #=> Integer
580
+ # resp.assessment_summary.list_antipattern_severity_summary[0].severity #=> String, one of "HIGH", "MEDIUM", "LOW"
581
+ # resp.assessment_summary.list_application_component_strategy_summary #=> Array
582
+ # resp.assessment_summary.list_application_component_strategy_summary[0].count #=> Integer
583
+ # resp.assessment_summary.list_application_component_strategy_summary[0].strategy #=> String, one of "Rehost", "Retirement", "Refactor", "Replatform", "Retain", "Relocate", "Repurchase"
584
+ # resp.assessment_summary.list_application_component_summary #=> Array
585
+ # resp.assessment_summary.list_application_component_summary[0].app_type #=> String, one of "DotNetFramework", "Java", "SQLServer", "IIS", "Oracle", "Other"
586
+ # resp.assessment_summary.list_application_component_summary[0].count #=> Integer
587
+ # resp.assessment_summary.list_server_strategy_summary #=> Array
588
+ # resp.assessment_summary.list_server_strategy_summary[0].count #=> Integer
589
+ # resp.assessment_summary.list_server_strategy_summary[0].strategy #=> String, one of "Rehost", "Retirement", "Refactor", "Replatform", "Retain", "Relocate", "Repurchase"
590
+ # resp.assessment_summary.list_server_summary #=> Array
591
+ # resp.assessment_summary.list_server_summary[0].server_os_type #=> String, one of "WindowsServer", "AmazonLinux", "EndOfSupportWindowsServer", "Redhat", "Other"
592
+ # resp.assessment_summary.list_server_summary[0].count #=> Integer
593
+ #
594
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioSummary AWS API Documentation
595
+ #
596
+ # @overload get_portfolio_summary(params = {})
597
+ # @param [Hash] params ({})
598
+ def get_portfolio_summary(params = {}, options = {})
599
+ req = build_request(:get_portfolio_summary, params)
600
+ req.send_request(options)
601
+ end
602
+
603
+ # Retrieves detailed information about the specified recommendation
604
+ # report.
605
+ #
606
+ # @option params [required, String] :id
607
+ # The recommendation report generation task `id` returned by
608
+ # StartRecommendationReportGeneration.
609
+ #
610
+ # @return [Types::GetRecommendationReportDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
611
+ #
612
+ # * {Types::GetRecommendationReportDetailsResponse#id #id} => String
613
+ # * {Types::GetRecommendationReportDetailsResponse#recommendation_report_details #recommendation_report_details} => Types::RecommendationReportDetails
614
+ #
615
+ # @example Request syntax with placeholder values
616
+ #
617
+ # resp = client.get_recommendation_report_details({
618
+ # id: "RecommendationTaskId", # required
619
+ # })
620
+ #
621
+ # @example Response structure
622
+ #
623
+ # resp.id #=> String
624
+ # resp.recommendation_report_details.completion_time #=> Time
625
+ # resp.recommendation_report_details.s3_bucket #=> String
626
+ # resp.recommendation_report_details.s3_keys #=> Array
627
+ # resp.recommendation_report_details.s3_keys[0] #=> String
628
+ # resp.recommendation_report_details.start_time #=> Time
629
+ # resp.recommendation_report_details.status #=> String, one of "FAILED", "IN_PROGRESS", "SUCCESS"
630
+ # resp.recommendation_report_details.status_message #=> String
631
+ #
632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetRecommendationReportDetails AWS API Documentation
633
+ #
634
+ # @overload get_recommendation_report_details(params = {})
635
+ # @param [Hash] params ({})
636
+ def get_recommendation_report_details(params = {}, options = {})
637
+ req = build_request(:get_recommendation_report_details, params)
638
+ req.send_request(options)
639
+ end
640
+
641
+ # Retrieves detailed information about a specified server.
642
+ #
643
+ # @option params [Integer] :max_results
644
+ # The maximum number of items to include in the response. The maximum
645
+ # value is 100.
646
+ #
647
+ # @option params [String] :next_token
648
+ # The token from a previous call that you use to retrieve the next set
649
+ # of results. For example, if a previous call to this action returned
650
+ # 100 items, but you set `maxResults` to 10. You'll receive a set of 10
651
+ # results along with a token. You then use the returned token to
652
+ # retrieve the next set of 10.
653
+ #
654
+ # @option params [required, String] :server_id
655
+ # The ID of the server.
656
+ #
657
+ # @return [Types::GetServerDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
658
+ #
659
+ # * {Types::GetServerDetailsResponse#associated_applications #associated_applications} => Array&lt;Types::AssociatedApplication&gt;
660
+ # * {Types::GetServerDetailsResponse#next_token #next_token} => String
661
+ # * {Types::GetServerDetailsResponse#server_detail #server_detail} => Types::ServerDetail
662
+ #
663
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
664
+ #
665
+ # @example Request syntax with placeholder values
666
+ #
667
+ # resp = client.get_server_details({
668
+ # max_results: 1,
669
+ # next_token: "NextToken",
670
+ # server_id: "ServerId", # required
671
+ # })
672
+ #
673
+ # @example Response structure
674
+ #
675
+ # resp.associated_applications #=> Array
676
+ # resp.associated_applications[0].id #=> String
677
+ # resp.associated_applications[0].name #=> String
678
+ # resp.next_token #=> String
679
+ # resp.server_detail.antipattern_report_s3_object.s3_bucket #=> String
680
+ # resp.server_detail.antipattern_report_s3_object.s3key #=> String
681
+ # resp.server_detail.antipattern_report_status #=> String, one of "FAILED", "IN_PROGRESS", "SUCCESS"
682
+ # resp.server_detail.antipattern_report_status_message #=> String
683
+ # resp.server_detail.application_component_strategy_summary #=> Array
684
+ # resp.server_detail.application_component_strategy_summary[0].count #=> Integer
685
+ # resp.server_detail.application_component_strategy_summary[0].strategy #=> String, one of "Rehost", "Retirement", "Refactor", "Replatform", "Retain", "Relocate", "Repurchase"
686
+ # resp.server_detail.data_collection_status #=> String, one of "dataCollectionTaskToBeScheduled", "dataCollectionTaskScheduled", "dataCollectionTaskStarted", "dataCollectionTaskStopped", "dataCollectionTaskSuccess", "dataCollectionTaskFailed", "dataCollectionTaskPartialSuccess"
687
+ # resp.server_detail.id #=> String
688
+ # resp.server_detail.last_analyzed_timestamp #=> Time
689
+ # resp.server_detail.list_antipattern_severity_summary #=> Array
690
+ # resp.server_detail.list_antipattern_severity_summary[0].count #=> Integer
691
+ # resp.server_detail.list_antipattern_severity_summary[0].severity #=> String, one of "HIGH", "MEDIUM", "LOW"
692
+ # resp.server_detail.name #=> String
693
+ # resp.server_detail.recommendation_set.strategy #=> String, one of "Rehost", "Retirement", "Refactor", "Replatform", "Retain", "Relocate", "Repurchase"
694
+ # resp.server_detail.recommendation_set.target_destination #=> String, one of "None specified", "AWS Elastic BeanStalk", "AWS Fargate", "Amazon Elastic Cloud Compute (EC2)", "Amazon Elastic Container Service (ECS)", "Amazon Elastic Kubernetes Service (EKS)", "Aurora MySQL", "Aurora PostgreSQL", "Amazon Relational Database Service on MySQL", "Amazon Relational Database Service on PostgreSQL", "Amazon DocumentDB", "Amazon DynamoDB", "Amazon Relational Database Service"
695
+ # resp.server_detail.recommendation_set.transformation_tool.description #=> String
696
+ # resp.server_detail.recommendation_set.transformation_tool.name #=> String, one of "App2Container", "Porting Assistant For .NET", "End of Support Migration", "Windows Web Application Migration Assistant", "Application Migration Service", "Strategy Recommendation Support", "In Place Operating System Upgrade", "Schema Conversion Tool", "Database Migration Service", "Native SQL Server Backup/Restore"
697
+ # resp.server_detail.recommendation_set.transformation_tool.tranformation_tool_installation_link #=> String
698
+ # resp.server_detail.server_type #=> String
699
+ # resp.server_detail.status_message #=> String
700
+ # resp.server_detail.system_info.cpu_architecture #=> String
701
+ # resp.server_detail.system_info.file_system_type #=> String
702
+ # resp.server_detail.system_info.network_info_list #=> Array
703
+ # resp.server_detail.system_info.network_info_list[0].interface_name #=> String
704
+ # resp.server_detail.system_info.network_info_list[0].ip_address #=> String
705
+ # resp.server_detail.system_info.network_info_list[0].mac_address #=> String
706
+ # resp.server_detail.system_info.network_info_list[0].net_mask #=> String
707
+ # resp.server_detail.system_info.os_info.type #=> String, one of "LINUX", "WINDOWS"
708
+ # resp.server_detail.system_info.os_info.version #=> String
709
+ #
710
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerDetails AWS API Documentation
711
+ #
712
+ # @overload get_server_details(params = {})
713
+ # @param [Hash] params ({})
714
+ def get_server_details(params = {}, options = {})
715
+ req = build_request(:get_server_details, params)
716
+ req.send_request(options)
717
+ end
718
+
719
+ # Retrieves recommended strategies and tools for the specified server.
720
+ #
721
+ # @option params [required, String] :server_id
722
+ # The ID of the server.
723
+ #
724
+ # @return [Types::GetServerStrategiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
725
+ #
726
+ # * {Types::GetServerStrategiesResponse#server_strategies #server_strategies} => Array&lt;Types::ServerStrategy&gt;
727
+ #
728
+ # @example Request syntax with placeholder values
729
+ #
730
+ # resp = client.get_server_strategies({
731
+ # server_id: "ServerId", # required
732
+ # })
733
+ #
734
+ # @example Response structure
735
+ #
736
+ # resp.server_strategies #=> Array
737
+ # resp.server_strategies[0].is_preferred #=> Boolean
738
+ # resp.server_strategies[0].number_of_application_components #=> Integer
739
+ # resp.server_strategies[0].recommendation.strategy #=> String, one of "Rehost", "Retirement", "Refactor", "Replatform", "Retain", "Relocate", "Repurchase"
740
+ # resp.server_strategies[0].recommendation.target_destination #=> String, one of "None specified", "AWS Elastic BeanStalk", "AWS Fargate", "Amazon Elastic Cloud Compute (EC2)", "Amazon Elastic Container Service (ECS)", "Amazon Elastic Kubernetes Service (EKS)", "Aurora MySQL", "Aurora PostgreSQL", "Amazon Relational Database Service on MySQL", "Amazon Relational Database Service on PostgreSQL", "Amazon DocumentDB", "Amazon DynamoDB", "Amazon Relational Database Service"
741
+ # resp.server_strategies[0].recommendation.transformation_tool.description #=> String
742
+ # resp.server_strategies[0].recommendation.transformation_tool.name #=> String, one of "App2Container", "Porting Assistant For .NET", "End of Support Migration", "Windows Web Application Migration Assistant", "Application Migration Service", "Strategy Recommendation Support", "In Place Operating System Upgrade", "Schema Conversion Tool", "Database Migration Service", "Native SQL Server Backup/Restore"
743
+ # resp.server_strategies[0].recommendation.transformation_tool.tranformation_tool_installation_link #=> String
744
+ # resp.server_strategies[0].status #=> String, one of "recommended", "viableOption", "notRecommended"
745
+ #
746
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerStrategies AWS API Documentation
747
+ #
748
+ # @overload get_server_strategies(params = {})
749
+ # @param [Hash] params ({})
750
+ def get_server_strategies(params = {}, options = {})
751
+ req = build_request(:get_server_strategies, params)
752
+ req.send_request(options)
753
+ end
754
+
755
+ # Retrieves a list of all the application components (processes).
756
+ #
757
+ # @option params [String] :application_component_criteria
758
+ # Criteria for filtering the list of application components.
759
+ #
760
+ # @option params [String] :filter_value
761
+ # Specify the value based on the application component criteria type.
762
+ # For example, if `applicationComponentCriteria` is set to `SERVER_ID`
763
+ # and `filterValue` is set to `server1`, then ListApplicationComponents
764
+ # returns all the application components running on server1.
765
+ #
766
+ # @option params [Array<Types::Group>] :group_id_filter
767
+ # The group ID specified in to filter on.
768
+ #
769
+ # @option params [Integer] :max_results
770
+ # The maximum number of items to include in the response. The maximum
771
+ # value is 100.
772
+ #
773
+ # @option params [String] :next_token
774
+ # The token from a previous call that you use to retrieve the next set
775
+ # of results. For example, if a previous call to this action returned
776
+ # 100 items, but you set `maxResults` to 10. You'll receive a set of 10
777
+ # results along with a token. You then use the returned token to
778
+ # retrieve the next set of 10.
779
+ #
780
+ # @option params [String] :sort
781
+ # Specifies whether to sort by ascending (`ASC`) or descending (`DESC`)
782
+ # order.
783
+ #
784
+ # @return [Types::ListApplicationComponentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
785
+ #
786
+ # * {Types::ListApplicationComponentsResponse#application_component_infos #application_component_infos} => Array&lt;Types::ApplicationComponentDetail&gt;
787
+ # * {Types::ListApplicationComponentsResponse#next_token #next_token} => String
788
+ #
789
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
790
+ #
791
+ # @example Request syntax with placeholder values
792
+ #
793
+ # resp = client.list_application_components({
794
+ # application_component_criteria: "NOT_DEFINED", # accepts NOT_DEFINED, APP_NAME, SERVER_ID, APP_TYPE, STRATEGY, DESTINATION
795
+ # filter_value: "ListApplicationComponentsRequestFilterValueString",
796
+ # group_id_filter: [
797
+ # {
798
+ # name: "ExternalId", # accepts ExternalId
799
+ # value: "String",
800
+ # },
801
+ # ],
802
+ # max_results: 1,
803
+ # next_token: "NextToken",
804
+ # sort: "ASC", # accepts ASC, DESC
805
+ # })
806
+ #
807
+ # @example Response structure
808
+ #
809
+ # resp.application_component_infos #=> Array
810
+ # resp.application_component_infos[0].analysis_status #=> String, one of "ANALYSIS_TO_BE_SCHEDULED", "ANALYSIS_STARTED", "ANALYSIS_SUCCESS", "ANALYSIS_FAILED"
811
+ # resp.application_component_infos[0].antipattern_report_s3_object.s3_bucket #=> String
812
+ # resp.application_component_infos[0].antipattern_report_s3_object.s3key #=> String
813
+ # resp.application_component_infos[0].antipattern_report_status #=> String, one of "FAILED", "IN_PROGRESS", "SUCCESS"
814
+ # resp.application_component_infos[0].antipattern_report_status_message #=> String
815
+ # resp.application_component_infos[0].app_type #=> String, one of "DotNetFramework", "Java", "SQLServer", "IIS", "Oracle", "Other"
816
+ # resp.application_component_infos[0].associated_server_id #=> String
817
+ # resp.application_component_infos[0].database_config_detail.secret_name #=> String
818
+ # resp.application_component_infos[0].id #=> String
819
+ # resp.application_component_infos[0].inclusion_status #=> String, one of "excludeFromAssessment", "includeInAssessment"
820
+ # resp.application_component_infos[0].last_analyzed_timestamp #=> Time
821
+ # resp.application_component_infos[0].list_antipattern_severity_summary #=> Array
822
+ # resp.application_component_infos[0].list_antipattern_severity_summary[0].count #=> Integer
823
+ # resp.application_component_infos[0].list_antipattern_severity_summary[0].severity #=> String, one of "HIGH", "MEDIUM", "LOW"
824
+ # resp.application_component_infos[0].more_server_association_exists #=> Boolean
825
+ # resp.application_component_infos[0].name #=> String
826
+ # resp.application_component_infos[0].os_driver #=> String
827
+ # resp.application_component_infos[0].os_version #=> String
828
+ # resp.application_component_infos[0].recommendation_set.strategy #=> String, one of "Rehost", "Retirement", "Refactor", "Replatform", "Retain", "Relocate", "Repurchase"
829
+ # resp.application_component_infos[0].recommendation_set.target_destination #=> String, one of "None specified", "AWS Elastic BeanStalk", "AWS Fargate", "Amazon Elastic Cloud Compute (EC2)", "Amazon Elastic Container Service (ECS)", "Amazon Elastic Kubernetes Service (EKS)", "Aurora MySQL", "Aurora PostgreSQL", "Amazon Relational Database Service on MySQL", "Amazon Relational Database Service on PostgreSQL", "Amazon DocumentDB", "Amazon DynamoDB", "Amazon Relational Database Service"
830
+ # resp.application_component_infos[0].recommendation_set.transformation_tool.description #=> String
831
+ # resp.application_component_infos[0].recommendation_set.transformation_tool.name #=> String, one of "App2Container", "Porting Assistant For .NET", "End of Support Migration", "Windows Web Application Migration Assistant", "Application Migration Service", "Strategy Recommendation Support", "In Place Operating System Upgrade", "Schema Conversion Tool", "Database Migration Service", "Native SQL Server Backup/Restore"
832
+ # resp.application_component_infos[0].recommendation_set.transformation_tool.tranformation_tool_installation_link #=> String
833
+ # resp.application_component_infos[0].resource_sub_type #=> String, one of "Database", "Process", "DatabaseProcess"
834
+ # resp.application_component_infos[0].source_code_repositories #=> Array
835
+ # resp.application_component_infos[0].source_code_repositories[0].branch #=> String
836
+ # resp.application_component_infos[0].source_code_repositories[0].repository #=> String
837
+ # resp.application_component_infos[0].source_code_repositories[0].version_control_type #=> String
838
+ # resp.application_component_infos[0].status_message #=> String
839
+ # resp.next_token #=> String
840
+ #
841
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListApplicationComponents AWS API Documentation
842
+ #
843
+ # @overload list_application_components(params = {})
844
+ # @param [Hash] params ({})
845
+ def list_application_components(params = {}, options = {})
846
+ req = build_request(:list_application_components, params)
847
+ req.send_request(options)
848
+ end
849
+
850
+ # Retrieves a list of all the installed collectors.
851
+ #
852
+ # @option params [Integer] :max_results
853
+ # The maximum number of items to include in the response. The maximum
854
+ # value is 100.
855
+ #
856
+ # @option params [String] :next_token
857
+ # The token from a previous call that you use to retrieve the next set
858
+ # of results. For example, if a previous call to this action returned
859
+ # 100 items, but you set `maxResults` to 10. You'll receive a set of 10
860
+ # results along with a token. You then use the returned token to
861
+ # retrieve the next set of 10.
862
+ #
863
+ # @return [Types::ListCollectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
864
+ #
865
+ # * {Types::ListCollectorsResponse#collectors #collectors} => Array&lt;Types::Collector&gt;
866
+ # * {Types::ListCollectorsResponse#next_token #next_token} => String
867
+ #
868
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
869
+ #
870
+ # @example Request syntax with placeholder values
871
+ #
872
+ # resp = client.list_collectors({
873
+ # max_results: 1,
874
+ # next_token: "NextToken",
875
+ # })
876
+ #
877
+ # @example Response structure
878
+ #
879
+ # resp.collectors #=> Array
880
+ # resp.collectors[0].collector_health #=> String, one of "COLLECTOR_HEALTHY", "COLLECTOR_UNHEALTHY"
881
+ # resp.collectors[0].collector_id #=> String
882
+ # resp.collectors[0].collector_version #=> String
883
+ # resp.collectors[0].host_name #=> String
884
+ # resp.collectors[0].ip_address #=> String
885
+ # resp.collectors[0].last_activity_time_stamp #=> String
886
+ # resp.collectors[0].registered_time_stamp #=> String
887
+ # resp.next_token #=> String
888
+ #
889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListCollectors AWS API Documentation
890
+ #
891
+ # @overload list_collectors(params = {})
892
+ # @param [Hash] params ({})
893
+ def list_collectors(params = {}, options = {})
894
+ req = build_request(:list_collectors, params)
895
+ req.send_request(options)
896
+ end
897
+
898
+ # Retrieves a list of all the imports performed.
899
+ #
900
+ # @option params [Integer] :max_results
901
+ # The total number of items to return. The maximum value is 100.
902
+ #
903
+ # @option params [String] :next_token
904
+ # The token from a previous call that you use to retrieve the next set
905
+ # of results. For example, if a previous call to this action returned
906
+ # 100 items, but you set `maxResults` to 10. You'll receive a set of 10
907
+ # results along with a token. You then use the returned token to
908
+ # retrieve the next set of 10.
909
+ #
910
+ # @return [Types::ListImportFileTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
911
+ #
912
+ # * {Types::ListImportFileTaskResponse#next_token #next_token} => String
913
+ # * {Types::ListImportFileTaskResponse#task_infos #task_infos} => Array&lt;Types::ImportFileTaskInformation&gt;
914
+ #
915
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
916
+ #
917
+ # @example Request syntax with placeholder values
918
+ #
919
+ # resp = client.list_import_file_task({
920
+ # max_results: 1,
921
+ # next_token: "String",
922
+ # })
923
+ #
924
+ # @example Response structure
925
+ #
926
+ # resp.next_token #=> String
927
+ # resp.task_infos #=> Array
928
+ # resp.task_infos[0].completion_time #=> Time
929
+ # resp.task_infos[0].id #=> String
930
+ # resp.task_infos[0].import_name #=> String
931
+ # resp.task_infos[0].input_s3_bucket #=> String
932
+ # resp.task_infos[0].input_s3_key #=> String
933
+ # resp.task_infos[0].number_of_records_failed #=> Integer
934
+ # resp.task_infos[0].number_of_records_success #=> Integer
935
+ # resp.task_infos[0].start_time #=> Time
936
+ # resp.task_infos[0].status #=> String, one of "ImportInProgress", "ImportFailed", "ImportPartialSuccess", "ImportSuccess", "DeleteInProgress", "DeleteFailed", "DeletePartialSuccess", "DeleteSuccess"
937
+ # resp.task_infos[0].status_report_s3_bucket #=> String
938
+ # resp.task_infos[0].status_report_s3_key #=> String
939
+ #
940
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListImportFileTask AWS API Documentation
941
+ #
942
+ # @overload list_import_file_task(params = {})
943
+ # @param [Hash] params ({})
944
+ def list_import_file_task(params = {}, options = {})
945
+ req = build_request(:list_import_file_task, params)
946
+ req.send_request(options)
947
+ end
948
+
949
+ # Returns a list of all the servers.
950
+ #
951
+ # @option params [String] :filter_value
952
+ # Specifies the filter value, which is based on the type of server
953
+ # criteria. For example, if `serverCriteria` is `OS_NAME`, and the
954
+ # `filterValue` is equal to `WindowsServer`, then `ListServers` returns
955
+ # all of the servers matching the OS name `WindowsServer`.
956
+ #
957
+ # @option params [Array<Types::Group>] :group_id_filter
958
+ # Specifies the group ID to filter on.
959
+ #
960
+ # @option params [Integer] :max_results
961
+ # The maximum number of items to include in the response. The maximum
962
+ # value is 100.
963
+ #
964
+ # @option params [String] :next_token
965
+ # The token from a previous call that you use to retrieve the next set
966
+ # of results. For example, if a previous call to this action returned
967
+ # 100 items, but you set `maxResults` to 10. You'll receive a set of 10
968
+ # results along with a token. You then use the returned token to
969
+ # retrieve the next set of 10.
970
+ #
971
+ # @option params [String] :server_criteria
972
+ # Criteria for filtering servers.
973
+ #
974
+ # @option params [String] :sort
975
+ # Specifies whether to sort by ascending (`ASC`) or descending (`DESC`)
976
+ # order.
977
+ #
978
+ # @return [Types::ListServersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
979
+ #
980
+ # * {Types::ListServersResponse#next_token #next_token} => String
981
+ # * {Types::ListServersResponse#server_infos #server_infos} => Array&lt;Types::ServerDetail&gt;
982
+ #
983
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
984
+ #
985
+ # @example Request syntax with placeholder values
986
+ #
987
+ # resp = client.list_servers({
988
+ # filter_value: "String",
989
+ # group_id_filter: [
990
+ # {
991
+ # name: "ExternalId", # accepts ExternalId
992
+ # value: "String",
993
+ # },
994
+ # ],
995
+ # max_results: 1,
996
+ # next_token: "NextToken",
997
+ # server_criteria: "NOT_DEFINED", # accepts NOT_DEFINED, OS_NAME, STRATEGY, DESTINATION, SERVER_ID
998
+ # sort: "ASC", # accepts ASC, DESC
999
+ # })
1000
+ #
1001
+ # @example Response structure
1002
+ #
1003
+ # resp.next_token #=> String
1004
+ # resp.server_infos #=> Array
1005
+ # resp.server_infos[0].antipattern_report_s3_object.s3_bucket #=> String
1006
+ # resp.server_infos[0].antipattern_report_s3_object.s3key #=> String
1007
+ # resp.server_infos[0].antipattern_report_status #=> String, one of "FAILED", "IN_PROGRESS", "SUCCESS"
1008
+ # resp.server_infos[0].antipattern_report_status_message #=> String
1009
+ # resp.server_infos[0].application_component_strategy_summary #=> Array
1010
+ # resp.server_infos[0].application_component_strategy_summary[0].count #=> Integer
1011
+ # resp.server_infos[0].application_component_strategy_summary[0].strategy #=> String, one of "Rehost", "Retirement", "Refactor", "Replatform", "Retain", "Relocate", "Repurchase"
1012
+ # resp.server_infos[0].data_collection_status #=> String, one of "dataCollectionTaskToBeScheduled", "dataCollectionTaskScheduled", "dataCollectionTaskStarted", "dataCollectionTaskStopped", "dataCollectionTaskSuccess", "dataCollectionTaskFailed", "dataCollectionTaskPartialSuccess"
1013
+ # resp.server_infos[0].id #=> String
1014
+ # resp.server_infos[0].last_analyzed_timestamp #=> Time
1015
+ # resp.server_infos[0].list_antipattern_severity_summary #=> Array
1016
+ # resp.server_infos[0].list_antipattern_severity_summary[0].count #=> Integer
1017
+ # resp.server_infos[0].list_antipattern_severity_summary[0].severity #=> String, one of "HIGH", "MEDIUM", "LOW"
1018
+ # resp.server_infos[0].name #=> String
1019
+ # resp.server_infos[0].recommendation_set.strategy #=> String, one of "Rehost", "Retirement", "Refactor", "Replatform", "Retain", "Relocate", "Repurchase"
1020
+ # resp.server_infos[0].recommendation_set.target_destination #=> String, one of "None specified", "AWS Elastic BeanStalk", "AWS Fargate", "Amazon Elastic Cloud Compute (EC2)", "Amazon Elastic Container Service (ECS)", "Amazon Elastic Kubernetes Service (EKS)", "Aurora MySQL", "Aurora PostgreSQL", "Amazon Relational Database Service on MySQL", "Amazon Relational Database Service on PostgreSQL", "Amazon DocumentDB", "Amazon DynamoDB", "Amazon Relational Database Service"
1021
+ # resp.server_infos[0].recommendation_set.transformation_tool.description #=> String
1022
+ # resp.server_infos[0].recommendation_set.transformation_tool.name #=> String, one of "App2Container", "Porting Assistant For .NET", "End of Support Migration", "Windows Web Application Migration Assistant", "Application Migration Service", "Strategy Recommendation Support", "In Place Operating System Upgrade", "Schema Conversion Tool", "Database Migration Service", "Native SQL Server Backup/Restore"
1023
+ # resp.server_infos[0].recommendation_set.transformation_tool.tranformation_tool_installation_link #=> String
1024
+ # resp.server_infos[0].server_type #=> String
1025
+ # resp.server_infos[0].status_message #=> String
1026
+ # resp.server_infos[0].system_info.cpu_architecture #=> String
1027
+ # resp.server_infos[0].system_info.file_system_type #=> String
1028
+ # resp.server_infos[0].system_info.network_info_list #=> Array
1029
+ # resp.server_infos[0].system_info.network_info_list[0].interface_name #=> String
1030
+ # resp.server_infos[0].system_info.network_info_list[0].ip_address #=> String
1031
+ # resp.server_infos[0].system_info.network_info_list[0].mac_address #=> String
1032
+ # resp.server_infos[0].system_info.network_info_list[0].net_mask #=> String
1033
+ # resp.server_infos[0].system_info.os_info.type #=> String, one of "LINUX", "WINDOWS"
1034
+ # resp.server_infos[0].system_info.os_info.version #=> String
1035
+ #
1036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListServers AWS API Documentation
1037
+ #
1038
+ # @overload list_servers(params = {})
1039
+ # @param [Hash] params ({})
1040
+ def list_servers(params = {}, options = {})
1041
+ req = build_request(:list_servers, params)
1042
+ req.send_request(options)
1043
+ end
1044
+
1045
+ # Saves the specified migration and modernization preferences.
1046
+ #
1047
+ # @option params [Types::ApplicationPreferences] :application_preferences
1048
+ # The transformation preferences for non-database applications.
1049
+ #
1050
+ # @option params [Types::DatabasePreferences] :database_preferences
1051
+ # The transformation preferences for database applications.
1052
+ #
1053
+ # @option params [Types::PrioritizeBusinessGoals] :prioritize_business_goals
1054
+ # The rank of the business goals based on priority.
1055
+ #
1056
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1057
+ #
1058
+ # @example Request syntax with placeholder values
1059
+ #
1060
+ # resp = client.put_portfolio_preferences({
1061
+ # application_preferences: {
1062
+ # management_preference: {
1063
+ # aws_managed_resources: {
1064
+ # target_destination: ["None specified"], # required, accepts None specified, AWS Elastic BeanStalk, AWS Fargate
1065
+ # },
1066
+ # no_preference: {
1067
+ # target_destination: ["None specified"], # required, accepts None specified, AWS Elastic BeanStalk, AWS Fargate, Amazon Elastic Cloud Compute (EC2), Amazon Elastic Container Service (ECS), Amazon Elastic Kubernetes Service (EKS)
1068
+ # },
1069
+ # self_manage_resources: {
1070
+ # target_destination: ["None specified"], # required, accepts None specified, Amazon Elastic Cloud Compute (EC2), Amazon Elastic Container Service (ECS), Amazon Elastic Kubernetes Service (EKS)
1071
+ # },
1072
+ # },
1073
+ # },
1074
+ # database_preferences: {
1075
+ # database_management_preference: "AWS-managed", # accepts AWS-managed, Self-manage, No preference
1076
+ # database_migration_preference: {
1077
+ # heterogeneous: {
1078
+ # target_database_engine: ["None specified"], # required, accepts None specified, Amazon Aurora, AWS PostgreSQL, MySQL, Microsoft SQL Server, Oracle Database, MariaDB, SAP, Db2 LUW, MongoDB
1079
+ # },
1080
+ # homogeneous: {
1081
+ # target_database_engine: ["None specified"], # accepts None specified
1082
+ # },
1083
+ # no_preference: {
1084
+ # target_database_engine: ["None specified"], # required, accepts None specified, Amazon Aurora, AWS PostgreSQL, MySQL, Microsoft SQL Server, Oracle Database, MariaDB, SAP, Db2 LUW, MongoDB
1085
+ # },
1086
+ # },
1087
+ # },
1088
+ # prioritize_business_goals: {
1089
+ # business_goals: {
1090
+ # license_cost_reduction: 1,
1091
+ # modernize_infrastructure_with_cloud_native_technologies: 1,
1092
+ # reduce_operational_overhead_with_managed_services: 1,
1093
+ # speed_of_migration: 1,
1094
+ # },
1095
+ # },
1096
+ # })
1097
+ #
1098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/PutPortfolioPreferences AWS API Documentation
1099
+ #
1100
+ # @overload put_portfolio_preferences(params = {})
1101
+ # @param [Hash] params ({})
1102
+ def put_portfolio_preferences(params = {}, options = {})
1103
+ req = build_request(:put_portfolio_preferences, params)
1104
+ req.send_request(options)
1105
+ end
1106
+
1107
+ # Starts the assessment of an on-premises environment.
1108
+ #
1109
+ # @option params [String] :s3bucket_for_analysis_data
1110
+ # The S3 bucket used by the collectors to send analysis data to the
1111
+ # service. The bucket name must begin with `migrationhub-strategy-`.
1112
+ #
1113
+ # @option params [String] :s3bucket_for_report_data
1114
+ # The S3 bucket where all the reports generated by the service are
1115
+ # stored. The bucket name must begin with `migrationhub-strategy-`.
1116
+ #
1117
+ # @return [Types::StartAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1118
+ #
1119
+ # * {Types::StartAssessmentResponse#assessment_id #assessment_id} => String
1120
+ #
1121
+ # @example Request syntax with placeholder values
1122
+ #
1123
+ # resp = client.start_assessment({
1124
+ # s3bucket_for_analysis_data: "StartAssessmentRequestS3bucketForAnalysisDataString",
1125
+ # s3bucket_for_report_data: "StartAssessmentRequestS3bucketForReportDataString",
1126
+ # })
1127
+ #
1128
+ # @example Response structure
1129
+ #
1130
+ # resp.assessment_id #=> String
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartAssessment AWS API Documentation
1133
+ #
1134
+ # @overload start_assessment(params = {})
1135
+ # @param [Hash] params ({})
1136
+ def start_assessment(params = {}, options = {})
1137
+ req = build_request(:start_assessment, params)
1138
+ req.send_request(options)
1139
+ end
1140
+
1141
+ # Starts a file import.
1142
+ #
1143
+ # @option params [required, String] :s3_bucket
1144
+ # The S3 bucket where the import file is located. The bucket name is
1145
+ # required to begin with `migrationhub-strategy-`.
1146
+ #
1147
+ # @option params [String] :data_source_type
1148
+ # Specifies the source that the servers are coming from. By default,
1149
+ # Strategy Recommendations assumes that the servers specified in the
1150
+ # import file are available in AWS Application Discovery Service.
1151
+ #
1152
+ # @option params [Array<Types::Group>] :group_id
1153
+ # Groups the resources in the import file together with a unique name.
1154
+ # This ID can be as filter in `ListApplicationComponents` and
1155
+ # `ListServers`.
1156
+ #
1157
+ # @option params [required, String] :name
1158
+ # A descriptive name for the request.
1159
+ #
1160
+ # @option params [String] :s3bucket_for_report_data
1161
+ # The S3 bucket where Strategy Recommendations uploads import results.
1162
+ # The bucket name is required to begin with migrationhub-strategy-.
1163
+ #
1164
+ # @option params [required, String] :s3key
1165
+ # The Amazon S3 key name of the import file.
1166
+ #
1167
+ # @return [Types::StartImportFileTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1168
+ #
1169
+ # * {Types::StartImportFileTaskResponse#id #id} => String
1170
+ #
1171
+ # @example Request syntax with placeholder values
1172
+ #
1173
+ # resp = client.start_import_file_task({
1174
+ # s3_bucket: "importS3Bucket", # required
1175
+ # data_source_type: "ApplicationDiscoveryService", # accepts ApplicationDiscoveryService, MPA
1176
+ # group_id: [
1177
+ # {
1178
+ # name: "ExternalId", # accepts ExternalId
1179
+ # value: "String",
1180
+ # },
1181
+ # ],
1182
+ # name: "StartImportFileTaskRequestNameString", # required
1183
+ # s3bucket_for_report_data: "StartImportFileTaskRequestS3bucketForReportDataString",
1184
+ # s3key: "String", # required
1185
+ # })
1186
+ #
1187
+ # @example Response structure
1188
+ #
1189
+ # resp.id #=> String
1190
+ #
1191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartImportFileTask AWS API Documentation
1192
+ #
1193
+ # @overload start_import_file_task(params = {})
1194
+ # @param [Hash] params ({})
1195
+ def start_import_file_task(params = {}, options = {})
1196
+ req = build_request(:start_import_file_task, params)
1197
+ req.send_request(options)
1198
+ end
1199
+
1200
+ # Starts generating a recommendation report.
1201
+ #
1202
+ # @option params [Array<Types::Group>] :group_id_filter
1203
+ # Groups the resources in the recommendation report with a unique name.
1204
+ #
1205
+ # @option params [String] :output_format
1206
+ # The output format for the recommendation report file. The default
1207
+ # format is Microsoft Excel.
1208
+ #
1209
+ # @return [Types::StartRecommendationReportGenerationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1210
+ #
1211
+ # * {Types::StartRecommendationReportGenerationResponse#id #id} => String
1212
+ #
1213
+ # @example Request syntax with placeholder values
1214
+ #
1215
+ # resp = client.start_recommendation_report_generation({
1216
+ # group_id_filter: [
1217
+ # {
1218
+ # name: "ExternalId", # accepts ExternalId
1219
+ # value: "String",
1220
+ # },
1221
+ # ],
1222
+ # output_format: "Excel", # accepts Excel, Json
1223
+ # })
1224
+ #
1225
+ # @example Response structure
1226
+ #
1227
+ # resp.id #=> String
1228
+ #
1229
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartRecommendationReportGeneration AWS API Documentation
1230
+ #
1231
+ # @overload start_recommendation_report_generation(params = {})
1232
+ # @param [Hash] params ({})
1233
+ def start_recommendation_report_generation(params = {}, options = {})
1234
+ req = build_request(:start_recommendation_report_generation, params)
1235
+ req.send_request(options)
1236
+ end
1237
+
1238
+ # Stops the assessment of an on-premises environment.
1239
+ #
1240
+ # @option params [required, String] :assessment_id
1241
+ # The `assessmentId` returned by StartAssessment.
1242
+ #
1243
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1244
+ #
1245
+ # @example Request syntax with placeholder values
1246
+ #
1247
+ # resp = client.stop_assessment({
1248
+ # assessment_id: "AsyncTaskId", # required
1249
+ # })
1250
+ #
1251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StopAssessment AWS API Documentation
1252
+ #
1253
+ # @overload stop_assessment(params = {})
1254
+ # @param [Hash] params ({})
1255
+ def stop_assessment(params = {}, options = {})
1256
+ req = build_request(:stop_assessment, params)
1257
+ req.send_request(options)
1258
+ end
1259
+
1260
+ # Updates the configuration of an application component.
1261
+ #
1262
+ # @option params [required, String] :application_component_id
1263
+ # The ID of the application component. The ID is unique within an AWS
1264
+ # account.
1265
+ #
1266
+ # @option params [String] :inclusion_status
1267
+ # Indicates whether the application component has been included for
1268
+ # server recommendation or not.
1269
+ #
1270
+ # @option params [String] :secrets_manager_key
1271
+ # Database credentials.
1272
+ #
1273
+ # @option params [Array<Types::SourceCode>] :source_code_list
1274
+ # The list of source code configurations to update for the application
1275
+ # component.
1276
+ #
1277
+ # @option params [Types::StrategyOption] :strategy_option
1278
+ # The preferred strategy options for the application component. Use
1279
+ # values from the GetApplicationComponentStrategies response.
1280
+ #
1281
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1282
+ #
1283
+ # @example Request syntax with placeholder values
1284
+ #
1285
+ # resp = client.update_application_component_config({
1286
+ # application_component_id: "ApplicationComponentId", # required
1287
+ # inclusion_status: "excludeFromAssessment", # accepts excludeFromAssessment, includeInAssessment
1288
+ # secrets_manager_key: "SecretsManagerKey",
1289
+ # source_code_list: [
1290
+ # {
1291
+ # location: "Location",
1292
+ # source_version: "SourceVersion",
1293
+ # version_control: "GITHUB", # accepts GITHUB, GITHUB_ENTERPRISE
1294
+ # },
1295
+ # ],
1296
+ # strategy_option: {
1297
+ # is_preferred: false,
1298
+ # strategy: "Rehost", # accepts Rehost, Retirement, Refactor, Replatform, Retain, Relocate, Repurchase
1299
+ # target_destination: "None specified", # accepts None specified, AWS Elastic BeanStalk, AWS Fargate, Amazon Elastic Cloud Compute (EC2), Amazon Elastic Container Service (ECS), Amazon Elastic Kubernetes Service (EKS), Aurora MySQL, Aurora PostgreSQL, Amazon Relational Database Service on MySQL, Amazon Relational Database Service on PostgreSQL, Amazon DocumentDB, Amazon DynamoDB, Amazon Relational Database Service
1300
+ # tool_name: "App2Container", # accepts App2Container, Porting Assistant For .NET, End of Support Migration, Windows Web Application Migration Assistant, Application Migration Service, Strategy Recommendation Support, In Place Operating System Upgrade, Schema Conversion Tool, Database Migration Service, Native SQL Server Backup/Restore
1301
+ # },
1302
+ # })
1303
+ #
1304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateApplicationComponentConfig AWS API Documentation
1305
+ #
1306
+ # @overload update_application_component_config(params = {})
1307
+ # @param [Hash] params ({})
1308
+ def update_application_component_config(params = {}, options = {})
1309
+ req = build_request(:update_application_component_config, params)
1310
+ req.send_request(options)
1311
+ end
1312
+
1313
+ # Updates the configuration of the specified server.
1314
+ #
1315
+ # @option params [required, String] :server_id
1316
+ # The ID of the server.
1317
+ #
1318
+ # @option params [Types::StrategyOption] :strategy_option
1319
+ # The preferred strategy options for the application component. See the
1320
+ # response from GetServerStrategies.
1321
+ #
1322
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1323
+ #
1324
+ # @example Request syntax with placeholder values
1325
+ #
1326
+ # resp = client.update_server_config({
1327
+ # server_id: "ServerId", # required
1328
+ # strategy_option: {
1329
+ # is_preferred: false,
1330
+ # strategy: "Rehost", # accepts Rehost, Retirement, Refactor, Replatform, Retain, Relocate, Repurchase
1331
+ # target_destination: "None specified", # accepts None specified, AWS Elastic BeanStalk, AWS Fargate, Amazon Elastic Cloud Compute (EC2), Amazon Elastic Container Service (ECS), Amazon Elastic Kubernetes Service (EKS), Aurora MySQL, Aurora PostgreSQL, Amazon Relational Database Service on MySQL, Amazon Relational Database Service on PostgreSQL, Amazon DocumentDB, Amazon DynamoDB, Amazon Relational Database Service
1332
+ # tool_name: "App2Container", # accepts App2Container, Porting Assistant For .NET, End of Support Migration, Windows Web Application Migration Assistant, Application Migration Service, Strategy Recommendation Support, In Place Operating System Upgrade, Schema Conversion Tool, Database Migration Service, Native SQL Server Backup/Restore
1333
+ # },
1334
+ # })
1335
+ #
1336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateServerConfig AWS API Documentation
1337
+ #
1338
+ # @overload update_server_config(params = {})
1339
+ # @param [Hash] params ({})
1340
+ def update_server_config(params = {}, options = {})
1341
+ req = build_request(:update_server_config, params)
1342
+ req.send_request(options)
1343
+ end
1344
+
1345
+ # @!endgroup
1346
+
1347
+ # @param params ({})
1348
+ # @api private
1349
+ def build_request(operation_name, params = {})
1350
+ handlers = @handlers.for(operation_name)
1351
+ context = Seahorse::Client::RequestContext.new(
1352
+ operation_name: operation_name,
1353
+ operation: config.api.operation(operation_name),
1354
+ client: self,
1355
+ params: params,
1356
+ config: config)
1357
+ context[:gem_name] = 'aws-sdk-migrationhubstrategyrecommendations'
1358
+ context[:gem_version] = '1.0.0'
1359
+ Seahorse::Client::Request.new(handlers, context)
1360
+ end
1361
+
1362
+ # @api private
1363
+ # @deprecated
1364
+ def waiter_names
1365
+ []
1366
+ end
1367
+
1368
+ class << self
1369
+
1370
+ # @api private
1371
+ attr_reader :identifier
1372
+
1373
+ # @api private
1374
+ def errors_module
1375
+ Errors
1376
+ end
1377
+
1378
+ end
1379
+ end
1380
+ end