Skip to content

Commit 170d021

Browse files
chore: Updates version to 0.17.0
1 parent 0804efe commit 170d021

File tree

178 files changed

+96141
-41544
lines changed

Some content is hidden

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

178 files changed

+96141
-41544
lines changed

Package.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func addProtocolTests() {
169169
// MARK: - Generated
170170

171171
addDependencies(
172-
clientRuntimeVersion: "0.19.0",
172+
clientRuntimeVersion: "0.20.0",
173173
crtVersion: "0.12.0"
174174
)
175175

@@ -386,6 +386,7 @@ let serviceTargets: [String] = [
386386
"AWSMediaConvert",
387387
"AWSMediaLive",
388388
"AWSMediaPackage",
389+
"AWSMediaPackageV2",
389390
"AWSMediaPackageVod",
390391
"AWSMediaStore",
391392
"AWSMediaStoreData",
@@ -404,6 +405,7 @@ let serviceTargets: [String] = [
404405
"AWSNetworkManager",
405406
"AWSNimble",
406407
"AWSOAM",
408+
"AWSOSIS",
407409
"AWSOmics",
408410
"AWSOpenSearch",
409411
"AWSOpenSearchServerless",

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.16.0
1+
0.17.0

Sources/Services/AWSAppSync/models/Models.swift

Lines changed: 162 additions & 86 deletions
Large diffs are not rendered by default.

Sources/Services/AWSAppflow/AppflowClient.swift

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,42 @@ public struct AppflowClientLogHandlerFactory: ClientRuntime.SDKLogHandlerFactory
192192
}
193193

194194
extension AppflowClient: AppflowClientProtocol {
195+
/// Cancels active runs for a flow. You can cancel all of the active runs for a flow, or you can cancel specific runs by providing their IDs. You can cancel a flow run only when the run is in progress. You can't cancel a run that has already completed or failed. You also can't cancel a run that's scheduled to occur but hasn't started yet. To prevent a scheduled run, you can deactivate the flow with the StopFlow action. You cannot resume a run after you cancel it. When you send your request, the status for each run becomes CancelStarted. When the cancellation completes, the status becomes Canceled. When you cancel a run, you still incur charges for any data that the run already processed before the cancellation. If the run had already written some data to the flow destination, then that data remains in the destination. If you configured the flow to use a batch API (such as the Salesforce Bulk API 2.0), then the run will finish reading or writing its entire batch of data after the cancellation. For these operations, the data processing charges for Amazon AppFlow apply. For the pricing information, see [Amazon AppFlow pricing](http://aws.amazon.com/appflow/pricing/).
196+
public func cancelFlowExecutions(input: CancelFlowExecutionsInput) async throws -> CancelFlowExecutionsOutputResponse
197+
{
198+
let context = ClientRuntime.HttpContextBuilder()
199+
.withEncoder(value: encoder)
200+
.withDecoder(value: decoder)
201+
.withMethod(value: .post)
202+
.withServiceName(value: serviceName)
203+
.withOperation(value: "cancelFlowExecutions")
204+
.withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator)
205+
.withLogger(value: config.logger)
206+
.withPartitionID(value: config.partitionID)
207+
.withCredentialsProvider(value: config.credentialsProvider)
208+
.withRegion(value: config.region)
209+
.withSigningName(value: "appflow")
210+
.withSigningRegion(value: config.signingRegion)
211+
.build()
212+
var operation = ClientRuntime.OperationStack<CancelFlowExecutionsInput, CancelFlowExecutionsOutputResponse, CancelFlowExecutionsOutputError>(id: "cancelFlowExecutions")
213+
operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLPathMiddleware<CancelFlowExecutionsInput, CancelFlowExecutionsOutputResponse, CancelFlowExecutionsOutputError>())
214+
operation.initializeStep.intercept(position: .after, middleware: ClientRuntime.URLHostMiddleware<CancelFlowExecutionsInput, CancelFlowExecutionsOutputResponse>())
215+
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
216+
operation.buildStep.intercept(position: .before, middleware: EndpointResolverMiddleware<CancelFlowExecutionsOutputResponse, CancelFlowExecutionsOutputError>(endpointResolver: config.endpointResolver, endpointParams: endpointParams))
217+
let apiMetadata = AWSClientRuntime.APIMetadata(serviceId: serviceName, version: "1.0")
218+
operation.buildStep.intercept(position: .before, middleware: AWSClientRuntime.UserAgentMiddleware(metadata: AWSClientRuntime.AWSUserAgentMetadata.fromEnv(apiMetadata: apiMetadata, frameworkMetadata: config.frameworkMetadata)))
219+
operation.serializeStep.intercept(position: .after, middleware: ContentTypeMiddleware<CancelFlowExecutionsInput, CancelFlowExecutionsOutputResponse>(contentType: "application/json"))
220+
operation.serializeStep.intercept(position: .after, middleware: ClientRuntime.SerializableBodyMiddleware<CancelFlowExecutionsInput, CancelFlowExecutionsOutputResponse>(xmlName: "CancelFlowExecutionsRequest"))
221+
operation.finalizeStep.intercept(position: .before, middleware: ClientRuntime.ContentLengthMiddleware())
222+
operation.finalizeStep.intercept(position: .after, middleware: ClientRuntime.RetryerMiddleware<CancelFlowExecutionsOutputResponse, CancelFlowExecutionsOutputError>(retryer: config.retryer))
223+
let sigv4Config = AWSClientRuntime.SigV4Config(unsignedBody: false, signingAlgorithm: .sigv4)
224+
operation.finalizeStep.intercept(position: .before, middleware: AWSClientRuntime.SigV4Middleware<CancelFlowExecutionsOutputResponse, CancelFlowExecutionsOutputError>(config: sigv4Config))
225+
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.DeserializeMiddleware<CancelFlowExecutionsOutputResponse, CancelFlowExecutionsOutputError>())
226+
operation.deserializeStep.intercept(position: .after, middleware: ClientRuntime.LoggerMiddleware<CancelFlowExecutionsOutputResponse, CancelFlowExecutionsOutputError>(clientLogMode: config.clientLogMode))
227+
let result = try await operation.handleMiddleware(context: context, input: input, next: client.getHandler())
228+
return result
229+
}
230+
195231
/// Creates a new connector profile associated with your Amazon Web Services account. There is a soft quota of 100 connector profiles per Amazon Web Services account. If you need more connector profiles than this quota allows, you can submit a request to the Amazon AppFlow team through the Amazon AppFlow support channel. In each connector profile that you create, you can provide the credentials and properties for only one connector.
196232
public func createConnectorProfile(input: CreateConnectorProfileInput) async throws -> CreateConnectorProfileOutputResponse
197233
{

Sources/Services/AWSAppflow/AppflowClientProtocol.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import ClientRuntime
1616
///
1717
/// If you're new to Amazon AppFlow, we recommend that you review the [Amazon AppFlow User Guide](https://docs.aws.amazon.com/appflow/latest/userguide/what-is-appflow.html). Amazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include applicable OAuth attributes (such as auth-code and redirecturi) with the connector-specific ConnectorProfileProperties when creating a new connector profile using Amazon AppFlow API operations. For example, Salesforce users can refer to the [ Authorize Apps with OAuth ](https://help.salesforce.com/articleView?id=remoteaccess_authenticate.htm) documentation.
1818
public protocol AppflowClientProtocol {
19+
/// Cancels active runs for a flow. You can cancel all of the active runs for a flow, or you can cancel specific runs by providing their IDs. You can cancel a flow run only when the run is in progress. You can't cancel a run that has already completed or failed. You also can't cancel a run that's scheduled to occur but hasn't started yet. To prevent a scheduled run, you can deactivate the flow with the StopFlow action. You cannot resume a run after you cancel it. When you send your request, the status for each run becomes CancelStarted. When the cancellation completes, the status becomes Canceled. When you cancel a run, you still incur charges for any data that the run already processed before the cancellation. If the run had already written some data to the flow destination, then that data remains in the destination. If you configured the flow to use a batch API (such as the Salesforce Bulk API 2.0), then the run will finish reading or writing its entire batch of data after the cancellation. For these operations, the data processing charges for Amazon AppFlow apply. For the pricing information, see [Amazon AppFlow pricing](http://aws.amazon.com/appflow/pricing/).
20+
func cancelFlowExecutions(input: CancelFlowExecutionsInput) async throws -> CancelFlowExecutionsOutputResponse
1921
/// Creates a new connector profile associated with your Amazon Web Services account. There is a soft quota of 100 connector profiles per Amazon Web Services account. If you need more connector profiles than this quota allows, you can submit a request to the Amazon AppFlow team through the Amazon AppFlow support channel. In each connector profile that you create, you can provide the credentials and properties for only one connector.
2022
func createConnectorProfile(input: CreateConnectorProfileInput) async throws -> CreateConnectorProfileOutputResponse
2123
/// Enables your application to create a new flow using Amazon AppFlow. You must create a connector profile before calling this API. Please note that the Request Syntax below shows syntax for multiple destinations, however, you can only transfer data to one item in this list at a time. Amazon AppFlow does not currently support flows to multiple destinations at once.

0 commit comments

Comments
 (0)