Skip to content

Commit

Permalink
Update models from aws-sdk-go-v2 release-2024-03-01
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Mar 4, 2024
1 parent c36f311 commit 6ec8b35
Show file tree
Hide file tree
Showing 1,021 changed files with 465,032 additions and 77,597 deletions.
52 changes: 48 additions & 4 deletions Package.swift

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Sources/Soto/Services/ACM/ACM_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public struct ACM: AWSService {
variantEndpoints: [
[.fips]: .init(endpoints: [
"ca-central-1": "acm-fips.ca-central-1.amazonaws.com",
"ca-west-1": "acm-fips.ca-west-1.amazonaws.com",
"us-east-1": "acm-fips.us-east-1.amazonaws.com",
"us-east-2": "acm-fips.us-east-2.amazonaws.com",
"us-gov-east-1": "acm.us-gov-east-1.amazonaws.com",
Expand Down
30 changes: 15 additions & 15 deletions Sources/Soto/Services/ACM/ACM_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import SotoCore
extension ACM {
// MARK: Enums

public enum CertificateStatus: String, CustomStringConvertible, Codable, Sendable {
public enum CertificateStatus: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case expired = "EXPIRED"
case failed = "FAILED"
case inactive = "INACTIVE"
Expand All @@ -37,27 +37,27 @@ extension ACM {
public var description: String { return self.rawValue }
}

public enum CertificateTransparencyLoggingPreference: String, CustomStringConvertible, Codable, Sendable {
public enum CertificateTransparencyLoggingPreference: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case disabled = "DISABLED"
case enabled = "ENABLED"
public var description: String { return self.rawValue }
}

public enum CertificateType: String, CustomStringConvertible, Codable, Sendable {
public enum CertificateType: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case `private` = "PRIVATE"
case amazonIssued = "AMAZON_ISSUED"
case imported = "IMPORTED"
public var description: String { return self.rawValue }
}

public enum DomainStatus: String, CustomStringConvertible, Codable, Sendable {
public enum DomainStatus: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case failed = "FAILED"
case pendingValidation = "PENDING_VALIDATION"
case success = "SUCCESS"
public var description: String { return self.rawValue }
}

public enum ExtendedKeyUsageName: String, CustomStringConvertible, Codable, Sendable {
public enum ExtendedKeyUsageName: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case any = "ANY"
case codeSigning = "CODE_SIGNING"
case custom = "CUSTOM"
Expand All @@ -73,7 +73,7 @@ extension ACM {
public var description: String { return self.rawValue }
}

public enum FailureReason: String, CustomStringConvertible, Codable, Sendable {
public enum FailureReason: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case additionalVerificationRequired = "ADDITIONAL_VERIFICATION_REQUIRED"
case caaError = "CAA_ERROR"
case domainNotAllowed = "DOMAIN_NOT_ALLOWED"
Expand All @@ -94,7 +94,7 @@ extension ACM {
public var description: String { return self.rawValue }
}

public enum KeyAlgorithm: String, CustomStringConvertible, Codable, Sendable {
public enum KeyAlgorithm: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case ecPrime256V1 = "EC_prime256v1"
case ecSecp384R1 = "EC_secp384r1"
case ecSecp521R1 = "EC_secp521r1"
Expand All @@ -105,7 +105,7 @@ extension ACM {
public var description: String { return self.rawValue }
}

public enum KeyUsageName: String, CustomStringConvertible, Codable, Sendable {
public enum KeyUsageName: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case any = "ANY"
case certificateSigning = "CERTIFICATE_SIGNING"
case crlSigning = "CRL_SIGNING"
Expand All @@ -120,26 +120,26 @@ extension ACM {
public var description: String { return self.rawValue }
}

public enum RecordType: String, CustomStringConvertible, Codable, Sendable {
public enum RecordType: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case cname = "CNAME"
public var description: String { return self.rawValue }
}

public enum RenewalEligibility: String, CustomStringConvertible, Codable, Sendable {
public enum RenewalEligibility: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case eligible = "ELIGIBLE"
case ineligible = "INELIGIBLE"
public var description: String { return self.rawValue }
}

public enum RenewalStatus: String, CustomStringConvertible, Codable, Sendable {
public enum RenewalStatus: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case failed = "FAILED"
case pendingAutoRenewal = "PENDING_AUTO_RENEWAL"
case pendingValidation = "PENDING_VALIDATION"
case success = "SUCCESS"
public var description: String { return self.rawValue }
}

public enum RevocationReason: String, CustomStringConvertible, Codable, Sendable {
public enum RevocationReason: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case aACompromise = "A_A_COMPROMISE"
case affiliationChanged = "AFFILIATION_CHANGED"
case caCompromise = "CA_COMPROMISE"
Expand All @@ -153,18 +153,18 @@ extension ACM {
public var description: String { return self.rawValue }
}

public enum SortBy: String, CustomStringConvertible, Codable, Sendable {
public enum SortBy: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case createdAt = "CREATED_AT"
public var description: String { return self.rawValue }
}

public enum SortOrder: String, CustomStringConvertible, Codable, Sendable {
public enum SortOrder: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case ascending = "ASCENDING"
case descending = "DESCENDING"
public var description: String { return self.rawValue }
}

public enum ValidationMethod: String, CustomStringConvertible, Codable, Sendable {
public enum ValidationMethod: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case dns = "DNS"
case email = "EMAIL"
public var description: String { return self.rawValue }
Expand Down
2 changes: 1 addition & 1 deletion Sources/Soto/Services/ACMPCA/ACMPCA_api+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ extension ACMPCA {
.init(state: .success, matcher: AWSSuccessMatcher()),
.init(state: .retry, matcher: AWSErrorCodeMatcher("RequestInProgressException")),
],
minDelayTime: .seconds(3),
minDelayTime: .seconds(1),
command: self.getCertificate
)
return try await self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger, on: eventLoop)
Expand Down
3 changes: 2 additions & 1 deletion Sources/Soto/Services/ACMPCA/ACMPCA_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public struct ACMPCA: AWSService {
variantEndpoints: [
[.fips]: .init(endpoints: [
"ca-central-1": "acm-pca-fips.ca-central-1.amazonaws.com",
"ca-west-1": "acm-pca-fips.ca-west-1.amazonaws.com",
"us-east-1": "acm-pca-fips.us-east-1.amazonaws.com",
"us-east-2": "acm-pca-fips.us-east-2.amazonaws.com",
"us-gov-east-1": "acm-pca.us-gov-east-1.amazonaws.com",
Expand Down Expand Up @@ -654,7 +655,7 @@ extension ACMPCA {
.init(state: .success, matcher: AWSSuccessMatcher()),
.init(state: .retry, matcher: AWSErrorCodeMatcher("RequestInProgressException")),
],
minDelayTime: .seconds(3),
minDelayTime: .seconds(1),
command: self.getCertificate
)
return self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger, on: eventLoop)
Expand Down
Loading

0 comments on commit 6ec8b35

Please sign in to comment.