aws-sdk-serverlessapplicationrepository 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8c04117923af5fc9456d8edc81f09987e7929fb
4
- data.tar.gz: 0ad000455a1154d725d2eaa7b2281634b00a92d2
3
+ metadata.gz: 59e62a532bf91c68ad83edaa4c59521ac0ab8b02
4
+ data.tar.gz: 2765a8ca70bd1aecaef73cd26bf35e93331a107a
5
5
  SHA512:
6
- metadata.gz: bba1906f1bf1f6ca9c89907cb0d3c10778686645cd560f5c1f619aa34ac4d2ba0edd568b3886f79b9fcac70f91876a10eef00ae2d08e1669d6b5104a2ab8b836
7
- data.tar.gz: 8db57516fed3e4b0f42f89f0c5e244f6cac8a794bb4222b03cabf4f288f2f4a0f3a74342be01bfbb67ac9514a49d5825a887d9d03e15849ec254cab8bfc8b932
6
+ metadata.gz: c450b46b2041a4957d90d1e99c4fb78c60bb14ba892dd3e54e53a56bd32194333cff7b168f2878b2e24a5964067d4e4ab957a5c22bb42cfbec5d06e317730e04
7
+ data.tar.gz: 641e72cd1610a89d0c75b344f8f2ff8b5f1e14a08545bb2760f70a8434a2fe3d39113f552dfbecc68ec8b5a7a01cf3da650684a671081dac90958b3cf7403c46
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-serverlessapplicationrepository/customizations'
42
42
  # @service
43
43
  module Aws::ServerlessApplicationRepository
44
44
 
45
- GEM_VERSION = '1.8.0'
45
+ GEM_VERSION = '1.9.0'
46
46
 
47
47
  end
@@ -273,6 +273,9 @@ module Aws::ServerlessApplicationRepository
273
273
  # resp.version.parameter_definitions[0].referenced_by_resources #=> Array
274
274
  # resp.version.parameter_definitions[0].referenced_by_resources[0] #=> String
275
275
  # resp.version.parameter_definitions[0].type #=> String
276
+ # resp.version.required_capabilities #=> Array
277
+ # resp.version.required_capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_RESOURCE_POLICY"
278
+ # resp.version.resources_supported #=> Boolean
276
279
  # resp.version.semantic_version #=> String
277
280
  # resp.version.source_code_url #=> String
278
281
  # resp.version.template_url #=> String
@@ -303,6 +306,8 @@ module Aws::ServerlessApplicationRepository
303
306
  # * {Types::CreateApplicationVersionResponse#application_id #application_id} => String
304
307
  # * {Types::CreateApplicationVersionResponse#creation_time #creation_time} => String
305
308
  # * {Types::CreateApplicationVersionResponse#parameter_definitions #parameter_definitions} => Array<Types::ParameterDefinition>
309
+ # * {Types::CreateApplicationVersionResponse#required_capabilities #required_capabilities} => Array<String>
310
+ # * {Types::CreateApplicationVersionResponse#resources_supported #resources_supported} => Boolean
306
311
  # * {Types::CreateApplicationVersionResponse#semantic_version #semantic_version} => String
307
312
  # * {Types::CreateApplicationVersionResponse#source_code_url #source_code_url} => String
308
313
  # * {Types::CreateApplicationVersionResponse#template_url #template_url} => String
@@ -337,6 +342,9 @@ module Aws::ServerlessApplicationRepository
337
342
  # resp.parameter_definitions[0].referenced_by_resources #=> Array
338
343
  # resp.parameter_definitions[0].referenced_by_resources[0] #=> String
339
344
  # resp.parameter_definitions[0].type #=> String
345
+ # resp.required_capabilities #=> Array
346
+ # resp.required_capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_RESOURCE_POLICY"
347
+ # resp.resources_supported #=> Boolean
340
348
  # resp.semantic_version #=> String
341
349
  # resp.source_code_url #=> String
342
350
  # resp.template_url #=> String
@@ -354,12 +362,36 @@ module Aws::ServerlessApplicationRepository
354
362
  #
355
363
  # @option params [required, String] :application_id
356
364
  #
365
+ # @option params [Array<String>] :capabilities
366
+ #
367
+ # @option params [String] :change_set_name
368
+ #
369
+ # @option params [String] :client_token
370
+ #
371
+ # @option params [String] :description
372
+ #
373
+ # @option params [Array<String>] :notification_arns
374
+ #
357
375
  # @option params [Array<Types::ParameterValue>] :parameter_overrides
358
376
  #
377
+ # @option params [Array<String>] :resource_types
378
+ #
379
+ # @option params [Types::RollbackConfiguration] :rollback_configuration
380
+ # This property corresponds to the *AWS CloudFormation [
381
+ # RollbackConfiguration][1]* Data Type.
382
+ #
383
+ #
384
+ #
385
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration
386
+ #
359
387
  # @option params [String] :semantic_version
360
388
  #
361
389
  # @option params [required, String] :stack_name
362
390
  #
391
+ # @option params [Array<Types::Tag>] :tags
392
+ #
393
+ # @option params [String] :template_id
394
+ #
363
395
  # @return [Types::CreateCloudFormationChangeSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
364
396
  #
365
397
  # * {Types::CreateCloudFormationChangeSetResponse#application_id #application_id} => String
@@ -371,14 +403,36 @@ module Aws::ServerlessApplicationRepository
371
403
  #
372
404
  # resp = client.create_cloud_formation_change_set({
373
405
  # application_id: "__string", # required
406
+ # capabilities: ["__string"],
407
+ # change_set_name: "__string",
408
+ # client_token: "__string",
409
+ # description: "__string",
410
+ # notification_arns: ["__string"],
374
411
  # parameter_overrides: [
375
412
  # {
376
413
  # name: "__string", # required
377
414
  # value: "__string", # required
378
415
  # },
379
416
  # ],
417
+ # resource_types: ["__string"],
418
+ # rollback_configuration: {
419
+ # monitoring_time_in_minutes: 1,
420
+ # rollback_triggers: [
421
+ # {
422
+ # arn: "__string", # required
423
+ # type: "__string", # required
424
+ # },
425
+ # ],
426
+ # },
380
427
  # semantic_version: "__string",
381
428
  # stack_name: "__string", # required
429
+ # tags: [
430
+ # {
431
+ # key: "__string", # required
432
+ # value: "__string", # required
433
+ # },
434
+ # ],
435
+ # template_id: "__string",
382
436
  # })
383
437
  #
384
438
  # @example Response structure
@@ -397,6 +451,48 @@ module Aws::ServerlessApplicationRepository
397
451
  req.send_request(options)
398
452
  end
399
453
 
