aws-sdk-amplify 1.55.0 → 1.56.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: 56d679a294ada2baf90c5d4bb42998438213bd57215bf7a2f1b61ff41fad06ce
4
- data.tar.gz: 46b75c227b1eda81c9489d553c99bfbad61213e3849e14f39f33c03472170132
3
+ metadata.gz: c14d3475af0df30af3daea22707bf7479552766ca8d4e134cfd208ec667c168a
4
+ data.tar.gz: 03675cc9e1f8dd835960f51fb59324b46022076d6e1158111afb6d44938a9aaf
5
5
  SHA512:
6
- metadata.gz: b414a1cfbccad7c633767d2c65b4f3560efacdbd631b3ecc06b0fbfd8a34f46fe5eb21d738f3200272ebfc503672aecd5098b23566cac2136f63bf1084a33a6e
7
- data.tar.gz: 21769c2d0700cff6e2f3872d4caf22132d653201daa728aeb065fe766703bdf56c51d24a0bddca6b6d2b86371d00d68420eb8e35d49b70f3e33ffe32aa202111
6
+ metadata.gz: 6b5996a8ec205c21c07c8d7b54a210b31a263d18c8fb03137a9f5b6afa6e7bfac01e0a01da5ae42ce28db039d7b7f5c34c98e327e7acedb940e47c216ca710fe
7
+ data.tar.gz: ac6f1501f73ffa5e05b942bce9c706fab04d7c169dce83e6ae5fcf36900d8402df3029800537635c916edb9c963e00efc9fa4aed580c2708f0938ca320a598a2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2024-03-14)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Amplify. Identifies the APIs available only to apps created using Amplify Gen 1.
8
+
4
9
  1.55.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.56.0
@@ -612,6 +612,13 @@ module Aws::Amplify
612
612
 
613
613
  # Creates a new backend environment for an Amplify app.
614
614
  #
615
+ # This API is available only to Amplify Gen 1 applications where the
616
+ # backend is created using Amplify Studio or the Amplify command line
617
+ # interface (CLI). This API isn’t available to applications created
618
+ # using the Amplify Gen 2 public preview. When you deploy an application
619
+ # with Amplify Gen 2, you provision the app's backend infrastructure
620
+ # using Typescript code.
621
+ #
615
622
  # @option params [required, String] :app_id
616
623
  # The unique ID for an Amplify app.
617
624
  #
@@ -876,6 +883,11 @@ module Aws::Amplify
876
883
  # The required AWS Identity and Access Management (IAM) service role for
877
884
  # the Amazon Resource Name (ARN) for automatically creating subdomains.
878
885
  #
886
+ # @option params [Types::CertificateSettings] :certificate_settings
887
+ # The type of SSL/TLS certificate to use for your custom domain. If you
888
+ # don't specify a certificate type, Amplify uses the default
889
+ # certificate that it provisions and manages for you.
890
+ #
879
891
  # @return [Types::CreateDomainAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
880
892
  #
881
893
  # * {Types::CreateDomainAssociationResult#domain_association #domain_association} => Types::DomainAssociation
@@ -894,6 +906,10 @@ module Aws::Amplify
894
906
  # ],
895
907
  # auto_sub_domain_creation_patterns: ["AutoSubDomainCreationPattern"],
896
908
  # auto_sub_domain_iam_role: "AutoSubDomainIAMRole",
909
+ # certificate_settings: {
910
+ # type: "AMPLIFY_MANAGED", # required, accepts AMPLIFY_MANAGED, CUSTOM
911
+ # custom_certificate_arn: "CertificateArn",
912
+ # },
897
913
  # })
898
914
  #
899
915
  # @example Response structure
@@ -904,7 +920,8 @@ module Aws::Amplify
904
920
  # resp.domain_association.auto_sub_domain_creation_patterns #=> Array
905
921
  # resp.domain_association.auto_sub_domain_creation_patterns[0] #=> String
906
922
  # 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"
923
+ # 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"
924
+ # 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
925
  # resp.domain_association.status_reason #=> String
909
926
  # resp.domain_association.certificate_verification_dns_record #=> String
910
927
  # resp.domain_association.sub_domains #=> Array
@@ -912,6 +929,9 @@ module Aws::Amplify
912
929
  # resp.domain_association.sub_domains[0].sub_domain_setting.branch_name #=> String
913
930
  # resp.domain_association.sub_domains[0].verified #=> Boolean
914
931
  # resp.domain_association.sub_domains[0].dns_record #=> String
932
+ # resp.domain_association.certificate.type #=> String, one of "AMPLIFY_MANAGED", "CUSTOM"
933
+ # resp.domain_association.certificate.custom_certificate_arn #=> String
934
+ # resp.domain_association.certificate.certificate_verification_dns_record #=> String
915
935
  #
916
936
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation AWS API Documentation
917
937
  #
@@ -1037,6 +1057,13 @@ module Aws::Amplify
1037
1057
 
1038
1058
  # Deletes a backend environment for an Amplify app.
1039
1059
  #
1060
+ # This API is available only to Amplify Gen 1 applications where the
1061
+ # backend was created using Amplify Studio or the Amplify command line
1062
+ # interface (CLI). This API isn’t available to applications created
1063
+ # using the Amplify Gen 2 public preview. When you deploy an application
1064
+ # with Amplify Gen 2, you provision the app's backend infrastructure
1065
+ # using Typescript code.
1066
+ #
1040
1067
  # @option params [required, String] :app_id
1041
1068
  # The unique ID of an Amplify app.
1042
1069
  #
@@ -1162,7 +1189,8 @@ module Aws::Amplify
1162
1189
  # resp.domain_association.auto_sub_domain_creation_patterns #=> Array
1163
1190
  # resp.domain_association.auto_sub_domain_creation_patterns[0] #=> String
1164
1191
  # 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"
1192
+ # 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"
1193
+ # 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
1194
  # resp.domain_association.status_reason #=> String
1167
1195
  # resp.domain_association.certificate_verification_dns_record #=> String
1168
1196
  # resp.domain_association.sub_domains #=> Array
@@ -1170,6 +1198,9 @@ module Aws::Amplify
1170
1198
  # resp.domain_association.sub_domains[0].sub_domain_setting.branch_name #=> String
1171
1199
  # resp.domain_association.sub_domains[0].verified #=> Boolean
1172
1200
  # resp.domain_association.sub_domains[0].dns_record #=> String
1201
+ # resp.domain_association.certificate.type #=> String, one of "AMPLIFY_MANAGED", "CUSTOM"
1202
+ # resp.domain_association.certificate.custom_certificate_arn #=> String
1203
+ # resp.domain_association.certificate.certificate_verification_dns_record #=> String
1173
1204
  #
1174
1205
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation AWS API Documentation
1175
1206
  #
@@ -1404,6 +1435,13 @@ module Aws::Amplify
1404
1435
 
1405
1436
  # Returns a backend environment for an Amplify app.
1406
1437
  #
1438
+ # This API is available only to Amplify Gen 1 applications where the
1439
+ # backend was created using Amplify Studio or the Amplify command line
1440
+ # interface (CLI). This API isn’t available to applications created
1441
+ # using the Amplify Gen 2 public preview. When you deploy an application
1442
+ # with Amplify Gen 2, you provision the app's backend infrastructure
1443
+ # using Typescript code.
1444
+ #
1407
1445
  # @option params [required, String] :app_id
1408
1446
  # The unique id for an Amplify app.
1409
1447
  #
@@ -1529,7 +1567,8 @@ module Aws::Amplify
1529
1567
  # resp.domain_association.auto_sub_domain_creation_patterns #=> Array
1530
1568
  # resp.domain_association.auto_sub_domain_creation_patterns[0] #=> String
1531
1569
  # 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"
1570
+ # 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"
1571
+ # 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
1572
  # resp.domain_association.status_reason #=> String
1534
1573
  # resp.domain_association.certificate_verification_dns_record #=> String
1535
1574
  # resp.domain_association.sub_domains #=> Array
@@ -1537,6 +1576,9 @@ module Aws::Amplify
1537
1576
  # resp.domain_association.sub_domains[0].sub_domain_setting.branch_name #=> String
1538
1577
  # resp.domain_association.sub_domains[0].verified #=> Boolean
1539
1578
  # resp.domain_association.sub_domains[0].dns_record #=> String
1579
+ # resp.domain_association.certificate.type #=> String, one of "AMPLIFY_MANAGED", "CUSTOM"
1580
+ # resp.domain_association.certificate.custom_certificate_arn #=> String
1581
+ # resp.domain_association.certificate.certificate_verification_dns_record #=> String
1540
1582
  #
1541
1583
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation AWS API Documentation
1542
1584
  #
@@ -1772,6 +1814,13 @@ module Aws::Amplify
1772
1814
 
1773
1815
  # Lists the backend environments for an Amplify app.
1774
1816
  #
1817
+ # This API is available only to Amplify Gen 1 applications where the
1818
+ # backend was created using Amplify Studio or the Amplify command line
1819
+ # interface (CLI). This API isn’t available to applications created
1820
+ # using the Amplify Gen 2 public preview. When you deploy an application
1821
+ # with Amplify Gen 2, you provision the app's backend infrastructure
1822
+ # using Typescript code.
1823
+ #
1775
1824
  # @option params [required, String] :app_id
1776
1825
  # The unique ID for an Amplify app.
1777
1826
  #
