aws-sdk-amplify 1.37.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: c29dbcff5755048f52fe9aa8c23c8bfdd7bddfb24f56c5b6b74b986ac3b822a3
4
- data.tar.gz: 4a952e63123a29f07683ce204e7dad23bd22fe44e0aa69e4d9db955059a2783d
3
+ metadata.gz: e8aaba6038e74fbd149ada57f61d84419f5efe2522ecb160b9a6e22933b12fc5
4
+ data.tar.gz: 9ca907b9ec04e459c2745668fa01b8a8a168f9c3058652d71c8ae210457a671f
5
5
  SHA512:
6
- metadata.gz: 71fb91a1293e29fbb38b3fe64b2489b816bb583717135e484ae830338e9545677aa127551dcde4958a43cd459ede9454908b64d83de221ace905d46537c2f1b8
7
- data.tar.gz: 11967d5e5d4a6db827fafced7b4454c446f857268f205f7eff6cc6be0fa2e8101f920dcf24948276d0a4c4bebe0f5c8fd7dfff7269a4ac8b7f376eb75c7b59ad
6
+ metadata.gz: 3ffb1dbfe7c7d4f0e7575e3fe5c6277a020a0f9c7dfdf4c07ab1ae4031c353129ab2e89086e8e9daf58d9e85322cfde9bd88c3a1c97b33f81f7d893ce24a00c9
7
+ data.tar.gz: 9eecd7224525d8e416d93f7f0b23a1f2f059890fd075e470fed10e2d202cc08336cd18b4950a9ab289c06b9f296836e95141c07b790add35bf03c7948c9eba7c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
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
+
9
+ 1.39.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.38.0 (2022-02-03)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.37.0 (2022-01-27)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.40.0
@@ -27,7 +27,9 @@ 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'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
33
35
 
@@ -74,7 +76,9 @@ module Aws::Amplify
74
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
75
77
  add_plugin(Aws::Plugins::TransferEncoding)
76
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
77
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
78
82
  add_plugin(Aws::Plugins::SignatureV4)
79
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
80
84
 
@@ -425,7 +429,7 @@ module Aws::Amplify
425
429
  # name: "Name", # required
426
430
  # description: "Description",
427
431
  # repository: "Repository",
428
- # platform: "WEB", # accepts WEB
432
+ # platform: "WEB", # accepts WEB, WEB_DYNAMIC
429
433
  # iam_service_role_arn: "ServiceRoleArn",
430
434
  # oauth_token: "OauthToken",
431
435
  # access_token: "AccessToken",
@@ -476,7 +480,7 @@ module Aws::Amplify
476
480
  # resp.app.tags["TagKey"] #=> String
477
481
  # resp.app.description #=> String
478
482
  # resp.app.repository #=> String
479
- # resp.app.platform #=> String, one of "WEB"
483
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
480
484
  # resp.app.create_time #=> Time
481
485
  # resp.app.update_time #=> Time
482
486
  # resp.app.iam_service_role_arn #=> String
@@ -512,6 +516,7 @@ module Aws::Amplify
512
516
  # resp.app.auto_branch_creation_config.build_spec #=> String
513
517
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
514
518
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
519
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
515
520
  #
516
521
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp AWS API Documentation
517
522
  #
@@ -887,7 +892,7 @@ module Aws::Amplify
887
892
  # resp.app.tags["TagKey"] #=> String
888
893
  # resp.app.description #=> String
889
894
  # resp.app.repository #=> String
890
- # resp.app.platform #=> String, one of "WEB"
895
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
891
896
  # resp.app.create_time #=> Time
892
897
  # resp.app.update_time #=> Time
893
898
  # resp.app.iam_service_role_arn #=> String
@@ -923,6 +928,7 @@ module Aws::Amplify
923
928
  # resp.app.auto_branch_creation_config.build_spec #=> String
924
929
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
925
930
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
931
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
926
932
  #
927
933
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp AWS API Documentation
928
934
  #
@@ -1222,7 +1228,7 @@ module Aws::Amplify
1222
1228
  # resp.app.tags["TagKey"] #=> String
1223
1229
  # resp.app.description #=> String
1224
1230
  # resp.app.repository #=> String
1225
- # resp.app.platform #=> String, one of "WEB"
1231
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
1226
1232
  # resp.app.create_time #=> Time
1227
1233
  # resp.app.update_time #=> Time
1228
1234
  # resp.app.iam_service_role_arn #=> String