454
+ # Creates an AWS CloudFormation template.
455
+ #
456
+ # @option params [required, String] :application_id
457
+ #
458
+ # @option params [String] :semantic_version
459
+ #
460
+ # @return [Types::CreateCloudFormationTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
461
+ #
462
+ # * {Types::CreateCloudFormationTemplateResponse#application_id #application_id} => String
463
+ # * {Types::CreateCloudFormationTemplateResponse#creation_time #creation_time} => String
464
+ # * {Types::CreateCloudFormationTemplateResponse#expiration_time #expiration_time} => String
465
+ # * {Types::CreateCloudFormationTemplateResponse#semantic_version #semantic_version} => String
466
+ # * {Types::CreateCloudFormationTemplateResponse#status #status} => String
467
+ # * {Types::CreateCloudFormationTemplateResponse#template_id #template_id} => String
468
+ # * {Types::CreateCloudFormationTemplateResponse#template_url #template_url} => String
469
+ #
470
+ # @example Request syntax with placeholder values
471
+ #
472
+ # resp = client.create_cloud_formation_template({
473
+ # application_id: "__string", # required
474
+ # semantic_version: "__string",
475
+ # })
476
+ #
477
+ # @example Response structure
478
+ #
479
+ # resp.application_id #=> String
480
+ # resp.creation_time #=> String
481
+ # resp.expiration_time #=> String
482
+ # resp.semantic_version #=> String
483
+ # resp.status #=> String, one of "PREPARING", "ACTIVE", "EXPIRED"
484
+ # resp.template_id #=> String
485
+ # resp.template_url #=> String
486
+ #
487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationTemplate AWS API Documentation
488
+ #
489
+ # @overload create_cloud_formation_template(params = {})
490
+ # @param [Hash] params ({})
491
+ def create_cloud_formation_template(params = {}, options = {})
492
+ req = build_request(:create_cloud_formation_template, params)
493
+ req.send_request(options)
494
+ end
495
+
400
496
  # Deletes the specified application.
401
497
  #
402
498
  # @option params [required, String] :application_id
@@ -476,6 +572,9 @@ module Aws::ServerlessApplicationRepository
476
572
  # resp.version.parameter_definitions[0].referenced_by_resources #=> Array
477
573
  # resp.version.parameter_definitions[0].referenced_by_resources[0] #=> String
478
574
  # resp.version.parameter_definitions[0].type #=> String
575
+ # resp.version.required_capabilities #=> Array
576
+ # resp.version.required_capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_RESOURCE_POLICY"
577
+ # resp.version.resources_supported #=> Boolean
479
578
  # resp.version.semantic_version #=> String
480
579
  # resp.version.source_code_url #=> String
481
580
  # resp.version.template_url #=> String
@@ -521,6 +620,48 @@ module Aws::ServerlessApplicationRepository
521
620
  req.send_request(options)
522
621
  end
523
622
 
623
+ # Gets the specified AWS CloudFormation template.
624
+ #
625
+ # @option params [required, String] :application_id
626
+ #
627
+ # @option params [required, String] :template_id
628
+ #
629
+ # @return [Types::GetCloudFormationTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
630
+ #
631
+ # * {Types::GetCloudFormationTemplateResponse#application_id #application_id} => String
632
+ # * {Types::GetCloudFormationTemplateResponse#creation_time #creation_time} => String
633
+ # * {Types::GetCloudFormationTemplateResponse#expiration_time #expiration_time} => String
634
+ # * {Types::GetCloudFormationTemplateResponse#semantic_version #semantic_version} => String
635
+ # * {Types::GetCloudFormationTemplateResponse#status #status} => String
636
+ # * {Types::GetCloudFormationTemplateResponse#template_id #template_id} => String
637
+ # * {Types::GetCloudFormationTemplateResponse#template_url #template_url} => String
638
+ #
639
+ # @example Request syntax with placeholder values
640
+ #
641
+ # resp = client.get_cloud_formation_template({
642
+ # application_id: "__string", # required
643
+ # template_id: "__string", # required
644
+ # })
645
+ #
646
+ # @example Response structure
647
+ #
648
+ # resp.application_id #=> String
649
+ # resp.creation_time #=> String
650
+ # resp.expiration_time #=> String
651
+ # resp.semantic_version #=> String
652
+ # resp.status #=> String, one of "PREPARING", "ACTIVE", "EXPIRED"
653
+ # resp.template_id #=> String
654
+ # resp.template_url #=> String
655
+ #
656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetCloudFormationTemplate AWS API Documentation
657
+ #
658
+ # @overload get_cloud_formation_template(params = {})
659
+ # @param [Hash] params ({})
660
+ def get_cloud_formation_template(params = {}, options = {})
661
+ req = build_request(:get_cloud_formation_template, params)
662
+ req.send_request(options)
663
+ end
664
+
524
665
  # Lists versions for the specified application.
525
666
  #
526
667
  # @option params [required, String] :application_id
@@ -601,9 +742,8 @@ module Aws::ServerlessApplicationRepository
601
742
  req.send_request(options)
602
743
  end
603
744
 
604
- # Sets the permission policy for an application. See [Application
605
- # Permissions][1] for the list of supported actions that can be used
606
- # with this operation.
745
+ # Sets the permission policy for an application. For the list of actions
746
+ # supported for this operation, see [Application Permissions][1] .
607
747
  #
608
748
  #
609
749
  #
@@ -721,6 +861,9 @@ module Aws::ServerlessApplicationRepository
721
861
  # resp.version.parameter_definitions[0].referenced_by_resources #=> Array
722
862
  # resp.version.parameter_definitions[0].referenced_by_resources[0] #=> String
723
863
  # resp.version.parameter_definitions[0].type #=> String
864
+ # resp.version.required_capabilities #=> Array
865
+ # resp.version.required_capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_RESOURCE_POLICY"
866
+ # resp.version.resources_supported #=> Boolean
724
867
  # resp.version.semantic_version #=> String
725
868
  # resp.version.source_code_url #=> String
726
869
  # resp.version.template_url #=> String
@@ -747,7 +890,7 @@ module Aws::ServerlessApplicationRepository
747
890
  params: params,
748
891
  config: config)
749
892
  context[:gem_name] = 'aws-sdk-serverlessapplicationrepository'
750
- context[:gem_version] = '1.8.0'
893
+ context[:gem_version] = '1.9.0'
751
894
  Seahorse::Client::Request.new(handlers, context)
752
895
  end
753
896
 
@@ -18,6 +18,7 @@ module Aws::ServerlessApplicationRepository
18
18
  ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
19
19
  ApplicationVersionPage = Shapes::StructureShape.new(name: 'ApplicationVersionPage')
20
20
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
21
+ Capability = Shapes::StringShape.new(name: 'Capability')
21
22
  ChangeSetDetails = Shapes::StructureShape.new(name: 'ChangeSetDetails')
22
23
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
23
24
  CreateApplicationInput = Shapes::StructureShape.new(name: 'CreateApplicationInput')
@@ -29,12 +30,16 @@ module Aws::ServerlessApplicationRepository
29
30
  CreateCloudFormationChangeSetInput = Shapes::StructureShape.new(name: 'CreateCloudFormationChangeSetInput')
30
31
  CreateCloudFormationChangeSetRequest = Shapes::StructureShape.new(name: 'CreateCloudFormationChangeSetRequest')
31
32
  CreateCloudFormationChangeSetResponse = Shapes::StructureShape.new(name: 'CreateCloudFormationChangeSetResponse')
33
+ CreateCloudFormationTemplateRequest = Shapes::StructureShape.new(name: 'CreateCloudFormationTemplateRequest')
34
+ CreateCloudFormationTemplateResponse = Shapes::StructureShape.new(name: 'CreateCloudFormationTemplateResponse')
32
35
  DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
33
36
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
34
37
  GetApplicationPolicyRequest = Shapes::StructureShape.new(name: 'GetApplicationPolicyRequest')
35
38
  GetApplicationPolicyResponse = Shapes::StructureShape.new(name: 'GetApplicationPolicyResponse')
36
39
  GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
37
40
  GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse')
41
+ GetCloudFormationTemplateRequest = Shapes::StructureShape.new(name: 'GetCloudFormationTemplateRequest')
42
+ GetCloudFormationTemplateResponse = Shapes::StructureShape.new(name: 'GetCloudFormationTemplateResponse')
38
43
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
39
44
  ListApplicationVersionsRequest = Shapes::StructureShape.new(name: 'ListApplicationVersionsRequest')
40
45
  ListApplicationVersionsResponse = Shapes::StructureShape.new(name: 'ListApplicationVersionsResponse')
@@ -46,6 +51,11 @@ module Aws::ServerlessApplicationRepository
46
51
  ParameterValue = Shapes::StructureShape.new(name: 'ParameterValue')
47
52
  PutApplicationPolicyRequest = Shapes::StructureShape.new(name: 'PutApplicationPolicyRequest')
48
53
  PutApplicationPolicyResponse = Shapes::StructureShape.new(name: 'PutApplicationPolicyResponse')
54
+ RollbackConfiguration = Shapes::StructureShape.new(name: 'RollbackConfiguration')
55
+ RollbackTrigger = Shapes::StructureShape.new(name: 'RollbackTrigger')
56
+ Status = Shapes::StringShape.new(name: 'Status')
57
+ Tag = Shapes::StructureShape.new(name: 'Tag')
58
+ TemplateDetails = Shapes::StructureShape.new(name: 'TemplateDetails')
49
59
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
50
60
  UpdateApplicationInput = Shapes::StructureShape.new(name: 'UpdateApplicationInput')
51
61
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
@@ -57,8 +67,11 @@ module Aws::ServerlessApplicationRepository
57
67
  __integer = Shapes::IntegerShape.new(name: '__integer')
58
68
  __listOfApplicationPolicyStatement = Shapes::ListShape.new(name: '__listOfApplicationPolicyStatement')
59
69
  __listOfApplicationSummary = Shapes::ListShape.new(name: '__listOfApplicationSummary')
70
+ __listOfCapability = Shapes::ListShape.new(name: '__listOfCapability')
60
71
  __listOfParameterDefinition = Shapes::ListShape.new(name: '__listOfParameterDefinition')
61
72
  __listOfParameterValue = Shapes::ListShape.new(name: '__listOfParameterValue')
73
+ __listOfRollbackTrigger = Shapes::ListShape.new(name: '__listOfRollbackTrigger')
74
+ __listOfTag = Shapes::ListShape.new(name: '__listOfTag')
62
75
  __listOfVersionSummary = Shapes::ListShape.new(name: '__listOfVersionSummary')
63
76
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
64
77
  __long = Shapes::IntegerShape.new(name: '__long')
@@ -169,20 +182,40 @@ module Aws::ServerlessApplicationRepository
169
182
  CreateApplicationVersionResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
170
183
  CreateApplicationVersionResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
171
184
  CreateApplicationVersionResponse.add_member(:parameter_definitions, Shapes::ShapeRef.new(shape: __listOfParameterDefinition, location_name: "parameterDefinitions"))
185
+ CreateApplicationVersionResponse.add_member(:required_capabilities, Shapes::ShapeRef.new(shape: __listOfCapability, location_name: "requiredCapabilities"))
186
+ CreateApplicationVersionResponse.add_member(:resources_supported, Shapes::ShapeRef.new(shape: __boolean, location_name: "resourcesSupported"))
172
187
  CreateApplicationVersionResponse.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
173
188
  CreateApplicationVersionResponse.add_member(:source_code_url, Shapes::ShapeRef.new(shape: __string, location_name: "sourceCodeUrl"))
174
189
  CreateApplicationVersionResponse.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, location_name: "templateUrl"))
175
190
  CreateApplicationVersionResponse.struct_class = Types::CreateApplicationVersionResponse
176
191
 
192
+ CreateCloudFormationChangeSetInput.add_member(:capabilities, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "capabilities"))
193
+ CreateCloudFormationChangeSetInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: __string, location_name: "changeSetName"))
194
+ CreateCloudFormationChangeSetInput.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, location_name: "clientToken"))
195
+ CreateCloudFormationChangeSetInput.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
196
+ CreateCloudFormationChangeSetInput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "notificationArns"))
177
197
  CreateCloudFormationChangeSetInput.add_member(:parameter_overrides, Shapes::ShapeRef.new(shape: __listOfParameterValue, location_name: "parameterOverrides"))
198
+ CreateCloudFormationChangeSetInput.add_member(:resource_types, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "resourceTypes"))
199
+ CreateCloudFormationChangeSetInput.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "rollbackConfiguration"))
178
200
  CreateCloudFormationChangeSetInput.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
179
201
  CreateCloudFormationChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "stackName"))
202
+ CreateCloudFormationChangeSetInput.add_member(:tags, Shapes::ShapeRef.new(shape: __listOfTag, location_name: "tags"))
203
+ CreateCloudFormationChangeSetInput.add_member(:template_id, Shapes::ShapeRef.new(shape: __string, location_name: "templateId"))
180
204
  CreateCloudFormationChangeSetInput.struct_class = Types::CreateCloudFormationChangeSetInput
181
205
 
182
206
  CreateCloudFormationChangeSetRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
207
+ CreateCloudFormationChangeSetRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "capabilities"))
208
+ CreateCloudFormationChangeSetRequest.add_member(:change_set_name, Shapes::ShapeRef.new(shape: __string, location_name: "changeSetName"))
209
+ CreateCloudFormationChangeSetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, location_name: "clientToken"))
210
+ CreateCloudFormationChangeSetRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
211
+ CreateCloudFormationChangeSetRequest.add_member(:notification_arns, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "notificationArns"))
183
212
  CreateCloudFormationChangeSetRequest.add_member(:parameter_overrides, Shapes::ShapeRef.new(shape: __listOfParameterValue, location_name: "parameterOverrides"))
213
+ CreateCloudFormationChangeSetRequest.add_member(:resource_types, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "resourceTypes"))
214
+ CreateCloudFormationChangeSetRequest.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "rollbackConfiguration"))
184
215
  CreateCloudFormationChangeSetRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
185
216
  CreateCloudFormationChangeSetRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "stackName"))
217
+ CreateCloudFormationChangeSetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __listOfTag, location_name: "tags"))
218
+ CreateCloudFormationChangeSetRequest.add_member(:template_id, Shapes::ShapeRef.new(shape: __string, location_name: "templateId"))
186
219
  CreateCloudFormationChangeSetRequest.struct_class = Types::CreateCloudFormationChangeSetRequest
187
220
 
188
221
  CreateCloudFormationChangeSetResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
@@ -191,6 +224,19 @@ module Aws::ServerlessApplicationRepository
191
224
  CreateCloudFormationChangeSetResponse.add_member(:stack_id, Shapes::ShapeRef.new(shape: __string, location_name: "stackId"))
192
225
  CreateCloudFormationChangeSetResponse.struct_class = Types::CreateCloudFormationChangeSetResponse
193
226
 
