aws-sdk-migrationhub 1.67.0 → 1.69.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4d55a8fe0dd9cf6b0b519d7697f2ccb465ee44b178baf92f90a8f3ed4059b5a
4
- data.tar.gz: a6954d3a9e58b60a075a74402ff9735d78ab6d9bba35a70a82d4c4ae8319d5fb
3
+ metadata.gz: 77b592ddfb5f9d5b9562e9c1985a03c5b2e71397cf2e9dcd5871ec197430a8c1
4
+ data.tar.gz: 657e125e884802261517f7253606be9905eabc80374ae0ffa224767e7f90b07b
5
5
  SHA512:
6
- metadata.gz: e7da02d5b63cc51ba9e4b024d50f546756c5f2fd8c026bc69d570e42813370d4d7497a6236221ccf9e88aaae8b90d50745a180843bdfed7db2a947f48b19b772
7
- data.tar.gz: dba10cb6de7d46b67eb05481c5f5bac9beec34e5b5f0a5cb17247e6a4196069b3e81c817e481d7e0661271297ac1f3f2361a918c3491d7f4096b0a5aed12e0d6
6
+ metadata.gz: dd5c8d572146d71de1841fc02c7b7751d8fac463201aab03c95e675383344507c577eeea7a6a16736f3089e2da36fb3ec4d7b21a763bd6bd0daebdbff9d4de47
7
+ data.tar.gz: 301bf99c15159589bdd46b7f3335bc8e080b2d2be97de075614598067b0623cfdeafb42402aef4e52468a678889e1955e87cfd088af090d4bc2a71387e955a5a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.69.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.68.0 (2024-12-11)
10
+ ------------------
11
+
12
+ * Feature - API and documentation updates for AWS MigrationHub related to adding support for listing migration task updates and associating, disassociating and listing source resources
13
+
4
14
  1.67.0 (2024-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.69.0
@@ -257,11 +257,34 @@ module Aws::MigrationHub
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -547,6 +570,55 @@ module Aws::MigrationHub
547
570
  req.send_request(options)
548
571
  end
549
572
 
573
+ # Associates a source resource with a migration task. For example, the
574
+ # source resource can be a source server, an application, or a migration
575
+ # wave.
576
+ #
577
+ # @option params [required, String] :progress_update_stream
578
+ # The name of the progress-update stream, which is used for access
579
+ # control as well as a namespace for migration-task names that is
580
+ # implicitly linked to your AWS account. The progress-update stream must
581
+ # uniquely identify the migration tool as it is used for all updates
582
+ # made by the tool; however, it does not need to be unique for each AWS
583
+ # account because it is scoped to the AWS account.
584
+ #
585
+ # @option params [required, String] :migration_task_name
586
+ # A unique identifier that references the migration task. *Do not
587
+ # include sensitive data in this field.*
588
+ #
589
+ # @option params [required, Types::SourceResource] :source_resource
590
+ # The source resource that you want to associate.
591
+ #
592
+ # @option params [Boolean] :dry_run
593
+ # This is an optional parameter that you can use to test whether the
594
+ # call will succeed. Set this parameter to `true` to verify that you
595
+ # have the permissions that are required to make the call, and that you
596
+ # have specified the other parameters in the call correctly.
597
+ #
598
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
599
+ #
600
+ # @example Request syntax with placeholder values
601
+ #
602
+ # resp = client.associate_source_resource({
603
+ # progress_update_stream: "ProgressUpdateStream", # required
604
+ # migration_task_name: "MigrationTaskName", # required
605
+ # source_resource: { # required
606
+ # name: "SourceResourceName", # required
607
+ # description: "SourceResourceDescription",
608
+ # status_detail: "StatusDetail",
609
+ # },
610
+ # dry_run: false,
611
+ # })
612
+ #
613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateSourceResource AWS API Documentation
614
+ #
615
+ # @overload associate_source_resource(params = {})
616
+ # @param [Hash] params ({})
617
+ def associate_source_resource(params = {}, options = {})
618
+ req = build_request(:associate_source_resource, params)
619
+ req.send_request(options)
620
+ end
621
+
550
622
  # Creates a progress update stream which is an AWS resource used for
551
623
  # access control as well as a namespace for migration task names that is
552
624
  # implicitly linked to your AWS account. It must uniquely identify the
@@ -794,6 +866,50 @@ module Aws::MigrationHub
794
866
  req.send_request(options)
795
867
  end
796
868
 
869
+ # Removes the association between a source resource and a migration
870
+ # task.
871
+ #
872
+ # @option params [required, String] :progress_update_stream
873
+ # The name of the progress-update stream, which is used for access
874
+ # control as well as a namespace for migration-task names that is
875
+ # implicitly linked to your AWS account. The progress-update stream must
876
+ # uniquely identify the migration tool as it is used for all updates
877
+ # made by the tool; however, it does not need to be unique for each AWS
878
+ # account because it is scoped to the AWS account.
879
+ #
880
+ # @option params [required, String] :migration_task_name
881
+ # A unique identifier that references the migration task. *Do not
882
+ # include sensitive data in this field.*
883
+ #
884
+ # @option params [required, String] :source_resource_name
885
+ # The name that was specified for the source resource.
886
+ #
887
+ # @option params [Boolean] :dry_run
888
+ # This is an optional parameter that you can use to test whether the
889
+ # call will succeed. Set this parameter to `true` to verify that you
890
+ # have the permissions that are required to make the call, and that you
891
+ # have specified the other parameters in the call correctly.
892
+ #
893
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
894
+ #
895
+ # @example Request syntax with placeholder values
896
+ #
897
+ # resp = client.disassociate_source_resource({
898
+ # progress_update_stream: "ProgressUpdateStream", # required
899
+ # migration_task_name: "MigrationTaskName", # required
900
+ # source_resource_name: "SourceResourceName", # required
901
+ # dry_run: false,
902
+ # })
903
+ #
904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateSourceResource AWS API Documentation
905
+ #
906
+ # @overload disassociate_source_resource(params = {})
907
+ # @param [Hash] params ({})
908
+ def disassociate_source_resource(params = {}, options = {})
909
+ req = build_request(:disassociate_source_resource, params)
910
+ req.send_request(options)
911
+ end
912
+
797
913
  # Registers a new migration task which represents a server, database,
798
914
  # etc., being migrated to AWS by a migration tool.
799
915
  #
@@ -986,6 +1102,71 @@ module Aws::MigrationHub
986
1102
  req.send_request(options)
987
1103
  end
988
1104
 
1105
+ # This is a paginated API that returns all the migration-task states for
1106
+ # the specified `MigrationTaskName` and `ProgressUpdateStream`.
1107
+ #
1108
+ # @option params [required, String] :progress_update_stream
1109
+ # The name of the progress-update stream, which is used for access
1110
+ # control as well as a namespace for migration-task names that is
1111
+ # implicitly linked to your AWS account. The progress-update stream must
1112
+ # uniquely identify the migration tool as it is used for all updates
1113
+ # made by the tool; however, it does not need to be unique for each AWS
1114
+ # account because it is scoped to the AWS account.
1115
+ #
1116
+ # @option params [required, String] :migration_task_name
1117
+ # A unique identifier that references the migration task. *Do not
1118
+ # include sensitive data in this field.*
1119
+ #
1120
+ # @option params [String] :next_token
1121
+ # If `NextToken` was returned by a previous call, there are more results
1122
+ # available. The value of `NextToken` is a unique pagination token for
1123
+ # each page. To retrieve the next page of results, specify the
1124
+ # `NextToken` value that the previous call returned. Keep all other
1125
+ # arguments unchanged. Each pagination token expires after 24 hours.
1126
+ # Using an expired pagination token will return an HTTP 400 InvalidToken
1127
+ # error.
1128
+ #
1129
+ # @option params [Integer] :max_results
1130
+ # The maximum number of results to include in the response. If more
1131
+ # results exist than the value that you specify here for `MaxResults`,
1132
+ # the response will include a token that you can use to retrieve the
1133
+ # next set of results.
1134
+ #
1135
+ # @return [Types::ListMigrationTaskUpdatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1136
+ #
1137
+ # * {Types::ListMigrationTaskUpdatesResult#next_token #next_token} => String
1138
+ # * {Types::ListMigrationTaskUpdatesResult#migration_task_update_list #migration_task_update_list} => Array<Types::MigrationTaskUpdate>
1139
+ #
1140
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1141
+ #
1142
+ # @example Request syntax with placeholder values
1143
+ #
1144
+ # resp = client.list_migration_task_updates({
1145
+ # progress_update_stream: "ProgressUpdateStream", # required
1146
+ # migration_task_name: "MigrationTaskName", # required
1147
+ # next_token: "Token",
1148
+ # max_results: 1,
1149
+ # })
1150
+ #
1151
+ # @example Response structure
1152
+ #
1153
+ # resp.next_token #=> String
1154
+ # resp.migration_task_update_list #=> Array
1155
+ # resp.migration_task_update_list[0].update_date_time #=> Time
1156
+ # resp.migration_task_update_list[0].update_type #=> String, one of "MIGRATION_TASK_STATE_UPDATED"
1157
+ # resp.migration_task_update_list[0].migration_task_state.status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "FAILED", "COMPLETED"
1158
+ # resp.migration_task_update_list[0].migration_task_state.status_detail #=> String
1159
+ # resp.migration_task_update_list[0].migration_task_state.progress_percent #=> Integer
1160
+ #
1161
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTaskUpdates AWS API Documentation
1162
+ #
1163
+ # @overload list_migration_task_updates(params = {})
1164
+ # @param [Hash] params ({})
1165
+ def list_migration_task_updates(params = {}, options = {})
1166
+ req = build_request(:list_migration_task_updates, params)
1167
+ req.send_request(options)
1168
+ end
1169
+
989
1170
  # Lists all, or filtered by resource name, migration tasks associated
990
1171
  # with the user account making this call. This API has the following
991
1172
  # traits:
@@ -1083,6 +1264,69 @@ module Aws::MigrationHub
1083
1264
  req.send_request(options)
1084
1265
  end
1085
1266
 
1267
+ # Lists all the source resource that are associated with the specified
1268
+ # `MigrationTaskName` and `ProgressUpdateStream`.
1269
+ #
1270
+ # @option params [required, String] :progress_update_stream
1271
+ # The name of the progress-update stream, which is used for access
1272
+ # control as well as a namespace for migration-task names that is
1273
+ # implicitly linked to your AWS account. The progress-update stream must
1274
+ # uniquely identify the migration tool as it is used for all updates
1275
+ # made by the tool; however, it does not need to be unique for each AWS
1276
+ # account because it is scoped to the AWS account.
1277
+ #
1278
+ # @option params [required, String] :migration_task_name
1279
+ # A unique identifier that references the migration task. *Do not store
1280
+ # confidential data in this field.*
1281
+ #
1282
+ # @option params [String] :next_token
1283
+ # If `NextToken` was returned by a previous call, there are more results
1284
+ # available. The value of `NextToken` is a unique pagination token for
1285
+ # each page. To retrieve the next page of results, specify the
1286
+ # `NextToken` value that the previous call returned. Keep all other
1287
+ # arguments unchanged. Each pagination token expires after 24 hours.
1288
+ # Using an expired pagination token will return an HTTP 400 InvalidToken
1289
+ # error.
1290
+ #
1291
+ # @option params [Integer] :max_results
1292
+ # The maximum number of results to include in the response. If more
1293
+ # results exist than the value that you specify here for `MaxResults`,
1294
+ # the response will include a token that you can use to retrieve the
1295
+ # next set of results.
1296
+ #
1297
+ # @return [Types::ListSourceResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1298
+ #
1299
+ # * {Types::ListSourceResourcesResult#next_token #next_token} => String
1300
+ # * {Types::ListSourceResourcesResult#source_resource_list #source_resource_list} => Array<Types::SourceResource>
1301
+ #
1302
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1303
+ #
1304
+ # @example Request syntax with placeholder values
1305
+ #
1306
+ # resp = client.list_source_resources({
1307
+ # progress_update_stream: "ProgressUpdateStream", # required
1308
+ # migration_task_name: "MigrationTaskName", # required
1309
+ # next_token: "Token",
1310
+ # max_results: 1,
1311
+ # })
1312
+ #
1313
+ # @example Response structure
1314
+ #
1315
+ # resp.next_token #=> String
1316
+ # resp.source_resource_list #=> Array
1317
+ # resp.source_resource_list[0].name #=> String
1318
+ # resp.source_resource_list[0].description #=> String
1319
+ # resp.source_resource_list[0].status_detail #=> String
1320
+ #
1321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListSourceResources AWS API Documentation
1322
+ #
1323
+ # @overload list_source_resources(params = {})
1324
+ # @param [Hash] params ({})
1325
+ def list_source_resources(params = {}, options = {})
1326
+ req = build_request(:list_source_resources, params)
1327
+ req.send_request(options)
1328
+ end
1329
+
1086
1330
  # Sets the migration state of an application. For a given application
1087
1331
  # identified by the value passed to `ApplicationId`, its status is set
1088
1332
  # or updated by passing one of three values to `Status`: `NOT_STARTED |
@@ -1292,7 +1536,7 @@ module Aws::MigrationHub
1292
1536
  tracer: tracer
1293
1537
  )
