aws-sdk-amplify 1.38.0 → 1.41.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
  SHA256:
3
- metadata.gz: 508f956454081991d630e92628d711dfbf008a87b15dfc3063ae38265b562b22
4
- data.tar.gz: 9eb9dd1918431a22aaa7a0baee36315c261f09be5ac710f43e01fdcbb684e7f2
3
+ metadata.gz: 24f0827b5a7fc67ecc033e5e134ac41c1fd120b6664c1e08e58dbe60a6c6e567
4
+ data.tar.gz: 178bf8d666a84d5046a3f8af4a4f27d7cc8ca177802d9e80381dfb652406a5fa
5
5
  SHA512:
6
- metadata.gz: 8cd961dd0ca42e278a3beb6a07573b038f71890072f84b4a32e84e263289b7f9278f8d3ef2c10eeeb7a032527f6a01cb0a81592be84396f980e52c0cd6356366
7
- data.tar.gz: 89931f8f0bd8160f53b3091dc84e546853575d8cd251d7ab7aa104eb0937d6523f93828038106155ae850494510ebcd0d90bbb6fefe6352ae8a2955a360bc200
6
+ metadata.gz: 5544afe1f80573e621311107656a4a149dc16d52d6c69a5197b090dcb53baa629dcc8ecfee64405824032d6a4e8c18701f3948502aa3735d277be64c4d9329d5
7
+ data.tar.gz: 741384a6ce97e99370446aea215d1f5afc94ba409529c92173b3b6440d303f8cd2f3170a1c9fb113f8f076386d543cd3b75310d3cde9f3530dc0601778521e29
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2022-04-27)
5
+ ------------------
6
+
7
+ * Feature - Documentation only update to support the Amplify GitHub App feature launch
8
+
9
+ 1.40.0 (2022-02-28)
10
+ ------------------
11
+
12
+ * Feature - Add repositoryCloneMethod field for hosting an Amplify app. This field shows what authorization method is used to clone the repo: SSH, TOKEN, or SIGV4.
13
+
14
+ 1.39.0 (2022-02-24)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.38.0 (2022-02-03)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.41.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::Amplify
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -370,12 +372,46 @@ module Aws::Amplify
370
372
  # @option params [String] :oauth_token
371
373
  # The OAuth token for a third-party source control system for an Amplify
372
374
  # app. The OAuth token is used to create a webhook and a read-only
373
- # deploy key. The OAuth token is not stored.
375
+ # deploy key using SSH cloning. The OAuth token is not stored.
376
+ #
377
+ # Use `oauthToken` for repository providers other than GitHub, such as
378
+ # Bitbucket or CodeCommit. To authorize access to GitHub as your
379
+ # repository provider, use `accessToken`.
380
+ #
381
+ # You must specify either `oauthToken` or `accessToken` when you create
382
+ # a new app.
383
+ #
384
+ # Existing Amplify apps deployed from a GitHub repository using OAuth
385
+ # continue to work with CI/CD. However, we strongly recommend that you
386
+ # migrate these apps to use the GitHub App. For more information, see
387
+ # [Migrating an existing OAuth app to the Amplify GitHub App][1] in the
388
+ # *Amplify User Guide* .
389
+ #
390
+ #
391
+ #
392
+ # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
374
393
  #
375
394
  # @option params [String] :access_token
376
- # The personal access token for a third-party source control system for
377
- # an Amplify app. The personal access token is used to create a webhook
378
- # and a read-only deploy key. The token is not stored.
395
+ # The personal access token for a GitHub repository for an Amplify app.
396
+ # The personal access token is used to authorize access to a GitHub
397
+ # repository using the Amplify GitHub App. The token is not stored.
398
+ #
399
+ # Use `accessToken` for GitHub repositories only. To authorize access to
400
+ # a repository provider such as Bitbucket or CodeCommit, use
401
+ # `oauthToken`.
402
+ #
403
+ # You must specify either `accessToken` or `oauthToken` when you create
404
+ # a new app.
405
+ #
406
+ # Existing Amplify apps deployed from a GitHub repository using OAuth
407
+ # continue to work with CI/CD. However, we strongly recommend that you
408
+ # migrate these apps to use the GitHub App. For more information, see
409
+ # [Migrating an existing OAuth app to the Amplify GitHub App][1] in the
410
+ # *Amplify User Guide* .
411
+ #
412
+ #
413
+ #
414
+ # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
379
415
  #
