aws-sdk-amplify 1.43.0 → 1.44.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: d782632ffdff3aef8d0e5b24d89721e326d5de60b2e06f7c105a9440639dd858
4
- data.tar.gz: 900ab986c6a7ff71db7cfdee7cede7d6a469a84bd8d52daf9317e0c8d750053e
3
+ metadata.gz: 6294645fbc201a157fefd959ca04a62030489ce877431f9c340b14462df9f24d
4
+ data.tar.gz: 8cf093db4c2ed574ac39010ad1b910862282290c658ad409bb910daceae779c8
5
5
  SHA512:
6
- metadata.gz: 0cf57e33a02937e4ebc7e4b60cbf6dcb2ae713487b75101cf591b0676c3a95c614fc667de3c9cfdbc11e7754120dcdfc2cdf7630c1f34651bc9bf78d7108dca1
7
- data.tar.gz: 4ddb96deb18eacb81e0ff2de96ceb7ddd2a95d0e6b510a1e3796659a4921486a4e860f4eaacd5568dd5c61bdbbdf80f3388345d21cd31624686b03a861d3c1ee
6
+ metadata.gz: a7556b158d342d186e4d155bdefcf2d60fb425d2e3e7a98969c88d6b132e7c34bb70dfd622fc2148e80a4cc0d8f7d98b3dc40241928867e2b44731b91b18be37
7
+ data.tar.gz: 187811e43682b0b803ed3fe78777871725a732154db4d22636165387d438b9d380532a39575c65934f03c91dfd7a8a5e5c7588c100330ab893e3d2b896ddb009
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.43.0 (2022-11-17)
5
12
  ------------------
6
13
 
@@ -225,4 +232,4 @@ Unreleased Changes
225
232
  1.0.0 (2018-11-26)
226
233
  ------------------
227
234
 
228
- * Feature - Initial release of `aws-sdk-amplify`.
235
+ * Feature - Initial release of `aws-sdk-amplify`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.44.0
@@ -2717,7 +2717,7 @@ module Aws::Amplify
2717
2717
  params: params,
2718
2718
  config: config)
2719
2719
  context[:gem_name] = 'aws-sdk-amplify'
2720
- context[:gem_version] = '1.43.0'
2720
+ context[:gem_version] = '1.44.0'
2721
2721
  Seahorse::Client::Request.new(handlers, context)
2722
2722
  end
2723
2723
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::Amplify
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://amplify-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://amplify-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://amplify.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://amplify.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBl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5zU3VmZml4
101
- fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRw
102
- b2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sg
103
- aXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9y
104
- dCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6
105
- W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vYW1wbGlmeS57UmVnaW9u
106
- fS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
107
- fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -181,24 +181,6 @@ module Aws::Amplify
181
181
 
182
182
  # Describes the automated branch creation configuration.
183
183
  #
184
- # @note When making an API call, you may pass AutoBranchCreationConfig
185
- # data as a hash:
186
- #
187
- # {
188
- # stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
189
- # framework: "Framework",
190
- # enable_auto_build: false,
191
- # environment_variables: {
192
- # "EnvKey" => "EnvValue",
193
- # },
194
- # basic_auth_credentials: "BasicAuthCredentials",
195
- # enable_basic_auth: false,
196
- # enable_performance_mode: false,
197
- # build_spec: "BuildSpec",
198
- # enable_pull_request_preview: false,
199
- # pull_request_environment_name: "PullRequestEnvironmentName",
200
- # }
201
- #
202
184
  # @!attribute [rw] stage
203
185
  # Describes the current stage for the autocreated branch.
204
186
  # @return [String]
@@ -478,55 +460,6 @@ module Aws::Amplify
478
460
 
479
461
  # The request structure used to create apps in Amplify.
480
462
  #
