Skip to content

Commit

Permalink
chore: Updates version to 0.53.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Aug 7, 2024
1 parent a6d2357 commit 4efff92
Show file tree
Hide file tree
Showing 6 changed files with 2,000 additions and 36 deletions.
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.52.0
0.53.0
49 changes: 49 additions & 0 deletions Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,55 @@ A pure-Swift SDK for accessing all published AWS services.
This SDK is open-source. Code is available on Github [here](https://github.com/awslabs/aws-sdk-swift).


## Smithy Runtime Module Documentation

[ClientRuntime](../../../../../swift/api/clientruntime/latest)

[Smithy](../../../../../swift/api/smithy/latest)

[SmithyChecksums](../../../../../swift/api/smithychecksums/latest)

[SmithyChecksumsAPI](../../../../../swift/api/smithychecksumsapi/latest)

[SmithyEventStreams](../../../../../swift/api/smithyeventstreams/latest)

[SmithyEventStreamsAPI](../../../../../swift/api/smithyeventstreamsapi/latest)

[SmithyEventStreamsAuthAPI](../../../../../swift/api/smithyeventstreamsauthapi/latest)

[SmithyFormURL](../../../../../swift/api/smithyformurl/latest)

[SmithyHTTPAPI](../../../../../swift/api/smithyhttpapi/latest)

[SmithyHTTPAuth](../../../../../swift/api/smithyhttpauth/latest)

[SmithyHTTPAuthAPI](../../../../../swift/api/smithyhttpauthapi/latest)

[SmithyHTTPClient](../../../../../swift/api/smithyhttpclient/latest)

[SmithyIdentity](../../../../../swift/api/smithyidentity/latest)

[SmithyIdentityAPI](../../../../../swift/api/smithyidentityapi/latest)

[SmithyJSON](../../../../../swift/api/smithyjson/latest)

[SmithyReadWrite](../../../../../swift/api/smithyreadwrite/latest)

[SmithyRetries](../../../../../swift/api/smithyretries/latest)

[SmithyRetriesAPI](../../../../../swift/api/smithyretriesapi/latest)

[SmithyStreams](../../../../../swift/api/smithystreams/latest)

[SmithyTestUtil](../../../../../swift/api/smithytestutil/latest)

[SmithyTimestamps](../../../../../swift/api/smithytimestamps/latest)

[SmithyWaitersAPI](../../../../../swift/api/smithywaitersapi/latest)

[SmithyXML](../../../../../swift/api/smithyxml/latest)


## AWS Runtime Module Documentation

[AWSClientRuntime](../../../../../swift/api/awsclientruntime/latest)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ extension AppIntegrationsClient {
extension AppIntegrationsClient {
/// Performs the `CreateApplication` operation on the `AmazonAppIntegrationService` service.
///
/// This API is in preview release and subject to change. Creates and persists an Application resource.
/// Creates and persists an Application resource.
///
/// - Parameter CreateApplicationInput : [no documentation found]
///
Expand Down Expand Up @@ -342,6 +342,80 @@ extension AppIntegrationsClient {
return try await op.execute(input: input)
}

/// Performs the `CreateDataIntegrationAssociation` operation on the `AmazonAppIntegrationService` service.
///
/// Creates and persists a DataIntegrationAssociation resource.
///
/// - Parameter CreateDataIntegrationAssociationInput : [no documentation found]
///
/// - Returns: `CreateDataIntegrationAssociationOutput` : [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.
/// - `InternalServiceError` : Request processing failed due to an error or failure with the service.
/// - `InvalidRequestException` : The request is not valid.
/// - `ResourceNotFoundException` : The specified resource was not found.
/// - `ResourceQuotaExceededException` : The allowed quota for the resource has been exceeded.
/// - `ThrottlingException` : The throttling limit has been exceeded.
public func createDataIntegrationAssociation(input: CreateDataIntegrationAssociationInput) async throws -> CreateDataIntegrationAssociationOutput {
let context = Smithy.ContextBuilder()
.withMethod(value: .post)
.withServiceName(value: serviceName)
.withOperation(value: "createDataIntegrationAssociation")
.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: "app-integrations")
.withSigningRegion(value: config.signingRegion)
.build()
let builder = ClientRuntime.OrchestratorBuilder<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput, SmithyHTTPAPI.HTTPRequest, SmithyHTTPAPI.HTTPResponse>()
config.interceptorProviders.forEach { provider in
builder.interceptors.add(provider.create())
}
config.httpInterceptorProviders.forEach { provider in
let i: any ClientRuntime.HttpInterceptor<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput> = provider.create()
builder.interceptors.add(i)
}
builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput>(keyPath: \.clientToken))
builder.interceptors.add(ClientRuntime.URLPathMiddleware<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput>(CreateDataIntegrationAssociationInput.urlPathProvider(_:)))
builder.interceptors.add(ClientRuntime.URLHostMiddleware<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput>())
builder.interceptors.add(ClientRuntime.ContentTypeMiddleware<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput>(contentType: "application/json"))
builder.serialize(ClientRuntime.BodyMiddleware<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput, SmithyJSON.Writer>(rootNodeInfo: "", inputWritingClosure: CreateDataIntegrationAssociationInput.write(value:to:)))
builder.interceptors.add(ClientRuntime.ContentLengthMiddleware<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput>())
builder.deserialize(ClientRuntime.DeserializeMiddleware<CreateDataIntegrationAssociationOutput>(CreateDataIntegrationAssociationOutput.httpOutput(from:), CreateDataIntegrationAssociationOutputError.httpError(from:)))
builder.interceptors.add(ClientRuntime.LoggerMiddleware<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput>(clientLogMode: config.clientLogMode))
builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions))
builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:))
builder.applySigner(ClientRuntime.SignerMiddleware<CreateDataIntegrationAssociationOutput>())
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware<CreateDataIntegrationAssociationOutput, EndpointParams>(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams))
builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput>(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware<CreateDataIntegrationAssociationOutput>())
builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput>())
builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware<CreateDataIntegrationAssociationInput, CreateDataIntegrationAssociationOutput>(maxRetries: config.retryStrategyOptions.maxRetriesBase))
var metricsAttributes = Smithy.Attributes()
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "AppIntegrations")
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateDataIntegrationAssociation")
let op = builder.attributes(context)
.telemetry(ClientRuntime.OrchestratorTelemetry(
telemetryProvider: config.telemetryProvider,
metricsAttributes: metricsAttributes
))
.executeRequest(client)
.build()
return try await op.execute(input: input)
}

/// Performs the `CreateEventIntegration` operation on the `AmazonAppIntegrationService` service.
///
/// Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.
Expand Down Expand Up @@ -625,7 +699,7 @@ extension AppIntegrationsClient {

/// Performs the `GetApplication` operation on the `AmazonAppIntegrationService` service.
///
/// This API is in preview release and subject to change. Get an Application resource.
/// Get an Application resource.
///
/// - Parameter GetApplicationInput : [no documentation found]
///
Expand Down Expand Up @@ -902,7 +976,7 @@ extension AppIntegrationsClient {

/// Performs the `ListApplications` operation on the `AmazonAppIntegrationService` service.
///
/// This API is in preview release and subject to change. Lists applications in the account.
/// Lists applications in the account.
///
/// - Parameter ListApplicationsInput : [no documentation found]
///
Expand Down Expand Up @@ -1457,7 +1531,7 @@ extension AppIntegrationsClient {

/// Performs the `UpdateApplication` operation on the `AmazonAppIntegrationService` service.
///
/// This API is in preview release and subject to change. Updates and persists an Application resource.
/// Updates and persists an Application resource.
///
/// - Parameter UpdateApplicationInput : [no documentation found]
///
Expand Down Expand Up @@ -1600,6 +1674,78 @@ extension AppIntegrationsClient {
return try await op.execute(input: input)
}

/// Performs the `UpdateDataIntegrationAssociation` operation on the `AmazonAppIntegrationService` service.
///
/// Updates and persists a DataIntegrationAssociation resource. Updating a DataIntegrationAssociation with ExecutionConfiguration will rerun the on-demand job.
///
/// - Parameter UpdateDataIntegrationAssociationInput : [no documentation found]
///
/// - Returns: `UpdateDataIntegrationAssociationOutput` : [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.
/// - `InternalServiceError` : Request processing failed due to an error or failure with the service.
/// - `InvalidRequestException` : The request is not valid.
/// - `ResourceNotFoundException` : The specified resource was not found.
/// - `ThrottlingException` : The throttling limit has been exceeded.
public func updateDataIntegrationAssociation(input: UpdateDataIntegrationAssociationInput) async throws -> UpdateDataIntegrationAssociationOutput {
let context = Smithy.ContextBuilder()
.withMethod(value: .patch)
.withServiceName(value: serviceName)
.withOperation(value: "updateDataIntegrationAssociation")
.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: "app-integrations")
.withSigningRegion(value: config.signingRegion)
.build()
let builder = ClientRuntime.OrchestratorBuilder<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput, SmithyHTTPAPI.HTTPRequest, SmithyHTTPAPI.HTTPResponse>()
config.interceptorProviders.forEach { provider in
builder.interceptors.add(provider.create())
}
config.httpInterceptorProviders.forEach { provider in
let i: any ClientRuntime.HttpInterceptor<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput> = provider.create()
builder.interceptors.add(i)
}
builder.interceptors.add(ClientRuntime.URLPathMiddleware<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput>(UpdateDataIntegrationAssociationInput.urlPathProvider(_:)))
builder.interceptors.add(ClientRuntime.URLHostMiddleware<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput>())
builder.interceptors.add(ClientRuntime.ContentTypeMiddleware<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput>(contentType: "application/json"))
builder.serialize(ClientRuntime.BodyMiddleware<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput, SmithyJSON.Writer>(rootNodeInfo: "", inputWritingClosure: UpdateDataIntegrationAssociationInput.write(value:to:)))
builder.interceptors.add(ClientRuntime.ContentLengthMiddleware<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput>())
builder.deserialize(ClientRuntime.DeserializeMiddleware<UpdateDataIntegrationAssociationOutput>(UpdateDataIntegrationAssociationOutput.httpOutput(from:), UpdateDataIntegrationAssociationOutputError.httpError(from:)))
builder.interceptors.add(ClientRuntime.LoggerMiddleware<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput>(clientLogMode: config.clientLogMode))
builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions))
builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:))
builder.applySigner(ClientRuntime.SignerMiddleware<UpdateDataIntegrationAssociationOutput>())
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware<UpdateDataIntegrationAssociationOutput, EndpointParams>(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams))
builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput>(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromConfig(serviceID: serviceName, version: "1.0", config: config)))
builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware<UpdateDataIntegrationAssociationOutput>())
builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput>())
builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware<UpdateDataIntegrationAssociationInput, UpdateDataIntegrationAssociationOutput>(maxRetries: config.retryStrategyOptions.maxRetriesBase))
var metricsAttributes = Smithy.Attributes()
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "AppIntegrations")
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateDataIntegrationAssociation")
let op = builder.attributes(context)
.telemetry(ClientRuntime.OrchestratorTelemetry(
telemetryProvider: config.telemetryProvider,
metricsAttributes: metricsAttributes
))
.executeRequest(client)
.build()
return try await op.execute(input: input)
}

/// Performs the `UpdateEventIntegration` operation on the `AmazonAppIntegrationService` service.
///
/// Updates the description of an event integration.
Expand Down
Loading

0 comments on commit 4efff92

Please sign in to comment.