1294
1538
  context[:gem_name] = 'aws-sdk-migrationhub'
1295
- context[:gem_version] = '1.67.0'
1539
+ context[:gem_version] = '1.69.0'
1296
1540
  Seahorse::Client::Request.new(handlers, context)
1297
1541
  end
1298
1542
 
@@ -24,6 +24,8 @@ module Aws::MigrationHub
24
24
  AssociateCreatedArtifactResult = Shapes::StructureShape.new(name: 'AssociateCreatedArtifactResult')
25
25
  AssociateDiscoveredResourceRequest = Shapes::StructureShape.new(name: 'AssociateDiscoveredResourceRequest')
26
26
  AssociateDiscoveredResourceResult = Shapes::StructureShape.new(name: 'AssociateDiscoveredResourceResult')
27
+ AssociateSourceResourceRequest = Shapes::StructureShape.new(name: 'AssociateSourceResourceRequest')
28
+ AssociateSourceResourceResult = Shapes::StructureShape.new(name: 'AssociateSourceResourceResult')
27
29
  ConfigurationId = Shapes::StringShape.new(name: 'ConfigurationId')
28
30
  CreateProgressUpdateStreamRequest = Shapes::StructureShape.new(name: 'CreateProgressUpdateStreamRequest')
29
31
  CreateProgressUpdateStreamResult = Shapes::StructureShape.new(name: 'CreateProgressUpdateStreamResult')