481
- # @note When making an API call, you may pass CreateAppRequest
482
- # data as a hash:
483
- #
484
- # {
485
- # name: "Name", # required
486
- # description: "Description",
487
- # repository: "Repository",
488
- # platform: "WEB", # accepts WEB, WEB_DYNAMIC, WEB_COMPUTE
489
- # iam_service_role_arn: "ServiceRoleArn",
490
- # oauth_token: "OauthToken",
491
- # access_token: "AccessToken",
492
- # environment_variables: {
493
- # "EnvKey" => "EnvValue",
494
- # },
495
- # enable_branch_auto_build: false,
496
- # enable_branch_auto_deletion: false,
497
- # enable_basic_auth: false,
498
- # basic_auth_credentials: "BasicAuthCredentials",
499
- # custom_rules: [
500
- # {
501
- # source: "Source", # required
502
- # target: "Target", # required
503
- # status: "Status",
504
- # condition: "Condition",
505
- # },
506
- # ],
507
- # tags: {
508
- # "TagKey" => "TagValue",
509
- # },
510
- # build_spec: "BuildSpec",
511
- # custom_headers: "CustomHeaders",
512
- # enable_auto_branch_creation: false,
513
- # auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
514
- # auto_branch_creation_config: {
515
- # stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
516
- # framework: "Framework",
517
- # enable_auto_build: false,
518
- # environment_variables: {
519
- # "EnvKey" => "EnvValue",
520
- # },
521
- # basic_auth_credentials: "BasicAuthCredentials",
522
- # enable_basic_auth: false,
523
- # enable_performance_mode: false,
524
- # build_spec: "BuildSpec",
525
- # enable_pull_request_preview: false,
526
- # pull_request_environment_name: "PullRequestEnvironmentName",
527
- # },
528
- # }
529
- #
530
463
  # @!attribute [rw] name
531
464
  # The name for an Amplify app.
532
465
  # @return [String]
@@ -693,16 +626,6 @@ module Aws::Amplify
693
626
 
694
627
  # The request structure for the backend environment create request.
695
628
  #
696
- # @note When making an API call, you may pass CreateBackendEnvironmentRequest
697
- # data as a hash:
698
- #
699
- # {
700
- # app_id: "AppId", # required
701
- # environment_name: "EnvironmentName", # required
702
- # stack_name: "StackName",
703
- # deployment_artifacts: "DeploymentArtifacts",
704
- # }
705
- #
706
629
  # @!attribute [rw] app_id
707
630
  # The unique ID for an Amplify app.
708
631
  # @return [String]
@@ -746,34 +669,6 @@ module Aws::Amplify
746
669
 
747
670
  # The request structure for the create branch request.
748
671
  #
749
- # @note When making an API call, you may pass CreateBranchRequest
750
- # data as a hash:
751
- #
752
- # {
753
- # app_id: "AppId", # required
754
- # branch_name: "BranchName", # required
755
- # description: "Description",
756
- # stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
757
- # framework: "Framework",
758
- # enable_notification: false,
759
- # enable_auto_build: false,
760
- # environment_variables: {
761
- # "EnvKey" => "EnvValue",
762
- # },
763
- # basic_auth_credentials: "BasicAuthCredentials",
764
- # enable_basic_auth: false,
765
- # enable_performance_mode: false,
766
- # tags: {
767
- # "TagKey" => "TagValue",
768
- # },
769
- # build_spec: "BuildSpec",
770
- # ttl: "TTL",
771
- # display_name: "DisplayName",
772
- # enable_pull_request_preview: false,
773
- # pull_request_environment_name: "PullRequestEnvironmentName",
774
- # backend_environment_arn: "BackendEnvironmentArn",
775
- # }
776
- #
777
672
  # @!attribute [rw] app_id
778
673
  # The unique ID for an Amplify app.
779
674
  # @return [String]
@@ -897,17 +792,6 @@ module Aws::Amplify
897
792
 
898
793
  # The request structure for the create a new deployment request.
899
794
  #
900
- # @note When making an API call, you may pass CreateDeploymentRequest
901
- # data as a hash:
902
- #
903
- # {
904
- # app_id: "AppId", # required
905
- # branch_name: "BranchName", # required
906
- # file_map: {
907
- # "FileName" => "MD5Hash",
908
- # },
909
- # }
910
- #
911
795
  # @!attribute [rw] app_id
