aws-sdk-migrationhub 1.66.0 → 1.68.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: fabe63cdc553b84df8b676ece79bb511858fcfb65092b0933b6ea816614aed30
4
- data.tar.gz: 63b06d24d14e4fc91419745dffdeb437561252314d18d1efb1ad4227bed5687e
3
+ metadata.gz: 5b79fe176f7f6bebeb9e2cf415db2691ce6631f6d808cd01b3b370520f20fec7
4
+ data.tar.gz: 58567d9a4f18e473ca8fcc971a10b4b4a745e2e821cac9ce2d0384f3d88fe94a
5
5
  SHA512:
6
- metadata.gz: 8a177c3bf5f551c3b817c2f19ab9e0d8b62284c0d7a5e63a8011e0a8662338e52dc4ca13f6131d603714ee896e5bed14bc964fdf888d3352f0a750757da1fb48
7
- data.tar.gz: 1c72f26a05bc47c5e1483b481076dc4e58f0e194ce8ba332901547874081ef013cf60cffa00e620302fcc8791a20be494fe444518a502283627ff647b159b11d
6
+ metadata.gz: 2b26c81a8cf6249f94e9c13ed12edbdd9f00c35cf08f4271211c3d05870b15981fd4537480374db9c60a2450825d15576d760707582c4975ae2da9850eb56677
7
+ data.tar.gz: 4041b8168d12ee551e29d4fec95d414c5db98f9b23c953546799fa1ded40a9aba7adfd734f7c309296a2c7ff4ac1a0a4e56e8b90c81be2ebe375f53f24cdd943
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.68.0 (2024-12-11)
5
+ ------------------
6
+
7
+ * Feature - API and documentation updates for AWS MigrationHub related to adding support for listing migration task updates and associating, disassociating and listing source resources
8
+
9
+ 1.67.0 (2024-11-06)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.66.0 (2024-10-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.66.0
1
+ 1.68.0
@@ -547,6 +547,55 @@ module Aws::MigrationHub
547
547
  req.send_request(options)
548
548
  end
549
549
 
550
+ # Associates a source resource with a migration task. For example, the
551
+ # source resource can be a source server, an application, or a migration
552
+ # wave.
553
+ #
554
+ # @option params [required, String] :progress_update_stream
555
+ # The name of the progress-update stream, which is used for access
556
+ # control as well as a namespace for migration-task names that is
557
+ # implicitly linked to your AWS account. The progress-update stream must
558
+ # uniquely identify the migration tool as it is used for all updates
559
+ # made by the tool; however, it does not need to be unique for each AWS
560
+ # account because it is scoped to the AWS account.
561
+ #
562
+ # @option params [required, String] :migration_task_name
563
+ # A unique identifier that references the migration task. *Do not
564
+ # include sensitive data in this field.*
565
+ #
566
+ # @option params [required, Types::SourceResource] :source_resource
567
+ # The source resource that you want to associate.
568
+ #
569
+ # @option params [Boolean] :dry_run
570
+ # This is an optional parameter that you can use to test whether the
571
+ # call will succeed. Set this parameter to `true` to verify that you
572
+ # have the permissions that are required to make the call, and that you
573
+ # have specified the other parameters in the call correctly.
574
+ #
575
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
576
+ #
577
+ # @example Request syntax with placeholder values
578
+ #
579
+ # resp = client.associate_source_resource({
580
+ # progress_update_stream: "ProgressUpdateStream", # required
581
+ # migration_task_name: "MigrationTaskName", # required
582
+ # source_resource: { # required
583
+ # name: "SourceResourceName", # required
584
+ # description: "SourceResourceDescription",
585
+ # status_detail: "StatusDetail",
586
+ # },
587
+ # dry_run: false,
588
+ # })
589
+ #
590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateSourceResource AWS API Documentation
591
+ #
592
+ # @overload associate_source_resource(params = {})
593
+ # @param [Hash] params ({})
594
+ def associate_source_resource(params = {}, options = {})
595
+ req = build_request(:associate_source_resource, params)
596
+ req.send_request(options)
597
+ end
598
+
550
599
  # Creates a progress update stream which is an AWS resource used for
551
600
  # access control as well as a namespace for migration task names that is
552
601
  # implicitly linked to your AWS account. It must uniquely identify the
@@ -794,6 +843,50 @@ module Aws::MigrationHub
794
843
  req.send_request(options)
795
844
  end
796
845
 
846
+ # Removes the association between a source resource and a migration
847
+ # task.
848
+ #
849
+ # @option params [required, String] :progress_update_stream
850
+ # The name of the progress-update stream, which is used for access
851
+ # control as well as a namespace for migration-task names that is
852
+ # implicitly linked to your AWS account. The progress-update stream must
853
+ # uniquely identify the migration tool as it is used for all updates
854
+ # made by the tool; however, it does not need to be unique for each AWS
855
+ # account because it is scoped to the AWS account.
856
+ #
857
+ # @option params [required, String] :migration_task_name
858
+ # A unique identifier that references the migration task. *Do not
859
+ # include sensitive data in this field.*
860
+ #
861
+ # @option params [required, String] :source_resource_name
862
+ # The name that was specified for the source resource.
863
+ #
864
+ # @option params [Boolean] :dry_run
865
+ # This is an optional parameter that you can use to test whether the
866
+ # call will succeed. Set this parameter to `true` to verify that you
867
+ # have the permissions that are required to make the call, and that you
868
+ # have specified the other parameters in the call correctly.
869
+ #
870
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
871
+ #
872
+ # @example Request syntax with placeholder values
873
+ #
874
+ # resp = client.disassociate_source_resource({
875
+ # progress_update_stream: "ProgressUpdateStream", # required
876
+ # migration_task_name: "MigrationTaskName", # required
877
+ # source_resource_name: "SourceResourceName", # required
878
+ # dry_run: false,
879
+ # })
880
+ #
881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateSourceResource AWS API Documentation
882
+ #
883
+ # @overload disassociate_source_resource(params = {})
884
+ # @param [Hash] params ({})
885
+ def disassociate_source_resource(params = {}, options = {})
886
+ req = build_request(:disassociate_source_resource, params)
887
+ req.send_request(options)
888
+ end
889
+
797
890
  # Registers a new migration task which represents a server, database,
798
891
  # etc., being migrated to AWS by a migration tool.
799
892
  #
@@ -986,6 +1079,71 @@ module Aws::MigrationHub
986
1079
  req.send_request(options)
987
1080
  end
988
1081
 
1082
+ # This is a paginated API that returns all the migration-task states for
1083
+ # the specified `MigrationTaskName` and `ProgressUpdateStream`.
1084
+ #
1085
+ # @option params [required, String] :progress_update_stream
1086
+ # The name of the progress-update stream, which is used for access
1087
+ # control as well as a namespace for migration-task names that is
1088
+ # implicitly linked to your AWS account. The progress-update stream must
1089
+ # uniquely identify the migration tool as it is used for all updates
1090
+ # made by the tool; however, it does not need to be unique for each AWS
1091
+ # account because it is scoped to the AWS account.
1092
+ #
1093
+ # @option params [required, String] :migration_task_name
1094
+ # A unique identifier that references the migration task. *Do not
1095
+ # include sensitive data in this field.*
1096
+ #
1097
+ # @option params [String] :next_token
1098
+ # If `NextToken` was returned by a previous call, there are more results
1099
+ # available. The value of `NextToken` is a unique pagination token for
1100
+ # each page. To retrieve the next page of results, specify the
1101
+ # `NextToken` value that the previous call returned. Keep all other
1102
+ # arguments unchanged. Each pagination token expires after 24 hours.
1103
+ # Using an expired pagination token will return an HTTP 400 InvalidToken
1104
+ # error.
1105
+ #
1106
+ # @option params [Integer] :max_results
1107
+ # The maximum number of results to include in the response. If more
1108
+ # results exist than the value that you specify here for `MaxResults`,
1109
+ # the response will include a token that you can use to retrieve the
1110
+ # next set of results.
1111
+ #
1112
+ # @return [Types::ListMigrationTaskUpdatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1113
+ #
1114
+ # * {Types::ListMigrationTaskUpdatesResult#next_token #next_token} => String
1115
+ # * {Types::ListMigrationTaskUpdatesResult#migration_task_update_list #migration_task_update_list} => Array<Types::MigrationTaskUpdate>
1116
+ #
1117
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1118
+ #
1119
+ # @example Request syntax with placeholder values
1120
+ #
1121
+ # resp = client.list_migration_task_updates({
1122
+ # progress_update_stream: "ProgressUpdateStream", # required
1123
+ # migration_task_name: "MigrationTaskName", # required
1124
+ # next_token: "Token",
1125
+ # max_results: 1,
1126
+ # })
1127
+ #
1128
+ # @example Response structure
1129
+ #
1130
+ # resp.next_token #=> String
1131
+ # resp.migration_task_update_list #=> Array
1132
+ # resp.migration_task_update_list[0].update_date_time #=> Time
1133
+ # resp.migration_task_update_list[0].update_type #=> String, one of "MIGRATION_TASK_STATE_UPDATED"
1134
+ # resp.migration_task_update_list[0].migration_task_state.status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "FAILED", "COMPLETED"
1135
+ # resp.migration_task_update_list[0].migration_task_state.status_detail #=> String
1136
+ # resp.migration_task_update_list[0].migration_task_state.progress_percent #=> Integer
1137
+ #
1138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTaskUpdates AWS API Documentation
1139
+ #
1140
+ # @overload list_migration_task_updates(params = {})
1141
+ # @param [Hash] params ({})
1142
+ def list_migration_task_updates(params = {}, options = {})
1143
+ req = build_request(:list_migration_task_updates, params)
1144
+ req.send_request(options)
1145
+ end
1146
+
989
1147
  # Lists all, or filtered by resource name, migration tasks associated
990
1148
  # with the user account making this call. This API has the following
991
1149
  # traits:
@@ -1083,6 +1241,69 @@ module Aws::MigrationHub
1083
1241
  req.send_request(options)
1084
1242
  end
1085
1243
 
1244
+ # Lists all the source resource that are associated with the specified
1245
+ # `MigrationTaskName` and `ProgressUpdateStream`.
1246
+ #
1247
+ # @option params [required, String] :progress_update_stream
1248
+ # The name of the progress-update stream, which is used for access
1249
+ # control as well as a namespace for migration-task names that is
1250
+ # implicitly linked to your AWS account. The progress-update stream must
1251
+ # uniquely identify the migration tool as it is used for all updates
1252
+ # made by the tool; however, it does not need to be unique for each AWS
1253
+ # account because it is scoped to the AWS account.
1254
+ #
1255
+ # @option params [required, String] :migration_task_name
1256
+ # A unique identifier that references the migration task. *Do not store
1257
+ # confidential data in this field.*
1258
+ #
1259
+ # @option params [String] :next_token
1260
+ # If `NextToken` was returned by a previous call, there are more results
1261
+ # available. The value of `NextToken` is a unique pagination token for
1262
+ # each page. To retrieve the next page of results, specify the
1263
+ # `NextToken` value that the previous call returned. Keep all other
1264
+ # arguments unchanged. Each pagination token expires after 24 hours.
1265
+ # Using an expired pagination token will return an HTTP 400 InvalidToken
1266
+ # error.
1267
+ #
1268
+ # @option params [Integer] :max_results
1269
+ # The maximum number of results to include in the response. If more
1270
+ # results exist than the value that you specify here for `MaxResults`,
1271
+ # the response will include a token that you can use to retrieve the
1272
+ # next set of results.
1273
+ #
1274
+ # @return [Types::ListSourceResourcesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1275
+ #
1276
+ # * {Types::ListSourceResourcesResult#next_token #next_token} => String
1277
+ # * {Types::ListSourceResourcesResult#source_resource_list #source_resource_list} => Array<Types::SourceResource>
1278
+ #
1279
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1280
+ #
1281
+ # @example Request syntax with placeholder values
1282
+ #
1283
+ # resp = client.list_source_resources({
1284
+ # progress_update_stream: "ProgressUpdateStream", # required
1285
+ # migration_task_name: "MigrationTaskName", # required
1286
+ # next_token: "Token",
1287
+ # max_results: 1,
1288
+ # })
1289
+ #
1290
+ # @example Response structure
1291
+ #
1292
+ # resp.next_token #=> String
1293
+ # resp.source_resource_list #=> Array
1294
+ # resp.source_resource_list[0].name #=> String
1295
+ # resp.source_resource_list[0].description #=> String
1296
+ # resp.source_resource_list[0].status_detail #=> String
1297
+ #
1298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListSourceResources AWS API Documentation
1299
+ #
1300
+ # @overload list_source_resources(params = {})
1301
+ # @param [Hash] params ({})
1302
+ def list_source_resources(params = {}, options = {})
1303
+ req = build_request(:list_source_resources, params)
1304
+ req.send_request(options)
1305
+ end
1306
+
1086
1307
  # Sets the migration state of an application. For a given application
1087
1308
  # identified by the value passed to `ApplicationId`, its status is set
1088
1309
  # or updated by passing one of three values to `Status`: `NOT_STARTED |
@@ -1292,7 +1513,7 @@ module Aws::MigrationHub
1292
1513
  tracer: tracer
1293
1514
  )
