aws-sdk-amplify 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-amplify.rb +1 -1
- data/lib/aws-sdk-amplify/client.rb +39 -8
- data/lib/aws-sdk-amplify/client_api.rb +9 -2
- data/lib/aws-sdk-amplify/types.rb +53 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f88c6f743047e21adac86093dce6a3ea8c18a1ed
|
4
|
+
data.tar.gz: be527d89ca4255ea7791bee65e541449e1943d93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41d29ae4b639719d318fc03f14483ac1aed02966f42465019bc10eeebe452c6dd0f1440b93d2fc189723226c1da193eb81d79d8aa9237c3b5328a16e0e3327c0
|
7
|
+
data.tar.gz: 0ffb539e796579cffef3a6d489f9fa119deddf82f0b98e570d1860456658acc96a3dec6c09abe2cd2fc53ee98bd7f5e79cc734e83202e8c22ee1b66c506220f9
|
data/lib/aws-sdk-amplify.rb
CHANGED
@@ -357,6 +357,7 @@ module Aws::Amplify
|
|
357
357
|
# enable_basic_auth: false,
|
358
358
|
# build_spec: "BuildSpec",
|
359
359
|
# enable_pull_request_preview: false,
|
360
|
+
# pull_request_environment_name: "PullRequestEnvironmentName",
|
360
361
|
# },
|
361
362
|
# })
|
362
363
|
#
|
@@ -401,6 +402,7 @@ module Aws::Amplify
|
|
401
402
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
402
403
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
403
404
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
405
|
+
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
404
406
|
#
|
405
407
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp AWS API Documentation
|
406
408
|
#
|
@@ -458,6 +460,12 @@ module Aws::Amplify
|
|
458
460
|
# @option params [Boolean] :enable_pull_request_preview
|
459
461
|
# Enables Pull Request Preview for this branch.
|
460
462
|
#
|
463
|
+
# @option params [String] :pull_request_environment_name
|
464
|
+
# The Amplify Environment name for the pull request.
|
465
|
+
#
|
466
|
+
# @option params [String] :backend_environment_arn
|
467
|
+
# ARN for a Backend Environment, part of an Amplify App.
|
468
|
+
#
|
461
469
|
# @return [Types::CreateBranchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
462
470
|
#
|
463
471
|
# * {Types::CreateBranchResult#branch #branch} => Types::Branch
|
@@ -484,6 +492,8 @@ module Aws::Amplify
|
|
484
492
|
# ttl: "TTL",
|
485
493
|
# display_name: "DisplayName",
|
486
494
|
# enable_pull_request_preview: false,
|
495
|
+
# pull_request_environment_name: "PullRequestEnvironmentName",
|
496
|
+
# backend_environment_arn: "BackendEnvironmentArn",
|
487
497
|
# })
|
488
498
|
#
|
489
499
|
# @example Response structure
|
@@ -514,8 +524,10 @@ module Aws::Amplify
|
|
514
524
|
# resp.branch.associated_resources #=> Array
|
515
525
|
# resp.branch.associated_resources[0] #=> String
|
516
526
|
# resp.branch.enable_pull_request_preview #=> Boolean
|
527
|
+
# resp.branch.pull_request_environment_name #=> String
|
517
528
|
# resp.branch.destination_branch #=> String
|
518
529
|
# resp.branch.source_branch #=> String
|
530
|
+
# resp.branch.backend_environment_arn #=> String
|
519
531
|
#
|
520
532
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch AWS API Documentation
|
521
533
|
#
|
@@ -582,7 +594,8 @@ module Aws::Amplify
|
|
582
594
|
# Domain name for the Domain Association.
|
583
595
|
#
|
584
596
|
# @option params [Boolean] :enable_auto_sub_domain
|
585
|
-
# Enables automated creation of Subdomains for branches.
|
597
|
+
# Enables automated creation of Subdomains for branches. (Currently not
|
598
|
+
# supported)
|
586
599
|
#
|
587
600
|
# @option params [required, Array<Types::SubDomainSetting>] :sub_domain_settings
|
588
601
|
# Setting structure for the Subdomain.
|
@@ -726,6 +739,7 @@ module Aws::Amplify
|
|
726
739
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
727
740
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
728
741
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
742
|
+
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
729
743
|
#
|
730
744
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp AWS API Documentation
|
731
745
|
#
|
@@ -783,8 +797,10 @@ module Aws::Amplify
|
|
783
797
|
# resp.branch.associated_resources #=> Array
|
784
798
|
# resp.branch.associated_resources[0] #=> String
|
785
799
|
# resp.branch.enable_pull_request_preview #=> Boolean
|
800
|
+
# resp.branch.pull_request_environment_name #=> String
|
786
801
|
# resp.branch.destination_branch #=> String
|
787
802
|
# resp.branch.source_branch #=> String
|
803
|
+
# resp.branch.backend_environment_arn #=> String
|
788
804
|
#
|
789
805
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch AWS API Documentation
|
790
806
|
#
|
@@ -916,7 +932,7 @@ module Aws::Amplify
|
|
916
932
|
end
|
917
933
|
|
918
934
|
# Retrieve website access logs for a specific time range via a
|
919
|
-
# pre-signed URL.
|
935
|
+
# pre-signed URL.
|
920
936
|
#
|
921
937
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
922
938
|
# The time at which the logs should start, inclusive.
|
@@ -1012,6 +1028,7 @@ module Aws::Amplify
|
|
1012
1028
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
1013
1029
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
1014
1030
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
1031
|
+
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
1015
1032
|
#
|
1016
1033
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp AWS API Documentation
|
1017
1034
|
#
|
@@ -1099,8 +1116,10 @@ module Aws::Amplify
|
|
1099
1116
|
# resp.branch.associated_resources #=> Array
|
1100
1117
|
# resp.branch.associated_resources[0] #=> String
|
1101
1118
|
# resp.branch.enable_pull_request_preview #=> Boolean
|
1119
|
+
# resp.branch.pull_request_environment_name #=> String
|
1102
1120
|
# resp.branch.destination_branch #=> String
|
1103
1121
|
# resp.branch.source_branch #=> String
|
1122
|
+
# resp.branch.backend_environment_arn #=> String
|
1104
1123
|
#
|
1105
1124
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch AWS API Documentation
|
1106
1125
|
#
|
@@ -1307,6 +1326,7 @@ module Aws::Amplify
|
|
1307
1326
|
# resp.apps[0].auto_branch_creation_config.enable_basic_auth #=> Boolean
|
1308
1327
|
# resp.apps[0].auto_branch_creation_config.build_spec #=> String
|
1309
1328
|
# resp.apps[0].auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
1329
|
+
# resp.apps[0].auto_branch_creation_config.pull_request_environment_name #=> String
|
1310
1330
|
# resp.next_token #=> String
|
1311
1331
|
#
|
1312
1332
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps AWS API Documentation
|
@@ -1329,9 +1349,6 @@ module Aws::Amplify
|
|
1329
1349
|
# @option params [required, String] :job_id
|
1330
1350
|
# Unique Id for an Job.
|
1331
1351
|
#
|
1332
|
-
# @option params [String] :artifact_type
|
1333
|
-
# Type for an artifact.
|
1334
|
-
#
|
1335
1352
|
# @option params [String] :next_token
|
1336
1353
|
# Pagination token. Set to null to start listing artifacts from start.
|
1337
1354
|
# If non-null pagination token is returned in a result, then pass its
|
@@ -1351,7 +1368,6 @@ module Aws::Amplify
|
|
1351
1368
|
# app_id: "AppId", # required
|
1352
1369
|
# branch_name: "BranchName", # required
|
1353
1370
|
# job_id: "JobId", # required
|
1354
|
-
# artifact_type: "TEST", # accepts TEST
|
1355
1371
|
# next_token: "NextToken",
|
1356
1372
|
# max_results: 1,
|
1357
1373
|
# })
|
@@ -1427,8 +1443,10 @@ module Aws::Amplify
|
|
1427
1443
|
# resp.branches[0].associated_resources #=> Array
|
1428
1444
|
# resp.branches[0].associated_resources[0] #=> String
|
1429
1445
|
# resp.branches[0].enable_pull_request_preview #=> Boolean
|
1446
|
+
# resp.branches[0].pull_request_environment_name #=> String
|
1430
1447
|
# resp.branches[0].destination_branch #=> String
|
1431
1448
|
# resp.branches[0].source_branch #=> String
|
1449
|
+
# resp.branches[0].backend_environment_arn #=> String
|
1432
1450
|
# resp.next_token #=> String
|
1433
1451
|
#
|
1434
1452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches AWS API Documentation
|
@@ -1935,6 +1953,7 @@ module Aws::Amplify
|
|
1935
1953
|
# enable_basic_auth: false,
|
1936
1954
|
# build_spec: "BuildSpec",
|
1937
1955
|
# enable_pull_request_preview: false,
|
1956
|
+
# pull_request_environment_name: "PullRequestEnvironmentName",
|
1938
1957
|
# },
|
1939
1958
|
# repository: "Repository",
|
1940
1959
|
# oauth_token: "OauthToken",
|
@@ -1982,6 +2001,7 @@ module Aws::Amplify
|
|
1982
2001
|
# resp.app.auto_branch_creation_config.enable_basic_auth #=> Boolean
|
1983
2002
|
# resp.app.auto_branch_creation_config.build_spec #=> String
|
1984
2003
|
# resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
|
2004
|
+
# resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
|
1985
2005
|
#
|
1986
2006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp AWS API Documentation
|
1987
2007
|
#
|
@@ -2036,6 +2056,12 @@ module Aws::Amplify
|
|
2036
2056
|
# @option params [Boolean] :enable_pull_request_preview
|
2037
2057
|
# Enables Pull Request Preview for this branch.
|
2038
2058
|
#
|
2059
|
+
# @option params [String] :pull_request_environment_name
|
2060
|
+
# The Amplify Environment name for the pull request.
|
2061
|
+
#
|
2062
|
+
# @option params [String] :backend_environment_arn
|
2063
|
+
# ARN for a Backend Environment, part of an Amplify App.
|
2064
|
+
#
|
2039
2065
|
# @return [Types::UpdateBranchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2040
2066
|
#
|
2041
2067
|
# * {Types::UpdateBranchResult#branch #branch} => Types::Branch
|
@@ -2059,6 +2085,8 @@ module Aws::Amplify
|
|
2059
2085
|
# ttl: "TTL",
|
2060
2086
|
# display_name: "DisplayName",
|
2061
2087
|
# enable_pull_request_preview: false,
|
2088
|
+
# pull_request_environment_name: "PullRequestEnvironmentName",
|
2089
|
+
# backend_environment_arn: "BackendEnvironmentArn",
|
2062
2090
|
# })
|
2063
2091
|
#
|
2064
2092
|
# @example Response structure
|
@@ -2089,8 +2117,10 @@ module Aws::Amplify
|
|
2089
2117
|
# resp.branch.associated_resources #=> Array
|
2090
2118
|
# resp.branch.associated_resources[0] #=> String
|
2091
2119
|
# resp.branch.enable_pull_request_preview #=> Boolean
|
2120
|
+
# resp.branch.pull_request_environment_name #=> String
|
2092
2121
|
# resp.branch.destination_branch #=> String
|
2093
2122
|
# resp.branch.source_branch #=> String
|
2123
|
+
# resp.branch.backend_environment_arn #=> String
|
2094
2124
|
#
|
2095
2125
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch AWS API Documentation
|
2096
2126
|
#
|
@@ -2110,7 +2140,8 @@ module Aws::Amplify
|
|
2110
2140
|
# Name of the domain.
|
2111
2141
|
#
|
2112
2142
|
# @option params [Boolean] :enable_auto_sub_domain
|
2113
|
-
# Enables automated creation of Subdomains for branches.
|
2143
|
+
# Enables automated creation of Subdomains for branches. (Currently not
|
2144
|
+
# supported)
|
2114
2145
|
#
|
2115
2146
|
# @option params [required, Array<Types::SubDomainSetting>] :sub_domain_settings
|
2116
2147
|
# Setting structure for the Subdomain.
|
@@ -2211,7 +2242,7 @@ module Aws::Amplify
|
|
2211
2242
|
params: params,
|
2212
2243
|
config: config)
|
2213
2244
|
context[:gem_name] = 'aws-sdk-amplify'
|
2214
|
-
context[:gem_version] = '1.
|
2245
|
+
context[:gem_version] = '1.13.0'
|
2215
2246
|
Seahorse::Client::Request.new(handlers, context)
|
2216
2247
|
end
|
2217
2248
|
|
@@ -20,7 +20,6 @@ module Aws::Amplify
|
|
20
20
|
Artifact = Shapes::StructureShape.new(name: 'Artifact')
|
21
21
|
ArtifactFileName = Shapes::StringShape.new(name: 'ArtifactFileName')
|
22
22
|
ArtifactId = Shapes::StringShape.new(name: 'ArtifactId')
|
23
|
-
ArtifactType = Shapes::StringShape.new(name: 'ArtifactType')
|
24
23
|
ArtifactUrl = Shapes::StringShape.new(name: 'ArtifactUrl')
|
25
24
|
Artifacts = Shapes::ListShape.new(name: 'Artifacts')
|
26
25
|
ArtifactsUrl = Shapes::StringShape.new(name: 'ArtifactsUrl')
|
@@ -29,6 +28,7 @@ module Aws::Amplify
|
|
29
28
|
AutoBranchCreationConfig = Shapes::StructureShape.new(name: 'AutoBranchCreationConfig')
|
30
29
|
AutoBranchCreationPattern = Shapes::StringShape.new(name: 'AutoBranchCreationPattern')
|
31
30
|
AutoBranchCreationPatterns = Shapes::ListShape.new(name: 'AutoBranchCreationPatterns')
|
31
|
+
BackendEnvironmentArn = Shapes::StringShape.new(name: 'BackendEnvironmentArn')
|
32
32
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
33
33
|
BasicAuthCredentials = Shapes::StringShape.new(name: 'BasicAuthCredentials')
|
34
34
|
Branch = Shapes::StructureShape.new(name: 'Branch')
|
@@ -143,6 +143,7 @@ module Aws::Amplify
|
|
143
143
|
OauthToken = Shapes::StringShape.new(name: 'OauthToken')
|
144
144
|
Platform = Shapes::StringShape.new(name: 'Platform')
|
145
145
|
ProductionBranch = Shapes::StructureShape.new(name: 'ProductionBranch')
|
146
|
+
PullRequestEnvironmentName = Shapes::StringShape.new(name: 'PullRequestEnvironmentName')
|
146
147
|
Repository = Shapes::StringShape.new(name: 'Repository')
|
147
148
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
148
149
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -241,6 +242,7 @@ module Aws::Amplify
|
|
241
242
|
AutoBranchCreationConfig.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
242
243
|
AutoBranchCreationConfig.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
243
244
|
AutoBranchCreationConfig.add_member(:enable_pull_request_preview, Shapes::ShapeRef.new(shape: EnablePullRequestPreview, location_name: "enablePullRequestPreview"))
|
245
|
+
AutoBranchCreationConfig.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
|
244
246
|
AutoBranchCreationConfig.struct_class = Types::AutoBranchCreationConfig
|
245
247
|
|
246
248
|
AutoBranchCreationPatterns.member = Shapes::ShapeRef.new(shape: AutoBranchCreationPattern)
|
@@ -270,8 +272,10 @@ module Aws::Amplify
|
|
270
272
|
Branch.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, required: true, location_name: "ttl"))
|
271
273
|
Branch.add_member(:associated_resources, Shapes::ShapeRef.new(shape: AssociatedResources, location_name: "associatedResources"))
|
272
274
|
Branch.add_member(:enable_pull_request_preview, Shapes::ShapeRef.new(shape: EnablePullRequestPreview, required: true, location_name: "enablePullRequestPreview"))
|
275
|
+
Branch.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
|
273
276
|
Branch.add_member(:destination_branch, Shapes::ShapeRef.new(shape: BranchName, location_name: "destinationBranch"))
|
274
277
|
Branch.add_member(:source_branch, Shapes::ShapeRef.new(shape: BranchName, location_name: "sourceBranch"))
|
278
|
+
Branch.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, location_name: "backendEnvironmentArn"))
|
275
279
|
Branch.struct_class = Types::Branch
|
276
280
|
|
277
281
|
Branches.member = Shapes::ShapeRef.new(shape: Branch)
|
@@ -313,6 +317,8 @@ module Aws::Amplify
|
|
313
317
|
CreateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
|
314
318
|
CreateBranchRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
|
315
319
|
CreateBranchRequest.add_member(:enable_pull_request_preview, Shapes::ShapeRef.new(shape: EnablePullRequestPreview, location_name: "enablePullRequestPreview"))
|
320
|
+
CreateBranchRequest.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
|
321
|
+
CreateBranchRequest.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, location_name: "backendEnvironmentArn"))
|
316
322
|
CreateBranchRequest.struct_class = Types::CreateBranchRequest
|
317
323
|
|
318
324
|
CreateBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
|
@@ -496,7 +502,6 @@ module Aws::Amplify
|
|
496
502
|
ListArtifactsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
497
503
|
ListArtifactsRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
|
498
504
|
ListArtifactsRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
499
|
-
ListArtifactsRequest.add_member(:artifact_type, Shapes::ShapeRef.new(shape: ArtifactType, location_name: "artifactType"))
|
500
505
|
ListArtifactsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
501
506
|
ListArtifactsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
502
507
|
ListArtifactsRequest.struct_class = Types::ListArtifactsRequest
|
@@ -678,6 +683,8 @@ module Aws::Amplify
|
|
678
683
|
UpdateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
|
679
684
|
UpdateBranchRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
|
680
685
|
UpdateBranchRequest.add_member(:enable_pull_request_preview, Shapes::ShapeRef.new(shape: EnablePullRequestPreview, location_name: "enablePullRequestPreview"))
|
686
|
+
UpdateBranchRequest.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
|
687
|
+
UpdateBranchRequest.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, location_name: "backendEnvironmentArn"))
|
681
688
|
UpdateBranchRequest.struct_class = Types::UpdateBranchRequest
|
682
689
|
|
683
690
|
UpdateBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
|
@@ -156,6 +156,7 @@ module Aws::Amplify
|
|
156
156
|
# enable_basic_auth: false,
|
157
157
|
# build_spec: "BuildSpec",
|
158
158
|
# enable_pull_request_preview: false,
|
159
|
+
# pull_request_environment_name: "PullRequestEnvironmentName",
|
159
160
|
# }
|
160
161
|
#
|
161
162
|
# @!attribute [rw] stage
|
@@ -190,6 +191,10 @@ module Aws::Amplify
|
|
190
191
|
# Enables Pull Request Preview for auto created branch.
|
191
192
|
# @return [Boolean]
|
192
193
|
#
|
194
|
+
# @!attribute [rw] pull_request_environment_name
|
195
|
+
# The Amplify Environment name for the pull request.
|
196
|
+
# @return [String]
|
197
|
+
#
|
193
198
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/AutoBranchCreationConfig AWS API Documentation
|
194
199
|
#
|
195
200
|
class AutoBranchCreationConfig < Struct.new(
|
@@ -200,7 +205,8 @@ module Aws::Amplify
|
|
200
205
|
:basic_auth_credentials,
|
201
206
|
:enable_basic_auth,
|
202
207
|
:build_spec,
|
203
|
-
:enable_pull_request_preview
|
208
|
+
:enable_pull_request_preview,
|
209
|
+
:pull_request_environment_name)
|
204
210
|
include Aws::Structure
|
205
211
|
end
|
206
212
|
|
@@ -308,6 +314,10 @@ module Aws::Amplify
|
|
308
314
|
# Enables Pull Request Preview for this branch.
|
309
315
|
# @return [Boolean]
|
310
316
|
#
|
317
|
+
# @!attribute [rw] pull_request_environment_name
|
318
|
+
# The Amplify Environment name for the pull request.
|
319
|
+
# @return [String]
|
320
|
+
#
|
311
321
|
# @!attribute [rw] destination_branch
|
312
322
|
# The destination branch if the branch is a pull request branch.
|
313
323
|
# @return [String]
|
@@ -316,6 +326,10 @@ module Aws::Amplify
|
|
316
326
|
# The source branch if the branch is a pull request branch.
|
317
327
|
# @return [String]
|
318
328
|
#
|
329
|
+
# @!attribute [rw] backend_environment_arn
|
330
|
+
# ARN for a Backend Environment, part of an Amplify App.
|
331
|
+
# @return [String]
|
332
|
+
#
|
319
333
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Branch AWS API Documentation
|
320
334
|
#
|
321
335
|
class Branch < Struct.new(
|
@@ -341,8 +355,10 @@ module Aws::Amplify
|
|
341
355
|
:ttl,
|
342
356
|
:associated_resources,
|
343
357
|
:enable_pull_request_preview,
|
358
|
+
:pull_request_environment_name,
|
344
359
|
:destination_branch,
|
345
|
-
:source_branch
|
360
|
+
:source_branch,
|
361
|
+
:backend_environment_arn)
|
346
362
|
include Aws::Structure
|
347
363
|
end
|
348
364
|
|
@@ -390,6 +406,7 @@ module Aws::Amplify
|
|
390
406
|
# enable_basic_auth: false,
|
391
407
|
# build_spec: "BuildSpec",
|
392
408
|
# enable_pull_request_preview: false,
|
409
|
+
# pull_request_environment_name: "PullRequestEnvironmentName",
|
393
410
|
# },
|
394
411
|
# }
|
395
412
|
#
|
@@ -526,6 +543,8 @@ module Aws::Amplify
|
|
526
543
|
# ttl: "TTL",
|
527
544
|
# display_name: "DisplayName",
|
528
545
|
# enable_pull_request_preview: false,
|
546
|
+
# pull_request_environment_name: "PullRequestEnvironmentName",
|
547
|
+
# backend_environment_arn: "BackendEnvironmentArn",
|
529
548
|
# }
|
530
549
|
#
|
531
550
|
# @!attribute [rw] app_id
|
@@ -588,6 +607,14 @@ module Aws::Amplify
|
|
588
607
|
# Enables Pull Request Preview for this branch.
|
589
608
|
# @return [Boolean]
|
590
609
|
#
|
610
|
+
# @!attribute [rw] pull_request_environment_name
|
611
|
+
# The Amplify Environment name for the pull request.
|
612
|
+
# @return [String]
|
613
|
+
#
|
614
|
+
# @!attribute [rw] backend_environment_arn
|
615
|
+
# ARN for a Backend Environment, part of an Amplify App.
|
616
|
+
# @return [String]
|
617
|
+
#
|
591
618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranchRequest AWS API Documentation
|
592
619
|
#
|
593
620
|
class CreateBranchRequest < Struct.new(
|
@@ -605,7 +632,9 @@ module Aws::Amplify
|
|
605
632
|
:build_spec,
|
606
633
|
:ttl,
|
607
634
|
:display_name,
|
608
|
-
:enable_pull_request_preview
|
635
|
+
:enable_pull_request_preview,
|
636
|
+
:pull_request_environment_name,
|
637
|
+
:backend_environment_arn)
|
609
638
|
include Aws::Structure
|
610
639
|
end
|
611
640
|
|
@@ -710,7 +739,8 @@ module Aws::Amplify
|
|
710
739
|
# @return [String]
|
711
740
|
#
|
712
741
|
# @!attribute [rw] enable_auto_sub_domain
|
713
|
-
# Enables automated creation of Subdomains for branches.
|
742
|
+
# Enables automated creation of Subdomains for branches. (Currently
|
743
|
+
# not supported)
|
714
744
|
# @return [Boolean]
|
715
745
|
#
|
716
746
|
# @!attribute [rw] sub_domain_settings
|
@@ -1037,7 +1067,8 @@ module Aws::Amplify
|
|
1037
1067
|
# @return [String]
|
1038
1068
|
#
|
1039
1069
|
# @!attribute [rw] enable_auto_sub_domain
|
1040
|
-
# Enables automated creation of Subdomains for branches.
|
1070
|
+
# Enables automated creation of Subdomains for branches. (Currently
|
1071
|
+
# not supported)
|
1041
1072
|
# @return [Boolean]
|
1042
1073
|
#
|
1043
1074
|
# @!attribute [rw] domain_status
|
@@ -1190,7 +1221,7 @@ module Aws::Amplify
|
|
1190
1221
|
include Aws::Structure
|
1191
1222
|
end
|
1192
1223
|
|
1193
|
-
#
|
1224
|
+
# Request structure for get branch request.
|
1194
1225
|
#
|
1195
1226
|
# @note When making an API call, you may pass GetBranchRequest
|
1196
1227
|
# data as a hash:
|
@@ -1499,7 +1530,6 @@ module Aws::Amplify
|
|
1499
1530
|
# app_id: "AppId", # required
|
1500
1531
|
# branch_name: "BranchName", # required
|
1501
1532
|
# job_id: "JobId", # required
|
1502
|
-
# artifact_type: "TEST", # accepts TEST
|
1503
1533
|
# next_token: "NextToken",
|
1504
1534
|
# max_results: 1,
|
1505
1535
|
# }
|
@@ -1516,10 +1546,6 @@ module Aws::Amplify
|
|
1516
1546
|
# Unique Id for an Job.
|
1517
1547
|
# @return [String]
|
1518
1548
|
#
|
1519
|
-
# @!attribute [rw] artifact_type
|
1520
|
-
# Type for an artifact.
|
1521
|
-
# @return [String]
|
1522
|
-
#
|
1523
1549
|
# @!attribute [rw] next_token
|
1524
1550
|
# Pagination token. Set to null to start listing artifacts from start.
|
1525
1551
|
# If non-null pagination token is returned in a result, then pass its
|
@@ -1536,7 +1562,6 @@ module Aws::Amplify
|
|
1536
1562
|
:app_id,
|
1537
1563
|
:branch_name,
|
1538
1564
|
:job_id,
|
1539
|
-
:artifact_type,
|
1540
1565
|
:next_token,
|
1541
1566
|
:max_results)
|
1542
1567
|
include Aws::Structure
|
@@ -2282,6 +2307,7 @@ module Aws::Amplify
|
|
2282
2307
|
# enable_basic_auth: false,
|
2283
2308
|
# build_spec: "BuildSpec",
|
2284
2309
|
# enable_pull_request_preview: false,
|
2310
|
+
# pull_request_environment_name: "PullRequestEnvironmentName",
|
2285
2311
|
# },
|
2286
2312
|
# repository: "Repository",
|
2287
2313
|
# oauth_token: "OauthToken",
|
@@ -2418,6 +2444,8 @@ module Aws::Amplify
|
|
2418
2444
|
# ttl: "TTL",
|
2419
2445
|
# display_name: "DisplayName",
|
2420
2446
|
# enable_pull_request_preview: false,
|
2447
|
+
# pull_request_environment_name: "PullRequestEnvironmentName",
|
2448
|
+
# backend_environment_arn: "BackendEnvironmentArn",
|
2421
2449
|
# }
|
2422
2450
|
#
|
2423
2451
|
# @!attribute [rw] app_id
|
@@ -2476,6 +2504,14 @@ module Aws::Amplify
|
|
2476
2504
|
# Enables Pull Request Preview for this branch.
|
2477
2505
|
# @return [Boolean]
|
2478
2506
|
#
|
2507
|
+
# @!attribute [rw] pull_request_environment_name
|
2508
|
+
# The Amplify Environment name for the pull request.
|
2509
|
+
# @return [String]
|
2510
|
+
#
|
2511
|
+
# @!attribute [rw] backend_environment_arn
|
2512
|
+
# ARN for a Backend Environment, part of an Amplify App.
|
2513
|
+
# @return [String]
|
2514
|
+
#
|
2479
2515
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranchRequest AWS API Documentation
|
2480
2516
|
#
|
2481
2517
|
class UpdateBranchRequest < Struct.new(
|
@@ -2492,7 +2528,9 @@ module Aws::Amplify
|
|
2492
2528
|
:build_spec,
|
2493
2529
|
:ttl,
|
2494
2530
|
:display_name,
|
2495
|
-
:enable_pull_request_preview
|
2531
|
+
:enable_pull_request_preview,
|
2532
|
+
:pull_request_environment_name,
|
2533
|
+
:backend_environment_arn)
|
2496
2534
|
include Aws::Structure
|
2497
2535
|
end
|
2498
2536
|
|
@@ -2535,7 +2573,8 @@ module Aws::Amplify
|
|
2535
2573
|
# @return [String]
|
2536
2574
|
#
|
2537
2575
|
# @!attribute [rw] enable_auto_sub_domain
|
2538
|
-
# Enables automated creation of Subdomains for branches.
|
2576
|
+
# Enables automated creation of Subdomains for branches. (Currently
|
2577
|
+
# not supported)
|
2539
2578
|
# @return [Boolean]
|
2540
2579
|
#
|
2541
2580
|
# @!attribute [rw] sub_domain_settings
|
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.
|
4
|
+
version: 1.13.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-
|
11
|
+
date: 2019-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|