@@ -41,6 +43,8 @@ module Aws::MigrationHub
41
43
  DisassociateCreatedArtifactResult = Shapes::StructureShape.new(name: 'DisassociateCreatedArtifactResult')
42
44
  DisassociateDiscoveredResourceRequest = Shapes::StructureShape.new(name: 'DisassociateDiscoveredResourceRequest')
43
45
  DisassociateDiscoveredResourceResult = Shapes::StructureShape.new(name: 'DisassociateDiscoveredResourceResult')
46
+ DisassociateSourceResourceRequest = Shapes::StructureShape.new(name: 'DisassociateSourceResourceRequest')
47
+ DisassociateSourceResourceResult = Shapes::StructureShape.new(name: 'DisassociateSourceResourceResult')
44
48
  DiscoveredResource = Shapes::StructureShape.new(name: 'DiscoveredResource')
45
49
  DiscoveredResourceDescription = Shapes::StringShape.new(name: 'DiscoveredResourceDescription')
46
50
  DiscoveredResourceList = Shapes::ListShape.new(name: 'DiscoveredResourceList')
@@ -59,17 +63,24 @@ module Aws::MigrationHub
59
63
  ListCreatedArtifactsResult = Shapes::StructureShape.new(name: 'ListCreatedArtifactsResult')
60
64
  ListDiscoveredResourcesRequest = Shapes::StructureShape.new(name: 'ListDiscoveredResourcesRequest')
61
65
  ListDiscoveredResourcesResult = Shapes::StructureShape.new(name: 'ListDiscoveredResourcesResult')
66
+ ListMigrationTaskUpdatesRequest = Shapes::StructureShape.new(name: 'ListMigrationTaskUpdatesRequest')
67
+ ListMigrationTaskUpdatesResult = Shapes::StructureShape.new(name: 'ListMigrationTaskUpdatesResult')
62
68
  ListMigrationTasksRequest = Shapes::StructureShape.new(name: 'ListMigrationTasksRequest')
63
69
  ListMigrationTasksResult = Shapes::StructureShape.new(name: 'ListMigrationTasksResult')
64
70
  ListProgressUpdateStreamsRequest = Shapes::StructureShape.new(name: 'ListProgressUpdateStreamsRequest')
65
71
  ListProgressUpdateStreamsResult = Shapes::StructureShape.new(name: 'ListProgressUpdateStreamsResult')
72
+ ListSourceResourcesRequest = Shapes::StructureShape.new(name: 'ListSourceResourcesRequest')
73
+ ListSourceResourcesResult = Shapes::StructureShape.new(name: 'ListSourceResourcesResult')
66
74
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
67
75
  MaxResultsCreatedArtifacts = Shapes::IntegerShape.new(name: 'MaxResultsCreatedArtifacts')
68
76
  MaxResultsResources = Shapes::IntegerShape.new(name: 'MaxResultsResources')
77
+ MaxResultsSourceResources = Shapes::IntegerShape.new(name: 'MaxResultsSourceResources')
69
78
  MigrationTask = Shapes::StructureShape.new(name: 'MigrationTask')
70
79
  MigrationTaskName = Shapes::StringShape.new(name: 'MigrationTaskName')
71
80
  MigrationTaskSummary = Shapes::StructureShape.new(name: 'MigrationTaskSummary')
72
81
  MigrationTaskSummaryList = Shapes::ListShape.new(name: 'MigrationTaskSummaryList')
82
+ MigrationTaskUpdate = Shapes::StructureShape.new(name: 'MigrationTaskUpdate')
83
+ MigrationTaskUpdateList = Shapes::ListShape.new(name: 'MigrationTaskUpdateList')
73
84
  NextUpdateSeconds = Shapes::IntegerShape.new(name: 'NextUpdateSeconds')
74
85
  NotifyApplicationStateRequest = Shapes::StructureShape.new(name: 'NotifyApplicationStateRequest')
75
86
  NotifyApplicationStateResult = Shapes::StructureShape.new(name: 'NotifyApplicationStateResult')
@@ -90,6 +101,10 @@ module Aws::MigrationHub
90
101
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
91
102
  RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
92
103
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
104
+ SourceResource = Shapes::StructureShape.new(name: 'SourceResource')
105
+ SourceResourceDescription = Shapes::StringShape.new(name: 'SourceResourceDescription')
106
+ SourceResourceList = Shapes::ListShape.new(name: 'SourceResourceList')
107
+ SourceResourceName = Shapes::StringShape.new(name: 'SourceResourceName')
93
108
  Status = Shapes::StringShape.new(name: 'Status')
94
109
  StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
95
110
  Task = Shapes::StructureShape.new(name: 'Task')
@@ -97,6 +112,7 @@ module Aws::MigrationHub
97
112
  Token = Shapes::StringShape.new(name: 'Token')