@@ -1258,6 +1264,7 @@ module Aws::Amplify
1258
1264
  # resp.app.auto_branch_creation_config.build_spec #=> String
1259
1265
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
1260
1266
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
1267
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
1261
1268
  #
1262
1269
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp AWS API Documentation
1263
1270
  #
@@ -1565,7 +1572,7 @@ module Aws::Amplify
1565
1572
  # resp.apps[0].tags["TagKey"] #=> String
1566
1573
  # resp.apps[0].description #=> String
1567
1574
  # resp.apps[0].repository #=> String
1568
- # resp.apps[0].platform #=> String, one of "WEB"
1575
+ # resp.apps[0].platform #=> String, one of "WEB", "WEB_DYNAMIC"
1569
1576
  # resp.apps[0].create_time #=> Time
1570
1577
  # resp.apps[0].update_time #=> Time
1571
1578
  # resp.apps[0].iam_service_role_arn #=> String
@@ -1601,6 +1608,7 @@ module Aws::Amplify
1601
1608
  # resp.apps[0].auto_branch_creation_config.build_spec #=> String
1602
1609
  # resp.apps[0].auto_branch_creation_config.enable_pull_request_preview #=> Boolean
1603
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"
1604
1612
  # resp.next_token #=> String
1605
1613
  #
1606
1614
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps AWS API Documentation
@@ -2263,7 +2271,7 @@ module Aws::Amplify
2263
2271
  # app_id: "AppId", # required
2264
2272
  # name: "Name",
2265
2273
  # description: "Description",
2266
- # platform: "WEB", # accepts WEB
2274
+ # platform: "WEB", # accepts WEB, WEB_DYNAMIC
2267
2275
  # iam_service_role_arn: "ServiceRoleArn",
2268
2276
  # environment_variables: {
2269
2277
  # "EnvKey" => "EnvValue",
@@ -2312,7 +2320,7 @@ module Aws::Amplify
2312
2320
  # resp.app.tags["TagKey"] #=> String
2313
2321
  # resp.app.description #=> String
2314
2322
  # resp.app.repository #=> String
2315
- # resp.app.platform #=> String, one of "WEB"
2323
+ # resp.app.platform #=> String, one of "WEB", "WEB_DYNAMIC"
2316
2324
  # resp.app.create_time #=> Time
2317
2325
  # resp.app.update_time #=> Time
2318
2326
  # resp.app.iam_service_role_arn #=> String
@@ -2348,6 +2356,7 @@ module Aws::Amplify
2348
2356
  # resp.app.auto_branch_creation_config.build_spec #=> String
2349
2357
  # resp.app.auto_branch_creation_config.enable_pull_request_preview #=> Boolean
2350
2358
  # resp.app.auto_branch_creation_config.pull_request_environment_name #=> String
2359
+ # resp.app.repository_clone_method #=> String, one of "SSH", "TOKEN", "SIGV4"
2351
2360
  #
2352
2361
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp AWS API Documentation
2353
2362
  #
@@ -2502,7 +2511,7 @@ module Aws::Amplify
2502
2511
  # @option params [Boolean] :enable_auto_sub_domain
2503
2512
  # Enables the automated creation of subdomains for branches.
2504
2513
  #
2505
- # @option params [required, Array<Types::SubDomainSetting>] :sub_domain_settings
2514
+ # @option params [Array<Types::SubDomainSetting>] :sub_domain_settings
2506
2515
  # Describes the settings for the subdomain.
2507
2516
  #
2508
2517
  # @option params [Array<String>] :auto_sub_domain_creation_patterns
@@ -2522,7 +2531,7 @@ module Aws::Amplify
2522
2531
  # app_id: "AppId", # required
2523
2532
  # domain_name: "DomainName", # required
2524
2533
  # enable_auto_sub_domain: false,
2525
- # sub_domain_settings: [ # required
2534
+ # sub_domain_settings: [
2526
2535
  # {
2527
2536
  # prefix: "DomainPrefix", # required
2528
2537
  # branch_name: "BranchName", # required
@@ -2613,7 +2622,7 @@ module Aws::Amplify
2613
2622
  params: params,
2614
2623
  config: config)
2615
2624
  context[:gem_name] = 'aws-sdk-amplify'
2616
- context[:gem_version] = '1.37.0'
2625
+ context[:gem_version] = '1.40.0'
2617
2626
  Seahorse::Client::Request.new(handlers, context)
2618
2627
  end
2619
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.37.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.37.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-01-27 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.125.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.125.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement