aws-sdk-amplify 1.13.0 → 1.14.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: f88c6f743047e21adac86093dce6a3ea8c18a1ed
4
- data.tar.gz: be527d89ca4255ea7791bee65e541449e1943d93
3
+ metadata.gz: 56454fed022a8f4c65d9172f3e799f3c2f80ef23
4
+ data.tar.gz: 9e2db8044579ac2b2525819f6c8c7df994e65cbc
5
5
  SHA512:
6
- metadata.gz: 41d29ae4b639719d318fc03f14483ac1aed02966f42465019bc10eeebe452c6dd0f1440b93d2fc189723226c1da193eb81d79d8aa9237c3b5328a16e0e3327c0
7
- data.tar.gz: 0ffb539e796579cffef3a6d489f9fa119deddf82f0b98e570d1860456658acc96a3dec6c09abe2cd2fc53ee98bd7f5e79cc734e83202e8c22ee1b66c506220f9
6
+ metadata.gz: 248df8259366adf76c57f475f82243baf92cf01d4040ee883512c9203ea4908788ced1147e6bb11b0c9bdac77c527271fda7f333a6dc29577df3efe42c0b449d
7
+ data.tar.gz: 785c1036131b62b181926e8c0e188d00d0cf4b6c94e968cbfacd9dde3df4973050bb3dec40466bc74e338100c5eb78b2445d6e61a79b0edb6291ee59a728c4b2
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-amplify/customizations'
42
42
  # @service
43
43
  module Aws::Amplify
44
44
 
45
- GEM_VERSION = '1.13.0'
45
+ GEM_VERSION = '1.14.0'
46
46
 
47
47
  end
@@ -413,6 +413,51 @@ module Aws::Amplify
413
413
  req.send_request(options)
414
414
  end
415
415
 
416
+ # Creates a new backend environment for an Amplify App.
417
+ #
418
+ # @option params [required, String] :app_id
419
+ # Unique Id for an Amplify App.
420
+ #
421
+ # @option params [required, String] :environment_name
422
+ # Name for the backend environment.
423
+ #
424
+ # @option params [String] :stack_name
425
+ # CloudFormation stack name of backend environment.
426
+ #
427
+ # @option params [String] :deployment_artifacts
428
+ # Name of deployment artifacts.
429
+ #
430
+ # @return [Types::CreateBackendEnvironmentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
431
+ #
432
+ # * {Types::CreateBackendEnvironmentResult#backend_environment #backend_environment} => Types::BackendEnvironment
433
+ #
434
+ # @example Request syntax with placeholder values
435
+ #
436
+ # resp = client.create_backend_environment({
437
+ # app_id: "AppId", # required
438
+ # environment_name: "EnvironmentName", # required
439
+ # stack_name: "StackName",
440
+ # deployment_artifacts: "DeploymentArtifacts",
441
+ # })
442
+ #
443
+ # @example Response structure
444
+ #
445
+ # resp.backend_environment.backend_environment_arn #=> String
446
+ # resp.backend_environment.environment_name #=> String
447
+ # resp.backend_environment.stack_name #=> String
448
+ # resp.backend_environment.deployment_artifacts #=> String
449
+ # resp.backend_environment.create_time #=> Time
450
+ # resp.backend_environment.update_time #=> Time
451
+ #
452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment AWS API Documentation
453
+ #
454
+ # @overload create_backend_environment(params = {})
455
+ # @param [Hash] params ({})
456
+ def create_backend_environment(params = {}, options = {})
457
+ req = build_request(:create_backend_environment, params)
458
+ req.send_request(options)
459
+ end
460
+
416
461
  # Creates a new Branch for an Amplify App.
417
462
  #
418
463
  # @option params [required, String] :app_id
@@ -750,6 +795,43 @@ module Aws::Amplify
750
795
  req.send_request(options)
751
796
  end
752
797
 
798
+ # Delete backend environment for an Amplify App.
799
+ #
800
+ # @option params [required, String] :app_id
801
+ # Unique Id of an Amplify App.
802
+ #
803
+ # @option params [required, String] :environment_name
804
+ # Name of a backend environment of an Amplify App.
805
+ #
806
+ # @return [Types::DeleteBackendEnvironmentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
807
+ #
808
+ # * {Types::DeleteBackendEnvironmentResult#backend_environment #backend_environment} => Types::BackendEnvironment
809
+ #
810
+ # @example Request syntax with placeholder values
811
+ #
812
+ # resp = client.delete_backend_environment({
813
+ # app_id: "AppId", # required
814
+ # environment_name: "EnvironmentName", # required
815
+ # })
816
+ #
817
+ # @example Response structure
818
+ #
819
+ # resp.backend_environment.backend_environment_arn #=> String
820
+ # resp.backend_environment.environment_name #=> String
821
+ # resp.backend_environment.stack_name #=> String
822
+ # resp.backend_environment.deployment_artifacts #=> String
823
+ # resp.backend_environment.create_time #=> Time
824
+ # resp.backend_environment.update_time #=> Time
825
+ #
826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment AWS API Documentation
827
+ #
828
+ # @overload delete_backend_environment(params = {})
829
+ # @param [Hash] params ({})
830
+ def delete_backend_environment(params = {}, options = {})
831
+ req = build_request(:delete_backend_environment, params)
832
+ req.send_request(options)
833
+ end
834
+
753
835
  # Deletes a branch for an Amplify App.
754
836
  #
755
837
  # @option params [required, String] :app_id
@@ -1069,6 +1151,43 @@ module Aws::Amplify
1069
1151
  req.send_request(options)
1070
1152
  end
1071
1153
 
1154
+ # Retrieves a backend environment for an Amplify App.
1155
+ #
1156
+ # @option params [required, String] :app_id
1157
+ # Unique Id for an Amplify App.
1158
+ #
1159
+ # @option params [required, String] :environment_name
1160
+ # Name for the backend environment.
1161
+ #
1162
+ # @return [Types::GetBackendEnvironmentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1163
+ #
1164
+ # * {Types::GetBackendEnvironmentResult#backend_environment #backend_environment} => Types::BackendEnvironment
1165
+ #
1166
+ # @example Request syntax with placeholder values
1167
+ #
1168
+ # resp = client.get_backend_environment({
1169
+ # app_id: "AppId", # required
1170
+ # environment_name: "EnvironmentName", # required
1171
+ # })
1172
+ #
1173
+ # @example Response structure
1174
+ #
1175
+ # resp.backend_environment.backend_environment_arn #=> String
1176
+ # resp.backend_environment.environment_name #=> String
1177
+ # resp.backend_environment.stack_name #=> String
1178
+ # resp.backend_environment.deployment_artifacts #=> String
1179
+ # resp.backend_environment.create_time #=> Time
1180
+ # resp.backend_environment.update_time #=> Time
1181
+ #
1182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment AWS API Documentation
1183
+ #
1184
+ # @overload get_backend_environment(params = {})
1185
+ # @param [Hash] params ({})
1186
+ def get_backend_environment(params = {}, options = {})
1187
+ req = build_request(:get_backend_environment, params)
1188
+ req.send_request(options)
1189
+ end
1190
+
1072
1191
  # Retrieves a branch for an Amplify App.
1073
1192
  #
1074
1193
  # @option params [required, String] :app_id
@@ -1388,6 +1507,56 @@ module Aws::Amplify
1388
1507
  req.send_request(options)
1389
1508
  end
1390
1509
 
1510
+ # Lists backend environments for an Amplify App.
1511
+ #
1512
+ # @option params [required, String] :app_id
1513
+ # Unique Id for an amplify App.
1514
+ #
1515
+ # @option params [String] :environment_name
1516
+ # Name of the backend environment
1517
+ #
1518
+ # @option params [String] :next_token
1519
+ # Pagination token. Set to null to start listing backen environments
1520
+ # from start. If a non-null pagination token is returned in a result,
1521
+ # then pass its value in here to list more backend environments.
1522
+ #
1523
+ # @option params [Integer] :max_results
1524
+ # Maximum number of records to list in a single response.
1525
+ #
1526
+ # @return [Types::ListBackendEnvironmentsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1527
+ #
1528
+ # * {Types::ListBackendEnvironmentsResult#backend_environments #backend_environments} => Array<Types::BackendEnvironment>
1529
+ # * {Types::ListBackendEnvironmentsResult#next_token #next_token} => String
1530
+ #
1531
+ # @example Request syntax with placeholder values
1532
+ #
1533
+ # resp = client.list_backend_environments({
1534
+ # app_id: "AppId", # required
1535
+ # environment_name: "EnvironmentName",
1536
+ # next_token: "NextToken",
1537
+ # max_results: 1,
1538
+ # })
1539
+ #
1540
+ # @example Response structure
1541
+ #
1542
+ # resp.backend_environments #=> Array
1543
+ # resp.backend_environments[0].backend_environment_arn #=> String
1544
+ # resp.backend_environments[0].environment_name #=> String
1545
+ # resp.backend_environments[0].stack_name #=> String
1546
+ # resp.backend_environments[0].deployment_artifacts #=> String
1547
+ # resp.backend_environments[0].create_time #=> Time
1548
+ # resp.backend_environments[0].update_time #=> Time
1549
+ # resp.next_token #=> String
1550
+ #
1551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments AWS API Documentation
1552
+ #
1553
+ # @overload list_backend_environments(params = {})
1554
+ # @param [Hash] params ({})
1555
+ def list_backend_environments(params = {}, options = {})
1556
+ req = build_request(:list_backend_environments, params)
1557
+ req.send_request(options)
1558
+ end
1559
+
1391
1560
  # Lists branches for an Amplify App.
1392
1561
  #
1393
1562
  # @option params [required, String] :app_id
@@ -2242,7 +2411,7 @@ module Aws::Amplify
2242
2411
  params: params,
2243
2412
  config: config)
2244
2413
  context[:gem_name] = 'aws-sdk-amplify'
2245
- context[:gem_version] = '1.13.0'
2414
+ context[:gem_version] = '1.14.0'
2246
2415
  Seahorse::Client::Request.new(handlers, context)
2247
2416
  end
2248
2417
 
@@ -28,7 +28,9 @@ module Aws::Amplify
28
28
  AutoBranchCreationConfig = Shapes::StructureShape.new(name: 'AutoBranchCreationConfig')
29
29
  AutoBranchCreationPattern = Shapes::StringShape.new(name: 'AutoBranchCreationPattern')
30
30
  AutoBranchCreationPatterns = Shapes::ListShape.new(name: 'AutoBranchCreationPatterns')
31
+ BackendEnvironment = Shapes::StructureShape.new(name: 'BackendEnvironment')
31
32
  BackendEnvironmentArn = Shapes::StringShape.new(name: 'BackendEnvironmentArn')
33
+ BackendEnvironments = Shapes::ListShape.new(name: 'BackendEnvironments')
32
34
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
33
35
  BasicAuthCredentials = Shapes::StringShape.new(name: 'BasicAuthCredentials')
34
36
  Branch = Shapes::StructureShape.new(name: 'Branch')
@@ -45,6 +47,8 @@ module Aws::Amplify
45
47
  Context = Shapes::StringShape.new(name: 'Context')
46
48
  CreateAppRequest = Shapes::StructureShape.new(name: 'CreateAppRequest')
47
49
  CreateAppResult = Shapes::StructureShape.new(name: 'CreateAppResult')
50
+ CreateBackendEnvironmentRequest = Shapes::StructureShape.new(name: 'CreateBackendEnvironmentRequest')
51
+ CreateBackendEnvironmentResult = Shapes::StructureShape.new(name: 'CreateBackendEnvironmentResult')
48
52
  CreateBranchRequest = Shapes::StructureShape.new(name: 'CreateBranchRequest')
49
53
  CreateBranchResult = Shapes::StructureShape.new(name: 'CreateBranchResult')
50
54
  CreateDeploymentRequest = Shapes::StructureShape.new(name: 'CreateDeploymentRequest')
@@ -62,6 +66,8 @@ module Aws::Amplify
62
66
  DefaultDomain = Shapes::StringShape.new(name: 'DefaultDomain')
63
67
  DeleteAppRequest = Shapes::StructureShape.new(name: 'DeleteAppRequest')
64
68
  DeleteAppResult = Shapes::StructureShape.new(name: 'DeleteAppResult')
69
+ DeleteBackendEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteBackendEnvironmentRequest')
70
+ DeleteBackendEnvironmentResult = Shapes::StructureShape.new(name: 'DeleteBackendEnvironmentResult')
65
71
  DeleteBranchRequest = Shapes::StructureShape.new(name: 'DeleteBranchRequest')
66
72
  DeleteBranchResult = Shapes::StructureShape.new(name: 'DeleteBranchResult')
67
73
  DeleteDomainAssociationRequest = Shapes::StructureShape.new(name: 'DeleteDomainAssociationRequest')
@@ -71,6 +77,7 @@ module Aws::Amplify
71
77
  DeleteWebhookRequest = Shapes::StructureShape.new(name: 'DeleteWebhookRequest')
72
78
  DeleteWebhookResult = Shapes::StructureShape.new(name: 'DeleteWebhookResult')
73
79
  DependentServiceFailureException = Shapes::StructureShape.new(name: 'DependentServiceFailureException')
80
+ DeploymentArtifacts = Shapes::StringShape.new(name: 'DeploymentArtifacts')
74
81
  Description = Shapes::StringShape.new(name: 'Description')
75
82
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
76
83
  DomainAssociation = Shapes::StructureShape.new(name: 'DomainAssociation')
@@ -89,6 +96,7 @@ module Aws::Amplify
89
96
  EndTime = Shapes::TimestampShape.new(name: 'EndTime')
90
97
  EnvKey = Shapes::StringShape.new(name: 'EnvKey')
91
98
  EnvValue = Shapes::StringShape.new(name: 'EnvValue')
99
+ EnvironmentName = Shapes::StringShape.new(name: 'EnvironmentName')
92
100
  EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
93
101
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
94
102
  FileMap = Shapes::MapShape.new(name: 'FileMap')
@@ -101,6 +109,8 @@ module Aws::Amplify
101
109
  GetAppResult = Shapes::StructureShape.new(name: 'GetAppResult')
102
110
  GetArtifactUrlRequest = Shapes::StructureShape.new(name: 'GetArtifactUrlRequest')
103
111
  GetArtifactUrlResult = Shapes::StructureShape.new(name: 'GetArtifactUrlResult')
112
+ GetBackendEnvironmentRequest = Shapes::StructureShape.new(name: 'GetBackendEnvironmentRequest')
113
+ GetBackendEnvironmentResult = Shapes::StructureShape.new(name: 'GetBackendEnvironmentResult')
104
114
  GetBranchRequest = Shapes::StructureShape.new(name: 'GetBranchRequest')
105
115
  GetBranchResult = Shapes::StructureShape.new(name: 'GetBranchResult')
106
116
  GetDomainAssociationRequest = Shapes::StructureShape.new(name: 'GetDomainAssociationRequest')
@@ -124,6 +134,8 @@ module Aws::Amplify
124
134
  ListAppsResult = Shapes::StructureShape.new(name: 'ListAppsResult')
125
135
  ListArtifactsRequest = Shapes::StructureShape.new(name: 'ListArtifactsRequest')
126
136
  ListArtifactsResult = Shapes::StructureShape.new(name: 'ListArtifactsResult')
137
+ ListBackendEnvironmentsRequest = Shapes::StructureShape.new(name: 'ListBackendEnvironmentsRequest')
138
+ ListBackendEnvironmentsResult = Shapes::StructureShape.new(name: 'ListBackendEnvironmentsResult')
127
139
  ListBranchesRequest = Shapes::StructureShape.new(name: 'ListBranchesRequest')
128
140
  ListBranchesResult = Shapes::StructureShape.new(name: 'ListBranchesResult')
129
141
  ListDomainAssociationsRequest = Shapes::StructureShape.new(name: 'ListDomainAssociationsRequest')
@@ -151,6 +163,7 @@ module Aws::Amplify
151
163
  ServiceRoleArn = Shapes::StringShape.new(name: 'ServiceRoleArn')
152
164
  Source = Shapes::StringShape.new(name: 'Source')
153
165
  SourceUrl = Shapes::StringShape.new(name: 'SourceUrl')
166
+ StackName = Shapes::StringShape.new(name: 'StackName')
154
167
  Stage = Shapes::StringShape.new(name: 'Stage')
155
168
  StartDeploymentRequest = Shapes::StructureShape.new(name: 'StartDeploymentRequest')
156
169
  StartDeploymentResult = Shapes::StructureShape.new(name: 'StartDeploymentResult')
@@ -247,6 +260,16 @@ module Aws::Amplify
247
260
 
248
261
  AutoBranchCreationPatterns.member = Shapes::ShapeRef.new(shape: AutoBranchCreationPattern)
249
262
 
263
+ BackendEnvironment.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, required: true, location_name: "backendEnvironmentArn"))
264
+ BackendEnvironment.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location_name: "environmentName"))
265
+ BackendEnvironment.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "stackName"))
266
+ BackendEnvironment.add_member(:deployment_artifacts, Shapes::ShapeRef.new(shape: DeploymentArtifacts, location_name: "deploymentArtifacts"))
267
+ BackendEnvironment.add_member(:create_time, Shapes::ShapeRef.new(shape: CreateTime, required: true, location_name: "createTime"))
268
+ BackendEnvironment.add_member(:update_time, Shapes::ShapeRef.new(shape: UpdateTime, required: true, location_name: "updateTime"))
269
+ BackendEnvironment.struct_class = Types::BackendEnvironment
270
+
271
+ BackendEnvironments.member = Shapes::ShapeRef.new(shape: BackendEnvironment)
272
+
250
273
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
251
274
  BadRequestException.struct_class = Types::BadRequestException
252
275
 
@@ -302,6 +325,15 @@ module Aws::Amplify
302
325
  CreateAppResult.add_member(:app, Shapes::ShapeRef.new(shape: App, required: true, location_name: "app"))
303
326
  CreateAppResult.struct_class = Types::CreateAppResult
304
327
 
328
+ CreateBackendEnvironmentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
329
+ CreateBackendEnvironmentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location_name: "environmentName"))
330
+ CreateBackendEnvironmentRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "stackName"))
331
+ CreateBackendEnvironmentRequest.add_member(:deployment_artifacts, Shapes::ShapeRef.new(shape: DeploymentArtifacts, location_name: "deploymentArtifacts"))
332
+ CreateBackendEnvironmentRequest.struct_class = Types::CreateBackendEnvironmentRequest
333
+
334
+ CreateBackendEnvironmentResult.add_member(:backend_environment, Shapes::ShapeRef.new(shape: BackendEnvironment, required: true, location_name: "backendEnvironment"))
335
+ CreateBackendEnvironmentResult.struct_class = Types::CreateBackendEnvironmentResult
336
+
305
337
  CreateBranchRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
306
338
  CreateBranchRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
307
339
  CreateBranchRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -367,6 +399,13 @@ module Aws::Amplify
367
399
  DeleteAppResult.add_member(:app, Shapes::ShapeRef.new(shape: App, required: true, location_name: "app"))
368
400
  DeleteAppResult.struct_class = Types::DeleteAppResult
369
401
 
402
+ DeleteBackendEnvironmentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
403
+ DeleteBackendEnvironmentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location: "uri", location_name: "environmentName"))
404
+ DeleteBackendEnvironmentRequest.struct_class = Types::DeleteBackendEnvironmentRequest
405
+
406
+ DeleteBackendEnvironmentResult.add_member(:backend_environment, Shapes::ShapeRef.new(shape: BackendEnvironment, required: true, location_name: "backendEnvironment"))
407
+ DeleteBackendEnvironmentResult.struct_class = Types::DeleteBackendEnvironmentResult
408
+
370
409
  DeleteBranchRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
371
410
  DeleteBranchRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
372
411
  DeleteBranchRequest.struct_class = Types::DeleteBranchRequest
@@ -440,6 +479,13 @@ module Aws::Amplify
440
479
  GetArtifactUrlResult.add_member(:artifact_url, Shapes::ShapeRef.new(shape: ArtifactUrl, required: true, location_name: "artifactUrl"))
441
480
  GetArtifactUrlResult.struct_class = Types::GetArtifactUrlResult
442
481
 
482
+ GetBackendEnvironmentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
483
+ GetBackendEnvironmentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location: "uri", location_name: "environmentName"))
484
+ GetBackendEnvironmentRequest.struct_class = Types::GetBackendEnvironmentRequest
485
+
486
+ GetBackendEnvironmentResult.add_member(:backend_environment, Shapes::ShapeRef.new(shape: BackendEnvironment, required: true, location_name: "backendEnvironment"))
487
+ GetBackendEnvironmentResult.struct_class = Types::GetBackendEnvironmentResult
488
+
443
489
  GetBranchRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
444
490
  GetBranchRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
445
491
  GetBranchRequest.struct_class = Types::GetBranchRequest
@@ -510,6 +556,16 @@ module Aws::Amplify
510
556
  ListArtifactsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
511
557
  ListArtifactsResult.struct_class = Types::ListArtifactsResult
512
558
 
559
+ ListBackendEnvironmentsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
560
+ ListBackendEnvironmentsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "environmentName"))
561
+ ListBackendEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
562
+ ListBackendEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
563
+ ListBackendEnvironmentsRequest.struct_class = Types::ListBackendEnvironmentsRequest
564
+
565
+ ListBackendEnvironmentsResult.add_member(:backend_environments, Shapes::ShapeRef.new(shape: BackendEnvironments, required: true, location_name: "backendEnvironments"))
566
+ ListBackendEnvironmentsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
567
+ ListBackendEnvironmentsResult.struct_class = Types::ListBackendEnvironmentsResult
568
+
513
569
  ListBranchesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
514
570
  ListBranchesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
515
571
  ListBranchesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -750,6 +806,19 @@ module Aws::Amplify
750
806
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
751
807
  end)
752
808
 
809
+ api.add_operation(:create_backend_environment, Seahorse::Model::Operation.new.tap do |o|
810
+ o.name = "CreateBackendEnvironment"
811
+ o.http_method = "POST"
812
+ o.http_request_uri = "/apps/{appId}/backendenvironments"
813
+ o.input = Shapes::ShapeRef.new(shape: CreateBackendEnvironmentRequest)
814
+ o.output = Shapes::ShapeRef.new(shape: CreateBackendEnvironmentResult)
815
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
816
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
817
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
818
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
819
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
820
+ end)
821
+
753
822
  api.add_operation(:create_branch, Seahorse::Model::Operation.new.tap do |o|
754
823
  o.name = "CreateBranch"
755
824
  o.http_method = "POST"
@@ -817,6 +886,19 @@ module Aws::Amplify
817
886
  o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
818
887
  end)
819
888
 
889
+ api.add_operation(:delete_backend_environment, Seahorse::Model::Operation.new.tap do |o|
890
+ o.name = "DeleteBackendEnvironment"
891
+ o.http_method = "DELETE"
892
+ o.http_request_uri = "/apps/{appId}/backendenvironments/{environmentName}"
893
+ o.input = Shapes::ShapeRef.new(shape: DeleteBackendEnvironmentRequest)
894
+ o.output = Shapes::ShapeRef.new(shape: DeleteBackendEnvironmentResult)
895
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
896
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
897
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
898
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
899
+ o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
900
+ end)
901
+
820
902
  api.add_operation(:delete_branch, Seahorse::Model::Operation.new.tap do |o|
821
903
  o.name = "DeleteBranch"
822
904
  o.http_method = "DELETE"
@@ -906,6 +988,18 @@ module Aws::Amplify
906
988
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
907
989
  end)
908
990
 
991
+ api.add_operation(:get_backend_environment, Seahorse::Model::Operation.new.tap do |o|
992
+ o.name = "GetBackendEnvironment"
993
+ o.http_method = "GET"
994
+ o.http_request_uri = "/apps/{appId}/backendenvironments/{environmentName}"
995
+ o.input = Shapes::ShapeRef.new(shape: GetBackendEnvironmentRequest)
996
+ o.output = Shapes::ShapeRef.new(shape: GetBackendEnvironmentResult)
997
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
998
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
999
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1000
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1001
+ end)
1002
+
909
1003
  api.add_operation(:get_branch, Seahorse::Model::Operation.new.tap do |o|
910
1004
  o.name = "GetBranch"
911
1005
  o.http_method = "GET"
@@ -979,6 +1073,17 @@ module Aws::Amplify
979
1073
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
980
1074
  end)
981
1075
 
1076
+ api.add_operation(:list_backend_environments, Seahorse::Model::Operation.new.tap do |o|
1077
+ o.name = "ListBackendEnvironments"
1078
+ o.http_method = "GET"
1079
+ o.http_request_uri = "/apps/{appId}/backendenvironments"
1080
+ o.input = Shapes::ShapeRef.new(shape: ListBackendEnvironmentsRequest)
1081
+ o.output = Shapes::ShapeRef.new(shape: ListBackendEnvironmentsResult)
1082
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1084
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1085
+ end)
1086
+
982
1087
  api.add_operation(:list_branches, Seahorse::Model::Operation.new.tap do |o|
983
1088
  o.name = "ListBranches"
984
1089
  o.http_method = "GET"
@@ -210,6 +210,46 @@ module Aws::Amplify
210
210
  include Aws::Structure
211
211
  end
212
212
 
213
+ # Backend environment for an Amplify App.
214
+ #
215
+ # @!attribute [rw] backend_environment_arn
216
+ # Arn for a backend environment, part of an Amplify App.
217
+ # @return [String]
218
+ #
219
+ # @!attribute [rw] environment_name
220
+ # Name for a backend environment, part of an Amplify App.
221
+ # @return [String]
222
+ #
223
+ # @!attribute [rw] stack_name
224
+ # CloudFormation stack name of backend environment.
225
+ # @return [String]
226
+ #
227
+ # @!attribute [rw] deployment_artifacts
228
+ # Name of deployment artifacts.
229
+ # @return [String]
230
+ #
231
+ # @!attribute [rw] create_time
232
+ # Creation date and time for a backend environment, part of an Amplify
233
+ # App.
234
+ # @return [Time]
235
+ #
236
+ # @!attribute [rw] update_time
237
+ # Last updated date and time for a backend environment, part of an
238
+ # Amplify App.
239
+ # @return [Time]
240
+ #
241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/BackendEnvironment AWS API Documentation
242
+ #
243
+ class BackendEnvironment < Struct.new(
244
+ :backend_environment_arn,
245
+ :environment_name,
246
+ :stack_name,
247
+ :deployment_artifacts,
248
+ :create_time,
249
+ :update_time)
250
+ include Aws::Structure
251
+ end
252
+
213
253
  # Exception thrown when a request contains unexpected data.
214
254
  #
215
255
  # @!attribute [rw] message
@@ -518,6 +558,57 @@ module Aws::Amplify
518
558
  include Aws::Structure
519
559
  end
520
560
 
561
+ # Request structure for a backend environment create request.
562
+ #
563
+ # @note When making an API call, you may pass CreateBackendEnvironmentRequest
564
+ # data as a hash:
565
+ #
566
+ # {
567
+ # app_id: "AppId", # required
568
+ # environment_name: "EnvironmentName", # required
569
+ # stack_name: "StackName",
570
+ # deployment_artifacts: "DeploymentArtifacts",
571
+ # }
572
+ #
573
+ # @!attribute [rw] app_id
574
+ # Unique Id for an Amplify App.
575
+ # @return [String]
576
+ #
577
+ # @!attribute [rw] environment_name
578
+ # Name for the backend environment.
579
+ # @return [String]
580
+ #
581
+ # @!attribute [rw] stack_name
582
+ # CloudFormation stack name of backend environment.
583
+ # @return [String]
584
+ #
585
+ # @!attribute [rw] deployment_artifacts
586
+ # Name of deployment artifacts.
587
+ # @return [String]
588
+ #
589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironmentRequest AWS API Documentation
590
+ #
591
+ class CreateBackendEnvironmentRequest < Struct.new(
592
+ :app_id,
593
+ :environment_name,
594
+ :stack_name,
595
+ :deployment_artifacts)
596
+ include Aws::Structure
597
+ end
598
+
599
+ # Result structure for create backend environment.
600
+ #
601
+ # @!attribute [rw] backend_environment
602
+ # Backend environment structure for an amplify App.
603
+ # @return [Types::BackendEnvironment]
604
+ #
605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironmentResult AWS API Documentation
606
+ #
607
+ class CreateBackendEnvironmentResult < Struct.new(
608
+ :backend_environment)
609
+ include Aws::Structure
610
+ end
611
+
521
612
  # Request structure for a branch create request.
522
613
  #
523
614
  # @note When making an API call, you may pass CreateBranchRequest
@@ -887,6 +978,45 @@ module Aws::Amplify
887
978
  include Aws::Structure
888
979
  end
889
980
 
981
+ # Request structure for delete backend environment request.
982
+ #
983
+ # @note When making an API call, you may pass DeleteBackendEnvironmentRequest
984
+ # data as a hash:
985
+ #
986
+ # {
987
+ # app_id: "AppId", # required
988
+ # environment_name: "EnvironmentName", # required
989
+ # }
990
+ #
991
+ # @!attribute [rw] app_id
992
+ # Unique Id of an Amplify App.
993
+ # @return [String]
994
+ #
995
+ # @!attribute [rw] environment_name
996
+ # Name of a backend environment of an Amplify App.
997
+ # @return [String]
998
+ #
999
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironmentRequest AWS API Documentation
1000
+ #
1001
+ class DeleteBackendEnvironmentRequest < Struct.new(
1002
+ :app_id,
1003
+ :environment_name)
1004
+ include Aws::Structure
1005
+ end
1006
+
1007
+ # Result structure of a delete backend environment result.
1008
+ #
1009
+ # @!attribute [rw] backend_environment
1010
+ # Backend environment structure for an Amplify App.
1011
+ # @return [Types::BackendEnvironment]
1012
+ #
1013
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironmentResult AWS API Documentation
1014
+ #
1015
+ class DeleteBackendEnvironmentResult < Struct.new(
1016
+ :backend_environment)
1017
+ include Aws::Structure
1018
+ end
1019
+
890
1020
  # Request structure for delete branch request.
891
1021
  #
892
1022
  # @note When making an API call, you may pass DeleteBranchRequest
@@ -1221,6 +1351,45 @@ module Aws::Amplify
1221
1351
  include Aws::Structure
1222
1352
  end
1223
1353
 
1354
+ # Request structure for get backend environment request.
1355
+ #
1356
+ # @note When making an API call, you may pass GetBackendEnvironmentRequest
1357
+ # data as a hash:
1358
+ #
1359
+ # {
1360
+ # app_id: "AppId", # required
1361
+ # environment_name: "EnvironmentName", # required
1362
+ # }
1363
+ #
1364
+ # @!attribute [rw] app_id
1365
+ # Unique Id for an Amplify App.
1366
+ # @return [String]
1367
+ #
1368
+ # @!attribute [rw] environment_name
1369
+ # Name for the backend environment.
1370
+ # @return [String]
1371
+ #
1372
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironmentRequest AWS API Documentation
1373
+ #
1374
+ class GetBackendEnvironmentRequest < Struct.new(
1375
+ :app_id,
1376
+ :environment_name)
1377
+ include Aws::Structure
1378
+ end
1379
+
1380
+ # Result structure for get backend environment result.
1381
+ #
1382
+ # @!attribute [rw] backend_environment
1383
+ # Backend environment structure for an an Amplify App.
1384
+ # @return [Types::BackendEnvironment]
1385
+ #
1386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironmentResult AWS API Documentation
1387
+ #
1388
+ class GetBackendEnvironmentResult < Struct.new(
1389
+ :backend_environment)
1390
+ include Aws::Structure
1391
+ end
1392
+
1224
1393
  # Request structure for get branch request.
1225
1394
  #
1226
1395
  # @note When making an API call, you may pass GetBranchRequest
@@ -1587,6 +1756,66 @@ module Aws::Amplify
1587
1756
  include Aws::Structure
1588
1757
  end
1589
1758
 
1759
+ # Request structure for list backend environments request.
1760
+ #
1761
+ # @note When making an API call, you may pass ListBackendEnvironmentsRequest
1762
+ # data as a hash:
1763
+ #
1764
+ # {
1765
+ # app_id: "AppId", # required
1766
+ # environment_name: "EnvironmentName",
1767
+ # next_token: "NextToken",
1768
+ # max_results: 1,
1769
+ # }
1770
+ #
1771
+ # @!attribute [rw] app_id
1772
+ # Unique Id for an amplify App.
1773
+ # @return [String]
1774
+ #
1775
+ # @!attribute [rw] environment_name
1776
+ # Name of the backend environment
1777
+ # @return [String]
1778
+ #
1779
+ # @!attribute [rw] next_token
1780
+ # Pagination token. Set to null to start listing backen environments
1781
+ # from start. If a non-null pagination token is returned in a result,
1782
+ # then pass its value in here to list more backend environments.
1783
+ # @return [String]
1784
+ #
1785
+ # @!attribute [rw] max_results
1786
+ # Maximum number of records to list in a single response.
1787
+ # @return [Integer]
1788
+ #
1789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironmentsRequest AWS API Documentation
1790
+ #
1791
+ class ListBackendEnvironmentsRequest < Struct.new(
1792
+ :app_id,
1793
+ :environment_name,
1794
+ :next_token,
1795
+ :max_results)
1796
+ include Aws::Structure
1797
+ end
1798
+
1799
+ # Result structure for list backend environments result.
1800
+ #
1801
+ # @!attribute [rw] backend_environments
1802
+ # List of backend environments for an Amplify App.
1803
+ # @return [Array<Types::BackendEnvironment>]
1804
+ #
1805
+ # @!attribute [rw] next_token
1806
+ # Pagination token. If non-null pagination token is returned in a
1807
+ # result, then pass its value in another request to fetch more
1808
+ # entries.
1809
+ # @return [String]
1810
+ #
1811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironmentsResult AWS API Documentation
1812
+ #
1813
+ class ListBackendEnvironmentsResult < Struct.new(
1814
+ :backend_environments,
1815
+ :next_token)
1816
+ include Aws::Structure
1817
+ end
1818
+
1590
1819
  # Request structure for list branches request.
1591
1820
  #
1592
1821
  # @note When making an API call, you may pass ListBranchesRequest
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-amplify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2019-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core