98
113
  UnauthorizedOperation = Shapes::StructureShape.new(name: 'UnauthorizedOperation')
99
114
  UpdateDateTime = Shapes::TimestampShape.new(name: 'UpdateDateTime')
115
+ UpdateType = Shapes::StringShape.new(name: 'UpdateType')
100
116
 
101
117
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
102
118
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -126,6 +142,14 @@ module Aws::MigrationHub
126
142
 
127
143
  AssociateDiscoveredResourceResult.struct_class = Types::AssociateDiscoveredResourceResult
128
144
 
145
+ AssociateSourceResourceRequest.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStream"))
146
+ AssociateSourceResourceRequest.add_member(:migration_task_name, Shapes::ShapeRef.new(shape: MigrationTaskName, required: true, location_name: "MigrationTaskName"))
147
+ AssociateSourceResourceRequest.add_member(:source_resource, Shapes::ShapeRef.new(shape: SourceResource, required: true, location_name: "SourceResource"))
148
+ AssociateSourceResourceRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
149
+ AssociateSourceResourceRequest.struct_class = Types::AssociateSourceResourceRequest
150
+
151
+ AssociateSourceResourceResult.struct_class = Types::AssociateSourceResourceResult
152
+
129
153
  CreateProgressUpdateStreamRequest.add_member(:progress_update_stream_name, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStreamName"))
130
154
  CreateProgressUpdateStreamRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
131
155
  CreateProgressUpdateStreamRequest.struct_class = Types::CreateProgressUpdateStreamRequest
@@ -174,6 +198,14 @@ module Aws::MigrationHub
174
198
 
175
199
  DisassociateDiscoveredResourceResult.struct_class = Types::DisassociateDiscoveredResourceResult
176
200
 
201
+ DisassociateSourceResourceRequest.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStream"))
202
+ DisassociateSourceResourceRequest.add_member(:migration_task_name, Shapes::ShapeRef.new(shape: MigrationTaskName, required: true, location_name: "MigrationTaskName"))
203
+ DisassociateSourceResourceRequest.add_member(:source_resource_name, Shapes::ShapeRef.new(shape: SourceResourceName, required: true, location_name: "SourceResourceName"))
204
+ DisassociateSourceResourceRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
205
+ DisassociateSourceResourceRequest.struct_class = Types::DisassociateSourceResourceRequest
206
+
207
+ DisassociateSourceResourceResult.struct_class = Types::DisassociateSourceResourceResult
208
+
177
209
  DiscoveredResource.add_member(:configuration_id, Shapes::ShapeRef.new(shape: ConfigurationId, required: true, location_name: "ConfigurationId"))
178
210
  DiscoveredResource.add_member(:description, Shapes::ShapeRef.new(shape: DiscoveredResourceDescription, location_name: "Description"))
179
211
  DiscoveredResource.struct_class = Types::DiscoveredResource
@@ -230,6 +262,16 @@ module Aws::MigrationHub
230
262
  ListDiscoveredResourcesResult.add_member(:discovered_resource_list, Shapes::ShapeRef.new(shape: DiscoveredResourceList, location_name: "DiscoveredResourceList"))
231
263
  ListDiscoveredResourcesResult.struct_class = Types::ListDiscoveredResourcesResult
232
264
 
265
+ ListMigrationTaskUpdatesRequest.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStream"))
266
+ ListMigrationTaskUpdatesRequest.add_member(:migration_task_name, Shapes::ShapeRef.new(shape: MigrationTaskName, required: true, location_name: "MigrationTaskName"))
267
+ ListMigrationTaskUpdatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
268
+ ListMigrationTaskUpdatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
269
+ ListMigrationTaskUpdatesRequest.struct_class = Types::ListMigrationTaskUpdatesRequest
270
+
271
+ ListMigrationTaskUpdatesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
272
+ ListMigrationTaskUpdatesResult.add_member(:migration_task_update_list, Shapes::ShapeRef.new(shape: MigrationTaskUpdateList, location_name: "MigrationTaskUpdateList"))
273
+ ListMigrationTaskUpdatesResult.struct_class = Types::ListMigrationTaskUpdatesResult
274
+
233
275
  ListMigrationTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
234
276
  ListMigrationTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
235
277
  ListMigrationTasksRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ResourceName"))
@@ -247,6 +289,16 @@ module Aws::MigrationHub
247
289
  ListProgressUpdateStreamsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
248
290
  ListProgressUpdateStreamsResult.struct_class = Types::ListProgressUpdateStreamsResult
249
291
 
292
+ ListSourceResourcesRequest.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStream"))
293
+ ListSourceResourcesRequest.add_member(:migration_task_name, Shapes::ShapeRef.new(shape: MigrationTaskName, required: true, location_name: "MigrationTaskName"))
294
+ ListSourceResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
295
+ ListSourceResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsSourceResources, location_name: "MaxResults"))
296
+ ListSourceResourcesRequest.struct_class = Types::ListSourceResourcesRequest
297
+
298
+ ListSourceResourcesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
299
+ ListSourceResourcesResult.add_member(:source_resource_list, Shapes::ShapeRef.new(shape: SourceResourceList, location_name: "SourceResourceList"))
300
+ ListSourceResourcesResult.struct_class = Types::ListSourceResourcesResult
301
+
250
302
  MigrationTask.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, location_name: "ProgressUpdateStream"))
251
303
  MigrationTask.add_member(:migration_task_name, Shapes::ShapeRef.new(shape: MigrationTaskName, location_name: "MigrationTaskName"))
252
304
  MigrationTask.add_member(:task, Shapes::ShapeRef.new(shape: Task, location_name: "Task"))
@@ -264,6 +316,13 @@ module Aws::MigrationHub
264
316
 
265
317
  MigrationTaskSummaryList.member = Shapes::ShapeRef.new(shape: MigrationTaskSummary)
266
318
 
319
+ MigrationTaskUpdate.add_member(:update_date_time, Shapes::ShapeRef.new(shape: UpdateDateTime, location_name: "UpdateDateTime"))
320
+ MigrationTaskUpdate.add_member(:update_type, Shapes::ShapeRef.new(shape: UpdateType, location_name: "UpdateType"))
321
+ MigrationTaskUpdate.add_member(:migration_task_state, Shapes::ShapeRef.new(shape: Task, location_name: "MigrationTaskState"))
322
+ MigrationTaskUpdate.struct_class = Types::MigrationTaskUpdate
323
+
324
+ MigrationTaskUpdateList.member = Shapes::ShapeRef.new(shape: MigrationTaskUpdate)
325
+
267
326
  NotifyApplicationStateRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "ApplicationId"))
