Skip to content

Commit

Permalink
chore: Updates version to 0.35.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Feb 13, 2024
1 parent 3e7ce87 commit c9498b5
Show file tree
Hide file tree
Showing 808 changed files with 31,630 additions and 5,851 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func addResolvedTargets() {
// MARK: - Generated

addDependencies(
clientRuntimeVersion: "0.39.0",
clientRuntimeVersion: "0.40.0",
crtVersion: "0.26.0"
)

Expand Down
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.34.0
0.35.0
5 changes: 5 additions & 0 deletions Sources/Services/AWSACM/Models/ACMClientTypes.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Code generated by smithy-swift-codegen. DO NOT EDIT!



public enum ACMClientTypes {}
2 changes: 0 additions & 2 deletions Sources/Services/AWSACM/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import AWSClientRuntime
import ClientRuntime

public enum ACMClientTypes {}

extension AccessDeniedException {
public init(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil, message: Swift.String? = nil, requestID: Swift.String? = nil) async throws {
if let data = try await httpResponse.body.readData(),
Expand Down
5 changes: 5 additions & 0 deletions Sources/Services/AWSACMPCA/Models/ACMPCAClientTypes.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Code generated by smithy-swift-codegen. DO NOT EDIT!



public enum ACMPCAClientTypes {}
2 changes: 1 addition & 1 deletion Sources/Services/AWSACMPCA/Waiters.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ extension ACMPCAClient {
return (error as? ServiceError)?.typeName == "RequestInProgressException"
}),
]
return try WaiterConfiguration<GetCertificateInput, GetCertificateOutput>(acceptors: acceptors, minDelay: 3.0, maxDelay: 120.0)
return try WaiterConfiguration<GetCertificateInput, GetCertificateOutput>(acceptors: acceptors, minDelay: 1.0, maxDelay: 120.0)
}

/// Initiates waiting for the CertificateIssued event on the getCertificate operation.
Expand Down
52 changes: 48 additions & 4 deletions Sources/Services/AWSACMPCA/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import AWSClientRuntime
import ClientRuntime

public enum ACMPCAClientTypes {}

extension ACMPCAClientTypes.ASN1Subject: Swift.Codable {
enum CodingKeys: Swift.String, Swift.CodingKey {
case commonName = "CommonName"
Expand Down Expand Up @@ -1396,6 +1394,7 @@ enum CreatePermissionOutputError: ClientRuntime.HttpResponseErrorBinding {

extension ACMPCAClientTypes.CrlConfiguration: Swift.Codable {
enum CodingKeys: Swift.String, Swift.CodingKey {
case crlDistributionPointExtensionConfiguration = "CrlDistributionPointExtensionConfiguration"
case customCname = "CustomCname"
case enabled = "Enabled"
case expirationInDays = "ExpirationInDays"
Expand All @@ -1405,6 +1404,9 @@ extension ACMPCAClientTypes.CrlConfiguration: Swift.Codable {

public func encode(to encoder: Swift.Encoder) throws {
var encodeContainer = encoder.container(keyedBy: CodingKeys.self)
if let crlDistributionPointExtensionConfiguration = self.crlDistributionPointExtensionConfiguration {
try encodeContainer.encode(crlDistributionPointExtensionConfiguration, forKey: .crlDistributionPointExtensionConfiguration)
}
if let customCname = self.customCname {
try encodeContainer.encode(customCname, forKey: .customCname)
}
Expand Down Expand Up @@ -1434,11 +1436,13 @@ extension ACMPCAClientTypes.CrlConfiguration: Swift.Codable {
s3BucketName = s3BucketNameDecoded
let s3ObjectAclDecoded = try containerValues.decodeIfPresent(ACMPCAClientTypes.S3ObjectAcl.self, forKey: .s3ObjectAcl)
s3ObjectAcl = s3ObjectAclDecoded
let crlDistributionPointExtensionConfigurationDecoded = try containerValues.decodeIfPresent(ACMPCAClientTypes.CrlDistributionPointExtensionConfiguration.self, forKey: .crlDistributionPointExtensionConfiguration)
crlDistributionPointExtensionConfiguration = crlDistributionPointExtensionConfigurationDecoded
}
}

extension ACMPCAClientTypes {
/// 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](https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#crl-encryption). 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:
/// 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](https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#crl-encryption). 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:
///
/// * Version: The current version number defined in RFC 5280 is V2. The integer value is 0x1.
///
Expand Down Expand Up @@ -1482,6 +1486,8 @@ extension ACMPCAClientTypes {
///
/// 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)](https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html) in the Amazon Web Services Private Certificate Authority User Guide
public struct CrlConfiguration: Swift.Equatable {
/// 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.
public var crlDistributionPointExtensionConfiguration: ACMPCAClientTypes.CrlDistributionPointExtensionConfiguration?
/// 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. The content of a Canonical Name (CNAME) record must conform to [RFC2396](https://www.ietf.org/rfc/rfc2396.txt) restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as "http://" or "https://".
public var customCname: Swift.String?
/// 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](https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html) action or for an existing CA when you call the [UpdateCertificateAuthority](https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html) action.
Expand All @@ -1495,13 +1501,15 @@ extension ACMPCAClientTypes {
public var s3ObjectAcl: ACMPCAClientTypes.S3ObjectAcl?

public init(
crlDistributionPointExtensionConfiguration: ACMPCAClientTypes.CrlDistributionPointExtensionConfiguration? = nil,
customCname: Swift.String? = nil,
enabled: Swift.Bool? = nil,
expirationInDays: Swift.Int? = nil,
s3BucketName: Swift.String? = nil,
s3ObjectAcl: ACMPCAClientTypes.S3ObjectAcl? = nil
)
{
self.crlDistributionPointExtensionConfiguration = crlDistributionPointExtensionConfiguration
self.customCname = customCname
self.enabled = enabled
self.expirationInDays = expirationInDays
Expand All @@ -1512,6 +1520,42 @@ extension ACMPCAClientTypes {

}

extension ACMPCAClientTypes.CrlDistributionPointExtensionConfiguration: Swift.Codable {
enum CodingKeys: Swift.String, Swift.CodingKey {
case omitExtension = "OmitExtension"
}

public func encode(to encoder: Swift.Encoder) throws {
var encodeContainer = encoder.container(keyedBy: CodingKeys.self)
if let omitExtension = self.omitExtension {
try encodeContainer.encode(omitExtension, forKey: .omitExtension)
}
}

public init(from decoder: Swift.Decoder) throws {
let containerValues = try decoder.container(keyedBy: CodingKeys.self)
let omitExtensionDecoded = try containerValues.decodeIfPresent(Swift.Bool.self, forKey: .omitExtension)
omitExtension = omitExtensionDecoded
}
}

extension ACMPCAClientTypes {
/// 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.
public struct CrlDistributionPointExtensionConfiguration: Swift.Equatable {
/// 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.
/// This member is required.
public var omitExtension: Swift.Bool?

public init(
omitExtension: Swift.Bool? = nil
)
{
self.omitExtension = omitExtension
}
}

}

extension ACMPCAClientTypes.CsrExtensions: Swift.Codable {
enum CodingKeys: Swift.String, Swift.CodingKey {
case keyUsage = "KeyUsage"
Expand Down Expand Up @@ -3979,7 +4023,7 @@ extension ListCertificateAuthoritiesInput {
}

public struct ListCertificateAuthoritiesInput: Swift.Equatable {
/// 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.
/// 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.
public var maxResults: Swift.Int?
/// Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the NextToken parameter from the response you just received.
public var nextToken: Swift.String?
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Code generated by smithy-swift-codegen. DO NOT EDIT!



public enum APIGatewayClientTypes {}
2 changes: 0 additions & 2 deletions Sources/Services/AWSAPIGateway/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import AWSClientRuntime
import ClientRuntime

public enum APIGatewayClientTypes {}

extension APIGatewayClientTypes.AccessLogSettings: Swift.Codable {
enum CodingKeys: Swift.String, Swift.CodingKey {
case destinationArn
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Code generated by smithy-swift-codegen. DO NOT EDIT!



public enum ARCZonalShiftClientTypes {}
2 changes: 0 additions & 2 deletions Sources/Services/AWSARCZonalShift/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import AWSClientRuntime
import ClientRuntime

public enum ARCZonalShiftClientTypes {}

extension AccessDeniedException {
public init(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil, message: Swift.String? = nil, requestID: Swift.String? = nil) async throws {
if let data = try await httpResponse.body.readData(),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Code generated by smithy-swift-codegen. DO NOT EDIT!



public enum AccessAnalyzerClientTypes {}
2 changes: 0 additions & 2 deletions Sources/Services/AWSAccessAnalyzer/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ extension AccessAnalyzerClientTypes {

}

public enum AccessAnalyzerClientTypes {}

extension AccessAnalyzerClientTypes {
public enum AccessCheckPolicyType: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Codable, Swift.Hashable {
case identityPolicy
Expand Down
5 changes: 5 additions & 0 deletions Sources/Services/AWSAccount/Models/AccountClientTypes.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Code generated by smithy-swift-codegen. DO NOT EDIT!



public enum AccountClientTypes {}
2 changes: 0 additions & 2 deletions Sources/Services/AWSAccount/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ extension AccessDeniedExceptionBody: Swift.Decodable {
}
}

public enum AccountClientTypes {}

extension AccountClientTypes.AlternateContact: Swift.Codable {
enum CodingKeys: Swift.String, Swift.CodingKey {
case alternateContactType = "AlternateContactType"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Code generated by smithy-swift-codegen. DO NOT EDIT!



public enum AlexaForBusinessClientTypes {}
2 changes: 0 additions & 2 deletions Sources/Services/AWSAlexaForBusiness/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ extension AlexaForBusinessClientTypes {

}

public enum AlexaForBusinessClientTypes {}

extension AlreadyExistsException {
public init(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil, message: Swift.String? = nil, requestID: Swift.String? = nil) async throws {
if let data = try await httpResponse.body.readData(),
Expand Down
Loading

0 comments on commit c9498b5

Please sign in to comment.