Skip to content

Commit

Permalink
Update models from aws-sdk-go-v2 config/v1.28.0 (#734)
Browse files Browse the repository at this point in the history
* Update models from aws-sdk-go-v2 config/v1.28.0

* Fix S3Tests after LifecycleRuleFilter changed to structure

---------

Co-authored-by: adam-fowler <[email protected]>
Co-authored-by: Adam Fowler <[email protected]>
  • Loading branch information
3 people authored Oct 17, 2024
1 parent e115810 commit 7d33a9e
Show file tree
Hide file tree
Showing 245 changed files with 59,792 additions and 17,264 deletions.
8 changes: 6 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ let package = Package(
.library(name: "SotoDeviceFarm", targets: ["SotoDeviceFarm"]),
.library(name: "SotoDirectConnect", targets: ["SotoDirectConnect"]),
.library(name: "SotoDirectoryService", targets: ["SotoDirectoryService"]),
.library(name: "SotoDirectoryServiceData", targets: ["SotoDirectoryServiceData"]),
.library(name: "SotoDocDB", targets: ["SotoDocDB"]),
.library(name: "SotoDocDBElastic", targets: ["SotoDocDBElastic"]),
.library(name: "SotoDrs", targets: ["SotoDrs"]),
Expand Down Expand Up @@ -258,6 +259,7 @@ let package = Package(
.library(name: "SotoMarketplaceDeployment", targets: ["SotoMarketplaceDeployment"]),
.library(name: "SotoMarketplaceEntitlementService", targets: ["SotoMarketplaceEntitlementService"]),
.library(name: "SotoMarketplaceMetering", targets: ["SotoMarketplaceMetering"]),
.library(name: "SotoMarketplaceReporting", targets: ["SotoMarketplaceReporting"]),
.library(name: "SotoMediaConnect", targets: ["SotoMediaConnect"]),
.library(name: "SotoMediaConvert", targets: ["SotoMediaConvert"]),
.library(name: "SotoMediaLive", targets: ["SotoMediaLive"]),
Expand Down Expand Up @@ -380,6 +382,7 @@ let package = Package(
.library(name: "SotoSimSpaceWeaver", targets: ["SotoSimSpaceWeaver"]),
.library(name: "SotoSnowDeviceManagement", targets: ["SotoSnowDeviceManagement"]),
.library(name: "SotoSnowball", targets: ["SotoSnowball"]),
.library(name: "SotoSocialMessaging", targets: ["SotoSocialMessaging"]),
.library(name: "SotoSsmSap", targets: ["SotoSsmSap"]),
.library(name: "SotoStorageGateway", targets: ["SotoStorageGateway"]),
.library(name: "SotoSupplyChain", targets: ["SotoSupplyChain"]),
Expand All @@ -406,7 +409,6 @@ let package = Package(
.library(name: "SotoWellArchitected", targets: ["SotoWellArchitected"]),
.library(name: "SotoWisdom", targets: ["SotoWisdom"]),
.library(name: "SotoWorkDocs", targets: ["SotoWorkDocs"]),
.library(name: "SotoWorkLink", targets: ["SotoWorkLink"]),
.library(name: "SotoWorkMail", targets: ["SotoWorkMail"]),
.library(name: "SotoWorkMailMessageFlow", targets: ["SotoWorkMailMessageFlow"]),
.library(name: "SotoWorkSpaces", targets: ["SotoWorkSpaces"]),
Expand Down Expand Up @@ -530,6 +532,7 @@ let package = Package(
.target(name: "SotoDeviceFarm", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/DeviceFarm", swiftSettings: swiftSettings),
.target(name: "SotoDirectConnect", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/DirectConnect", swiftSettings: swiftSettings),
.target(name: "SotoDirectoryService", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/DirectoryService", swiftSettings: swiftSettings),
.target(name: "SotoDirectoryServiceData", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/DirectoryServiceData", swiftSettings: swiftSettings),
.target(name: "SotoDocDB", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/DocDB", swiftSettings: swiftSettings),
.target(name: "SotoDocDBElastic", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/DocDBElastic", swiftSettings: swiftSettings),
.target(name: "SotoDrs", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Drs", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -648,6 +651,7 @@ let package = Package(
.target(name: "SotoMarketplaceDeployment", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MarketplaceDeployment", swiftSettings: swiftSettings),
.target(name: "SotoMarketplaceEntitlementService", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MarketplaceEntitlementService", swiftSettings: swiftSettings),
.target(name: "SotoMarketplaceMetering", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MarketplaceMetering", swiftSettings: swiftSettings),
.target(name: "SotoMarketplaceReporting", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MarketplaceReporting", swiftSettings: swiftSettings),
.target(name: "SotoMediaConnect", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MediaConnect", swiftSettings: swiftSettings),
.target(name: "SotoMediaConvert", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MediaConvert", swiftSettings: swiftSettings),
.target(name: "SotoMediaLive", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MediaLive", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -770,6 +774,7 @@ let package = Package(
.target(name: "SotoSimSpaceWeaver", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SimSpaceWeaver", swiftSettings: swiftSettings),
.target(name: "SotoSnowDeviceManagement", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SnowDeviceManagement", swiftSettings: swiftSettings),
.target(name: "SotoSnowball", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Snowball", swiftSettings: swiftSettings),
.target(name: "SotoSocialMessaging", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SocialMessaging", swiftSettings: swiftSettings),
.target(name: "SotoSsmSap", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SsmSap", swiftSettings: swiftSettings),
.target(name: "SotoStorageGateway", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/StorageGateway", swiftSettings: swiftSettings),
.target(name: "SotoSupplyChain", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SupplyChain", swiftSettings: swiftSettings),
Expand All @@ -796,7 +801,6 @@ let package = Package(
.target(name: "SotoWellArchitected", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/WellArchitected", swiftSettings: swiftSettings),
.target(name: "SotoWisdom", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Wisdom", swiftSettings: swiftSettings),
.target(name: "SotoWorkDocs", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/WorkDocs", swiftSettings: swiftSettings),
.target(name: "SotoWorkLink", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/WorkLink", swiftSettings: swiftSettings),
.target(name: "SotoWorkMail", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/WorkMail", swiftSettings: swiftSettings),
.target(name: "SotoWorkMailMessageFlow", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/WorkMailMessageFlow", swiftSettings: swiftSettings),
.target(name: "SotoWorkSpaces", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/WorkSpaces", swiftSettings: swiftSettings),
Expand Down
24 changes: 10 additions & 14 deletions Sources/Soto/Services/ACMPCA/ACMPCA_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public struct ACMPCA: AWSService {
/// - certificateAuthorityType: The type of the certificate authority.
/// - idempotencyToken: Custom string that can be used to distinguish between calls to the CreateCertificateAuthority action. Idempotency tokens for
/// - keyStorageSecurityStandard: Specifies a cryptographic key management compliance standard used for handling CA
/// - revocationConfiguration: Contains information to enable Online Certificate Status Protocol (OCSP) support, to
/// - revocationConfiguration: Contains information to enable support for Online Certificate Status Protocol (OCSP), certificate revocation list (CRL), both protocols, or neither. By default, both certificate validation mechanisms are disabled. The following requirements apply to revocation configurations. A configuration disabling CRLs or OCSP must contain only the Enabled=False
/// - tags: Key-value pairs that will be attached to the new private CA. You can associate up to
/// - usageMode: Specifies whether the CA issues general-purpose certificates that typically require a
/// - logger: Logger use during operation
Expand All @@ -177,10 +177,8 @@ public struct ACMPCA: AWSService {
return try await self.createCertificateAuthority(input, logger: logger)
}

/// Creates an audit report that lists every time that your CA private key is used. The
/// report is saved in the Amazon S3 bucket that you specify on input. The IssueCertificate and RevokeCertificate actions use
/// the private key. Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Access
/// policies for CRLs in Amazon S3. Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your Audit
/// Creates an audit report that lists every time that your CA private key is used to issue a certificate. The IssueCertificate and RevokeCertificate actions use
/// the private key. To save the audit report to your designated Amazon S3 bucket, you must create a bucket policy that grants Amazon Web Services Private CA permission to access and write to it. For an example policy, see Prepare an Amazon S3 bucket for audit reports. Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your Audit
/// Reports. You can generate a maximum of one report every 30 minutes.
@Sendable
@inlinable
Expand All @@ -194,10 +192,8 @@ public struct ACMPCA: AWSService {
logger: logger
)
}
/// Creates an audit report that lists every time that your CA private key is used. The
/// report is saved in the Amazon S3 bucket that you specify on input. The IssueCertificate and RevokeCertificate actions use
/// the private key. Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Access
/// policies for CRLs in Amazon S3. Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your Audit
/// Creates an audit report that lists every time that your CA private key is used to issue a certificate. The IssueCertificate and RevokeCertificate actions use
/// the private key. To save the audit report to your designated Amazon S3 bucket, you must create a bucket policy that grants Amazon Web Services Private CA permission to access and write to it. For an example policy, see Prepare an Amazon S3 bucket for audit reports. Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your Audit
/// Reports. You can generate a maximum of one report every 30 minutes.
///
/// Parameters:
Expand Down Expand Up @@ -721,8 +717,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
@inlinable
public func importCertificateAuthorityCertificate(_ input: ImportCertificateAuthorityCertificateRequest, logger: Logger = AWSClient.loggingDisabled) async throws {
Expand All @@ -748,8 +744,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.
///
/// Parameters:
/// - certificate: The PEM-encoded certificate for a private CA. This may be a self-signed certificate in
Expand Down Expand Up @@ -1237,7 +1233,7 @@ public struct ACMPCA: AWSService {
///
/// Parameters:
/// - certificateAuthorityArn: Amazon Resource Name (ARN) of the private CA that issued the certificate to be
/// - revocationConfiguration: Contains information to enable Online Certificate Status Protocol (OCSP) support, to
/// - revocationConfiguration: Contains information to enable support for Online Certificate Status Protocol (OCSP), certificate revocation list (CRL), both protocols, or neither. If you don't supply this parameter, existing capibilites remain unchanged. For more
/// - status: Status of your private CA.
/// - logger: Logger use during operation
@inlinable
Expand Down
Loading

0 comments on commit 7d33a9e

Please sign in to comment.