Skip to content

Commit

Permalink
Update models from aws-sdk-go-v2 release-2024-01-26
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Jan 29, 2024
1 parent c36f311 commit aa4d2dc
Show file tree
Hide file tree
Showing 1,187 changed files with 311,607 additions and 1,117,636 deletions.
149 changes: 0 additions & 149 deletions Sources/Soto/Services/ACM/ACM_api+async.swift

This file was deleted.

258 changes: 0 additions & 258 deletions Sources/Soto/Services/ACM/ACM_api.swift

This file was deleted.

1,203 changes: 0 additions & 1,203 deletions Sources/Soto/Services/ACM/ACM_shapes.swift

This file was deleted.

2 changes: 1 addition & 1 deletion Sources/Soto/Services/ACMPCA/ACMPCA_api+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ extension ACMPCA {
.init(state: .success, matcher: AWSSuccessMatcher()),
.init(state: .retry, matcher: AWSErrorCodeMatcher("RequestInProgressException")),
],
minDelayTime: .seconds(3),
minDelayTime: .seconds(1),
command: self.getCertificate
)
return try await self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger, on: eventLoop)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Soto/Services/ACMPCA/ACMPCA_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ extension ACMPCA {
.init(state: .success, matcher: AWSSuccessMatcher()),
.init(state: .retry, matcher: AWSErrorCodeMatcher("RequestInProgressException")),
],
minDelayTime: .seconds(3),
minDelayTime: .seconds(1),
command: self.getCertificate
)
return self.client.waitUntil(input, waiter: waiter, maxWaitTime: maxWaitTime, logger: logger, on: eventLoop)
Expand Down
114 changes: 66 additions & 48 deletions Sources/Soto/Services/ACMPCA/ACMPCA_shapes.swift

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Sources/Soto/Services/APIGateway/APIGateway_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public struct APIGateway: AWSService {
variantEndpoints: [
[.fips]: .init(endpoints: [
"ca-central-1": "apigateway-fips.ca-central-1.amazonaws.com",
"ca-west-1": "apigateway-fips.ca-west-1.amazonaws.com",
"us-east-1": "apigateway-fips.us-east-1.amazonaws.com",
"us-east-2": "apigateway-fips.us-east-2.amazonaws.com",
"us-west-1": "apigateway-fips.us-west-1.amazonaws.com",
Expand Down
5,132 changes: 0 additions & 5,132 deletions Sources/Soto/Services/APIGateway/APIGateway_shapes.swift

This file was deleted.

76 changes: 68 additions & 8 deletions Sources/Soto/Services/ARCZonalShift/ARCZonalShift_api+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,70 @@ import SotoCore
extension ARCZonalShift {
// MARK: Async API Calls

/// Cancel a zonal shift in Amazon Route 53 Application Recovery Controller that you've started for a resource in your AWS account in an AWS Region.
/// Cancel a zonal shift in Amazon Route 53 Application Recovery Controller. To cancel the zonal shift, specify the zonal shift ID. A zonal shift can be one that you've started for a resource in your Amazon Web Services account in an Amazon Web Services Region, or it can be a zonal shift started by a practice run with zonal autoshift.
public func cancelZonalShift(_ input: CancelZonalShiftRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> ZonalShift {
return try await self.client.execute(operation: "CancelZonalShift", path: "/zonalshifts/{zonalShiftId}", httpMethod: .DELETE, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}

/// Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this AWS Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
/// A practice run configuration for zonal autoshift is required when you enable zonal autoshift.
/// A practice run configuration includes specifications for blocked dates and blocked time windows,
/// and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an
/// outcome alarm, to monitor application health during practice runs and,
/// optionally, a blocking alarm, to block practice runs from starting. For more information, see
///
/// Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.
public func createPracticeRunConfiguration(_ input: CreatePracticeRunConfigurationRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> CreatePracticeRunConfigurationResponse {
return try await self.client.execute(operation: "CreatePracticeRunConfiguration", path: "/configuration", httpMethod: .POST, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}

/// Deletes the practice run configuration for a resource. Before you can delete
/// a practice run configuration for a resource., you must disable zonal autoshift for
/// the resource. Practice runs must be configured for zonal autoshift to be enabled.
public func deletePracticeRunConfiguration(_ input: DeletePracticeRunConfigurationRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> DeletePracticeRunConfigurationResponse {
return try await self.client.execute(operation: "DeletePracticeRunConfiguration", path: "/configuration/{resourceIdentifier}", httpMethod: .DELETE, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}

/// Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this Amazon Web Services Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC. You can start zonal shifts and configure zonal autoshift for managed resources. At this time, you can only start a zonal shift or configure zonal autoshift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
public func getManagedResource(_ input: GetManagedResourceRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> GetManagedResourceResponse {
return try await self.client.execute(operation: "GetManagedResource", path: "/managedresources/{resourceIdentifier}", httpMethod: .GET, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}

/// Lists all the resources in your AWS account in this AWS Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes their Amazon Resource Names (ARNs), the Availability Zones the resources are deployed in, and the resource name.
/// Returns the active autoshifts for a specified resource.
public func listAutoshifts(_ input: ListAutoshiftsRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> ListAutoshiftsResponse {
return try await self.client.execute(operation: "ListAutoshifts", path: "/autoshifts", httpMethod: .GET, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}

/// Lists all the resources in your Amazon Web Services account in this Amazon Web Services Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes the zonal autoshift status for the resource, as well as the Amazon Resource Name (ARN), the Availability Zones that each resource is deployed in, and the resource name.
public func listManagedResources(_ input: ListManagedResourcesRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> ListManagedResourcesResponse {
return try await self.client.execute(operation: "ListManagedResources", path: "/managedresources", httpMethod: .GET, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}

/// Lists all the active zonal shifts in Amazon Route 53 Application Recovery Controller in your AWS account in this AWS Region.
/// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. ListZonalShifts returns customer-started zonal shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift. The ListZonalShifts operation does not list autoshifts. For more information about listing autoshifts, see ">ListAutoshifts.
public func listZonalShifts(_ input: ListZonalShiftsRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> ListZonalShiftsResponse {
return try await self.client.execute(operation: "ListZonalShifts", path: "/zonalshifts", httpMethod: .GET, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}

/// You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in a AWS Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your account in an AWS Region. Resources are automatically registered with Route 53 ARC by AWS services. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete. For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.
/// You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in an Amazon Web Services Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your Amazon Web Services account in an Amazon Web Services Region. Resources are automatically registered with Route 53 ARC by Amazon Web Services services. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete. For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.
public func startZonalShift(_ input: StartZonalShiftRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> ZonalShift {
return try await self.client.execute(operation: "StartZonalShift", path: "/zonalshifts", httpMethod: .POST, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}

/// Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your AWS account. You can update a zonal shift to set a new expiration, or edit or replace the comment for the zonal shift.
/// Update a practice run configuration to change one or more of the following: add,
/// change, or remove the blocking alarm; change the outcome alarm; or add, change,
/// or remove blocking dates or time windows.
public func updatePracticeRunConfiguration(_ input: UpdatePracticeRunConfigurationRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> UpdatePracticeRunConfigurationResponse {
return try await self.client.execute(operation: "UpdatePracticeRunConfiguration", path: "/configuration/{resourceIdentifier}", httpMethod: .PATCH, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}

/// You can update the zonal autoshift status for a resource, to enable or disable zonal
/// autoshift. When zonal autoshift is ENABLED, Amazon Web Services shifts away
/// resource traffic from an Availability Zone, on your behalf, when Amazon Web Services
/// determines that there's an issue in the Availability Zone that could potentially affect customers.
public func updateZonalAutoshiftConfiguration(_ input: UpdateZonalAutoshiftConfigurationRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> UpdateZonalAutoshiftConfigurationResponse {
return try await self.client.execute(operation: "UpdateZonalAutoshiftConfiguration", path: "/managedresources/{resourceIdentifier}", httpMethod: .PUT, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}

/// Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account. You can update a zonal shift to set a new expiration, or edit or replace the comment for the zonal shift.
public func updateZonalShift(_ input: UpdateZonalShiftRequest, logger: Logger = AWSClient.loggingDisabled, on eventLoop: EventLoop? = nil) async throws -> ZonalShift {
return try await self.client.execute(operation: "UpdateZonalShift", path: "/zonalshifts/{zonalShiftId}", httpMethod: .PATCH, serviceConfig: self.config, input: input, logger: logger, on: eventLoop)
}
Expand All @@ -56,7 +94,29 @@ extension ARCZonalShift {

@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
extension ARCZonalShift {
/// Lists all the resources in your AWS account in this AWS Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes their Amazon Resource Names (ARNs), the Availability Zones the resources are deployed in, and the resource name.
/// Returns the active autoshifts for a specified resource.
/// Return PaginatorSequence for operation.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
public func listAutoshiftsPaginator(
_ input: ListAutoshiftsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil
) -> AWSClient.PaginatorSequence<ListAutoshiftsRequest, ListAutoshiftsResponse> {
return .init(
input: input,
command: self.listAutoshifts,
inputKey: \ListAutoshiftsRequest.nextToken,
outputKey: \ListAutoshiftsResponse.nextToken,
logger: logger,
on: eventLoop
)
}

/// Lists all the resources in your Amazon Web Services account in this Amazon Web Services Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes the zonal autoshift status for the resource, as well as the Amazon Resource Name (ARN), the Availability Zones that each resource is deployed in, and the resource name.
/// Return PaginatorSequence for operation.
///
/// - Parameters:
Expand All @@ -78,7 +138,7 @@ extension ARCZonalShift {
)
}

/// Lists all the active zonal shifts in Amazon Route 53 Application Recovery Controller in your AWS account in this AWS Region.
/// Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. ListZonalShifts returns customer-started zonal shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift. The ListZonalShifts operation does not list autoshifts. For more information about listing autoshifts, see "&gt;ListAutoshifts.
/// Return PaginatorSequence for operation.
///
/// - Parameters:
Expand Down
Loading

0 comments on commit aa4d2dc

Please sign in to comment.