Skip to content

Commit 95513f2

Browse files
Update models from api-models-aws.git} (#784)
Co-authored-by: adam-fowler <adam-fowler@users.noreply.github.com>
1 parent 99b086e commit 95513f2

228 files changed

Lines changed: 35855 additions & 23713 deletions

File tree

Some content is hidden

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

.aws-model-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3f99e24762f563d04fe26c838490a14af0a2a77e
1+
5d43fbd0e7a51f39a4044ba27cf494b320489f66

Package.swift

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,10 @@ let package = Package(
175175
.library(name: "SotoElasticBeanstalk", targets: ["SotoElasticBeanstalk"]),
176176
.library(name: "SotoElasticLoadBalancing", targets: ["SotoElasticLoadBalancing"]),
177177
.library(name: "SotoElasticLoadBalancingV2", targets: ["SotoElasticLoadBalancingV2"]),
178-
.library(name: "SotoElasticTranscoder", targets: ["SotoElasticTranscoder"]),
179178
.library(name: "SotoElasticsearchService", targets: ["SotoElasticsearchService"]),
179+
.library(name: "SotoElementalInference", targets: ["SotoElementalInference"]),
180180
.library(name: "SotoEntityResolution", targets: ["SotoEntityResolution"]),
181181
.library(name: "SotoEventBridge", targets: ["SotoEventBridge"]),
182-
.library(name: "SotoEvidently", targets: ["SotoEvidently"]),
183182
.library(name: "SotoEvs", targets: ["SotoEvs"]),
184183
.library(name: "SotoFIS", targets: ["SotoFIS"]),
185184
.library(name: "SotoFMS", targets: ["SotoFMS"]),
@@ -217,7 +216,6 @@ let package = Package(
217216
.library(name: "SotoInternetMonitor", targets: ["SotoInternetMonitor"]),
218217
.library(name: "SotoInvoicing", targets: ["SotoInvoicing"]),
219218
.library(name: "SotoIoT", targets: ["SotoIoT"]),
220-
.library(name: "SotoIoTAnalytics", targets: ["SotoIoTAnalytics"]),
221219
.library(name: "SotoIoTDataPlane", targets: ["SotoIoTDataPlane"]),
222220
.library(name: "SotoIoTDeviceAdvisor", targets: ["SotoIoTDeviceAdvisor"]),
223221
.library(name: "SotoIoTEvents", targets: ["SotoIoTEvents"]),
@@ -405,6 +403,7 @@ let package = Package(
405403
.library(name: "SotoServiceQuotas", targets: ["SotoServiceQuotas"]),
406404
.library(name: "SotoShield", targets: ["SotoShield"]),
407405
.library(name: "SotoSigner", targets: ["SotoSigner"]),
406+
.library(name: "SotoSignerData", targets: ["SotoSignerData"]),
408407
.library(name: "SotoSignin", targets: ["SotoSignin"]),
409408
.library(name: "SotoSimSpaceWeaver", targets: ["SotoSimSpaceWeaver"]),
410409
.library(name: "SotoSnowDeviceManagement", targets: ["SotoSnowDeviceManagement"]),
@@ -434,6 +433,7 @@ let package = Package(
434433
.library(name: "SotoWAFRegional", targets: ["SotoWAFRegional"]),
435434
.library(name: "SotoWAFV2", targets: ["SotoWAFV2"]),
436435
.library(name: "SotoWellArchitected", targets: ["SotoWellArchitected"]),
436+
.library(name: "SotoWickr", targets: ["SotoWickr"]),
437437
.library(name: "SotoWisdom", targets: ["SotoWisdom"]),
438438
.library(name: "SotoWorkDocs", targets: ["SotoWorkDocs"]),
439439
.library(name: "SotoWorkMail", targets: ["SotoWorkMail"]),
@@ -445,7 +445,7 @@ let package = Package(
445445
.library(name: "SotoXRay", targets: ["SotoXRay"]),
446446
],
447447
dependencies: [
448-
.package(url: "https://github.com/soto-project/soto-core.git", from: "7.13.0")
448+
.package(url: "https://github.com/soto-project/soto-core.git", from: "7.9.0")
449449
],
450450
targets: [
451451
.target(
@@ -1331,15 +1331,15 @@ let package = Package(
13311331
swiftSettings: swiftSettings
13321332
),
13331333
.target(
1334-
name: "SotoElasticTranscoder",
1334+
name: "SotoElasticsearchService",
13351335
dependencies: [.product(name: "SotoCore", package: "soto-core")],
1336-
path: "./Sources/Soto/Services/ElasticTranscoder",
1336+
path: "./Sources/Soto/Services/ElasticsearchService",
13371337
swiftSettings: swiftSettings
13381338
),
13391339
.target(
1340-
name: "SotoElasticsearchService",
1340+
name: "SotoElementalInference",
13411341
dependencies: [.product(name: "SotoCore", package: "soto-core")],
1342-
path: "./Sources/Soto/Services/ElasticsearchService",
1342+
path: "./Sources/Soto/Services/ElementalInference",
13431343
swiftSettings: swiftSettings
13441344
),
13451345
.target(
@@ -1354,12 +1354,6 @@ let package = Package(
13541354
path: "./Sources/Soto/Services/EventBridge",
13551355
swiftSettings: swiftSettings
13561356
),
1357-
.target(
1358-
name: "SotoEvidently",
1359-
dependencies: [.product(name: "SotoCore", package: "soto-core")],
1360-
path: "./Sources/Soto/Services/Evidently",
1361-
swiftSettings: swiftSettings
1362-
),
13631357
.target(
13641358
name: "SotoEvs",
13651359
dependencies: [.product(name: "SotoCore", package: "soto-core")],
@@ -1582,12 +1576,6 @@ let package = Package(
15821576
path: "./Sources/Soto/Services/IoT",
15831577
swiftSettings: swiftSettings
15841578
),
1585-
.target(
1586-
name: "SotoIoTAnalytics",
1587-
dependencies: [.product(name: "SotoCore", package: "soto-core")],
1588-
path: "./Sources/Soto/Services/IoTAnalytics",
1589-
swiftSettings: swiftSettings
1590-
),
15911579
.target(
15921580
name: "SotoIoTDataPlane",
15931581
dependencies: [.product(name: "SotoCore", package: "soto-core")],
@@ -2710,6 +2698,12 @@ let package = Package(
27102698
path: "./Sources/Soto/Services/Signer",
27112699
swiftSettings: swiftSettings
27122700
),
2701+
.target(
2702+
name: "SotoSignerData",
2703+
dependencies: [.product(name: "SotoCore", package: "soto-core")],
2704+
path: "./Sources/Soto/Services/SignerData",
2705+
swiftSettings: swiftSettings
2706+
),
27132707
.target(
27142708
name: "SotoSignin",
27152709
dependencies: [.product(name: "SotoCore", package: "soto-core")],
@@ -2884,6 +2878,12 @@ let package = Package(
28842878
path: "./Sources/Soto/Services/WellArchitected",
28852879
swiftSettings: swiftSettings
28862880
),
2881+
.target(
2882+
name: "SotoWickr",
2883+
dependencies: [.product(name: "SotoCore", package: "soto-core")],
2884+
path: "./Sources/Soto/Services/Wickr",
2885+
swiftSettings: swiftSettings
2886+
),
28872887
.target(
28882888
name: "SotoWisdom",
28892889
dependencies: [.product(name: "SotoCore", package: "soto-core")],

Sources/Soto/Services/ARCRegionSwitch/ARCRegionSwitch_api.swift

Lines changed: 111 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import Foundation
2424

2525
/// Service object for interacting with AWS ARCRegionSwitch service.
2626
///
27-
/// Amazon Application Recovery Controller (ARC) Region switch helps you to quickly and reliably shift traffic away from an impaired Amazon Web Services Region to a healthy Region. With Region switch, you can create plans that define the steps to shift traffic for your application from one Amazon Web Services Region to another. You can test your plans in practice mode before using them in a real recovery scenario. Region switch provides a structured approach to multi-Region failover, helping you to meet your recovery time objectives (RTOs) and maintain business continuity during regional disruptions. For more information, see Region switch in ARC in the Amazon Application Recovery Controller User Guide.
27+
/// Amazon Application Recovery Controller (ARC) Region switch helps you to quickly and reliably shift traffic away from an impaired Amazon Web Services Region to a healthy Region. With Region switch, you can create plans that define the steps to shift traffic for your application from one Amazon Web Services Region to another. Region switch provides a structured approach to multi-Region failover, helping you to meet your recovery time objectives (RTOs) and maintain business continuity during regional disruptions. For more information, see Region switch in ARC in the Amazon Application Recovery Controller User Guide.
2828
public struct ARCRegionSwitch: AWSService {
2929
// MARK: Member variables
3030

@@ -179,6 +179,7 @@ public struct ARCRegionSwitch: AWSService {
179179
/// - recoveryApproach: The recovery approach for a Region switch plan, which can be active/active (activeActive) or active/passive (activePassive).
180180
/// - recoveryTimeObjectiveMinutes: Optionally, you can specify an recovery time objective for a Region switch plan, in minutes.
181181
/// - regions: An array that specifies the Amazon Web Services Regions for a Region switch plan. Specify two Regions.
182+
/// - reportConfiguration:
182183
/// - tags: The tags to apply to the Region switch plan.
183184
/// - triggers: The triggers associated with a Region switch plan.
184185
/// - workflows: An array of workflows included in a Region switch plan.
@@ -193,6 +194,7 @@ public struct ARCRegionSwitch: AWSService {
193194
recoveryApproach: RecoveryApproach,
194195
recoveryTimeObjectiveMinutes: Int? = nil,
195196
regions: [String],
197+
reportConfiguration: ReportConfiguration? = nil,
196198
tags: [String: String]? = nil,
197199
triggers: [Trigger]? = nil,
198200
workflows: [Workflow],
@@ -207,6 +209,7 @@ public struct ARCRegionSwitch: AWSService {
207209
recoveryApproach: recoveryApproach,
208210
recoveryTimeObjectiveMinutes: recoveryTimeObjectiveMinutes,
209211
regions: regions,
212+
reportConfiguration: reportConfiguration,
210213
tags: tags,
211214
triggers: triggers,
212215
workflows: workflows
@@ -558,6 +561,47 @@ public struct ARCRegionSwitch: AWSService {
558561
return try await self.listRoute53HealthChecks(input, logger: logger)
559562
}
560563

564+
/// List the Amazon Route 53 health checks in a specific Amazon Web Services Region.
565+
@Sendable
566+
@inlinable
567+
public func listRoute53HealthChecksInRegion(_ input: ListRoute53HealthChecksInRegionRequest, logger: Logger = AWSClient.loggingDisabled) async throws -> ListRoute53HealthChecksInRegionResponse {
568+
try await self.client.execute(
569+
operation: "ListRoute53HealthChecksInRegion",
570+
path: "/",
571+
httpMethod: .POST,
572+
serviceConfig: self.config,
573+
input: input,
574+
logger: logger
575+
)
576+
}
577+
/// List the Amazon Route 53 health checks in a specific Amazon Web Services Region.
578+
///
579+
/// Parameters:
580+
/// - arn: The Amazon Resource Name (ARN) of the Arc Region Switch Plan.
581+
/// - hostedZoneId: The hosted zone ID for the health checks.
582+
/// - maxResults: The number of objects that you want to return with this call.
583+
/// - nextToken: Specifies that you want to receive the next page of results. Valid only if you received a nextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's nextToken response to request the next page of results.
584+
/// - recordName: The record name for the health checks.
585+
/// - logger: Logger use during operation
586+
@inlinable
587+
public func listRoute53HealthChecksInRegion(
588+
arn: String,
589+
hostedZoneId: String? = nil,
590+
maxResults: Int? = nil,
591+
nextToken: String? = nil,
592+
recordName: String? = nil,
593+
logger: Logger = AWSClient.loggingDisabled
594+
) async throws -> ListRoute53HealthChecksInRegionResponse {
595+
let input = ListRoute53HealthChecksInRegionRequest(
596+
arn: arn,
597+
hostedZoneId: hostedZoneId,
598+
maxResults: maxResults,
599+
nextToken: nextToken,
600+
recordName: recordName
601+
)
602+
return try await self.listRoute53HealthChecksInRegion(input, logger: logger)
603+
}
604+
561605
/// Lists the tags attached to a Region switch resource.
562606
@Sendable
563607
@inlinable
@@ -587,7 +631,7 @@ public struct ARCRegionSwitch: AWSService {
587631
return try await self.listTagsForResource(input, logger: logger)
588632
}
589633

590-
/// Starts the execution of a Region switch plan. You can execute a plan in either PRACTICE or RECOVERY mode. In PRACTICE mode, the execution simulates the steps without making actual changes to your application's traffic routing. In RECOVERY mode, the execution performs actual changes to shift traffic between Regions.
634+
/// Starts the execution of a Region switch plan. You can execute a plan in either graceful or ungraceful mode. Specifing ungraceful mode either changes the behavior of the execution blocks in a workflow or skips specific execution blocks.
591635
@Sendable
592636
@inlinable
593637
public func startPlanExecution(_ input: StartPlanExecutionRequest, logger: Logger = AWSClient.loggingDisabled) async throws -> StartPlanExecutionResponse {
@@ -600,14 +644,15 @@ public struct ARCRegionSwitch: AWSService {
600644
logger: logger
601645
)
602646
}
603-
/// Starts the execution of a Region switch plan. You can execute a plan in either PRACTICE or RECOVERY mode. In PRACTICE mode, the execution simulates the steps without making actual changes to your application's traffic routing. In RECOVERY mode, the execution performs actual changes to shift traffic between Regions.
647+
/// Starts the execution of a Region switch plan. You can execute a plan in either graceful or ungraceful mode. Specifing ungraceful mode either changes the behavior of the execution blocks in a workflow or skips specific execution blocks.
604648
///
605649
/// Parameters:
606-
/// - action: The action to perform. Valid values are ACTIVATE (to shift traffic to the target Region) or DEACTIVATE (to shift traffic away from the target Region).
650+
/// - action: The action to perform. Valid values are activate (to shift traffic to the target Region) or deactivate (to shift traffic away from the target Region).
607651
/// - comment: An optional comment explaining why the plan execution is being started.
608652
/// - latestVersion: A boolean value indicating whether to use the latest version of the plan. If set to false, you must specify a specific version.
609-
/// - mode: The plan execution mode. Valid values are Practice, for testing without making actual changes, or Recovery, for actual traffic shifting and application recovery.
653+
/// - mode: The plan execution mode. Valid values are graceful, for starting the execution in graceful mode, or ungraceful, for starting the execution in ungraceful mode.
610654
/// - planArn: The Amazon Resource Name (ARN) of the plan to execute.
655+
/// - recoveryExecutionId: The execution identifier of the recovery execution that ran in the opposite region post-recovery is ran in. Required when starting a post-recovery execution.
611656
/// - targetRegion: The Amazon Web Services Region to target with this execution. This is the Region that traffic will be shifted to or from, depending on the action.
612657
/// - logger: Logger use during operation
613658
@inlinable
@@ -617,6 +662,7 @@ public struct ARCRegionSwitch: AWSService {
617662
latestVersion: String? = nil,
618663
mode: ExecutionMode? = nil,
619664
planArn: String,
665+
recoveryExecutionId: String? = nil,
620666
targetRegion: String,
621667
logger: Logger = AWSClient.loggingDisabled
622668
) async throws -> StartPlanExecutionResponse {
@@ -626,6 +672,7 @@ public struct ARCRegionSwitch: AWSService {
626672
latestVersion: latestVersion,
627673
mode: mode,
628674
planArn: planArn,
675+
recoveryExecutionId: recoveryExecutionId,
629676
targetRegion: targetRegion
630677
)
631678
return try await self.startPlanExecution(input, logger: logger)
@@ -716,6 +763,7 @@ public struct ARCRegionSwitch: AWSService {
716763
/// - description: The updated description for the Region switch plan.
717764
/// - executionRole: The updated IAM role ARN that grants Region switch the permissions needed to execute the plan steps.
718765
/// - recoveryTimeObjectiveMinutes: The updated target recovery time objective (RTO) in minutes for the plan.
766+
/// - reportConfiguration: The updated report configuration for the plan.
719767
/// - triggers: The updated conditions that can automatically trigger the execution of the plan.
720768
/// - workflows: The updated workflows for the Region switch plan.
721769
/// - logger: Logger use during operation
@@ -726,6 +774,7 @@ public struct ARCRegionSwitch: AWSService {
726774
description: String? = nil,
727775
executionRole: String,
728776
recoveryTimeObjectiveMinutes: Int? = nil,
777+
reportConfiguration: ReportConfiguration? = nil,
729778
triggers: [Trigger]? = nil,
730779
workflows: [Workflow],
731780
logger: Logger = AWSClient.loggingDisabled
@@ -736,6 +785,7 @@ public struct ARCRegionSwitch: AWSService {
736785
description: description,
737786
executionRole: executionRole,
738787
recoveryTimeObjectiveMinutes: recoveryTimeObjectiveMinutes,
788+
reportConfiguration: reportConfiguration,
739789
triggers: triggers,
740790
workflows: workflows
741791
)
@@ -1105,6 +1155,49 @@ extension ARCRegionSwitch {
11051155
)
11061156
return self.listRoute53HealthChecksPaginator(input, logger: logger)
11071157
}
1158+
1159+
/// Return PaginatorSequence for operation ``listRoute53HealthChecksInRegion(_:logger:)``.
1160+
///
1161+
/// - Parameters:
1162+
/// - input: Input for operation
1163+
/// - logger: Logger used for logging
1164+
@inlinable
1165+
public func listRoute53HealthChecksInRegionPaginator(
1166+
_ input: ListRoute53HealthChecksInRegionRequest,
1167+
logger: Logger = AWSClient.loggingDisabled
1168+
) -> AWSClient.PaginatorSequence<ListRoute53HealthChecksInRegionRequest, ListRoute53HealthChecksInRegionResponse> {
1169+
return .init(
1170+
input: input,
1171+
command: self.listRoute53HealthChecksInRegion,
1172+
inputKey: \ListRoute53HealthChecksInRegionRequest.nextToken,
1173+
outputKey: \ListRoute53HealthChecksInRegionResponse.nextToken,
1174+
logger: logger
1175+
)
1176+
}
1177+
/// Return PaginatorSequence for operation ``listRoute53HealthChecksInRegion(_:logger:)``.
1178+
///
1179+
/// - Parameters:
1180+
/// - arn: The Amazon Resource Name (ARN) of the Arc Region Switch Plan.
1181+
/// - hostedZoneId: The hosted zone ID for the health checks.
1182+
/// - maxResults: The number of objects that you want to return with this call.
1183+
/// - recordName: The record name for the health checks.
1184+
/// - logger: Logger used for logging
1185+
@inlinable
1186+
public func listRoute53HealthChecksInRegionPaginator(
1187+
arn: String,
1188+
hostedZoneId: String? = nil,
1189+
maxResults: Int? = nil,
1190+
recordName: String? = nil,
1191+
logger: Logger = AWSClient.loggingDisabled
1192+
) -> AWSClient.PaginatorSequence<ListRoute53HealthChecksInRegionRequest, ListRoute53HealthChecksInRegionResponse> {
1193+
let input = ListRoute53HealthChecksInRegionRequest(
1194+
arn: arn,
1195+
hostedZoneId: hostedZoneId,
1196+
maxResults: maxResults,
1197+
recordName: recordName
1198+
)
1199+
return self.listRoute53HealthChecksInRegionPaginator(input, logger: logger)
1200+
}
11081201
}
11091202

11101203
extension ARCRegionSwitch.GetPlanEvaluationStatusRequest: AWSPaginateToken {
@@ -1175,6 +1268,19 @@ extension ARCRegionSwitch.ListPlansRequest: AWSPaginateToken {
11751268
}
11761269
}
11771270

1271+
extension ARCRegionSwitch.ListRoute53HealthChecksInRegionRequest: AWSPaginateToken {
1272+
@inlinable
1273+
public func usingPaginationToken(_ token: String) -> ARCRegionSwitch.ListRoute53HealthChecksInRegionRequest {
1274+
return .init(
1275+
arn: self.arn,
1276+
hostedZoneId: self.hostedZoneId,
1277+
maxResults: self.maxResults,
1278+
nextToken: token,
1279+
recordName: self.recordName
1280+
)
1281+
}
1282+
}
1283+
11781284
extension ARCRegionSwitch.ListRoute53HealthChecksRequest: AWSPaginateToken {
11791285
@inlinable
11801286
public func usingPaginationToken(_ token: String) -> ARCRegionSwitch.ListRoute53HealthChecksRequest {

0 commit comments

Comments
 (0)