227
+ CreateCloudFormationTemplateRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
228
+ CreateCloudFormationTemplateRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
229
+ CreateCloudFormationTemplateRequest.struct_class = Types::CreateCloudFormationTemplateRequest
230
+
231
+ CreateCloudFormationTemplateResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
232
+ CreateCloudFormationTemplateResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
233
+ CreateCloudFormationTemplateResponse.add_member(:expiration_time, Shapes::ShapeRef.new(shape: __string, location_name: "expirationTime"))
234
+ CreateCloudFormationTemplateResponse.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
235
+ CreateCloudFormationTemplateResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
236
+ CreateCloudFormationTemplateResponse.add_member(:template_id, Shapes::ShapeRef.new(shape: __string, location_name: "templateId"))
237
+ CreateCloudFormationTemplateResponse.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, location_name: "templateUrl"))
238
+ CreateCloudFormationTemplateResponse.struct_class = Types::CreateCloudFormationTemplateResponse
239
+
194
240
  DeleteApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
195
241
  DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
196
242
 
@@ -217,6 +263,19 @@ module Aws::ServerlessApplicationRepository
217
263
  GetApplicationResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
218
264
  GetApplicationResponse.struct_class = Types::GetApplicationResponse
219
265
 
266
+ GetCloudFormationTemplateRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
267
+ GetCloudFormationTemplateRequest.add_member(:template_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "templateId"))
268
+ GetCloudFormationTemplateRequest.struct_class = Types::GetCloudFormationTemplateRequest
269
+
270
+ GetCloudFormationTemplateResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "applicationId"))
271
+ GetCloudFormationTemplateResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, location_name: "creationTime"))
272
+ GetCloudFormationTemplateResponse.add_member(:expiration_time, Shapes::ShapeRef.new(shape: __string, location_name: "expirationTime"))
273
+ GetCloudFormationTemplateResponse.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, location_name: "semanticVersion"))
274
+ GetCloudFormationTemplateResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
275
+ GetCloudFormationTemplateResponse.add_member(:template_id, Shapes::ShapeRef.new(shape: __string, location_name: "templateId"))
276
+ GetCloudFormationTemplateResponse.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, location_name: "templateUrl"))
277
+ GetCloudFormationTemplateResponse.struct_class = Types::GetCloudFormationTemplateResponse
278
+
220
279
  ListApplicationVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "applicationId"))
221
280
  ListApplicationVersionsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "maxItems"))
222
281
  ListApplicationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -260,6 +319,27 @@ module Aws::ServerlessApplicationRepository
260
319
  PutApplicationPolicyResponse.add_member(:statements, Shapes::ShapeRef.new(shape: __listOfApplicationPolicyStatement, location_name: "statements"))
261
320
  PutApplicationPolicyResponse.struct_class = Types::PutApplicationPolicyResponse
262
321
 
322
+ RollbackConfiguration.add_member(:monitoring_time_in_minutes, Shapes::ShapeRef.new(shape: __integer, location_name: "monitoringTimeInMinutes"))
323
+ RollbackConfiguration.add_member(:rollback_triggers, Shapes::ShapeRef.new(shape: __listOfRollbackTrigger, location_name: "rollbackTriggers"))
324
+ RollbackConfiguration.struct_class = Types::RollbackConfiguration
325
+
326
+ RollbackTrigger.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
327
+ RollbackTrigger.add_member(:type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "type"))
328
+ RollbackTrigger.struct_class = Types::RollbackTrigger
329
+
330
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "key"))
331
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "value"))
332
+ Tag.struct_class = Types::Tag
333
+
334
+ TemplateDetails.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "applicationId"))
335
+ TemplateDetails.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "creationTime"))
336
+ TemplateDetails.add_member(:expiration_time, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "expirationTime"))
337
+ TemplateDetails.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "semanticVersion"))
338
+ TemplateDetails.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
339
+ TemplateDetails.add_member(:template_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "templateId"))
340
+ TemplateDetails.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "templateUrl"))
341
+ TemplateDetails.struct_class = Types::TemplateDetails
342
+
263
343
  UpdateApplicationInput.add_member(:author, Shapes::ShapeRef.new(shape: __string, location_name: "author"))
264
344
  UpdateApplicationInput.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
265
345
  UpdateApplicationInput.add_member(:home_page_url, Shapes::ShapeRef.new(shape: __string, location_name: "homePageUrl"))
@@ -293,6 +373,8 @@ module Aws::ServerlessApplicationRepository
293
373
  Version.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "applicationId"))
294
374
  Version.add_member(:creation_time, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "creationTime"))
295
375
  Version.add_member(:parameter_definitions, Shapes::ShapeRef.new(shape: __listOfParameterDefinition, required: true, location_name: "parameterDefinitions"))
376
+ Version.add_member(:required_capabilities, Shapes::ShapeRef.new(shape: __listOfCapability, required: true, location_name: "requiredCapabilities"))
377
+ Version.add_member(:resources_supported, Shapes::ShapeRef.new(shape: __boolean, required: true, location_name: "resourcesSupported"))
296
378
  Version.add_member(:semantic_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "semanticVersion"))
297
379
  Version.add_member(:source_code_url, Shapes::ShapeRef.new(shape: __string, location_name: "sourceCodeUrl"))
298
380
  Version.add_member(:template_url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "templateUrl"))
@@ -308,10 +390,16 @@ module Aws::ServerlessApplicationRepository
308
390
 
309
391
  __listOfApplicationSummary.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
310
392
 
393
+ __listOfCapability.member = Shapes::ShapeRef.new(shape: Capability)
394
+
311
395
  __listOfParameterDefinition.member = Shapes::ShapeRef.new(shape: ParameterDefinition)
312
396
 
313
397
  __listOfParameterValue.member = Shapes::ShapeRef.new(shape: ParameterValue)
314
398
 
399
+ __listOfRollbackTrigger.member = Shapes::ShapeRef.new(shape: RollbackTrigger)
400
+
401
+ __listOfTag.member = Shapes::ShapeRef.new(shape: Tag)
402
+
315
403
  __listOfVersionSummary.member = Shapes::ShapeRef.new(shape: VersionSummary)
316
404
 
317
405
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
@@ -372,6 +460,19 @@ module Aws::ServerlessApplicationRepository
372
460
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
373
461
  end)
374
462
 
463
+ api.add_operation(:create_cloud_formation_template, Seahorse::Model::Operation.new.tap do |o|
464
+ o.name = "CreateCloudFormationTemplate"
465
+ o.http_method = "POST"
466
+ o.http_request_uri = "/applications/{applicationId}/templates"
467
+ o.input = Shapes::ShapeRef.new(shape: CreateCloudFormationTemplateRequest)
468
+ o.output = Shapes::ShapeRef.new(shape: CreateCloudFormationTemplateResponse)
469
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
470
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
471
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
472
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
473
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
474
+ end)
475
+
375
476
  api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
376
477
  o.name = "DeleteApplication"
377
478
  o.http_method = "DELETE"
@@ -412,6 +513,19 @@ module Aws::ServerlessApplicationRepository
412
513
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
413
514
  end)
414
515
 
