aws-sdk-amplify 1.5.0 → 1.6.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: 96324f6c9072cdfb2bd932e7f6d216cb3e72fd93
4
- data.tar.gz: 38d4554ae66c3fe3a9ef1f655b5d92f4559b8240
3
+ metadata.gz: 5b97bcd0a78ffc2a33694d5ecb2cf855c796f6f0
4
+ data.tar.gz: d580c6c82cce1dfb90f91b466fffd80944586cc1
5
5
  SHA512:
6
- metadata.gz: 1edfbaeada10e9247ffb4dd0a39c57b3175e0d05814ce620bb65dd7ae93de1c39f910bb99ea4c11bd778a5375e89d7b420b1ac1d433b02de36a9091d788e64b5
7
- data.tar.gz: 2dfa551f20b344ecbf0b91d0f0e7a344736afa1630821b1887287ab6d1064ff14e5a90bd4ef3e49085704345e3973261a6ae4001e55018d388e483a1d57bf06a
6
+ metadata.gz: e68523f5c8b7e93256eb42c9cff4663afc3a69de7be47285ddd780541e2543b7ceefdba8e986db17364750b706e88ef598abae7a31a99b5d5137d3248c6c0acd
7
+ data.tar.gz: 074fbc277e34f094c7757ce541e449c712ec484beae6bbc6ab624fea5f10a6806913a1e75b94b295179390f8db7e62315b144776a306ee35eda6506f0092e0d8
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-amplify/customizations'
42
42
  # @service
43
43
  module Aws::Amplify
44
44
 
45
- GEM_VERSION = '1.5.0'
45
+ GEM_VERSION = '1.6.0'
46
46
 
47
47
  end
@@ -1525,7 +1525,7 @@ module Aws::Amplify
1525
1525
  params: params,
1526
1526
  config: config)
1527
1527
  context[:gem_name] = 'aws-sdk-amplify'
1528
- context[:gem_version] = '1.5.0'
1528
+ context[:gem_version] = '1.6.0'
1529
1529
  Seahorse::Client::Request.new(handlers, context)
1530
1530
  end
1531
1531
 
@@ -164,6 +164,9 @@ module Aws::Amplify
164
164
 
165
165
  Apps.member = Shapes::ShapeRef.new(shape: App)
166
166
 
167
+ BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
168
+ BadRequestException.struct_class = Types::BadRequestException
169
+
167
170
  Branch.add_member(:branch_arn, Shapes::ShapeRef.new(shape: BranchArn, required: true, location_name: "branchArn"))
168
171
  Branch.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
169
172
  Branch.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
@@ -271,6 +274,9 @@ module Aws::Amplify
271
274
  DeleteJobResult.add_member(:job_summary, Shapes::ShapeRef.new(shape: JobSummary, required: true, location_name: "jobSummary"))
272
275
  DeleteJobResult.struct_class = Types::DeleteJobResult
273
276
 
277
+ DependentServiceFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
278
+ DependentServiceFailureException.struct_class = Types::DependentServiceFailureException
279
+
274
280
  DomainAssociation.add_member(:domain_association_arn, Shapes::ShapeRef.new(shape: DomainAssociationArn, required: true, location_name: "domainAssociationArn"))
275
281
  DomainAssociation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domainName"))
276
282
  DomainAssociation.add_member(:enable_auto_sub_domain, Shapes::ShapeRef.new(shape: EnableAutoSubDomain, required: true, location_name: "enableAutoSubDomain"))
@@ -313,6 +319,9 @@ module Aws::Amplify
313
319
  GetJobResult.add_member(:job, Shapes::ShapeRef.new(shape: Job, required: true, location_name: "job"))
314
320
  GetJobResult.struct_class = Types::GetJobResult
315
321
 
322
+ InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
323
+ InternalFailureException.struct_class = Types::InternalFailureException
324
+
316
325
  Job.add_member(:summary, Shapes::ShapeRef.new(shape: JobSummary, required: true, location_name: "summary"))
317
326
  Job.add_member(:steps, Shapes::ShapeRef.new(shape: Steps, required: true, location_name: "steps"))
318
327
  Job.struct_class = Types::Job
@@ -330,6 +339,9 @@ module Aws::Amplify
330
339
  JobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "jobType"))
331
340
  JobSummary.struct_class = Types::JobSummary
332
341
 
342
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
343
+ LimitExceededException.struct_class = Types::LimitExceededException
344
+
333
345
  ListAppsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
334
346
  ListAppsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
335
347
  ListAppsRequest.struct_class = Types::ListAppsRequest
@@ -366,6 +378,9 @@ module Aws::Amplify
366
378
  ListJobsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
367
379
  ListJobsResult.struct_class = Types::ListJobsResult
368
380
 
381
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
382
+ NotFoundException.struct_class = Types::NotFoundException
383
+
369
384
  ProductionBranch.add_member(:last_deploy_time, Shapes::ShapeRef.new(shape: LastDeployTime, location_name: "lastDeployTime"))
370
385
  ProductionBranch.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