1294
1515
  context[:gem_name] = 'aws-sdk-migrationhub'
1295
- context[:gem_version] = '1.66.0'
1516
+ context[:gem_version] = '1.68.0'
1296
1517
  Seahorse::Client::Request.new(handlers, context)
1297
1518
  end
1298
1519
 
@@ -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.
@@ -914,11 +1148,11 @@ module Aws::MigrationHub
914
1148
  #
915
1149
  # MAC\_ADDRESS
916
1150
  #
917
- # : `^([0-9A-Fa-f]\{2\}[:-])\{5\}([0-9A-Fa-f]\{2\})$`
1151
+ # : `^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$`
918
1152
  #
919
1153
  # FQDN
920
1154
  #
921
- # : `^[^<>\{\}\\\\/?,=\\p\{Cntrl\}]\{1,256\}$`
1155
+ # : `^[^<>{}\\\\/?,=\\p{Cntrl}]{1,256}$`
922
1156
  #
923
1157
  # @!attribute [rw] type
924
1158
  # Type of resource.
@@ -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.66.0'
57
+ GEM_VERSION = '1.68.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -106,6 +106,22 @@ module Aws
106
106
  ) -> _AssociateDiscoveredResourceResponseSuccess
107
107
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDiscoveredResourceResponseSuccess
108
108
 
109
+ interface _AssociateSourceResourceResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSourceResourceResult]
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHub/Client.html#associate_source_resource-instance_method
113
+ def associate_source_resource: (
114
+ progress_update_stream: ::String,
115
+ migration_task_name: ::String,
116
+ source_resource: {
117
+ name: ::String,
118
+ description: ::String?,
119
+ status_detail: ::String?
120
+ },
121
+ ?dry_run: bool
122
+ ) -> _AssociateSourceResourceResponseSuccess
123
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSourceResourceResponseSuccess
124
+
109
125
  interface _CreateProgressUpdateStreamResponseSuccess
110
126
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateProgressUpdateStreamResult]
111
127
  end
@@ -172,6 +188,18 @@ module Aws
172
188
  ) -> _DisassociateDiscoveredResourceResponseSuccess
173
189
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateDiscoveredResourceResponseSuccess
174
190
 
191
+ interface _DisassociateSourceResourceResponseSuccess
192
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSourceResourceResult]
193
+ end
194
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHub/Client.html#disassociate_source_resource-instance_method
195
+ def disassociate_source_resource: (
196
+ progress_update_stream: ::String,
197
+ migration_task_name: ::String,
198
+ source_resource_name: ::String,
199
+ ?dry_run: bool
200
+ ) -> _DisassociateSourceResourceResponseSuccess
201
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateSourceResourceResponseSuccess
202
+
175
203
  interface _ImportMigrationTaskResponseSuccess