@@ -1931,7 +1980,8 @@ module Aws::Amplify
1931
1980
  # resp.domain_associations[0].auto_sub_domain_creation_patterns #=> Array
1932
1981
  # resp.domain_associations[0].auto_sub_domain_creation_patterns[0] #=> String
1933
1982
  # 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"
1983
+ # 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"
1984
+ # 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
1985
  # resp.domain_associations[0].status_reason #=> String
1936
1986
  # resp.domain_associations[0].certificate_verification_dns_record #=> String
1937
1987
  # resp.domain_associations[0].sub_domains #=> Array
@@ -1939,6 +1989,9 @@ module Aws::Amplify
1939
1989
  # resp.domain_associations[0].sub_domains[0].sub_domain_setting.branch_name #=> String
1940
1990
  # resp.domain_associations[0].sub_domains[0].verified #=> Boolean
1941
1991
  # resp.domain_associations[0].sub_domains[0].dns_record #=> String
1992
+ # resp.domain_associations[0].certificate.type #=> String, one of "AMPLIFY_MANAGED", "CUSTOM"
1993
+ # resp.domain_associations[0].certificate.custom_certificate_arn #=> String
1994
+ # resp.domain_associations[0].certificate.certificate_verification_dns_record #=> String
1942
1995
  # resp.next_token #=> String
1943
1996
  #
1944
1997
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations AWS API Documentation
@@ -2682,6 +2735,9 @@ module Aws::Amplify
2682
2735
  # The required AWS Identity and Access Management (IAM) service role for
2683
2736
  # the Amazon Resource Name (ARN) for automatically creating subdomains.
2684
2737
  #
2738
+ # @option params [Types::CertificateSettings] :certificate_settings
2739
+ # The type of SSL/TLS certificate to use for your custom domain.
2740
+ #
2685
2741
  # @return [Types::UpdateDomainAssociationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2686
2742
  #
2687
2743
  # * {Types::UpdateDomainAssociationResult#domain_association #domain_association} => Types::DomainAssociation
@@ -2700,6 +2756,10 @@ module Aws::Amplify
2700
2756
  # ],
2701
2757
  # auto_sub_domain_creation_patterns: ["AutoSubDomainCreationPattern"],
2702
2758
  # auto_sub_domain_iam_role: "AutoSubDomainIAMRole",
2759
+ # certificate_settings: {
2760
+ # type: "AMPLIFY_MANAGED", # required, accepts AMPLIFY_MANAGED, CUSTOM
2761
+ # custom_certificate_arn: "CertificateArn",
2762
+ # },
2703
2763
  # })
2704
2764
  #
2705
2765
  # @example Response structure
@@ -2710,7 +2770,8 @@ module Aws::Amplify
2710
2770
  # resp.domain_association.auto_sub_domain_creation_patterns #=> Array
2711
2771
  # resp.domain_association.auto_sub_domain_creation_patterns[0] #=> String
2712
2772
  # 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"
2773
+ # 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"
2774
+ # 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
2775
  # resp.domain_association.status_reason #=> String
2715
2776
  # resp.domain_association.certificate_verification_dns_record #=> String
2716
2777
  # resp.domain_association.sub_domains #=> Array
@@ -2718,6 +2779,9 @@ module Aws::Amplify
2718
2779
  # resp.domain_association.sub_domains[0].sub_domain_setting.branch_name #=> String
2719
2780
  # resp.domain_association.sub_domains[0].verified #=> Boolean
2720
2781
  # resp.domain_association.sub_domains[0].dns_record #=> String
2782
+ # resp.domain_association.certificate.type #=> String, one of "AMPLIFY_MANAGED", "CUSTOM"
2783
+ # resp.domain_association.certificate.custom_certificate_arn #=> String
2784
+ # resp.domain_association.certificate.certificate_verification_dns_record #=> String
2721
2785
  #
2722
2786
  # @see http://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation AWS API Documentation
2723
2787
  #
@@ -2783,7 +2847,7 @@ module Aws::Amplify
2783
2847
  params: params,
2784
2848
  config: config)
2785
2849
  context[:gem_name] = 'aws-sdk-amplify'
2786
- context[:gem_version] = '1.55.0'
2850
+ context[:gem_version] = '1.56.0'
2787
2851
  Seahorse::Client::Request.new(handlers, context)
2788
2852
  end
2789
2853
 
@@ -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 pemanently) redirect rule. This and all
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 a domain association that associates a custom domain with
1152
- # an Amplify app.
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 a domain association that associates a custom domain with an
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
- # The reason for the current status of the domain association.
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
@@ -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.55.0'
55
+ GEM_VERSION = '1.56.0'
56
56
 
57
57
  end
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.55.0
4
+ version: 1.56.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-01-26 00:00:00.000000000 Z
11
+ date: 2024-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core