516
+ api.add_operation(:get_cloud_formation_template, Seahorse::Model::Operation.new.tap do |o|
517
+ o.name = "GetCloudFormationTemplate"
518
+ o.http_method = "GET"
519
+ o.http_request_uri = "/applications/{applicationId}/templates/{templateId}"
520
+ o.input = Shapes::ShapeRef.new(shape: GetCloudFormationTemplateRequest)
521
+ o.output = Shapes::ShapeRef.new(shape: GetCloudFormationTemplateResponse)
522
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
523
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
524
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
525
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
526
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
527
+ end)
528
+
415
529
  api.add_operation(:list_application_versions, Seahorse::Model::Operation.new.tap do |o|
416
530
  o.name = "ListApplicationVersions"
417
531
  o.http_method = "GET"
@@ -135,7 +135,8 @@ module Aws::ServerlessApplicationRepository
135
135
  # }
136
136
  #
137
137
  # @!attribute [rw] actions
138
- # See [Application Permissions][1] for the list of supported actions.
138
+ # For the list of actions supported for this operation, see
139
+ # [Application Permissions][1].
139
140
  #
140
141
  #
141
142
  #
@@ -313,13 +314,13 @@ module Aws::ServerlessApplicationRepository
313
314
  #
314
315
  # @!attribute [rw] license_body
315
316
  # A local text file that contains the license of the app that matches
316
- # the spdxLicenseID value of your application. The file is of the
317
- # format file://&lt;path>/&lt;filename>.
317
+ # the spdxLicenseID value of your application. The file has the format
318
+ # file://&lt;path>/&lt;filename>.
318
319
  #
319
320
  # Maximum size 5 MB
320
321
  #
321
- # Note: Only one of licenseBody and licenseUrl can be specified,
322
- # otherwise an error will result.
322
+ # You can specify only one of licenseBody and licenseUrl; otherwise,
323
+ # an error results.
323
324
  # @return [String]
324
325
  #
325
326
  # @!attribute [rw] license_url
@@ -328,8 +329,8 @@ module Aws::ServerlessApplicationRepository
328
329
  #
329
330
  # Maximum size 5 MB
330
331
  #
331
- # Note: Only one of licenseBody and licenseUrl can be specified,
332
- # otherwise an error will result.
332
+ # You can specify only one of licenseBody and licenseUrl; otherwise,
333
+ # an error results.
333
334
  # @return [String]
334
335
  #
335
336
  # @!attribute [rw] name
@@ -343,12 +344,12 @@ module Aws::ServerlessApplicationRepository
343
344
  # @!attribute [rw] readme_body
344
345
  # A local text readme file in Markdown language that contains a more
345
346
  # detailed description of the application and how it works. The file
346
- # is of the format file://&lt;path>/&lt;filename>.
347
+ # has the format file://&lt;path>/&lt;filename>.
347
348
  #
348
349
  # Maximum size 5 MB
349
350
  #
350
- # Note: Only one of readmeBody and readmeUrl can be specified,
351
- # otherwise an error will result.
351
+ # You can specify only one of readmeBody and readmeUrl; otherwise, an
352
+ # error results.
352
353
  # @return [String]
353
354
  #
354
355
  # @!attribute [rw] readme_url
@@ -357,8 +358,8 @@ module Aws::ServerlessApplicationRepository
357
358
  #
358
359
  # Maximum size 5 MB
359
360
  #
360
- # Note: Only one of readmeBody and readmeUrl can be specified,
361
- # otherwise an error will result.
361
+ # You can specify only one of readmeBody and readmeUrl; otherwise, an
362
+ # error results.
362
363
  # @return [String]
363
364
  #
364
365
  # @!attribute [rw] semantic_version
@@ -386,18 +387,18 @@ module Aws::ServerlessApplicationRepository
386
387
  #
387
388
  # @!attribute [rw] template_body
388
389
  # The local raw packaged AWS SAM template file of your application.
389
- # The file is of the format file://&lt;path>/&lt;filename>.
390
+ # The file has the format file://&lt;path>/&lt;filename>.
390
391
  #
391
- # Note: Only one of templateBody and templateUrl can be specified,
392
- # otherwise an error will result.
392
+ # You can specify only one of templateBody and templateUrl; otherwise
393
+ # an error results.
393
394
  # @return [String]
394
395
  #
395
396
  # @!attribute [rw] template_url
396
- # A link to the S3 object cotaining the packaged AWS SAM template of
397
+ # A link to the S3 object containing the packaged AWS SAM template of
397
398
  # your application.
398
399
  #
399
- # Note: Only one of templateBody and templateUrl can be specified,
400
- # otherwise an error will result.
400
+ # You can specify only one of templateBody and templateUrl; otherwise
401
+ # an error results.
401
402
  # @return [String]
402
403
  #
403
404
  # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationInput AWS API Documentation
@@ -623,6 +624,12 @@ module Aws::ServerlessApplicationRepository
623
624
  # @!attribute [rw] parameter_definitions
624
625
  # @return [Array<Types::ParameterDefinition>]
625
626
  #
627
+ # @!attribute [rw] required_capabilities
628
+ # @return [Array<String>]
629
+ #
630
+ # @!attribute [rw] resources_supported
631
+ # @return [Boolean]
632
+ #
626
633
  # @!attribute [rw] semantic_version
627
634
  # @return [String]
628
635
  #
@@ -638,6 +645,8 @@ module Aws::ServerlessApplicationRepository
638
645
  :application_id,
639
646
  :creation_time,
640
647
  :parameter_definitions,
648
+ :required_capabilities,
649
+ :resources_supported,
641
650
  :semantic_version,
642
651
  :source_code_url,
643
652
  :template_url)
@@ -646,10 +655,109 @@ module Aws::ServerlessApplicationRepository
646
655
 
647
656
  # Create an application change set request.
648
657
  #
658
+ # @!attribute [rw] capabilities
659
+ # A list of values that you must specify before you can deploy certain
660
+ # applications. Some applications might include resources that can
661
+ # affect permissions in your AWS account, for example, by creating new
662
+ # AWS Identity and Access Management (IAM) users. For those
663
+ # applications, you must explicitly acknowledge their capabilities by
664
+ # specifying this parameter.
665
+ #
666
+ # The only valid values are CAPABILITY\_IAM, CAPABILITY\_NAMED\_IAM,
667
+ # and CAPABILITY\_RESOURCE\_POLICY.
668
+ #
669
+ # The following resources require you to specify CAPABILITY\_IAM or
670
+ # CAPABILITY\_NAMED\_IAM: [AWS::IAM::Group][1],
671
+ # [AWS::IAM::InstanceProfile][2], [AWS::IAM::Policy][3], and
672
+ # [AWS::IAM::Role][4]. If the application contains IAM resources, you
673
+ # can specify either CAPABILITY\_IAM or CAPABILITY\_NAMED\_IAM. If the
674
+ # application contains IAM resources with custom names, you must
675
+ # specify CAPABILITY\_NAMED\_IAM.
676
+ #
677
+ # The following resources require you to specify
678
+ # CAPABILITY\_RESOURCE\_POLICY:
679
+ # [AWS::ApplicationAutoScaling::ScalingPolicy][5],
680
+ # [AWS::S3::BucketPolicy][6], [AWS::SQS::QueuePolicy][7], and
681
+ # [AWS::SNS:TopicPolicy][8].
682
+ #
683
+ # If your application template contains any of the above resources, we
684
+ # recommend that you review all permissions associated with the
685
+ # application before deploying. If you don't specify this parameter
686
+ # for an application that requires capabilities, the call will fail.
687
+ #
688
+ # Valid values: CAPABILITY\_IAM \| CAPABILITY\_NAMED\_IAM \|
689
+ # CAPABILITY\_RESOURCE\_POLICY
690
+ #
691
+ #
692
+ #
693
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html
694
+ # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
695
+ # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html
696
+ # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
697
+ # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html
698
+ # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html
699
+ # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html
700
+ # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-policy.html
701
+ # @return [Array<String>]
702
+ #
703
+ # @!attribute [rw] change_set_name
704
+ # This property corresponds to the parameter of the same name for the
705
+ # *AWS CloudFormation [ CreateChangeSet][1]* API.
706
+ #
707
+ #
708
+ #
709
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
710
+ # @return [String]
711
+ #
712
+ # @!attribute [rw] client_token
713
+ # This property corresponds to the parameter of the same name for the
714
+ # *AWS CloudFormation [ CreateChangeSet][1]* API.
715
+ #
716
+ #
717
+ #
718
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
719
+ # @return [String]
720
+ #
721
+ # @!attribute [rw] description
722
+ # This property corresponds to the parameter of the same name for the
723
+ # *AWS CloudFormation [ CreateChangeSet][1]* API.
724
+ #
725
+ #
726
+ #
727
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
728
+ # @return [String]
729
+ #
730
+ # @!attribute [rw] notification_arns
731
+ # This property corresponds to the parameter of the same name for the
732
+ # *AWS CloudFormation [ CreateChangeSet][1]* API.
733
+ #
734
+ #
735
+ #
736
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
737
+ # @return [Array<String>]
738
+ #
649
739
  # @!attribute [rw] parameter_overrides
650
740
  # A list of parameter values for the parameters of the application.
651
741
  # @return [Array<Types::ParameterValue>]
652
742
  #
743
+ # @!attribute [rw] resource_types
744
+ # This property corresponds to the parameter of the same name for the
745
+ # *AWS CloudFormation [ CreateChangeSet][1]* API.
746
+ #
747
+ #
748
+ #
749
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
750
+ # @return [Array<String>]
751
+ #
752
+ # @!attribute [rw] rollback_configuration
753
+ # This property corresponds to the parameter of the same name for the
754
+ # *AWS CloudFormation [ CreateChangeSet][1]* API.
755
+ #
756
+ #
757
+ #
758
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
759
+ # @return [Types::RollbackConfiguration]
760
+ #
653
761
  # @!attribute [rw] semantic_version
654
762
  # The semantic version of the application:
655
763
  #
@@ -661,23 +769,45 @@ module Aws::ServerlessApplicationRepository
661
769
  # @return [String]
662
770
  #
663
771
  # @!attribute [rw] stack_name
664
- # The name or the unique ID of the stack for which you are creating a
665
- # change set. AWS CloudFormation generates the change set by comparing
666
- # this stack's information with the information that you submit, such
667
- # as a modified template or different parameter input values.
772
+ # This property corresponds to the parameter of the same name for the
773
+ # *AWS CloudFormation [ CreateChangeSet][1]* API.
774
+ #
775
+ #
776
+ #
777
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
778
+ # @return [String]
779
+ #
780
+ # @!attribute [rw] tags
781
+ # This property corresponds to the parameter of the same name for the
782
+ # *AWS CloudFormation [ CreateChangeSet][1]* API.
783
+ #
784
+ #
785
+ #
786
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
787
+ # @return [Array<Types::Tag>]
668
788
  #
669
- # Constraints: Minimum length of 1.
789
+ # @!attribute [rw] template_id
790
+ # The UUID returned by CreateCloudFormationTemplate.
670
791
  #
671
792
  # Pattern:
672
- # (\[a-zA-Z\]\[-a-zA-Z0-9\]*)\|(arn:\\b(aws\|aws-us-gov\|aws-cn)\\b:\[-a-zA-Z0-9:/.\_+\]*)
793
+ # \[0-9a-fA-F\]\\\{8\\}\\-\[0-9a-fA-F\]\\\{4\\}\\-\[0-9a-fA-F\]\\\{4\\}\\-\[0-9a-fA-F\]\\\{4\\}\\-\[0-9a-fA-F\]\\\{12\\}
673
794
  # @return [String]
674
795
  #
675
796
  # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSetInput AWS API Documentation
676
797
  #
677
798
  class CreateCloudFormationChangeSetInput < Struct.new(
799
+ :capabilities,
800
+ :change_set_name,
801
+ :client_token,
802
+ :description,
803
+ :notification_arns,
678
804
  :parameter_overrides,
805
+ :resource_types,
806
+ :rollback_configuration,
679
807
  :semantic_version,
680
- :stack_name)
808
+ :stack_name,
809
+ :tags,
810
+ :template_id)
681
811
  include Aws::Structure
682
812
  end
683
813
 
@@ -686,35 +816,99 @@ module Aws::ServerlessApplicationRepository
686
816
  #
687
817
  # {
688
818
  # application_id: "__string", # required
819
+ # capabilities: ["__string"],
820
+ # change_set_name: "__string",
821
+ # client_token: "__string",
822
+ # description: "__string",
823
+ # notification_arns: ["__string"],
689
824
  # parameter_overrides: [
690
825
  # {
691
826
  # name: "__string", # required
692
827
  # value: "__string", # required
693
828
  # },
694
829
  # ],
830
+ # resource_types: ["__string"],
831
+ # rollback_configuration: {
832
+ # monitoring_time_in_minutes: 1,
833
+ # rollback_triggers: [
834
+ # {
835
+ # arn: "__string", # required
836
+ # type: "__string", # required
837
+ # },
838
+ # ],
839
+ # },
695
840
  # semantic_version: "__string",
696
841
  # stack_name: "__string", # required
842
+ # tags: [
843
+ # {
844
+ # key: "__string", # required
845
+ # value: "__string", # required
846
+ # },
847
+ # ],
848
+ # template_id: "__string",
697
849
  # }
698
850
  #
699
851
  # @!attribute [rw] application_id
700
852
  # @return [String]
701
853
  #
854
+ # @!attribute [rw] capabilities
855
+ # @return [Array<String>]
856
+ #
857
+ # @!attribute [rw] change_set_name
858
+ # @return [String]
859
+ #
860
+ # @!attribute [rw] client_token
861
+ # @return [String]
862
+ #
863
+ # @!attribute [rw] description
864
+ # @return [String]
865
+ #
866
+ # @!attribute [rw] notification_arns
867
+ # @return [Array<String>]
868
+ #
702
869
  # @!attribute [rw] parameter_overrides
703
870
  # @return [Array<Types::ParameterValue>]
704
871
  #
872
+ # @!attribute [rw] resource_types
873
+ # @return [Array<String>]
874
+ #
875
+ # @!attribute [rw] rollback_configuration
876
+ # This property corresponds to the *AWS CloudFormation [
877
+ # RollbackConfiguration][1]* Data Type.
878
+ #
879
+ #
880
+ #
881
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration
882
+ # @return [Types::RollbackConfiguration]
883
+ #
705
884
  # @!attribute [rw] semantic_version
706
885
  # @return [String]
707
886
  #
708
887
  # @!attribute [rw] stack_name
709
888
  # @return [String]
710
889
  #
890
+ # @!attribute [rw] tags
891
+ # @return [Array<Types::Tag>]
892
+ #
893
+ # @!attribute [rw] template_id
894
+ # @return [String]
895
+ #
711
896
  # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSetRequest AWS API Documentation
712
897
  #
713
898
  class CreateCloudFormationChangeSetRequest < Struct.new(
714
899
  :application_id,
900
+ :capabilities,
901
+ :change_set_name,
902
+ :client_token,
903
+ :description,
904
+ :notification_arns,
715
905
  :parameter_overrides,
906
+ :resource_types,
907
+ :rollback_configuration,
716
908
  :semantic_version,
717
- :stack_name)
909
+ :stack_name,
910
+ :tags,
911
+ :template_id)
718
912
  include Aws::Structure
719
913
  end
720
914
 
@@ -740,6 +934,62 @@ module Aws::ServerlessApplicationRepository
740
934
  include Aws::Structure
741
935
  end
742
936
 
937
+ # @note When making an API call, you may pass CreateCloudFormationTemplateRequest
938
+ # data as a hash:
939
+ #
940
+ # {
941
+ # application_id: "__string", # required
942
+ # semantic_version: "__string",
943
+ # }
944
+ #
945
+ # @!attribute [rw] application_id
946
+ # @return [String]
947
+ #
948
+ # @!attribute [rw] semantic_version
949
+ # @return [String]
950
+ #
951
+ # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationTemplateRequest AWS API Documentation
952
+ #
953
+ class CreateCloudFormationTemplateRequest < Struct.new(
954
+ :application_id,
955
+ :semantic_version)
956
+ include Aws::Structure
957
+ end
958
+
959
+ # @!attribute [rw] application_id
960
+ # @return [String]
961
+ #
962
+ # @!attribute [rw] creation_time
963
+ # @return [String]
964
+ #
965
+ # @!attribute [rw] expiration_time
966
+ # @return [String]
967
+ #
968
+ # @!attribute [rw] semantic_version
969
+ # @return [String]
970
+ #
971
+ # @!attribute [rw] status
972
+ # @return [String]
973
+ #
974
+ # @!attribute [rw] template_id
975
+ # @return [String]
976
+ #
977
+ # @!attribute [rw] template_url
978
+ # @return [String]
979
+ #
980
+ # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationTemplateResponse AWS API Documentation
981
+ #
982
+ class CreateCloudFormationTemplateResponse < Struct.new(
983
+ :application_id,
984
+ :creation_time,
985
+ :expiration_time,
986
+ :semantic_version,
987
+ :status,
988
+ :template_id,
989
+ :template_url)
990
+ include Aws::Structure
991
+ end
992
+
743
993
  # @note When making an API call, you may pass DeleteApplicationRequest
744
994
  # data as a hash:
745
995
  #
@@ -857,6 +1107,62 @@ module Aws::ServerlessApplicationRepository
857
1107
  include Aws::Structure
858
1108
  end
859
1109
 
1110
+ # @note When making an API call, you may pass GetCloudFormationTemplateRequest
1111
+ # data as a hash:
1112
+ #
1113
+ # {
1114
+ # application_id: "__string", # required
1115
+ # template_id: "__string", # required
1116
+ # }
1117
+ #
1118
+ # @!attribute [rw] application_id
1119
+ # @return [String]
1120
+ #
1121
+ # @!attribute [rw] template_id
1122
+ # @return [String]
1123
+ #
1124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetCloudFormationTemplateRequest AWS API Documentation
1125
+ #
1126
+ class GetCloudFormationTemplateRequest < Struct.new(
1127
+ :application_id,
1128
+ :template_id)
1129
+ include Aws::Structure
1130
+ end
1131
+
1132
+ # @!attribute [rw] application_id
1133
+ # @return [String]
1134
+ #
1135
+ # @!attribute [rw] creation_time
1136
+ # @return [String]
1137
+ #
1138
+ # @!attribute [rw] expiration_time
1139
+ # @return [String]
1140
+ #
1141
+ # @!attribute [rw] semantic_version
1142
+ # @return [String]
1143
+ #
1144
+ # @!attribute [rw] status
1145
+ # @return [String]
1146
+ #
1147
+ # @!attribute [rw] template_id
1148
+ # @return [String]
1149
+ #
1150
+ # @!attribute [rw] template_url
1151
+ # @return [String]
1152
+ #
1153
+ # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetCloudFormationTemplateResponse AWS API Documentation
1154
+ #
1155
+ class GetCloudFormationTemplateResponse < Struct.new(
1156
+ :application_id,
1157
+ :creation_time,
1158
+ :expiration_time,
1159
+ :semantic_version,
1160
+ :status,
1161
+ :template_id,
1162
+ :template_url)
1163
+ include Aws::Structure
1164
+ end
1165
+
860
1166
  # @note When making an API call, you may pass ListApplicationVersionsRequest
861
1167
  # data as a hash:
862
1168
  #
@@ -1126,6 +1432,190 @@ module Aws::ServerlessApplicationRepository
1126
1432
  include Aws::Structure
1127
1433
  end
1128
1434
 
1435
+ # This property corresponds to the *AWS CloudFormation [
1436
+ # RollbackConfiguration][1]* Data Type.
1437
+ #
1438
+ #
1439
+ #
1440
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration
1441
+ #
1442
+ # @note When making an API call, you may pass RollbackConfiguration
1443
+ # data as a hash:
1444
+ #
1445
+ # {
1446
+ # monitoring_time_in_minutes: 1,
1447
+ # rollback_triggers: [
1448
+ # {
1449
+ # arn: "__string", # required
1450
+ # type: "__string", # required
1451
+ # },
1452
+ # ],
1453
+ # }
1454
+ #
1455
+ # @!attribute [rw] monitoring_time_in_minutes
1456
+ # This property corresponds to the content of the same name for the
1457
+ # *AWS CloudFormation [ RollbackConfiguration][1]* Data Type.
1458
+ #
1459
+ #
1460
+ #
1461
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration
1462
+ # @return [Integer]
1463
+ #
1464
+ # @!attribute [rw] rollback_triggers
1465
+ # This property corresponds to the content of the same name for the
1466
+ # *AWS CloudFormation [ RollbackConfiguration][1]* Data Type.
1467
+ #
1468
+ #
1469
+ #
1470
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration
1471
+ # @return [Array<Types::RollbackTrigger>]
1472
+ #
1473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/RollbackConfiguration AWS API Documentation
1474
+ #
1475
+ class RollbackConfiguration < Struct.new(
1476
+ :monitoring_time_in_minutes,
1477
+ :rollback_triggers)
1478
+ include Aws::Structure
1479
+ end
1480
+
1481
+ # This property corresponds to the *AWS CloudFormation [
1482
+ # RollbackTrigger][1]* Data Type.
1483
+ #
1484
+ #
1485
+ #
1486
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger
1487
+ #
1488
+ # @note When making an API call, you may pass RollbackTrigger
1489
+ # data as a hash:
1490
+ #
1491
+ # {
1492
+ # arn: "__string", # required
1493
+ # type: "__string", # required
1494
+ # }
1495
+ #
1496
+ # @!attribute [rw] arn
1497
+ # This property corresponds to the content of the same name for the
1498
+ # *AWS CloudFormation [ RollbackTrigger][1]* Data Type.
1499
+ #
1500
+ #
1501
+ #
1502
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger
1503
+ # @return [String]
1504
+ #
1505
+ # @!attribute [rw] type
1506
+ # This property corresponds to the content of the same name for the
1507
+ # *AWS CloudFormation [ RollbackTrigger][1]* Data Type.
1508
+ #
1509
+ #
1510
+ #
1511
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger
1512
+ # @return [String]
1513
+ #
1514
+ # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/RollbackTrigger AWS API Documentation
1515
+ #
1516
+ class RollbackTrigger < Struct.new(
1517
+ :arn,
1518
+ :type)
1519
+ include Aws::Structure
1520
+ end
1521
+
1522
+ # This property corresponds to the *AWS CloudFormation [ Tag][1]* Data
1523
+ # Type.
1524
+ #
1525
+ #
1526
+ #
1527
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag
1528
+ #
1529
+ # @note When making an API call, you may pass Tag
1530
+ # data as a hash:
1531
+ #
1532
+ # {
1533
+ # key: "__string", # required
1534
+ # value: "__string", # required
1535
+ # }
1536
+ #
1537
+ # @!attribute [rw] key
1538
+ # This property corresponds to the content of the same name for the
1539
+ # *AWS CloudFormation [ Tag][1]* Data Type.
1540
+ #
1541
+ #
1542
+ #
1543
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag
1544
+ # @return [String]
1545
+ #
1546
+ # @!attribute [rw] value
1547
+ # This property corresponds to the content of the same name for the
1548
+ # *AWS CloudFormation [ Tag][1]* Data Type.
1549
+ #
1550
+ #
1551
+ #
1552
+ # [1]: https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag
1553
+ # @return [String]
1554
+ #
1555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/Tag AWS API Documentation
1556
+ #
1557
+ class Tag < Struct.new(
1558
+ :key,
1559
+ :value)
1560
+ include Aws::Structure
1561
+ end
1562
+
1563
+ # Details of the template.
1564
+ #
1565
+ # @!attribute [rw] application_id
1566
+ # The application Amazon Resource Name (ARN).
1567
+ # @return [String]
1568
+ #
1569
+ # @!attribute [rw] creation_time
1570
+ # The date and time this resource was created.
1571
+ # @return [String]
1572
+ #
1573
+ # @!attribute [rw] expiration_time
1574
+ # The date and time this template expires. Templates expire 1 hour
1575
+ # after creation.
1576
+ # @return [String]
1577
+ #
1578
+ # @!attribute [rw] semantic_version
1579
+ # The semantic version of the application:
1580
+ #
1581
+ # [https://semver.org/][1]
1582
+ #
1583
+ #
1584
+ #
1585
+ # [1]: https://semver.org/
1586
+ # @return [String]
1587
+ #
1588
+ # @!attribute [rw] status
1589
+ # Status of the template creation workflow.
1590
+ #
1591
+ # Possible values: PREPARING \| ACTIVE \| EXPIRED
1592
+ # @return [String]
1593
+ #
1594
+ # @!attribute [rw] template_id
1595
+ # The UUID returned by CreateCloudFormationTemplate.
1596
+ #
1597
+ # Pattern:
1598
+ # \[0-9a-fA-F\]\\\{8\\}\\-\[0-9a-fA-F\]\\\{4\\}\\-\[0-9a-fA-F\]\\\{4\\}\\-\[0-9a-fA-F\]\\\{4\\}\\-\[0-9a-fA-F\]\\\{12\\}
1599
+ # @return [String]
1600
+ #
1601
+ # @!attribute [rw] template_url
1602
+ # A link to the template that can be used to deploy the application
1603
+ # using AWS CloudFormation.
1604
+ # @return [String]
1605
+ #
1606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/TemplateDetails AWS API Documentation
1607
+ #
1608
+ class TemplateDetails < Struct.new(
1609
+ :application_id,
1610
+ :creation_time,
1611
+ :expiration_time,
1612
+ :semantic_version,
1613
+ :status,
1614
+ :template_id,
1615
+ :template_url)
1616
+ include Aws::Structure
1617
+ end
1618
+
1129
1619
  # Update the application request.
1130
1620
  #
1131
1621
  # @!attribute [rw] author
@@ -1293,6 +1783,56 @@ module Aws::ServerlessApplicationRepository
1293
1783
  # An array of parameter types supported by the application.
1294
1784
  # @return [Array<Types::ParameterDefinition>]
1295
1785
  #
1786
+ # @!attribute [rw] required_capabilities
1787
+ # A list of values that you must specify before you can deploy certain
1788
+ # applications. Some applications might include resources that can
1789
+ # affect permissions in your AWS account, for example, by creating new
1790
+ # AWS Identity and Access Management (IAM) users. For those
1791
+ # applications, you must explicitly acknowledge their capabilities by
1792
+ # specifying this parameter.
1793
+ #
1794
+ # The only valid values are CAPABILITY\_IAM, CAPABILITY\_NAMED\_IAM,
1795
+ # and CAPABILITY\_RESOURCE\_POLICY.
1796
+ #
1797
+ # The following resources require you to specify CAPABILITY\_IAM or
1798
+ # CAPABILITY\_NAMED\_IAM: [AWS::IAM::Group][1],
1799
+ # [AWS::IAM::InstanceProfile][2], [AWS::IAM::Policy][3], and
1800
+ # [AWS::IAM::Role][4]. If the application contains IAM resources, you
1801
+ # can specify either CAPABILITY\_IAM or CAPABILITY\_NAMED\_IAM. If the
1802
+ # application contains IAM resources with custom names, you must
1803
+ # specify CAPABILITY\_NAMED\_IAM.
1804
+ #
1805
+ # The following resources require you to specify
1806
+ # CAPABILITY\_RESOURCE\_POLICY:
1807
+ # [AWS::ApplicationAutoScaling::ScalingPolicy][5],
1808
+ # [AWS::S3::BucketPolicy][6], [AWS::SQS::QueuePolicy][7], and
1809
+ # [AWS::SNS:TopicPolicy][8].
1810
+ #
1811
+ # If your application template contains any of the above resources, we
1812
+ # recommend that you review all permissions associated with the
1813
+ # application before deploying. If you don't specify this parameter
1814
+ # for an application that requires capabilities, the call will fail.
1815
+ #
1816
+ # Valid values: CAPABILITY\_IAM \| CAPABILITY\_NAMED\_IAM \|
1817
+ # CAPABILITY\_RESOURCE\_POLICY
1818
+ #
1819
+ #
1820
+ #
1821
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html
1822
+ # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
1823
+ # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html
1824
+ # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
1825
+ # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html
1826
+ # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html
1827
+ # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html
1828
+ # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-policy.html
1829
+ # @return [Array<String>]
1830
+ #
1831
+ # @!attribute [rw] resources_supported
1832
+ # Whether all of the AWS resources contained in this application are
1833
+ # supported in the region in which it is being retrieved.
1834
+ # @return [Boolean]
1835
+ #
1296
1836
  # @!attribute [rw] semantic_version
1297
1837
  # The semantic version of the application:
1298
1838
  #
@@ -1318,6 +1858,8 @@ module Aws::ServerlessApplicationRepository
1318
1858
  :application_id,
1319
1859
  :creation_time,
1320
1860
  :parameter_definitions,
1861
+ :required_capabilities,
1862
+ :resources_supported,
1321
1863
  :semantic_version,
1322
1864
  :source_code_url,
1323
1865
  :template_url)
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.8.0
4
+ version: 1.9.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: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2018-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core