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,2329 @@
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
+ module Aws::MigrationHubStrategyRecommendations
11
+ module Types
12
+
13
+ # The AWS user account does not have permission to perform the action.
14
+ # Check the AWS Identity and Access Management (IAM) policy associated
15
+ # with this account.
16
+ #
17
+ # @!attribute [rw] message
18
+ # @return [String]
19
+ #
20
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/AccessDeniedException AWS API Documentation
21
+ #
22
+ class AccessDeniedException < Struct.new(
23
+ :message)
24
+ SENSITIVE = []
25
+ include Aws::Structure
26
+ end
27
+
28
+ # Contains the summary of anti-patterns and their severity.
29
+ #
30
+ # @!attribute [rw] count
31
+ # Contains the count of anti-patterns.
32
+ # @return [Integer]
33
+ #
34
+ # @!attribute [rw] severity
35
+ # Contains the severity of anti-patterns.
36
+ # @return [String]
37
+ #
38
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/AntipatternSeveritySummary AWS API Documentation
39
+ #
40
+ class AntipatternSeveritySummary < Struct.new(
41
+ :count,
42
+ :severity)
43
+ SENSITIVE = []
44
+ include Aws::Structure
45
+ end
46
+
47
+ # Contains detailed information about an application component.
48
+ #
49
+ # @!attribute [rw] analysis_status
50
+ # The status of analysis, if the application component has source code
51
+ # or an associated database.
52
+ # @return [String]
53
+ #
54
+ # @!attribute [rw] antipattern_report_s3_object
55
+ # The S3 bucket name and the Amazon S3 key name for the anti-pattern
56
+ # report.
57
+ # @return [Types::S3Object]
58
+ #
59
+ # @!attribute [rw] antipattern_report_status
60
+ # The status of the anti-pattern report generation.
61
+ # @return [String]
62
+ #
63
+ # @!attribute [rw] antipattern_report_status_message
64
+ # The status message for the anti-pattern.
65
+ # @return [String]
66
+ #
67
+ # @!attribute [rw] app_type
68
+ # The type of application component.
69
+ # @return [String]
70
+ #
71
+ # @!attribute [rw] associated_server_id
72
+ # The ID of the server that the application component is running on.
73
+ # @return [String]
74
+ #
75
+ # @!attribute [rw] database_config_detail
76
+ # Configuration details for the database associated with the
77
+ # application component.
78
+ # @return [Types::DatabaseConfigDetail]
79
+ #
80
+ # @!attribute [rw] id
81
+ # The ID of the application component.
82
+ # @return [String]
83
+ #
84
+ # @!attribute [rw] inclusion_status
85
+ # Indicates whether the application component has been included for
86
+ # server recommendation or not.
87
+ # @return [String]
88
+ #
89
+ # @!attribute [rw] last_analyzed_timestamp
90
+ # The timestamp of when the application component was assessed.
91
+ # @return [Time]
92
+ #
93
+ # @!attribute [rw] list_antipattern_severity_summary
94
+ # A list of anti-pattern severity summaries.
95
+ # @return [Array<Types::AntipatternSeveritySummary>]
96
+ #
97
+ # @!attribute [rw] more_server_association_exists
98
+ # Set to true if the application component is running on multiple
99
+ # servers.
100
+ # @return [Boolean]
101
+ #
102
+ # @!attribute [rw] name
103
+ # The name of application component.
104
+ # @return [String]
105
+ #
106
+ # @!attribute [rw] os_driver
107
+ # OS driver.
108
+ # @return [String]
109
+ #
110
+ # @!attribute [rw] os_version
111
+ # OS version.
112
+ # @return [String]
113
+ #
114
+ # @!attribute [rw] recommendation_set
115
+ # The top recommendation set for the application component.
116
+ # @return [Types::RecommendationSet]
117
+ #
118
+ # @!attribute [rw] resource_sub_type
119
+ # The application component subtype.
120
+ # @return [String]
121
+ #
122
+ # @!attribute [rw] source_code_repositories
123
+ # Details about the source code repository associated with the
124
+ # application component.
125
+ # @return [Array<Types::SourceCodeRepository>]
126
+ #
127
+ # @!attribute [rw] status_message
128
+ # A detailed description of the analysis status and any failure
129
+ # message.
130
+ # @return [String]
131
+ #
132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ApplicationComponentDetail AWS API Documentation
133
+ #
134
+ class ApplicationComponentDetail < Struct.new(
135
+ :analysis_status,
136
+ :antipattern_report_s3_object,
137
+ :antipattern_report_status,
138
+ :antipattern_report_status_message,
139
+ :app_type,
140
+ :associated_server_id,
141
+ :database_config_detail,
142
+ :id,
143
+ :inclusion_status,
144
+ :last_analyzed_timestamp,
145
+ :list_antipattern_severity_summary,
146
+ :more_server_association_exists,
147
+ :name,
148
+ :os_driver,
149
+ :os_version,
150
+ :recommendation_set,
151
+ :resource_sub_type,
152
+ :source_code_repositories,
153
+ :status_message)
154
+ SENSITIVE = []
155
+ include Aws::Structure
156
+ end
157
+
158
+ # Contains information about a strategy recommendation for an
159
+ # application component.
160
+ #
161
+ # @!attribute [rw] is_preferred
162
+ # Set to true if the recommendation is set as preferred.
163
+ # @return [Boolean]
164
+ #
165
+ # @!attribute [rw] recommendation
166
+ # Strategy recommendation for the application component.
167
+ # @return [Types::RecommendationSet]
168
+ #
169
+ # @!attribute [rw] status
170
+ # The recommendation status of a strategy for an application
171
+ # component.
172
+ # @return [String]
173
+ #
174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ApplicationComponentStrategy AWS API Documentation
175
+ #
176
+ class ApplicationComponentStrategy < Struct.new(
177
+ :is_preferred,
178
+ :recommendation,
179
+ :status)
180
+ SENSITIVE = []
181
+ include Aws::Structure
182
+ end
183
+
184
+ # Contains the summary of application components.
185
+ #
186
+ # @!attribute [rw] app_type
187
+ # Contains the name of application types.
188
+ # @return [String]
189
+ #
190
+ # @!attribute [rw] count
191
+ # Contains the count of application type.
192
+ # @return [Integer]
193
+ #
194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ApplicationComponentSummary AWS API Documentation
195
+ #
196
+ class ApplicationComponentSummary < Struct.new(
197
+ :app_type,
198
+ :count)
199
+ SENSITIVE = []
200
+ include Aws::Structure
201
+ end
202
+
203
+ # Application preferences that you specify.
204
+ #
205
+ # @note When making an API call, you may pass ApplicationPreferences
206
+ # data as a hash:
207
+ #
208
+ # {
209
+ # management_preference: {
210
+ # aws_managed_resources: {
211
+ # target_destination: ["None specified"], # required, accepts None specified, AWS Elastic BeanStalk, AWS Fargate
212
+ # },
213
+ # no_preference: {
214
+ # 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)
215
+ # },
216
+ # self_manage_resources: {
217
+ # target_destination: ["None specified"], # required, accepts None specified, Amazon Elastic Cloud Compute (EC2), Amazon Elastic Container Service (ECS), Amazon Elastic Kubernetes Service (EKS)
218
+ # },
219
+ # },
220
+ # }
221
+ #
222
+ # @!attribute [rw] management_preference
223
+ # Application preferences that you specify to prefer managed
224
+ # environment.
225
+ # @return [Types::ManagementPreference]
226
+ #
227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ApplicationPreferences AWS API Documentation
228
+ #
229
+ class ApplicationPreferences < Struct.new(
230
+ :management_preference)
231
+ SENSITIVE = []
232
+ include Aws::Structure
233
+ end
234
+
235
+ # Contains the summary of the assessment results.
236
+ #
237
+ # @!attribute [rw] antipattern_report_s3_object
238
+ # The Amazon S3 object containing the anti-pattern report.
239
+ # @return [Types::S3Object]
240
+ #
241
+ # @!attribute [rw] antipattern_report_status
242
+ # The status of the anti-pattern report.
243
+ # @return [String]
244
+ #
245
+ # @!attribute [rw] antipattern_report_status_message
246
+ # The status message of the anti-pattern report.
247
+ # @return [String]
248
+ #
249
+ # @!attribute [rw] last_analyzed_timestamp
250
+ # The time the assessment was performed.
251
+ # @return [Time]
252
+ #
253
+ # @!attribute [rw] list_antipattern_severity_summary
254
+ # List of AntipatternSeveritySummary.
255
+ # @return [Array<Types::AntipatternSeveritySummary>]
256
+ #
257
+ # @!attribute [rw] list_application_component_strategy_summary
258
+ # List of ApplicationComponentStrategySummary.
259
+ # @return [Array<Types::StrategySummary>]
260
+ #
261
+ # @!attribute [rw] list_application_component_summary
262
+ # List of ApplicationComponentSummary.
263
+ # @return [Array<Types::ApplicationComponentSummary>]
264
+ #
265
+ # @!attribute [rw] list_server_strategy_summary
266
+ # List of ServerStrategySummary.
267
+ # @return [Array<Types::StrategySummary>]
268
+ #
269
+ # @!attribute [rw] list_server_summary
270
+ # List of ServerSummary.
271
+ # @return [Array<Types::ServerSummary>]
272
+ #
273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/AssessmentSummary AWS API Documentation
274
+ #
275
+ class AssessmentSummary < Struct.new(
276
+ :antipattern_report_s3_object,
277
+ :antipattern_report_status,
278
+ :antipattern_report_status_message,
279
+ :last_analyzed_timestamp,
280
+ :list_antipattern_severity_summary,
281
+ :list_application_component_strategy_summary,
282
+ :list_application_component_summary,
283
+ :list_server_strategy_summary,
284
+ :list_server_summary)
285
+ SENSITIVE = []
286
+ include Aws::Structure
287
+ end
288
+
289
+ # Object containing details about applications as defined in Application
290
+ # Discovery Service.
291
+ #
292
+ # @!attribute [rw] id
293
+ # ID of the application as defined in Application Discovery Service.
294
+ # @return [String]
295
+ #
296
+ # @!attribute [rw] name
297
+ # Name of the application as defined in Application Discovery Service.
298
+ # @return [String]
299
+ #
300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/AssociatedApplication AWS API Documentation
301
+ #
302
+ class AssociatedApplication < Struct.new(
303
+ :id,
304
+ :name)
305
+ SENSITIVE = []
306
+ include Aws::Structure
307
+ end
308
+
309
+ # Object containing the choice of application destination that you
310
+ # specify.
311
+ #
312
+ # @note When making an API call, you may pass AwsManagedResources
313
+ # data as a hash:
314
+ #
315
+ # {
316
+ # target_destination: ["None specified"], # required, accepts None specified, AWS Elastic BeanStalk, AWS Fargate
317
+ # }
318
+ #
319
+ # @!attribute [rw] target_destination
320
+ # The choice of application destination that you specify.
321
+ # @return [Array<String>]
322
+ #
323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/AwsManagedResources AWS API Documentation
324
+ #
325
+ class AwsManagedResources < Struct.new(
326
+ :target_destination)
327
+ SENSITIVE = []
328
+ include Aws::Structure
329
+ end
330
+
331
+ # Business goals that you specify.
332
+ #
333
+ # @note When making an API call, you may pass BusinessGoals
334
+ # data as a hash:
335
+ #
336
+ # {
337
+ # license_cost_reduction: 1,
338
+ # modernize_infrastructure_with_cloud_native_technologies: 1,
339
+ # reduce_operational_overhead_with_managed_services: 1,
340
+ # speed_of_migration: 1,
341
+ # }
342
+ #
343
+ # @!attribute [rw] license_cost_reduction
344
+ # Business goal to reduce license costs.
345
+ # @return [Integer]
346
+ #
347
+ # @!attribute [rw] modernize_infrastructure_with_cloud_native_technologies
348
+ # Business goal to modernize infrastructure by moving to cloud native
349
+ # technologies.
350
+ # @return [Integer]
351
+ #
352
+ # @!attribute [rw] reduce_operational_overhead_with_managed_services
353
+ # Business goal to reduce the operational overhead on the team by
354
+ # moving into managed services.
355
+ # @return [Integer]
356
+ #
357
+ # @!attribute [rw] speed_of_migration
358
+ # Business goal to achieve migration at a fast pace.
359
+ # @return [Integer]
360
+ #
361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/BusinessGoals AWS API Documentation
362
+ #
363
+ class BusinessGoals < Struct.new(
364
+ :license_cost_reduction,
365
+ :modernize_infrastructure_with_cloud_native_technologies,
366
+ :reduce_operational_overhead_with_managed_services,
367
+ :speed_of_migration)
368
+ SENSITIVE = []
369
+ include Aws::Structure
370
+ end
371
+
372
+ # Process data collector that runs in the environment that you specify.
373
+ #
374
+ # @!attribute [rw] collector_health
375
+ # Indicates the health of a collector.
376
+ # @return [String]
377
+ #
378
+ # @!attribute [rw] collector_id
379
+ # The ID of the collector.
380
+ # @return [String]
381
+ #
382
+ # @!attribute [rw] collector_version
383
+ # Current version of the collector that is running in the environment
384
+ # that you specify.
385
+ # @return [String]
386
+ #
387
+ # @!attribute [rw] host_name
388
+ # Hostname of the server that is hosting the collector.
389
+ # @return [String]
390
+ #
391
+ # @!attribute [rw] ip_address
392
+ # IP address of the server that is hosting the collector.
393
+ # @return [String]
394
+ #
395
+ # @!attribute [rw] last_activity_time_stamp
396
+ # Time when the collector last pinged the service.
397
+ # @return [String]
398
+ #
399
+ # @!attribute [rw] registered_time_stamp
400
+ # Time when the collector registered with the service.
401
+ # @return [String]
402
+ #
403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/Collector AWS API Documentation
404
+ #
405
+ class Collector < Struct.new(
406
+ :collector_health,
407
+ :collector_id,
408
+ :collector_version,
409
+ :host_name,
410
+ :ip_address,
411
+ :last_activity_time_stamp,
412
+ :registered_time_stamp)
413
+ SENSITIVE = []
414
+ include Aws::Structure
415
+ end
416
+
417
+ # Exception to indicate that there is an ongoing task when a new task is
418
+ # created. Return when once the existing tasks are complete.
419
+ #
420
+ # @!attribute [rw] message
421
+ # @return [String]
422
+ #
423
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ConflictException AWS API Documentation
424
+ #
425
+ class ConflictException < Struct.new(
426
+ :message)
427
+ SENSITIVE = []
428
+ include Aws::Structure
429
+ end
430
+
431
+ # Detailed information about an assessment.
432
+ #
433
+ # @!attribute [rw] completion_time
434
+ # The time the assessment completes.
435
+ # @return [Time]
436
+ #
437
+ # @!attribute [rw] failed
438
+ # The number of failed servers in the assessment.
439
+ # @return [Integer]
440
+ #
441
+ # @!attribute [rw] in_progress
442
+ # The number of servers with the assessment status `IN_PROGESS`.
443
+ # @return [Integer]
444
+ #
445
+ # @!attribute [rw] servers
446
+ # The total number of servers in the assessment.
447
+ # @return [Integer]
448
+ #
449
+ # @!attribute [rw] start_time
450
+ # The start time of assessment.
451
+ # @return [Time]
452
+ #
453
+ # @!attribute [rw] status
454
+ # The status of the assessment.
455
+ # @return [String]
456
+ #
457
+ # @!attribute [rw] success
458
+ # The number of successful servers in the assessment.
459
+ # @return [Integer]
460
+ #
461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/DataCollectionDetails AWS API Documentation
462
+ #
463
+ class DataCollectionDetails < Struct.new(
464
+ :completion_time,
465
+ :failed,
466
+ :in_progress,
467
+ :servers,
468
+ :start_time,
469
+ :status,
470
+ :success)
471
+ SENSITIVE = []
472
+ include Aws::Structure
473
+ end
474
+
475
+ # Configuration information used for assessing databases.
476
+ #
477
+ # @!attribute [rw] secret_name
478
+ # AWS Secrets Manager key that holds the credentials that you use to
479
+ # connect to a database.
480
+ # @return [String]
481
+ #
482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/DatabaseConfigDetail AWS API Documentation
483
+ #
484
+ class DatabaseConfigDetail < Struct.new(
485
+ :secret_name)
486
+ SENSITIVE = []
487
+ include Aws::Structure
488
+ end
489
+
490
+ # Preferences for migrating a database to AWS.
491
+ #
492
+ # @note DatabaseMigrationPreference is a union - when making an API calls you must set exactly one of the members.
493
+ #
494
+ # @note DatabaseMigrationPreference is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DatabaseMigrationPreference corresponding to the set member.
495
+ #
496
+ # @!attribute [rw] heterogeneous
497
+ # Indicates whether you are interested in moving from one type of
498
+ # database to another. For example, from SQL Server to Amazon Aurora
499
+ # MySQL-Compatible Edition.
500
+ # @return [Types::Heterogeneous]
501
+ #
502
+ # @!attribute [rw] homogeneous
503
+ # Indicates whether you are interested in moving to the same type of
504
+ # database into AWS. For example, from SQL Server in your environment
505
+ # to SQL Server on AWS.
506
+ # @return [Types::Homogeneous]
507
+ #
508
+ # @!attribute [rw] no_preference
509
+ # Indicated that you do not prefer heterogeneous or homogeneous.
510
+ # @return [Types::NoDatabaseMigrationPreference]
511
+ #
512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/DatabaseMigrationPreference AWS API Documentation
513
+ #
514
+ class DatabaseMigrationPreference < Struct.new(
515
+ :heterogeneous,
516
+ :homogeneous,
517
+ :no_preference,
518
+ :unknown)
519
+ SENSITIVE = []
520
+ include Aws::Structure
521
+ include Aws::Structure::Union
522
+
523
+ class Heterogeneous < DatabaseMigrationPreference; end
524
+ class Homogeneous < DatabaseMigrationPreference; end
525
+ class NoPreference < DatabaseMigrationPreference; end
526
+ class Unknown < DatabaseMigrationPreference; end
527
+ end
528
+
529
+ # Preferences on managing your databases on AWS.
530
+ #
531
+ # @note When making an API call, you may pass DatabasePreferences
532
+ # data as a hash:
533
+ #
534
+ # {
535
+ # database_management_preference: "AWS-managed", # accepts AWS-managed, Self-manage, No preference
536
+ # database_migration_preference: {
537
+ # heterogeneous: {
538
+ # target_database_engine: ["None specified"], # required, accepts None specified, Amazon Aurora, AWS PostgreSQL, MySQL, Microsoft SQL Server, Oracle Database, MariaDB, SAP, Db2 LUW, MongoDB
539
+ # },
540
+ # homogeneous: {
541
+ # target_database_engine: ["None specified"], # accepts None specified
542
+ # },
543
+ # no_preference: {
544
+ # target_database_engine: ["None specified"], # required, accepts None specified, Amazon Aurora, AWS PostgreSQL, MySQL, Microsoft SQL Server, Oracle Database, MariaDB, SAP, Db2 LUW, MongoDB
545
+ # },
546
+ # },
547
+ # }
548
+ #
549
+ # @!attribute [rw] database_management_preference
550
+ # Specifies whether you're interested in self-managed databases or
551
+ # databases managed by AWS.
552
+ # @return [String]
553
+ #
554
+ # @!attribute [rw] database_migration_preference
555
+ # Specifies your preferred migration path.
556
+ # @return [Types::DatabaseMigrationPreference]
557
+ #
558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/DatabasePreferences AWS API Documentation
559
+ #
560
+ class DatabasePreferences < Struct.new(
561
+ :database_management_preference,
562
+ :database_migration_preference)
563
+ SENSITIVE = []
564
+ include Aws::Structure
565
+ end
566
+
567
+ # @note When making an API call, you may pass GetApplicationComponentDetailsRequest
568
+ # data as a hash:
569
+ #
570
+ # {
571
+ # application_component_id: "ApplicationComponentId", # required
572
+ # }
573
+ #
574
+ # @!attribute [rw] application_component_id
575
+ # The ID of the application component. The ID is unique within an AWS
576
+ # account.
577
+ # @return [String]
578
+ #
579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentDetailsRequest AWS API Documentation
580
+ #
581
+ class GetApplicationComponentDetailsRequest < Struct.new(
582
+ :application_component_id)
583
+ SENSITIVE = []
584
+ include Aws::Structure
585
+ end
586
+
587
+ # @!attribute [rw] application_component_detail
588
+ # Detailed information about an application component.
589
+ # @return [Types::ApplicationComponentDetail]
590
+ #
591
+ # @!attribute [rw] associated_applications
592
+ # The associated application group as defined in AWS Application
593
+ # Discovery Service.
594
+ # @return [Array<Types::AssociatedApplication>]
595
+ #
596
+ # @!attribute [rw] associated_server_ids
597
+ # A list of the IDs of the servers on which the application component
598
+ # is running.
599
+ # @return [Array<String>]
600
+ #
601
+ # @!attribute [rw] more_application_resource
602
+ # Set to true if the application component belongs to more than one
603
+ # application group.
604
+ # @return [Boolean]
605
+ #
606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentDetailsResponse AWS API Documentation
607
+ #
608
+ class GetApplicationComponentDetailsResponse < Struct.new(
609
+ :application_component_detail,
610
+ :associated_applications,
611
+ :associated_server_ids,
612
+ :more_application_resource)
613
+ SENSITIVE = []
614
+ include Aws::Structure
615
+ end
616
+
617
+ # @note When making an API call, you may pass GetApplicationComponentStrategiesRequest
618
+ # data as a hash:
619
+ #
620
+ # {
621
+ # application_component_id: "ApplicationComponentId", # required
622
+ # }
623
+ #
624
+ # @!attribute [rw] application_component_id
625
+ # The ID of the application component. The ID is unique within an AWS
626
+ # account.
627
+ # @return [String]
628
+ #
629
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentStrategiesRequest AWS API Documentation
630
+ #
631
+ class GetApplicationComponentStrategiesRequest < Struct.new(
632
+ :application_component_id)
633
+ SENSITIVE = []
634
+ include Aws::Structure
635
+ end
636
+
637
+ # @!attribute [rw] application_component_strategies
638
+ # A list of application component strategy recommendations.
639
+ # @return [Array<Types::ApplicationComponentStrategy>]
640
+ #
641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentStrategiesResponse AWS API Documentation
642
+ #
643
+ class GetApplicationComponentStrategiesResponse < Struct.new(
644
+ :application_component_strategies)
645
+ SENSITIVE = []
646
+ include Aws::Structure
647
+ end
648
+
649
+ # @note When making an API call, you may pass GetAssessmentRequest
650
+ # data as a hash:
651
+ #
652
+ # {
653
+ # id: "AsyncTaskId", # required
654
+ # }
655
+ #
656
+ # @!attribute [rw] id
657
+ # The `assessmentid` returned by StartAssessment.
658
+ # @return [String]
659
+ #
660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetAssessmentRequest AWS API Documentation
661
+ #
662
+ class GetAssessmentRequest < Struct.new(
663
+ :id)
664
+ SENSITIVE = []
665
+ include Aws::Structure
666
+ end
667
+
668
+ # @!attribute [rw] data_collection_details
669
+ # Detailed information about the assessment.
670
+ # @return [Types::DataCollectionDetails]
671
+ #
672
+ # @!attribute [rw] id
673
+ # The ID for the specific assessment task.
674
+ # @return [String]
675
+ #
676
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetAssessmentResponse AWS API Documentation
677
+ #
678
+ class GetAssessmentResponse < Struct.new(
679
+ :data_collection_details,
680
+ :id)
681
+ SENSITIVE = []
682
+ include Aws::Structure
683
+ end
684
+
685
+ # @note When making an API call, you may pass GetImportFileTaskRequest
686
+ # data as a hash:
687
+ #
688
+ # {
689
+ # id: "String", # required
690
+ # }
691
+ #
692
+ # @!attribute [rw] id
693
+ # The ID of the import file task. This ID is returned in the response
694
+ # of StartImportFileTask.
695
+ # @return [String]
696
+ #
697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetImportFileTaskRequest AWS API Documentation
698
+ #
699
+ class GetImportFileTaskRequest < Struct.new(
700
+ :id)
701
+ SENSITIVE = []
702
+ include Aws::Structure
703
+ end
704
+
705
+ # @!attribute [rw] completion_time
706
+ # The time that the import task completed.
707
+ # @return [Time]
708
+ #
709
+ # @!attribute [rw] id
710
+ # The import file task `id` returned in the response of
711
+ # StartImportFileTask.
712
+ # @return [String]
713
+ #
714
+ # @!attribute [rw] import_name
715
+ # The name of the import task given in StartImportFileTask.
716
+ # @return [String]
717
+ #
718
+ # @!attribute [rw] input_s3_bucket
719
+ # The S3 bucket where import file is located.
720
+ # @return [String]
721
+ #
722
+ # @!attribute [rw] input_s3_key
723
+ # The Amazon S3 key name of the import file.
724
+ # @return [String]
725
+ #
726
+ # @!attribute [rw] number_of_records_failed
727
+ # The number of records that failed to be imported.
728
+ # @return [Integer]
729
+ #
730
+ # @!attribute [rw] number_of_records_success
731
+ # The number of records successfully imported.
732
+ # @return [Integer]
733
+ #
734
+ # @!attribute [rw] start_time
735
+ # Start time of the import task.
736
+ # @return [Time]
737
+ #
738
+ # @!attribute [rw] status
739
+ # Status of import file task.
740
+ # @return [String]
741
+ #
742
+ # @!attribute [rw] status_report_s3_bucket
743
+ # The S3 bucket name for status report of import task.
744
+ # @return [String]
745
+ #
746
+ # @!attribute [rw] status_report_s3_key
747
+ # The Amazon S3 key name for status report of import task. The report
748
+ # contains details about whether each record imported successfully or
749
+ # why it did not.
750
+ # @return [String]
751
+ #
752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetImportFileTaskResponse AWS API Documentation
753
+ #
754
+ class GetImportFileTaskResponse < Struct.new(
755
+ :completion_time,
756
+ :id,
757
+ :import_name,
758
+ :input_s3_bucket,
759
+ :input_s3_key,
760
+ :number_of_records_failed,
761
+ :number_of_records_success,
762
+ :start_time,
763
+ :status,
764
+ :status_report_s3_bucket,
765
+ :status_report_s3_key)
766
+ SENSITIVE = []
767
+ include Aws::Structure
768
+ end
769
+
770
+ # @api private
771
+ #
772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioPreferencesRequest AWS API Documentation
773
+ #
774
+ class GetPortfolioPreferencesRequest < Aws::EmptyStructure; end
775
+
776
+ # @!attribute [rw] application_preferences
777
+ # The transformation preferences for non-database applications.
778
+ # @return [Types::ApplicationPreferences]
779
+ #
780
+ # @!attribute [rw] database_preferences
781
+ # The transformation preferences for database applications.
782
+ # @return [Types::DatabasePreferences]
783
+ #
784
+ # @!attribute [rw] prioritize_business_goals
785
+ # The rank of business goals based on priority.
786
+ # @return [Types::PrioritizeBusinessGoals]
787
+ #
788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioPreferencesResponse AWS API Documentation
789
+ #
790
+ class GetPortfolioPreferencesResponse < Struct.new(
791
+ :application_preferences,
792
+ :database_preferences,
793
+ :prioritize_business_goals)
794
+ SENSITIVE = []
795
+ include Aws::Structure
796
+ end
797
+
798
+ # @api private
799
+ #
800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioSummaryRequest AWS API Documentation
801
+ #
802
+ class GetPortfolioSummaryRequest < Aws::EmptyStructure; end
803
+
804
+ # @!attribute [rw] assessment_summary
805
+ # An assessment summary for the portfolio including the number of
806
+ # servers to rehost and the overall number of anti-patterns.
807
+ # @return [Types::AssessmentSummary]
808
+ #
809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioSummaryResponse AWS API Documentation
810
+ #
811
+ class GetPortfolioSummaryResponse < Struct.new(
812
+ :assessment_summary)
813
+ SENSITIVE = []
814
+ include Aws::Structure
815
+ end
816
+
817
+ # @note When making an API call, you may pass GetRecommendationReportDetailsRequest
818
+ # data as a hash:
819
+ #
820
+ # {
821
+ # id: "RecommendationTaskId", # required
822
+ # }
823
+ #
824
+ # @!attribute [rw] id
825
+ # The recommendation report generation task `id` returned by
826
+ # StartRecommendationReportGeneration.
827
+ # @return [String]
828
+ #
829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetRecommendationReportDetailsRequest AWS API Documentation
830
+ #
831
+ class GetRecommendationReportDetailsRequest < Struct.new(
832
+ :id)
833
+ SENSITIVE = []
834
+ include Aws::Structure
835
+ end
836
+
837
+ # @!attribute [rw] id
838
+ # The ID of the recommendation report generation task. See the
839
+ # response of StartRecommendationReportGeneration.
840
+ # @return [String]
841
+ #
842
+ # @!attribute [rw] recommendation_report_details
843
+ # Detailed information about the recommendation report.
844
+ # @return [Types::RecommendationReportDetails]
845
+ #
846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetRecommendationReportDetailsResponse AWS API Documentation
847
+ #
848
+ class GetRecommendationReportDetailsResponse < Struct.new(
849
+ :id,
850
+ :recommendation_report_details)
851
+ SENSITIVE = []
852
+ include Aws::Structure
853
+ end
854
+
855
+ # @note When making an API call, you may pass GetServerDetailsRequest
856
+ # data as a hash:
857
+ #
858
+ # {
859
+ # max_results: 1,
860
+ # next_token: "NextToken",
861
+ # server_id: "ServerId", # required
862
+ # }
863
+ #
864
+ # @!attribute [rw] max_results
865
+ # The maximum number of items to include in the response. The maximum
866
+ # value is 100.
867
+ # @return [Integer]
868
+ #
869
+ # @!attribute [rw] next_token
870
+ # The token from a previous call that you use to retrieve the next set
871
+ # of results. For example, if a previous call to this action returned
872
+ # 100 items, but you set `maxResults` to 10. You'll receive a set of
873
+ # 10 results along with a token. You then use the returned token to
874
+ # retrieve the next set of 10.
875
+ # @return [String]
876
+ #
877
+ # @!attribute [rw] server_id
878
+ # The ID of the server.
879
+ # @return [String]
880
+ #
881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerDetailsRequest AWS API Documentation
882
+ #
883
+ class GetServerDetailsRequest < Struct.new(
884
+ :max_results,
885
+ :next_token,
886
+ :server_id)
887
+ SENSITIVE = []
888
+ include Aws::Structure
889
+ end
890
+
891
+ # @!attribute [rw] associated_applications
892
+ # The associated application group the server belongs to, as defined
893
+ # in AWS Application Discovery Service.
894
+ # @return [Array<Types::AssociatedApplication>]
895
+ #
896
+ # @!attribute [rw] next_token
897
+ # The token you use to retrieve the next set of results, or null if
898
+ # there are no more results.
899
+ # @return [String]
900
+ #
901
+ # @!attribute [rw] server_detail
902
+ # Detailed information about the server.
903
+ # @return [Types::ServerDetail]
904
+ #
905
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerDetailsResponse AWS API Documentation
906
+ #
907
+ class GetServerDetailsResponse < Struct.new(
908
+ :associated_applications,
909
+ :next_token,
910
+ :server_detail)
911
+ SENSITIVE = []
912
+ include Aws::Structure
913
+ end
914
+
915
+ # @note When making an API call, you may pass GetServerStrategiesRequest
916
+ # data as a hash:
917
+ #
918
+ # {
919
+ # server_id: "ServerId", # required
920
+ # }
921
+ #
922
+ # @!attribute [rw] server_id
923
+ # The ID of the server.
924
+ # @return [String]
925
+ #
926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerStrategiesRequest AWS API Documentation
927
+ #
928
+ class GetServerStrategiesRequest < Struct.new(
929
+ :server_id)
930
+ SENSITIVE = []
931
+ include Aws::Structure
932
+ end
933
+
934
+ # @!attribute [rw] server_strategies
935
+ # A list of strategy recommendations for the server.
936
+ # @return [Array<Types::ServerStrategy>]
937
+ #
938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerStrategiesResponse AWS API Documentation
939
+ #
940
+ class GetServerStrategiesResponse < Struct.new(
941
+ :server_strategies)
942
+ SENSITIVE = []
943
+ include Aws::Structure
944
+ end
945
+
946
+ # The object containing information about distinct imports or groups for
947
+ # Strategy Recommendations.
948
+ #
949
+ # @note When making an API call, you may pass Group
950
+ # data as a hash:
951
+ #
952
+ # {
953
+ # name: "ExternalId", # accepts ExternalId
954
+ # value: "String",
955
+ # }
956
+ #
957
+ # @!attribute [rw] name
958
+ # The key of the specific import group.
959
+ # @return [String]
960
+ #
961
+ # @!attribute [rw] value
962
+ # The value of the specific import group.
963
+ # @return [String]
964
+ #
965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/Group AWS API Documentation
966
+ #
967
+ class Group < Struct.new(
968
+ :name,
969
+ :value)
970
+ SENSITIVE = []
971
+ include Aws::Structure
972
+ end
973
+
974
+ # The object containing details about heterogeneous database
975
+ # preferences.
976
+ #
977
+ # @note When making an API call, you may pass Heterogeneous
978
+ # data as a hash:
979
+ #
980
+ # {
981
+ # target_database_engine: ["None specified"], # required, accepts None specified, Amazon Aurora, AWS PostgreSQL, MySQL, Microsoft SQL Server, Oracle Database, MariaDB, SAP, Db2 LUW, MongoDB
982
+ # }
983
+ #
984
+ # @!attribute [rw] target_database_engine
985
+ # The target database engine for heterogeneous database migration
986
+ # preference.
987
+ # @return [Array<String>]
988
+ #
989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/Heterogeneous AWS API Documentation
990
+ #
991
+ class Heterogeneous < Struct.new(
992
+ :target_database_engine)
993
+ SENSITIVE = []
994
+ include Aws::Structure
995
+ end
996
+
997
+ # The object containing details about homogeneous database preferences.
998
+ #
999
+ # @note When making an API call, you may pass Homogeneous
1000
+ # data as a hash:
1001
+ #
1002
+ # {
1003
+ # target_database_engine: ["None specified"], # accepts None specified
1004
+ # }
1005
+ #
1006
+ # @!attribute [rw] target_database_engine
1007
+ # The target database engine for homogeneous database migration
1008
+ # preferences.
1009
+ # @return [Array<String>]
1010
+ #
1011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/Homogeneous AWS API Documentation
1012
+ #
1013
+ class Homogeneous < Struct.new(
1014
+ :target_database_engine)
1015
+ SENSITIVE = []
1016
+ include Aws::Structure
1017
+ end
1018
+
1019
+ # Information about the import file tasks you request.
1020
+ #
1021
+ # @!attribute [rw] completion_time
1022
+ # The time that the import task completes.
1023
+ # @return [Time]
1024
+ #
1025
+ # @!attribute [rw] id
1026
+ # The ID of the import file task.
1027
+ # @return [String]
1028
+ #
1029
+ # @!attribute [rw] import_name
1030
+ # The name of the import task given in `StartImportFileTask`.
1031
+ # @return [String]
1032
+ #
1033
+ # @!attribute [rw] input_s3_bucket
1034
+ # The S3 bucket where the import file is located.
1035
+ # @return [String]
1036
+ #
1037
+ # @!attribute [rw] input_s3_key
1038
+ # The Amazon S3 key name of the import file.
1039
+ # @return [String]
1040
+ #
1041
+ # @!attribute [rw] number_of_records_failed
1042
+ # The number of records that failed to be imported.
1043
+ # @return [Integer]
1044
+ #
1045
+ # @!attribute [rw] number_of_records_success
1046
+ # The number of records successfully imported.
1047
+ # @return [Integer]
1048
+ #
1049
+ # @!attribute [rw] start_time
1050
+ # Start time of the import task.
1051
+ # @return [Time]
1052
+ #
1053
+ # @!attribute [rw] status
1054
+ # Status of import file task.
1055
+ # @return [String]
1056
+ #
1057
+ # @!attribute [rw] status_report_s3_bucket
1058
+ # The S3 bucket name for status report of import task.
1059
+ # @return [String]
1060
+ #
1061
+ # @!attribute [rw] status_report_s3_key
1062
+ # The Amazon S3 key name for status report of import task. The report
1063
+ # contains details about whether each record imported successfully or
1064
+ # why it did not.
1065
+ # @return [String]
1066
+ #
1067
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ImportFileTaskInformation AWS API Documentation
1068
+ #
1069
+ class ImportFileTaskInformation < Struct.new(
1070
+ :completion_time,
1071
+ :id,
1072
+ :import_name,
1073
+ :input_s3_bucket,
1074
+ :input_s3_key,
1075
+ :number_of_records_failed,
1076
+ :number_of_records_success,
1077
+ :start_time,
1078
+ :status,
1079
+ :status_report_s3_bucket,
1080
+ :status_report_s3_key)
1081
+ SENSITIVE = []
1082
+ include Aws::Structure
1083
+ end
1084
+
1085
+ # The server experienced an internal error. Try again.
1086
+ #
1087
+ # @!attribute [rw] message
1088
+ # @return [String]
1089
+ #
1090
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/InternalServerException AWS API Documentation
1091
+ #
1092
+ class InternalServerException < Struct.new(
1093
+ :message)
1094
+ SENSITIVE = []
1095
+ include Aws::Structure
1096
+ end
1097
+
1098
+ # @note When making an API call, you may pass ListApplicationComponentsRequest
1099
+ # data as a hash:
1100
+ #
1101
+ # {
1102
+ # application_component_criteria: "NOT_DEFINED", # accepts NOT_DEFINED, APP_NAME, SERVER_ID, APP_TYPE, STRATEGY, DESTINATION
1103
+ # filter_value: "ListApplicationComponentsRequestFilterValueString",
1104
+ # group_id_filter: [
1105
+ # {
1106
+ # name: "ExternalId", # accepts ExternalId
1107
+ # value: "String",
1108
+ # },
1109
+ # ],
1110
+ # max_results: 1,
1111
+ # next_token: "NextToken",
1112
+ # sort: "ASC", # accepts ASC, DESC
1113
+ # }
1114
+ #
1115
+ # @!attribute [rw] application_component_criteria
1116
+ # Criteria for filtering the list of application components.
1117
+ # @return [String]
1118
+ #
1119
+ # @!attribute [rw] filter_value
1120
+ # Specify the value based on the application component criteria type.
1121
+ # For example, if `applicationComponentCriteria` is set to `SERVER_ID`
1122
+ # and `filterValue` is set to `server1`, then
1123
+ # ListApplicationComponents returns all the application components
1124
+ # running on server1.
1125
+ # @return [String]
1126
+ #
1127
+ # @!attribute [rw] group_id_filter
1128
+ # The group ID specified in to filter on.
1129
+ # @return [Array<Types::Group>]
1130
+ #
1131
+ # @!attribute [rw] max_results
1132
+ # The maximum number of items to include in the response. The maximum
1133
+ # value is 100.
1134
+ # @return [Integer]
1135
+ #
1136
+ # @!attribute [rw] next_token
1137
+ # The token from a previous call that you use to retrieve the next set
1138
+ # of results. For example, if a previous call to this action returned
1139
+ # 100 items, but you set `maxResults` to 10. You'll receive a set of
1140
+ # 10 results along with a token. You then use the returned token to
1141
+ # retrieve the next set of 10.
1142
+ # @return [String]
1143
+ #
1144
+ # @!attribute [rw] sort
1145
+ # Specifies whether to sort by ascending (`ASC`) or descending
1146
+ # (`DESC`) order.
1147
+ # @return [String]
1148
+ #
1149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListApplicationComponentsRequest AWS API Documentation
1150
+ #
1151
+ class ListApplicationComponentsRequest < Struct.new(
1152
+ :application_component_criteria,
1153
+ :filter_value,
1154
+ :group_id_filter,
1155
+ :max_results,
1156
+ :next_token,
1157
+ :sort)
1158
+ SENSITIVE = []
1159
+ include Aws::Structure
1160
+ end
1161
+
1162
+ # @!attribute [rw] application_component_infos
1163
+ # The list of application components with detailed information about
1164
+ # each component.
1165
+ # @return [Array<Types::ApplicationComponentDetail>]
1166
+ #
1167
+ # @!attribute [rw] next_token
1168
+ # The token you use to retrieve the next set of results, or null if
1169
+ # there are no more results.
1170
+ # @return [String]
1171
+ #
1172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListApplicationComponentsResponse AWS API Documentation
1173
+ #
1174
+ class ListApplicationComponentsResponse < Struct.new(
1175
+ :application_component_infos,
1176
+ :next_token)
1177
+ SENSITIVE = []
1178
+ include Aws::Structure
1179
+ end
1180
+
1181
+ # @note When making an API call, you may pass ListCollectorsRequest
1182
+ # data as a hash:
1183
+ #
1184
+ # {
1185
+ # max_results: 1,
1186
+ # next_token: "NextToken",
1187
+ # }
1188
+ #
1189
+ # @!attribute [rw] max_results
1190
+ # The maximum number of items to include in the response. The maximum
1191
+ # value is 100.
1192
+ # @return [Integer]
1193
+ #
1194
+ # @!attribute [rw] next_token
1195
+ # The token from a previous call that you use to retrieve the next set
1196
+ # of results. For example, if a previous call to this action returned
1197
+ # 100 items, but you set `maxResults` to 10. You'll receive a set of
1198
+ # 10 results along with a token. You then use the returned token to
1199
+ # retrieve the next set of 10.
1200
+ # @return [String]
1201
+ #
1202
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListCollectorsRequest AWS API Documentation
1203
+ #
1204
+ class ListCollectorsRequest < Struct.new(
1205
+ :max_results,
1206
+ :next_token)
1207
+ SENSITIVE = []
1208
+ include Aws::Structure
1209
+ end
1210
+
1211
+ # @!attribute [rw] collectors
1212
+ # The list of all the installed collectors.
1213
+ # @return [Array<Types::Collector>]
1214
+ #
1215
+ # @!attribute [rw] next_token
1216
+ # The token you use to retrieve the next set of results, or null if
1217
+ # there are no more results.
1218
+ # @return [String]
1219
+ #
1220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListCollectorsResponse AWS API Documentation
1221
+ #
1222
+ class ListCollectorsResponse < Struct.new(
1223
+ :collectors,
1224
+ :next_token)
1225
+ SENSITIVE = []
1226
+ include Aws::Structure
1227
+ end
1228
+
1229
+ # @note When making an API call, you may pass ListImportFileTaskRequest
1230
+ # data as a hash:
1231
+ #
1232
+ # {
1233
+ # max_results: 1,
1234
+ # next_token: "String",
1235
+ # }
1236
+ #
1237
+ # @!attribute [rw] max_results
1238
+ # The total number of items to return. The maximum value is 100.
1239
+ # @return [Integer]
1240
+ #
1241
+ # @!attribute [rw] next_token
1242
+ # The token from a previous call that you use to retrieve the next set
1243
+ # of results. For example, if a previous call to this action returned
1244
+ # 100 items, but you set `maxResults` to 10. You'll receive a set of
1245
+ # 10 results along with a token. You then use the returned token to
1246
+ # retrieve the next set of 10.
1247
+ # @return [String]
1248
+ #
1249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListImportFileTaskRequest AWS API Documentation
1250
+ #
1251
+ class ListImportFileTaskRequest < Struct.new(
1252
+ :max_results,
1253
+ :next_token)
1254
+ SENSITIVE = []
1255
+ include Aws::Structure
1256
+ end
1257
+
1258
+ # @!attribute [rw] next_token
1259
+ # The token you use to retrieve the next set of results, or null if
1260
+ # there are no more results.
1261
+ # @return [String]
1262
+ #
1263
+ # @!attribute [rw] task_infos
1264
+ # Lists information about the files you import.
1265
+ # @return [Array<Types::ImportFileTaskInformation>]
1266
+ #
1267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListImportFileTaskResponse AWS API Documentation
1268
+ #
1269
+ class ListImportFileTaskResponse < Struct.new(
1270
+ :next_token,
1271
+ :task_infos)
1272
+ SENSITIVE = []
1273
+ include Aws::Structure
1274
+ end
1275
+
1276
+ # @note When making an API call, you may pass ListServersRequest
1277
+ # data as a hash:
1278
+ #
1279
+ # {
1280
+ # filter_value: "String",
1281
+ # group_id_filter: [
1282
+ # {
1283
+ # name: "ExternalId", # accepts ExternalId
1284
+ # value: "String",
1285
+ # },
1286
+ # ],
1287
+ # max_results: 1,
1288
+ # next_token: "NextToken",
1289
+ # server_criteria: "NOT_DEFINED", # accepts NOT_DEFINED, OS_NAME, STRATEGY, DESTINATION, SERVER_ID
1290
+ # sort: "ASC", # accepts ASC, DESC
1291
+ # }
1292
+ #
1293
+ # @!attribute [rw] filter_value
1294
+ # Specifies the filter value, which is based on the type of server
1295
+ # criteria. For example, if `serverCriteria` is `OS_NAME`, and the
1296
+ # `filterValue` is equal to `WindowsServer`, then `ListServers`
1297
+ # returns all of the servers matching the OS name `WindowsServer`.
1298
+ # @return [String]
1299
+ #
1300
+ # @!attribute [rw] group_id_filter
1301
+ # Specifies the group ID to filter on.
1302
+ # @return [Array<Types::Group>]
1303
+ #
1304
+ # @!attribute [rw] max_results
1305
+ # The maximum number of items to include in the response. The maximum
1306
+ # value is 100.
1307
+ # @return [Integer]
1308
+ #
1309
+ # @!attribute [rw] next_token
1310
+ # The token from a previous call that you use to retrieve the next set
1311
+ # of results. For example, if a previous call to this action returned
1312
+ # 100 items, but you set `maxResults` to 10. You'll receive a set of
1313
+ # 10 results along with a token. You then use the returned token to
1314
+ # retrieve the next set of 10.
1315
+ # @return [String]
1316
+ #
1317
+ # @!attribute [rw] server_criteria
1318
+ # Criteria for filtering servers.
1319
+ # @return [String]
1320
+ #
1321
+ # @!attribute [rw] sort
1322
+ # Specifies whether to sort by ascending (`ASC`) or descending
1323
+ # (`DESC`) order.
1324
+ # @return [String]
1325
+ #
1326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListServersRequest AWS API Documentation
1327
+ #
1328
+ class ListServersRequest < Struct.new(
1329
+ :filter_value,
1330
+ :group_id_filter,
1331
+ :max_results,
1332
+ :next_token,
1333
+ :server_criteria,
1334
+ :sort)
1335
+ SENSITIVE = []
1336
+ include Aws::Structure
1337
+ end
1338
+
1339
+ # @!attribute [rw] next_token
1340
+ # The token you use to retrieve the next set of results, or null if
1341
+ # there are no more results.
1342
+ # @return [String]
1343
+ #
1344
+ # @!attribute [rw] server_infos
1345
+ # The list of servers with detailed information about each server.
1346
+ # @return [Array<Types::ServerDetail>]
1347
+ #
1348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListServersResponse AWS API Documentation
1349
+ #
1350
+ class ListServersResponse < Struct.new(
1351
+ :next_token,
1352
+ :server_infos)
1353
+ SENSITIVE = []
1354
+ include Aws::Structure
1355
+ end
1356
+
1357
+ # Preferences for migrating an application to AWS.
1358
+ #
1359
+ # @note ManagementPreference is a union - when making an API calls you must set exactly one of the members.
1360
+ #
1361
+ # @note ManagementPreference is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ManagementPreference corresponding to the set member.
1362
+ #
1363
+ # @!attribute [rw] aws_managed_resources
1364
+ # Indicates interest in solutions that are managed by AWS.
1365
+ # @return [Types::AwsManagedResources]
1366
+ #
1367
+ # @!attribute [rw] no_preference
1368
+ # No specific preference.
1369
+ # @return [Types::NoManagementPreference]
1370
+ #
1371
+ # @!attribute [rw] self_manage_resources
1372
+ # Indicates interest in managing your own resources on AWS.
1373
+ # @return [Types::SelfManageResources]
1374
+ #
1375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ManagementPreference AWS API Documentation
1376
+ #
1377
+ class ManagementPreference < Struct.new(
1378
+ :aws_managed_resources,
1379
+ :no_preference,
1380
+ :self_manage_resources,
1381
+ :unknown)
1382
+ SENSITIVE = []
1383
+ include Aws::Structure
1384
+ include Aws::Structure::Union
1385
+
1386
+ class AwsManagedResources < ManagementPreference; end
1387
+ class NoPreference < ManagementPreference; end
1388
+ class SelfManageResources < ManagementPreference; end
1389
+ class Unknown < ManagementPreference; end
1390
+ end
1391
+
1392
+ # Information about the server's network for which the assessment was
1393
+ # run.
1394
+ #
1395
+ # @!attribute [rw] interface_name
1396
+ # Information about the name of the interface of the server for which
1397
+ # the assessment was run.
1398
+ # @return [String]
1399
+ #
1400
+ # @!attribute [rw] ip_address
1401
+ # Information about the IP address of the server for which the
1402
+ # assessment was run.
1403
+ # @return [String]
1404
+ #
1405
+ # @!attribute [rw] mac_address
1406
+ # Information about the MAC address of the server for which the
1407
+ # assessment was run.
1408
+ # @return [String]
1409
+ #
1410
+ # @!attribute [rw] net_mask
1411
+ # Information about the subnet mask of the server for which the
1412
+ # assessment was run.
1413
+ # @return [String]
1414
+ #
1415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/NetworkInfo AWS API Documentation
1416
+ #
1417
+ class NetworkInfo < Struct.new(
1418
+ :interface_name,
1419
+ :ip_address,
1420
+ :mac_address,
1421
+ :net_mask)
1422
+ SENSITIVE = []
1423
+ include Aws::Structure
1424
+ end
1425
+
1426
+ # The object containing details about database migration preferences,
1427
+ # when you have no particular preference.
1428
+ #
1429
+ # @note When making an API call, you may pass NoDatabaseMigrationPreference
1430
+ # data as a hash:
1431
+ #
1432
+ # {
1433
+ # target_database_engine: ["None specified"], # required, accepts None specified, Amazon Aurora, AWS PostgreSQL, MySQL, Microsoft SQL Server, Oracle Database, MariaDB, SAP, Db2 LUW, MongoDB
1434
+ # }
1435
+ #
1436
+ # @!attribute [rw] target_database_engine
1437
+ # The target database engine for database migration preference that
1438
+ # you specify.
1439
+ # @return [Array<String>]
1440
+ #
1441
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/NoDatabaseMigrationPreference AWS API Documentation
1442
+ #
1443
+ class NoDatabaseMigrationPreference < Struct.new(
1444
+ :target_database_engine)
1445
+ SENSITIVE = []
1446
+ include Aws::Structure
1447
+ end
1448
+
1449
+ # Object containing the choice of application destination that you
1450
+ # specify.
1451
+ #
1452
+ # @note When making an API call, you may pass NoManagementPreference
1453
+ # data as a hash:
1454
+ #
1455
+ # {
1456
+ # 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)
1457
+ # }
1458
+ #
1459
+ # @!attribute [rw] target_destination
1460
+ # The choice of application destination that you specify.
1461
+ # @return [Array<String>]
1462
+ #
1463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/NoManagementPreference AWS API Documentation
1464
+ #
1465
+ class NoManagementPreference < Struct.new(
1466
+ :target_destination)
1467
+ SENSITIVE = []
1468
+ include Aws::Structure
1469
+ end
1470
+
1471
+ # Information about the operating system.
1472
+ #
1473
+ # @!attribute [rw] type
1474
+ # Information about the type of operating system.
1475
+ # @return [String]
1476
+ #
1477
+ # @!attribute [rw] version
1478
+ # Information about the version of operating system.
1479
+ # @return [String]
1480
+ #
1481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/OSInfo AWS API Documentation
1482
+ #
1483
+ class OSInfo < Struct.new(
1484
+ :type,
1485
+ :version)
1486
+ SENSITIVE = []
1487
+ include Aws::Structure
1488
+ end
1489
+
1490
+ # Rank of business goals based on priority.
1491
+ #
1492
+ # @note When making an API call, you may pass PrioritizeBusinessGoals
1493
+ # data as a hash:
1494
+ #
1495
+ # {
1496
+ # business_goals: {
1497
+ # license_cost_reduction: 1,
1498
+ # modernize_infrastructure_with_cloud_native_technologies: 1,
1499
+ # reduce_operational_overhead_with_managed_services: 1,
1500
+ # speed_of_migration: 1,
1501
+ # },
1502
+ # }
1503
+ #
1504
+ # @!attribute [rw] business_goals
1505
+ # Rank of business goals based on priority.
1506
+ # @return [Types::BusinessGoals]
1507
+ #
1508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/PrioritizeBusinessGoals AWS API Documentation
1509
+ #
1510
+ class PrioritizeBusinessGoals < Struct.new(
1511
+ :business_goals)
1512
+ SENSITIVE = []
1513
+ include Aws::Structure
1514
+ end
1515
+
1516
+ # @note When making an API call, you may pass PutPortfolioPreferencesRequest
1517
+ # data as a hash:
1518
+ #
1519
+ # {
1520
+ # application_preferences: {
1521
+ # management_preference: {
1522
+ # aws_managed_resources: {
1523
+ # target_destination: ["None specified"], # required, accepts None specified, AWS Elastic BeanStalk, AWS Fargate
1524
+ # },
1525
+ # no_preference: {
1526
+ # 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)
1527
+ # },
1528
+ # self_manage_resources: {
1529
+ # target_destination: ["None specified"], # required, accepts None specified, Amazon Elastic Cloud Compute (EC2), Amazon Elastic Container Service (ECS), Amazon Elastic Kubernetes Service (EKS)
1530
+ # },
1531
+ # },
1532
+ # },
1533
+ # database_preferences: {
1534
+ # database_management_preference: "AWS-managed", # accepts AWS-managed, Self-manage, No preference
1535
+ # database_migration_preference: {
1536
+ # heterogeneous: {
1537
+ # target_database_engine: ["None specified"], # required, accepts None specified, Amazon Aurora, AWS PostgreSQL, MySQL, Microsoft SQL Server, Oracle Database, MariaDB, SAP, Db2 LUW, MongoDB
1538
+ # },
1539
+ # homogeneous: {
1540
+ # target_database_engine: ["None specified"], # accepts None specified
1541
+ # },
1542
+ # no_preference: {
1543
+ # target_database_engine: ["None specified"], # required, accepts None specified, Amazon Aurora, AWS PostgreSQL, MySQL, Microsoft SQL Server, Oracle Database, MariaDB, SAP, Db2 LUW, MongoDB
1544
+ # },
1545
+ # },
1546
+ # },
1547
+ # prioritize_business_goals: {
1548
+ # business_goals: {
1549
+ # license_cost_reduction: 1,
1550
+ # modernize_infrastructure_with_cloud_native_technologies: 1,
1551
+ # reduce_operational_overhead_with_managed_services: 1,
1552
+ # speed_of_migration: 1,
1553
+ # },
1554
+ # },
1555
+ # }
1556
+ #
1557
+ # @!attribute [rw] application_preferences
1558
+ # The transformation preferences for non-database applications.
1559
+ # @return [Types::ApplicationPreferences]
1560
+ #
1561
+ # @!attribute [rw] database_preferences
1562
+ # The transformation preferences for database applications.
1563
+ # @return [Types::DatabasePreferences]
1564
+ #
1565
+ # @!attribute [rw] prioritize_business_goals
1566
+ # The rank of the business goals based on priority.
1567
+ # @return [Types::PrioritizeBusinessGoals]
1568
+ #
1569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/PutPortfolioPreferencesRequest AWS API Documentation
1570
+ #
1571
+ class PutPortfolioPreferencesRequest < Struct.new(
1572
+ :application_preferences,
1573
+ :database_preferences,
1574
+ :prioritize_business_goals)
1575
+ SENSITIVE = []
1576
+ include Aws::Structure
1577
+ end
1578
+
1579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/PutPortfolioPreferencesResponse AWS API Documentation
1580
+ #
1581
+ class PutPortfolioPreferencesResponse < Aws::EmptyStructure; end
1582
+
1583
+ # Contains detailed information about a recommendation report.
1584
+ #
1585
+ # @!attribute [rw] completion_time
1586
+ # The time that the recommendation report generation task completes.
1587
+ # @return [Time]
1588
+ #
1589
+ # @!attribute [rw] s3_bucket
1590
+ # The S3 bucket where the report file is located.
1591
+ # @return [String]
1592
+ #
1593
+ # @!attribute [rw] s3_keys
1594
+ # The Amazon S3 key name of the report file.
1595
+ # @return [Array<String>]
1596
+ #
1597
+ # @!attribute [rw] start_time
1598
+ # The time that the recommendation report generation task starts.
1599
+ # @return [Time]
1600
+ #
1601
+ # @!attribute [rw] status
1602
+ # The status of the recommendation report generation task.
1603
+ # @return [String]
1604
+ #
1605
+ # @!attribute [rw] status_message
1606
+ # The status message for recommendation report generation.
1607
+ # @return [String]
1608
+ #
1609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/RecommendationReportDetails AWS API Documentation
1610
+ #
1611
+ class RecommendationReportDetails < Struct.new(
1612
+ :completion_time,
1613
+ :s3_bucket,
1614
+ :s3_keys,
1615
+ :start_time,
1616
+ :status,
1617
+ :status_message)
1618
+ SENSITIVE = []
1619
+ include Aws::Structure
1620
+ end
1621
+
1622
+ # Contains a recommendation set.
1623
+ #
1624
+ # @!attribute [rw] strategy
1625
+ # The recommended strategy.
1626
+ # @return [String]
1627
+ #
1628
+ # @!attribute [rw] target_destination
1629
+ # The recommended target destination.
1630
+ # @return [String]
1631
+ #
1632
+ # @!attribute [rw] transformation_tool
1633
+ # The target destination for the recommendation set.
1634
+ # @return [Types::TransformationTool]
1635
+ #
1636
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/RecommendationSet AWS API Documentation
1637
+ #
1638
+ class RecommendationSet < Struct.new(
1639
+ :strategy,
1640
+ :target_destination,
1641
+ :transformation_tool)
1642
+ SENSITIVE = []
1643
+ include Aws::Structure
1644
+ end
1645
+
1646
+ # The specified ID in the request is not found.
1647
+ #
1648
+ # @!attribute [rw] message
1649
+ # @return [String]
1650
+ #
1651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ResourceNotFoundException AWS API Documentation
1652
+ #
1653
+ class ResourceNotFoundException < Struct.new(
1654
+ :message)
1655
+ SENSITIVE = []
1656
+ include Aws::Structure
1657
+ end
1658
+
1659
+ # Contains the S3 bucket name and the Amazon S3 key name.
1660
+ #
1661
+ # @!attribute [rw] s3_bucket
1662
+ # The S3 bucket name.
1663
+ # @return [String]
1664
+ #
1665
+ # @!attribute [rw] s3key
1666
+ # The Amazon S3 key name.
1667
+ # @return [String]
1668
+ #
1669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/S3Object AWS API Documentation
1670
+ #
1671
+ class S3Object < Struct.new(
1672
+ :s3_bucket,
1673
+ :s3key)
1674
+ SENSITIVE = []
1675
+ include Aws::Structure
1676
+ end
1677
+
1678
+ # Self-managed resources.
1679
+ #
1680
+ # @note When making an API call, you may pass SelfManageResources
1681
+ # data as a hash:
1682
+ #
1683
+ # {
1684
+ # target_destination: ["None specified"], # required, accepts None specified, Amazon Elastic Cloud Compute (EC2), Amazon Elastic Container Service (ECS), Amazon Elastic Kubernetes Service (EKS)
1685
+ # }
1686
+ #
1687
+ # @!attribute [rw] target_destination
1688
+ # Self-managed resources target destination.
1689
+ # @return [Array<String>]
1690
+ #
1691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/SelfManageResources AWS API Documentation
1692
+ #
1693
+ class SelfManageResources < Struct.new(
1694
+ :target_destination)
1695
+ SENSITIVE = []
1696
+ include Aws::Structure
1697
+ end
1698
+
1699
+ # Detailed information about a server.
1700
+ #
1701
+ # @!attribute [rw] antipattern_report_s3_object
1702
+ # The S3 bucket name and Amazon S3 key name for anti-pattern report.
1703
+ # @return [Types::S3Object]
1704
+ #
1705
+ # @!attribute [rw] antipattern_report_status
1706
+ # The status of the anti-pattern report generation.
1707
+ # @return [String]
1708
+ #
1709
+ # @!attribute [rw] antipattern_report_status_message
1710
+ # A message about the status of the anti-pattern report generation.
1711
+ # @return [String]
1712
+ #
1713
+ # @!attribute [rw] application_component_strategy_summary
1714
+ # A list of strategy summaries.
1715
+ # @return [Array<Types::StrategySummary>]
1716
+ #
1717
+ # @!attribute [rw] data_collection_status
1718
+ # The status of assessment for the server.
1719
+ # @return [String]
1720
+ #
1721
+ # @!attribute [rw] id
1722
+ # The server ID.
1723
+ # @return [String]
1724
+ #
1725
+ # @!attribute [rw] last_analyzed_timestamp
1726
+ # The timestamp of when the server was assessed.
1727
+ # @return [Time]
1728
+ #
1729
+ # @!attribute [rw] list_antipattern_severity_summary
1730
+ # A list of anti-pattern severity summaries.
1731
+ # @return [Array<Types::AntipatternSeveritySummary>]
1732
+ #
1733
+ # @!attribute [rw] name
1734
+ # The name of the server.
1735
+ # @return [String]
1736
+ #
1737
+ # @!attribute [rw] recommendation_set
1738
+ # A set of recommendations.
1739
+ # @return [Types::RecommendationSet]
1740
+ #
1741
+ # @!attribute [rw] server_type
1742
+ # The type of server.
1743
+ # @return [String]
1744
+ #
1745
+ # @!attribute [rw] status_message
1746
+ # A message about the status of data collection, which contains
1747
+ # detailed descriptions of any error messages.
1748
+ # @return [String]
1749
+ #
1750
+ # @!attribute [rw] system_info
1751
+ # System information about the server.
1752
+ # @return [Types::SystemInfo]
1753
+ #
1754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ServerDetail AWS API Documentation
1755
+ #
1756
+ class ServerDetail < Struct.new(
1757
+ :antipattern_report_s3_object,
1758
+ :antipattern_report_status,
1759
+ :antipattern_report_status_message,
1760
+ :application_component_strategy_summary,
1761
+ :data_collection_status,
1762
+ :id,
1763
+ :last_analyzed_timestamp,
1764
+ :list_antipattern_severity_summary,
1765
+ :name,
1766
+ :recommendation_set,
1767
+ :server_type,
1768
+ :status_message,
1769
+ :system_info)
1770
+ SENSITIVE = []
1771
+ include Aws::Structure
1772
+ end
1773
+
1774
+ # Contains information about a strategy recommendation for a server.
1775
+ #
1776
+ # @!attribute [rw] is_preferred
1777
+ # Set to true if the recommendation is set as preferred.
1778
+ # @return [Boolean]
1779
+ #
1780
+ # @!attribute [rw] number_of_application_components
1781
+ # The number of application components with this strategy
1782
+ # recommendation running on the server.
1783
+ # @return [Integer]
1784
+ #
1785
+ # @!attribute [rw] recommendation
1786
+ # Strategy recommendation for the server.
1787
+ # @return [Types::RecommendationSet]
1788
+ #
1789
+ # @!attribute [rw] status
1790
+ # The recommendation status of the strategy for the server.
1791
+ # @return [String]
1792
+ #
1793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ServerStrategy AWS API Documentation
1794
+ #
1795
+ class ServerStrategy < Struct.new(
1796
+ :is_preferred,
1797
+ :number_of_application_components,
1798
+ :recommendation,
1799
+ :status)
1800
+ SENSITIVE = []
1801
+ include Aws::Structure
1802
+ end
1803
+
1804
+ # Object containing details about the servers imported by Application
1805
+ # Discovery Service
1806
+ #
1807
+ # @!attribute [rw] server_os_type
1808
+ # Type of operating system for the servers.
1809
+ # @return [String]
1810
+ #
1811
+ # @!attribute [rw] count
1812
+ # Number of servers.
1813
+ # @return [Integer]
1814
+ #
1815
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ServerSummary AWS API Documentation
1816
+ #
1817
+ class ServerSummary < Struct.new(
1818
+ :server_os_type,
1819
+ :count)
1820
+ SENSITIVE = []
1821
+ include Aws::Structure
1822
+ end
1823
+
1824
+ # Exception to indicate that the service-linked role (SLR) is locked.
1825
+ #
1826
+ # @!attribute [rw] message
1827
+ # @return [String]
1828
+ #
1829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ServiceLinkedRoleLockClientException AWS API Documentation
1830
+ #
1831
+ class ServiceLinkedRoleLockClientException < Struct.new(
1832
+ :message)
1833
+ SENSITIVE = []
1834
+ include Aws::Structure
1835
+ end
1836
+
1837
+ # The AWS account has reached its quota of imports. Contact AWS Support
1838
+ # to increase the quota for this account.
1839
+ #
1840
+ # @!attribute [rw] message
1841
+ # @return [String]
1842
+ #
1843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ServiceQuotaExceededException AWS API Documentation
1844
+ #
1845
+ class ServiceQuotaExceededException < Struct.new(
1846
+ :message)
1847
+ SENSITIVE = []
1848
+ include Aws::Structure
1849
+ end
1850
+
1851
+ # Object containing source code information that is linked to an
1852
+ # application component.
1853
+ #
1854
+ # @note When making an API call, you may pass SourceCode
1855
+ # data as a hash:
1856
+ #
1857
+ # {
1858
+ # location: "Location",
1859
+ # source_version: "SourceVersion",
1860
+ # version_control: "GITHUB", # accepts GITHUB, GITHUB_ENTERPRISE
1861
+ # }
1862
+ #
1863
+ # @!attribute [rw] location
1864
+ # The repository name for the source code.
1865
+ # @return [String]
1866
+ #
1867
+ # @!attribute [rw] source_version
1868
+ # The branch of the source code.
1869
+ # @return [String]
1870
+ #
1871
+ # @!attribute [rw] version_control
1872
+ # The type of repository to use for the source code.
1873
+ # @return [String]
1874
+ #
1875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/SourceCode AWS API Documentation
1876
+ #
1877
+ class SourceCode < Struct.new(
1878
+ :location,
1879
+ :source_version,
1880
+ :version_control)
1881
+ SENSITIVE = []
1882
+ include Aws::Structure
1883
+ end
1884
+
1885
+ # Object containing source code information that is linked to an
1886
+ # application component.
1887
+ #
1888
+ # @!attribute [rw] branch
1889
+ # The branch of the source code.
1890
+ # @return [String]
1891
+ #
1892
+ # @!attribute [rw] repository
1893
+ # The repository name for the source code.
1894
+ # @return [String]
1895
+ #
1896
+ # @!attribute [rw] version_control_type
1897
+ # The type of repository to use for the source code.
1898
+ # @return [String]
1899
+ #
1900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/SourceCodeRepository AWS API Documentation
1901
+ #
1902
+ class SourceCodeRepository < Struct.new(
1903
+ :branch,
1904
+ :repository,
1905
+ :version_control_type)
1906
+ SENSITIVE = []
1907
+ include Aws::Structure
1908
+ end
1909
+
1910
+ # @note When making an API call, you may pass StartAssessmentRequest
1911
+ # data as a hash:
1912
+ #
1913
+ # {
1914
+ # s3bucket_for_analysis_data: "StartAssessmentRequestS3bucketForAnalysisDataString",
1915
+ # s3bucket_for_report_data: "StartAssessmentRequestS3bucketForReportDataString",
1916
+ # }
1917
+ #
1918
+ # @!attribute [rw] s3bucket_for_analysis_data
1919
+ # The S3 bucket used by the collectors to send analysis data to the
1920
+ # service. The bucket name must begin with `migrationhub-strategy-`.
1921
+ # @return [String]
1922
+ #
1923
+ # @!attribute [rw] s3bucket_for_report_data
1924
+ # The S3 bucket where all the reports generated by the service are
1925
+ # stored. The bucket name must begin with `migrationhub-strategy-`.
1926
+ # @return [String]
1927
+ #
1928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartAssessmentRequest AWS API Documentation
1929
+ #
1930
+ class StartAssessmentRequest < Struct.new(
1931
+ :s3bucket_for_analysis_data,
1932
+ :s3bucket_for_report_data)
1933
+ SENSITIVE = []
1934
+ include Aws::Structure
1935
+ end
1936
+
1937
+ # @!attribute [rw] assessment_id
1938
+ # The ID of the assessment.
1939
+ # @return [String]
1940
+ #
1941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartAssessmentResponse AWS API Documentation
1942
+ #
1943
+ class StartAssessmentResponse < Struct.new(
1944
+ :assessment_id)
1945
+ SENSITIVE = []
1946
+ include Aws::Structure
1947
+ end
1948
+
1949
+ # @note When making an API call, you may pass StartImportFileTaskRequest
1950
+ # data as a hash:
1951
+ #
1952
+ # {
1953
+ # s3_bucket: "importS3Bucket", # required
1954
+ # data_source_type: "ApplicationDiscoveryService", # accepts ApplicationDiscoveryService, MPA
1955
+ # group_id: [
1956
+ # {
1957
+ # name: "ExternalId", # accepts ExternalId
1958
+ # value: "String",
1959
+ # },
1960
+ # ],
1961
+ # name: "StartImportFileTaskRequestNameString", # required
1962
+ # s3bucket_for_report_data: "StartImportFileTaskRequestS3bucketForReportDataString",
1963
+ # s3key: "String", # required
1964
+ # }
1965
+ #
1966
+ # @!attribute [rw] s3_bucket
1967
+ # The S3 bucket where the import file is located. The bucket name is
1968
+ # required to begin with `migrationhub-strategy-`.
1969
+ # @return [String]
1970
+ #
1971
+ # @!attribute [rw] data_source_type
1972
+ # Specifies the source that the servers are coming from. By default,
1973
+ # Strategy Recommendations assumes that the servers specified in the
1974
+ # import file are available in AWS Application Discovery Service.
1975
+ # @return [String]
1976
+ #
1977
+ # @!attribute [rw] group_id
1978
+ # Groups the resources in the import file together with a unique name.
1979
+ # This ID can be as filter in `ListApplicationComponents` and
1980
+ # `ListServers`.
1981
+ # @return [Array<Types::Group>]
1982
+ #
1983
+ # @!attribute [rw] name
1984
+ # A descriptive name for the request.
1985
+ # @return [String]
1986
+ #
1987
+ # @!attribute [rw] s3bucket_for_report_data
1988
+ # The S3 bucket where Strategy Recommendations uploads import results.
1989
+ # The bucket name is required to begin with migrationhub-strategy-.
1990
+ # @return [String]
1991
+ #
1992
+ # @!attribute [rw] s3key
1993
+ # The Amazon S3 key name of the import file.
1994
+ # @return [String]
1995
+ #
1996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartImportFileTaskRequest AWS API Documentation
1997
+ #
1998
+ class StartImportFileTaskRequest < Struct.new(
1999
+ :s3_bucket,
2000
+ :data_source_type,
2001
+ :group_id,
2002
+ :name,
2003
+ :s3bucket_for_report_data,
2004
+ :s3key)
2005
+ SENSITIVE = []
2006
+ include Aws::Structure
2007
+ end
2008
+
2009
+ # @!attribute [rw] id
2010
+ # The ID for a specific import task. The ID is unique within an AWS
2011
+ # account.
2012
+ # @return [String]
2013
+ #
2014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartImportFileTaskResponse AWS API Documentation
2015
+ #
2016
+ class StartImportFileTaskResponse < Struct.new(
2017
+ :id)
2018
+ SENSITIVE = []
2019
+ include Aws::Structure
2020
+ end
2021
+
2022
+ # @note When making an API call, you may pass StartRecommendationReportGenerationRequest
2023
+ # data as a hash:
2024
+ #
2025
+ # {
2026
+ # group_id_filter: [
2027
+ # {
2028
+ # name: "ExternalId", # accepts ExternalId
2029
+ # value: "String",
2030
+ # },
2031
+ # ],
2032
+ # output_format: "Excel", # accepts Excel, Json
2033
+ # }
2034
+ #
2035
+ # @!attribute [rw] group_id_filter
2036
+ # Groups the resources in the recommendation report with a unique
2037
+ # name.
2038
+ # @return [Array<Types::Group>]
2039
+ #
2040
+ # @!attribute [rw] output_format
2041
+ # The output format for the recommendation report file. The default
2042
+ # format is Microsoft Excel.
2043
+ # @return [String]
2044
+ #
2045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartRecommendationReportGenerationRequest AWS API Documentation
2046
+ #
2047
+ class StartRecommendationReportGenerationRequest < Struct.new(
2048
+ :group_id_filter,
2049
+ :output_format)
2050
+ SENSITIVE = []
2051
+ include Aws::Structure
2052
+ end
2053
+
2054
+ # @!attribute [rw] id
2055
+ # The ID of the recommendation report generation task.
2056
+ # @return [String]
2057
+ #
2058
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartRecommendationReportGenerationResponse AWS API Documentation
2059
+ #
2060
+ class StartRecommendationReportGenerationResponse < Struct.new(
2061
+ :id)
2062
+ SENSITIVE = []
2063
+ include Aws::Structure
2064
+ end
2065
+
2066
+ # @note When making an API call, you may pass StopAssessmentRequest
2067
+ # data as a hash:
2068
+ #
2069
+ # {
2070
+ # assessment_id: "AsyncTaskId", # required
2071
+ # }
2072
+ #
2073
+ # @!attribute [rw] assessment_id
2074
+ # The `assessmentId` returned by StartAssessment.
2075
+ # @return [String]
2076
+ #
2077
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StopAssessmentRequest AWS API Documentation
2078
+ #
2079
+ class StopAssessmentRequest < Struct.new(
2080
+ :assessment_id)
2081
+ SENSITIVE = []
2082
+ include Aws::Structure
2083
+ end
2084
+
2085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StopAssessmentResponse AWS API Documentation
2086
+ #
2087
+ class StopAssessmentResponse < Aws::EmptyStructure; end
2088
+
2089
+ # Information about all the available strategy options for migrating and
2090
+ # modernizing an application component.
2091
+ #
2092
+ # @note When making an API call, you may pass StrategyOption
2093
+ # data as a hash:
2094
+ #
2095
+ # {
2096
+ # is_preferred: false,
2097
+ # strategy: "Rehost", # accepts Rehost, Retirement, Refactor, Replatform, Retain, Relocate, Repurchase
2098
+ # 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
2099
+ # 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
2100
+ # }
2101
+ #
2102
+ # @!attribute [rw] is_preferred
2103
+ # Indicates if a specific strategy is preferred for the application
2104
+ # component.
2105
+ # @return [Boolean]
2106
+ #
2107
+ # @!attribute [rw] strategy
2108
+ # Type of transformation. For example, Rehost, Replatform, and so on.
2109
+ # @return [String]
2110
+ #
2111
+ # @!attribute [rw] target_destination
2112
+ # Destination information about where the application component can
2113
+ # migrate to. For example, `EC2`, `ECS`, and so on.
2114
+ # @return [String]
2115
+ #
2116
+ # @!attribute [rw] tool_name
2117
+ # The name of the tool that can be used to transform an application
2118
+ # component using this strategy.
2119
+ # @return [String]
2120
+ #
2121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StrategyOption AWS API Documentation
2122
+ #
2123
+ class StrategyOption < Struct.new(
2124
+ :is_preferred,
2125
+ :strategy,
2126
+ :target_destination,
2127
+ :tool_name)
2128
+ SENSITIVE = []
2129
+ include Aws::Structure
2130
+ end
2131
+
2132
+ # Object containing the summary of the strategy recommendations.
2133
+ #
2134
+ # @!attribute [rw] count
2135
+ # The count of recommendations per strategy.
2136
+ # @return [Integer]
2137
+ #
2138
+ # @!attribute [rw] strategy
2139
+ # The name of recommended strategy.
2140
+ # @return [String]
2141
+ #
2142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StrategySummary AWS API Documentation
2143
+ #
2144
+ class StrategySummary < Struct.new(
2145
+ :count,
2146
+ :strategy)
2147
+ SENSITIVE = []
2148
+ include Aws::Structure
2149
+ end
2150
+
2151
+ # Information about the server that hosts application components.
2152
+ #
2153
+ # @!attribute [rw] cpu_architecture
2154
+ # CPU architecture type for the server.
2155
+ # @return [String]
2156
+ #
2157
+ # @!attribute [rw] file_system_type
2158
+ # File system type for the server.
2159
+ # @return [String]
2160
+ #
2161
+ # @!attribute [rw] network_info_list
2162
+ # Networking information related to a server.
2163
+ # @return [Array<Types::NetworkInfo>]
2164
+ #
2165
+ # @!attribute [rw] os_info
2166
+ # Operating system corresponding to a server.
2167
+ # @return [Types::OSInfo]
2168
+ #
2169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/SystemInfo AWS API Documentation
2170
+ #
2171
+ class SystemInfo < Struct.new(
2172
+ :cpu_architecture,
2173
+ :file_system_type,
2174
+ :network_info_list,
2175
+ :os_info)
2176
+ SENSITIVE = []
2177
+ include Aws::Structure
2178
+ end
2179
+
2180
+ # The request was denied due to request throttling.
2181
+ #
2182
+ # @!attribute [rw] message
2183
+ # @return [String]
2184
+ #
2185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ThrottlingException AWS API Documentation
2186
+ #
2187
+ class ThrottlingException < Struct.new(
2188
+ :message)
2189
+ SENSITIVE = []
2190
+ include Aws::Structure
2191
+ end
2192
+
2193
+ # Information of the transformation tool that can be used to migrate and
2194
+ # modernize the application.
2195
+ #
2196
+ # @!attribute [rw] description
2197
+ # Description of the tool.
2198
+ # @return [String]
2199
+ #
2200
+ # @!attribute [rw] name
2201
+ # Name of the tool.
2202
+ # @return [String]
2203
+ #
2204
+ # @!attribute [rw] tranformation_tool_installation_link
2205
+ # URL for installing the tool.
2206
+ # @return [String]
2207
+ #
2208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/TransformationTool AWS API Documentation
2209
+ #
2210
+ class TransformationTool < Struct.new(
2211
+ :description,
2212
+ :name,
2213
+ :tranformation_tool_installation_link)
2214
+ SENSITIVE = []
2215
+ include Aws::Structure
2216
+ end
2217
+
2218
+ # @note When making an API call, you may pass UpdateApplicationComponentConfigRequest
2219
+ # data as a hash:
2220
+ #
2221
+ # {
2222
+ # application_component_id: "ApplicationComponentId", # required
2223
+ # inclusion_status: "excludeFromAssessment", # accepts excludeFromAssessment, includeInAssessment
2224
+ # secrets_manager_key: "SecretsManagerKey",
2225
+ # source_code_list: [
2226
+ # {
2227
+ # location: "Location",
2228
+ # source_version: "SourceVersion",
2229
+ # version_control: "GITHUB", # accepts GITHUB, GITHUB_ENTERPRISE
2230
+ # },
2231
+ # ],
2232
+ # strategy_option: {
2233
+ # is_preferred: false,
2234
+ # strategy: "Rehost", # accepts Rehost, Retirement, Refactor, Replatform, Retain, Relocate, Repurchase
2235
+ # 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
2236
+ # 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
2237
+ # },
2238
+ # }
2239
+ #
2240
+ # @!attribute [rw] application_component_id
2241
+ # The ID of the application component. The ID is unique within an AWS
2242
+ # account.
2243
+ # @return [String]
2244
+ #
2245
+ # @!attribute [rw] inclusion_status
2246
+ # Indicates whether the application component has been included for
2247
+ # server recommendation or not.
2248
+ # @return [String]
2249
+ #
2250
+ # @!attribute [rw] secrets_manager_key
2251
+ # Database credentials.
2252
+ # @return [String]
2253
+ #
2254
+ # @!attribute [rw] source_code_list
2255
+ # The list of source code configurations to update for the application
2256
+ # component.
2257
+ # @return [Array<Types::SourceCode>]
2258
+ #
2259
+ # @!attribute [rw] strategy_option
2260
+ # The preferred strategy options for the application component. Use
2261
+ # values from the GetApplicationComponentStrategies response.
2262
+ # @return [Types::StrategyOption]
2263
+ #
2264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateApplicationComponentConfigRequest AWS API Documentation
2265
+ #
2266
+ class UpdateApplicationComponentConfigRequest < Struct.new(
2267
+ :application_component_id,
2268
+ :inclusion_status,
2269
+ :secrets_manager_key,
2270
+ :source_code_list,
2271
+ :strategy_option)
2272
+ SENSITIVE = [:secrets_manager_key]
2273
+ include Aws::Structure
2274
+ end
2275
+
2276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateApplicationComponentConfigResponse AWS API Documentation
2277
+ #
2278
+ class UpdateApplicationComponentConfigResponse < Aws::EmptyStructure; end
2279
+
2280
+ # @note When making an API call, you may pass UpdateServerConfigRequest
2281
+ # data as a hash:
2282
+ #
2283
+ # {
2284
+ # server_id: "ServerId", # required
2285
+ # strategy_option: {
2286
+ # is_preferred: false,
2287
+ # strategy: "Rehost", # accepts Rehost, Retirement, Refactor, Replatform, Retain, Relocate, Repurchase
2288
+ # 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
2289
+ # 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
2290
+ # },
2291
+ # }
2292
+ #
2293
+ # @!attribute [rw] server_id
2294
+ # The ID of the server.
2295
+ # @return [String]
2296
+ #
2297
+ # @!attribute [rw] strategy_option
2298
+ # The preferred strategy options for the application component. See
2299
+ # the response from GetServerStrategies.
2300
+ # @return [Types::StrategyOption]
2301
+ #
2302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateServerConfigRequest AWS API Documentation
2303
+ #
2304
+ class UpdateServerConfigRequest < Struct.new(
2305
+ :server_id,
2306
+ :strategy_option)
2307
+ SENSITIVE = []
2308
+ include Aws::Structure
2309
+ end
2310
+
2311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateServerConfigResponse AWS API Documentation
2312
+ #
2313
+ class UpdateServerConfigResponse < Aws::EmptyStructure; end
2314
+
2315
+ # The request body isn't valid.
2316
+ #
2317
+ # @!attribute [rw] message
2318
+ # @return [String]
2319
+ #
2320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ValidationException AWS API Documentation
2321
+ #
2322
+ class ValidationException < Struct.new(
2323
+ :message)
2324
+ SENSITIVE = []
2325
+ include Aws::Structure
2326
+ end
2327
+
2328
+ end
2329
+ end