268
327
  NotifyApplicationStateRequest.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationStatus, required: true, location_name: "Status"))
269
328
  NotifyApplicationStateRequest.add_member(:update_date_time, Shapes::ShapeRef.new(shape: UpdateDateTime, location_name: "UpdateDateTime"))
@@ -310,6 +369,13 @@ module Aws::MigrationHub
310
369
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
311
370
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
312
371
 
372
+ SourceResource.add_member(:name, Shapes::ShapeRef.new(shape: SourceResourceName, required: true, location_name: "Name"))
373
+ SourceResource.add_member(:description, Shapes::ShapeRef.new(shape: SourceResourceDescription, location_name: "Description"))
374
+ SourceResource.add_member(:status_detail, Shapes::ShapeRef.new(shape: StatusDetail, location_name: "StatusDetail"))
375
+ SourceResource.struct_class = Types::SourceResource
376
+
377
+ SourceResourceList.member = Shapes::ShapeRef.new(shape: SourceResource)
378
+
313
379
  Task.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "Status"))
314
380
  Task.add_member(:status_detail, Shapes::ShapeRef.new(shape: StatusDetail, location_name: "StatusDetail"))
315
381
  Task.add_member(:progress_percent, Shapes::ShapeRef.new(shape: ProgressPercent, location_name: "ProgressPercent"))
@@ -377,6 +443,22 @@ module Aws::MigrationHub
377
443
  o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
378
444
  end)
379
445
 
446
+ api.add_operation(:associate_source_resource, Seahorse::Model::Operation.new.tap do |o|
447
+ o.name = "AssociateSourceResource"
448
+ o.http_method = "POST"
449
+ o.http_request_uri = "/"
450
+ o.input = Shapes::ShapeRef.new(shape: AssociateSourceResourceRequest)
451
+ o.output = Shapes::ShapeRef.new(shape: AssociateSourceResourceResult)
452
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
453
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
454
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
455
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
456
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
457
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
458
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
459
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
460
+ end)
461
+
380
462
  api.add_operation(:create_progress_update_stream, Seahorse::Model::Operation.new.tap do |o|
381
463
  o.name = "CreateProgressUpdateStream"
382
464
  o.http_method = "POST"
@@ -475,6 +557,22 @@ module Aws::MigrationHub
475
557
  o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
476
558
  end)
477
559
 
560
+ api.add_operation(:disassociate_source_resource, Seahorse::Model::Operation.new.tap do |o|
561
+ o.name = "DisassociateSourceResource"
562
+ o.http_method = "POST"
563
+ o.http_request_uri = "/"
564
+ o.input = Shapes::ShapeRef.new(shape: DisassociateSourceResourceRequest)
565
+ o.output = Shapes::ShapeRef.new(shape: DisassociateSourceResourceResult)
566
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
567
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
568
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
569
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
570
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
571
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedOperation)
572
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
573
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
574
+ end)
575
+
478
576
  api.add_operation(:import_migration_task, Seahorse::Model::Operation.new.tap do |o|
479
577
  o.name = "ImportMigrationTask"
480
578
  o.http_method = "POST"
@@ -554,6 +652,26 @@ module Aws::MigrationHub
554
652
  )
555
653
  end)
556
654
 
655
+ api.add_operation(:list_migration_task_updates, Seahorse::Model::Operation.new.tap do |o|
656
+ o.name = "ListMigrationTaskUpdates"
657
+ o.http_method = "POST"
658
+ o.http_request_uri = "/"
659
+ o.input = Shapes::ShapeRef.new(shape: ListMigrationTaskUpdatesRequest)
660
+ o.output = Shapes::ShapeRef.new(shape: ListMigrationTaskUpdatesResult)
661
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
662
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
663
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
664
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
665
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
666
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
667
+ o[:pager] = Aws::Pager.new(
668
+ limit_key: "max_results",
669
+ tokens: {
670
+ "next_token" => "next_token"
671
+ }
672
+ )
673
+ end)
674
+
557
675
  api.add_operation(:list_migration_tasks, Seahorse::Model::Operation.new.tap do |o|
558
676
  o.name = "ListMigrationTasks"
559
677
  o.http_method = "POST"
@@ -596,6 +714,26 @@ module Aws::MigrationHub
596
714
  )
597
715
  end)
598
716
 
