aws-sdk-migrationhub 1.13.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30a9feee1aab8518495073f86d11b8aa6d81a831
4
- data.tar.gz: 8d25edb5393f2a90378a7047605b9163db92c609
3
+ metadata.gz: 0a320d261ebf4a0e564f78149753e83c72d9bab2
4
+ data.tar.gz: 5d72f188faeed0c6bb22b0c9c8fd76bc7bea384f
5
5
  SHA512:
6
- metadata.gz: b565a591e0eb9bb29a8b73249dbdb9d40623a83bbc137ba9db8645d23a981ce4d8f5a4f68b830443952489757c5406904d06dd6e7d4402376ec4f225705006d3
7
- data.tar.gz: 18d642f6e9a98e0e1609ed8e19ea16f17051533e5d8a98758534fe1ea0cd513cc8262e4cd64eaec7c4b6d775e1e2c7469a0fe3b875d2d0c4efb451d8956b81f2
6
+ metadata.gz: 35c2d471bad67ea819601e44789f8a89c108da43802f804ad0f2e5cff3df0538190989f533c3f857615a84769b58cd0380aace28e3ca3fe6eb84666875cf5d45
7
+ data.tar.gz: bdfc4cedca9e96b38ba7e844a56e1863a51bd11e22f658130a855d31373ffcd9f077c107a5e81e0dd6ed7414e066337ee94c19f9464ae4847daeb35c09fb22e3
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-migrationhub/customizations'
42
42
  # @service
43
43
  module Aws::MigrationHub
44
44
 
45
- GEM_VERSION = '1.13.0'
45
+ GEM_VERSION = '1.14.0'
46
46
 
47
47
  end
@@ -1020,7 +1020,7 @@ module Aws::MigrationHub
1020
1020
  params: params,
1021
1021
  config: config)
1022
1022
  context[:gem_name] = 'aws-sdk-migrationhub'
1023
- context[:gem_version] = '1.13.0'
1023
+ context[:gem_version] = '1.14.0'
1024
1024
  Seahorse::Client::Request.new(handlers, context)
1025
1025
  end
1026
1026
 
@@ -87,6 +87,9 @@ module Aws::MigrationHub
87
87
  UnauthorizedOperation = Shapes::StructureShape.new(name: 'UnauthorizedOperation')
88
88
  UpdateDateTime = Shapes::TimestampShape.new(name: 'UpdateDateTime')
89
89
 
90
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
91
+ AccessDeniedException.struct_class = Types::AccessDeniedException
92
+
90
93
  AssociateCreatedArtifactRequest.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStream"))
91
94
  AssociateCreatedArtifactRequest.add_member(:migration_task_name, Shapes::ShapeRef.new(shape: MigrationTaskName, required: true, location_name: "MigrationTaskName"))
92
95
  AssociateCreatedArtifactRequest.add_member(:created_artifact, Shapes::ShapeRef.new(shape: CreatedArtifact, required: true, location_name: "CreatedArtifact"))
@@ -157,6 +160,9 @@ module Aws::MigrationHub
157
160
 
158
161
  DiscoveredResourceList.member = Shapes::ShapeRef.new(shape: DiscoveredResource)
159
162
 
163
+ DryRunOperation.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
164
+ DryRunOperation.struct_class = Types::DryRunOperation
165
+
160
166
  ImportMigrationTaskRequest.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStream"))
161
167
  ImportMigrationTaskRequest.add_member(:migration_task_name, Shapes::ShapeRef.new(shape: MigrationTaskName, required: true, location_name: "MigrationTaskName"))
162
168
  ImportMigrationTaskRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
@@ -164,6 +170,12 @@ module Aws::MigrationHub
164
170
 
165
171
  ImportMigrationTaskResult.struct_class = Types::ImportMigrationTaskResult
166
172
 
