Skip to content

Commit

Permalink
chore: Updates version to 1.0.40
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Nov 14, 2024
1 parent 783d8aa commit b2bf4ec
Show file tree
Hide file tree
Showing 417 changed files with 19,206 additions and 2,705 deletions.
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import PackageDescription

// MARK: - Dynamic Content

let clientRuntimeVersion: Version = "0.91.0"
let clientRuntimeVersion: Version = "0.92.0"
let crtVersion: Version = "0.37.0"

let excludeRuntimeUnitTests = false
Expand Down Expand Up @@ -292,6 +292,7 @@ let serviceTargets: [String] = [
"AWSPCS",
"AWSPI",
"AWSPanorama",
"AWSPartnerCentralSelling",
"AWSPaymentCryptography",
"AWSPaymentCryptographyData",
"AWSPcaConnectorAd",
Expand Down
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.39
1.0.40
2 changes: 1 addition & 1 deletion Package.version.next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.40
1.0.41
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,8 @@ This SDK is open-source. Code is available on Github [here](https://github.com/

[AWSPanorama](../../../../../swift/api/awspanorama/latest)

[AWSPartnerCentralSelling](../../../../../swift/api/awspartnercentralselling/latest)

[AWSPaymentCryptography](../../../../../swift/api/awspaymentcryptography/latest)

[AWSPaymentCryptographyData](../../../../../swift/api/awspaymentcryptographydata/latest)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class ACMClient: ClientRuntime.Client {
public static let clientName = "ACMClient"
public static let version = "1.0.39"
public static let version = "1.0.40"
let client: ClientRuntime.SdkHttpClient
let config: ACMClient.ACMClientConfiguration
let serviceName = "ACM"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class ACMPCAClient: ClientRuntime.Client {
public static let clientName = "ACMPCAClient"
public static let version = "1.0.39"
public static let version = "1.0.40"
let client: ClientRuntime.SdkHttpClient
let config: ACMPCAClient.ACMPCAClientConfiguration
let serviceName = "ACM PCA"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class APIGatewayClient: ClientRuntime.Client {
public static let clientName = "APIGatewayClient"
public static let version = "1.0.39"
public static let version = "1.0.40"
let client: ClientRuntime.SdkHttpClient
let config: APIGatewayClient.APIGatewayClientConfiguration
let serviceName = "API Gateway"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class ARCZonalShiftClient: ClientRuntime.Client {
public static let clientName = "ARCZonalShiftClient"
public static let version = "1.0.39"
public static let version = "1.0.40"
let client: ClientRuntime.SdkHttpClient
let config: ARCZonalShiftClient.ARCZonalShiftClientConfiguration
let serviceName = "ARC Zonal Shift"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AccessAnalyzerClient: ClientRuntime.Client {
public static let clientName = "AccessAnalyzerClient"
public static let version = "1.0.39"
public static let version = "1.0.40"
let client: ClientRuntime.SdkHttpClient
let config: AccessAnalyzerClient.AccessAnalyzerClientConfiguration
let serviceName = "AccessAnalyzer"
Expand Down Expand Up @@ -1714,7 +1714,7 @@ extension AccessAnalyzerClient {

/// Performs the `ListAnalyzedResources` operation on the `AccessAnalyzer` service.
///
/// Retrieves a list of resources of the specified type that have been analyzed by the specified external access analyzer. This action is not supported for unused access analyzers.
/// Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer.
///
/// - Parameter ListAnalyzedResourcesInput : Retrieves a list of resources that have been analyzed.
///
Expand Down Expand Up @@ -2503,6 +2503,80 @@ extension AccessAnalyzerClient {
return try await op.execute(input: input)
}

/// Performs the `UpdateAnalyzer` operation on the `AccessAnalyzer` service.
///
/// Modifies the configuration of an existing analyzer.
///
/// - Parameter UpdateAnalyzerInput : [no documentation found]
///
/// - Returns: `UpdateAnalyzerOutput` : [no documentation found]
///
/// - Throws: One of the exceptions listed below __Possible Exceptions__.
///
/// __Possible Exceptions:__
/// - `AccessDeniedException` : You do not have sufficient access to perform this action.
/// - `ConflictException` : A conflict exception error.
/// - `InternalServerException` : Internal server error.
/// - `ResourceNotFoundException` : The specified resource could not be found.
/// - `ThrottlingException` : Throttling limit exceeded error.
/// - `ValidationException` : Validation exception error.
public func updateAnalyzer(input: UpdateAnalyzerInput) async throws -> UpdateAnalyzerOutput {
let context = Smithy.ContextBuilder()
.withMethod(value: .put)
.withServiceName(value: serviceName)
.withOperation(value: "updateAnalyzer")
.withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator)
.withLogger(value: config.logger)
.withPartitionID(value: config.partitionID)
.withAuthSchemes(value: config.authSchemes ?? [])
.withAuthSchemeResolver(value: config.authSchemeResolver)
.withUnsignedPayloadTrait(value: false)
.withSocketTimeout(value: config.httpClientConfiguration.socketTimeout)
.withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth")
.withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4")
.withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a")
.withRegion(value: config.region)
.withSigningName(value: "access-analyzer")
.withSigningRegion(value: config.signingRegion)
.build()
let builder = ClientRuntime.OrchestratorBuilder<UpdateAnalyzerInput, UpdateAnalyzerOutput, SmithyHTTPAPI.HTTPRequest, SmithyHTTPAPI.HTTPResponse>()
config.interceptorProviders.forEach { provider in
builder.interceptors.add(provider.create())
}
config.httpInterceptorProviders.forEach { provider in
builder.interceptors.add(provider.create())
}
builder.interceptors.add(ClientRuntime.URLPathMiddleware<UpdateAnalyzerInput, UpdateAnalyzerOutput>(UpdateAnalyzerInput.urlPathProvider(_:)))
builder.interceptors.add(ClientRuntime.URLHostMiddleware<UpdateAnalyzerInput, UpdateAnalyzerOutput>())
builder.interceptors.add(ClientRuntime.ContentTypeMiddleware<UpdateAnalyzerInput, UpdateAnalyzerOutput>(contentType: "application/json"))
builder.serialize(ClientRuntime.BodyMiddleware<UpdateAnalyzerInput, UpdateAnalyzerOutput, SmithyJSON.Writer>(rootNodeInfo: "", inputWritingClosure: UpdateAnalyzerInput.write(value:to:)))
builder.interceptors.add(ClientRuntime.ContentLengthMiddleware<UpdateAnalyzerInput, UpdateAnalyzerOutput>())
builder.deserialize(ClientRuntime.DeserializeMiddleware<UpdateAnalyzerOutput>(UpdateAnalyzerOutput.httpOutput(from:), UpdateAnalyzerOutputError.httpError(from:)))
builder.interceptors.add(ClientRuntime.LoggerMiddleware<UpdateAnalyzerInput, UpdateAnalyzerOutput>(clientLogMode: config.clientLogMode))
builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions))
builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:))
builder.applySigner(ClientRuntime.SignerMiddleware<UpdateAnalyzerOutput>())
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware<UpdateAnalyzerOutput, EndpointParams>(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams))
builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware<UpdateAnalyzerInput, UpdateAnalyzerOutput>(serviceID: serviceName, version: AccessAnalyzerClient.version, config: config))
builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware<UpdateAnalyzerOutput>())
builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware<UpdateAnalyzerInput, UpdateAnalyzerOutput>())
builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware<UpdateAnalyzerInput, UpdateAnalyzerOutput>(maxRetries: config.retryStrategyOptions.maxRetriesBase))
var metricsAttributes = Smithy.Attributes()
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "AccessAnalyzer")
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateAnalyzer")
let op = builder.attributes(context)
.telemetry(ClientRuntime.OrchestratorTelemetry(
telemetryProvider: config.telemetryProvider,
metricsAttributes: metricsAttributes,
meterScope: serviceName,
tracerScope: serviceName
))
.executeRequest(client)
.build()
return try await op.execute(input: input)
}

/// Performs the `UpdateArchiveRule` operation on the `AccessAnalyzer` service.
///
/// Updates the criteria and values for the specified archive rule.
Expand Down
Loading

0 comments on commit b2bf4ec

Please sign in to comment.