aws-sdk-amplify 1.39.0 → 1.40.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: aee1200aac76513b4dc1115eb4392a651fd42c04539bb6c863ee908ce4444c99
4
- data.tar.gz: 8dd24cbaa1613e71877e1046ca1838e202f16073e4408a338a35c8096a4a5359
3
+ metadata.gz: e8aaba6038e74fbd149ada57f61d84419f5efe2522ecb160b9a6e22933b12fc5
4
+ data.tar.gz: 9ca907b9ec04e459c2745668fa01b8a8a168f9c3058652d71c8ae210457a671f
5
5
  SHA512:
6
- metadata.gz: 531c2120576b5048777d61ae146ea1e4270bf570233f36a7234db87a1c41bda1e2c42b8e9218c488732bf0d92b30b62dfd0803aaafcf8c41db9e93011eb41599
7
- data.tar.gz: '0939f5afbdb123e5fd5dce36a3780d24d3493e73166d561a72d910309e04b0ddf56f6f4ec5759a397f33d6b035abcc69b8d3e4ba412f1d6bc6a3e185fa14466e'
6
+ metadata.gz: 3ffb1dbfe7c7d4f0e7575e3fe5c6277a020a0f9c7dfdf4c07ab1ae4031c353129ab2e89086e8e9daf58d9e85322cfde9bd88c3a1c97b33f81f7d893ce24a00c9
7
+ data.tar.gz: 9eecd7224525d8e416d93f7f0b23a1f2f059890fd075e470fed10e2d202cc08336cd18b4950a9ab289c06b9f296836e95141c07b790add35bf03c7948c9eba7c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.40.0 (2022-02-28)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.39.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.40.0
@@ -429,7 +429,7 @@ module Aws::Amplify
429
429
  # name: "Name", # required
430
430
  # description: "Description",
431
431
  # repository: "Repository",
432
- # platform: "WEB", # accepts WEB
432
+ # platform: "WEB", # accepts WEB, WEB_DYNAMIC
433
433
  # iam_service_role_arn: "ServiceRoleArn",
434
434
  # oauth_token: "OauthToken",
435
435
  # access_token: "AccessToken",
@@ -480,7 +480,7 @@ module Aws::Amplify
480
480
  # resp.app.tags["TagKey"] #=> String
481
481
  # resp.app.description #=> String
482
482
  # resp.app.repository #=> String
483
- # resp.app.platform #=> String, one of "WEB"
483
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
484
484
  # resp.app.create_time #=> Time
485
485
  # resp.app.update_time #=> Time
486
486
  # resp.app.iam_service_role_arn #=> String
@@ -516,6 +516,7 @@ module Aws::Amplify
516
516
  # resp.app.auto_branch_creation_config.build_spec #=> String
517
517
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
518
518
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
519
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
519
520
  #
520
521
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp AWS API Documentation
521
522
  #
@@ -891,7 +892,7 @@ module Aws::Amplify
891
892
  # resp.app.tags["TagKey"] #=> String
892
893
  # resp.app.description #=> String
893
894
  # resp.app.repository #=> String
894
- # resp.app.platform #=> String, one of "WEB"
895
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
895
896
  # resp.app.create_time #=> Time
896
897
  # resp.app.update_time #=> Time
897
898
  # resp.app.iam_service_role_arn #=> String
@@ -927,6 +928,7 @@ module Aws::Amplify
927
928
  # resp.app.auto_branch_creation_config.build_spec #=> String
928
929
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
929
930
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
931
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
930
932
  #
931
933
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp AWS API Documentation
932
934
  #
@@ -1226,7 +1228,7 @@ module Aws::Amplify
1226
1228
  # resp.app.tags["TagKey"] #=> String
1227
1229
  # resp.app.description #=> String
1228
1230
  # resp.app.repository #=> String
1229
- # resp.app.platform #=> String, one of "WEB"
1231
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
1230
1232
  # resp.app.create_time #=> Time
1231
1233
  # resp.app.update_time #=> Time
1232
1234
  # resp.app.iam_service_role_arn #=> String
@@ -1262,6 +1264,7 @@ module Aws::Amplify
1262
1264
  # resp.app.auto_branch_creation_config.build_spec #=> String
1263
1265
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
1264
1266
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
1267
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
1265
1268
  #
1266
1269
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp AWS API Documentation
1267
1270
  #
@@ -1569,7 +1572,7 @@ module Aws::Amplify
1569
1572
  # resp.apps[0].tags["TagKey"] #=> String
1570
1573
  # resp.apps[0].description #=> String