717
+ api.add_operation(:list_source_resources, Seahorse::Model::Operation.new.tap do |o|
718
+ o.name = "ListSourceResources"
719
+ o.http_method = "POST"
720
+ o.http_request_uri = "/"
721
+ o.input = Shapes::ShapeRef.new(shape: ListSourceResourcesRequest)
722
+ o.output = Shapes::ShapeRef.new(shape: ListSourceResourcesResult)
723
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
724
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
725
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
726
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
727
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
728
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
729
+ o[:pager] = Aws::Pager.new(
730
+ limit_key: "max_results",
731
+ tokens: {
732
+ "next_token" => "next_token"
733
+ }
734
+ )
735
+ end)
736
+
599
737
  api.add_operation(:notify_application_state, Seahorse::Model::Operation.new.tap do |o|
600
738
  o.name = "NotifyApplicationState"
601
739
  o.http_method = "POST"
@@ -32,7 +32,7 @@ module Aws::MigrationHub
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://mgh-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -117,6 +117,46 @@ module Aws::MigrationHub
117
117
  #
118
118
  class AssociateDiscoveredResourceResult < Aws::EmptyStructure; end
119
119
 
120
+ # @!attribute [rw] progress_update_stream
121
+ # The name of the progress-update stream, which is used for access
122
+ # control as well as a namespace for migration-task names that is
123
+ # implicitly linked to your AWS account. The progress-update stream
124
+ # must uniquely identify the migration tool as it is used for all
125
+ # updates made by the tool; however, it does not need to be unique for
126
+ # each AWS account because it is scoped to the AWS account.
127
+ # @return [String]
128
+ #
129
+ # @!attribute [rw] migration_task_name
130
+ # A unique identifier that references the migration task. *Do not
131
+ # include sensitive data in this field.*
132
+ # @return [String]
133
+ #
134
+ # @!attribute [rw] source_resource
135
+ # The source resource that you want to associate.
136
+ # @return [Types::SourceResource]
137
+ #
138
+ # @!attribute [rw] dry_run
139
+ # This is an optional parameter that you can use to test whether the
140
+ # call will succeed. Set this parameter to `true` to verify that you
141
+ # have the permissions that are required to make the call, and that
142
+ # you have specified the other parameters in the call correctly.
143
+ # @return [Boolean]
144
+ #
145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateSourceResourceRequest AWS API Documentation
146
+ #
147
+ class AssociateSourceResourceRequest < Struct.new(
148
+ :progress_update_stream,
149
+ :migration_task_name,
150
+ :source_resource,
151
+ :dry_run)
152
+ SENSITIVE = []
153
+ include Aws::Structure
154
+ end
155
+
156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateSourceResourceResult AWS API Documentation
157
+ #
158
+ class AssociateSourceResourceResult < Aws::EmptyStructure; end
159
+
120
160
  # @!attribute [rw] progress_update_stream_name
121
161
  # The name of the ProgressUpdateStream. *Do not store personal data in
122
162
  # this field.*
@@ -313,6 +353,46 @@ module Aws::MigrationHub
313
353
  #
314
354
  class DisassociateDiscoveredResourceResult < Aws::EmptyStructure; end
315
355
 
356
+ # @!attribute [rw] progress_update_stream
357
+ # The name of the progress-update stream, which is used for access
358
+ # control as well as a namespace for migration-task names that is
359
+ # implicitly linked to your AWS account. The progress-update stream
360
+ # must uniquely identify the migration tool as it is used for all
361
+ # updates made by the tool; however, it does not need to be unique for
362
+ # each AWS account because it is scoped to the AWS account.
363
+ # @return [String]
364
+ #
365
+ # @!attribute [rw] migration_task_name
366
+ # A unique identifier that references the migration task. *Do not
367
+ # include sensitive data in this field.*
368
+ # @return [String]
369
+ #
370
+ # @!attribute [rw] source_resource_name
371
+ # The name that was specified for the source resource.
372
+ # @return [String]
373
+ #
374
+ # @!attribute [rw] dry_run
375
+ # This is an optional parameter that you can use to test whether the
376
+ # call will succeed. Set this parameter to `true` to verify that you
377
+ # have the permissions that are required to make the call, and that
378
+ # you have specified the other parameters in the call correctly.
379
+ # @return [Boolean]
380
+ #
381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateSourceResourceRequest AWS API Documentation
382
+ #
383
+ class DisassociateSourceResourceRequest < Struct.new(
384
+ :progress_update_stream,
385
+ :migration_task_name,
386
+ :source_resource_name,
387
+ :dry_run)
388
+ SENSITIVE = []
389
+ include Aws::Structure
390
+ end
391
+
392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateSourceResourceResult AWS API Documentation
393
+ #
394
+ class DisassociateSourceResourceResult < Aws::EmptyStructure; end
395
+
316
396
  # Object representing the on-premises resource being migrated.
317
397
  #
318
398
  # @!attribute [rw] configuration_id
@@ -561,6 +641,71 @@ module Aws::MigrationHub
561
641
  include Aws::Structure
562
642
  end
563
643
 
644
+ # @!attribute [rw] progress_update_stream
645
+ # The name of the progress-update stream, which is used for access
646
+ # control as well as a namespace for migration-task names that is
647
+ # implicitly linked to your AWS account. The progress-update stream
648
+ # must uniquely identify the migration tool as it is used for all
649
+ # updates made by the tool; however, it does not need to be unique for
650
+ # each AWS account because it is scoped to the AWS account.
651
+ # @return [String]
652
+ #
653
+ # @!attribute [rw] migration_task_name
654
+ # A unique identifier that references the migration task. *Do not
655
+ # include sensitive data in this field.*
656
+ # @return [String]
657
+ #
658
+ # @!attribute [rw] next_token
659
+ # If `NextToken` was returned by a previous call, there are more
660
+ # results available. The value of `NextToken` is a unique pagination
661
+ # token for each page. To retrieve the next page of results, specify
662
+ # the `NextToken` value that the previous call returned. Keep all
663
+ # other arguments unchanged. Each pagination token expires after 24
664
+ # hours. Using an expired pagination token will return an HTTP 400
665
+ # InvalidToken error.
666
+ # @return [String]
667
+ #
668
+ # @!attribute [rw] max_results
669
+ # The maximum number of results to include in the response. If more
670
+ # results exist than the value that you specify here for `MaxResults`,
671
+ # the response will include a token that you can use to retrieve the
672
+ # next set of results.
673
+ # @return [Integer]
674
+ #
675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTaskUpdatesRequest AWS API Documentation
676
+ #
677
+ class ListMigrationTaskUpdatesRequest < Struct.new(
678
+ :progress_update_stream,
679
+ :migration_task_name,
680
+ :next_token,
681
+ :max_results)
682
+ SENSITIVE = []
683
+ include Aws::Structure
684
+ end
685
+
686
+ # @!attribute [rw] next_token
687
+ # If the response includes a `NextToken` value, that means that there
688
+ # are more results available. The value of `NextToken` is a unique
689
+ # pagination token for each page. To retrieve the next page of
690
+ # results, call this API again and specify this `NextToken` value in
691
+ # the request. Keep all other arguments unchanged. Each pagination
692
+ # token expires after 24 hours. Using an expired pagination token will
693
+ # return an HTTP 400 InvalidToken error.
694
+ # @return [String]
695
+ #
696
+ # @!attribute [rw] migration_task_update_list
697
+ # The list of migration-task updates.
698
+ # @return [Array<Types::MigrationTaskUpdate>]
699
+ #
700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTaskUpdatesResult AWS API Documentation
701
+ #
702
+ class ListMigrationTaskUpdatesResult < Struct.new(
703
+ :next_token,
704
+ :migration_task_update_list)
705
+ SENSITIVE = []
706
+ include Aws::Structure
707
+ end
708
+
564
709
  # @!attribute [rw] next_token
565
710
  # If a `NextToken` was returned by a previous call, there are more
566
711
  # results available. To retrieve the next page of results, make the
@@ -645,6 +790,71 @@ module Aws::MigrationHub
645
790
  include Aws::Structure
646
791
  end
647
792
 
793
+ # @!attribute [rw] progress_update_stream
794
+ # The name of the progress-update stream, which is used for access
795
+ # control as well as a namespace for migration-task names that is
796
+ # implicitly linked to your AWS account. The progress-update stream
797
+ # must uniquely identify the migration tool as it is used for all
798
+ # updates made by the tool; however, it does not need to be unique for
799
+ # each AWS account because it is scoped to the AWS account.
800
+ # @return [String]
801
+ #
802
+ # @!attribute [rw] migration_task_name
803
+ # A unique identifier that references the migration task. *Do not
804
+ # store confidential data in this field.*
805
+ # @return [String]
806
+ #
807
+ # @!attribute [rw] next_token
808
+ # If `NextToken` was returned by a previous call, there are more
809
+ # results available. The value of `NextToken` is a unique pagination
810
+ # token for each page. To retrieve the next page of results, specify
811
+ # the `NextToken` value that the previous call returned. Keep all
812
+ # other arguments unchanged. Each pagination token expires after 24
813
+ # hours. Using an expired pagination token will return an HTTP 400
814
+ # InvalidToken error.
815
+ # @return [String]
816
+ #
817
+ # @!attribute [rw] max_results
818
+ # The maximum number of results to include in the response. If more
819
+ # results exist than the value that you specify here for `MaxResults`,
820
+ # the response will include a token that you can use to retrieve the
821
+ # next set of results.
822
+ # @return [Integer]
823
+ #
824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListSourceResourcesRequest AWS API Documentation
825
+ #
826
+ class ListSourceResourcesRequest < Struct.new(
827
+ :progress_update_stream,
828
+ :migration_task_name,
829
+ :next_token,
830
+ :max_results)
831
+ SENSITIVE = []
832
+ include Aws::Structure
833
+ end
834
+
835
+ # @!attribute [rw] next_token
836
+ # If the response includes a `NextToken` value, that means that there
837
+ # are more results available. The value of `NextToken` is a unique
838
+ # pagination token for each page. To retrieve the next page of
839
+ # results, call this API again and specify this `NextToken` value in
840
+ # the request. Keep all other arguments unchanged. Each pagination
841
+ # token expires after 24 hours. Using an expired pagination token will
842
+ # return an HTTP 400 InvalidToken error.
843
+ # @return [String]
844
+ #
845
+ # @!attribute [rw] source_resource_list
846
+ # The list of source resources.
847
+ # @return [Array<Types::SourceResource>]
848
+ #
849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListSourceResourcesResult AWS API Documentation
850
+ #
851
+ class ListSourceResourcesResult < Struct.new(
852
+ :next_token,
853
+ :source_resource_list)
854
+ SENSITIVE = []
855
+ include Aws::Structure
856
+ end
857
+
648
858
  # Represents a migration task in a migration tool.
649
859
  #
650
860
  # @!attribute [rw] progress_update_stream
@@ -725,6 +935,30 @@ module Aws::MigrationHub
725
935
  include Aws::Structure
726
936
  end
727
937
 
938
+ # A migration-task progress update.
939
+ #
940
+ # @!attribute [rw] update_date_time
941
+ # The timestamp for the update.
942
+ # @return [Time]
943
+ #
944
+ # @!attribute [rw] update_type
945
+ # The type of the update.
946
+ # @return [String]
947
+ #
948
+ # @!attribute [rw] migration_task_state
949
+ # Task object encapsulating task information.
950
+ # @return [Types::Task]
951
+ #
952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/MigrationTaskUpdate AWS API Documentation
953
+ #
954
+ class MigrationTaskUpdate < Struct.new(
955
+ :update_date_time,
956
+ :update_type,
957
+ :migration_task_state)
958
+ SENSITIVE = []
959
+ include Aws::Structure
960
+ end
961
+
728
962
  # @!attribute [rw] application_id
729
963
  # The configurationId in Application Discovery Service that uniquely
730
964
  # identifies the grouped application.
@@ -967,6 +1201,34 @@ module Aws::MigrationHub
967
1201
  include Aws::Structure
968
1202
  end
969
1203
 
1204
+ # A source resource can be a source server, a migration wave, an
1205
+ # application, or any other resource that you track.
1206
+ #
1207
+ # @!attribute [rw] name
1208
+ # This is the name that you want to use to identify the resource. If
1209
+ # the resource is an AWS resource, we recommend that you set this
1210
+ # parameter to the ARN of the resource.
1211
+ # @return [String]
1212
+ #
1213
+ # @!attribute [rw] description
1214
+ # A description that can be free-form text to record additional detail
1215
+ # about the resource for clarity or later reference.
1216
+ # @return [String]
1217
+ #
1218
+ # @!attribute [rw] status_detail
1219
+ # A free-form description of the status of the resource.
1220
+ # @return [String]
1221
+ #
1222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/SourceResource AWS API Documentation
1223
+ #
1224
+ class SourceResource < Struct.new(
1225
+ :name,
1226
+ :description,
1227
+ :status_detail)
1228
+ SENSITIVE = []
1229
+ include Aws::Structure
1230
+ end
1231
+
970
1232
  # Task object encapsulating task information.
971
1233
  #
972
1234
  # @!attribute [rw] status
@@ -54,7 +54,7 @@ module Aws::MigrationHub
54
54
  autoload :EndpointProvider, 'aws-sdk-migrationhub/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-migrationhub/endpoints'
56
56
 
57
- GEM_VERSION = '1.67.0'
57
+ GEM_VERSION = '1.69.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -106,6 +108,22 @@ module Aws
106
108
  ) -> _AssociateDiscoveredResourceResponseSuccess
107
109
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDiscoveredResourceResponseSuccess
108
110
 
111
+ interface _AssociateSourceResourceResponseSuccess
112
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSourceResourceResult]
113
+ end
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHub/Client.html#associate_source_resource-instance_method
115
+ def associate_source_resource: (
116
+ progress_update_stream: ::String,
117
+ migration_task_name: ::String,
118
+ source_resource: {
119
+ name: ::String,
120
+ description: ::String?,
121
+ status_detail: ::String?
122
+ },
123
+ ?dry_run: bool
124
+ ) -> _AssociateSourceResourceResponseSuccess
125
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSourceResourceResponseSuccess
126
+
109
127
  interface _CreateProgressUpdateStreamResponseSuccess
110
128
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateProgressUpdateStreamResult]
111
129
  end
@@ -172,6 +190,18 @@ module Aws
172
190
  ) -> _DisassociateDiscoveredResourceResponseSuccess
173
191
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateDiscoveredResourceResponseSuccess
174
192
 
193
+ interface _DisassociateSourceResourceResponseSuccess
194
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSourceResourceResult]
195
+ end
196
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHub/Client.html#disassociate_source_resource-instance_method
197
+ def disassociate_source_resource: (
198
+ progress_update_stream: ::String,
199
+ migration_task_name: ::String,
200
+ source_resource_name: ::String,
201
+ ?dry_run: bool
202
+ ) -> _DisassociateSourceResourceResponseSuccess
203
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateSourceResourceResponseSuccess
204
+
175
205
  interface _ImportMigrationTaskResponseSuccess