371
386
  ProductionBranch.add_member(:thumbnail_url, Shapes::ShapeRef.new(shape: ThumbnailUrl, location_name: "thumbnailUrl"))
@@ -423,6 +438,9 @@ module Aws::Amplify
423
438
  Tags.key = Shapes::ShapeRef.new(shape: TagKey)
424
439
  Tags.value = Shapes::ShapeRef.new(shape: TagValue)
425
440
 
441
+ UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
442
+ UnauthorizedException.struct_class = Types::UnauthorizedException
443
+
426
444
  UpdateAppRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
427
445
  UpdateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
428
446
  UpdateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -10,5 +10,101 @@ module Aws::Amplify
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class BadRequestException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::Amplify::Types::BadRequestException] 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 DependentServiceFailureException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::Amplify::Types::DependentServiceFailureException] 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 InternalFailureException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::Amplify::Types::InternalFailureException] 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 LimitExceededException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::Amplify::Types::LimitExceededException] 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 NotFoundException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::Amplify::Types::NotFoundException] 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 UnauthorizedException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::Amplify::Types::UnauthorizedException] 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
+
13
109
  end
14
110
  end
@@ -107,6 +107,18 @@ module Aws::Amplify
107
107
  include Aws::Structure
108
108
  end
109
109
 
110
+ # Exception thrown when a request contains unexpected data.
111
+ #
112
+ # @!attribute [rw] message
113
+ # @return [String]
114
+ #
115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/BadRequestException AWS API Documentation
116
+ #
117
+ class BadRequestException < Struct.new(
118
+ :message)
119
+ include Aws::Structure
120
+ end
121
+
110
122
  # Branch for an Amplify App, which maps to a 3rd party repository
111
123
  # branch.
112
124
  #
@@ -694,6 +706,19 @@ module Aws::Amplify
694
706
  include Aws::Structure
695
707
  end
696
708
 
709
+ # Exception thrown when an operation fails due to a dependent service
710
+ # throwing an exception.
711
+ #
712
+ # @!attribute [rw] message
713
+ # @return [String]
714
+ #
715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DependentServiceFailureException AWS API Documentation
716
+ #
717
+ class DependentServiceFailureException < Struct.new(
718
+ :message)
719
+ include Aws::Structure
720
+ end
721
+
697
722
  # Structure for Domain Association, which associates a custom domain
698
723
  # with an Amplify App.
699
724
  #
@@ -890,6 +915,19 @@ module Aws::Amplify
890
915
  include Aws::Structure
891
916
  end
892
917
 
918
+ # Exception thrown when the service fails to perform an operation due to
919
+ # an internal issue.
920
+ #
921
+ # @!attribute [rw] message
922
+ # @return [String]
923
+ #
924
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/InternalFailureException AWS API Documentation
925
+ #
926
+ class InternalFailureException < Struct.new(
927
+ :message)
928
+ include Aws::Structure
929
+ end
930
+
893
931
  # Structure for an execution job for an Amplify App.
894
932
  #
895
933
  # @!attribute [rw] summary
@@ -961,6 +999,19 @@ module Aws::Amplify
961
999
  include Aws::Structure
962
1000
  end
963
1001
 
1002
+ # Exception thrown when a resource could not be created because of
1003
+ # service limits.
1004
+ #
1005
+ # @!attribute [rw] message
1006
+ # @return [String]
1007
+ #
1008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/LimitExceededException AWS API Documentation
1009
+ #
1010
+ class LimitExceededException < Struct.new(
1011
+ :message)
1012
+ include Aws::Structure
1013
+ end
1014
+
964
1015
  # Request structure for an Amplify App list request.
965
1016
  #
966
1017
  # @note When making an API call, you may pass ListAppsRequest
@@ -1177,6 +1228,19 @@ module Aws::Amplify
1177
1228
  include Aws::Structure
1178
1229
  end
1179
1230
 
1231
+ # Exception thrown when an entity has not been found during an
1232
+ # operation.
1233
+ #
1234
+ # @!attribute [rw] message
1235
+ # @return [String]
1236
+ #
1237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/NotFoundException AWS API Documentation
1238
+ #
1239
+ class NotFoundException < Struct.new(
1240
+ :message)
1241
+ include Aws::Structure
1242
+ end
1243
+
1180
1244
  # Structure with Production Branch information.
1181
1245
  #
1182
1246
  # @!attribute [rw] last_deploy_time
@@ -1418,6 +1482,18 @@ module Aws::Amplify
1418
1482
  include Aws::Structure
1419
1483
  end
1420
1484
 
1485
+ # Exception thrown when an operation fails due to a lack of access.
1486
+ #
1487
+ # @!attribute [rw] message
1488
+ # @return [String]
1489
+ #
1490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UnauthorizedException AWS API Documentation
1491
+ #
1492
+ class UnauthorizedException < Struct.new(
1493
+ :message)
1494
+ include Aws::Structure
1495
+ end
1496
+
1421
1497
  # Request structure for update App request.
1422
1498
  #
1423
1499
  # @note When making an API call, you may pass UpdateAppRequest
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-amplify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.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