1571
1574
  # resp.apps[0].repository #=> String
1572
- # resp.apps[0].platform #=> String, one of "WEB"
1575
+ # resp.apps[0].platform #=> String, one of "WEB", "WEB_DYNAMIC"
1573
1576
  # resp.apps[0].create_time #=> Time
1574
1577
  # resp.apps[0].update_time #=> Time
1575
1578
  # resp.apps[0].iam_service_role_arn #=> String
@@ -1605,6 +1608,7 @@ module Aws::Amplify
1605
1608
  # resp.apps[0].auto_branch_creation_config.build_spec #=> String
1606
1609
  # resp.apps[0].auto_branch_creation_config.enable_pull_request_preview #=> Boolean
1607
1610
  # resp.apps[0].auto_branch_creation_config.pull_request_environment_name #=> String
1611
+ # resp.apps[0].repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
1608
1612
  # resp.next_token #=> String
1609
1613
  #
1610
1614
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps AWS API Documentation
@@ -2267,7 +2271,7 @@ module Aws::Amplify
2267
2271
  # app_id: "AppId", # required
2268
2272
  # name: "Name",
2269
2273
  # description: "Description",
2270
- # platform: "WEB", # accepts WEB
2274
+ # platform: "WEB", # accepts WEB, WEB_DYNAMIC
2271
2275
  # iam_service_role_arn: "ServiceRoleArn",
2272
2276
  # environment_variables: {
2273
2277
  # "EnvKey" => "EnvValue",
@@ -2316,7 +2320,7 @@ module Aws::Amplify
2316
2320
  # resp.app.tags["TagKey"] #=> String
2317
2321
  # resp.app.description #=> String
2318
2322
  # resp.app.repository #=> String
2319
- # resp.app.platform #=> String, one of "WEB"
2323
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
2320
2324
  # resp.app.create_time #=> Time
2321
2325
  # resp.app.update_time #=> Time
2322
2326
  # resp.app.iam_service_role_arn #=> String
@@ -2352,6 +2356,7 @@ module Aws::Amplify
2352
2356
  # resp.app.auto_branch_creation_config.build_spec #=> String
2353
2357
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
2354
2358
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
2359
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
2355
2360
  #
2356
2361
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp AWS API Documentation
2357
2362
  #
@@ -2506,7 +2511,7 @@ module Aws::Amplify
2506
2511
  # @option params [Boolean] :enable_auto_sub_domain
2507
2512
  # Enables the automated creation of subdomains for branches.
2508
2513
  #
2509
- # @option params [required, Array<Types::SubDomainSetting>] :sub_domain_settings
2514
+ # @option params [Array<Types::SubDomainSetting>] :sub_domain_settings
2510
2515
  # Describes the settings for the subdomain.
2511
2516
  #
2512
2517
  # @option params [Array<String>] :auto_sub_domain_creation_patterns
@@ -2526,7 +2531,7 @@ module Aws::Amplify
2526
2531
  # app_id: "AppId", # required
2527
2532
  # domain_name: "DomainName", # required
2528
2533
  # enable_auto_sub_domain: false,
2529
- # sub_domain_settings: [ # required
2534
+ # sub_domain_settings: [
2530
2535
  # {
2531
2536
  # prefix: "DomainPrefix", # required
2532
2537
  # branch_name: "BranchName", # required
@@ -2617,7 +2622,7 @@ module Aws::Amplify
2617
2622
  params: params,
2618
2623
  config: config)
2619
2624
  context[:gem_name] = 'aws-sdk-amplify'
2620
- context[:gem_version] = '1.39.0'
2625
+ context[:gem_version] = '1.40.0'
2621
2626
  Seahorse::Client::Request.new(handlers, context)
2622
2627
  end
2623
2628
 
@@ -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,13 @@ module Aws::Amplify
113
113
  # Amplify app.
114
114
  # @return [Types::AutoBranchCreationConfig]
115
115
  #
116
+ # @!attribute [rw] repository_clone_method
117
+ # The authentication protocol to use to access the Git repository for
118
+ # an Amplify app. For a GitHub repository, specify `TOKEN`. For an
119
+ # Amazon Web Services CodeCommit repository, specify `SIGV4`. For
120
+ # GitLab and Bitbucket repositories, specify `SSH`.
121
+ # @return [String]
122
+ #
116
123
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/App AWS API Documentation
117
124
  #
118
125
  class App < Struct.new(
@@ -138,8 +145,9 @@ module Aws::Amplify
138
145
  :custom_headers,
139
146
  :enable_auto_branch_creation,
140
147
  :auto_branch_creation_patterns,
141
- :auto_branch_creation_config)
142
- SENSITIVE = [:basic_auth_credentials]
148
+ :auto_branch_creation_config,
149
+ :repository_clone_method)
150
+ SENSITIVE = [:basic_auth_credentials, :build_spec]
143
151
  include Aws::Structure
144
152
  end
145
153
 
@@ -242,7 +250,7 @@ module Aws::Amplify
242
250
  :build_spec,
243
251
  :enable_pull_request_preview,
244
252
  :pull_request_environment_name)
245
- SENSITIVE = [:basic_auth_credentials]
253
+ SENSITIVE = [:basic_auth_credentials, :build_spec]
246
254
  include Aws::Structure
247
255
  end
248
256
 
@@ -455,7 +463,7 @@ module Aws::Amplify
455
463
  :destination_branch,
456
464
  :source_branch,
457
465
  :backend_environment_arn)
458
- SENSITIVE = [:basic_auth_credentials]
466
+ SENSITIVE = [:basic_auth_credentials, :build_spec]
459
467
  include Aws::Structure
460
468
  end
461
469
 
@@ -468,7 +476,7 @@ module Aws::Amplify
468
476
  # name: "Name", # required
469
477
  # description: "Description",
470
478
  # repository: "Repository",
471
- # platform: "WEB", # accepts WEB
479
+ # platform: "WEB", # accepts WEB, WEB_DYNAMIC
472
480
  # iam_service_role_arn: "ServiceRoleArn",
473
481
  # oauth_token: "OauthToken",
474
482
  # access_token: "AccessToken",
@@ -617,7 +625,7 @@ module Aws::Amplify
617
625
  :enable_auto_branch_creation,
618
626
  :auto_branch_creation_patterns,
619
627
  :auto_branch_creation_config)
620
- SENSITIVE = [:oauth_token, :access_token, :basic_auth_credentials]
628
+ SENSITIVE = [:oauth_token, :access_token, :basic_auth_credentials, :build_spec]
621
629
  include Aws::Structure
622
630
  end
623
631
 
@@ -819,7 +827,7 @@ module Aws::Amplify
819
827
  :enable_pull_request_preview,
820
828
  :pull_request_environment_name,
821
829
  :backend_environment_arn)
822
- SENSITIVE = [:basic_auth_credentials]
830
+ SENSITIVE = [:basic_auth_credentials, :build_spec]
823
831
  include Aws::Structure
824
832
  end
825
833
 
@@ -2728,7 +2736,7 @@ module Aws::Amplify
2728
2736
  # app_id: "AppId", # required
2729
2737
  # name: "Name",
2730
2738
  # description: "Description",
2731
- # platform: "WEB", # accepts WEB
2739
+ # platform: "WEB", # accepts WEB, WEB_DYNAMIC
2732
2740
  # iam_service_role_arn: "ServiceRoleArn",
2733
2741
  # environment_variables: {
2734
2742
  # "EnvKey" => "EnvValue",
@@ -2875,7 +2883,7 @@ module Aws::Amplify
2875
2883
  :repository,
2876
2884
  :oauth_token,
2877
2885
  :access_token)
2878
- SENSITIVE = [:basic_auth_credentials, :oauth_token, :access_token]
2886
+ SENSITIVE = [:basic_auth_credentials, :build_spec, :oauth_token, :access_token]
2879
2887
  include Aws::Structure
2880
2888
  end
2881
2889
 
@@ -3017,7 +3025,7 @@ module Aws::Amplify
3017
3025
  :enable_pull_request_preview,
3018
3026
  :pull_request_environment_name,
3019
3027
  :backend_environment_arn)
3020
- SENSITIVE = [:basic_auth_credentials]
3028
+ SENSITIVE = [:basic_auth_credentials, :build_spec]
3021
3029
  include Aws::Structure
3022
3030
  end
3023
3031
 
@@ -3045,7 +3053,7 @@ module Aws::Amplify
3045
3053
  # app_id: "AppId", # required
3046
3054
  # domain_name: "DomainName", # required
3047
3055
  # enable_auto_sub_domain: false,
3048
- # sub_domain_settings: [ # required
3056
+ # sub_domain_settings: [
3049
3057
  # {
3050
3058
  # prefix: "DomainPrefix", # required
3051
3059
  # 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.39.0'
51
+ GEM_VERSION = '1.40.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.39.0
4
+ version: 1.40.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-24 00:00:00.000000000 Z
11
+ date: 2022-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core