Skip to content

Commit 7ee5a64

Browse files
chore: Updates version to 1.2.18
1 parent b19cecc commit 7ee5a64

File tree

410 files changed

+1844
-442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

410 files changed

+1844
-442
lines changed

Package.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.17
1+
1.2.18

Package.version.next

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.18
1+
1.2.19

Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes
6666

6767
public class ACMClient: ClientRuntime.Client {
6868
public static let clientName = "ACMClient"
69-
public static let version = "1.2.17"
69+
public static let version = "1.2.18"
7070
let client: ClientRuntime.SdkHttpClient
7171
let config: ACMClient.ACMClientConfiguration
7272
let serviceName = "ACM"

Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes
6666

6767
public class ACMPCAClient: ClientRuntime.Client {
6868
public static let clientName = "ACMPCAClient"
69-
public static let version = "1.2.17"
69+
public static let version = "1.2.18"
7070
let client: ClientRuntime.SdkHttpClient
7171
let config: ACMPCAClient.ACMPCAClientConfiguration
7272
let serviceName = "ACM PCA"

Sources/Services/AWSACMPCA/Sources/AWSACMPCA/Models.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -782,15 +782,15 @@ extension ACMPCAClientTypes {
782782
public struct CrlConfiguration: Swift.Sendable {
783783
/// 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.
784784
public var crlDistributionPointExtensionConfiguration: ACMPCAClientTypes.CrlDistributionPointExtensionConfiguration?
785-
/// Choose whether to use a partitioned or complete CRL. Your choice determines the maximum number of certificates that the certificate authority can issue and revoke, as described in the [Amazon Web Services Private CA quotas](https://docs.aws.amazon.com/general/latest/gr/pca.html#limits_pca-connector-ad).
785+
/// Specifies whether to create a complete or partitioned CRL. This setting determines the maximum number of certificates that the certificate authority can issue and revoke. For more information, see [Amazon Web Services Private CA quotas].
786786
///
787-
/// * PARTITIONED - The default setting. Partitioned CRLs are an especially good option for devices that have limited processing power or storage capacity, such as certain IoT devices. Compared to complete CRLs, partitioned CRLs dramatically increase the number of certificates your private CA can issue. Each certificate that Amazon Web Services Private CA issues is bound to a specific CRL partition through the CRL distribution point (CDP) defined in [RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280). To make sure that your client fetches the CRL from a valid endpoint, we recommend that you programmatically validate that the CRL's issuing distribution point (IDP) URI matches the certificate's CDP URI. Amazon Web Services Private CA marks the IDP extension as critical, which your client must be able to process.
787+
/// * COMPLETE - The default setting. Amazon Web Services Private CA maintains a single CRL file for all unexpired certificates issued by a CA that have been revoked for any reason. Each certificate that Amazon Web Services Private CA issues is bound to a specific CRL through its CRL distribution point (CDP) extension, defined in [ RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.9).
788788
///
789-
/// * COMPLETE - Amazon Web Services Private CA maintains a single CRL file for all unexpired certificates issued by a CA that have been revoked for any reason.
789+
/// * PARTITIONED - Compared to complete CRLs, partitioned CRLs dramatically increase the number of certificates your private CA can issue. When using partitioned CRLs, you must validate that the CRL's associated issuing distribution point (IDP) URI matches the certificate's CDP URI to ensure the right CRL has been fetched. Amazon Web Services Private CA marks the IDP extension as critical, which your client must be able to process.
790790
public var crlType: ACMPCAClientTypes.CrlType?
791791
/// 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://".
792792
public var customCname: Swift.String?
793-
/// Designates a custom file path in S3 for CRL(s). For example, http://<CustomName>/<CustomPath>/<CrlPartition_GUID>.crl. You can change the custom path up to five times.
793+
/// Designates a custom file path in S3 for CRL(s). For example, http://<CustomName>/ <CustomPath>/<CrlPartition_GUID>.crl.
794794
public var customPath: Swift.String?
795795
/// 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.
796796
/// This member is required.

Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes
7070

7171
public class APIGatewayClient: ClientRuntime.Client {
7272
public static let clientName = "APIGatewayClient"
73-
public static let version = "1.2.17"
73+
public static let version = "1.2.18"
7474
let client: ClientRuntime.SdkHttpClient
7575
let config: APIGatewayClient.APIGatewayClientConfiguration
7676
let serviceName = "API Gateway"

Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes
6666

6767
public class ARCZonalShiftClient: ClientRuntime.Client {
6868
public static let clientName = "ARCZonalShiftClient"
69-
public static let version = "1.2.17"
69+
public static let version = "1.2.18"
7070
let client: ClientRuntime.SdkHttpClient
7171
let config: ARCZonalShiftClient.ARCZonalShiftClientConfiguration
7272
let serviceName = "ARC Zonal Shift"

Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift

+79-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes
6767

6868
public class AccessAnalyzerClient: ClientRuntime.Client {
6969
public static let clientName = "AccessAnalyzerClient"
70-
public static let version = "1.2.17"
70+
public static let version = "1.2.18"
7171
let client: ClientRuntime.SdkHttpClient
7272
let config: AccessAnalyzerClient.AccessAnalyzerClientConfiguration
7373
let serviceName = "AccessAnalyzer"
@@ -1751,6 +1751,84 @@ extension AccessAnalyzerClient {
17511751
return try await op.execute(input: input)
17521752
}
17531753

1754+
/// Performs the `GetFindingsStatistics` operation on the `AccessAnalyzer` service.
1755+
///
1756+
/// Retrieves a list of aggregated finding statistics for an external access or unused access analyzer.
1757+
///
1758+
/// - Parameter GetFindingsStatisticsInput : [no documentation found]
1759+
///
1760+
/// - Returns: `GetFindingsStatisticsOutput` : [no documentation found]
1761+
///
1762+
/// - Throws: One of the exceptions listed below __Possible Exceptions__.
1763+
///
1764+
/// __Possible Exceptions:__
1765+
/// - `AccessDeniedException` : You do not have sufficient access to perform this action.
1766+
/// - `InternalServerException` : Internal server error.
1767+
/// - `ResourceNotFoundException` : The specified resource could not be found.
1768+
/// - `ThrottlingException` : Throttling limit exceeded error.
1769+
/// - `ValidationException` : Validation exception error.
1770+
public func getFindingsStatistics(input: GetFindingsStatisticsInput) async throws -> GetFindingsStatisticsOutput {
1771+
let context = Smithy.ContextBuilder()
1772+
.withMethod(value: .post)
1773+
.withServiceName(value: serviceName)
1774+
.withOperation(value: "getFindingsStatistics")
1775+
.withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator)
1776+
.withLogger(value: config.logger)
1777+
.withPartitionID(value: config.partitionID)
1778+
.withAuthSchemes(value: config.authSchemes ?? [])
1779+
.withAuthSchemeResolver(value: config.authSchemeResolver)
1780+
.withUnsignedPayloadTrait(value: false)
1781+
.withSocketTimeout(value: config.httpClientConfiguration.socketTimeout)
1782+
.withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth")
1783+
.withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4")
1784+
.withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a")
1785+
.withRegion(value: config.region)
1786+
.withRequestChecksumCalculation(value: config.requestChecksumCalculation)
1787+
.withResponseChecksumValidation(value: config.responseChecksumValidation)
1788+
.withSigningName(value: "access-analyzer")
1789+
.withSigningRegion(value: config.signingRegion)
1790+
.build()
1791+
let builder = ClientRuntime.OrchestratorBuilder<GetFindingsStatisticsInput, GetFindingsStatisticsOutput, SmithyHTTPAPI.HTTPRequest, SmithyHTTPAPI.HTTPResponse>()
1792+
config.interceptorProviders.forEach { provider in
1793+
builder.interceptors.add(provider.create())
1794+
}
1795+
config.httpInterceptorProviders.forEach { provider in
1796+
builder.interceptors.add(provider.create())
1797+
}
1798+
builder.interceptors.add(ClientRuntime.URLPathMiddleware<GetFindingsStatisticsInput, GetFindingsStatisticsOutput>(GetFindingsStatisticsInput.urlPathProvider(_:)))
1799+
builder.interceptors.add(ClientRuntime.URLHostMiddleware<GetFindingsStatisticsInput, GetFindingsStatisticsOutput>())
1800+
builder.interceptors.add(ClientRuntime.ContentTypeMiddleware<GetFindingsStatisticsInput, GetFindingsStatisticsOutput>(contentType: "application/json"))
1801+
builder.serialize(ClientRuntime.BodyMiddleware<GetFindingsStatisticsInput, GetFindingsStatisticsOutput, SmithyJSON.Writer>(rootNodeInfo: "", inputWritingClosure: GetFindingsStatisticsInput.write(value:to:)))
1802+
builder.interceptors.add(ClientRuntime.ContentLengthMiddleware<GetFindingsStatisticsInput, GetFindingsStatisticsOutput>())
1803+
builder.deserialize(ClientRuntime.DeserializeMiddleware<GetFindingsStatisticsOutput>(GetFindingsStatisticsOutput.httpOutput(from:), GetFindingsStatisticsOutputError.httpError(from:)))
1804+
builder.interceptors.add(ClientRuntime.LoggerMiddleware<GetFindingsStatisticsInput, GetFindingsStatisticsOutput>(clientLogMode: config.clientLogMode))
1805+
builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions))
1806+
builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:))
1807+
builder.applySigner(ClientRuntime.SignerMiddleware<GetFindingsStatisticsOutput>())
1808+
let configuredEndpoint = try config.endpoint ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.configuredEndpoint("AccessAnalyzer", config.ignoreConfiguredEndpointURLs)
1809+
let endpointParamsBlock = { [config] (context: Smithy.Context) in
1810+
EndpointParams(endpoint: configuredEndpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
1811+
}
1812+
builder.applyEndpoint(AWSClientRuntime.AWSEndpointResolverMiddleware<GetFindingsStatisticsOutput, EndpointParams>(paramsBlock: endpointParamsBlock, resolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }))
1813+
builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware<GetFindingsStatisticsOutput>())
1814+
builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware<GetFindingsStatisticsInput, GetFindingsStatisticsOutput>())
1815+
builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware<GetFindingsStatisticsInput, GetFindingsStatisticsOutput>(maxRetries: config.retryStrategyOptions.maxRetriesBase))
1816+
builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware<GetFindingsStatisticsInput, GetFindingsStatisticsOutput>(serviceID: serviceName, version: AccessAnalyzerClient.version, config: config))
1817+
var metricsAttributes = Smithy.Attributes()
1818+
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "AccessAnalyzer")
1819+
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetFindingsStatistics")
1820+
let op = builder.attributes(context)
1821+
.telemetry(ClientRuntime.OrchestratorTelemetry(
1822+
telemetryProvider: config.telemetryProvider,
1823+
metricsAttributes: metricsAttributes,
1824+
meterScope: serviceName,
1825+
tracerScope: serviceName
1826+
))
1827+
.executeRequest(client)
1828+
.build()
1829+
return try await op.execute(input: input)
1830+
}
1831+
17541832
/// Performs the `GetGeneratedPolicy` operation on the `AccessAnalyzer` service.
17551833
///
17561834
/// Retrieves the policy that was generated using StartPolicyGeneration.

0 commit comments

Comments
 (0)