aws-sdk-serverlessapplicationrepository 1.17.0 → 1.18.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 +4 -4
- data/lib/aws-sdk-serverlessapplicationrepository.rb +1 -1
- data/lib/aws-sdk-serverlessapplicationrepository/client.rb +1 -1
- data/lib/aws-sdk-serverlessapplicationrepository/client_api.rb +24 -0
- data/lib/aws-sdk-serverlessapplicationrepository/errors.rb +126 -0
- data/lib/aws-sdk-serverlessapplicationrepository/types.rb +114 -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: 26b32c265ccbf3ffd31ec737bd6180b3bb935381
|
4
|
+
data.tar.gz: eee73555a7c1a2a96ed339f81ac55b97433a9dd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc06a22bc391c2e2d3a628b1c0b0d9294658d096b2256a75240b80aca77defec614f6b086affd82fad3d55f1fda323033b8f784113448f68fbfee66ddf4185cd
|
7
|
+
data.tar.gz: 9cff51c2e65a55dfb0d3f0ed91493b7de92c15d649fe673622fd55e1d74c8683b38ef251f03409719294ab0d15853d4eaf16111eb1373932e0dd3a3f57364785
|
@@ -1011,7 +1011,7 @@ module Aws::ServerlessApplicationRepository
|
|
1011
1011
|
params: params,
|
1012
1012
|
config: config)
|
1013
1013
|
context[:gem_name] = 'aws-sdk-serverlessapplicationrepository'
|
1014
|
-
context[:gem_version] = '1.
|
1014
|
+
context[:gem_version] = '1.18.0'
|
1015
1015
|
Seahorse::Client::Request.new(handlers, context)
|
1016
1016
|
end
|
1017
1017
|
|
@@ -129,12 +129,20 @@ module Aws::ServerlessApplicationRepository
|
|
129
129
|
ApplicationVersionPage.add_member(:versions, Shapes::ShapeRef.new(shape: __listOfVersionSummary, required: true, location_name: "versions"))
|
130
130
|
ApplicationVersionPage.struct_class = Types::ApplicationVersionPage
|
131
131
|
|
132
|
+
BadRequestException.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
133
|
+
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
134
|
+
BadRequestException.struct_class = Types::BadRequestException
|
135
|
+
|
132
136
|
ChangeSetDetails.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "applicationId"))
|
133
137
|
ChangeSetDetails.add_member(:change_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "changeSetId"))
|
134
138
|
ChangeSetDetails.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "semanticVersion"))
|
135
139
|
ChangeSetDetails.add_member(:stack_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "stackId"))
|
136
140
|
ChangeSetDetails.struct_class = Types::ChangeSetDetails
|
137
141
|
|
142
|
+
ConflictException.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
143
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
144
|
+
ConflictException.struct_class = Types::ConflictException
|
145
|
+
|
138
146
|
CreateApplicationInput.add_member(:author, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "author"))
|
139
147
|
CreateApplicationInput.add_member(:description, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "description"))
|
140
148
|
CreateApplicationInput.add_member(:home_page_url, Shapes::ShapeRef.new(shape: __string, location_name: "homePageUrl"))
|
@@ -258,6 +266,10 @@ module Aws::ServerlessApplicationRepository
|
|
258
266
|
DeleteApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
259
267
|
DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
|
260
268
|
|
269
|
+
ForbiddenException.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
270
|
+
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
271
|
+
ForbiddenException.struct_class = Types::ForbiddenException
|
272
|
+
|
261
273
|
GetApplicationPolicyRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
262
274
|
GetApplicationPolicyRequest.struct_class = Types::GetApplicationPolicyRequest
|
263
275
|
|
@@ -294,6 +306,10 @@ module Aws::ServerlessApplicationRepository
|
|
294
306
|
GetCloudFormationTemplateResponse.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, location_name: "templateUrl"))
|
295
307
|
GetCloudFormationTemplateResponse.struct_class = Types::GetCloudFormationTemplateResponse
|
296
308
|
|
309
|
+
InternalServerErrorException.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
310
|
+
InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
311
|
+
InternalServerErrorException.struct_class = Types::InternalServerErrorException
|
312
|
+
|
297
313
|
ListApplicationDependenciesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
298
314
|
ListApplicationDependenciesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "maxItems"))
|
299
315
|
ListApplicationDependenciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
@@ -321,6 +337,10 @@ module Aws::ServerlessApplicationRepository
|
|
321
337
|
ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
322
338
|
ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
|
323
339
|
|
340
|
+
NotFoundException.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
341
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
342
|
+
NotFoundException.struct_class = Types::NotFoundException
|
343
|
+
|
324
344
|
ParameterDefinition.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: __string, location_name: "allowedPattern"))
|
325
345
|
ParameterDefinition.add_member(:allowed_values, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "allowedValues"))
|
326
346
|
ParameterDefinition.add_member(:constraint_description, Shapes::ShapeRef.new(shape: __string, location_name: "constraintDescription"))
|
@@ -368,6 +388,10 @@ module Aws::ServerlessApplicationRepository
|
|
368
388
|
TemplateDetails.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "templateUrl"))
|
369
389
|
TemplateDetails.struct_class = Types::TemplateDetails
|
370
390
|
|
391
|
+
TooManyRequestsException.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
392
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
393
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
394
|
+
|
371
395
|
UpdateApplicationInput.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
372
396
|
UpdateApplicationInput.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
373
397
|
UpdateApplicationInput.add_member(:home_page_url, Shapes::ShapeRef.new(shape: __string, location_name: "homePageUrl"))
|
@@ -10,5 +10,131 @@ module Aws::ServerlessApplicationRepository
|
|
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::ServerlessApplicationRepository::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 error_code
|
24
|
+
@data[:error_code]
|
25
|
+
end
|
26
|
+
|
27
|
+
# @return [String]
|
28
|
+
def message
|
29
|
+
@message || @data[:message]
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
class ConflictException < ServiceError
|
35
|
+
|
36
|
+
# @param [Seahorse::Client::RequestContext] context
|
37
|
+
# @param [String] message
|
38
|
+
# @param [Aws::ServerlessApplicationRepository::Types::ConflictException] data
|
39
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
40
|
+
super(context, message, data)
|
41
|
+
end
|
42
|
+
|
43
|
+
# @return [String]
|
44
|
+
def error_code
|
45
|
+
@data[:error_code]
|
46
|
+
end
|
47
|
+
|
48
|
+
# @return [String]
|
49
|
+
def message
|
50
|
+
@message || @data[:message]
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
|
55
|
+
class ForbiddenException < ServiceError
|
56
|
+
|
57
|
+
# @param [Seahorse::Client::RequestContext] context
|
58
|
+
# @param [String] message
|
59
|
+
# @param [Aws::ServerlessApplicationRepository::Types::ForbiddenException] data
|
60
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
61
|
+
super(context, message, data)
|
62
|
+
end
|
63
|
+
|
64
|
+
# @return [String]
|
65
|
+
def error_code
|
66
|
+
@data[:error_code]
|
67
|
+
end
|
68
|
+
|
69
|
+
# @return [String]
|
70
|
+
def message
|
71
|
+
@message || @data[:message]
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
class InternalServerErrorException < ServiceError
|
77
|
+
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
79
|
+
# @param [String] message
|
80
|
+
# @param [Aws::ServerlessApplicationRepository::Types::InternalServerErrorException] data
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
82
|
+
super(context, message, data)
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def error_code
|
87
|
+
@data[:error_code]
|
88
|
+
end
|
89
|
+
|
90
|
+
# @return [String]
|
91
|
+
def message
|
92
|
+
@message || @data[:message]
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
|
97
|
+
class NotFoundException < ServiceError
|
98
|
+
|
99
|
+
# @param [Seahorse::Client::RequestContext] context
|
100
|
+
# @param [String] message
|
101
|
+
# @param [Aws::ServerlessApplicationRepository::Types::NotFoundException] data
|
102
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
103
|
+
super(context, message, data)
|
104
|
+
end
|
105
|
+
|
106
|
+
# @return [String]
|
107
|
+
def error_code
|
108
|
+
@data[:error_code]
|
109
|
+
end
|
110
|
+
|
111
|
+
# @return [String]
|
112
|
+
def message
|
113
|
+
@message || @data[:message]
|
114
|
+
end
|
115
|
+
|
116
|
+
end
|
117
|
+
|
118
|
+
class TooManyRequestsException < ServiceError
|
119
|
+
|
120
|
+
# @param [Seahorse::Client::RequestContext] context
|
121
|
+
# @param [String] message
|
122
|
+
# @param [Aws::ServerlessApplicationRepository::Types::TooManyRequestsException] data
|
123
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
124
|
+
super(context, message, data)
|
125
|
+
end
|
126
|
+
|
127
|
+
# @return [String]
|
128
|
+
def error_code
|
129
|
+
@data[:error_code]
|
130
|
+
end
|
131
|
+
|
132
|
+
# @return [String]
|
133
|
+
def message
|
134
|
+
@message || @data[:message]
|
135
|
+
end
|
136
|
+
|
137
|
+
end
|
138
|
+
|
13
139
|
end
|
14
140
|
end
|
@@ -281,6 +281,24 @@ module Aws::ServerlessApplicationRepository
|
|
281
281
|
include Aws::Structure
|
282
282
|
end
|
283
283
|
|
284
|
+
# One of the parameters in the request is invalid.
|
285
|
+
#
|
286
|
+
# @!attribute [rw] error_code
|
287
|
+
# 400
|
288
|
+
# @return [String]
|
289
|
+
#
|
290
|
+
# @!attribute [rw] message
|
291
|
+
# One of the parameters in the request is invalid.
|
292
|
+
# @return [String]
|
293
|
+
#
|
294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/BadRequestException AWS API Documentation
|
295
|
+
#
|
296
|
+
class BadRequestException < Struct.new(
|
297
|
+
:error_code,
|
298
|
+
:message)
|
299
|
+
include Aws::Structure
|
300
|
+
end
|
301
|
+
|
284
302
|
# Details of the change set.
|
285
303
|
#
|
286
304
|
# @!attribute [rw] application_id
|
@@ -319,6 +337,24 @@ module Aws::ServerlessApplicationRepository
|
|
319
337
|
include Aws::Structure
|
320
338
|
end
|
321
339
|
|
340
|
+
# The resource already exists.
|
341
|
+
#
|
342
|
+
# @!attribute [rw] error_code
|
343
|
+
# 409
|
344
|
+
# @return [String]
|
345
|
+
#
|
346
|
+
# @!attribute [rw] message
|
347
|
+
# The resource already exists.
|
348
|
+
# @return [String]
|
349
|
+
#
|
350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ConflictException AWS API Documentation
|
351
|
+
#
|
352
|
+
class ConflictException < Struct.new(
|
353
|
+
:error_code,
|
354
|
+
:message)
|
355
|
+
include Aws::Structure
|
356
|
+
end
|
357
|
+
|
322
358
|
# Create an application request.
|
323
359
|
#
|
324
360
|
# @!attribute [rw] author
|
@@ -1056,6 +1092,24 @@ module Aws::ServerlessApplicationRepository
|
|
1056
1092
|
include Aws::Structure
|
1057
1093
|
end
|
1058
1094
|
|
1095
|
+
# The client is not authenticated.
|
1096
|
+
#
|
1097
|
+
# @!attribute [rw] error_code
|
1098
|
+
# 403
|
1099
|
+
# @return [String]
|
1100
|
+
#
|
1101
|
+
# @!attribute [rw] message
|
1102
|
+
# The client is not authenticated.
|
1103
|
+
# @return [String]
|
1104
|
+
#
|
1105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ForbiddenException AWS API Documentation
|
1106
|
+
#
|
1107
|
+
class ForbiddenException < Struct.new(
|
1108
|
+
:error_code,
|
1109
|
+
:message)
|
1110
|
+
include Aws::Structure
|
1111
|
+
end
|
1112
|
+
|
1059
1113
|
# @note When making an API call, you may pass GetApplicationPolicyRequest
|
1060
1114
|
# data as a hash:
|
1061
1115
|
#
|
@@ -1212,6 +1266,26 @@ module Aws::ServerlessApplicationRepository
|
|
1212
1266
|
include Aws::Structure
|
1213
1267
|
end
|
1214
1268
|
|
1269
|
+
# The AWS Serverless Application Repository service encountered an
|
1270
|
+
# internal error.
|
1271
|
+
#
|
1272
|
+
# @!attribute [rw] error_code
|
1273
|
+
# 500
|
1274
|
+
# @return [String]
|
1275
|
+
#
|
1276
|
+
# @!attribute [rw] message
|
1277
|
+
# The AWS Serverless Application Repository service encountered an
|
1278
|
+
# internal error.
|
1279
|
+
# @return [String]
|
1280
|
+
#
|
1281
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/InternalServerErrorException AWS API Documentation
|
1282
|
+
#
|
1283
|
+
class InternalServerErrorException < Struct.new(
|
1284
|
+
:error_code,
|
1285
|
+
:message)
|
1286
|
+
include Aws::Structure
|
1287
|
+
end
|
1288
|
+
|
1215
1289
|
# @note When making an API call, you may pass ListApplicationDependenciesRequest
|
1216
1290
|
# data as a hash:
|
1217
1291
|
#
|
@@ -1335,6 +1409,26 @@ module Aws::ServerlessApplicationRepository
|
|
1335
1409
|
include Aws::Structure
|
1336
1410
|
end
|
1337
1411
|
|
1412
|
+
# The resource (for example, an access policy statement) specified in
|
1413
|
+
# the request doesn't exist.
|
1414
|
+
#
|
1415
|
+
# @!attribute [rw] error_code
|
1416
|
+
# 404
|
1417
|
+
# @return [String]
|
1418
|
+
#
|
1419
|
+
# @!attribute [rw] message
|
1420
|
+
# The resource (for example, an access policy statement) specified in
|
1421
|
+
# the request doesn't exist.
|
1422
|
+
# @return [String]
|
1423
|
+
#
|
1424
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/NotFoundException AWS API Documentation
|
1425
|
+
#
|
1426
|
+
class NotFoundException < Struct.new(
|
1427
|
+
:error_code,
|
1428
|
+
:message)
|
1429
|
+
include Aws::Structure
|
1430
|
+
end
|
1431
|
+
|
1338
1432
|
# Parameters supported by the application.
|
1339
1433
|
#
|
1340
1434
|
# @!attribute [rw] allowed_pattern
|
@@ -1690,6 +1784,26 @@ module Aws::ServerlessApplicationRepository
|
|
1690
1784
|
include Aws::Structure
|
1691
1785
|
end
|
1692
1786
|
|
1787
|
+
# The client is sending more than the allowed number of requests per
|
1788
|
+
# unit of time.
|
1789
|
+
#
|
1790
|
+
# @!attribute [rw] error_code
|
1791
|
+
# 429
|
1792
|
+
# @return [String]
|
1793
|
+
#
|
1794
|
+
# @!attribute [rw] message
|
1795
|
+
# The client is sending more than the allowed number of requests per
|
1796
|
+
# unit of time.
|
1797
|
+
# @return [String]
|
1798
|
+
#
|
1799
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/TooManyRequestsException AWS API Documentation
|
1800
|
+
#
|
1801
|
+
class TooManyRequestsException < Struct.new(
|
1802
|
+
:error_code,
|
1803
|
+
:message)
|
1804
|
+
include Aws::Structure
|
1805
|
+
end
|
1806
|
+
|
1693
1807
|
# Update the application request.
|
1694
1808
|
#
|
1695
1809
|
# @!attribute [rw] author
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-serverlessapplicationrepository
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.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
|