176
204
  include ::Seahorse::Client::_ResponseSuccess[Types::ImportMigrationTaskResult]
177
205
  end
@@ -224,6 +252,20 @@ module Aws
224
252
  ) -> _ListDiscoveredResourcesResponseSuccess
225
253
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDiscoveredResourcesResponseSuccess
226
254
 
255
+ interface _ListMigrationTaskUpdatesResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMigrationTaskUpdatesResult]
257
+ def next_token: () -> ::String
258
+ def migration_task_update_list: () -> ::Array[Types::MigrationTaskUpdate]
259
+ end
260
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHub/Client.html#list_migration_task_updates-instance_method
261
+ def list_migration_task_updates: (
262
+ progress_update_stream: ::String,
263
+ migration_task_name: ::String,
264
+ ?next_token: ::String,
265
+ ?max_results: ::Integer
266
+ ) -> _ListMigrationTaskUpdatesResponseSuccess
267
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMigrationTaskUpdatesResponseSuccess
268
+
227
269
  interface _ListMigrationTasksResponseSuccess
228
270
  include ::Seahorse::Client::_ResponseSuccess[Types::ListMigrationTasksResult]
229
271
  def next_token: () -> ::String
@@ -249,6 +291,20 @@ module Aws
249
291
  ) -> _ListProgressUpdateStreamsResponseSuccess
250
292
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProgressUpdateStreamsResponseSuccess
251
293
 
294
+ interface _ListSourceResourcesResponseSuccess
295
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSourceResourcesResult]
296
+ def next_token: () -> ::String
297
+ def source_resource_list: () -> ::Array[Types::SourceResource]
298
+ end
299
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHub/Client.html#list_source_resources-instance_method
300
+ def list_source_resources: (
301
+ progress_update_stream: ::String,
302
+ migration_task_name: ::String,
303
+ ?next_token: ::String,
304
+ ?max_results: ::Integer
305
+ ) -> _ListSourceResourcesResponseSuccess
306
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSourceResourcesResponseSuccess
307
+
252
308
  interface _NotifyApplicationStateResponseSuccess
253
309
  include ::Seahorse::Client::_ResponseSuccess[Types::NotifyApplicationStateResult]
254
310
  end
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.66.0
4
+ version: 1.68.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-10-18 00:00:00.000000000 Z
11
+ date: 2024-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core