176
206
  include ::Seahorse::Client::_ResponseSuccess[Types::ImportMigrationTaskResult]
177
207
  end
@@ -224,6 +254,20 @@ module Aws
224
254
  ) -> _ListDiscoveredResourcesResponseSuccess
225
255
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDiscoveredResourcesResponseSuccess
226
256
 
257
+ interface _ListMigrationTaskUpdatesResponseSuccess
258
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMigrationTaskUpdatesResult]
259
+ def next_token: () -> ::String
260
+ def migration_task_update_list: () -> ::Array[Types::MigrationTaskUpdate]
261
+ end
262
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHub/Client.html#list_migration_task_updates-instance_method
263
+ def list_migration_task_updates: (
264
+ progress_update_stream: ::String,
265
+ migration_task_name: ::String,
266
+ ?next_token: ::String,
267
+ ?max_results: ::Integer
268
+ ) -> _ListMigrationTaskUpdatesResponseSuccess
269
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMigrationTaskUpdatesResponseSuccess
270
+
227
271
  interface _ListMigrationTasksResponseSuccess
228
272
  include ::Seahorse::Client::_ResponseSuccess[Types::ListMigrationTasksResult]
229
273
  def next_token: () -> ::String
@@ -249,6 +293,20 @@ module Aws
249
293
  ) -> _ListProgressUpdateStreamsResponseSuccess
250
294
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProgressUpdateStreamsResponseSuccess
251
295
 
296
+ interface _ListSourceResourcesResponseSuccess
297
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSourceResourcesResult]
298
+ def next_token: () -> ::String
299
+ def source_resource_list: () -> ::Array[Types::SourceResource]
300
+ end
301
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHub/Client.html#list_source_resources-instance_method
302
+ def list_source_resources: (
303
+ progress_update_stream: ::String,
304
+ migration_task_name: ::String,
305
+ ?next_token: ::String,
306
+ ?max_results: ::Integer
307
+ ) -> _ListSourceResourcesResponseSuccess
308
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSourceResourcesResponseSuccess
309
+
252
310
  interface _NotifyApplicationStateResponseSuccess
253
311
  include ::Seahorse::Client::_ResponseSuccess[Types::NotifyApplicationStateResult]
254
312
  end
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -42,6 +42,17 @@ module Aws::MigrationHub
42
42
  class AssociateDiscoveredResourceResult < Aws::EmptyStructure
43
43
  end
44
44
 
45
+ class AssociateSourceResourceRequest
46
+ attr_accessor progress_update_stream: ::String
47
+ attr_accessor migration_task_name: ::String
48
+ attr_accessor source_resource: Types::SourceResource
49
+ attr_accessor dry_run: bool
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class AssociateSourceResourceResult < Aws::EmptyStructure
54
+ end
55
+
45
56
  class CreateProgressUpdateStreamRequest
46
57
  attr_accessor progress_update_stream_name: ::String
47
58
  attr_accessor dry_run: bool
@@ -110,6 +121,17 @@ module Aws::MigrationHub
110
121
  class DisassociateDiscoveredResourceResult < Aws::EmptyStructure
111
122
  end
112
123
 
124
+ class DisassociateSourceResourceRequest
125
+ attr_accessor progress_update_stream: ::String
126
+ attr_accessor migration_task_name: ::String
127
+ attr_accessor source_resource_name: ::String
128
+ attr_accessor dry_run: bool
129
+ SENSITIVE: []
130
+ end
131
+
132
+ class DisassociateSourceResourceResult < Aws::EmptyStructure
133
+ end
134
+
113
135
  class DiscoveredResource
114
136
  attr_accessor configuration_id: ::String
115
137
  attr_accessor description: ::String
@@ -187,6 +209,20 @@ module Aws::MigrationHub
187
209
  SENSITIVE: []
188
210
  end
189
211
 
212
+ class ListMigrationTaskUpdatesRequest
213
+ attr_accessor progress_update_stream: ::String
214
+ attr_accessor migration_task_name: ::String
215
+ attr_accessor next_token: ::String
216
+ attr_accessor max_results: ::Integer
217
+ SENSITIVE: []
218
+ end
219
+
220
+ class ListMigrationTaskUpdatesResult
221
+ attr_accessor next_token: ::String
222
+ attr_accessor migration_task_update_list: ::Array[Types::MigrationTaskUpdate]
223
+ SENSITIVE: []
224
+ end
225
+
190
226
  class ListMigrationTasksRequest
191
227
  attr_accessor next_token: ::String
192
228
  attr_accessor max_results: ::Integer
@@ -212,6 +248,20 @@ module Aws::MigrationHub
212
248
  SENSITIVE: []
213
249
  end
214
250
 
251
+ class ListSourceResourcesRequest
252
+ attr_accessor progress_update_stream: ::String
253
+ attr_accessor migration_task_name: ::String
254
+ attr_accessor next_token: ::String
255
+ attr_accessor max_results: ::Integer
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class ListSourceResourcesResult
260
+ attr_accessor next_token: ::String
261
+ attr_accessor source_resource_list: ::Array[Types::SourceResource]
262
+ SENSITIVE: []
263
+ end
264
+
215
265
  class MigrationTask
216
266
  attr_accessor progress_update_stream: ::String
217
267
  attr_accessor migration_task_name: ::String
@@ -231,6 +281,13 @@ module Aws::MigrationHub
231
281
  SENSITIVE: []
232
282
  end
233
283
 
284
+ class MigrationTaskUpdate
285
+ attr_accessor update_date_time: ::Time
286
+ attr_accessor update_type: ("MIGRATION_TASK_STATE_UPDATED")
287
+ attr_accessor migration_task_state: Types::Task
288
+ SENSITIVE: []
289
+ end
290
+
234
291
  class NotifyApplicationStateRequest
235
292
  attr_accessor application_id: ::String
236
293
  attr_accessor status: ("NOT_STARTED" | "IN_PROGRESS" | "COMPLETED")
@@ -292,6 +349,13 @@ module Aws::MigrationHub
292
349
  SENSITIVE: []
293
350
  end
294
351
 
352
+ class SourceResource
353
+ attr_accessor name: ::String
354
+ attr_accessor description: ::String
355
+ attr_accessor status_detail: ::String
356
+ SENSITIVE: []
357
+ end
358
+
295
359
  class Task
296
360
  attr_accessor status: ("NOT_STARTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED")
297
361
  attr_accessor status_detail: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-migrationhub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.67.0
4
+ version: 1.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement