aws-sdk-amplify 1.51.0 → 1.52.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b94ca7e3db98d7922feb82f9bf0b65a6b4e8deb015cff2d9246c511cf1d20863
4
- data.tar.gz: d7a359f8ab4e7f1e23e283e75d3356980dfebac9a5bd76ffa794a4ffc1e1a6fb
3
+ metadata.gz: 669f8ca228334b9139f6bcf6545f2e6f87f9f5ea4ca15b37eabc99b187e27b96
4
+ data.tar.gz: a8f6de79c38b4582473730e358d1f2d6979376d5782336be441eb9cf3e5f46da
5
5
  SHA512:
6
- metadata.gz: 415f1aae5da721aa2732059f7f0f11284d3cb62a798d2916c73c7133f82d7e996f234d769604939266ee21cf07dca2eaadd7b2d89faebbd57550a17d62c8c846
7
- data.tar.gz: e2c4212f97ac26ea5a03f2ea2c5d1e7648c9d5a904817c985211d88b2dae5385eab5fc74cf81c652c2561b475df5a54b640c25211f287d1cc1f7b34f52fe681b
6
+ metadata.gz: f93ee6b6d087d411c5fbcc4f7b1ff6e62ac7d9cb5bf144fe075d52c2a8956454611da46334165b5b0b5a5fde6d8acea7f40fc581309ca58a3c45f7e711aa9341
7
+ data.tar.gz: 6f16c5cbe4987343a9a5d81ec1a1d3660195ffad62f6fe5a819a64a35d4b11816da2ea5246a25bd67c2fff3a5d3fa929458d9834de47d3debd1cd235322097ee
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2023-10-31)
5
+ ------------------
6
+
7
+ * Feature - Add backend field to CreateBranch and UpdateBranch requests. Add pagination support for ListApps, ListDomainAssociations, ListBranches, and ListJobs
8
+
4
9
  1.51.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.52.0
@@ -391,13 +391,13 @@ module Aws::Amplify
391
391
  # Creates a new Amplify app.
392
392
  #
393
393
  # @option params [required, String] :name
394
- # The name for an Amplify app.
394
+ # The name of the Amplify app.
395
395
  #
396
396
  # @option params [String] :description
397
- # The description for an Amplify app.
397
+ # The description of the Amplify app.
398
398
  #
399
399
  # @option params [String] :repository
400
- # The repository for an Amplify app.
400
+ # The Git repository for the Amplify app.
401
401
  #
402
402
  # @option params [String] :platform
403
403
  # The platform for the Amplify app. For a static app, set the platform
@@ -430,7 +430,7 @@ module Aws::Amplify
430
430
  #
431
431
  #
432
432
  #
433
- # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
433
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth
434
434
  #
435
435
  # @option params [String] :access_token
436
436
  # The personal access token for a GitHub repository for an Amplify app.
@@ -452,16 +452,24 @@ module Aws::Amplify
452
452
  #
453
453
  #
454
454
  #
455
- # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
455
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth
456
456
  #
457
457
  # @option params [Hash<String,String>] :environment_variables
458
458
  # The environment variables map for an Amplify app.
459
459
  #
460
+ # For a list of the environment variables that are accessible to Amplify
461
+ # by default, see [Amplify Environment variables][1] in the *Amplify
462
+ # Hosting User Guide*.
463
+ #
464
+ #
465
+ #
466
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/amplify-console-environment-variables.html
467
+ #
460
468
  # @option params [Boolean] :enable_branch_auto_build
461
469
  # Enables the auto building of branches for an Amplify app.
462
470
  #
463
471
  # @option params [Boolean] :enable_branch_auto_deletion
464
- # Automatically disconnects a branch in the Amplify Console when you
472
+ # Automatically disconnects a branch in the Amplify console when you
465
473
  # delete a branch from your Git repository.
466
474
  #
467
475
  # @option params [Boolean] :enable_basic_auth
@@ -712,6 +720,10 @@ module Aws::Amplify
712
720
  # The Amazon Resource Name (ARN) for a backend environment that is part
713
721
  # of an Amplify app.
714
722
  #
723
+ # @option params [Types::Backend] :backend
724
+ # The backend for a `Branch` of an Amplify app. Use for a backend
725
+ # created from an CloudFormation stack.
726
+ #
715
727
  # @return [Types::CreateBranchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
716
728
  #
717
729
  # * {Types::CreateBranchResult#branch #branch} => Types::Branch
@@ -741,6 +753,9 @@ module Aws::Amplify
741
753
  # enable_pull_request_preview: false,
742
754
  # pull_request_environment_name: "PullRequestEnvironmentName",
743
755
  # backend_environment_arn: "BackendEnvironmentArn",
756
+ # backend: {
757
+ # stack_arn: "StackArn",
758
+ # },
744
759
  # })
745
760
  #
746
761
  # @example Response structure
@@ -776,6 +791,7 @@ module Aws::Amplify
776
791
  # resp.branch.destination_branch #=> String
777
792
  # resp.branch.source_branch #=> String
778
793
  # resp.branch.backend_environment_arn #=> String
794
+ # resp.branch.backend.stack_arn #=> String
779
795
  #
780
796
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch AWS API Documentation
781
797
  #
@@ -789,11 +805,16 @@ module Aws::Amplify
789
805
  # Creates a deployment for a manually deployed Amplify app. Manually
790
806
  # deployed apps are not connected to a repository.
791
807
  #
808
+ # The maximum duration between the `CreateDeployment` call and the
809
+ # `StartDeployment` call cannot exceed 8 hours. If the duration exceeds
810
+ # 8 hours, the `StartDeployment` call and the associated `Job` will
811
+ # fail.
812
+ #
792
813
  # @option params [required, String] :app_id
793
814
  # The unique ID for an Amplify app.
794
815
  #
795
816
  # @option params [required, String] :branch_name
796
- # The name for the branch, for the job.
817
+ # The name of the branch to use for the job.
797
818
  #
798
819
  # @option params [Hash<String,String>] :file_map
799
820
  # An optional file map that contains the file name as the key and the
@@ -1057,7 +1078,7 @@ module Aws::Amplify
1057
1078
  # The unique ID for an Amplify app.
1058
1079
  #
1059
1080
  # @option params [required, String] :branch_name
1060
- # The name for the branch.
1081
+ # The name of the branch.
1061
1082
  #
1062
1083
  # @return [Types::DeleteBranchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1063
1084
  #
@@ -1103,6 +1124,7 @@ module Aws::Amplify
1103
1124
  # resp.branch.destination_branch #=> String
1104
1125
  # resp.branch.source_branch #=> String
1105
1126
  # resp.branch.backend_environment_arn #=> String
1127
+ # resp.branch.backend.stack_arn #=> String
1106
1128
  #
1107
1129
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch AWS API Documentation
1108
1130
  #
@@ -1164,7 +1186,7 @@ module Aws::Amplify
1164
1186
  # The unique ID for an Amplify app.
1165
1187
  #
1166
1188
  # @option params [required, String] :branch_name
1167
- # The name for the branch, for the job.
1189
+ # The name of the branch to use for the job.
1168
1190
  #
1169
1191
  # @option params [required, String] :job_id
1170
1192
  # The unique ID for the job.
@@ -1279,7 +1301,7 @@ module Aws::Amplify
1279
1301
  req.send_request(options)
1280
1302
  end
1281
1303
 
1282
- # Returns an existing Amplify app by appID.
1304
+ # Returns an existing Amplify app specified by an app ID.
1283
1305
  #
1284
1306
  # @option params [required, String] :app_id
1285
1307
  # The unique ID for an Amplify app.
@@ -1423,7 +1445,7 @@ module Aws::Amplify
1423
1445
  # The unique ID for an Amplify app.
1424
1446
  #
1425
1447
  # @option params [required, String] :branch_name
1426
- # The name for the branch.
1448
+ # The name of the branch.
1427
1449
  #
1428
1450
  # @return [Types::GetBranchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1429
1451
  #
@@ -1469,6 +1491,7 @@ module Aws::Amplify
1469
1491
  # resp.branch.destination_branch #=> String
1470
1492
  # resp.branch.source_branch #=> String
1471
1493
  # resp.branch.backend_environment_arn #=> String
1494
+ # resp.branch.backend.stack_arn #=> String
1472
1495
  #
1473
1496
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch AWS API Documentation
1474
1497
  #
@@ -1530,7 +1553,7 @@ module Aws::Amplify
1530
1553
  # The unique ID for an Amplify app.
1531
1554
  #
1532
1555
  # @option params [required, String] :branch_name
1533
- # The branch name for the job.
1556
+ # The name of the branch to use for the job.
1534
1557
  #
1535
1558
  # @option params [required, String] :job_id
1536
1559
  # The unique ID for the job.
@@ -1630,6 +1653,8 @@ module Aws::Amplify
1630
1653
  # * {Types::ListAppsResult#apps #apps} => Array&lt;Types::App&gt;
1631
1654
  # * {Types::ListAppsResult#next_token #next_token} => String
1632
1655
  #
1656
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1657
+ #
1633
1658
  # @example Request syntax with placeholder values
1634
1659
  #
1635
1660
  # resp = client.list_apps({
@@ -1813,6 +1838,8 @@ module Aws::Amplify
1813
1838
  # * {Types::ListBranchesResult#branches #branches} => Array&lt;Types::Branch&gt;
1814
1839
  # * {Types::ListBranchesResult#next_token #next_token} => String
1815
1840
  #
1841
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1842
+ #
1816
1843
  # @example Request syntax with placeholder values
1817
1844
  #
1818
1845
  # resp = client.list_branches({
@@ -1855,6 +1882,7 @@ module Aws::Amplify
1855
1882
  # resp.branches[0].destination_branch #=> String
1856
1883
  # resp.branches[0].source_branch #=> String
1857
1884
  # resp.branches[0].backend_environment_arn #=> String
1885
+ # resp.branches[0].backend.stack_arn #=> String
1858
1886
  # resp.next_token #=> String
1859
1887
  #
1860
1888
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches AWS API Documentation
@@ -1884,6 +1912,8 @@ module Aws::Amplify
1884
1912
  # * {Types::ListDomainAssociationsResult#domain_associations #domain_associations} => Array&lt;Types::DomainAssociation&gt;
1885
1913
  # * {Types::ListDomainAssociationsResult#next_token #next_token} => String
1886
1914
  #
1915
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1916
+ #
1887
1917
  # @example Request syntax with placeholder values
1888
1918
  #
1889
1919
  # resp = client.list_domain_associations({
@@ -1926,7 +1956,7 @@ module Aws::Amplify
1926
1956
  # The unique ID for an Amplify app.
1927
1957
  #
1928
1958
  # @option params [required, String] :branch_name
1929
- # The name for a branch.
1959
+ # The name of the branch to use for the request.
1930
1960
  #
1931
1961
  # @option params [String] :next_token
1932
1962
  # A pagination token. Set to null to start listing steps from the start.
@@ -1941,6 +1971,8 @@ module Aws::Amplify
1941
1971
  # * {Types::ListJobsResult#job_summaries #job_summaries} => Array&lt;Types::JobSummary&gt;
1942
1972
  # * {Types::ListJobsResult#next_token #next_token} => String
1943
1973
  #
1974
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1975
+ #
1944
1976
  # @example Request syntax with placeholder values
1945
1977
  #
1946
1978
  # resp = client.list_jobs({
@@ -2052,11 +2084,16 @@ module Aws::Amplify
2052
2084
  # Starts a deployment for a manually deployed app. Manually deployed
2053
2085
  # apps are not connected to a repository.
2054
2086
  #
2087
+ # The maximum duration between the `CreateDeployment` call and the
2088
+ # `StartDeployment` call cannot exceed 8 hours. If the duration exceeds
2089
+ # 8 hours, the `StartDeployment` call and the associated `Job` will
2090
+ # fail.
2091
+ #
2055
2092
  # @option params [required, String] :app_id
2056
2093
  # The unique ID for an Amplify app.
2057
2094
  #
2058
2095
  # @option params [required, String] :branch_name
2059
- # The name for the branch, for the job.
2096
+ # The name of the branch to use for the job.
2060
2097
  #
2061
2098
  # @option params [String] :job_id
2062
2099
  # The job ID for this deployment, generated by the create deployment
@@ -2107,7 +2144,7 @@ module Aws::Amplify
2107
2144
  # The unique ID for an Amplify app.
2108
2145
  #
2109
2146
  # @option params [required, String] :branch_name
2110
- # The branch name for the job.
2147
+ # The name of the branch to use for the job.
2111
2148
  #
2112
2149
  # @option params [String] :job_id
2113
2150
  # The unique ID for an existing job. This is required if the value of
@@ -2116,12 +2153,13 @@ module Aws::Amplify
2116
2153
  # @option params [required, String] :job_type
2117
2154
  # Describes the type for the job. The job type `RELEASE` starts a new
2118
2155
  # job with the latest change from the specified branch. This value is
2119
- # available only for apps that are connected to a repository. The job
2120
- # type `RETRY` retries an existing job. If the job type value is
2156
+ # available only for apps that are connected to a repository.
2157
+ #
2158
+ # The job type `RETRY` retries an existing job. If the job type value is
2121
2159
  # `RETRY`, the `jobId` is also required.
2122
2160
  #
2123
2161
  # @option params [String] :job_reason
2124
- # A descriptive reason for starting this job.
2162
+ # A descriptive reason for starting the job.
2125
2163
  #
2126
2164
  # @option params [String] :commit_id
2127
2165
  # The commit ID from a third-party repository provider for the job.
@@ -2176,7 +2214,7 @@ module Aws::Amplify
2176
2214
  # The unique ID for an Amplify app.
2177
2215
  #
2178
2216
  # @option params [required, String] :branch_name
2179
- # The name for the branch, for the job.
2217
+ # The name of the branch to use for the stop job request.
2180
2218
  #
2181
2219
  # @option params [required, String] :job_id
2182
2220
  # The unique id for the job.
@@ -2297,7 +2335,7 @@ module Aws::Amplify
2297
2335
  # Enables branch auto-building for an Amplify app.
2298
2336
  #
2299
2337
  # @option params [Boolean] :enable_branch_auto_deletion
2300
- # Automatically disconnects a branch in the Amplify Console when you
2338
+ # Automatically disconnects a branch in the Amplify console when you
2301
2339
  # delete a branch from your Git repository.
2302
2340
  #
2303
2341
  # @option params [Boolean] :enable_basic_auth
@@ -2328,7 +2366,7 @@ module Aws::Amplify
2328
2366
  # The automated branch creation configuration for an Amplify app.
2329
2367
  #
2330
2368
  # @option params [String] :repository
2331
- # The name of the repository for an Amplify app
2369
+ # The name of the Git repository for an Amplify app.
2332
2370
  #
2333
2371
  # @option params [String] :oauth_token
2334
2372
  # The OAuth token for a third-party source control system for an Amplify
@@ -2352,7 +2390,7 @@ module Aws::Amplify
2352
2390
  #
2353
2391
  #
2354
2392
  #
2355
- # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2393
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2356
2394
  #
2357
2395
  # @option params [String] :access_token
2358
2396
  # The personal access token for a GitHub repository for an Amplify app.
@@ -2374,7 +2412,7 @@ module Aws::Amplify
2374
2412
  #
2375
2413
  #
2376
2414
  #
2377
- # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2415
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2378
2416
  #
2379
2417
  # @return [Types::UpdateAppResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2380
2418
  #
@@ -2488,7 +2526,7 @@ module Aws::Amplify
2488
2526
  # The unique ID for an Amplify app.
2489
2527
  #
2490
2528
  # @option params [required, String] :branch_name
2491
- # The name for the branch.
2529
+ # The name of the branch.
2492
2530
  #
2493
2531
  # @option params [String] :description
2494
2532
  # The description for the branch.
@@ -2544,6 +2582,10 @@ module Aws::Amplify
2544
2582
  # The Amazon Resource Name (ARN) for a backend environment that is part
2545
2583
  # of an Amplify app.
2546
2584
  #
2585
+ # @option params [Types::Backend] :backend
2586
+ # The backend for a `Branch` of an Amplify app. Use for a backend
2587
+ # created from an CloudFormation stack.
2588
+ #
2547
2589
  # @return [Types::UpdateBranchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2548
2590
  #
2549
2591
  # * {Types::UpdateBranchResult#branch #branch} => Types::Branch
@@ -2570,6 +2612,9 @@ module Aws::Amplify
2570
2612
  # enable_pull_request_preview: false,
2571
2613
  # pull_request_environment_name: "PullRequestEnvironmentName",
2572
2614
  # backend_environment_arn: "BackendEnvironmentArn",
2615
+ # backend: {
2616
+ # stack_arn: "StackArn",
2617
+ # },
2573
2618
  # })
2574
2619
  #
2575
2620
  # @example Response structure
@@ -2605,6 +2650,7 @@ module Aws::Amplify
2605
2650
  # resp.branch.destination_branch #=> String
2606
2651
  # resp.branch.source_branch #=> String
2607
2652
  # resp.branch.backend_environment_arn #=> String
2653
+ # resp.branch.backend.stack_arn #=> String
2608
2654
  #
2609
2655
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch AWS API Documentation
2610
2656
  #
@@ -2737,7 +2783,7 @@ module Aws::Amplify
2737
2783
  params: params,
2738
2784
  config: config)
2739
2785
  context[:gem_name] = 'aws-sdk-amplify'
2740
- context[:gem_version] = '1.51.0'
2786
+ context[:gem_version] = '1.52.0'
2741
2787
  Seahorse::Client::Request.new(handlers, context)
2742
2788
  end
2743
2789
 
@@ -33,6 +33,7 @@ module Aws::Amplify
33
33
  AutoSubDomainCreationPattern = Shapes::StringShape.new(name: 'AutoSubDomainCreationPattern')
34
34
  AutoSubDomainCreationPatterns = Shapes::ListShape.new(name: 'AutoSubDomainCreationPatterns')
35
35
  AutoSubDomainIAMRole = Shapes::StringShape.new(name: 'AutoSubDomainIAMRole')
36
+ Backend = Shapes::StructureShape.new(name: 'Backend')
36
37
  BackendEnvironment = Shapes::StructureShape.new(name: 'BackendEnvironment')
37
38
  BackendEnvironmentArn = Shapes::StringShape.new(name: 'BackendEnvironmentArn')
38
39
  BackendEnvironments = Shapes::ListShape.new(name: 'BackendEnvironments')
@@ -172,6 +173,7 @@ module Aws::Amplify
172
173
  ServiceRoleArn = Shapes::StringShape.new(name: 'ServiceRoleArn')
173
174
  Source = Shapes::StringShape.new(name: 'Source')
174
175
  SourceUrl = Shapes::StringShape.new(name: 'SourceUrl')
176
+ StackArn = Shapes::StringShape.new(name: 'StackArn')
175
177
  StackName = Shapes::StringShape.new(name: 'StackName')
176
178
  Stage = Shapes::StringShape.new(name: 'Stage')
177
179
  StartDeploymentRequest = Shapes::StructureShape.new(name: 'StartDeploymentRequest')
@@ -275,6 +277,9 @@ module Aws::Amplify
275
277
 
276
278
  AutoSubDomainCreationPatterns.member = Shapes::ShapeRef.new(shape: AutoSubDomainCreationPattern)
277
279
 
280
+ Backend.add_member(:stack_arn, Shapes::ShapeRef.new(shape: StackArn, location_name: "stackArn"))
281
+ Backend.struct_class = Types::Backend
282
+
278
283
  BackendEnvironment.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, required: true, location_name: "backendEnvironmentArn"))
279
284
  BackendEnvironment.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location_name: "environmentName"))
280
285
  BackendEnvironment.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "stackName"))
@@ -315,6 +320,7 @@ module Aws::Amplify
315
320
  Branch.add_member(:destination_branch, Shapes::ShapeRef.new(shape: BranchName, location_name: "destinationBranch"))
316
321
  Branch.add_member(:source_branch, Shapes::ShapeRef.new(shape: BranchName, location_name: "sourceBranch"))
317
322
  Branch.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, location_name: "backendEnvironmentArn"))
323
+ Branch.add_member(:backend, Shapes::ShapeRef.new(shape: Backend, location_name: "backend"))
318
324
  Branch.struct_class = Types::Branch
319
325
 
320
326
  Branches.member = Shapes::ShapeRef.new(shape: Branch)
@@ -370,6 +376,7 @@ module Aws::Amplify
370
376
  CreateBranchRequest.add_member(:enable_pull_request_preview, Shapes::ShapeRef.new(shape: EnablePullRequestPreview, location_name: "enablePullRequestPreview"))
371
377
  CreateBranchRequest.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
372
378
  CreateBranchRequest.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, location_name: "backendEnvironmentArn"))
379
+ CreateBranchRequest.add_member(:backend, Shapes::ShapeRef.new(shape: Backend, location_name: "backend"))
373
380
  CreateBranchRequest.struct_class = Types::CreateBranchRequest
374
381
 
375
382
  CreateBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
@@ -767,6 +774,7 @@ module Aws::Amplify
767
774
  UpdateBranchRequest.add_member(:enable_pull_request_preview, Shapes::ShapeRef.new(shape: EnablePullRequestPreview, location_name: "enablePullRequestPreview"))
768
775
  UpdateBranchRequest.add_member(:pull_request_environment_name, Shapes::ShapeRef.new(shape: PullRequestEnvironmentName, location_name: "pullRequestEnvironmentName"))
769
776
  UpdateBranchRequest.add_member(:backend_environment_arn, Shapes::ShapeRef.new(shape: BackendEnvironmentArn, location_name: "backendEnvironmentArn"))
777
+ UpdateBranchRequest.add_member(:backend, Shapes::ShapeRef.new(shape: Backend, location_name: "backend"))
770
778
  UpdateBranchRequest.struct_class = Types::UpdateBranchRequest
771
779
 
772
780
  UpdateBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
@@ -1087,6 +1095,12 @@ module Aws::Amplify
1087
1095
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1088
1096
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1089
1097
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1098
+ o[:pager] = Aws::Pager.new(
1099
+ limit_key: "max_results",
1100
+ tokens: {
1101
+ "next_token" => "next_token"
1102
+ }
1103
+ )
1090
1104
  end)
1091
1105
 
1092
1106
  api.add_operation(:list_artifacts, Seahorse::Model::Operation.new.tap do |o|
@@ -1121,6 +1135,12 @@ module Aws::Amplify
1121
1135
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1122
1136
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1123
1137
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1138
+ o[:pager] = Aws::Pager.new(
1139
+ limit_key: "max_results",
1140
+ tokens: {
1141
+ "next_token" => "next_token"
1142
+ }
1143
+ )
1124
1144
  end)
1125
1145
 
1126
1146
  api.add_operation(:list_domain_associations, Seahorse::Model::Operation.new.tap do |o|
@@ -1132,6 +1152,12 @@ module Aws::Amplify
1132
1152
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1133
1153
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1134
1154
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1155
+ o[:pager] = Aws::Pager.new(
1156
+ limit_key: "max_results",
1157
+ tokens: {
1158
+ "next_token" => "next_token"
1159
+ }
1160
+ )
1135
1161
  end)
1136
1162
 
1137
1163
  api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
@@ -1144,6 +1170,12 @@ module Aws::Amplify
1144
1170
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1145
1171
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1146
1172
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1173
+ o[:pager] = Aws::Pager.new(
1174
+ limit_key: "max_results",
1175
+ tokens: {
1176
+ "next_token" => "next_token"
1177
+ }
1178
+ )
1147
1179
  end)
1148
1180
 
1149
1181
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -32,7 +32,7 @@ module Aws::Amplify
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://amplify-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -60,6 +60,14 @@ module Aws::Amplify
60
60
  #
61
61
  # @!attribute [rw] environment_variables
62
62
  # The environment variables for the Amplify app.
63
+ #
64
+ # For a list of the environment variables that are accessible to
65
+ # Amplify by default, see [Amplify Environment variables][1] in the
66
+ # *Amplify Hosting User Guide*.
67
+ #
68
+ #
69
+ #
70
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/amplify-console-environment-variables.html
63
71
  # @return [Hash<String,String>]
64
72
  #
65
73
  # @!attribute [rw] default_domain
@@ -71,7 +79,7 @@ module Aws::Amplify
71
79
  # @return [Boolean]
72
80
  #
73
81
  # @!attribute [rw] enable_branch_auto_deletion
74
- # Automatically disconnect a branch in the Amplify Console when you
82
+ # Automatically disconnect a branch in the Amplify console when you
75
83
  # delete a branch from your Git repository.
76
84
  # @return [Boolean]
77
85
  #
@@ -245,6 +253,20 @@ module Aws::Amplify
245
253
  include Aws::Structure
246
254
  end
247
255
 
256
+ # Describes the backend properties associated with an Amplify `Branch`.
257
+ #
258
+ # @!attribute [rw] stack_arn
259
+ # The Amazon Resource Name (ARN) for the CloudFormation stack.
260
+ # @return [String]
261
+ #
262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Backend AWS API Documentation
263
+ #
264
+ class Backend < Struct.new(
265
+ :stack_arn)
266
+ SENSITIVE = []
267
+ include Aws::Structure
268
+ end
269
+
248
270
  # Describes the backend environment for an Amplify app.
249
271
  #
250
272
  # @!attribute [rw] backend_environment_arn
@@ -424,6 +446,11 @@ module Aws::Amplify
424
446
  # part of an Amplify app.
425
447
  # @return [String]
426
448
  #
449
+ # @!attribute [rw] backend
450
+ # Describes the backend properties associated with an Amplify
451
+ # `Branch`.
452
+ # @return [Types::Backend]
453
+ #
427
454
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Branch AWS API Documentation
428
455
  #
429
456
  class Branch < Struct.new(
@@ -453,7 +480,8 @@ module Aws::Amplify
453
480
  :pull_request_environment_name,
454
481
  :destination_branch,
455
482
  :source_branch,
456
- :backend_environment_arn)
483
+ :backend_environment_arn,
484
+ :backend)
457
485
  SENSITIVE = [:basic_auth_credentials, :build_spec]
458
486
  include Aws::Structure
459
487
  end
@@ -461,15 +489,15 @@ module Aws::Amplify
461
489
  # The request structure used to create apps in Amplify.
462
490
  #
463
491
  # @!attribute [rw] name
464
- # The name for an Amplify app.
492
+ # The name of the Amplify app.
465
493
  # @return [String]
466
494
  #
467
495
  # @!attribute [rw] description
468
- # The description for an Amplify app.
496
+ # The description of the Amplify app.
469
497
  # @return [String]
470
498
  #
471
499
  # @!attribute [rw] repository
472
- # The repository for an Amplify app.
500
+ # The Git repository for the Amplify app.
473
501
  # @return [String]
474
502
  #
475
503
  # @!attribute [rw] platform
@@ -506,7 +534,7 @@ module Aws::Amplify
506
534
  #
507
535
  #
508
536
  #
509
- # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
537
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth
510
538
  # @return [String]
511
539
  #
512
540
  # @!attribute [rw] access_token
@@ -530,11 +558,19 @@ module Aws::Amplify
530
558
  #
531
559
  #
532
560
  #
533
- # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
561
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth
534
562
  # @return [String]
535
563
  #
536
564
  # @!attribute [rw] environment_variables
537
565
  # The environment variables map for an Amplify app.
566
+ #
567
+ # For a list of the environment variables that are accessible to
568
+ # Amplify by default, see [Amplify Environment variables][1] in the
569
+ # *Amplify Hosting User Guide*.
570
+ #
571
+ #
572
+ #
573
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/amplify-console-environment-variables.html
538
574
  # @return [Hash<String,String>]
539
575
  #
540
576
  # @!attribute [rw] enable_branch_auto_build
@@ -542,7 +578,7 @@ module Aws::Amplify
542
578
  # @return [Boolean]
543
579
  #
544
580
  # @!attribute [rw] enable_branch_auto_deletion
545
- # Automatically disconnects a branch in the Amplify Console when you
581
+ # Automatically disconnects a branch in the Amplify console when you
546
582
  # delete a branch from your Git repository.
547
583
  # @return [Boolean]
548
584
  #
@@ -750,6 +786,11 @@ module Aws::Amplify
750
786
  # part of an Amplify app.
751
787
  # @return [String]
752
788
  #
789
+ # @!attribute [rw] backend
790
+ # The backend for a `Branch` of an Amplify app. Use for a backend
791
+ # created from an CloudFormation stack.
792
+ # @return [Types::Backend]
793
+ #
753
794
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranchRequest AWS API Documentation
754
795
  #
755
796
  class CreateBranchRequest < Struct.new(
@@ -770,7 +811,8 @@ module Aws::Amplify
770
811
  :display_name,
771
812
  :enable_pull_request_preview,
772
813
  :pull_request_environment_name,
773
- :backend_environment_arn)
814
+ :backend_environment_arn,
815
+ :backend)
774
816
  SENSITIVE = [:basic_auth_credentials, :build_spec]
775
817
  include Aws::Structure
776
818
  end
@@ -797,7 +839,7 @@ module Aws::Amplify
797
839
  # @return [String]
798
840
  #
799
841
  # @!attribute [rw] branch_name
800
- # The name for the branch, for the job.
842
+ # The name of the branch to use for the job.
801
843
  # @return [String]
802
844
  #
803
845
  # @!attribute [rw] file_map
@@ -1059,7 +1101,7 @@ module Aws::Amplify
1059
1101
  # @return [String]
1060
1102
  #
1061
1103
  # @!attribute [rw] branch_name
1062
- # The name for the branch.
1104
+ # The name of the branch.
1063
1105
  # @return [String]
1064
1106
  #
1065
1107
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranchRequest AWS API Documentation
@@ -1125,7 +1167,7 @@ module Aws::Amplify
1125
1167
  # @return [String]
1126
1168
  #
1127
1169
  # @!attribute [rw] branch_name
1128
- # The name for the branch, for the job.
1170
+ # The name of the branch to use for the job.
1129
1171
  # @return [String]
1130
1172
  #
1131
1173
  # @!attribute [rw] job_id
@@ -1400,7 +1442,7 @@ module Aws::Amplify
1400
1442
  # @return [String]
1401
1443
  #
1402
1444
  # @!attribute [rw] branch_name
1403
- # The name for the branch.
1445
+ # The name of the branch.
1404
1446
  # @return [String]
1405
1447
  #
1406
1448
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranchRequest AWS API Documentation
@@ -1466,7 +1508,7 @@ module Aws::Amplify
1466
1508
  # @return [String]
1467
1509
  #
1468
1510
  # @!attribute [rw] branch_name
1469
- # The branch name for the job.
1511
+ # The name of the branch to use for the job.
1470
1512
  # @return [String]
1471
1513
  #
1472
1514
  # @!attribute [rw] job_id
@@ -1876,7 +1918,7 @@ module Aws::Amplify
1876
1918
  # @return [String]
1877
1919
  #
1878
1920
  # @!attribute [rw] branch_name
1879
- # The name for a branch.
1921
+ # The name of the branch to use for the request.
1880
1922
  # @return [String]
1881
1923
  #
1882
1924
  # @!attribute [rw] next_token
@@ -2063,7 +2105,7 @@ module Aws::Amplify
2063
2105
  # @return [String]
2064
2106
  #
2065
2107
  # @!attribute [rw] branch_name
2066
- # The name for the branch, for the job.
2108
+ # The name of the branch to use for the job.
2067
2109
  # @return [String]
2068
2110
  #
2069
2111
  # @!attribute [rw] job_id
@@ -2110,7 +2152,7 @@ module Aws::Amplify
2110
2152
  # @return [String]
2111
2153
  #
2112
2154
  # @!attribute [rw] branch_name
2113
- # The branch name for the job.
2155
+ # The name of the branch to use for the job.
2114
2156
  # @return [String]
2115
2157
  #
2116
2158
  # @!attribute [rw] job_id
@@ -2121,13 +2163,14 @@ module Aws::Amplify
2121
2163
  # @!attribute [rw] job_type
2122
2164
  # Describes the type for the job. The job type `RELEASE` starts a new
2123
2165
  # job with the latest change from the specified branch. This value is
2124
- # available only for apps that are connected to a repository. The job
2125
- # type `RETRY` retries an existing job. If the job type value is
2126
- # `RETRY`, the `jobId` is also required.
2166
+ # available only for apps that are connected to a repository.
2167
+ #
2168
+ # The job type `RETRY` retries an existing job. If the job type value
2169
+ # is `RETRY`, the `jobId` is also required.
2127
2170
  # @return [String]
2128
2171
  #
2129
2172
  # @!attribute [rw] job_reason
2130
- # A descriptive reason for starting this job.
2173
+ # A descriptive reason for starting the job.
2131
2174
  # @return [String]
2132
2175
  #
2133
2176
  # @!attribute [rw] commit_id
@@ -2244,7 +2287,7 @@ module Aws::Amplify
2244
2287
  # @return [String]
2245
2288
  #
2246
2289
  # @!attribute [rw] branch_name
2247
- # The name for the branch, for the job.
2290
+ # The name of the branch to use for the stop job request.
2248
2291
  # @return [String]
2249
2292
  #
2250
2293
  # @!attribute [rw] job_id
@@ -2417,7 +2460,7 @@ module Aws::Amplify
2417
2460
  # @return [Boolean]
2418
2461
  #
2419
2462
  # @!attribute [rw] enable_branch_auto_deletion
2420
- # Automatically disconnects a branch in the Amplify Console when you
2463
+ # Automatically disconnects a branch in the Amplify console when you
2421
2464
  # delete a branch from your Git repository.
2422
2465
  # @return [Boolean]
2423
2466
  #
@@ -2457,7 +2500,7 @@ module Aws::Amplify
2457
2500
  # @return [Types::AutoBranchCreationConfig]
2458
2501
  #
2459
2502
  # @!attribute [rw] repository
2460
- # The name of the repository for an Amplify app
2503
+ # The name of the Git repository for an Amplify app.
2461
2504
  # @return [String]
2462
2505
  #
2463
2506
  # @!attribute [rw] oauth_token
@@ -2483,7 +2526,7 @@ module Aws::Amplify
2483
2526
  #
2484
2527
  #
2485
2528
  #
2486
- # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2529
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2487
2530
  # @return [String]
2488
2531
  #
2489
2532
  # @!attribute [rw] access_token
@@ -2507,7 +2550,7 @@ module Aws::Amplify
2507
2550
  #
2508
2551
  #
2509
2552
  #
2510
- # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2553
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2511
2554
  # @return [String]
2512
2555
  #
2513
2556
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateAppRequest AWS API Documentation
@@ -2557,7 +2600,7 @@ module Aws::Amplify
2557
2600
  # @return [String]
2558
2601
  #
2559
2602
  # @!attribute [rw] branch_name
2560
- # The name for the branch.
2603
+ # The name of the branch.
2561
2604
  # @return [String]
2562
2605
  #
2563
2606
  # @!attribute [rw] description
@@ -2629,6 +2672,11 @@ module Aws::Amplify
2629
2672
  # part of an Amplify app.
2630
2673
  # @return [String]
2631
2674
  #
2675
+ # @!attribute [rw] backend
2676
+ # The backend for a `Branch` of an Amplify app. Use for a backend
2677
+ # created from an CloudFormation stack.
2678
+ # @return [Types::Backend]
2679
+ #
2632
2680
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranchRequest AWS API Documentation
2633
2681
  #
2634
2682
  class UpdateBranchRequest < Struct.new(
@@ -2648,7 +2696,8 @@ module Aws::Amplify
2648
2696
  :display_name,
2649
2697
  :enable_pull_request_preview,
2650
2698
  :pull_request_environment_name,
2651
- :backend_environment_arn)
2699
+ :backend_environment_arn,
2700
+ :backend)
2652
2701
  SENSITIVE = [:basic_auth_credentials, :build_spec]
2653
2702
  include Aws::Structure
2654
2703
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-amplify/customizations'
52
52
  # @!group service
53
53
  module Aws::Amplify
54
54
 
55
- GEM_VERSION = '1.51.0'
55
+ GEM_VERSION = '1.52.0'
56
56
 
57
57
  end
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.51.0
4
+ version: 1.52.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: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core