173
+ InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
174
+ InternalServerError.struct_class = Types::InternalServerError
175
+
176
+ InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
177
+ InvalidInputException.struct_class = Types::InvalidInputException
178
+
167
179
  LatestResourceAttributeList.member = Shapes::ShapeRef.new(shape: ResourceAttribute)
168
180
 
169
181
  ListCreatedArtifactsRequest.add_member(:progress_update_stream, Shapes::ShapeRef.new(shape: ProgressUpdateStream, required: true, location_name: "ProgressUpdateStream"))
@@ -237,6 +249,9 @@ module Aws::MigrationHub
237
249
 
238
250
  NotifyMigrationTaskStateResult.struct_class = Types::NotifyMigrationTaskStateResult
239
251
 
252
+ PolicyErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
253
+ PolicyErrorException.struct_class = Types::PolicyErrorException
254
+
240
255
  ProgressUpdateStreamSummary.add_member(:progress_update_stream_name, Shapes::ShapeRef.new(shape: ProgressUpdateStream, location_name: "ProgressUpdateStreamName"))
241
256
  ProgressUpdateStreamSummary.struct_class = Types::ProgressUpdateStreamSummary
242
257
 
@@ -256,11 +271,20 @@ module Aws::MigrationHub
256
271
 
257
272
  ResourceAttributeList.member = Shapes::ShapeRef.new(shape: ResourceAttribute)
258
273
 
274
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
275
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
276
+
277
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
278
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
279
+
259
280
  Task.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "Status"))
260
281
  Task.add_member(:status_detail, Shapes::ShapeRef.new(shape: StatusDetail, location_name: "StatusDetail"))
261
282
  Task.add_member(:progress_percent, Shapes::ShapeRef.new(shape: ProgressPercent, location_name: "ProgressPercent"))
262
283
  Task.struct_class = Types::Task
263
284
 
285
+ UnauthorizedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
286
+ UnauthorizedOperation.struct_class = Types::UnauthorizedOperation
287
+
264
288
 
265
289
  # @api private
266
290
  API = Seahorse::Model::Api.new.tap do |api|
@@ -10,5 +10,133 @@ module Aws::MigrationHub
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::MigrationHub::Types::AccessDeniedException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class DryRunOperation < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::MigrationHub::Types::DryRunOperation] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InternalServerError < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::MigrationHub::Types::InternalServerError] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class InvalidInputException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::MigrationHub::Types::InvalidInputException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class PolicyErrorException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::MigrationHub::Types::PolicyErrorException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class ResourceNotFoundException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::MigrationHub::Types::ResourceNotFoundException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class ServiceUnavailableException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::MigrationHub::Types::ServiceUnavailableException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class UnauthorizedOperation < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::MigrationHub::Types::UnauthorizedOperation] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
13
141
  end
14
142
  end
@@ -8,6 +8,18 @@
8
8
  module Aws::MigrationHub
9
9
  module Types
10
10
 
11
+ # You do not have sufficient access to perform this action.
12
+ #
13
+ # @!attribute [rw] message
14
+ # @return [String]
15
+ #
16
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AccessDeniedException AWS API Documentation
17
+ #
18
+ class AccessDeniedException < Struct.new(
19
+ :message)
20
+ include Aws::Structure
21
+ end
22
+
11
23
  # @note When making an API call, you may pass AssociateCreatedArtifactRequest
12
24
  # data as a hash:
13
25
  #
@@ -365,6 +377,19 @@ module Aws::MigrationHub
365
377
  include Aws::Structure
366
378
  end
367
379
 
380
+ # Exception raised to indicate a successfully authorized action when the
381
+ # `DryRun` flag is set to "true".
382
+ #
383
+ # @!attribute [rw] message
384
+ # @return [String]
385
+ #
386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DryRunOperation AWS API Documentation
387
+ #
388
+ class DryRunOperation < Struct.new(
389
+ :message)
390
+ include Aws::Structure
391
+ end
392
+
368
393
  # @note When making an API call, you may pass ImportMigrationTaskRequest
369
394
  # data as a hash:
370
395
  #
@@ -400,6 +425,32 @@ module Aws::MigrationHub
400
425
  #
401
426
  class ImportMigrationTaskResult < Aws::EmptyStructure; end
402
427
 
428
+ # Exception raised when there is an internal, configuration, or
429
+ # dependency error encountered.
430
+ #
431
+ # @!attribute [rw] message
432
+ # @return [String]
433
+ #
434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/InternalServerError AWS API Documentation
435
+ #
436
+ class InternalServerError < Struct.new(
437
+ :message)
438
+ include Aws::Structure
439
+ end
440
+
441
+ # Exception raised when the provided input violates a policy constraint
442
+ # or is entered in the wrong format or data type.
443
+ #
444
+ # @!attribute [rw] message
445
+ # @return [String]
446
+ #
447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/InvalidInputException AWS API Documentation
448
+ #
449
+ class InvalidInputException < Struct.new(
450
+ :message)
451
+ include Aws::Structure
452
+ end
453
+
403
454
  # @note When making an API call, you may pass ListCreatedArtifactsRequest
404
455
  # data as a hash:
405
456
  #
@@ -779,6 +830,20 @@ module Aws::MigrationHub
779
830
  #
780
831
  class NotifyMigrationTaskStateResult < Aws::EmptyStructure; end
781
832
 
833
+ # Exception raised when there are problems accessing ADS (Application
834
+ # Discovery Service); most likely due to a misconfigured policy or the
835
+ # `migrationhub-discovery` role is missing or not configured correctly.
836
+ #
837
+ # @!attribute [rw] message
838
+ # @return [String]
839
+ #
840
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PolicyErrorException AWS API Documentation
841
+ #
842
+ class PolicyErrorException < Struct.new(
843
+ :message)
844
+ include Aws::Structure
845
+ end
846
+
782
847
  # Summary of the AWS resource used for access control that is implicitly
783
848
  # linked to your AWS account.
784
849
  #
@@ -914,6 +979,34 @@ module Aws::MigrationHub
914
979
  include Aws::Structure
915
980
  end
916
981
 
982
+ # Exception raised when the request references a resource (ADS
983
+ # configuration, update stream, migration task, etc.) that does not
984
+ # exist in ADS (Application Discovery Service) or in Migration Hub's
985
+ # repository.
986
+ #
987
+ # @!attribute [rw] message
988
+ # @return [String]
989
+ #
990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ResourceNotFoundException AWS API Documentation
991
+ #
992
+ class ResourceNotFoundException < Struct.new(
993
+ :message)
994
+ include Aws::Structure
995
+ end
996
+
997
+ # Exception raised when there is an internal, configuration, or
998
+ # dependency error encountered.
999
+ #
1000
+ # @!attribute [rw] message
1001
+ # @return [String]
1002
+ #
1003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ServiceUnavailableException AWS API Documentation
1004
+ #
1005
+ class ServiceUnavailableException < Struct.new(
1006
+ :message)
1007
+ include Aws::Structure
1008
+ end
1009
+
917
1010
  # Task object encapsulating task information.
918
1011
  #
919
1012
  # @note When making an API call, you may pass Task
@@ -948,5 +1041,18 @@ module Aws::MigrationHub
948
1041
  include Aws::Structure
949
1042
  end
950
1043
 
1044
+ # Exception raised to indicate a request was not authorized when the
1045
+ # `DryRun` flag is set to "true".
1046
+ #
1047
+ # @!attribute [rw] message
1048
+ # @return [String]
1049
+ #
1050
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/UnauthorizedOperation AWS API Documentation
1051
+ #
1052
+ class UnauthorizedOperation < Struct.new(
1053
+ :message)
1054
+ include Aws::Structure
1055
+ end
1056
+
951
1057
  end
952
1058
  end
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.13.0
4
+ version: 1.14.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 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.52.1
22
+ version: 3.53.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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement