aws-sdk-serverlessapplicationrepository 1.0.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 +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,23 @@
|
|
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
|
+
class Resource
|
10
|
+
|
11
|
+
# @param options ({})
|
12
|
+
# @option options [Client] :client
|
13
|
+
def initialize(options = {})
|
14
|
+
@client = options[:client] || Client.new(options)
|
15
|
+
end
|
16
|
+
|
17
|
+
# @return [Client]
|
18
|
+
def client
|
19
|
+
@client
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,1155 @@
|
|
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 Types
|
10
|
+
|
11
|
+
# Details about the application.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] application_id
|
14
|
+
# The application Amazon Resource Name (ARN).
|
15
|
+
# @return [String]
|
16
|
+
#
|
17
|
+
# @!attribute [rw] author
|
18
|
+
# The name of the author publishing the app.\\nMin Length=1. Max
|
19
|
+
# Length=127.\\nPattern
|
20
|
+
# "^\[a-z0-9\]((\[a-z0-9\]\|-(?!-))*\[a-z0-9\])?$";
|
21
|
+
# @return [String]
|
22
|
+
#
|
23
|
+
# @!attribute [rw] creation_time
|
24
|
+
# The date/time this resource was created.
|
25
|
+
# @return [String]
|
26
|
+
#
|
27
|
+
# @!attribute [rw] description
|
28
|
+
# The description of the application.\\nMin Length=1. Max Length=256
|
29
|
+
# @return [String]
|
30
|
+
#
|
31
|
+
# @!attribute [rw] labels
|
32
|
+
# Labels to improve discovery of apps in search results.\\nMin
|
33
|
+
# Length=1. Max Length=127. Maximum number of labels: 10\\nPattern:
|
34
|
+
# "^\[a-zA-Z0-9+\\\\-\_:\\\\/@\]+$";
|
35
|
+
# @return [Array<String>]
|
36
|
+
#
|
37
|
+
# @!attribute [rw] license_url
|
38
|
+
# A link to a license file of the app that matches the spdxLicenseID
|
39
|
+
# of your application.\\nMax size 5 MB
|
40
|
+
# @return [String]
|
41
|
+
#
|
42
|
+
# @!attribute [rw] name
|
43
|
+
# The name of the application.\\nMin Length=1. Max
|
44
|
+
# Length=140\\nPattern: "\[a-zA-Z0-9\\\\-\]+";
|
45
|
+
# @return [String]
|
46
|
+
#
|
47
|
+
# @!attribute [rw] readme_url
|
48
|
+
# A link to the Readme file that contains a more detailed description
|
49
|
+
# of the application and how it works in markdown language.\\nMax size
|
50
|
+
# 5 MB
|
51
|
+
# @return [String]
|
52
|
+
#
|
53
|
+
# @!attribute [rw] spdx_license_id
|
54
|
+
# A valid identifier from https://spdx.org/licenses/.
|
55
|
+
# @return [String]
|
56
|
+
#
|
57
|
+
# @!attribute [rw] version
|
58
|
+
# Version information about the application.
|
59
|
+
# @return [Types::Version]
|
60
|
+
#
|
61
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/Application AWS API Documentation
|
62
|
+
#
|
63
|
+
class Application < Struct.new(
|
64
|
+
:application_id,
|
65
|
+
:author,
|
66
|
+
:creation_time,
|
67
|
+
:description,
|
68
|
+
:labels,
|
69
|
+
:license_url,
|
70
|
+
:name,
|
71
|
+
:readme_url,
|
72
|
+
:spdx_license_id,
|
73
|
+
:version)
|
74
|
+
include Aws::Structure
|
75
|
+
end
|
76
|
+
|
77
|
+
# List of application details.
|
78
|
+
#
|
79
|
+
# @!attribute [rw] applications
|
80
|
+
# Array of application summaries.
|
81
|
+
# @return [Array<Types::ApplicationSummary>]
|
82
|
+
#
|
83
|
+
# @!attribute [rw] next_token
|
84
|
+
# The token to request the next page of results.
|
85
|
+
# @return [String]
|
86
|
+
#
|
87
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ApplicationPage AWS API Documentation
|
88
|
+
#
|
89
|
+
class ApplicationPage < Struct.new(
|
90
|
+
:applications,
|
91
|
+
:next_token)
|
92
|
+
include Aws::Structure
|
93
|
+
end
|
94
|
+
|
95
|
+
# Policy statements applied to the application.
|
96
|
+
#
|
97
|
+
# @!attribute [rw] statements
|
98
|
+
# Array of policy statements applied to the application.
|
99
|
+
# @return [Array<Types::ApplicationPolicyStatement>]
|
100
|
+
#
|
101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ApplicationPolicy AWS API Documentation
|
102
|
+
#
|
103
|
+
class ApplicationPolicy < Struct.new(
|
104
|
+
:statements)
|
105
|
+
include Aws::Structure
|
106
|
+
end
|
107
|
+
|
108
|
+
# Policy statement applied to the application.
|
109
|
+
#
|
110
|
+
# @note When making an API call, you may pass ApplicationPolicyStatement
|
111
|
+
# data as a hash:
|
112
|
+
#
|
113
|
+
# {
|
114
|
+
# actions: ["__string"],
|
115
|
+
# principals: ["__string"],
|
116
|
+
# statement_id: "__string",
|
117
|
+
# }
|
118
|
+
#
|
119
|
+
# @!attribute [rw] actions
|
120
|
+
# A list of supported actions:\\n\\n GetApplication \\n \\n\\n
|
121
|
+
# CreateCloudFormationChangeSet \\n \\n\\n ListApplicationVersions \\n
|
122
|
+
# \\n\\n SearchApplications \\n \\n\\n Deploy (Note: This action
|
123
|
+
# enables all other actions above.)
|
124
|
+
# @return [Array<String>]
|
125
|
+
#
|
126
|
+
# @!attribute [rw] principals
|
127
|
+
# An AWS account ID, or * to make the application public.
|
128
|
+
# @return [Array<String>]
|
129
|
+
#
|
130
|
+
# @!attribute [rw] statement_id
|
131
|
+
# A unique ID for the statement.
|
132
|
+
# @return [String]
|
133
|
+
#
|
134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ApplicationPolicyStatement AWS API Documentation
|
135
|
+
#
|
136
|
+
class ApplicationPolicyStatement < Struct.new(
|
137
|
+
:actions,
|
138
|
+
:principals,
|
139
|
+
:statement_id)
|
140
|
+
include Aws::Structure
|
141
|
+
end
|
142
|
+
|
143
|
+
# Summary of details about the application.
|
144
|
+
#
|
145
|
+
# @!attribute [rw] application_id
|
146
|
+
# The application ARN.
|
147
|
+
# @return [String]
|
148
|
+
#
|
149
|
+
# @!attribute [rw] author
|
150
|
+
# The name of the author publishing the app\\nMin Length=1. Max
|
151
|
+
# Length=127.\\nPattern
|
152
|
+
# "^\[a-z0-9\]((\[a-z0-9\]\|-(?!-))*\[a-z0-9\])?$";
|
153
|
+
# @return [String]
|
154
|
+
#
|
155
|
+
# @!attribute [rw] creation_time
|
156
|
+
# The date/time this resource was created.
|
157
|
+
# @return [String]
|
158
|
+
#
|
159
|
+
# @!attribute [rw] description
|
160
|
+
# The description of the application.\\nMin Length=1. Max Length=256
|
161
|
+
# @return [String]
|
162
|
+
#
|
163
|
+
# @!attribute [rw] labels
|
164
|
+
# Labels to improve discovery of apps in search results.\\nMin
|
165
|
+
# Length=1. Max Length=127. Maximum number of labels: 10\\nPattern:
|
166
|
+
# "^\[a-zA-Z0-9+\\\\-\_:\\\\/@\]+$";
|
167
|
+
# @return [Array<String>]
|
168
|
+
#
|
169
|
+
# @!attribute [rw] name
|
170
|
+
# The name of the application.\\nMin Length=1. Max
|
171
|
+
# Length=140\\nPattern: "\[a-zA-Z0-9\\\\-\]+";
|
172
|
+
# @return [String]
|
173
|
+
#
|
174
|
+
# @!attribute [rw] spdx_license_id
|
175
|
+
# A valid identifier from https://spdx.org/licenses/ .
|
176
|
+
# @return [String]
|
177
|
+
#
|
178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ApplicationSummary AWS API Documentation
|
179
|
+
#
|
180
|
+
class ApplicationSummary < Struct.new(
|
181
|
+
:application_id,
|
182
|
+
:author,
|
183
|
+
:creation_time,
|
184
|
+
:description,
|
185
|
+
:labels,
|
186
|
+
:name,
|
187
|
+
:spdx_license_id)
|
188
|
+
include Aws::Structure
|
189
|
+
end
|
190
|
+
|
191
|
+
# List of version summaries for the application.
|
192
|
+
#
|
193
|
+
# @!attribute [rw] next_token
|
194
|
+
# The token to request the next page of results.
|
195
|
+
# @return [String]
|
196
|
+
#
|
197
|
+
# @!attribute [rw] versions
|
198
|
+
# Array of version summaries for the application.
|
199
|
+
# @return [Array<Types::VersionSummary>]
|
200
|
+
#
|
201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ApplicationVersionPage AWS API Documentation
|
202
|
+
#
|
203
|
+
class ApplicationVersionPage < Struct.new(
|
204
|
+
:next_token,
|
205
|
+
:versions)
|
206
|
+
include Aws::Structure
|
207
|
+
end
|
208
|
+
|
209
|
+
# Details of the change set.
|
210
|
+
#
|
211
|
+
# @!attribute [rw] application_id
|
212
|
+
# The application Amazon Resource Name (ARN).
|
213
|
+
# @return [String]
|
214
|
+
#
|
215
|
+
# @!attribute [rw] change_set_id
|
216
|
+
# The ARN of the change set.\\nLength Constraints: Minimum length of
|
217
|
+
# 1.\\nPattern: arn:\[-a-zA-Z0-9:/\]*
|
218
|
+
# @return [String]
|
219
|
+
#
|
220
|
+
# @!attribute [rw] semantic_version
|
221
|
+
# The semantic version of the application:\\n\\n https://semver.org/
|
222
|
+
# @return [String]
|
223
|
+
#
|
224
|
+
# @!attribute [rw] stack_id
|
225
|
+
# The unique ID of the stack.
|
226
|
+
# @return [String]
|
227
|
+
#
|
228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ChangeSetDetails AWS API Documentation
|
229
|
+
#
|
230
|
+
class ChangeSetDetails < Struct.new(
|
231
|
+
:application_id,
|
232
|
+
:change_set_id,
|
233
|
+
:semantic_version,
|
234
|
+
:stack_id)
|
235
|
+
include Aws::Structure
|
236
|
+
end
|
237
|
+
|
238
|
+
# Create application request.
|
239
|
+
#
|
240
|
+
# @!attribute [rw] author
|
241
|
+
# The name of the author publishing the app.\\nMin Length=1. Max
|
242
|
+
# Length=127.\\nPattern
|
243
|
+
# "^\[a-z0-9\]((\[a-z0-9\]\|-(?!-))*\[a-z0-9\])?$";
|
244
|
+
# @return [String]
|
245
|
+
#
|
246
|
+
# @!attribute [rw] description
|
247
|
+
# The description of the application.\\nMin Length=1. Max Length=256
|
248
|
+
# @return [String]
|
249
|
+
#
|
250
|
+
# @!attribute [rw] labels
|
251
|
+
# Labels to improve discovery of apps in search results.\\nMin
|
252
|
+
# Length=1. Max Length=127. Maximum number of labels: 10\\nPattern:
|
253
|
+
# "^\[a-zA-Z0-9+\\\\-\_:\\\\/@\]+$";
|
254
|
+
# @return [Array<String>]
|
255
|
+
#
|
256
|
+
# @!attribute [rw] license_body
|
257
|
+
# A raw text file that contains the license of the app that matches
|
258
|
+
# the spdxLicenseID of your application.\\nMax size 5 MB
|
259
|
+
# @return [String]
|
260
|
+
#
|
261
|
+
# @!attribute [rw] license_url
|
262
|
+
# A link to a license file of the app that matches the spdxLicenseID
|
263
|
+
# of your application.\\nMax size 5 MB
|
264
|
+
# @return [String]
|
265
|
+
#
|
266
|
+
# @!attribute [rw] name
|
267
|
+
# The name of the application you want to publish.\\nMin Length=1. Max
|
268
|
+
# Length=140\\nPattern: "\[a-zA-Z0-9\\\\-\]+";
|
269
|
+
# @return [String]
|
270
|
+
#
|
271
|
+
# @!attribute [rw] readme_body
|
272
|
+
# A raw text Readme file that contains a more detailed description of
|
273
|
+
# the application and how it works in markdown language.\\nMax size 5
|
274
|
+
# MB
|
275
|
+
# @return [String]
|
276
|
+
#
|
277
|
+
# @!attribute [rw] readme_url
|
278
|
+
# A link to the Readme file that contains a more detailed description
|
279
|
+
# of the application and how it works in markdown language.\\nMax size
|
280
|
+
# 5 MB
|
281
|
+
# @return [String]
|
282
|
+
#
|
283
|
+
# @!attribute [rw] semantic_version
|
284
|
+
# The semantic version of the application:\\n\\n https://semver.org/
|
285
|
+
# @return [String]
|
286
|
+
#
|
287
|
+
# @!attribute [rw] source_code_url
|
288
|
+
# A link to a public repository for the source code of your
|
289
|
+
# application.
|
290
|
+
# @return [String]
|
291
|
+
#
|
292
|
+
# @!attribute [rw] spdx_license_id
|
293
|
+
# A valid identifier from https://spdx.org/licenses/ .
|
294
|
+
# @return [String]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] template_body
|
297
|
+
# The raw packaged SAM template of your application.
|
298
|
+
# @return [String]
|
299
|
+
#
|
300
|
+
# @!attribute [rw] template_url
|
301
|
+
# A link to the packaged SAM template of your application.
|
302
|
+
# @return [String]
|
303
|
+
#
|
304
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationInput AWS API Documentation
|
305
|
+
#
|
306
|
+
class CreateApplicationInput < Struct.new(
|
307
|
+
:author,
|
308
|
+
:description,
|
309
|
+
:labels,
|
310
|
+
:license_body,
|
311
|
+
:license_url,
|
312
|
+
:name,
|
313
|
+
:readme_body,
|
314
|
+
:readme_url,
|
315
|
+
:semantic_version,
|
316
|
+
:source_code_url,
|
317
|
+
:spdx_license_id,
|
318
|
+
:template_body,
|
319
|
+
:template_url)
|
320
|
+
include Aws::Structure
|
321
|
+
end
|
322
|
+
|
323
|
+
# @note When making an API call, you may pass CreateApplicationRequest
|
324
|
+
# data as a hash:
|
325
|
+
#
|
326
|
+
# {
|
327
|
+
# author: "__string",
|
328
|
+
# description: "__string",
|
329
|
+
# labels: ["__string"],
|
330
|
+
# license_body: "__string",
|
331
|
+
# license_url: "__string",
|
332
|
+
# name: "__string",
|
333
|
+
# readme_body: "__string",
|
334
|
+
# readme_url: "__string",
|
335
|
+
# semantic_version: "__string",
|
336
|
+
# source_code_url: "__string",
|
337
|
+
# spdx_license_id: "__string",
|
338
|
+
# template_body: "__string",
|
339
|
+
# template_url: "__string",
|
340
|
+
# }
|
341
|
+
#
|
342
|
+
# @!attribute [rw] author
|
343
|
+
# @return [String]
|
344
|
+
#
|
345
|
+
# @!attribute [rw] description
|
346
|
+
# @return [String]
|
347
|
+
#
|
348
|
+
# @!attribute [rw] labels
|
349
|
+
# @return [Array<String>]
|
350
|
+
#
|
351
|
+
# @!attribute [rw] license_body
|
352
|
+
# @return [String]
|
353
|
+
#
|
354
|
+
# @!attribute [rw] license_url
|
355
|
+
# @return [String]
|
356
|
+
#
|
357
|
+
# @!attribute [rw] name
|
358
|
+
# @return [String]
|
359
|
+
#
|
360
|
+
# @!attribute [rw] readme_body
|
361
|
+
# @return [String]
|
362
|
+
#
|
363
|
+
# @!attribute [rw] readme_url
|
364
|
+
# @return [String]
|
365
|
+
#
|
366
|
+
# @!attribute [rw] semantic_version
|
367
|
+
# @return [String]
|
368
|
+
#
|
369
|
+
# @!attribute [rw] source_code_url
|
370
|
+
# @return [String]
|
371
|
+
#
|
372
|
+
# @!attribute [rw] spdx_license_id
|
373
|
+
# @return [String]
|
374
|
+
#
|
375
|
+
# @!attribute [rw] template_body
|
376
|
+
# @return [String]
|
377
|
+
#
|
378
|
+
# @!attribute [rw] template_url
|
379
|
+
# @return [String]
|
380
|
+
#
|
381
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationRequest AWS API Documentation
|
382
|
+
#
|
383
|
+
class CreateApplicationRequest < Struct.new(
|
384
|
+
:author,
|
385
|
+
:description,
|
386
|
+
:labels,
|
387
|
+
:license_body,
|
388
|
+
:license_url,
|
389
|
+
:name,
|
390
|
+
:readme_body,
|
391
|
+
:readme_url,
|
392
|
+
:semantic_version,
|
393
|
+
:source_code_url,
|
394
|
+
:spdx_license_id,
|
395
|
+
:template_body,
|
396
|
+
:template_url)
|
397
|
+
include Aws::Structure
|
398
|
+
end
|
399
|
+
|
400
|
+
# @!attribute [rw] application_id
|
401
|
+
# @return [String]
|
402
|
+
#
|
403
|
+
# @!attribute [rw] author
|
404
|
+
# @return [String]
|
405
|
+
#
|
406
|
+
# @!attribute [rw] creation_time
|
407
|
+
# @return [String]
|
408
|
+
#
|
409
|
+
# @!attribute [rw] description
|
410
|
+
# @return [String]
|
411
|
+
#
|
412
|
+
# @!attribute [rw] labels
|
413
|
+
# @return [Array<String>]
|
414
|
+
#
|
415
|
+
# @!attribute [rw] license_url
|
416
|
+
# @return [String]
|
417
|
+
#
|
418
|
+
# @!attribute [rw] name
|
419
|
+
# @return [String]
|
420
|
+
#
|
421
|
+
# @!attribute [rw] readme_url
|
422
|
+
# @return [String]
|
423
|
+
#
|
424
|
+
# @!attribute [rw] spdx_license_id
|
425
|
+
# @return [String]
|
426
|
+
#
|
427
|
+
# @!attribute [rw] version
|
428
|
+
# Application version details.
|
429
|
+
# @return [Types::Version]
|
430
|
+
#
|
431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationResponse AWS API Documentation
|
432
|
+
#
|
433
|
+
class CreateApplicationResponse < Struct.new(
|
434
|
+
:application_id,
|
435
|
+
:author,
|
436
|
+
:creation_time,
|
437
|
+
:description,
|
438
|
+
:labels,
|
439
|
+
:license_url,
|
440
|
+
:name,
|
441
|
+
:readme_url,
|
442
|
+
:spdx_license_id,
|
443
|
+
:version)
|
444
|
+
include Aws::Structure
|
445
|
+
end
|
446
|
+
|
447
|
+
# Create version request.
|
448
|
+
#
|
449
|
+
# @!attribute [rw] source_code_url
|
450
|
+
# A link to a public repository for the source code of your
|
451
|
+
# application.
|
452
|
+
# @return [String]
|
453
|
+
#
|
454
|
+
# @!attribute [rw] template_body
|
455
|
+
# The raw packaged SAM template of your application.
|
456
|
+
# @return [String]
|
457
|
+
#
|
458
|
+
# @!attribute [rw] template_url
|
459
|
+
# A link to the packaged SAM template of your application.
|
460
|
+
# @return [String]
|
461
|
+
#
|
462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersionInput AWS API Documentation
|
463
|
+
#
|
464
|
+
class CreateApplicationVersionInput < Struct.new(
|
465
|
+
:source_code_url,
|
466
|
+
:template_body,
|
467
|
+
:template_url)
|
468
|
+
include Aws::Structure
|
469
|
+
end
|
470
|
+
|
471
|
+
# @note When making an API call, you may pass CreateApplicationVersionRequest
|
472
|
+
# data as a hash:
|
473
|
+
#
|
474
|
+
# {
|
475
|
+
# application_id: "__string", # required
|
476
|
+
# semantic_version: "__string", # required
|
477
|
+
# source_code_url: "__string",
|
478
|
+
# template_body: "__string",
|
479
|
+
# template_url: "__string",
|
480
|
+
# }
|
481
|
+
#
|
482
|
+
# @!attribute [rw] application_id
|
483
|
+
# @return [String]
|
484
|
+
#
|
485
|
+
# @!attribute [rw] semantic_version
|
486
|
+
# @return [String]
|
487
|
+
#
|
488
|
+
# @!attribute [rw] source_code_url
|
489
|
+
# @return [String]
|
490
|
+
#
|
491
|
+
# @!attribute [rw] template_body
|
492
|
+
# @return [String]
|
493
|
+
#
|
494
|
+
# @!attribute [rw] template_url
|
495
|
+
# @return [String]
|
496
|
+
#
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersionRequest AWS API Documentation
|
498
|
+
#
|
499
|
+
class CreateApplicationVersionRequest < Struct.new(
|
500
|
+
:application_id,
|
501
|
+
:semantic_version,
|
502
|
+
:source_code_url,
|
503
|
+
:template_body,
|
504
|
+
:template_url)
|
505
|
+
include Aws::Structure
|
506
|
+
end
|
507
|
+
|
508
|
+
# @!attribute [rw] application_id
|
509
|
+
# @return [String]
|
510
|
+
#
|
511
|
+
# @!attribute [rw] creation_time
|
512
|
+
# @return [String]
|
513
|
+
#
|
514
|
+
# @!attribute [rw] parameter_definitions
|
515
|
+
# @return [Array<Types::ParameterDefinition>]
|
516
|
+
#
|
517
|
+
# @!attribute [rw] semantic_version
|
518
|
+
# @return [String]
|
519
|
+
#
|
520
|
+
# @!attribute [rw] source_code_url
|
521
|
+
# @return [String]
|
522
|
+
#
|
523
|
+
# @!attribute [rw] template_url
|
524
|
+
# @return [String]
|
525
|
+
#
|
526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersionResponse AWS API Documentation
|
527
|
+
#
|
528
|
+
class CreateApplicationVersionResponse < Struct.new(
|
529
|
+
:application_id,
|
530
|
+
:creation_time,
|
531
|
+
:parameter_definitions,
|
532
|
+
:semantic_version,
|
533
|
+
:source_code_url,
|
534
|
+
:template_url)
|
535
|
+
include Aws::Structure
|
536
|
+
end
|
537
|
+
|
538
|
+
# Create application ChangeSet request.
|
539
|
+
#
|
540
|
+
# @!attribute [rw] parameter_overrides
|
541
|
+
# A list of parameter values for the parameters of the application.
|
542
|
+
# @return [Array<Types::ParameterValue>]
|
543
|
+
#
|
544
|
+
# @!attribute [rw] semantic_version
|
545
|
+
# The semantic version of the application:\\n\\n https://semver.org/
|
546
|
+
# @return [String]
|
547
|
+
#
|
548
|
+
# @!attribute [rw] stack_name
|
549
|
+
# The name or the unique ID of the stack for which you are creating a
|
550
|
+
# change set. AWS CloudFormation generates\\n the change set by
|
551
|
+
# comparing this stack's information with the information that you
|
552
|
+
# submit, such as a modified\\n template or different parameter input
|
553
|
+
# values. \\nConstraints: Minimum length of 1.\\nPattern:
|
554
|
+
# (\[a-zA-Z\]\[-a-zA-Z0-9\]*)\|(arn:\\b(aws\|aws-us-gov\|aws-cn)\\b:\[-a-zA-Z0-9:/.\_+\]*)
|
555
|
+
# @return [String]
|
556
|
+
#
|
557
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSetInput AWS API Documentation
|
558
|
+
#
|
559
|
+
class CreateCloudFormationChangeSetInput < Struct.new(
|
560
|
+
:parameter_overrides,
|
561
|
+
:semantic_version,
|
562
|
+
:stack_name)
|
563
|
+
include Aws::Structure
|
564
|
+
end
|
565
|
+
|
566
|
+
# @note When making an API call, you may pass CreateCloudFormationChangeSetRequest
|
567
|
+
# data as a hash:
|
568
|
+
#
|
569
|
+
# {
|
570
|
+
# application_id: "__string", # required
|
571
|
+
# parameter_overrides: [
|
572
|
+
# {
|
573
|
+
# name: "__string",
|
574
|
+
# value: "__string",
|
575
|
+
# },
|
576
|
+
# ],
|
577
|
+
# semantic_version: "__string",
|
578
|
+
# stack_name: "__string",
|
579
|
+
# }
|
580
|
+
#
|
581
|
+
# @!attribute [rw] application_id
|
582
|
+
# @return [String]
|
583
|
+
#
|
584
|
+
# @!attribute [rw] parameter_overrides
|
585
|
+
# @return [Array<Types::ParameterValue>]
|
586
|
+
#
|
587
|
+
# @!attribute [rw] semantic_version
|
588
|
+
# @return [String]
|
589
|
+
#
|
590
|
+
# @!attribute [rw] stack_name
|
591
|
+
# @return [String]
|
592
|
+
#
|
593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSetRequest AWS API Documentation
|
594
|
+
#
|
595
|
+
class CreateCloudFormationChangeSetRequest < Struct.new(
|
596
|
+
:application_id,
|
597
|
+
:parameter_overrides,
|
598
|
+
:semantic_version,
|
599
|
+
:stack_name)
|
600
|
+
include Aws::Structure
|
601
|
+
end
|
602
|
+
|
603
|
+
# @!attribute [rw] application_id
|
604
|
+
# @return [String]
|
605
|
+
#
|
606
|
+
# @!attribute [rw] change_set_id
|
607
|
+
# @return [String]
|
608
|
+
#
|
609
|
+
# @!attribute [rw] semantic_version
|
610
|
+
# @return [String]
|
611
|
+
#
|
612
|
+
# @!attribute [rw] stack_id
|
613
|
+
# @return [String]
|
614
|
+
#
|
615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSetResponse AWS API Documentation
|
616
|
+
#
|
617
|
+
class CreateCloudFormationChangeSetResponse < Struct.new(
|
618
|
+
:application_id,
|
619
|
+
:change_set_id,
|
620
|
+
:semantic_version,
|
621
|
+
:stack_id)
|
622
|
+
include Aws::Structure
|
623
|
+
end
|
624
|
+
|
625
|
+
# @note When making an API call, you may pass GetApplicationPolicyRequest
|
626
|
+
# data as a hash:
|
627
|
+
#
|
628
|
+
# {
|
629
|
+
# application_id: "__string", # required
|
630
|
+
# }
|
631
|
+
#
|
632
|
+
# @!attribute [rw] application_id
|
633
|
+
# @return [String]
|
634
|
+
#
|
635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicyRequest AWS API Documentation
|
636
|
+
#
|
637
|
+
class GetApplicationPolicyRequest < Struct.new(
|
638
|
+
:application_id)
|
639
|
+
include Aws::Structure
|
640
|
+
end
|
641
|
+
|
642
|
+
# @!attribute [rw] statements
|
643
|
+
# @return [Array<Types::ApplicationPolicyStatement>]
|
644
|
+
#
|
645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicyResponse AWS API Documentation
|
646
|
+
#
|
647
|
+
class GetApplicationPolicyResponse < Struct.new(
|
648
|
+
:statements)
|
649
|
+
include Aws::Structure
|
650
|
+
end
|
651
|
+
|
652
|
+
# @note When making an API call, you may pass GetApplicationRequest
|
653
|
+
# data as a hash:
|
654
|
+
#
|
655
|
+
# {
|
656
|
+
# application_id: "__string", # required
|
657
|
+
# semantic_version: "__string",
|
658
|
+
# }
|
659
|
+
#
|
660
|
+
# @!attribute [rw] application_id
|
661
|
+
# @return [String]
|
662
|
+
#
|
663
|
+
# @!attribute [rw] semantic_version
|
664
|
+
# @return [String]
|
665
|
+
#
|
666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationRequest AWS API Documentation
|
667
|
+
#
|
668
|
+
class GetApplicationRequest < Struct.new(
|
669
|
+
:application_id,
|
670
|
+
:semantic_version)
|
671
|
+
include Aws::Structure
|
672
|
+
end
|
673
|
+
|
674
|
+
# @!attribute [rw] application_id
|
675
|
+
# @return [String]
|
676
|
+
#
|
677
|
+
# @!attribute [rw] author
|
678
|
+
# @return [String]
|
679
|
+
#
|
680
|
+
# @!attribute [rw] creation_time
|
681
|
+
# @return [String]
|
682
|
+
#
|
683
|
+
# @!attribute [rw] description
|
684
|
+
# @return [String]
|
685
|
+
#
|
686
|
+
# @!attribute [rw] labels
|
687
|
+
# @return [Array<String>]
|
688
|
+
#
|
689
|
+
# @!attribute [rw] license_url
|
690
|
+
# @return [String]
|
691
|
+
#
|
692
|
+
# @!attribute [rw] name
|
693
|
+
# @return [String]
|
694
|
+
#
|
695
|
+
# @!attribute [rw] readme_url
|
696
|
+
# @return [String]
|
697
|
+
#
|
698
|
+
# @!attribute [rw] spdx_license_id
|
699
|
+
# @return [String]
|
700
|
+
#
|
701
|
+
# @!attribute [rw] version
|
702
|
+
# Application version details.
|
703
|
+
# @return [Types::Version]
|
704
|
+
#
|
705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationResponse AWS API Documentation
|
706
|
+
#
|
707
|
+
class GetApplicationResponse < Struct.new(
|
708
|
+
:application_id,
|
709
|
+
:author,
|
710
|
+
:creation_time,
|
711
|
+
:description,
|
712
|
+
:labels,
|
713
|
+
:license_url,
|
714
|
+
:name,
|
715
|
+
:readme_url,
|
716
|
+
:spdx_license_id,
|
717
|
+
:version)
|
718
|
+
include Aws::Structure
|
719
|
+
end
|
720
|
+
|
721
|
+
# @note When making an API call, you may pass ListApplicationVersionsRequest
|
722
|
+
# data as a hash:
|
723
|
+
#
|
724
|
+
# {
|
725
|
+
# application_id: "__string", # required
|
726
|
+
# max_items: 1,
|
727
|
+
# next_token: "__string",
|
728
|
+
# }
|
729
|
+
#
|
730
|
+
# @!attribute [rw] application_id
|
731
|
+
# @return [String]
|
732
|
+
#
|
733
|
+
# @!attribute [rw] max_items
|
734
|
+
# @return [Integer]
|
735
|
+
#
|
736
|
+
# @!attribute [rw] next_token
|
737
|
+
# @return [String]
|
738
|
+
#
|
739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersionsRequest AWS API Documentation
|
740
|
+
#
|
741
|
+
class ListApplicationVersionsRequest < Struct.new(
|
742
|
+
:application_id,
|
743
|
+
:max_items,
|
744
|
+
:next_token)
|
745
|
+
include Aws::Structure
|
746
|
+
end
|
747
|
+
|
748
|
+
# @!attribute [rw] next_token
|
749
|
+
# @return [String]
|
750
|
+
#
|
751
|
+
# @!attribute [rw] versions
|
752
|
+
# @return [Array<Types::VersionSummary>]
|
753
|
+
#
|
754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersionsResponse AWS API Documentation
|
755
|
+
#
|
756
|
+
class ListApplicationVersionsResponse < Struct.new(
|
757
|
+
:next_token,
|
758
|
+
:versions)
|
759
|
+
include Aws::Structure
|
760
|
+
end
|
761
|
+
|
762
|
+
# @note When making an API call, you may pass ListApplicationsRequest
|
763
|
+
# data as a hash:
|
764
|
+
#
|
765
|
+
# {
|
766
|
+
# max_items: 1,
|
767
|
+
# next_token: "__string",
|
768
|
+
# }
|
769
|
+
#
|
770
|
+
# @!attribute [rw] max_items
|
771
|
+
# @return [Integer]
|
772
|
+
#
|
773
|
+
# @!attribute [rw] next_token
|
774
|
+
# @return [String]
|
775
|
+
#
|
776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationsRequest AWS API Documentation
|
777
|
+
#
|
778
|
+
class ListApplicationsRequest < Struct.new(
|
779
|
+
:max_items,
|
780
|
+
:next_token)
|
781
|
+
include Aws::Structure
|
782
|
+
end
|
783
|
+
|
784
|
+
# @!attribute [rw] applications
|
785
|
+
# @return [Array<Types::ApplicationSummary>]
|
786
|
+
#
|
787
|
+
# @!attribute [rw] next_token
|
788
|
+
# @return [String]
|
789
|
+
#
|
790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationsResponse AWS API Documentation
|
791
|
+
#
|
792
|
+
class ListApplicationsResponse < Struct.new(
|
793
|
+
:applications,
|
794
|
+
:next_token)
|
795
|
+
include Aws::Structure
|
796
|
+
end
|
797
|
+
|
798
|
+
# Parameters supported by the application.
|
799
|
+
#
|
800
|
+
# @!attribute [rw] allowed_pattern
|
801
|
+
# A regular expression that represents the patterns to allow for
|
802
|
+
# String types.
|
803
|
+
# @return [String]
|
804
|
+
#
|
805
|
+
# @!attribute [rw] allowed_values
|
806
|
+
# Array containing the list of values allowed for the parameter.
|
807
|
+
# @return [Array<String>]
|
808
|
+
#
|
809
|
+
# @!attribute [rw] constraint_description
|
810
|
+
# A string that explains a constraint when the constraint is violated.
|
811
|
+
# For example, without a constraint description,\\n a parameter that
|
812
|
+
# has an allowed pattern of \[A-Za-z0-9\]+ displays the following
|
813
|
+
# error message when the user\\n specifies an invalid value:\\n\\n
|
814
|
+
# Malformed input-Parameter MyParameter must match pattern
|
815
|
+
# \[A-Za-z0-9\]+ \\n \\nBy adding a constraint description, such as
|
816
|
+
# "must contain only uppercase and lowercase letters, and numbers,"
|
817
|
+
# you can display\\n the following customized error message:\\n\\n
|
818
|
+
# Malformed input-Parameter MyParameter must contain only uppercase
|
819
|
+
# and lowercase letters and numbers.
|
820
|
+
# @return [String]
|
821
|
+
#
|
822
|
+
# @!attribute [rw] default_value
|
823
|
+
# A value of the appropriate type for the template to use if no value
|
824
|
+
# is specified when a stack is created.\\n If you define constraints
|
825
|
+
# for the parameter, you must specify a value that adheres to those
|
826
|
+
# constraints.
|
827
|
+
# @return [String]
|
828
|
+
#
|
829
|
+
# @!attribute [rw] description
|
830
|
+
# A string of up to 4,000 characters that describes the parameter.
|
831
|
+
# @return [String]
|
832
|
+
#
|
833
|
+
# @!attribute [rw] max_length
|
834
|
+
# An integer value that determines the largest number of characters
|
835
|
+
# you want to allow for String types.
|
836
|
+
# @return [Integer]
|
837
|
+
#
|
838
|
+
# @!attribute [rw] max_value
|
839
|
+
# A numeric value that determines the largest numeric value you want
|
840
|
+
# to allow for Number types.
|
841
|
+
# @return [Integer]
|
842
|
+
#
|
843
|
+
# @!attribute [rw] min_length
|
844
|
+
# An integer value that determines the smallest number of characters
|
845
|
+
# you want to allow for String types.
|
846
|
+
# @return [Integer]
|
847
|
+
#
|
848
|
+
# @!attribute [rw] min_value
|
849
|
+
# A numeric value that determines the smallest numeric value you want
|
850
|
+
# to allow for Number types.
|
851
|
+
# @return [Integer]
|
852
|
+
#
|
853
|
+
# @!attribute [rw] name
|
854
|
+
# The name of the parameter.
|
855
|
+
# @return [String]
|
856
|
+
#
|
857
|
+
# @!attribute [rw] no_echo
|
858
|
+
# Whether to mask the parameter value whenever anyone makes a call
|
859
|
+
# that describes the stack. If you set the\\n value to true, the
|
860
|
+
# parameter value is masked with asterisks (*****).
|
861
|
+
# @return [Boolean]
|
862
|
+
#
|
863
|
+
# @!attribute [rw] referenced_by_resources
|
864
|
+
# A list of SAM resources that use this parameter.
|
865
|
+
# @return [Array<String>]
|
866
|
+
#
|
867
|
+
# @!attribute [rw] type
|
868
|
+
# The type of the parameter.\\nValid values: String \| Number \| List<Number> | CommaDelimitedList \n \n\n String : A literal string.\nFor example, users could specify "MyUserName" .\n\n Number : An integer or float. AWS CloudFormation validates the parameter value as a number; however, when you use the\n parameter elsewhere in your template (for example, by using the Ref intrinsic function), the parameter value becomes a string.\nFor example, users could specify "8888" .\n\n List<Number> : An array of integers or floats that are separated by commas. AWS CloudFormation validates the parameter value as numbers; however, when\n you use the parameter elsewhere in your template (for example, by using the Ref intrinsic function), the parameter value becomes a list of strings.\nFor example, users could specify "80,20", and a Ref results in ["80","20"] .\n\n CommaDelimitedList : An array of literal strings that are separated by commas. The total number of strings should be one more than the total number of commas.\n Also, each member string is space-trimmed.\nFor example, users could specify "test,dev,prod", and a Ref results in ["test","dev","prod"] . </Number></Number>
|
869
|
+
# @return [String]
|
870
|
+
#
|
871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ParameterDefinition AWS API Documentation
|
872
|
+
#
|
873
|
+
class ParameterDefinition < Struct.new(
|
874
|
+
:allowed_pattern,
|
875
|
+
:allowed_values,
|
876
|
+
:constraint_description,
|
877
|
+
:default_value,
|
878
|
+
:description,
|
879
|
+
:max_length,
|
880
|
+
:max_value,
|
881
|
+
:min_length,
|
882
|
+
:min_value,
|
883
|
+
:name,
|
884
|
+
:no_echo,
|
885
|
+
:referenced_by_resources,
|
886
|
+
:type)
|
887
|
+
include Aws::Structure
|
888
|
+
end
|
889
|
+
|
890
|
+
# Parameter value of the application.
|
891
|
+
#
|
892
|
+
# @note When making an API call, you may pass ParameterValue
|
893
|
+
# data as a hash:
|
894
|
+
#
|
895
|
+
# {
|
896
|
+
# name: "__string",
|
897
|
+
# value: "__string",
|
898
|
+
# }
|
899
|
+
#
|
900
|
+
# @!attribute [rw] name
|
901
|
+
# The key associated with the parameter. If you don't specify a key
|
902
|
+
# and value for a particular parameter, AWS CloudFormation\\n uses the
|
903
|
+
# default value that is specified in your template.
|
904
|
+
# @return [String]
|
905
|
+
#
|
906
|
+
# @!attribute [rw] value
|
907
|
+
# The input value associated with the parameter.
|
908
|
+
# @return [String]
|
909
|
+
#
|
910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ParameterValue AWS API Documentation
|
911
|
+
#
|
912
|
+
class ParameterValue < Struct.new(
|
913
|
+
:name,
|
914
|
+
:value)
|
915
|
+
include Aws::Structure
|
916
|
+
end
|
917
|
+
|
918
|
+
# @note When making an API call, you may pass PutApplicationPolicyRequest
|
919
|
+
# data as a hash:
|
920
|
+
#
|
921
|
+
# {
|
922
|
+
# application_id: "__string", # required
|
923
|
+
# statements: [
|
924
|
+
# {
|
925
|
+
# actions: ["__string"],
|
926
|
+
# principals: ["__string"],
|
927
|
+
# statement_id: "__string",
|
928
|
+
# },
|
929
|
+
# ],
|
930
|
+
# }
|
931
|
+
#
|
932
|
+
# @!attribute [rw] application_id
|
933
|
+
# @return [String]
|
934
|
+
#
|
935
|
+
# @!attribute [rw] statements
|
936
|
+
# @return [Array<Types::ApplicationPolicyStatement>]
|
937
|
+
#
|
938
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicyRequest AWS API Documentation
|
939
|
+
#
|
940
|
+
class PutApplicationPolicyRequest < Struct.new(
|
941
|
+
:application_id,
|
942
|
+
:statements)
|
943
|
+
include Aws::Structure
|
944
|
+
end
|
945
|
+
|
946
|
+
# @!attribute [rw] statements
|
947
|
+
# @return [Array<Types::ApplicationPolicyStatement>]
|
948
|
+
#
|
949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicyResponse AWS API Documentation
|
950
|
+
#
|
951
|
+
class PutApplicationPolicyResponse < Struct.new(
|
952
|
+
:statements)
|
953
|
+
include Aws::Structure
|
954
|
+
end
|
955
|
+
|
956
|
+
# Update application request.
|
957
|
+
#
|
958
|
+
# @!attribute [rw] author
|
959
|
+
# The name of the author publishing the app.\\nMin Length=1. Max
|
960
|
+
# Length=127.\\nPattern
|
961
|
+
# "^\[a-z0-9\]((\[a-z0-9\]\|-(?!-))*\[a-z0-9\])?$";
|
962
|
+
# @return [String]
|
963
|
+
#
|
964
|
+
# @!attribute [rw] description
|
965
|
+
# The description of the application.\\nMin Length=1. Max Length=256
|
966
|
+
# @return [String]
|
967
|
+
#
|
968
|
+
# @!attribute [rw] labels
|
969
|
+
# Labels to improve discovery of apps in search results.\\nMin
|
970
|
+
# Length=1. Max Length=127. Maximum number of labels: 10\\nPattern:
|
971
|
+
# "^\[a-zA-Z0-9+\\\\-\_:\\\\/@\]+$";
|
972
|
+
# @return [Array<String>]
|
973
|
+
#
|
974
|
+
# @!attribute [rw] readme_body
|
975
|
+
# A raw text Readme file that contains a more detailed description of
|
976
|
+
# the application and how it works in markdown language.\\nMax size 5
|
977
|
+
# MB
|
978
|
+
# @return [String]
|
979
|
+
#
|
980
|
+
# @!attribute [rw] readme_url
|
981
|
+
# A link to the Readme file that contains a more detailed description
|
982
|
+
# of the application and how it works in markdown language.\\nMax size
|
983
|
+
# 5 MB
|
984
|
+
# @return [String]
|
985
|
+
#
|
986
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplicationInput AWS API Documentation
|
987
|
+
#
|
988
|
+
class UpdateApplicationInput < Struct.new(
|
989
|
+
:author,
|
990
|
+
:description,
|
991
|
+
:labels,
|
992
|
+
:readme_body,
|
993
|
+
:readme_url)
|
994
|
+
include Aws::Structure
|
995
|
+
end
|
996
|
+
|
997
|
+
# @note When making an API call, you may pass UpdateApplicationRequest
|
998
|
+
# data as a hash:
|
999
|
+
#
|
1000
|
+
# {
|
1001
|
+
# application_id: "__string", # required
|
1002
|
+
# author: "__string",
|
1003
|
+
# description: "__string",
|
1004
|
+
# labels: ["__string"],
|
1005
|
+
# readme_body: "__string",
|
1006
|
+
# readme_url: "__string",
|
1007
|
+
# }
|
1008
|
+
#
|
1009
|
+
# @!attribute [rw] application_id
|
1010
|
+
# @return [String]
|
1011
|
+
#
|
1012
|
+
# @!attribute [rw] author
|
1013
|
+
# @return [String]
|
1014
|
+
#
|
1015
|
+
# @!attribute [rw] description
|
1016
|
+
# @return [String]
|
1017
|
+
#
|
1018
|
+
# @!attribute [rw] labels
|
1019
|
+
# @return [Array<String>]
|
1020
|
+
#
|
1021
|
+
# @!attribute [rw] readme_body
|
1022
|
+
# @return [String]
|
1023
|
+
#
|
1024
|
+
# @!attribute [rw] readme_url
|
1025
|
+
# @return [String]
|
1026
|
+
#
|
1027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplicationRequest AWS API Documentation
|
1028
|
+
#
|
1029
|
+
class UpdateApplicationRequest < Struct.new(
|
1030
|
+
:application_id,
|
1031
|
+
:author,
|
1032
|
+
:description,
|
1033
|
+
:labels,
|
1034
|
+
:readme_body,
|
1035
|
+
:readme_url)
|
1036
|
+
include Aws::Structure
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
# @!attribute [rw] application_id
|
1040
|
+
# @return [String]
|
1041
|
+
#
|
1042
|
+
# @!attribute [rw] author
|
1043
|
+
# @return [String]
|
1044
|
+
#
|
1045
|
+
# @!attribute [rw] creation_time
|
1046
|
+
# @return [String]
|
1047
|
+
#
|
1048
|
+
# @!attribute [rw] description
|
1049
|
+
# @return [String]
|
1050
|
+
#
|
1051
|
+
# @!attribute [rw] labels
|
1052
|
+
# @return [Array<String>]
|
1053
|
+
#
|
1054
|
+
# @!attribute [rw] license_url
|
1055
|
+
# @return [String]
|
1056
|
+
#
|
1057
|
+
# @!attribute [rw] name
|
1058
|
+
# @return [String]
|
1059
|
+
#
|
1060
|
+
# @!attribute [rw] readme_url
|
1061
|
+
# @return [String]
|
1062
|
+
#
|
1063
|
+
# @!attribute [rw] spdx_license_id
|
1064
|
+
# @return [String]
|
1065
|
+
#
|
1066
|
+
# @!attribute [rw] version
|
1067
|
+
# Application version details.
|
1068
|
+
# @return [Types::Version]
|
1069
|
+
#
|
1070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplicationResponse AWS API Documentation
|
1071
|
+
#
|
1072
|
+
class UpdateApplicationResponse < Struct.new(
|
1073
|
+
:application_id,
|
1074
|
+
:author,
|
1075
|
+
:creation_time,
|
1076
|
+
:description,
|
1077
|
+
:labels,
|
1078
|
+
:license_url,
|
1079
|
+
:name,
|
1080
|
+
:readme_url,
|
1081
|
+
:spdx_license_id,
|
1082
|
+
:version)
|
1083
|
+
include Aws::Structure
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
# Application version details.
|
1087
|
+
#
|
1088
|
+
# @!attribute [rw] application_id
|
1089
|
+
# The application Amazon Resource Name (ARN).
|
1090
|
+
# @return [String]
|
1091
|
+
#
|
1092
|
+
# @!attribute [rw] creation_time
|
1093
|
+
# The date/time this resource was created.
|
1094
|
+
# @return [String]
|
1095
|
+
#
|
1096
|
+
# @!attribute [rw] parameter_definitions
|
1097
|
+
# Array of parameter types supported by the application.
|
1098
|
+
# @return [Array<Types::ParameterDefinition>]
|
1099
|
+
#
|
1100
|
+
# @!attribute [rw] semantic_version
|
1101
|
+
# The semantic version of the application:\\n\\n https://semver.org/
|
1102
|
+
# @return [String]
|
1103
|
+
#
|
1104
|
+
# @!attribute [rw] source_code_url
|
1105
|
+
# A link to a public repository for the source code of your
|
1106
|
+
# application.
|
1107
|
+
# @return [String]
|
1108
|
+
#
|
1109
|
+
# @!attribute [rw] template_url
|
1110
|
+
# A link to the packaged SAM template of your application.
|
1111
|
+
# @return [String]
|
1112
|
+
#
|
1113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/Version AWS API Documentation
|
1114
|
+
#
|
1115
|
+
class Version < Struct.new(
|
1116
|
+
:application_id,
|
1117
|
+
:creation_time,
|
1118
|
+
:parameter_definitions,
|
1119
|
+
:semantic_version,
|
1120
|
+
:source_code_url,
|
1121
|
+
:template_url)
|
1122
|
+
include Aws::Structure
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
# Application version summary.
|
1126
|
+
#
|
1127
|
+
# @!attribute [rw] application_id
|
1128
|
+
# The application Amazon Resource Name (ARN).
|
1129
|
+
# @return [String]
|
1130
|
+
#
|
1131
|
+
# @!attribute [rw] creation_time
|
1132
|
+
# The date/time this resource was created.
|
1133
|
+
# @return [String]
|
1134
|
+
#
|
1135
|
+
# @!attribute [rw] semantic_version
|
1136
|
+
# The semantic version of the application:\\n\\n https://semver.org/
|
1137
|
+
# @return [String]
|
1138
|
+
#
|
1139
|
+
# @!attribute [rw] source_code_url
|
1140
|
+
# A link to a public repository for the source code of your
|
1141
|
+
# application.
|
1142
|
+
# @return [String]
|
1143
|
+
#
|
1144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/VersionSummary AWS API Documentation
|
1145
|
+
#
|
1146
|
+
class VersionSummary < Struct.new(
|
1147
|
+
:application_id,
|
1148
|
+
:creation_time,
|
1149
|
+
:semantic_version,
|
1150
|
+
:source_code_url)
|
1151
|
+
include Aws::Structure
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
end
|
1155
|
+
end
|