Skip to content

Commit

Permalink
Update models from aws-sdk-go-v2 release-2024-06-26
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Jun 27, 2024
1 parent 07da2b3 commit 9ee37c6
Show file tree
Hide file tree
Showing 317 changed files with 82,922 additions and 16,613 deletions.
14 changes: 10 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ let package = Package(
.library(name: "SotoAppRunner", targets: ["SotoAppRunner"]),
.library(name: "SotoAppStream", targets: ["SotoAppStream"]),
.library(name: "SotoAppSync", targets: ["SotoAppSync"]),
.library(name: "SotoAppTest", targets: ["SotoAppTest"]),
.library(name: "SotoAppflow", targets: ["SotoAppflow"]),
.library(name: "SotoApplicationAutoScaling", targets: ["SotoApplicationAutoScaling"]),
.library(name: "SotoApplicationCostProfiler", targets: ["SotoApplicationCostProfiler"]),
.library(name: "SotoApplicationDiscoveryService", targets: ["SotoApplicationDiscoveryService"]),
.library(name: "SotoApplicationInsights", targets: ["SotoApplicationInsights"]),
.library(name: "SotoApplicationSignals", targets: ["SotoApplicationSignals"]),
.library(name: "SotoArtifact", targets: ["SotoArtifact"]),
.library(name: "SotoAthena", targets: ["SotoAthena"]),
.library(name: "SotoAuditManager", targets: ["SotoAuditManager"]),
Expand All @@ -62,7 +64,6 @@ let package = Package(
.library(name: "SotoBCMDataExports", targets: ["SotoBCMDataExports"]),
.library(name: "SotoBackup", targets: ["SotoBackup"]),
.library(name: "SotoBackupGateway", targets: ["SotoBackupGateway"]),
.library(name: "SotoBackupStorage", targets: ["SotoBackupStorage"]),
.library(name: "SotoBatch", targets: ["SotoBatch"]),
.library(name: "SotoBedrock", targets: ["SotoBedrock"]),
.library(name: "SotoBedrockAgent", targets: ["SotoBedrockAgent"]),
Expand Down Expand Up @@ -188,7 +189,6 @@ let package = Package(
.library(name: "SotoGuardDuty", targets: ["SotoGuardDuty"]),
.library(name: "SotoHealth", targets: ["SotoHealth"]),
.library(name: "SotoHealthLake", targets: ["SotoHealthLake"]),
.library(name: "SotoHoneycode", targets: ["SotoHoneycode"]),
.library(name: "SotoIAM", targets: ["SotoIAM"]),
.library(name: "SotoIVS", targets: ["SotoIVS"]),
.library(name: "SotoIVSRealTime", targets: ["SotoIVSRealTime"]),
Expand Down Expand Up @@ -250,6 +250,7 @@ let package = Package(
.library(name: "SotoMWAA", targets: ["SotoMWAA"]),
.library(name: "SotoMachineLearning", targets: ["SotoMachineLearning"]),
.library(name: "SotoMacie2", targets: ["SotoMacie2"]),
.library(name: "SotoMailManager", targets: ["SotoMailManager"]),
.library(name: "SotoManagedBlockchain", targets: ["SotoManagedBlockchain"]),
.library(name: "SotoManagedBlockchainQuery", targets: ["SotoManagedBlockchainQuery"]),
.library(name: "SotoMarketplaceAgreement", targets: ["SotoMarketplaceAgreement"]),
Expand Down Expand Up @@ -297,6 +298,7 @@ let package = Package(
.library(name: "SotoPaymentCryptography", targets: ["SotoPaymentCryptography"]),
.library(name: "SotoPaymentCryptographyData", targets: ["SotoPaymentCryptographyData"]),
.library(name: "SotoPcaConnectorAd", targets: ["SotoPcaConnectorAd"]),
.library(name: "SotoPcaConnectorScep", targets: ["SotoPcaConnectorScep"]),
.library(name: "SotoPersonalize", targets: ["SotoPersonalize"]),
.library(name: "SotoPersonalizeEvents", targets: ["SotoPersonalizeEvents"]),
.library(name: "SotoPersonalizeRuntime", targets: ["SotoPersonalizeRuntime"]),
Expand Down Expand Up @@ -383,6 +385,7 @@ let package = Package(
.library(name: "SotoSupport", targets: ["SotoSupport"]),
.library(name: "SotoSupportApp", targets: ["SotoSupportApp"]),
.library(name: "SotoSynthetics", targets: ["SotoSynthetics"]),
.library(name: "SotoTaxSettings", targets: ["SotoTaxSettings"]),
.library(name: "SotoTextract", targets: ["SotoTextract"]),
.library(name: "SotoTimestreamInfluxDB", targets: ["SotoTimestreamInfluxDB"]),
.library(name: "SotoTimestreamQuery", targets: ["SotoTimestreamQuery"]),
Expand Down Expand Up @@ -434,11 +437,13 @@ let package = Package(
.target(name: "SotoAppRunner", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/AppRunner", swiftSettings: swiftSettings),
.target(name: "SotoAppStream", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/AppStream", swiftSettings: swiftSettings),
.target(name: "SotoAppSync", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/AppSync", swiftSettings: swiftSettings),
.target(name: "SotoAppTest", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/AppTest", swiftSettings: swiftSettings),
.target(name: "SotoAppflow", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Appflow", swiftSettings: swiftSettings),
.target(name: "SotoApplicationAutoScaling", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ApplicationAutoScaling", swiftSettings: swiftSettings),
.target(name: "SotoApplicationCostProfiler", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ApplicationCostProfiler", swiftSettings: swiftSettings),
.target(name: "SotoApplicationDiscoveryService", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ApplicationDiscoveryService", swiftSettings: swiftSettings),
.target(name: "SotoApplicationInsights", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ApplicationInsights", swiftSettings: swiftSettings),
.target(name: "SotoApplicationSignals", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ApplicationSignals", swiftSettings: swiftSettings),
.target(name: "SotoArtifact", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Artifact", swiftSettings: swiftSettings),
.target(name: "SotoAthena", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Athena", swiftSettings: swiftSettings),
.target(name: "SotoAuditManager", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/AuditManager", swiftSettings: swiftSettings),
Expand All @@ -448,7 +453,6 @@ let package = Package(
.target(name: "SotoBCMDataExports", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/BCMDataExports", swiftSettings: swiftSettings),
.target(name: "SotoBackup", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Backup", swiftSettings: swiftSettings),
.target(name: "SotoBackupGateway", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/BackupGateway", swiftSettings: swiftSettings),
.target(name: "SotoBackupStorage", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/BackupStorage", swiftSettings: swiftSettings),
.target(name: "SotoBatch", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Batch", swiftSettings: swiftSettings),
.target(name: "SotoBedrock", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Bedrock", swiftSettings: swiftSettings),
.target(name: "SotoBedrockAgent", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/BedrockAgent", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -574,7 +578,6 @@ let package = Package(
.target(name: "SotoGuardDuty", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/GuardDuty", swiftSettings: swiftSettings),
.target(name: "SotoHealth", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Health", swiftSettings: swiftSettings),
.target(name: "SotoHealthLake", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/HealthLake", swiftSettings: swiftSettings),
.target(name: "SotoHoneycode", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Honeycode", swiftSettings: swiftSettings),
.target(name: "SotoIAM", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/IAM", swiftSettings: swiftSettings),
.target(name: "SotoIVS", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/IVS", swiftSettings: swiftSettings),
.target(name: "SotoIVSRealTime", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/IVSRealTime", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -636,6 +639,7 @@ let package = Package(
.target(name: "SotoMWAA", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MWAA", swiftSettings: swiftSettings),
.target(name: "SotoMachineLearning", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MachineLearning", swiftSettings: swiftSettings),
.target(name: "SotoMacie2", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Macie2", swiftSettings: swiftSettings),
.target(name: "SotoMailManager", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MailManager", swiftSettings: swiftSettings),
.target(name: "SotoManagedBlockchain", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ManagedBlockchain", swiftSettings: swiftSettings),
.target(name: "SotoManagedBlockchainQuery", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ManagedBlockchainQuery", swiftSettings: swiftSettings),
.target(name: "SotoMarketplaceAgreement", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MarketplaceAgreement", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -683,6 +687,7 @@ let package = Package(
.target(name: "SotoPaymentCryptography", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PaymentCryptography", swiftSettings: swiftSettings),
.target(name: "SotoPaymentCryptographyData", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PaymentCryptographyData", swiftSettings: swiftSettings),
.target(name: "SotoPcaConnectorAd", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PcaConnectorAd", swiftSettings: swiftSettings),
.target(name: "SotoPcaConnectorScep", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PcaConnectorScep", swiftSettings: swiftSettings),
.target(name: "SotoPersonalize", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Personalize", swiftSettings: swiftSettings),
.target(name: "SotoPersonalizeEvents", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PersonalizeEvents", swiftSettings: swiftSettings),
.target(name: "SotoPersonalizeRuntime", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/PersonalizeRuntime", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -769,6 +774,7 @@ let package = Package(
.target(name: "SotoSupport", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Support", swiftSettings: swiftSettings),
.target(name: "SotoSupportApp", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SupportApp", swiftSettings: swiftSettings),
.target(name: "SotoSynthetics", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Synthetics", swiftSettings: swiftSettings),
.target(name: "SotoTaxSettings", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/TaxSettings", swiftSettings: swiftSettings),
.target(name: "SotoTextract", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Textract", swiftSettings: swiftSettings),
.target(name: "SotoTimestreamInfluxDB", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/TimestreamInfluxDB", swiftSettings: swiftSettings),
.target(name: "SotoTimestreamQuery", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/TimestreamQuery", swiftSettings: swiftSettings),
Expand Down
7 changes: 5 additions & 2 deletions Sources/Soto/Services/ACMPCA/ACMPCA_api.swift
Original file line number Diff line number Diff line change
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. 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
/// 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.
@Sendable
public func importCertificateAuthorityCertificate(_ input: ImportCertificateAuthorityCertificateRequest, logger: Logger = AWSClient.loggingDisabled) async throws {
return try await self.client.execute(
Expand Down Expand Up @@ -712,6 +712,7 @@ extension ACMPCA {
acceptors: [
.init(state: .success, matcher: try! JMESPathMatcher("auditReportStatus", expected: "SUCCESS")),
.init(state: .failure, matcher: try! JMESPathMatcher("auditReportStatus", expected: "FAILED")),
.init(state: .failure, matcher: AWSErrorCodeMatcher("AccessDeniedException")),
],
minDelayTime: .seconds(3),
command: self.describeCertificateAuthorityAuditReport
Expand All @@ -728,6 +729,7 @@ extension ACMPCA {
acceptors: [
.init(state: .success, matcher: AWSSuccessMatcher()),
.init(state: .retry, matcher: AWSErrorCodeMatcher("RequestInProgressException")),
.init(state: .failure, matcher: AWSErrorCodeMatcher("AccessDeniedException")),
],
minDelayTime: .seconds(3),
command: self.getCertificateAuthorityCsr
Expand All @@ -744,6 +746,7 @@ extension ACMPCA {
acceptors: [
.init(state: .success, matcher: AWSSuccessMatcher()),
.init(state: .retry, matcher: AWSErrorCodeMatcher("RequestInProgressException")),
.init(state: .failure, matcher: AWSErrorCodeMatcher("AccessDeniedException")),
],
minDelayTime: .seconds(1),
command: self.getCertificate
Expand Down
Loading

0 comments on commit 9ee37c6

Please sign in to comment.