From d5e1369ac3eaff011139a6b6797117341491e480 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Thu, 25 Jan 2024 14:39:55 -0500 Subject: [PATCH] Release v1.50.4 (2024-01-25) (#5152) Release v1.50.4 (2024-01-25) === ### Service Client Updates * `service/acm-pca`: Updates service API, documentation, and waiters * `service/lightsail`: Updates service API and documentation * This release adds support for IPv6-only instance plans. --- CHANGELOG.md | 8 + aws/version.go | 2 +- models/apis/acm-pca/2017-08-22/api-2.json | 23 +- models/apis/acm-pca/2017-08-22/docs-2.json | 11 +- .../2017-08-22/endpoint-rule-set-1.json | 386 ++++++++---------- models/apis/acm-pca/2017-08-22/waiters-2.json | 2 +- models/apis/lightsail/2016-11-28/api-2.json | 4 +- models/apis/lightsail/2016-11-28/docs-2.json | 4 +- service/acmpca/api.go | 88 +++- service/acmpca/waiters.go | 2 +- service/lightsail/api.go | 19 + 11 files changed, 322 insertions(+), 227 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3aab220cf5..1a33eb13e5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +Release v1.50.4 (2024-01-25) +=== + +### Service Client Updates +* `service/acm-pca`: Updates service API, documentation, and waiters +* `service/lightsail`: Updates service API and documentation + * This release adds support for IPv6-only instance plans. + Release v1.50.3 (2024-01-24) === diff --git a/aws/version.go b/aws/version.go index 42c370cefdd..7269acfb359 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.50.3" +const SDKVersion = "1.50.4" diff --git a/models/apis/acm-pca/2017-08-22/api-2.json b/models/apis/acm-pca/2017-08-22/api-2.json index ad81a63d17f..6a999b91ea1 100644 --- a/models/apis/acm-pca/2017-08-22/api-2.json +++ b/models/apis/acm-pca/2017-08-22/api-2.json @@ -464,7 +464,7 @@ "type":"string", "max":200, "min":5, - "pattern":"arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*" + "pattern":"arn:[\\w+=/,.@-]+:acm-pca:[\\w+=/,.@-]*:[0-9]*:[\\w+=,.@-]+(/[\\w+=,.@-]+)*" }, "AuditReportId":{ "type":"string", @@ -672,7 +672,18 @@ }, "CustomCname":{"shape":"CnameString"}, "S3BucketName":{"shape":"S3BucketName3To255"}, - "S3ObjectAcl":{"shape":"S3ObjectAcl"} + "S3ObjectAcl":{"shape":"S3ObjectAcl"}, + "CrlDistributionPointExtensionConfiguration":{"shape":"CrlDistributionPointExtensionConfiguration"} + } + }, + "CrlDistributionPointExtensionConfiguration":{ + "type":"structure", + "required":["OmitExtension"], + "members":{ + "OmitExtension":{ + "shape":"Boolean", + "box":true + } } }, "CsrBlob":{ @@ -702,7 +713,7 @@ "CustomAttributeList":{ "type":"list", "member":{"shape":"CustomAttribute"}, - "max":30, + "max":150, "min":1 }, "CustomExtension":{ @@ -723,7 +734,7 @@ "CustomExtensionList":{ "type":"list", "member":{"shape":"CustomExtension"}, - "max":20, + "max":150, "min":1 }, "CustomObjectIdentifier":{ @@ -861,7 +872,7 @@ "GeneralNameList":{ "type":"list", "member":{"shape":"GeneralName"}, - "max":20, + "max":150, "min":1 }, "GetCertificateAuthorityCertificateRequest":{ @@ -1131,7 +1142,7 @@ }, "NextToken":{ "type":"string", - "max":500, + "max":43739, "min":1 }, "OcspConfiguration":{ diff --git a/models/apis/acm-pca/2017-08-22/docs-2.json b/models/apis/acm-pca/2017-08-22/docs-2.json index e5063464446..1bc0e4cf813 100644 --- a/models/apis/acm-pca/2017-08-22/docs-2.json +++ b/models/apis/acm-pca/2017-08-22/docs-2.json @@ -163,6 +163,7 @@ "base": null, "refs": { "CrlConfiguration$Enabled": "

Boolean value that specifies whether certificate revocation lists (CRLs) are enabled. You can use this value to enable certificate revocation for a new CA when you call the CreateCertificateAuthority action or for an existing CA when you call the UpdateCertificateAuthority action.

", + "CrlDistributionPointExtensionConfiguration$OmitExtension": "

Configures whether the CRL Distribution Point extension should be populated with the default URL to the CRL. If set to true, then the CDP extension will not be present in any certificates issued by that CA unless otherwise specified through CSR or API passthrough.

Only set this if you have another way to distribute the CRL Distribution Points ffor certificates issued by your CA, such as the Matter Distributed Compliance Ledger

This configuration cannot be enabled with a custom CNAME set.

", "CustomExtension$Critical": "

Specifies the critical flag of the X.509 extension.

", "KeyUsage$DigitalSignature": "

Key can be used for digital signing.

", "KeyUsage$NonRepudiation": "

Key can be used for non-repudiation.

", @@ -298,11 +299,17 @@ } }, "CrlConfiguration": { - "base": "

Contains configuration information for a certificate revocation list (CRL). Your private certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You can enable CRLs for your new or an existing private CA by setting the Enabled parameter to true. Your private CA writes CRLs to an S3 bucket that you specify in the S3BucketName parameter. You can hide the name of your bucket by specifying a value for the CustomCname parameter. Your private CA copies the CNAME or the S3 bucket name to the CRL Distribution Points extension of each certificate it issues. Your S3 bucket policy must give write permission to Amazon Web Services Private CA.

Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your CRLs.

Your private CA uses the value in the ExpirationInDays parameter to calculate the nextUpdate field in the CRL. The CRL is refreshed prior to a certificate's expiration date or when a certificate is revoked. When a certificate is revoked, it appears in the CRL until the certificate expires, and then in one additional CRL after expiration, and it always appears in the audit report.

A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason a CRL update fails, Amazon Web Services Private CA makes further attempts every 15 minutes.

CRLs contain the following fields:

Certificate revocation lists created by Amazon Web Services Private CA are DER-encoded. You can use the following OpenSSL command to list a CRL.

openssl crl -inform DER -text -in crl_path -noout

For more information, see Planning a certificate revocation list (CRL) in the Amazon Web Services Private Certificate Authority User Guide

", + "base": "

Contains configuration information for a certificate revocation list (CRL). Your private certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You can enable CRLs for your new or an existing private CA by setting the Enabled parameter to true. Your private CA writes CRLs to an S3 bucket that you specify in the S3BucketName parameter. You can hide the name of your bucket by specifying a value for the CustomCname parameter. Your private CA by default copies the CNAME or the S3 bucket name to the CRL Distribution Points extension of each certificate it issues. If you want to configure this default behavior to be something different, you can set the CrlDistributionPointExtensionConfiguration parameter. Your S3 bucket policy must give write permission to Amazon Web Services Private CA.

Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your CRLs.

Your private CA uses the value in the ExpirationInDays parameter to calculate the nextUpdate field in the CRL. The CRL is refreshed prior to a certificate's expiration date or when a certificate is revoked. When a certificate is revoked, it appears in the CRL until the certificate expires, and then in one additional CRL after expiration, and it always appears in the audit report.

A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason a CRL update fails, Amazon Web Services Private CA makes further attempts every 15 minutes.

CRLs contain the following fields:

Certificate revocation lists created by Amazon Web Services Private CA are DER-encoded. You can use the following OpenSSL command to list a CRL.

openssl crl -inform DER -text -in crl_path -noout

For more information, see Planning a certificate revocation list (CRL) in the Amazon Web Services Private Certificate Authority User Guide

", "refs": { "RevocationConfiguration$CrlConfiguration": "

Configuration of the certificate revocation list (CRL), if any, maintained by your private CA. A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason a CRL update fails, Amazon Web Services Private CA makes further attempts every 15 minutes.

" } }, + "CrlDistributionPointExtensionConfiguration": { + "base": "

Contains configuration information for the default behavior of the CRL Distribution Point (CDP) extension in certificates issued by your CA. This extension contains a link to download the CRL, so you can check whether a certificate has been revoked. To choose whether you want this extension omitted or not in certificates issued by your CA, you can set the OmitExtension parameter.

", + "refs": { + "CrlConfiguration$CrlDistributionPointExtensionConfiguration": "

Configures the behavior of the CRL Distribution Point extension for certificates issued by your certificate authority. If this field is not provided, then the CRl Distribution Point Extension will be present and contain the default CRL URL.

" + } + }, "CsrBlob": { "base": null, "refs": { @@ -617,7 +624,7 @@ "MaxResults": { "base": null, "refs": { - "ListCertificateAuthoritiesRequest$MaxResults": "

Use this parameter when paginating results to specify the maximum number of items to return in the response on each page. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

", + "ListCertificateAuthoritiesRequest$MaxResults": "

Use this parameter when paginating results to specify the maximum number of items to return in the response on each page. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

Although the maximum value is 1000, the action only returns a maximum of 100 items.

", "ListPermissionsRequest$MaxResults": "

When paginating results, use this parameter to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

", "ListTagsRequest$MaxResults": "

Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

" } diff --git a/models/apis/acm-pca/2017-08-22/endpoint-rule-set-1.json b/models/apis/acm-pca/2017-08-22/endpoint-rule-set-1.json index ad3be5fe1b4..94cc1c48102 100644 --- a/models/apis/acm-pca/2017-08-22/endpoint-rule-set-1.json +++ b/models/apis/acm-pca/2017-08-22/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,318 +57,283 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "supportsFIPS" + "name" ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - "aws-us-gov", - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - } - ] - } - ], - "endpoint": { - "url": "https://acm-pca.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" }, - { - "conditions": [], - "endpoint": { - "url": "https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "aws-us-gov" ] } - ] + ], + "endpoint": { + "url": "https://acm-pca.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://acm-pca.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://acm-pca.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/acm-pca/2017-08-22/waiters-2.json b/models/apis/acm-pca/2017-08-22/waiters-2.json index 79bf399b990..245186cadf8 100644 --- a/models/apis/acm-pca/2017-08-22/waiters-2.json +++ b/models/apis/acm-pca/2017-08-22/waiters-2.json @@ -22,7 +22,7 @@ "CertificateIssued": { "description": "Wait until a certificate is issued", "operation": "GetCertificate", - "delay": 3, + "delay": 1, "maxAttempts": 60, "acceptors": [ { diff --git a/models/apis/lightsail/2016-11-28/api-2.json b/models/apis/lightsail/2016-11-28/api-2.json index 9e01a419409..cf47105ec27 100644 --- a/models/apis/lightsail/2016-11-28/api-2.json +++ b/models/apis/lightsail/2016-11-28/api-2.json @@ -3284,7 +3284,8 @@ "ramSizeInGb":{"shape":"float"}, "transferPerMonthInGb":{"shape":"integer"}, "supportedPlatforms":{"shape":"InstancePlatformList"}, - "supportedAppCategories":{"shape":"AppCategoryList"} + "supportedAppCategories":{"shape":"AppCategoryList"}, + "publicIpv4AddressCount":{"shape":"integer"} } }, "BundleList":{ @@ -6093,6 +6094,7 @@ "certKey":{"shape":"string"}, "expiresAt":{"shape":"IsoDate"}, "ipAddress":{"shape":"IpAddress"}, + "ipv6Addresses":{"shape":"Ipv6AddressList"}, "password":{"shape":"string"}, "passwordData":{"shape":"PasswordData"}, "privateKey":{"shape":"string"}, diff --git a/models/apis/lightsail/2016-11-28/docs-2.json b/models/apis/lightsail/2016-11-28/docs-2.json index aaf0e7b66aa..83d8c7cf8f8 100644 --- a/models/apis/lightsail/2016-11-28/docs-2.json +++ b/models/apis/lightsail/2016-11-28/docs-2.json @@ -2719,7 +2719,8 @@ "Ipv6AddressList": { "base": null, "refs": { - "Instance$ipv6Addresses": "

The IPv6 addresses of the instance.

" + "Instance$ipv6Addresses": "

The IPv6 addresses of the instance.

", + "InstanceAccessDetails$ipv6Addresses": "

The IPv6 address of the Amazon Lightsail instance.

" } }, "IsVpcPeeredRequest": { @@ -4620,6 +4621,7 @@ "Bundle$diskSizeInGb": "

The size of the SSD (30).

", "Bundle$power": "

A numeric value that represents the power of the bundle (500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

", "Bundle$transferPerMonthInGb": "

The data transfer rate per month in GB (2000).

", + "Bundle$publicIpv4AddressCount": "

An integer that indicates the public ipv4 address count included in the bundle, the value is either 0 or 1.

", "ContainerServiceDeployment$version": "

The version number of the deployment.

", "ContainerServiceEndpoint$containerPort": "

The port of the specified container to which traffic is forwarded to.

", "ContainerServiceHealthCheckConfig$healthyThreshold": "

The number of consecutive health checks successes required before moving the container to the Healthy state. The default value is 2.

", diff --git a/service/acmpca/api.go b/service/acmpca/api.go index ea15a6e85ef..d82663775dc 100644 --- a/service/acmpca/api.go +++ b/service/acmpca/api.go @@ -4030,9 +4030,11 @@ func (s CreatePermissionOutput) GoString() string { // by setting the Enabled parameter to true. Your private CA writes CRLs to // an S3 bucket that you specify in the S3BucketName parameter. You can hide // the name of your bucket by specifying a value for the CustomCname parameter. -// Your private CA copies the CNAME or the S3 bucket name to the CRL Distribution -// Points extension of each certificate it issues. Your S3 bucket policy must -// give write permission to Amazon Web Services Private CA. +// Your private CA by default copies the CNAME or the S3 bucket name to the +// CRL Distribution Points extension of each certificate it issues. If you want +// to configure this default behavior to be something different, you can set +// the CrlDistributionPointExtensionConfiguration parameter. Your S3 bucket +// policy must give write permission to Amazon Web Services Private CA. // // Amazon Web Services Private CA assets that are stored in Amazon S3 can be // protected with encryption. For more information, see Encrypting Your CRLs @@ -4087,6 +4089,12 @@ func (s CreatePermissionOutput) GoString() string { type CrlConfiguration struct { _ struct{} `type:"structure"` + // Configures the behavior of the CRL Distribution Point extension for certificates + // issued by your certificate authority. If this field is not provided, then + // the CRl Distribution Point Extension will be present and contain the default + // CRL URL. + CrlDistributionPointExtensionConfiguration *CrlDistributionPointExtensionConfiguration `type:"structure"` + // Name inserted into the certificate CRL Distribution Points extension that // enables the use of an alias for the CRL distribution point. Use this value // if you don't want the name of your S3 bucket to be public. @@ -4168,6 +4176,11 @@ func (s *CrlConfiguration) Validate() error { if s.S3BucketName != nil && len(*s.S3BucketName) < 3 { invalidParams.Add(request.NewErrParamMinLen("S3BucketName", 3)) } + if s.CrlDistributionPointExtensionConfiguration != nil { + if err := s.CrlDistributionPointExtensionConfiguration.Validate(); err != nil { + invalidParams.AddNested("CrlDistributionPointExtensionConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -4175,6 +4188,12 @@ func (s *CrlConfiguration) Validate() error { return nil } +// SetCrlDistributionPointExtensionConfiguration sets the CrlDistributionPointExtensionConfiguration field's value. +func (s *CrlConfiguration) SetCrlDistributionPointExtensionConfiguration(v *CrlDistributionPointExtensionConfiguration) *CrlConfiguration { + s.CrlDistributionPointExtensionConfiguration = v + return s +} + // SetCustomCname sets the CustomCname field's value. func (s *CrlConfiguration) SetCustomCname(v string) *CrlConfiguration { s.CustomCname = &v @@ -4205,6 +4224,66 @@ func (s *CrlConfiguration) SetS3ObjectAcl(v string) *CrlConfiguration { return s } +// Contains configuration information for the default behavior of the CRL Distribution +// Point (CDP) extension in certificates issued by your CA. This extension contains +// a link to download the CRL, so you can check whether a certificate has been +// revoked. To choose whether you want this extension omitted or not in certificates +// issued by your CA, you can set the OmitExtension parameter. +type CrlDistributionPointExtensionConfiguration struct { + _ struct{} `type:"structure"` + + // Configures whether the CRL Distribution Point extension should be populated + // with the default URL to the CRL. If set to true, then the CDP extension will + // not be present in any certificates issued by that CA unless otherwise specified + // through CSR or API passthrough. + // + // Only set this if you have another way to distribute the CRL Distribution + // Points ffor certificates issued by your CA, such as the Matter Distributed + // Compliance Ledger + // + // This configuration cannot be enabled with a custom CNAME set. + // + // OmitExtension is a required field + OmitExtension *bool `type:"boolean" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CrlDistributionPointExtensionConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CrlDistributionPointExtensionConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CrlDistributionPointExtensionConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CrlDistributionPointExtensionConfiguration"} + if s.OmitExtension == nil { + invalidParams.Add(request.NewErrParamRequired("OmitExtension")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOmitExtension sets the OmitExtension field's value. +func (s *CrlDistributionPointExtensionConfiguration) SetOmitExtension(v bool) *CrlDistributionPointExtensionConfiguration { + s.OmitExtension = &v + return s +} + // Describes the certificate extensions to be added to the certificate signing // request (CSR). type CsrExtensions struct { @@ -6628,6 +6707,9 @@ type ListCertificateAuthoritiesInput struct { // of items to return in the response on each page. If additional items exist // beyond the number you specify, the NextToken element is sent in the response. // Use this NextToken value in a subsequent request to retrieve additional items. + // + // Although the maximum value is 1000, the action only returns a maximum of + // 100 items. MaxResults *int64 `min:"1" type:"integer"` // Use this parameter when paginating results in a subsequent request after diff --git a/service/acmpca/waiters.go b/service/acmpca/waiters.go index 3c4a763368a..7dfc2195e6e 100644 --- a/service/acmpca/waiters.go +++ b/service/acmpca/waiters.go @@ -131,7 +131,7 @@ func (c *ACMPCA) WaitUntilCertificateIssuedWithContext(ctx aws.Context, input *G w := request.Waiter{ Name: "WaitUntilCertificateIssued", MaxAttempts: 60, - Delay: request.ConstantWaiterDelay(3 * time.Second), + Delay: request.ConstantWaiterDelay(1 * time.Second), Acceptors: []request.WaiterAcceptor{ { State: request.SuccessWaiterState, diff --git a/service/lightsail/api.go b/service/lightsail/api.go index f2127cd2a73..8664ebec7db 100644 --- a/service/lightsail/api.go +++ b/service/lightsail/api.go @@ -19480,6 +19480,10 @@ type Bundle struct { // The price in US dollars (5.0) of the bundle. Price *float64 `locationName:"price" type:"float"` + // An integer that indicates the public ipv4 address count included in the bundle, + // the value is either 0 or 1. + PublicIpv4AddressCount *int64 `locationName:"publicIpv4AddressCount" type:"integer"` + // The amount of RAM in GB (2.0). RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"` @@ -19565,6 +19569,12 @@ func (s *Bundle) SetPrice(v float64) *Bundle { return s } +// SetPublicIpv4AddressCount sets the PublicIpv4AddressCount field's value. +func (s *Bundle) SetPublicIpv4AddressCount(v int64) *Bundle { + s.PublicIpv4AddressCount = &v + return s +} + // SetRamSizeInGb sets the RamSizeInGb field's value. func (s *Bundle) SetRamSizeInGb(v float64) *Bundle { s.RamSizeInGb = &v @@ -36409,6 +36419,9 @@ type InstanceAccessDetails struct { // The public IP address of the Amazon Lightsail instance. IpAddress *string `locationName:"ipAddress" type:"string"` + // The IPv6 address of the Amazon Lightsail instance. + Ipv6Addresses []*string `locationName:"ipv6Addresses" type:"list"` + // For RDP access, the password for your Amazon Lightsail instance. Password // will be an empty string if the password for your new instance is not ready // yet. When you create an instance, it can take up to 15 minutes for the instance @@ -36488,6 +36501,12 @@ func (s *InstanceAccessDetails) SetIpAddress(v string) *InstanceAccessDetails { return s } +// SetIpv6Addresses sets the Ipv6Addresses field's value. +func (s *InstanceAccessDetails) SetIpv6Addresses(v []*string) *InstanceAccessDetails { + s.Ipv6Addresses = v + return s +} + // SetPassword sets the Password field's value. func (s *InstanceAccessDetails) SetPassword(v string) *InstanceAccessDetails { s.Password = &v