Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update models from aws-sdk-go-v2 config/v1.27.27 #722

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ let package = Package(
.library(name: "SotoPricing", targets: ["SotoPricing"]),
.library(name: "SotoPrivateNetworks", targets: ["SotoPrivateNetworks"]),
.library(name: "SotoProton", targets: ["SotoProton"]),
.library(name: "SotoQApps", targets: ["SotoQApps"]),
.library(name: "SotoQBusiness", targets: ["SotoQBusiness"]),
.library(name: "SotoQConnect", targets: ["SotoQConnect"]),
.library(name: "SotoQLDB", targets: ["SotoQLDB"]),
Expand Down Expand Up @@ -414,7 +415,7 @@ let package = Package(
.library(name: "SotoXRay", targets: ["SotoXRay"])
],
dependencies: [
.package(url: "https://github.com/soto-project/soto-core.git", from: "7.0.0")
.package(url: "https://github.com/soto-project/soto-core.git", from: "7.0.0-rc.1")
],
targets: [
.target(name: "SotoACM", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ACM", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -700,6 +701,7 @@ let package = Package(
.target(name: "SotoPricing", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Pricing", swiftSettings: swiftSettings),
.target(name: "SotoPrivateNetworks", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PrivateNetworks", swiftSettings: swiftSettings),
.target(name: "SotoProton", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Proton", swiftSettings: swiftSettings),
.target(name: "SotoQApps", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/QApps", swiftSettings: swiftSettings),
.target(name: "SotoQBusiness", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/QBusiness", swiftSettings: swiftSettings),
.target(name: "SotoQConnect", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/QConnect", swiftSettings: swiftSettings),
.target(name: "SotoQLDB", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/QLDB", swiftSettings: swiftSettings),
Expand Down
14 changes: 7 additions & 7 deletions Sources/Soto/Services/ACM/ACM_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ extension ACM {
}

public enum KeyAlgorithm: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case ecPrime256V1 = "EC_prime256v1"
case ecSecp384R1 = "EC_secp384r1"
case ecSecp521R1 = "EC_secp521r1"
case rsa1024 = "RSA_1024"
case rsa2048 = "RSA_2048"
case rsa3072 = "RSA_3072"
case rsa4096 = "RSA_4096"
case ecPrime256V1 = "EC-prime256v1"
case ecSecp384R1 = "EC-secp384r1"
case ecSecp521R1 = "EC-secp521r1"
case rsa1024 = "RSA-1024"
case rsa2048 = "RSA-2048"
case rsa3072 = "RSA-3072"
case rsa4096 = "RSA-4096"
public var description: String { return self.rawValue }
}

Expand Down
9 changes: 6 additions & 3 deletions Sources/Soto/Services/ACMPCA/ACMPCA_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public struct ACMPCA: AWSService {
serviceName: "ACMPCA",
serviceIdentifier: "acm-pca",
serviceProtocol: .json(version: "1.1"),
apiVersion: "2017-08-22",
apiVersion: "",
endpoint: endpoint,
variantEndpoints: Self.variantEndpoints,
errorType: ACMPCAErrorType.self,
Expand Down Expand Up @@ -372,8 +372,8 @@ public struct ACMPCA: AWSService {
/// certificate, if any, that your root CA signed must be next to last. The
/// subordinate certificate signed by the preceding subordinate CA must come next,
/// and so on until your chain is built. The chain must be PEM-encoded. The maximum allowed size of a certificate is 32 KB. The maximum allowed size of a certificate chain is 2 MB. Enforcement of Critical Constraints Amazon Web Services Private CA allows the following extensions to be marked critical in the imported CA
/// certificate or chain. Authority key identifier Basic constraints (must be marked critical) Certificate policies Extended key usage Inhibit anyPolicy Issuer alternative name Key usage Name constraints Policy mappings Subject alternative name Subject directory attributes Subject key identifier Subject information access Amazon Web Services Private CA rejects the following extensions when they are marked critical in an
/// imported CA certificate or chain. Authority information access CRL distribution points Freshest CRL Policy constraints Amazon Web Services Private Certificate Authority will also reject any other extension marked as critical not contained on the preceding list of allowed extensions.
/// certificate or chain. Basic constraints (must be marked critical) Subject alternative names Key usage Extended key usage Authority key identifier Subject key identifier Issuer alternative name Subject directory attributes Subject information access Certificate policies Policy mappings Inhibit anyPolicy Amazon Web Services Private CA rejects the following extensions when they are marked critical in an
/// imported CA certificate or chain. Name constraints Policy constraints CRL distribution points Authority information access Freshest CRL Any other extension
@Sendable
public func importCertificateAuthorityCertificate(_ input: ImportCertificateAuthorityCertificateRequest, logger: Logger = AWSClient.loggingDisabled) async throws {
return try await self.client.execute(
Expand Down Expand Up @@ -715,6 +715,7 @@ extension ACMPCA {
.init(state: .failure, matcher: AWSErrorCodeMatcher("AccessDeniedException")),
],
minDelayTime: .seconds(3),
maxDelayTime: .seconds(180),
command: self.describeCertificateAuthorityAuditReport
)
return try await self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger)
Expand All @@ -732,6 +733,7 @@ extension ACMPCA {
.init(state: .failure, matcher: AWSErrorCodeMatcher("AccessDeniedException")),
],
minDelayTime: .seconds(3),
maxDelayTime: .seconds(180),
command: self.getCertificateAuthorityCsr
)
return try await self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger)
Expand All @@ -749,6 +751,7 @@ extension ACMPCA {
.init(state: .failure, matcher: AWSErrorCodeMatcher("AccessDeniedException")),
],
minDelayTime: .seconds(1),
maxDelayTime: .seconds(60),
command: self.getCertificate
)
return try await self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger)
Expand Down
Loading
Loading