aws-sdk-amplify 1.55.0 → 1.57.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-amplify/client.rb +139 -51
- data/lib/aws-sdk-amplify/client_api.rb +18 -0
- data/lib/aws-sdk-amplify/types.rb +165 -9
- data/lib/aws-sdk-amplify.rb +1 -1
- data/sig/client.rbs +10 -2
- data/sig/types.rbs +18 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 621a53c72099c98d40b74b02b1fa7e638527a17c5984ffe29fd24a2e4e9d24bc
|
4
|
+
data.tar.gz: 3779fa9b5119420e193e89cf3d4978cbd127f3117f183014ba50705262b930ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8be7732510b1cd3bb208f32c452ce450804f9e2028515a9cde0d2f470c9df184b23d6e73e9259582ea03c3931fa24451070d6ad29fc8fe8df10b747af91141e
|
7
|
+
data.tar.gz: 2bde95a6d3b0f82297b9781057390a144e1cdf74570bbd276295c7c4713438e7867c8ff71eebe48e4a22b8357565ea7c755cadea9b5adc7496389e778c1fd822
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.57.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.56.0 (2024-03-14)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amplify. Identifies the APIs available only to apps created using Amplify Gen 1.
|
13
|
+
|
4
14
|
1.55.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.57.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::Amplify
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::Amplify
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::Amplify
|
|
337
346
|
# @option options [Aws::Amplify::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Amplify::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
362
399
|
#
|
363
|
-
# @option options [
|
364
|
-
#
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
365
402
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
368
405
|
#
|
369
|
-
# @option options [Boolean] :ssl_verify_peer (true)
|
370
|
-
# SSL peer certificates are verified when establishing a
|
371
|
-
# connection.
|
372
|
-
#
|
373
|
-
# @option options [String] :ssl_ca_bundle Full path to the SSL
|
374
|
-
# certificate authority bundle file that should be used when
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
378
|
-
#
|
379
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
380
|
-
# directory that contains the unbundled SSL certificate
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -612,6 +636,13 @@ module Aws::Amplify
|
|
612
636
|
|
613
637
|
# Creates a new backend environment for an Amplify app.
|
614
638
|
#
|
639
|
+
# This API is available only to Amplify Gen 1 applications where the
|
640
|
+
# backend is created using Amplify Studio or the Amplify command line
|
641
|
+
# interface (CLI). This API isn’t available to applications created
|
642
|
+
# using the Amplify Gen 2 public preview. When you deploy an application
|
643
|
+
# with Amplify Gen 2, you provision the app's backend infrastructure
|
644
|
+
# using Typescript code.
|
645
|
+
#
|
615
646
|
# @option params [required, String] :app_id
|
616
647
|
# The unique ID for an Amplify app.
|
617
648
|
#
|
@@ -876,6 +907,11 @@ module Aws::Amplify
|
|
876
907
|
# The required AWS Identity and Access Management (IAM) service role for
|
877
908
|
# the Amazon Resource Name (ARN) for automatically creating subdomains.
|
878
909
|
#
|
910
|
+
# @option params [Types::CertificateSettings] :certificate_settings
|
911
|
+
# The type of SSL/TLS certificate to use for your custom domain. If you
|
912
|
+
# don't specify a certificate type, Amplify uses the default
|
913
|
+
# certificate that it provisions and manages for you.
|
914
|
+
#
|
879
915
|
# @return [Types::CreateDomainAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
880
916
|
#
|
881
917
|
# * {Types::CreateDomainAssociationResult#domain_association #domain_association} => Types::DomainAssociation
|
@@ -894,6 +930,10 @@ module Aws::Amplify
|
|
894
930
|
# ],
|
895
931
|
# auto_sub_domain_creation_patterns: ["AutoSubDomainCreationPattern"],
|
896
932
|
# auto_sub_domain_iam_role: "AutoSubDomainIAMRole",
|
933
|
+
# certificate_settings: {
|
934
|
+
# type: "AMPLIFY_MANAGED", # required, accepts AMPLIFY_MANAGED, CUSTOM
|
935
|
+
# custom_certificate_arn: "CertificateArn",
|
936
|
+
# },
|
897
937
|
# })
|
898
938
|
#
|
899
939
|
# @example Response structure
|
@@ -904,7 +944,8 @@ module Aws::Amplify
|
|
904
944
|
# resp.domain_association.auto_sub_domain_creation_patterns #=> Array
|
905
945
|
# resp.domain_association.auto_sub_domain_creation_patterns[0] #=> String
|
906
946
|
# resp.domain_association.auto_sub_domain_iam_role #=> String
|
907
|
-
# resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
|
947
|
+
# resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "IMPORTING_CUSTOM_CERTIFICATE", "PENDING_DEPLOYMENT", "AWAITING_APP_CNAME", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
|
948
|
+
# resp.domain_association.update_status #=> String, one of "REQUESTING_CERTIFICATE", "PENDING_VERIFICATION", "IMPORTING_CUSTOM_CERTIFICATE", "PENDING_DEPLOYMENT", "AWAITING_APP_CNAME", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
908
949
|
# resp.domain_association.status_reason #=> String
|
909
950
|
# resp.domain_association.certificate_verification_dns_record #=> String
|
910
951
|
# resp.domain_association.sub_domains #=> Array
|
@@ -912,6 +953,9 @@ module Aws::Amplify
|
|
912
953
|
# resp.domain_association.sub_domains[0].sub_domain_setting.branch_name #=> String
|
913
954
|
# resp.domain_association.sub_domains[0].verified #=> Boolean
|
914
955
|
# resp.domain_association.sub_domains[0].dns_record #=> String
|
956
|
+
# resp.domain_association.certificate.type #=> String, one of "AMPLIFY_MANAGED", "CUSTOM"
|
957
|
+
# resp.domain_association.certificate.custom_certificate_arn #=> String
|
958
|
+
# resp.domain_association.certificate.certificate_verification_dns_record #=> String
|
915
959
|
#
|
916
960
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation AWS API Documentation
|
917
961
|
#
|
@@ -1037,6 +1081,13 @@ module Aws::Amplify
|
|
1037
1081
|
|
1038
1082
|
# Deletes a backend environment for an Amplify app.
|
1039
1083
|
#
|
1084
|
+
# This API is available only to Amplify Gen 1 applications where the
|
1085
|
+
# backend was created using Amplify Studio or the Amplify command line
|
1086
|
+
# interface (CLI). This API isn’t available to applications created
|
1087
|
+
# using the Amplify Gen 2 public preview. When you deploy an application
|
1088
|
+
# with Amplify Gen 2, you provision the app's backend infrastructure
|
1089
|
+
# using Typescript code.
|
1090
|
+
#
|
1040
1091
|
# @option params [required, String] :app_id
|
1041
1092
|
# The unique ID of an Amplify app.
|
1042
1093
|
#
|
@@ -1162,7 +1213,8 @@ module Aws::Amplify
|
|
1162
1213
|
# resp.domain_association.auto_sub_domain_creation_patterns #=> Array
|
1163
1214
|
# resp.domain_association.auto_sub_domain_creation_patterns[0] #=> String
|
1164
1215
|
# resp.domain_association.auto_sub_domain_iam_role #=> String
|
1165
|
-
# resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
|
1216
|
+
# resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "IMPORTING_CUSTOM_CERTIFICATE", "PENDING_DEPLOYMENT", "AWAITING_APP_CNAME", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
|
1217
|
+
# resp.domain_association.update_status #=> String, one of "REQUESTING_CERTIFICATE", "PENDING_VERIFICATION", "IMPORTING_CUSTOM_CERTIFICATE", "PENDING_DEPLOYMENT", "AWAITING_APP_CNAME", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
1166
1218
|
# resp.domain_association.status_reason #=> String
|
1167
1219
|
# resp.domain_association.certificate_verification_dns_record #=> String
|
1168
1220
|
# resp.domain_association.sub_domains #=> Array
|
@@ -1170,6 +1222,9 @@ module Aws::Amplify
|
|
1170
1222
|
# resp.domain_association.sub_domains[0].sub_domain_setting.branch_name #=> String
|
1171
1223
|
# resp.domain_association.sub_domains[0].verified #=> Boolean
|
1172
1224
|
# resp.domain_association.sub_domains[0].dns_record #=> String
|
1225
|
+
# resp.domain_association.certificate.type #=> String, one of "AMPLIFY_MANAGED", "CUSTOM"
|
1226
|
+
# resp.domain_association.certificate.custom_certificate_arn #=> String
|
1227
|
+
# resp.domain_association.certificate.certificate_verification_dns_record #=> String
|
1173
1228
|
#
|
1174
1229
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation AWS API Documentation
|
1175
1230
|
#
|
@@ -1404,6 +1459,13 @@ module Aws::Amplify
|
|
1404
1459
|
|
1405
1460
|
# Returns a backend environment for an Amplify app.
|
1406
1461
|
#
|
1462
|
+
# This API is available only to Amplify Gen 1 applications where the
|
1463
|
+
# backend was created using Amplify Studio or the Amplify command line
|
1464
|
+
# interface (CLI). This API isn’t available to applications created
|
1465
|
+
# using the Amplify Gen 2 public preview. When you deploy an application
|
1466
|
+
# with Amplify Gen 2, you provision the app's backend infrastructure
|
1467
|
+
# using Typescript code.
|
1468
|
+
#
|
1407
1469
|
# @option params [required, String] :app_id
|
1408
1470
|
# The unique id for an Amplify app.
|
1409
1471
|
#
|
@@ -1529,7 +1591,8 @@ module Aws::Amplify
|
|
1529
1591
|
# resp.domain_association.auto_sub_domain_creation_patterns #=> Array
|
1530
1592
|
# resp.domain_association.auto_sub_domain_creation_patterns[0] #=> String
|
1531
1593
|
# resp.domain_association.auto_sub_domain_iam_role #=> String
|
1532
|
-
# resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
|
1594
|
+
# resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "IMPORTING_CUSTOM_CERTIFICATE", "PENDING_DEPLOYMENT", "AWAITING_APP_CNAME", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
|
1595
|
+
# resp.domain_association.update_status #=> String, one of "REQUESTING_CERTIFICATE", "PENDING_VERIFICATION", "IMPORTING_CUSTOM_CERTIFICATE", "PENDING_DEPLOYMENT", "AWAITING_APP_CNAME", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
1533
1596
|
# resp.domain_association.status_reason #=> String
|
1534
1597
|
# resp.domain_association.certificate_verification_dns_record #=> String
|
1535
1598
|
# resp.domain_association.sub_domains #=> Array
|
@@ -1537,6 +1600,9 @@ module Aws::Amplify
|
|
1537
1600
|
# resp.domain_association.sub_domains[0].sub_domain_setting.branch_name #=> String
|
1538
1601
|
# resp.domain_association.sub_domains[0].verified #=> Boolean
|
1539
1602
|
# resp.domain_association.sub_domains[0].dns_record #=> String
|
1603
|
+
# resp.domain_association.certificate.type #=> String, one of "AMPLIFY_MANAGED", "CUSTOM"
|
1604
|
+
# resp.domain_association.certificate.custom_certificate_arn #=> String
|
1605
|
+
# resp.domain_association.certificate.certificate_verification_dns_record #=> String
|
1540
1606
|
#
|
1541
1607
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation AWS API Documentation
|
1542
1608
|
#
|
@@ -1772,6 +1838,13 @@ module Aws::Amplify
|
|
1772
1838
|
|
1773
1839
|
# Lists the backend environments for an Amplify app.
|
1774
1840
|
#
|
1841
|
+
# This API is available only to Amplify Gen 1 applications where the
|
1842
|
+
# backend was created using Amplify Studio or the Amplify command line
|
1843
|
+
# interface (CLI). This API isn’t available to applications created
|
1844
|
+
# using the Amplify Gen 2 public preview. When you deploy an application
|
1845
|
+
# with Amplify Gen 2, you provision the app's backend infrastructure
|
1846
|
+
# using Typescript code.
|
1847
|
+
#
|
1775
1848
|
# @option params [required, String] :app_id
|
1776
1849
|
# The unique ID for an Amplify app.
|
1777
1850
|
#
|
@@ -1931,7 +2004,8 @@ module Aws::Amplify
|
|
1931
2004
|
# resp.domain_associations[0].auto_sub_domain_creation_patterns #=> Array
|
1932
2005
|
# resp.domain_associations[0].auto_sub_domain_creation_patterns[0] #=> String
|
1933
2006
|
# resp.domain_associations[0].auto_sub_domain_iam_role #=> String
|
1934
|
-
# resp.domain_associations[0].domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
|
2007
|
+
# resp.domain_associations[0].domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "IMPORTING_CUSTOM_CERTIFICATE", "PENDING_DEPLOYMENT", "AWAITING_APP_CNAME", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
|
2008
|
+
# resp.domain_associations[0].update_status #=> String, one of "REQUESTING_CERTIFICATE", "PENDING_VERIFICATION", "IMPORTING_CUSTOM_CERTIFICATE", "PENDING_DEPLOYMENT", "AWAITING_APP_CNAME", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
1935
2009
|
# resp.domain_associations[0].status_reason #=> String
|
1936
2010
|
# resp.domain_associations[0].certificate_verification_dns_record #=> String
|
1937
2011
|
# resp.domain_associations[0].sub_domains #=> Array
|
@@ -1939,6 +2013,9 @@ module Aws::Amplify
|
|
1939
2013
|
# resp.domain_associations[0].sub_domains[0].sub_domain_setting.branch_name #=> String
|
1940
2014
|
# resp.domain_associations[0].sub_domains[0].verified #=> Boolean
|
1941
2015
|
# resp.domain_associations[0].sub_domains[0].dns_record #=> String
|
2016
|
+
# resp.domain_associations[0].certificate.type #=> String, one of "AMPLIFY_MANAGED", "CUSTOM"
|
2017
|
+
# resp.domain_associations[0].certificate.custom_certificate_arn #=> String
|
2018
|
+
# resp.domain_associations[0].certificate.certificate_verification_dns_record #=> String
|
1942
2019
|
# resp.next_token #=> String
|
1943
2020
|
#
|
1944
2021
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations AWS API Documentation
|
@@ -2682,6 +2759,9 @@ module Aws::Amplify
|
|
2682
2759
|
# The required AWS Identity and Access Management (IAM) service role for
|
2683
2760
|
# the Amazon Resource Name (ARN) for automatically creating subdomains.
|
2684
2761
|
#
|
2762
|
+
# @option params [Types::CertificateSettings] :certificate_settings
|
2763
|
+
# The type of SSL/TLS certificate to use for your custom domain.
|
2764
|
+
#
|
2685
2765
|
# @return [Types::UpdateDomainAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2686
2766
|
#
|
2687
2767
|
# * {Types::UpdateDomainAssociationResult#domain_association #domain_association} => Types::DomainAssociation
|
@@ -2700,6 +2780,10 @@ module Aws::Amplify
|
|
2700
2780
|
# ],
|
2701
2781
|
# auto_sub_domain_creation_patterns: ["AutoSubDomainCreationPattern"],
|
2702
2782
|
# auto_sub_domain_iam_role: "AutoSubDomainIAMRole",
|
2783
|
+
# certificate_settings: {
|
2784
|
+
# type: "AMPLIFY_MANAGED", # required, accepts AMPLIFY_MANAGED, CUSTOM
|
2785
|
+
# custom_certificate_arn: "CertificateArn",
|
2786
|
+
# },
|
2703
2787
|
# })
|
2704
2788
|
#
|
2705
2789
|
# @example Response structure
|
@@ -2710,7 +2794,8 @@ module Aws::Amplify
|
|
2710
2794
|
# resp.domain_association.auto_sub_domain_creation_patterns #=> Array
|
2711
2795
|
# resp.domain_association.auto_sub_domain_creation_patterns[0] #=> String
|
2712
2796
|
# resp.domain_association.auto_sub_domain_iam_role #=> String
|
2713
|
-
# resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "PENDING_DEPLOYMENT", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
|
2797
|
+
# resp.domain_association.domain_status #=> String, one of "PENDING_VERIFICATION", "IN_PROGRESS", "AVAILABLE", "IMPORTING_CUSTOM_CERTIFICATE", "PENDING_DEPLOYMENT", "AWAITING_APP_CNAME", "FAILED", "CREATING", "REQUESTING_CERTIFICATE", "UPDATING"
|
2798
|
+
# resp.domain_association.update_status #=> String, one of "REQUESTING_CERTIFICATE", "PENDING_VERIFICATION", "IMPORTING_CUSTOM_CERTIFICATE", "PENDING_DEPLOYMENT", "AWAITING_APP_CNAME", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
2714
2799
|
# resp.domain_association.status_reason #=> String
|
2715
2800
|
# resp.domain_association.certificate_verification_dns_record #=> String
|
2716
2801
|
# resp.domain_association.sub_domains #=> Array
|
@@ -2718,6 +2803,9 @@ module Aws::Amplify
|
|
2718
2803
|
# resp.domain_association.sub_domains[0].sub_domain_setting.branch_name #=> String
|
2719
2804
|
# resp.domain_association.sub_domains[0].verified #=> Boolean
|
2720
2805
|
# resp.domain_association.sub_domains[0].dns_record #=> String
|
2806
|
+
# resp.domain_association.certificate.type #=> String, one of "AMPLIFY_MANAGED", "CUSTOM"
|
2807
|
+
# resp.domain_association.certificate.custom_certificate_arn #=> String
|
2808
|
+
# resp.domain_association.certificate.certificate_verification_dns_record #=> String
|
2721
2809
|
#
|
2722
2810
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation AWS API Documentation
|
2723
2811
|
#
|
@@ -2783,7 +2871,7 @@ module Aws::Amplify
|
|
2783
2871
|
params: params,
|
2784
2872
|
config: config)
|
2785
2873
|
context[:gem_name] = 'aws-sdk-amplify'
|
2786
|
-
context[:gem_version] = '1.
|
2874
|
+
context[:gem_version] = '1.57.0'
|
2787
2875
|
Seahorse::Client::Request.new(handlers, context)
|
2788
2876
|
end
|
2789
2877
|
|
@@ -44,6 +44,10 @@ module Aws::Amplify
|
|
44
44
|
BranchName = Shapes::StringShape.new(name: 'BranchName')
|
45
45
|
Branches = Shapes::ListShape.new(name: 'Branches')
|
46
46
|
BuildSpec = Shapes::StringShape.new(name: 'BuildSpec')
|
47
|
+
Certificate = Shapes::StructureShape.new(name: 'Certificate')
|
48
|
+
CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
|
49
|
+
CertificateSettings = Shapes::StructureShape.new(name: 'CertificateSettings')
|
50
|
+
CertificateType = Shapes::StringShape.new(name: 'CertificateType')
|
47
51
|
CertificateVerificationDNSRecord = Shapes::StringShape.new(name: 'CertificateVerificationDNSRecord')
|
48
52
|
Code = Shapes::StringShape.new(name: 'Code')
|
49
53
|
CommitId = Shapes::StringShape.new(name: 'CommitId')
|
@@ -214,6 +218,7 @@ module Aws::Amplify
|
|
214
218
|
UpdateBranchResult = Shapes::StructureShape.new(name: 'UpdateBranchResult')
|
215
219
|
UpdateDomainAssociationRequest = Shapes::StructureShape.new(name: 'UpdateDomainAssociationRequest')
|
216
220
|
UpdateDomainAssociationResult = Shapes::StructureShape.new(name: 'UpdateDomainAssociationResult')
|
221
|
+
UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
|
217
222
|
UpdateTime = Shapes::TimestampShape.new(name: 'UpdateTime')
|
218
223
|
UpdateWebhookRequest = Shapes::StructureShape.new(name: 'UpdateWebhookRequest')
|
219
224
|
UpdateWebhookResult = Shapes::StructureShape.new(name: 'UpdateWebhookResult')
|
@@ -325,6 +330,15 @@ module Aws::Amplify
|
|
325
330
|
|
326
331
|
Branches.member = Shapes::ShapeRef.new(shape: Branch)
|
327
332
|
|
333
|
+
Certificate.add_member(:type, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "type"))
|
334
|
+
Certificate.add_member(:custom_certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "customCertificateArn"))
|
335
|
+
Certificate.add_member(:certificate_verification_dns_record, Shapes::ShapeRef.new(shape: CertificateVerificationDNSRecord, location_name: "certificateVerificationDNSRecord"))
|
336
|
+
Certificate.struct_class = Types::Certificate
|
337
|
+
|
338
|
+
CertificateSettings.add_member(:type, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "type"))
|
339
|
+
CertificateSettings.add_member(:custom_certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "customCertificateArn"))
|
340
|
+
CertificateSettings.struct_class = Types::CertificateSettings
|
341
|
+
|
328
342
|
CreateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
329
343
|
CreateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
330
344
|
CreateAppRequest.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
|
@@ -398,6 +412,7 @@ module Aws::Amplify
|
|
398
412
|
CreateDomainAssociationRequest.add_member(:sub_domain_settings, Shapes::ShapeRef.new(shape: SubDomainSettings, required: true, location_name: "subDomainSettings"))
|
399
413
|
CreateDomainAssociationRequest.add_member(:auto_sub_domain_creation_patterns, Shapes::ShapeRef.new(shape: AutoSubDomainCreationPatterns, location_name: "autoSubDomainCreationPatterns"))
|
400
414
|
CreateDomainAssociationRequest.add_member(:auto_sub_domain_iam_role, Shapes::ShapeRef.new(shape: AutoSubDomainIAMRole, location_name: "autoSubDomainIAMRole"))
|
415
|
+
CreateDomainAssociationRequest.add_member(:certificate_settings, Shapes::ShapeRef.new(shape: CertificateSettings, location_name: "certificateSettings"))
|
401
416
|
CreateDomainAssociationRequest.struct_class = Types::CreateDomainAssociationRequest
|
402
417
|
|
403
418
|
CreateDomainAssociationResult.add_member(:domain_association, Shapes::ShapeRef.new(shape: DomainAssociation, required: true, location_name: "domainAssociation"))
|
@@ -471,9 +486,11 @@ module Aws::Amplify
|
|
471
486
|
DomainAssociation.add_member(:auto_sub_domain_creation_patterns, Shapes::ShapeRef.new(shape: AutoSubDomainCreationPatterns, location_name: "autoSubDomainCreationPatterns"))
|
472
487
|
DomainAssociation.add_member(:auto_sub_domain_iam_role, Shapes::ShapeRef.new(shape: AutoSubDomainIAMRole, location_name: "autoSubDomainIAMRole"))
|
473
488
|
DomainAssociation.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, required: true, location_name: "domainStatus"))
|
489
|
+
DomainAssociation.add_member(:update_status, Shapes::ShapeRef.new(shape: UpdateStatus, location_name: "updateStatus"))
|
474
490
|
DomainAssociation.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, required: true, location_name: "statusReason"))
|
475
491
|
DomainAssociation.add_member(:certificate_verification_dns_record, Shapes::ShapeRef.new(shape: CertificateVerificationDNSRecord, location_name: "certificateVerificationDNSRecord"))
|
476
492
|
DomainAssociation.add_member(:sub_domains, Shapes::ShapeRef.new(shape: SubDomains, required: true, location_name: "subDomains"))
|
493
|
+
DomainAssociation.add_member(:certificate, Shapes::ShapeRef.new(shape: Certificate, location_name: "certificate"))
|
477
494
|
DomainAssociation.struct_class = Types::DomainAssociation
|
478
495
|
|
479
496
|
DomainAssociations.member = Shapes::ShapeRef.new(shape: DomainAssociation)
|
@@ -786,6 +803,7 @@ module Aws::Amplify
|
|
786
803
|
UpdateDomainAssociationRequest.add_member(:sub_domain_settings, Shapes::ShapeRef.new(shape: SubDomainSettings, location_name: "subDomainSettings"))
|
787
804
|
UpdateDomainAssociationRequest.add_member(:auto_sub_domain_creation_patterns, Shapes::ShapeRef.new(shape: AutoSubDomainCreationPatterns, location_name: "autoSubDomainCreationPatterns"))
|
788
805
|
UpdateDomainAssociationRequest.add_member(:auto_sub_domain_iam_role, Shapes::ShapeRef.new(shape: AutoSubDomainIAMRole, location_name: "autoSubDomainIAMRole"))
|
806
|
+
UpdateDomainAssociationRequest.add_member(:certificate_settings, Shapes::ShapeRef.new(shape: CertificateSettings, location_name: "certificateSettings"))
|
789
807
|
UpdateDomainAssociationRequest.struct_class = Types::UpdateDomainAssociationRequest
|
790
808
|
|
791
809
|
UpdateDomainAssociationResult.add_member(:domain_association, Shapes::ShapeRef.new(shape: DomainAssociation, required: true, location_name: "domainAssociation"))
|
@@ -486,6 +486,90 @@ module Aws::Amplify
|
|
486
486
|
include Aws::Structure
|
487
487
|
end
|
488
488
|
|
489
|
+
# Describes the current SSL/TLS certificate that is in use for the
|
490
|
+
# domain. If you are using `CreateDomainAssociation` to create a new
|
491
|
+
# domain association, `Certificate` describes the new certificate that
|
492
|
+
# you are creating.
|
493
|
+
#
|
494
|
+
# @!attribute [rw] type
|
495
|
+
# The type of SSL/TLS certificate that you want to use.
|
496
|
+
#
|
497
|
+
# Specify `AMPLIFY_MANAGED` to use the default certificate that
|
498
|
+
# Amplify provisions for you.
|
499
|
+
#
|
500
|
+
# Specify `CUSTOM` to use your own certificate that you have already
|
501
|
+
# added to Certificate Manager in your Amazon Web Services account.
|
502
|
+
# Make sure you request (or import) the certificate in the US East (N.
|
503
|
+
# Virginia) Region (us-east-1). For more information about using ACM,
|
504
|
+
# see [Importing certificates into Certificate Manager][1] in the *ACM
|
505
|
+
# User guide* .
|
506
|
+
#
|
507
|
+
#
|
508
|
+
#
|
509
|
+
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html
|
510
|
+
# @return [String]
|
511
|
+
#
|
512
|
+
# @!attribute [rw] custom_certificate_arn
|
513
|
+
# The Amazon resource name (ARN) for a custom certificate that you
|
514
|
+
# have already added to Certificate Manager in your Amazon Web
|
515
|
+
# Services account.
|
516
|
+
#
|
517
|
+
# This field is required only when the certificate type is `CUSTOM`.
|
518
|
+
# @return [String]
|
519
|
+
#
|
520
|
+
# @!attribute [rw] certificate_verification_dns_record
|
521
|
+
# The DNS record for certificate verification.
|
522
|
+
# @return [String]
|
523
|
+
#
|
524
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/Certificate AWS API Documentation
|
525
|
+
#
|
526
|
+
class Certificate < Struct.new(
|
527
|
+
:type,
|
528
|
+
:custom_certificate_arn,
|
529
|
+
:certificate_verification_dns_record)
|
530
|
+
SENSITIVE = []
|
531
|
+
include Aws::Structure
|
532
|
+
end
|
533
|
+
|
534
|
+
# The type of SSL/TLS certificate to use for your custom domain. If a
|
535
|
+
# certificate type isn't specified, Amplify uses the default
|
536
|
+
# `AMPLIFY_MANAGED` certificate.
|
537
|
+
#
|
538
|
+
# @!attribute [rw] type
|
539
|
+
# The certificate type.
|
540
|
+
#
|
541
|
+
# Specify `AMPLIFY_MANAGED` to use the default certificate that
|
542
|
+
# Amplify provisions for you.
|
543
|
+
#
|
544
|
+
# Specify `CUSTOM` to use your own certificate that you have already
|
545
|
+
# added to Certificate Manager in your Amazon Web Services account.
|
546
|
+
# Make sure you request (or import) the certificate in the US East (N.
|
547
|
+
# Virginia) Region (us-east-1). For more information about using ACM,
|
548
|
+
# see [Importing certificates into Certificate Manager][1] in the *ACM
|
549
|
+
# User guide*.
|
550
|
+
#
|
551
|
+
#
|
552
|
+
#
|
553
|
+
# [1]: https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html
|
554
|
+
# @return [String]
|
555
|
+
#
|
556
|
+
# @!attribute [rw] custom_certificate_arn
|
557
|
+
# The Amazon resource name (ARN) for the custom certificate that you
|
558
|
+
# have already added to Certificate Manager in your Amazon Web
|
559
|
+
# Services account.
|
560
|
+
#
|
561
|
+
# This field is required only when the certificate type is `CUSTOM`.
|
562
|
+
# @return [String]
|
563
|
+
#
|
564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CertificateSettings AWS API Documentation
|
565
|
+
#
|
566
|
+
class CertificateSettings < Struct.new(
|
567
|
+
:type,
|
568
|
+
:custom_certificate_arn)
|
569
|
+
SENSITIVE = []
|
570
|
+
include Aws::Structure
|
571
|
+
end
|
572
|
+
|
489
573
|
# The request structure used to create apps in Amplify.
|
490
574
|
#
|
491
575
|
# @!attribute [rw] name
|
@@ -914,6 +998,12 @@ module Aws::Amplify
|
|
914
998
|
# subdomains.
|
915
999
|
# @return [String]
|
916
1000
|
#
|
1001
|
+
# @!attribute [rw] certificate_settings
|
1002
|
+
# The type of SSL/TLS certificate to use for your custom domain. If
|
1003
|
+
# you don't specify a certificate type, Amplify uses the default
|
1004
|
+
# certificate that it provisions and manages for you.
|
1005
|
+
# @return [Types::CertificateSettings]
|
1006
|
+
#
|
917
1007
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociationRequest AWS API Documentation
|
918
1008
|
#
|
919
1009
|
class CreateDomainAssociationRequest < Struct.new(
|
@@ -922,7 +1012,8 @@ module Aws::Amplify
|
|
922
1012
|
:enable_auto_sub_domain,
|
923
1013
|
:sub_domain_settings,
|
924
1014
|
:auto_sub_domain_creation_patterns,
|
925
|
-
:auto_sub_domain_iam_role
|
1015
|
+
:auto_sub_domain_iam_role,
|
1016
|
+
:certificate_settings)
|
926
1017
|
SENSITIVE = []
|
927
1018
|
include Aws::Structure
|
928
1019
|
end
|
@@ -1000,7 +1091,7 @@ module Aws::Amplify
|
|
1000
1091
|
#
|
1001
1092
|
# 301
|
1002
1093
|
#
|
1003
|
-
# : Represents a 301 (moved
|
1094
|
+
# : Represents a 301 (moved permanently) redirect rule. This and all
|
1004
1095
|
# future requests should be directed to the target URL.
|
1005
1096
|
#
|
1006
1097
|
# 302
|
@@ -1148,8 +1239,8 @@ module Aws::Amplify
|
|
1148
1239
|
end
|
1149
1240
|
|
1150
1241
|
# @!attribute [rw] domain_association
|
1151
|
-
# Describes
|
1152
|
-
#
|
1242
|
+
# Describes the association between a custom domain and an Amplify
|
1243
|
+
# app.
|
1153
1244
|
# @return [Types::DomainAssociation]
|
1154
1245
|
#
|
1155
1246
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociationResult AWS API Documentation
|
@@ -1240,8 +1331,7 @@ module Aws::Amplify
|
|
1240
1331
|
include Aws::Structure
|
1241
1332
|
end
|
1242
1333
|
|
1243
|
-
# Describes
|
1244
|
-
# Amplify app.
|
1334
|
+
# Describes the association between a custom domain and an Amplify app.
|
1245
1335
|
#
|
1246
1336
|
# @!attribute [rw] domain_association_arn
|
1247
1337
|
# The Amazon Resource Name (ARN) for the domain association.
|
@@ -1269,8 +1359,56 @@ module Aws::Amplify
|
|
1269
1359
|
# The current status of the domain association.
|
1270
1360
|
# @return [String]
|
1271
1361
|
#
|
1362
|
+
# @!attribute [rw] update_status
|
1363
|
+
# The status of the domain update operation that is currently in
|
1364
|
+
# progress. The following list describes the valid update states.
|
1365
|
+
#
|
1366
|
+
# REQUESTING\_CERTIFICATE
|
1367
|
+
#
|
1368
|
+
# : The certificate is in the process of being updated.
|
1369
|
+
#
|
1370
|
+
# PENDING\_VERIFICATION
|
1371
|
+
#
|
1372
|
+
# : Indicates that an Amplify managed certificate is in the process of
|
1373
|
+
# being verified. This occurs during the creation of a custom domain
|
1374
|
+
# or when a custom domain is updated to use a managed certificate.
|
1375
|
+
#
|
1376
|
+
# IMPORTING\_CUSTOM\_CERTIFICATE
|
1377
|
+
#
|
1378
|
+
# : Indicates that an Amplify custom certificate is in the process of
|
1379
|
+
# being imported. This occurs during the creation of a custom domain
|
1380
|
+
# or when a custom domain is updated to use a custom certificate.
|
1381
|
+
#
|
1382
|
+
# PENDING\_DEPLOYMENT
|
1383
|
+
#
|
1384
|
+
# : Indicates that the subdomain or certificate changes are being
|
1385
|
+
# propagated.
|
1386
|
+
#
|
1387
|
+
# AWAITING\_APP\_CNAME
|
1388
|
+
#
|
1389
|
+
# : Amplify is waiting for CNAME records corresponding to subdomains
|
1390
|
+
# to be propagated. If your custom domain is on Route 53, Amplify
|
1391
|
+
# handles this for you automatically. For more information about
|
1392
|
+
# custom domains, see [Setting up custom domains][1] in the *Amplify
|
1393
|
+
# Hosting User Guide*.
|
1394
|
+
#
|
1395
|
+
# UPDATE\_COMPLETE
|
1396
|
+
#
|
1397
|
+
# : The certificate has been associated with a domain.
|
1398
|
+
#
|
1399
|
+
# UPDATE\_FAILED
|
1400
|
+
#
|
1401
|
+
# : The certificate has failed to be provisioned or associated, and
|
1402
|
+
# there is no existing active certificate to roll back to.
|
1403
|
+
#
|
1404
|
+
#
|
1405
|
+
#
|
1406
|
+
# [1]: https://docs.aws.amazon.com/amplify/latest/userguide/custom-domains.html
|
1407
|
+
# @return [String]
|
1408
|
+
#
|
1272
1409
|
# @!attribute [rw] status_reason
|
1273
|
-
#
|
1410
|
+
# Additional information that describes why the domain association is
|
1411
|
+
# in the current state.
|
1274
1412
|
# @return [String]
|
1275
1413
|
#
|
1276
1414
|
# @!attribute [rw] certificate_verification_dns_record
|
@@ -1281,6 +1419,17 @@ module Aws::Amplify
|
|
1281
1419
|
# The subdomains for the domain association.
|
1282
1420
|
# @return [Array<Types::SubDomain>]
|
1283
1421
|
#
|
1422
|
+
# @!attribute [rw] certificate
|
1423
|
+
# Describes the SSL/TLS certificate for the domain association. This
|
1424
|
+
# can be your own custom certificate or the default certificate that
|
1425
|
+
# Amplify provisions for you.
|
1426
|
+
#
|
1427
|
+
# If you are updating your domain to use a different certificate,
|
1428
|
+
# `certificate` points to the new certificate that is being created
|
1429
|
+
# instead of the current active certificate. Otherwise, `certificate`
|
1430
|
+
# points to the current active certificate.
|
1431
|
+
# @return [Types::Certificate]
|
1432
|
+
#
|
1284
1433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DomainAssociation AWS API Documentation
|
1285
1434
|
#
|
1286
1435
|
class DomainAssociation < Struct.new(
|
@@ -1290,9 +1439,11 @@ module Aws::Amplify
|
|
1290
1439
|
:auto_sub_domain_creation_patterns,
|
1291
1440
|
:auto_sub_domain_iam_role,
|
1292
1441
|
:domain_status,
|
1442
|
+
:update_status,
|
1293
1443
|
:status_reason,
|
1294
1444
|
:certificate_verification_dns_record,
|
1295
|
-
:sub_domains
|
1445
|
+
:sub_domains,
|
1446
|
+
:certificate)
|
1296
1447
|
SENSITIVE = []
|
1297
1448
|
include Aws::Structure
|
1298
1449
|
end
|
@@ -2745,6 +2896,10 @@ module Aws::Amplify
|
|
2745
2896
|
# subdomains.
|
2746
2897
|
# @return [String]
|
2747
2898
|
#
|
2899
|
+
# @!attribute [rw] certificate_settings
|
2900
|
+
# The type of SSL/TLS certificate to use for your custom domain.
|
2901
|
+
# @return [Types::CertificateSettings]
|
2902
|
+
#
|
2748
2903
|
# @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociationRequest AWS API Documentation
|
2749
2904
|
#
|
2750
2905
|
class UpdateDomainAssociationRequest < Struct.new(
|
@@ -2753,7 +2908,8 @@ module Aws::Amplify
|
|
2753
2908
|
:enable_auto_sub_domain,
|
2754
2909
|
:sub_domain_settings,
|
2755
2910
|
:auto_sub_domain_creation_patterns,
|
2756
|
-
:auto_sub_domain_iam_role
|
2911
|
+
:auto_sub_domain_iam_role,
|
2912
|
+
:certificate_settings)
|
2757
2913
|
SENSITIVE = []
|
2758
2914
|
include Aws::Structure
|
2759
2915
|
end
|
data/lib/aws-sdk-amplify.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -191,7 +191,11 @@ module Aws
|
|
191
191
|
},
|
192
192
|
],
|
193
193
|
?auto_sub_domain_creation_patterns: Array[::String],
|
194
|
-
?auto_sub_domain_iam_role: ::String
|
194
|
+
?auto_sub_domain_iam_role: ::String,
|
195
|
+
?certificate_settings: {
|
196
|
+
type: ("AMPLIFY_MANAGED" | "CUSTOM"),
|
197
|
+
custom_certificate_arn: ::String?
|
198
|
+
}
|
195
199
|
) -> _CreateDomainAssociationResponseSuccess
|
196
200
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainAssociationResponseSuccess
|
197
201
|
|
@@ -618,7 +622,11 @@ module Aws
|
|
618
622
|
},
|
619
623
|
],
|
620
624
|
?auto_sub_domain_creation_patterns: Array[::String],
|
621
|
-
?auto_sub_domain_iam_role: ::String
|
625
|
+
?auto_sub_domain_iam_role: ::String,
|
626
|
+
?certificate_settings: {
|
627
|
+
type: ("AMPLIFY_MANAGED" | "CUSTOM"),
|
628
|
+
custom_certificate_arn: ::String?
|
629
|
+
}
|
622
630
|
) -> _UpdateDomainAssociationResponseSuccess
|
623
631
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainAssociationResponseSuccess
|
624
632
|
|
data/sig/types.rbs
CHANGED
@@ -108,6 +108,19 @@ module Aws::Amplify
|
|
108
108
|
SENSITIVE: [:basic_auth_credentials, :build_spec]
|
109
109
|
end
|
110
110
|
|
111
|
+
class Certificate
|
112
|
+
attr_accessor type: ("AMPLIFY_MANAGED" | "CUSTOM")
|
113
|
+
attr_accessor custom_certificate_arn: ::String
|
114
|
+
attr_accessor certificate_verification_dns_record: ::String
|
115
|
+
SENSITIVE: []
|
116
|
+
end
|
117
|
+
|
118
|
+
class CertificateSettings
|
119
|
+
attr_accessor type: ("AMPLIFY_MANAGED" | "CUSTOM")
|
120
|
+
attr_accessor custom_certificate_arn: ::String
|
121
|
+
SENSITIVE: []
|
122
|
+
end
|
123
|
+
|
111
124
|
class CreateAppRequest
|
112
125
|
attr_accessor name: ::String
|
113
126
|
attr_accessor description: ::String
|
@@ -198,6 +211,7 @@ module Aws::Amplify
|
|
198
211
|
attr_accessor sub_domain_settings: ::Array[Types::SubDomainSetting]
|
199
212
|
attr_accessor auto_sub_domain_creation_patterns: ::Array[::String]
|
200
213
|
attr_accessor auto_sub_domain_iam_role: ::String
|
214
|
+
attr_accessor certificate_settings: Types::CertificateSettings
|
201
215
|
SENSITIVE: []
|
202
216
|
end
|
203
217
|
|
@@ -302,10 +316,12 @@ module Aws::Amplify
|
|
302
316
|
attr_accessor enable_auto_sub_domain: bool
|
303
317
|
attr_accessor auto_sub_domain_creation_patterns: ::Array[::String]
|
304
318
|
attr_accessor auto_sub_domain_iam_role: ::String
|
305
|
-
attr_accessor domain_status: ("PENDING_VERIFICATION" | "IN_PROGRESS" | "AVAILABLE" | "PENDING_DEPLOYMENT" | "FAILED" | "CREATING" | "REQUESTING_CERTIFICATE" | "UPDATING")
|
319
|
+
attr_accessor domain_status: ("PENDING_VERIFICATION" | "IN_PROGRESS" | "AVAILABLE" | "IMPORTING_CUSTOM_CERTIFICATE" | "PENDING_DEPLOYMENT" | "AWAITING_APP_CNAME" | "FAILED" | "CREATING" | "REQUESTING_CERTIFICATE" | "UPDATING")
|
320
|
+
attr_accessor update_status: ("REQUESTING_CERTIFICATE" | "PENDING_VERIFICATION" | "IMPORTING_CUSTOM_CERTIFICATE" | "PENDING_DEPLOYMENT" | "AWAITING_APP_CNAME" | "UPDATE_COMPLETE" | "UPDATE_FAILED")
|
306
321
|
attr_accessor status_reason: ::String
|
307
322
|
attr_accessor certificate_verification_dns_record: ::String
|
308
323
|
attr_accessor sub_domains: ::Array[Types::SubDomain]
|
324
|
+
attr_accessor certificate: Types::Certificate
|
309
325
|
SENSITIVE: []
|
310
326
|
end
|
311
327
|
|
@@ -705,6 +721,7 @@ module Aws::Amplify
|
|
705
721
|
attr_accessor sub_domain_settings: ::Array[Types::SubDomainSetting]
|
706
722
|
attr_accessor auto_sub_domain_creation_patterns: ::Array[::String]
|
707
723
|
attr_accessor auto_sub_domain_iam_role: ::String
|
724
|
+
attr_accessor certificate_settings: Types::CertificateSettings
|
708
725
|
SENSITIVE: []
|
709
726
|
end
|
710
727
|
|
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.
|
4
|
+
version: 1.57.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: 2024-
|
11
|
+
date: 2024-04-25 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.
|
22
|
+
version: 3.193.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.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|