912
796
  # The unique ID for an Amplify app.
913
797
  # @return [String]
@@ -962,23 +846,6 @@ module Aws::Amplify
962
846
 
963
847
  # The request structure for the create domain association request.
964
848
  #
965
- # @note When making an API call, you may pass CreateDomainAssociationRequest
966
- # data as a hash:
967
- #
968
- # {
969
- # app_id: "AppId", # required
970
- # domain_name: "DomainName", # required
971
- # enable_auto_sub_domain: false,
972
- # sub_domain_settings: [ # required
973
- # {
974
- # prefix: "DomainPrefix", # required
975
- # branch_name: "BranchName", # required
976
- # },
977
- # ],
978
- # auto_sub_domain_creation_patterns: ["AutoSubDomainCreationPattern"],
979
- # auto_sub_domain_iam_role: "AutoSubDomainIAMRole",
980
- # }
981
- #
982
849
  # @!attribute [rw] app_id
983
850
  # The unique ID for an Amplify app.
984
851
  # @return [String]
@@ -1035,15 +902,6 @@ module Aws::Amplify
1035
902
 
1036
903
  # The request structure for the create webhook request.
1037
904
  #
1038
- # @note When making an API call, you may pass CreateWebhookRequest
1039
- # data as a hash:
1040
- #
1041
- # {
1042
- # app_id: "AppId", # required
1043
- # branch_name: "BranchName", # required
1044
- # description: "Description",
1045
- # }
1046
- #
1047
905
  # @!attribute [rw] app_id
1048
906
  # The unique ID for an Amplify app.
1049
907
  # @return [String]
@@ -1083,16 +941,6 @@ module Aws::Amplify
1083
941
 
1084
942
  # Describes a custom rewrite or redirect rule.
1085
943
  #
1086
- # @note When making an API call, you may pass CustomRule
1087
- # data as a hash:
1088
- #
1089
- # {
1090
- # source: "Source", # required
1091
- # target: "Target", # required
1092
- # status: "Status",
1093
- # condition: "Condition",
1094
- # }
1095
- #
1096
944
  # @!attribute [rw] source
1097
945
  # The source pattern for a URL rewrite or redirect rule.
1098
946
  # @return [String]
@@ -1144,13 +992,6 @@ module Aws::Amplify
1144
992
 
1145
993
  # Describes the request structure for the delete app request.
1146
994
  #
1147
- # @note When making an API call, you may pass DeleteAppRequest
1148
- # data as a hash:
1149
- #
1150
- # {
1151
- # app_id: "AppId", # required
1152
- # }
1153
- #
1154
995
  # @!attribute [rw] app_id
1155
996
  # The unique ID for an Amplify app.
1156
997
  # @return [String]
@@ -1180,14 +1021,6 @@ module Aws::Amplify
1180
1021
 
1181
1022
  # The request structure for the delete backend environment request.
1182
1023
  #
1183
- # @note When making an API call, you may pass DeleteBackendEnvironmentRequest
1184
- # data as a hash:
1185
- #
1186
- # {
1187
- # app_id: "AppId", # required
1188
- # environment_name: "EnvironmentName", # required
1189
- # }
1190
- #
1191
1024
  # @!attribute [rw] app_id
1192
1025
  # The unique ID of an Amplify app.
1193
1026
  # @return [String]
@@ -1221,14 +1054,6 @@ module Aws::Amplify
1221
1054
 
1222
1055
  # The request structure for the delete branch request.
1223
1056
  #
1224
- # @note When making an API call, you may pass DeleteBranchRequest
1225
- # data as a hash:
1226
- #
1227
- # {
1228
- # app_id: "AppId", # required
1229
- # branch_name: "BranchName", # required
1230
- # }
1231
- #
1232
1057
  # @!attribute [rw] app_id
1233
1058
  # The unique ID for an Amplify app.
1234
1059
  # @return [String]
@@ -1263,14 +1088,6 @@ module Aws::Amplify
1263
1088
 
1264
1089
  # The request structure for the delete domain association request.
1265
1090
  #
1266
- # @note When making an API call, you may pass DeleteDomainAssociationRequest
1267
- # data as a hash:
1268
- #
1269
- # {
1270
- # app_id: "AppId", # required
1271
- # domain_name: "DomainName", # required
1272
- # }
1273
- #
1274
1091
  # @!attribute [rw] app_id
1275
1092
  # The unique id for an Amplify app.
1276
1093
  # @return [String]
@@ -1303,15 +1120,6 @@ module Aws::Amplify
1303
1120
 
1304
1121
  # The request structure for the delete job request.
1305
1122
  #
1306
- # @note When making an API call, you may pass DeleteJobRequest
1307
- # data as a hash:
1308
- #
1309
- # {
1310
- # app_id: "AppId", # required
1311
- # branch_name: "BranchName", # required
1312
- # job_id: "JobId", # required
1313
- # }
1314
- #
1315
1123
  # @!attribute [rw] app_id
1316
1124
  # The unique ID for an Amplify app.
1317
1125
  # @return [String]
@@ -1350,13 +1158,6 @@ module Aws::Amplify
1350
1158
 
1351
1159
  # The request structure for the delete webhook request.
1352
1160
  #
1353
- # @note When making an API call, you may pass DeleteWebhookRequest
1354
- # data as a hash:
1355
- #
1356
- # {
1357
- # webhook_id: "WebhookId", # required
1358
- # }
1359
- #
1360
1161
  # @!attribute [rw] webhook_id
1361
1162
  # The unique ID for a webhook.
1362
1163
  # @return [String]
@@ -1456,16 +1257,6 @@ module Aws::Amplify
1456
1257
 
1457
1258
  # The request structure for the generate access logs request.
1458
1259
  #
1459
- # @note When making an API call, you may pass GenerateAccessLogsRequest
1460
- # data as a hash:
1461
- #
1462
- # {
1463
- # start_time: Time.now,
1464
- # end_time: Time.now,
1465
- # domain_name: "DomainName", # required
1466
- # app_id: "AppId", # required
1467
- # }
1468
- #
1469
1260
  # @!attribute [rw] start_time
1470
1261
  # The time at which the logs should start. The time range specified is
1471
1262
  # inclusive of the start time.
@@ -1511,13 +1302,6 @@ module Aws::Amplify
1511
1302
 
1512
1303
  # The request structure for the get app request.
1513
1304
  #
1514
- # @note When making an API call, you may pass GetAppRequest
1515
- # data as a hash:
1516
- #
1517
- # {
1518
- # app_id: "AppId", # required
1519
- # }
1520
- #
1521
1305
  # @!attribute [rw] app_id
1522
1306
  # The unique ID for an Amplify app.
1523
1307
  # @return [String]
@@ -1545,13 +1329,6 @@ module Aws::Amplify
1545
1329
 
1546
1330
  # Returns the request structure for the get artifact request.
1547
1331
  #
1548
- # @note When making an API call, you may pass GetArtifactUrlRequest
1549
- # data as a hash:
1550
- #
1551
- # {
1552
- # artifact_id: "ArtifactId", # required
1553
- # }
1554
- #
1555
1332
  # @!attribute [rw] artifact_id
1556
1333
  # The unique ID for an artifact.
1557
1334
  # @return [String]
@@ -1585,14 +1362,6 @@ module Aws::Amplify
1585
1362
 
1586
1363
  # The request structure for the get backend environment request.
1587
1364
  #
1588
- # @note When making an API call, you may pass GetBackendEnvironmentRequest
1589
- # data as a hash:
1590
- #
1591
- # {
1592
- # app_id: "AppId", # required
1593
- # environment_name: "EnvironmentName", # required
1594
- # }
1595
- #
1596
1365
  # @!attribute [rw] app_id
1597
1366
  # The unique id for an Amplify app.
1598
1367
  # @return [String]
@@ -1626,14 +1395,6 @@ module Aws::Amplify
1626
1395
 
1627
1396
  # The request structure for the get branch request.
1628
1397
  #
1629
- # @note When making an API call, you may pass GetBranchRequest
1630
- # data as a hash:
1631
- #
1632
- # {
1633
- # app_id: "AppId", # required
1634
- # branch_name: "BranchName", # required
1635
- # }
1636
- #
1637
1398
  # @!attribute [rw] app_id
1638
1399
  # The unique ID for an Amplify app.
1639
1400
  # @return [String]
@@ -1666,14 +1427,6 @@ module Aws::Amplify
1666
1427
 
1667
1428
  # The request structure for the get domain association request.
1668
1429
  #
1669
- # @note When making an API call, you may pass GetDomainAssociationRequest
1670
- # data as a hash:
1671
- #
1672
- # {
1673
- # app_id: "AppId", # required
1674
- # domain_name: "DomainName", # required
1675
- # }
1676
- #
1677
1430
  # @!attribute [rw] app_id
1678
1431
  # The unique id for an Amplify app.
1679
1432
  # @return [String]
@@ -1708,15 +1461,6 @@ module Aws::Amplify
1708
1461
 
1709
1462
  # The request structure for the get job request.
1710
1463
  #
1711
- # @note When making an API call, you may pass GetJobRequest
1712
- # data as a hash:
1713
- #
1714
- # {
1715
- # app_id: "AppId", # required
1716
- # branch_name: "BranchName", # required
1717
- # job_id: "JobId", # required
1718
- # }
1719
- #
1720
1464
  # @!attribute [rw] app_id
1721
1465
  # The unique ID for an Amplify app.
1722
1466
  # @return [String]
@@ -1753,13 +1497,6 @@ module Aws::Amplify
1753
1497
 
1754
1498
  # The request structure for the get webhook request.
1755
1499
  #
1756
- # @note When making an API call, you may pass GetWebhookRequest
1757
- # data as a hash:
1758
- #
1759
- # {
1760
- # webhook_id: "WebhookId", # required
1761
- # }
1762
- #
1763
1500
  # @!attribute [rw] webhook_id
1764
1501
  # The unique ID for a webhook.
1765
1502
  # @return [String]
@@ -1892,14 +1629,6 @@ module Aws::Amplify
1892
1629
 
1893
1630
  # The request structure for the list apps request.
1894
1631
  #
1895
- # @note When making an API call, you may pass ListAppsRequest
1896
- # data as a hash:
1897
- #
1898
- # {
1899
- # next_token: "NextToken",
1900
- # max_results: 1,
1901
- # }
1902
- #
1903
1632
  # @!attribute [rw] next_token
1904
1633
  # A pagination token. If non-null, the pagination token is returned in
1905
1634
  # a result. Pass its value in another request to retrieve more
@@ -1942,17 +1671,6 @@ module Aws::Amplify
1942
1671
 
1943
1672
  # Describes the request structure for the list artifacts request.
1944
1673
  #
1945
- # @note When making an API call, you may pass ListArtifactsRequest
1946
- # data as a hash:
1947
- #
1948
- # {
1949
- # app_id: "AppId", # required
1950
- # branch_name: "BranchName", # required
1951
- # job_id: "JobId", # required
1952
- # next_token: "NextToken",
1953
- # max_results: 1,
1954
- # }
1955
- #
1956
1674
  # @!attribute [rw] app_id
1957
1675
  # The unique ID for an Amplify app.
1958
1676
  # @return [String]
@@ -2009,16 +1727,6 @@ module Aws::Amplify
2009
1727
 
2010
1728
  # The request structure for the list backend environments request.
2011
1729
  #
2012
- # @note When making an API call, you may pass ListBackendEnvironmentsRequest
2013
- # data as a hash:
2014
- #
2015
- # {
2016
- # app_id: "AppId", # required
2017
- # environment_name: "EnvironmentName",
2018
- # next_token: "NextToken",
2019
- # max_results: 1,
2020
- # }
2021
- #
2022
1730
  # @!attribute [rw] app_id
2023
1731
  # The unique ID for an Amplify app.
2024
1732
  # @return [String]
@@ -2071,15 +1779,6 @@ module Aws::Amplify
2071
1779
 
2072
1780
  # The request structure for the list branches request.
2073
1781
  #
2074
- # @note When making an API call, you may pass ListBranchesRequest
2075
- # data as a hash:
2076
- #
2077
- # {
2078
- # app_id: "AppId", # required
2079
- # next_token: "NextToken",
2080
- # max_results: 1,
2081
- # }
2082
- #
2083
1782
  # @!attribute [rw] app_id
2084
1783
  # The unique ID for an Amplify app.
2085
1784
  # @return [String]
@@ -2126,15 +1825,6 @@ module Aws::Amplify
2126
1825
 
2127
1826
  # The request structure for the list domain associations request.
2128
1827
  #
2129
- # @note When making an API call, you may pass ListDomainAssociationsRequest
2130
- # data as a hash:
2131
- #
2132
- # {
2133
- # app_id: "AppId", # required
2134
- # next_token: "NextToken",
2135
- # max_results: 1,
2136
- # }
2137
- #
2138
1828
  # @!attribute [rw] app_id
2139
1829
  # The unique ID for an Amplify app.
2140
1830
  # @return [String]
@@ -2181,16 +1871,6 @@ module Aws::Amplify
2181
1871
 
2182
1872
  # The request structure for the list jobs request.
2183
1873
  #
2184
- # @note When making an API call, you may pass ListJobsRequest
2185
- # data as a hash:
2186
- #
2187
- # {
2188
- # app_id: "AppId", # required
2189
- # branch_name: "BranchName", # required
2190
- # next_token: "NextToken",
2191
- # max_results: 1,
2192
- # }
2193
- #
2194
1874
  # @!attribute [rw] app_id
2195
1875
  # The unique ID for an Amplify app.
2196
1876
  # @return [String]
@@ -2243,13 +1923,6 @@ module Aws::Amplify
2243
1923
 
2244
1924
  # The request structure to use to list tags for a resource.
2245
1925
  #
2246
- # @note When making an API call, you may pass ListTagsForResourceRequest
2247
- # data as a hash:
2248
- #
2249
- # {
2250
- # resource_arn: "ResourceArn", # required
2251
- # }
2252
- #
2253
1926
  # @!attribute [rw] resource_arn
2254
1927
  # The Amazon Resource Name (ARN) to use to list tags.
2255
1928
  # @return [String]
@@ -2278,15 +1951,6 @@ module Aws::Amplify
2278
1951
 
2279
1952
  # The request structure for the list webhooks request.
2280
1953
  #
2281
- # @note When making an API call, you may pass ListWebhooksRequest
2282
- # data as a hash:
2283
- #
2284
- # {
2285
- # app_id: "AppId", # required
2286
- # next_token: "NextToken",
2287
- # max_results: 1,
2288
- # }
2289
- #
2290
1954
  # @!attribute [rw] app_id
2291
1955
  # The unique ID for an Amplify app.
2292
1956
  # @return [String]
@@ -2394,16 +2058,6 @@ module Aws::Amplify
2394
2058
 
2395
2059
  # The request structure for the start a deployment request.
2396
2060
  #
2397
- # @note When making an API call, you may pass StartDeploymentRequest
2398
- # data as a hash:
2399
- #
2400
- # {
2401
- # app_id: "AppId", # required
2402
- # branch_name: "BranchName", # required
2403
- # job_id: "JobId",
2404
- # source_url: "SourceUrl",
2405
- # }
2406
- #
2407
2061
  # @!attribute [rw] app_id
2408
2062
  # The unique ID for an Amplify app.
2409
2063
  # @return [String]
@@ -2451,20 +2105,6 @@ module Aws::Amplify
2451
2105
 
2452
2106
  # The request structure for the start job request.
2453
2107
  #
2454
- # @note When making an API call, you may pass StartJobRequest
2455
- # data as a hash:
2456
- #
2457
- # {
2458
- # app_id: "AppId", # required
2459
- # branch_name: "BranchName", # required
2460
- # job_id: "JobId",
2461
- # job_type: "RELEASE", # required, accepts RELEASE, RETRY, MANUAL, WEB_HOOK
2462
- # job_reason: "JobReason",
2463
- # commit_id: "CommitId",
2464
- # commit_message: "CommitMessage",
2465
- # commit_time: Time.now,
2466
- # }
2467
- #
2468
2108
  # @!attribute [rw] app_id
2469
2109
  # The unique ID for an Amplify app.
2470
2110
  # @return [String]
@@ -2599,15 +2239,6 @@ module Aws::Amplify
2599
2239
 
2600
2240
  # The request structure for the stop job request.
2601
2241
  #
2602
- # @note When making an API call, you may pass StopJobRequest
2603
- # data as a hash:
2604
- #
2605
- # {
2606
- # app_id: "AppId", # required
2607
- # branch_name: "BranchName", # required
2608
- # job_id: "JobId", # required
2609
- # }
2610
- #
2611
2242
  # @!attribute [rw] app_id
2612
2243
  # The unique ID for an Amplify app.
2613
2244
  # @return [String]
@@ -2670,14 +2301,6 @@ module Aws::Amplify
2670
2301
 
2671
2302
  # Describes the settings for the subdomain.
2672
2303
  #
2673
- # @note When making an API call, you may pass SubDomainSetting
2674
- # data as a hash:
2675
- #
2676
- # {
2677
- # prefix: "DomainPrefix", # required
2678
- # branch_name: "BranchName", # required
2679
- # }
2680
- #
2681
2304
  # @!attribute [rw] prefix
2682
2305
  # The prefix setting for the subdomain.
2683
2306
  # @return [String]
@@ -2697,16 +2320,6 @@ module Aws::Amplify
2697
2320
 
2698
2321
  # The request structure to tag a resource with a tag key and value.
2699
2322
  #
2700
- # @note When making an API call, you may pass TagResourceRequest
2701
- # data as a hash:
2702
- #
2703
- # {
2704
- # resource_arn: "ResourceArn", # required
2705
- # tags: { # required
2706
- # "TagKey" => "TagValue",
2707
- # },
2708
- # }
2709
- #
2710
2323
  # @!attribute [rw] resource_arn
2711
2324
  # The Amazon Resource Name (ARN) to use to tag a resource.
2712
2325
  # @return [String]
@@ -2745,14 +2358,6 @@ module Aws::Amplify
2745
2358
 
2746
2359
  # The request structure for the untag resource request.
2747
2360
  #
2748
- # @note When making an API call, you may pass UntagResourceRequest
2749
- # data as a hash:
2750
- #
2751
- # {
2752
- # resource_arn: "ResourceArn", # required
2753
- # tag_keys: ["TagKey"], # required
2754
- # }
2755
- #
2756
2361
  # @!attribute [rw] resource_arn
2757
2362
  # The Amazon Resource Name (ARN) to use to untag a resource.
2758
2363
  # @return [String]
@@ -2778,53 +2383,6 @@ module Aws::Amplify
2778
2383
 
2779
2384
  # The request structure for the update app request.
2780
2385
  #
2781
- # @note When making an API call, you may pass UpdateAppRequest
2782
- # data as a hash:
2783
- #
2784
- # {
2785
- # app_id: "AppId", # required
2786
- # name: "Name",
2787
- # description: "Description",
2788
- # platform: "WEB", # accepts WEB, WEB_DYNAMIC, WEB_COMPUTE
2789
- # iam_service_role_arn: "ServiceRoleArn",
2790
- # environment_variables: {
2791
- # "EnvKey" => "EnvValue",
2792
- # },
2793
- # enable_branch_auto_build: false,
2794
- # enable_branch_auto_deletion: false,
2795
- # enable_basic_auth: false,
2796
- # basic_auth_credentials: "BasicAuthCredentials",
2797
- # custom_rules: [
2798
- # {
2799
- # source: "Source", # required
2800
- # target: "Target", # required
2801
- # status: "Status",
2802
- # condition: "Condition",
2803
- # },
2804
- # ],
2805
- # build_spec: "BuildSpec",
2806
- # custom_headers: "CustomHeaders",
2807
- # enable_auto_branch_creation: false,
2808
- # auto_branch_creation_patterns: ["AutoBranchCreationPattern"],
2809
- # auto_branch_creation_config: {
2810
- # stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
2811
- # framework: "Framework",
2812
- # enable_auto_build: false,
2813
- # environment_variables: {
2814
- # "EnvKey" => "EnvValue",
2815
- # },
2816
- # basic_auth_credentials: "BasicAuthCredentials",
2817
- # enable_basic_auth: false,
2818
- # enable_performance_mode: false,
2819
- # build_spec: "BuildSpec",
2820
- # enable_pull_request_preview: false,
2821
- # pull_request_environment_name: "PullRequestEnvironmentName",
2822
- # },
2823
- # repository: "Repository",
2824
- # oauth_token: "OauthToken",
2825
- # access_token: "AccessToken",
2826
- # }
2827
- #
2828
2386
  # @!attribute [rw] app_id
2829
2387
  # The unique ID for an Amplify app.
2830
2388
  # @return [String]
@@ -2994,31 +2552,6 @@ module Aws::Amplify
2994
2552
 
2995
2553
  # The request structure for the update branch request.
2996
2554
  #
2997
- # @note When making an API call, you may pass UpdateBranchRequest
2998
- # data as a hash:
2999
- #
3000
- # {
3001
- # app_id: "AppId", # required
3002
- # branch_name: "BranchName", # required
3003
- # description: "Description",
3004
- # framework: "Framework",
3005
- # stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
3006
- # enable_notification: false,
3007
- # enable_auto_build: false,
3008
- # environment_variables: {
3009
- # "EnvKey" => "EnvValue",
3010
- # },
3011
- # basic_auth_credentials: "BasicAuthCredentials",
3012
- # enable_basic_auth: false,
3013
- # enable_performance_mode: false,
3014
- # build_spec: "BuildSpec",
3015
- # ttl: "TTL",
3016
- # display_name: "DisplayName",
3017
- # enable_pull_request_preview: false,
3018
- # pull_request_environment_name: "PullRequestEnvironmentName",
3019
- # backend_environment_arn: "BackendEnvironmentArn",
3020
- # }
3021
- #
3022
2555
  # @!attribute [rw] app_id
3023
2556
  # The unique ID for an Amplify app.
3024
2557
  # @return [String]
@@ -3137,23 +2670,6 @@ module Aws::Amplify
3137
2670
 
3138
2671
  # The request structure for the update domain association request.
3139
2672
  #
3140
- # @note When making an API call, you may pass UpdateDomainAssociationRequest
3141
- # data as a hash:
3142
- #
3143
- # {
3144
- # app_id: "AppId", # required
3145
- # domain_name: "DomainName", # required
3146
- # enable_auto_sub_domain: false,
3147
- # sub_domain_settings: [
3148
- # {
3149
- # prefix: "DomainPrefix", # required
3150
- # branch_name: "BranchName", # required
3151
- # },
3152
- # ],
3153
- # auto_sub_domain_creation_patterns: ["AutoSubDomainCreationPattern"],
3154
- # auto_sub_domain_iam_role: "AutoSubDomainIAMRole",
3155
- # }
3156
- #
3157
2673
  # @!attribute [rw] app_id
3158
2674
  # The unique ID for an Amplify app.
3159
2675
  # @return [String]
@@ -3210,15 +2726,6 @@ module Aws::Amplify
3210
2726
 
3211
2727
  # The request structure for the update webhook request.
3212
2728
  #
3213
- # @note When making an API call, you may pass UpdateWebhookRequest
3214
- # data as a hash:
3215
- #
3216
- # {
3217
- # webhook_id: "WebhookId", # required
3218
- # branch_name: "BranchName",
3219
- # description: "Description",
3220
- # }
3221
- #
3222
2729
  # @!attribute [rw] webhook_id
3223
2730
  # The unique ID for a webhook.
3224
2731
  # @return [String]
@@ -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.43.0'
55
+ GEM_VERSION = '1.44.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.43.0
4
+ version: 1.44.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-11-17 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core