380
416
  # @option params [Hash<String,String>] :environment_variables
381
417
  # The environment variables map for an Amplify app.
@@ -427,7 +463,7 @@ module Aws::Amplify
427
463
  # name: "Name", # required
428
464
  # description: "Description",
429
465
  # repository: "Repository",
430
- # platform: "WEB", # accepts WEB
466
+ # platform: "WEB", # accepts WEB, WEB_DYNAMIC
431
467
  # iam_service_role_arn: "ServiceRoleArn",
432
468
  # oauth_token: "OauthToken",
433
469
  # access_token: "AccessToken",
@@ -478,7 +514,7 @@ module Aws::Amplify
478
514
  # resp.app.tags["TagKey"] #=> String
479
515
  # resp.app.description #=> String
480
516
  # resp.app.repository #=> String
481
- # resp.app.platform #=> String, one of "WEB"
517
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
482
518
  # resp.app.create_time #=> Time
483
519
  # resp.app.update_time #=> Time
484
520
  # resp.app.iam_service_role_arn #=> String
@@ -514,6 +550,7 @@ module Aws::Amplify
514
550
  # resp.app.auto_branch_creation_config.build_spec #=> String
515
551
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
516
552
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
553
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
517
554
  #
518
555
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp AWS API Documentation
519
556
  #
@@ -889,7 +926,7 @@ module Aws::Amplify
889
926
  # resp.app.tags["TagKey"] #=> String
890
927
  # resp.app.description #=> String
891
928
  # resp.app.repository #=> String
892
- # resp.app.platform #=> String, one of "WEB"
929
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
893
930
  # resp.app.create_time #=> Time
894
931
  # resp.app.update_time #=> Time
895
932
  # resp.app.iam_service_role_arn #=> String
@@ -925,6 +962,7 @@ module Aws::Amplify
925
962
  # resp.app.auto_branch_creation_config.build_spec #=> String
926
963
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
927
964
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
965
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
928
966
  #
929
967
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp AWS API Documentation
930
968
  #
@@ -1224,7 +1262,7 @@ module Aws::Amplify
1224
1262
  # resp.app.tags["TagKey"] #=> String
1225
1263
  # resp.app.description #=> String
1226
1264
  # resp.app.repository #=> String
1227
- # resp.app.platform #=> String, one of "WEB"
1265
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
1228
1266
  # resp.app.create_time #=> Time
1229
1267
  # resp.app.update_time #=> Time
1230
1268
  # resp.app.iam_service_role_arn #=> String
@@ -1260,6 +1298,7 @@ module Aws::Amplify
1260
1298
  # resp.app.auto_branch_creation_config.build_spec #=> String
1261
1299
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
1262
1300
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
1301
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
1263
1302
  #
1264
1303
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp AWS API Documentation
1265
1304
  #
@@ -1567,7 +1606,7 @@ module Aws::Amplify
1567
1606
  # resp.apps[0].tags["TagKey"] #=> String
1568
1607
  # resp.apps[0].description #=> String
1569
1608
  # resp.apps[0].repository #=> String
1570
- # resp.apps[0].platform #=> String, one of "WEB"
1609
+ # resp.apps[0].platform #=> String, one of "WEB", "WEB_DYNAMIC"
1571
1610
  # resp.apps[0].create_time #=> Time
1572
1611
  # resp.apps[0].update_time #=> Time
1573
1612
  # resp.apps[0].iam_service_role_arn #=> String
@@ -1603,6 +1642,7 @@ module Aws::Amplify
1603
1642
  # resp.apps[0].auto_branch_creation_config.build_spec #=> String
