aws-sdk-mobile 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-mobile.rb +1 -1
- data/lib/aws-sdk-mobile/client.rb +1 -1
- data/lib/aws-sdk-mobile/client_api.rb +27 -0
- data/lib/aws-sdk-mobile/errors.rb +143 -0
- data/lib/aws-sdk-mobile/types.rb +126 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04d62f21ea39407d609e584d6475095b86f53a18
|
4
|
+
data.tar.gz: ffffca5a5ff976617e6b1cda3d0e22707964d31e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8fab16635b769fca7c5f9c709b4d4d3b12bbbda7bef0df792333167ab24d5736f172ff89604f1f75a3b36f7ae536f70e25476e1fa828a48ea195cbd3a1cad85
|
7
|
+
data.tar.gz: 1cf33fe274e3f154a0e1c989e58ef3d943449dd1aacb43133af3721c76949145a7b6953e05d4e425bb5bffb93c898ad01ccaa4cd26d5bf32d1cbaa2229fdcca8
|
data/lib/aws-sdk-mobile.rb
CHANGED
@@ -73,9 +73,15 @@ module Aws::Mobile
|
|
73
73
|
UpdateProjectRequest = Shapes::StructureShape.new(name: 'UpdateProjectRequest')
|
74
74
|
UpdateProjectResult = Shapes::StructureShape.new(name: 'UpdateProjectResult')
|
75
75
|
|
76
|
+
AccountActionRequiredException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
77
|
+
AccountActionRequiredException.struct_class = Types::AccountActionRequiredException
|
78
|
+
|
76
79
|
Attributes.key = Shapes::ShapeRef.new(shape: AttributeKey)
|
77
80
|
Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
78
81
|
|
82
|
+
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
83
|
+
BadRequestException.struct_class = Types::BadRequestException
|
84
|
+
|
79
85
|
BundleDetails.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "bundleId"))
|
80
86
|
BundleDetails.add_member(:title, Shapes::ShapeRef.new(shape: BundleTitle, location_name: "title"))
|
81
87
|
BundleDetails.add_member(:version, Shapes::ShapeRef.new(shape: BundleVersion, location_name: "version"))
|
@@ -133,6 +139,13 @@ module Aws::Mobile
|
|
133
139
|
ExportProjectResult.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
|
134
140
|
ExportProjectResult.struct_class = Types::ExportProjectResult
|
135
141
|
|
142
|
+
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
143
|
+
InternalFailureException.struct_class = Types::InternalFailureException
|
144
|
+
|
145
|
+
LimitExceededException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: ErrorMessage, location: "header", location_name: "Retry-After"))
|
146
|
+
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
147
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
148
|
+
|
136
149
|
ListBundlesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
137
150
|
ListBundlesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
138
151
|
ListBundlesRequest.struct_class = Types::ListBundlesRequest
|
@@ -149,6 +162,9 @@ module Aws::Mobile
|
|
149
162
|
ListProjectsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
150
163
|
ListProjectsResult.struct_class = Types::ListProjectsResult
|
151
164
|
|
165
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
166
|
+
NotFoundException.struct_class = Types::NotFoundException
|
167
|
+
|
152
168
|
Platforms.member = Shapes::ShapeRef.new(shape: Platform)
|
153
169
|
|
154
170
|
ProjectDetails.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, location_name: "name"))
|
@@ -176,6 +192,17 @@ module Aws::Mobile
|
|
176
192
|
|
177
193
|
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
178
194
|
|
195
|
+
ServiceUnavailableException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: ErrorMessage, location: "header", location_name: "Retry-After"))
|
196
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
197
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
198
|
+
|
199
|
+
TooManyRequestsException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: ErrorMessage, location: "header", location_name: "Retry-After"))
|
200
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
201
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
202
|
+
|
203
|
+
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
204
|
+
UnauthorizedException.struct_class = Types::UnauthorizedException
|
205
|
+
|
179
206
|
UpdateProjectRequest.add_member(:contents, Shapes::ShapeRef.new(shape: Contents, location_name: "contents"))
|
180
207
|
UpdateProjectRequest.add_member(:project_id, Shapes::ShapeRef.new(shape: ProjectId, required: true, location: "querystring", location_name: "projectId"))
|
181
208
|
UpdateProjectRequest.struct_class = Types::UpdateProjectRequest
|
@@ -10,5 +10,148 @@ module Aws::Mobile
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class AccountActionRequiredException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::Mobile::Types::AccountActionRequiredException] 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 BadRequestException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::Mobile::Types::BadRequestException] 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::Mobile::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::Mobile::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 retry_after_seconds
|
72
|
+
@data[:retry_after_seconds]
|
73
|
+
end
|
74
|
+
|
75
|
+
# @return [String]
|
76
|
+
def message
|
77
|
+
@message || @data[:message]
|
78
|
+
end
|
79
|
+
|
80
|
+
end
|
81
|
+
|
82
|
+
class NotFoundException < ServiceError
|
83
|
+
|
84
|
+
# @param [Seahorse::Client::RequestContext] context
|
85
|
+
# @param [String] message
|
86
|
+
# @param [Aws::Mobile::Types::NotFoundException] data
|
87
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
88
|
+
super(context, message, data)
|
89
|
+
end
|
90
|
+
|
91
|
+
# @return [String]
|
92
|
+
def message
|
93
|
+
@message || @data[:message]
|
94
|
+
end
|
95
|
+
|
96
|
+
end
|
97
|
+
|
98
|
+
class ServiceUnavailableException < ServiceError
|
99
|
+
|
100
|
+
# @param [Seahorse::Client::RequestContext] context
|
101
|
+
# @param [String] message
|
102
|
+
# @param [Aws::Mobile::Types::ServiceUnavailableException] data
|
103
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
104
|
+
super(context, message, data)
|
105
|
+
end
|
106
|
+
|
107
|
+
# @return [String]
|
108
|
+
def retry_after_seconds
|
109
|
+
@data[:retry_after_seconds]
|
110
|
+
end
|
111
|
+
|
112
|
+
# @return [String]
|
113
|
+
def message
|
114
|
+
@message || @data[:message]
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|
118
|
+
|
119
|
+
class TooManyRequestsException < ServiceError
|
120
|
+
|
121
|
+
# @param [Seahorse::Client::RequestContext] context
|
122
|
+
# @param [String] message
|
123
|
+
# @param [Aws::Mobile::Types::TooManyRequestsException] data
|
124
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
125
|
+
super(context, message, data)
|
126
|
+
end
|
127
|
+
|
128
|
+
# @return [String]
|
129
|
+
def retry_after_seconds
|
130
|
+
@data[:retry_after_seconds]
|
131
|
+
end
|
132
|
+
|
133
|
+
# @return [String]
|
134
|
+
def message
|
135
|
+
@message || @data[:message]
|
136
|
+
end
|
137
|
+
|
138
|
+
end
|
139
|
+
|
140
|
+
class UnauthorizedException < ServiceError
|
141
|
+
|
142
|
+
# @param [Seahorse::Client::RequestContext] context
|
143
|
+
# @param [String] message
|
144
|
+
# @param [Aws::Mobile::Types::UnauthorizedException] data
|
145
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
146
|
+
super(context, message, data)
|
147
|
+
end
|
148
|
+
|
149
|
+
# @return [String]
|
150
|
+
def message
|
151
|
+
@message || @data[:message]
|
152
|
+
end
|
153
|
+
|
154
|
+
end
|
155
|
+
|
13
156
|
end
|
14
157
|
end
|
data/lib/aws-sdk-mobile/types.rb
CHANGED
@@ -8,6 +8,33 @@
|
|
8
8
|
module Aws::Mobile
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# Account Action is required in order to continue the request.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] message
|
14
|
+
# The Exception Error Message.
|
15
|
+
# @return [String]
|
16
|
+
#
|
17
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/AccountActionRequiredException AWS API Documentation
|
18
|
+
#
|
19
|
+
class AccountActionRequiredException < Struct.new(
|
20
|
+
:message)
|
21
|
+
include Aws::Structure
|
22
|
+
end
|
23
|
+
|
24
|
+
# The request cannot be processed because some parameter is not valid or
|
25
|
+
# the project state prevents the operation from being performed.
|
26
|
+
#
|
27
|
+
# @!attribute [rw] message
|
28
|
+
# The Exception Error Message.
|
29
|
+
# @return [String]
|
30
|
+
#
|
31
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/BadRequestException AWS API Documentation
|
32
|
+
#
|
33
|
+
class BadRequestException < Struct.new(
|
34
|
+
:message)
|
35
|
+
include Aws::Structure
|
36
|
+
end
|
37
|
+
|
11
38
|
# The details of the bundle.
|
12
39
|
#
|
13
40
|
# @!attribute [rw] bundle_id
|
@@ -319,6 +346,41 @@ module Aws::Mobile
|
|
319
346
|
include Aws::Structure
|
320
347
|
end
|
321
348
|
|
349
|
+
# The service has encountered an unexpected error condition which
|
350
|
+
# prevents it from servicing the request.
|
351
|
+
#
|
352
|
+
# @!attribute [rw] message
|
353
|
+
# The Exception Error Message.
|
354
|
+
# @return [String]
|
355
|
+
#
|
356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/InternalFailureException AWS API Documentation
|
357
|
+
#
|
358
|
+
class InternalFailureException < Struct.new(
|
359
|
+
:message)
|
360
|
+
include Aws::Structure
|
361
|
+
end
|
362
|
+
|
363
|
+
# There are too many AWS Mobile Hub projects in the account or the
|
364
|
+
# account has exceeded the maximum number of resources in some AWS
|
365
|
+
# service. You should create another sub-account using AWS Organizations
|
366
|
+
# or remove some resources and retry your request.
|
367
|
+
#
|
368
|
+
# @!attribute [rw] retry_after_seconds
|
369
|
+
# The Exception Error Message.
|
370
|
+
# @return [String]
|
371
|
+
#
|
372
|
+
# @!attribute [rw] message
|
373
|
+
# The Exception Error Message.
|
374
|
+
# @return [String]
|
375
|
+
#
|
376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/LimitExceededException AWS API Documentation
|
377
|
+
#
|
378
|
+
class LimitExceededException < Struct.new(
|
379
|
+
:retry_after_seconds,
|
380
|
+
:message)
|
381
|
+
include Aws::Structure
|
382
|
+
end
|
383
|
+
|
322
384
|
# Request structure to request all available bundles.
|
323
385
|
#
|
324
386
|
# @note When making an API call, you may pass ListBundlesRequest
|
@@ -416,6 +478,19 @@ module Aws::Mobile
|
|
416
478
|
include Aws::Structure
|
417
479
|
end
|
418
480
|
|
481
|
+
# No entity can be found with the specified identifier.
|
482
|
+
#
|
483
|
+
# @!attribute [rw] message
|
484
|
+
# The Exception Error Message.
|
485
|
+
# @return [String]
|
486
|
+
#
|
487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/NotFoundException AWS API Documentation
|
488
|
+
#
|
489
|
+
class NotFoundException < Struct.new(
|
490
|
+
:message)
|
491
|
+
include Aws::Structure
|
492
|
+
end
|
493
|
+
|
419
494
|
# Detailed information about an AWS Mobile Hub project.
|
420
495
|
#
|
421
496
|
# @!attribute [rw] name
|
@@ -521,6 +596,57 @@ module Aws::Mobile
|
|
521
596
|
include Aws::Structure
|
522
597
|
end
|
523
598
|
|
599
|
+
# The service is temporarily unavailable. The request should be retried
|
600
|
+
# after some time delay.
|
601
|
+
#
|
602
|
+
# @!attribute [rw] retry_after_seconds
|
603
|
+
# The Exception Error Message.
|
604
|
+
# @return [String]
|
605
|
+
#
|
606
|
+
# @!attribute [rw] message
|
607
|
+
# The Exception Error Message.
|
608
|
+
# @return [String]
|
609
|
+
#
|
610
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ServiceUnavailableException AWS API Documentation
|
611
|
+
#
|
612
|
+
class ServiceUnavailableException < Struct.new(
|
613
|
+
:retry_after_seconds,
|
614
|
+
:message)
|
615
|
+
include Aws::Structure
|
616
|
+
end
|
617
|
+
|
618
|
+
# Too many requests have been received for this AWS account in too short
|
619
|
+
# a time. The request should be retried after some time delay.
|
620
|
+
#
|
621
|
+
# @!attribute [rw] retry_after_seconds
|
622
|
+
# The Exception Error Message.
|
623
|
+
# @return [String]
|
624
|
+
#
|
625
|
+
# @!attribute [rw] message
|
626
|
+
# The Exception Error Message.
|
627
|
+
# @return [String]
|
628
|
+
#
|
629
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/TooManyRequestsException AWS API Documentation
|
630
|
+
#
|
631
|
+
class TooManyRequestsException < Struct.new(
|
632
|
+
:retry_after_seconds,
|
633
|
+
:message)
|
634
|
+
include Aws::Structure
|
635
|
+
end
|
636
|
+
|
637
|
+
# Credentials of the caller are insufficient to authorize the request.
|
638
|
+
#
|
639
|
+
# @!attribute [rw] message
|
640
|
+
# The Exception Error Message.
|
641
|
+
# @return [String]
|
642
|
+
#
|
643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/UnauthorizedException AWS API Documentation
|
644
|
+
#
|
645
|
+
class UnauthorizedException < Struct.new(
|
646
|
+
:message)
|
647
|
+
include Aws::Structure
|
648
|
+
end
|
649
|
+
|
524
650
|
# Request structure used for requests to update project configuration.
|
525
651
|
#
|
526
652
|
# @note When making an API call, you may pass UpdateProjectRequest
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mobile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.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-
|
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.
|
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.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|