aws-sdk-serverlessapplicationrepository 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-serverlessapplicationrepository.rb +47 -0
- data/lib/aws-sdk-serverlessapplicationrepository/client.rb +699 -0
- data/lib/aws-sdk-serverlessapplicationrepository/client_api.rb +448 -0
- data/lib/aws-sdk-serverlessapplicationrepository/customizations.rb +0 -0
- data/lib/aws-sdk-serverlessapplicationrepository/errors.rb +14 -0
- data/lib/aws-sdk-serverlessapplicationrepository/resource.rb +23 -0
- data/lib/aws-sdk-serverlessapplicationrepository/types.rb +1155 -0
- metadata +82 -0
@@ -0,0 +1,448 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::ServerlessApplicationRepository
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
Application = Shapes::StructureShape.new(name: 'Application')
|
15
|
+
ApplicationPage = Shapes::StructureShape.new(name: 'ApplicationPage')
|
16
|
+
ApplicationPolicy = Shapes::StructureShape.new(name: 'ApplicationPolicy')
|
17
|
+
ApplicationPolicyStatement = Shapes::StructureShape.new(name: 'ApplicationPolicyStatement')
|
18
|
+
ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
|
19
|
+
ApplicationVersionPage = Shapes::StructureShape.new(name: 'ApplicationVersionPage')
|
20
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
21
|
+
ChangeSetDetails = Shapes::StructureShape.new(name: 'ChangeSetDetails')
|
22
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
23
|
+
CreateApplicationInput = Shapes::StructureShape.new(name: 'CreateApplicationInput')
|
24
|
+
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
25
|
+
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
26
|
+
CreateApplicationVersionInput = Shapes::StructureShape.new(name: 'CreateApplicationVersionInput')
|
27
|
+
CreateApplicationVersionRequest = Shapes::StructureShape.new(name: 'CreateApplicationVersionRequest')
|
28
|
+
CreateApplicationVersionResponse = Shapes::StructureShape.new(name: 'CreateApplicationVersionResponse')
|
29
|
+
CreateCloudFormationChangeSetInput = Shapes::StructureShape.new(name: 'CreateCloudFormationChangeSetInput')
|
30
|
+
CreateCloudFormationChangeSetRequest = Shapes::StructureShape.new(name: 'CreateCloudFormationChangeSetRequest')
|
31
|
+
CreateCloudFormationChangeSetResponse = Shapes::StructureShape.new(name: 'CreateCloudFormationChangeSetResponse')
|
32
|
+
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
33
|
+
GetApplicationPolicyRequest = Shapes::StructureShape.new(name: 'GetApplicationPolicyRequest')
|
34
|
+
GetApplicationPolicyResponse = Shapes::StructureShape.new(name: 'GetApplicationPolicyResponse')
|
35
|
+
GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
|
36
|
+
GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse')
|
37
|
+
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
38
|
+
ListApplicationVersionsRequest = Shapes::StructureShape.new(name: 'ListApplicationVersionsRequest')
|
39
|
+
ListApplicationVersionsResponse = Shapes::StructureShape.new(name: 'ListApplicationVersionsResponse')
|
40
|
+
ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
|
41
|
+
ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
|
42
|
+
ListOfApplicationPolicyStatement = Shapes::ListShape.new(name: 'ListOfApplicationPolicyStatement')
|
43
|
+
ListOfApplicationSummary = Shapes::ListShape.new(name: 'ListOfApplicationSummary')
|
44
|
+
ListOfParameterDefinition = Shapes::ListShape.new(name: 'ListOfParameterDefinition')
|
45
|
+
ListOfParameterValue = Shapes::ListShape.new(name: 'ListOfParameterValue')
|
46
|
+
ListOfVersionSummary = Shapes::ListShape.new(name: 'ListOfVersionSummary')
|
47
|
+
ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
|
48
|
+
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
49
|
+
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
50
|
+
ParameterDefinition = Shapes::StructureShape.new(name: 'ParameterDefinition')
|
51
|
+
ParameterValue = Shapes::StructureShape.new(name: 'ParameterValue')
|
52
|
+
PutApplicationPolicyRequest = Shapes::StructureShape.new(name: 'PutApplicationPolicyRequest')
|
53
|
+
PutApplicationPolicyResponse = Shapes::StructureShape.new(name: 'PutApplicationPolicyResponse')
|
54
|
+
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
55
|
+
UpdateApplicationInput = Shapes::StructureShape.new(name: 'UpdateApplicationInput')
|
56
|
+
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
57
|
+
UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
|
58
|
+
Version = Shapes::StructureShape.new(name: 'Version')
|
59
|
+
VersionSummary = Shapes::StructureShape.new(name: 'VersionSummary')
|
60
|
+
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
61
|
+
__double = Shapes::FloatShape.new(name: '__double')
|
62
|
+
__integer = Shapes::IntegerShape.new(name: '__integer')
|
63
|
+
__string = Shapes::StringShape.new(name: '__string')
|
64
|
+
__timestamp = Shapes::TimestampShape.new(name: '__timestamp')
|
65
|
+
|
66
|
+
Application.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
|
67
|
+
Application.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
68
|
+
Application.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
|
69
|
+
Application.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
70
|
+
Application.add_member(:labels, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "labels"))
|
71
|
+
Application.add_member(:license_url, Shapes::ShapeRef.new(shape: __string, location_name: "licenseUrl"))
|
72
|
+
Application.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
73
|
+
Application.add_member(:readme_url, Shapes::ShapeRef.new(shape: __string, location_name: "readmeUrl"))
|
74
|
+
Application.add_member(:spdx_license_id, Shapes::ShapeRef.new(shape: __string, location_name: "spdxLicenseId"))
|
75
|
+
Application.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
76
|
+
Application.struct_class = Types::Application
|
77
|
+
|
78
|
+
ApplicationPage.add_member(:applications, Shapes::ShapeRef.new(shape: ListOfApplicationSummary, location_name: "applications"))
|
79
|
+
ApplicationPage.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
80
|
+
ApplicationPage.struct_class = Types::ApplicationPage
|
81
|
+
|
82
|
+
ApplicationPolicy.add_member(:statements, Shapes::ShapeRef.new(shape: ListOfApplicationPolicyStatement, location_name: "statements"))
|
83
|
+
ApplicationPolicy.struct_class = Types::ApplicationPolicy
|
84
|
+
|
85
|
+
ApplicationPolicyStatement.add_member(:actions, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "actions"))
|
86
|
+
ApplicationPolicyStatement.add_member(:principals, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "principals"))
|
87
|
+
ApplicationPolicyStatement.add_member(:statement_id, Shapes::ShapeRef.new(shape: __string, location_name: "statementId"))
|
88
|
+
ApplicationPolicyStatement.struct_class = Types::ApplicationPolicyStatement
|
89
|
+
|
90
|
+
ApplicationSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
|
91
|
+
ApplicationSummary.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
92
|
+
ApplicationSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
|
93
|
+
ApplicationSummary.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
94
|
+
ApplicationSummary.add_member(:labels, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "labels"))
|
95
|
+
ApplicationSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
96
|
+
ApplicationSummary.add_member(:spdx_license_id, Shapes::ShapeRef.new(shape: __string, location_name: "spdxLicenseId"))
|
97
|
+
ApplicationSummary.struct_class = Types::ApplicationSummary
|
98
|
+
|
99
|
+
ApplicationVersionPage.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
100
|
+
ApplicationVersionPage.add_member(:versions, Shapes::ShapeRef.new(shape: ListOfVersionSummary, location_name: "versions"))
|
101
|
+
ApplicationVersionPage.struct_class = Types::ApplicationVersionPage
|
102
|
+
|
103
|
+
ChangeSetDetails.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
|
104
|
+
ChangeSetDetails.add_member(:change_set_id, Shapes::ShapeRef.new(shape: __string, location_name: "changeSetId"))
|
105
|
+
ChangeSetDetails.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
|
106
|
+
ChangeSetDetails.add_member(:stack_id, Shapes::ShapeRef.new(shape: __string, location_name: "stackId"))
|
107
|
+
ChangeSetDetails.struct_class = Types::ChangeSetDetails
|
108
|
+
|
109
|
+
CreateApplicationInput.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
110
|
+
CreateApplicationInput.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
111
|
+
CreateApplicationInput.add_member(:labels, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "labels"))
|
112
|
+
CreateApplicationInput.add_member(:license_body, Shapes::ShapeRef.new(shape: __string, location_name: "licenseBody"))
|
113
|
+
CreateApplicationInput.add_member(:license_url, Shapes::ShapeRef.new(shape: __string, location_name: "licenseUrl"))
|
114
|
+
CreateApplicationInput.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
115
|
+
CreateApplicationInput.add_member(:readme_body, Shapes::ShapeRef.new(shape: __string, location_name: "readmeBody"))
|
116
|
+
CreateApplicationInput.add_member(:readme_url, Shapes::ShapeRef.new(shape: __string, location_name: "readmeUrl"))
|
117
|
+
CreateApplicationInput.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
|
118
|
+
CreateApplicationInput.add_member(:source_code_url, Shapes::ShapeRef.new(shape: __string, location_name: "sourceCodeUrl"))
|
119
|
+
CreateApplicationInput.add_member(:spdx_license_id, Shapes::ShapeRef.new(shape: __string, location_name: "spdxLicenseId"))
|
120
|
+
CreateApplicationInput.add_member(:template_body, Shapes::ShapeRef.new(shape: __string, location_name: "templateBody"))
|
121
|
+
CreateApplicationInput.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, location_name: "templateUrl"))
|
122
|
+
CreateApplicationInput.struct_class = Types::CreateApplicationInput
|
123
|
+
|
124
|
+
CreateApplicationRequest.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
125
|
+
CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
126
|
+
CreateApplicationRequest.add_member(:labels, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "labels"))
|
127
|
+
CreateApplicationRequest.add_member(:license_body, Shapes::ShapeRef.new(shape: __string, location_name: "licenseBody"))
|
128
|
+
CreateApplicationRequest.add_member(:license_url, Shapes::ShapeRef.new(shape: __string, location_name: "licenseUrl"))
|
129
|
+
CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
130
|
+
CreateApplicationRequest.add_member(:readme_body, Shapes::ShapeRef.new(shape: __string, location_name: "readmeBody"))
|
131
|
+
CreateApplicationRequest.add_member(:readme_url, Shapes::ShapeRef.new(shape: __string, location_name: "readmeUrl"))
|
132
|
+
CreateApplicationRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
|
133
|
+
CreateApplicationRequest.add_member(:source_code_url, Shapes::ShapeRef.new(shape: __string, location_name: "sourceCodeUrl"))
|
134
|
+
CreateApplicationRequest.add_member(:spdx_license_id, Shapes::ShapeRef.new(shape: __string, location_name: "spdxLicenseId"))
|
135
|
+
CreateApplicationRequest.add_member(:template_body, Shapes::ShapeRef.new(shape: __string, location_name: "templateBody"))
|
136
|
+
CreateApplicationRequest.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, location_name: "templateUrl"))
|
137
|
+
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
138
|
+
|
139
|
+
CreateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
|
140
|
+
CreateApplicationResponse.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
141
|
+
CreateApplicationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
|
142
|
+
CreateApplicationResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
143
|
+
CreateApplicationResponse.add_member(:labels, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "labels"))
|
144
|
+
CreateApplicationResponse.add_member(:license_url, Shapes::ShapeRef.new(shape: __string, location_name: "licenseUrl"))
|
145
|
+
CreateApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
146
|
+
CreateApplicationResponse.add_member(:readme_url, Shapes::ShapeRef.new(shape: __string, location_name: "readmeUrl"))
|
147
|
+
CreateApplicationResponse.add_member(:spdx_license_id, Shapes::ShapeRef.new(shape: __string, location_name: "spdxLicenseId"))
|
148
|
+
CreateApplicationResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
149
|
+
CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
|
150
|
+
|
151
|
+
CreateApplicationVersionInput.add_member(:source_code_url, Shapes::ShapeRef.new(shape: __string, location_name: "sourceCodeUrl"))
|
152
|
+
CreateApplicationVersionInput.add_member(:template_body, Shapes::ShapeRef.new(shape: __string, location_name: "templateBody"))
|
153
|
+
CreateApplicationVersionInput.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, location_name: "templateUrl"))
|
154
|
+
CreateApplicationVersionInput.struct_class = Types::CreateApplicationVersionInput
|
155
|
+
|
156
|
+
CreateApplicationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
157
|
+
CreateApplicationVersionRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "semanticVersion"))
|
158
|
+
CreateApplicationVersionRequest.add_member(:source_code_url, Shapes::ShapeRef.new(shape: __string, location_name: "sourceCodeUrl"))
|
159
|
+
CreateApplicationVersionRequest.add_member(:template_body, Shapes::ShapeRef.new(shape: __string, location_name: "templateBody"))
|
160
|
+
CreateApplicationVersionRequest.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, location_name: "templateUrl"))
|
161
|
+
CreateApplicationVersionRequest.struct_class = Types::CreateApplicationVersionRequest
|
162
|
+
|
163
|
+
CreateApplicationVersionResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
|
164
|
+
CreateApplicationVersionResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
|
165
|
+
CreateApplicationVersionResponse.add_member(:parameter_definitions, Shapes::ShapeRef.new(shape: ListOfParameterDefinition, location_name: "parameterDefinitions"))
|
166
|
+
CreateApplicationVersionResponse.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
|
167
|
+
CreateApplicationVersionResponse.add_member(:source_code_url, Shapes::ShapeRef.new(shape: __string, location_name: "sourceCodeUrl"))
|
168
|
+
CreateApplicationVersionResponse.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, location_name: "templateUrl"))
|
169
|
+
CreateApplicationVersionResponse.struct_class = Types::CreateApplicationVersionResponse
|
170
|
+
|
171
|
+
CreateCloudFormationChangeSetInput.add_member(:parameter_overrides, Shapes::ShapeRef.new(shape: ListOfParameterValue, location_name: "parameterOverrides"))
|
172
|
+
CreateCloudFormationChangeSetInput.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
|
173
|
+
CreateCloudFormationChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: __string, location_name: "stackName"))
|
174
|
+
CreateCloudFormationChangeSetInput.struct_class = Types::CreateCloudFormationChangeSetInput
|
175
|
+
|
176
|
+
CreateCloudFormationChangeSetRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
177
|
+
CreateCloudFormationChangeSetRequest.add_member(:parameter_overrides, Shapes::ShapeRef.new(shape: ListOfParameterValue, location_name: "parameterOverrides"))
|
178
|
+
CreateCloudFormationChangeSetRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
|
179
|
+
CreateCloudFormationChangeSetRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: __string, location_name: "stackName"))
|
180
|
+
CreateCloudFormationChangeSetRequest.struct_class = Types::CreateCloudFormationChangeSetRequest
|
181
|
+
|
182
|
+
CreateCloudFormationChangeSetResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
|
183
|
+
CreateCloudFormationChangeSetResponse.add_member(:change_set_id, Shapes::ShapeRef.new(shape: __string, location_name: "changeSetId"))
|
184
|
+
CreateCloudFormationChangeSetResponse.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
|
185
|
+
CreateCloudFormationChangeSetResponse.add_member(:stack_id, Shapes::ShapeRef.new(shape: __string, location_name: "stackId"))
|
186
|
+
CreateCloudFormationChangeSetResponse.struct_class = Types::CreateCloudFormationChangeSetResponse
|
187
|
+
|
188
|
+
GetApplicationPolicyRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
189
|
+
GetApplicationPolicyRequest.struct_class = Types::GetApplicationPolicyRequest
|
190
|
+
|
191
|
+
GetApplicationPolicyResponse.add_member(:statements, Shapes::ShapeRef.new(shape: ListOfApplicationPolicyStatement, location_name: "statements"))
|
192
|
+
GetApplicationPolicyResponse.struct_class = Types::GetApplicationPolicyResponse
|
193
|
+
|
194
|
+
GetApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
195
|
+
GetApplicationRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "semanticVersion"))
|
196
|
+
GetApplicationRequest.struct_class = Types::GetApplicationRequest
|
197
|
+
|
198
|
+
GetApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
|
199
|
+
GetApplicationResponse.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
200
|
+
GetApplicationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
|
201
|
+
GetApplicationResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
202
|
+
GetApplicationResponse.add_member(:labels, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "labels"))
|
203
|
+
GetApplicationResponse.add_member(:license_url, Shapes::ShapeRef.new(shape: __string, location_name: "licenseUrl"))
|
204
|
+
GetApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
205
|
+
GetApplicationResponse.add_member(:readme_url, Shapes::ShapeRef.new(shape: __string, location_name: "readmeUrl"))
|
206
|
+
GetApplicationResponse.add_member(:spdx_license_id, Shapes::ShapeRef.new(shape: __string, location_name: "spdxLicenseId"))
|
207
|
+
GetApplicationResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
208
|
+
GetApplicationResponse.struct_class = Types::GetApplicationResponse
|
209
|
+
|
210
|
+
ListApplicationVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
211
|
+
ListApplicationVersionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "maxItems"))
|
212
|
+
ListApplicationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
213
|
+
ListApplicationVersionsRequest.struct_class = Types::ListApplicationVersionsRequest
|
214
|
+
|
215
|
+
ListApplicationVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
216
|
+
ListApplicationVersionsResponse.add_member(:versions, Shapes::ShapeRef.new(shape: ListOfVersionSummary, location_name: "versions"))
|
217
|
+
ListApplicationVersionsResponse.struct_class = Types::ListApplicationVersionsResponse
|
218
|
+
|
219
|
+
ListApplicationsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "maxItems"))
|
220
|
+
ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
221
|
+
ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
|
222
|
+
|
223
|
+
ListApplicationsResponse.add_member(:applications, Shapes::ShapeRef.new(shape: ListOfApplicationSummary, location_name: "applications"))
|
224
|
+
ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
225
|
+
ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
|
226
|
+
|
227
|
+
ListOfApplicationPolicyStatement.member = Shapes::ShapeRef.new(shape: ApplicationPolicyStatement)
|
228
|
+
|
229
|
+
ListOfApplicationSummary.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
|
230
|
+
|
231
|
+
ListOfParameterDefinition.member = Shapes::ShapeRef.new(shape: ParameterDefinition)
|
232
|
+
|
233
|
+
ListOfParameterValue.member = Shapes::ShapeRef.new(shape: ParameterValue)
|
234
|
+
|
235
|
+
ListOfVersionSummary.member = Shapes::ShapeRef.new(shape: VersionSummary)
|
236
|
+
|
237
|
+
ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
238
|
+
|
239
|
+
ParameterDefinition.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: __string, location_name: "allowedPattern"))
|
240
|
+
ParameterDefinition.add_member(:allowed_values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "allowedValues"))
|
241
|
+
ParameterDefinition.add_member(:constraint_description, Shapes::ShapeRef.new(shape: __string, location_name: "constraintDescription"))
|
242
|
+
ParameterDefinition.add_member(:default_value, Shapes::ShapeRef.new(shape: __string, location_name: "defaultValue"))
|
243
|
+
ParameterDefinition.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
244
|
+
ParameterDefinition.add_member(:max_length, Shapes::ShapeRef.new(shape: __integer, location_name: "maxLength"))
|
245
|
+
ParameterDefinition.add_member(:max_value, Shapes::ShapeRef.new(shape: __integer, location_name: "maxValue"))
|
246
|
+
ParameterDefinition.add_member(:min_length, Shapes::ShapeRef.new(shape: __integer, location_name: "minLength"))
|
247
|
+
ParameterDefinition.add_member(:min_value, Shapes::ShapeRef.new(shape: __integer, location_name: "minValue"))
|
248
|
+
ParameterDefinition.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
249
|
+
ParameterDefinition.add_member(:no_echo, Shapes::ShapeRef.new(shape: __boolean, location_name: "noEcho"))
|
250
|
+
ParameterDefinition.add_member(:referenced_by_resources, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "referencedByResources"))
|
251
|
+
ParameterDefinition.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
|
252
|
+
ParameterDefinition.struct_class = Types::ParameterDefinition
|
253
|
+
|
254
|
+
ParameterValue.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
255
|
+
ParameterValue.add_member(:value, Shapes::ShapeRef.new(shape: __string, location_name: "value"))
|
256
|
+
ParameterValue.struct_class = Types::ParameterValue
|
257
|
+
|
258
|
+
PutApplicationPolicyRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
259
|
+
PutApplicationPolicyRequest.add_member(:statements, Shapes::ShapeRef.new(shape: ListOfApplicationPolicyStatement, location_name: "statements"))
|
260
|
+
PutApplicationPolicyRequest.struct_class = Types::PutApplicationPolicyRequest
|
261
|
+
|
262
|
+
PutApplicationPolicyResponse.add_member(:statements, Shapes::ShapeRef.new(shape: ListOfApplicationPolicyStatement, location_name: "statements"))
|
263
|
+
PutApplicationPolicyResponse.struct_class = Types::PutApplicationPolicyResponse
|
264
|
+
|
265
|
+
UpdateApplicationInput.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
266
|
+
UpdateApplicationInput.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
267
|
+
UpdateApplicationInput.add_member(:labels, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "labels"))
|
268
|
+
UpdateApplicationInput.add_member(:readme_body, Shapes::ShapeRef.new(shape: __string, location_name: "readmeBody"))
|
269
|
+
UpdateApplicationInput.add_member(:readme_url, Shapes::ShapeRef.new(shape: __string, location_name: "readmeUrl"))
|
270
|
+
UpdateApplicationInput.struct_class = Types::UpdateApplicationInput
|
271
|
+
|
272
|
+
UpdateApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
|
273
|
+
UpdateApplicationRequest.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
274
|
+
UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
275
|
+
UpdateApplicationRequest.add_member(:labels, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "labels"))
|
276
|
+
UpdateApplicationRequest.add_member(:readme_body, Shapes::ShapeRef.new(shape: __string, location_name: "readmeBody"))
|
277
|
+
UpdateApplicationRequest.add_member(:readme_url, Shapes::ShapeRef.new(shape: __string, location_name: "readmeUrl"))
|
278
|
+
UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
|
279
|
+
|
280
|
+
UpdateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
|
281
|
+
UpdateApplicationResponse.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
|
282
|
+
UpdateApplicationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
|
283
|
+
UpdateApplicationResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
284
|
+
UpdateApplicationResponse.add_member(:labels, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "labels"))
|
285
|
+
UpdateApplicationResponse.add_member(:license_url, Shapes::ShapeRef.new(shape: __string, location_name: "licenseUrl"))
|
286
|
+
UpdateApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
287
|
+
UpdateApplicationResponse.add_member(:readme_url, Shapes::ShapeRef.new(shape: __string, location_name: "readmeUrl"))
|
288
|
+
UpdateApplicationResponse.add_member(:spdx_license_id, Shapes::ShapeRef.new(shape: __string, location_name: "spdxLicenseId"))
|
289
|
+
UpdateApplicationResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
290
|
+
UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
|
291
|
+
|
292
|
+
Version.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
|
293
|
+
Version.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
|
294
|
+
Version.add_member(:parameter_definitions, Shapes::ShapeRef.new(shape: ListOfParameterDefinition, location_name: "parameterDefinitions"))
|
295
|
+
Version.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
|
296
|
+
Version.add_member(:source_code_url, Shapes::ShapeRef.new(shape: __string, location_name: "sourceCodeUrl"))
|
297
|
+
Version.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, location_name: "templateUrl"))
|
298
|
+
Version.struct_class = Types::Version
|
299
|
+
|
300
|
+
VersionSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
|
301
|
+
VersionSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
|
302
|
+
VersionSummary.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
|
303
|
+
VersionSummary.add_member(:source_code_url, Shapes::ShapeRef.new(shape: __string, location_name: "sourceCodeUrl"))
|
304
|
+
VersionSummary.struct_class = Types::VersionSummary
|
305
|
+
|
306
|
+
|
307
|
+
# @api private
|
308
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
309
|
+
|
310
|
+
api.version = "2017-09-08"
|
311
|
+
|
312
|
+
api.metadata = {
|
313
|
+
"endpointPrefix" => "serverlessrepo",
|
314
|
+
"jsonVersion" => "1.1",
|
315
|
+
"protocol" => "rest-json",
|
316
|
+
"serviceFullName" => "AWSServerlessApplicationRepository",
|
317
|
+
"signatureVersion" => "v4",
|
318
|
+
"signingName" => "serverlessrepo",
|
319
|
+
}
|
320
|
+
|
321
|
+
api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
|
322
|
+
o.name = "CreateApplication"
|
323
|
+
o.http_method = "POST"
|
324
|
+
o.http_request_uri = "/applications"
|
325
|
+
o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest)
|
326
|
+
o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse)
|
327
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
328
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
329
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
330
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
331
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
332
|
+
end)
|
333
|
+
|
334
|
+
api.add_operation(:create_application_version, Seahorse::Model::Operation.new.tap do |o|
|
335
|
+
o.name = "CreateApplicationVersion"
|
336
|
+
o.http_method = "PUT"
|
337
|
+
o.http_request_uri = "/applications/{applicationId}/versions/{semanticVersion}"
|
338
|
+
o.input = Shapes::ShapeRef.new(shape: CreateApplicationVersionRequest)
|
339
|
+
o.output = Shapes::ShapeRef.new(shape: CreateApplicationVersionResponse)
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
341
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
342
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
343
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
344
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
345
|
+
end)
|
346
|
+
|
347
|
+
api.add_operation(:create_cloud_formation_change_set, Seahorse::Model::Operation.new.tap do |o|
|
348
|
+
o.name = "CreateCloudFormationChangeSet"
|
349
|
+
o.http_method = "POST"
|
350
|
+
o.http_request_uri = "/applications/{applicationId}/changesets"
|
351
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCloudFormationChangeSetRequest)
|
352
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCloudFormationChangeSetResponse)
|
353
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
354
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
356
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
357
|
+
end)
|
358
|
+
|
359
|
+
api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
|
360
|
+
o.name = "GetApplication"
|
361
|
+
o.http_method = "GET"
|
362
|
+
o.http_request_uri = "/applications/{applicationId}"
|
363
|
+
o.input = Shapes::ShapeRef.new(shape: GetApplicationRequest)
|
364
|
+
o.output = Shapes::ShapeRef.new(shape: GetApplicationResponse)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
367
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
369
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
370
|
+
end)
|
371
|
+
|
372
|
+
api.add_operation(:get_application_policy, Seahorse::Model::Operation.new.tap do |o|
|
373
|
+
o.name = "GetApplicationPolicy"
|
374
|
+
o.http_method = "GET"
|
375
|
+
o.http_request_uri = "/applications/{applicationId}/policy"
|
376
|
+
o.input = Shapes::ShapeRef.new(shape: GetApplicationPolicyRequest)
|
377
|
+
o.output = Shapes::ShapeRef.new(shape: GetApplicationPolicyResponse)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
382
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
383
|
+
end)
|
384
|
+
|
385
|
+
api.add_operation(:list_application_versions, Seahorse::Model::Operation.new.tap do |o|
|
386
|
+
o.name = "ListApplicationVersions"
|
387
|
+
o.http_method = "GET"
|
388
|
+
o.http_request_uri = "/applications/{applicationId}/versions"
|
389
|
+
o.input = Shapes::ShapeRef.new(shape: ListApplicationVersionsRequest)
|
390
|
+
o.output = Shapes::ShapeRef.new(shape: ListApplicationVersionsResponse)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
396
|
+
end)
|
397
|
+
|
398
|
+
api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
|
399
|
+
o.name = "ListApplications"
|
400
|
+
o.http_method = "GET"
|
401
|
+
o.http_request_uri = "/applications"
|
402
|
+
o.input = Shapes::ShapeRef.new(shape: ListApplicationsRequest)
|
403
|
+
o.output = Shapes::ShapeRef.new(shape: ListApplicationsResponse)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
407
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
408
|
+
end)
|
409
|
+
|
410
|
+
api.add_operation(:put_application_policy, Seahorse::Model::Operation.new.tap do |o|
|
411
|
+
o.name = "PutApplicationPolicy"
|
412
|
+
o.http_method = "PUT"
|
413
|
+
o.http_request_uri = "/applications/{applicationId}/policy"
|
414
|
+
o.input = Shapes::ShapeRef.new(shape: PutApplicationPolicyRequest)
|
415
|
+
o.output = Shapes::ShapeRef.new(shape: PutApplicationPolicyResponse)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
421
|
+
end)
|
422
|
+
|
423
|
+
api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
|
424
|
+
o.name = "UpdateApplication"
|
425
|
+
o.http_method = "PATCH"
|
426
|
+
o.http_request_uri = "/applications/{applicationId}"
|
427
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateApplicationRequest)
|
428
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
435
|
+
end)
|
436
|
+
|
437
|
+
api.add_authorizer(:authorization_strategy, Seahorse::Model::Authorizer.new.tap do |a|
|
438
|
+
a.name = "authorization_strategy"
|
439
|
+
a.type = "provided"
|
440
|
+
a.placement = {
|
441
|
+
:location => "header",
|
442
|
+
:name => "Authorization"
|
443
|
+
}
|
444
|
+
end)
|
445
|
+
end
|
446
|
+
|
447
|
+
end
|
448
|
+
end
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::ServerlessApplicationRepository
|
9
|
+
module Errors
|
10
|
+
|
11
|
+
extend Aws::Errors::DynamicErrors
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|