1604
1643
  # resp.apps[0].auto_branch_creation_config.enable_pull_request_preview #=> Boolean
1605
1644
  # resp.apps[0].auto_branch_creation_config.pull_request_environment_name #=> String
1645
+ # resp.apps[0].repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
1606
1646
  # resp.next_token #=> String
1607
1647
  #
1608
1648
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps AWS API Documentation
@@ -2247,13 +2287,49 @@ module Aws::Amplify
2247
2287
  #
2248
2288
  # @option params [String] :oauth_token
2249
2289
  # The OAuth token for a third-party source control system for an Amplify
2250
- # app. The token is used to create a webhook and a read-only deploy key.
2251
- # The OAuth token is not stored.
2290
+ # app. The OAuth token is used to create a webhook and a read-only
2291
+ # deploy key using SSH cloning. The OAuth token is not stored.
2292
+ #
2293
+ # Use `oauthToken` for repository providers other than GitHub, such as
2294
+ # Bitbucket or CodeCommit.
2295
+ #
2296
+ # To authorize access to GitHub as your repository provider, use
2297
+ # `accessToken`.
2298
+ #
2299
+ # You must specify either `oauthToken` or `accessToken` when you update
2300
+ # an app.
2301
+ #
2302
+ # Existing Amplify apps deployed from a GitHub repository using OAuth
2303
+ # continue to work with CI/CD. However, we strongly recommend that you
2304
+ # migrate these apps to use the GitHub App. For more information, see
2305
+ # [Migrating an existing OAuth app to the Amplify GitHub App][1] in the
2306
+ # *Amplify User Guide* .
2307
+ #
2308
+ #
2309
+ #
2310
+ # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2252
2311
  #
2253
2312
  # @option params [String] :access_token
2254
- # The personal access token for a third-party source control system for
2255
- # an Amplify app. The token is used to create webhook and a read-only
2256
- # deploy key. The token is not stored.
2313
+ # The personal access token for a GitHub repository for an Amplify app.
2314
+ # The personal access token is used to authorize access to a GitHub
2315
+ # repository using the Amplify GitHub App. The token is not stored.
2316
+ #
2317
+ # Use `accessToken` for GitHub repositories only. To authorize access to
2318
+ # a repository provider such as Bitbucket or CodeCommit, use
2319
+ # `oauthToken`.
2320
+ #
2321
+ # You must specify either `accessToken` or `oauthToken` when you update
2322
+ # an app.
2323
+ #
2324
+ # Existing Amplify apps deployed from a GitHub repository using OAuth
2325
+ # continue to work with CI/CD. However, we strongly recommend that you
2326
+ # migrate these apps to use the GitHub App. For more information, see
2327
+ # [Migrating an existing OAuth app to the Amplify GitHub App][1] in the
2328
+ # *Amplify User Guide* .
2329
+ #
2330
+ #
2331
+ #
2332
+ # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2257
2333
  #
2258
2334
  # @return [Types::UpdateAppResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2259
2335
  #
@@ -2265,7 +2341,7 @@ module Aws::Amplify
2265
2341
  # app_id: "AppId", # required
2266
2342
  # name: "Name",
2267
2343
  # description: "Description",
2268
- # platform: "WEB", # accepts WEB
2344
+ # platform: "WEB", # accepts WEB, WEB_DYNAMIC
2269
2345
  # iam_service_role_arn: "ServiceRoleArn",
2270
2346
  # environment_variables: {
2271
2347
  # "EnvKey" => "EnvValue",
@@ -2314,7 +2390,7 @@ module Aws::Amplify
2314
2390
  # resp.app.tags["TagKey"] #=> String
2315
2391
  # resp.app.description #=> String
2316
2392
  # resp.app.repository #=> String
2317
- # resp.app.platform #=> String, one of "WEB"
2393
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
2318
2394
  # resp.app.create_time #=> Time
2319
2395
  # resp.app.update_time #=> Time
2320
2396
  # resp.app.iam_service_role_arn #=> String
@@ -2350,6 +2426,7 @@ module Aws::Amplify
2350
2426
  # resp.app.auto_branch_creation_config.build_spec #=> String
2351
2427
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
2352
2428
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
2429
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
2353
2430
  #
2354
2431
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp AWS API Documentation
2355
2432
  #
@@ -2504,7 +2581,7 @@ module Aws::Amplify
2504
2581
  # @option params [Boolean] :enable_auto_sub_domain
2505
2582
  # Enables the automated creation of subdomains for branches.
2506
2583
  #
2507
- # @option params [required, Array<Types::SubDomainSetting>] :sub_domain_settings
2584
+ # @option params [Array<Types::SubDomainSetting>] :sub_domain_settings
2508
2585
  # Describes the settings for the subdomain.
2509
2586
  #
2510
2587
  # @option params [Array<String>] :auto_sub_domain_creation_patterns
@@ -2524,7 +2601,7 @@ module Aws::Amplify
2524
2601
  # app_id: "AppId", # required
2525
2602
  # domain_name: "DomainName", # required
2526
2603
  # enable_auto_sub_domain: false,
2527
- # sub_domain_settings: [ # required
2604
+ # sub_domain_settings: [
2528
2605
  # {
2529
2606
  # prefix: "DomainPrefix", # required
2530
2607
  # branch_name: "BranchName", # required
@@ -2615,7 +2692,7 @@ module Aws::Amplify
2615
2692
  params: params,
2616
2693
  config: config)
2617
2694
  context[:gem_name] = 'aws-sdk-amplify'
2618
- context[:gem_version] = '1.38.0'
2695
+ context[:gem_version] = '1.41.0'
2619
2696
  Seahorse::Client::Request.new(handlers, context)
2620
2697
  end
2621
2698
 
@@ -165,6 +165,7 @@ module Aws::Amplify
165
165
  ProductionBranch = Shapes::StructureShape.new(name: 'ProductionBranch')
166
166
  PullRequestEnvironmentName = Shapes::StringShape.new(name: 'PullRequestEnvironmentName')
167
167
  Repository = Shapes::StringShape.new(name: 'Repository')
168
+ RepositoryCloneMethod = Shapes::StringShape.new(name: 'RepositoryCloneMethod')
168
169
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
169
170
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
170
171
  Screenshots = Shapes::MapShape.new(name: 'Screenshots')
@@ -245,6 +246,7 @@ module Aws::Amplify
245
246
  App.add_member(:enable_auto_branch_creation, Shapes::ShapeRef.new(shape: EnableAutoBranchCreation, location_name: "enableAutoBranchCreation"))
246
247
  App.add_member(:auto_branch_creation_patterns, Shapes::ShapeRef.new(shape: AutoBranchCreationPatterns, location_name: "autoBranchCreationPatterns"))
247
248
  App.add_member(:auto_branch_creation_config, Shapes::ShapeRef.new(shape: AutoBranchCreationConfig, location_name: "autoBranchCreationConfig"))
249
+ App.add_member(:repository_clone_method, Shapes::ShapeRef.new(shape: RepositoryCloneMethod, location_name: "repositoryCloneMethod"))
248
250
  App.struct_class = Types::App
249
251
 
250
252
  Apps.member = Shapes::ShapeRef.new(shape: App)
@@ -773,7 +775,7 @@ module Aws::Amplify
773
775
  UpdateDomainAssociationRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
774
776
  UpdateDomainAssociationRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
775
777
  UpdateDomainAssociationRequest.add_member(:enable_auto_sub_domain, Shapes::ShapeRef.new(shape: EnableAutoSubDomain, location_name: "enableAutoSubDomain"))
776
- UpdateDomainAssociationRequest.add_member(:sub_domain_settings, Shapes::ShapeRef.new(shape: SubDomainSettings, required: true, location_name: "subDomainSettings"))
778
+ UpdateDomainAssociationRequest.add_member(:sub_domain_settings, Shapes::ShapeRef.new(shape: SubDomainSettings, location_name: "subDomainSettings"))
777
779
  UpdateDomainAssociationRequest.add_member(:auto_sub_domain_creation_patterns, Shapes::ShapeRef.new(shape: AutoSubDomainCreationPatterns, location_name: "autoSubDomainCreationPatterns"))
778
780
  UpdateDomainAssociationRequest.add_member(:auto_sub_domain_iam_role, Shapes::ShapeRef.new(shape: AutoSubDomainIAMRole, location_name: "autoSubDomainIAMRole"))
779
781
  UpdateDomainAssociationRequest.struct_class = Types::UpdateDomainAssociationRequest
@@ -34,7 +34,7 @@ module Aws::Amplify
34
34
  # @return [String]
35
35
  #
36
36
  # @!attribute [rw] repository
37
- # The repository for the Amplify app.
37
+ # The Git repository for the Amplify app.
38
38
  # @return [String]
39
39
  #
40
40
  # @!attribute [rw] platform
@@ -113,6 +113,18 @@ module Aws::Amplify
113
113
  # Amplify app.
114
114
  # @return [Types::AutoBranchCreationConfig]
115
115
  #
116
+ # @!attribute [rw] repository_clone_method
117
+ # <note markdown="1"> This is for internal use.
118
+ #
119
+ # </note>
120
+ #
121
+ # The Amplify service uses this parameter to specify the
122
+ # authentication protocol to use to access the Git repository for an
123
+ # Amplify app. Amplify specifies `TOKEN` for a GitHub repository,
124
+ # `SIGV4` for an Amazon Web Services CodeCommit repository, and `SSH`
125
+ # for GitLab and Bitbucket repositories.
126
+ # @return [String]
127
+ #
116
128
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/App AWS API Documentation
117
129
  #
118
130
  class App < Struct.new(
@@ -138,8 +150,9 @@ module Aws::Amplify
138
150
  :custom_headers,
139
151
  :enable_auto_branch_creation,
140
152
  :auto_branch_creation_patterns,
141
- :auto_branch_creation_config)
142
- SENSITIVE = [:basic_auth_credentials]
153
+ :auto_branch_creation_config,
154
+ :repository_clone_method)
155
+ SENSITIVE = [:basic_auth_credentials, :build_spec]
143
156
  include Aws::Structure
144
157
  end
145
158
 
@@ -242,7 +255,7 @@ module Aws::Amplify
242
255
  :build_spec,
243
256
  :enable_pull_request_preview,
244
257
  :pull_request_environment_name)
245
- SENSITIVE = [:basic_auth_credentials]
258
+ SENSITIVE = [:basic_auth_credentials, :build_spec]
246
259
  include Aws::Structure
247
260
  end
248
261
 
@@ -455,7 +468,7 @@ module Aws::Amplify
455
468
  :destination_branch,
456
469
  :source_branch,
457
470
  :backend_environment_arn)
458
- SENSITIVE = [:basic_auth_credentials]
471
+ SENSITIVE = [:basic_auth_credentials, :build_spec]
459
472
  include Aws::Structure
460
473
  end
461
474
 
@@ -468,7 +481,7 @@ module Aws::Amplify
468
481
  # name: "Name", # required
469
482
  # description: "Description",
470
483
  # repository: "Repository",
471
- # platform: "WEB", # accepts WEB
484
+ # platform: "WEB", # accepts WEB, WEB_DYNAMIC
472
485
  # iam_service_role_arn: "ServiceRoleArn",
473
486
  # oauth_token: "OauthToken",
474
487
  # access_token: "AccessToken",
@@ -534,13 +547,49 @@ module Aws::Amplify
534
547
  # @!attribute [rw] oauth_token
535
548
  # The OAuth token for a third-party source control system for an
536
549
  # Amplify app. The OAuth token is used to create a webhook and a
537
- # read-only deploy key. The OAuth token is not stored.
550
+ # read-only deploy key using SSH cloning. The OAuth token is not
551
+ # stored.
552
+ #
553
+ # Use `oauthToken` for repository providers other than GitHub, such as
554
+ # Bitbucket or CodeCommit. To authorize access to GitHub as your
555
+ # repository provider, use `accessToken`.
556
+ #
557
+ # You must specify either `oauthToken` or `accessToken` when you
558
+ # create a new app.
559
+ #
560
+ # Existing Amplify apps deployed from a GitHub repository using OAuth
561
+ # continue to work with CI/CD. However, we strongly recommend that you
562
+ # migrate these apps to use the GitHub App. For more information, see
563
+ # [Migrating an existing OAuth app to the Amplify GitHub App][1] in
564
+ # the *Amplify User Guide* .
565
+ #
566
+ #
567
+ #
568
+ # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
538
569
  # @return [String]
539
570
  #
540
571
  # @!attribute [rw] access_token
541
- # The personal access token for a third-party source control system
542
- # for an Amplify app. The personal access token is used to create a
543
- # webhook and a read-only deploy key. The token is not stored.
572
+ # The personal access token for a GitHub repository for an Amplify
573
+ # app. The personal access token is used to authorize access to a
574
+ # GitHub repository using the Amplify GitHub App. The token is not
575
+ # stored.
576
+ #
577
+ # Use `accessToken` for GitHub repositories only. To authorize access
578
+ # to a repository provider such as Bitbucket or CodeCommit, use
579
+ # `oauthToken`.
580
+ #
581
+ # You must specify either `accessToken` or `oauthToken` when you
582
+ # create a new app.
583
+ #
584
+ # Existing Amplify apps deployed from a GitHub repository using OAuth
585
+ # continue to work with CI/CD. However, we strongly recommend that you
586
+ # migrate these apps to use the GitHub App. For more information, see
587
+ # [Migrating an existing OAuth app to the Amplify GitHub App][1] in
588
+ # the *Amplify User Guide* .
589
+ #
590
+ #
591
+ #
592
+ # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
544
593
  # @return [String]
545
594
  #
546
595
  # @!attribute [rw] environment_variables
@@ -617,7 +666,7 @@ module Aws::Amplify
617
666
  :enable_auto_branch_creation,
618
667
  :auto_branch_creation_patterns,
619
668
  :auto_branch_creation_config)
620
- SENSITIVE = [:oauth_token, :access_token, :basic_auth_credentials]
669
+ SENSITIVE = [:oauth_token, :access_token, :basic_auth_credentials, :build_spec]
621
670
  include Aws::Structure
622
671
  end
623
672
 
@@ -819,7 +868,7 @@ module Aws::Amplify
819
868
  :enable_pull_request_preview,
820
869
  :pull_request_environment_name,
821
870
  :backend_environment_arn)
822
- SENSITIVE = [:basic_auth_credentials]
871
+ SENSITIVE = [:basic_auth_credentials, :build_spec]
823
872
  include Aws::Structure
824
873
  end
825
874
 
@@ -2728,7 +2777,7 @@ module Aws::Amplify
2728
2777
  # app_id: "AppId", # required
2729
2778
  # name: "Name",
2730
2779
  # description: "Description",
2731
- # platform: "WEB", # accepts WEB
2780
+ # platform: "WEB", # accepts WEB, WEB_DYNAMIC
2732
2781
  # iam_service_role_arn: "ServiceRoleArn",
2733
2782
  # environment_variables: {
2734
2783
  # "EnvKey" => "EnvValue",
@@ -2843,14 +2892,52 @@ module Aws::Amplify
2843
2892
  #
2844
2893
  # @!attribute [rw] oauth_token
2845
2894
  # The OAuth token for a third-party source control system for an
2846
- # Amplify app. The token is used to create a webhook and a read-only
2847
- # deploy key. The OAuth token is not stored.
2895
+ # Amplify app. The OAuth token is used to create a webhook and a
2896
+ # read-only deploy key using SSH cloning. The OAuth token is not
2897
+ # stored.
2898
+ #
2899
+ # Use `oauthToken` for repository providers other than GitHub, such as
2900
+ # Bitbucket or CodeCommit.
2901
+ #
2902
+ # To authorize access to GitHub as your repository provider, use
2903
+ # `accessToken`.
2904
+ #
2905
+ # You must specify either `oauthToken` or `accessToken` when you
2906
+ # update an app.
2907
+ #
2908
+ # Existing Amplify apps deployed from a GitHub repository using OAuth
2909
+ # continue to work with CI/CD. However, we strongly recommend that you
2910
+ # migrate these apps to use the GitHub App. For more information, see
2911
+ # [Migrating an existing OAuth app to the Amplify GitHub App][1] in
2912
+ # the *Amplify User Guide* .
2913
+ #
2914
+ #
2915
+ #
2916
+ # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2848
2917
  # @return [String]
2849
2918
  #
2850
2919
  # @!attribute [rw] access_token
2851
- # The personal access token for a third-party source control system
2852
- # for an Amplify app. The token is used to create webhook and a
2853
- # read-only deploy key. The token is not stored.
2920
+ # The personal access token for a GitHub repository for an Amplify
2921
+ # app. The personal access token is used to authorize access to a
2922
+ # GitHub repository using the Amplify GitHub App. The token is not
2923
+ # stored.
2924
+ #
2925
+ # Use `accessToken` for GitHub repositories only. To authorize access
2926
+ # to a repository provider such as Bitbucket or CodeCommit, use
2927
+ # `oauthToken`.
2928
+ #
2929
+ # You must specify either `accessToken` or `oauthToken` when you
2930
+ # update an app.
2931
+ #
2932
+ # Existing Amplify apps deployed from a GitHub repository using OAuth
2933
+ # continue to work with CI/CD. However, we strongly recommend that you
2934
+ # migrate these apps to use the GitHub App. For more information, see
2935
+ # [Migrating an existing OAuth app to the Amplify GitHub App][1] in
2936
+ # the *Amplify User Guide* .
2937
+ #
2938
+ #
2939
+ #
2940
+ # [1]: https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth
2854
2941
  # @return [String]
2855
2942
  #
2856
2943
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateAppRequest AWS API Documentation
@@ -2875,7 +2962,7 @@ module Aws::Amplify
2875
2962
  :repository,
2876
2963
  :oauth_token,
2877
2964
  :access_token)
2878
- SENSITIVE = [:basic_auth_credentials, :oauth_token, :access_token]
2965
+ SENSITIVE = [:basic_auth_credentials, :build_spec, :oauth_token, :access_token]
2879
2966
  include Aws::Structure
2880
2967
  end
2881
2968
 
@@ -3017,7 +3104,7 @@ module Aws::Amplify
3017
3104
  :enable_pull_request_preview,
3018
3105
  :pull_request_environment_name,
3019
3106
  :backend_environment_arn)
3020
- SENSITIVE = [:basic_auth_credentials]
3107
+ SENSITIVE = [:basic_auth_credentials, :build_spec]
3021
3108
  include Aws::Structure
3022
3109
  end
3023
3110
 
@@ -3045,7 +3132,7 @@ module Aws::Amplify
3045
3132
  # app_id: "AppId", # required
3046
3133
  # domain_name: "DomainName", # required
3047
3134
  # enable_auto_sub_domain: false,
3048
- # sub_domain_settings: [ # required
3135
+ # sub_domain_settings: [
3049
3136
  # {
3050
3137
  # prefix: "DomainPrefix", # required
3051
3138
  # branch_name: "BranchName", # required
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-amplify/customizations'
48
48
  # @!group service
49
49
  module Aws::Amplify
50
50
 
51
- GEM_VERSION = '1.38.0'
51
+ GEM_VERSION = '1.41.0'
52
52
 
53
53
  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.38.0
4
+ version: 1.41.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: 2022-02-03 00:00:00.000000000 Z
11
+ date: 2022-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.126.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.126.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement