@@ -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
@@ -716,6 +760,7 @@ public struct ARCRegionSwitch: AWSService {
716760 /// - description: The updated description for the Region switch plan.
717761 /// - executionRole: The updated IAM role ARN that grants Region switch the permissions needed to execute the plan steps.
718762 /// - recoveryTimeObjectiveMinutes: The updated target recovery time objective (RTO) in minutes for the plan.
763+ /// - reportConfiguration: The updated report configuration for the plan.
719764 /// - triggers: The updated conditions that can automatically trigger the execution of the plan.
720765 /// - workflows: The updated workflows for the Region switch plan.
721766 /// - logger: Logger use during operation
@@ -726,6 +771,7 @@ public struct ARCRegionSwitch: AWSService {
726771 description: String ? = nil ,
727772 executionRole: String ,
728773 recoveryTimeObjectiveMinutes: Int ? = nil ,
774+ reportConfiguration: ReportConfiguration ? = nil ,
729775 triggers: [ Trigger ] ? = nil ,
730776 workflows: [ Workflow ] ,
731777 logger: Logger = AWSClient . loggingDisabled
@@ -736,6 +782,7 @@ public struct ARCRegionSwitch: AWSService {
736782 description: description,
737783 executionRole: executionRole,
738784 recoveryTimeObjectiveMinutes: recoveryTimeObjectiveMinutes,
785+ reportConfiguration: reportConfiguration,
739786 triggers: triggers,
740787 workflows: workflows
741788 )
@@ -1105,6 +1152,49 @@ extension ARCRegionSwitch {
11051152 )
11061153 return self . listRoute53HealthChecksPaginator ( input, logger: logger)
11071154 }
1155+
1156+ /// Return PaginatorSequence for operation ``listRoute53HealthChecksInRegion(_:logger:)``.
1157+ ///
1158+ /// - Parameters:
1159+ /// - input: Input for operation
1160+ /// - logger: Logger used for logging
1161+ @inlinable
1162+ public func listRoute53HealthChecksInRegionPaginator(
1163+ _ input: ListRoute53HealthChecksInRegionRequest ,
1164+ logger: Logger = AWSClient . loggingDisabled
1165+ ) -> AWSClient . PaginatorSequence < ListRoute53HealthChecksInRegionRequest , ListRoute53HealthChecksInRegionResponse > {
1166+ return . init(
1167+ input: input,
1168+ command: self . listRoute53HealthChecksInRegion,
1169+ inputKey: \ListRoute53HealthChecksInRegionRequest . nextToken,
1170+ outputKey: \ListRoute53HealthChecksInRegionResponse . nextToken,
1171+ logger: logger
1172+ )
1173+ }
1174+ /// Return PaginatorSequence for operation ``listRoute53HealthChecksInRegion(_:logger:)``.
1175+ ///
1176+ /// - Parameters:
1177+ /// - arn: The Amazon Resource Name (ARN) of the Arc Region Switch Plan.
1178+ /// - hostedZoneId: The hosted zone ID for the health checks.
1179+ /// - maxResults: The number of objects that you want to return with this call.
1180+ /// - recordName: The record name for the health checks.
1181+ /// - logger: Logger used for logging
1182+ @inlinable
1183+ public func listRoute53HealthChecksInRegionPaginator(
1184+ arn: String ,
1185+ hostedZoneId: String ? = nil ,
1186+ maxResults: Int ? = nil ,
1187+ recordName: String ? = nil ,
1188+ logger: Logger = AWSClient . loggingDisabled
1189+ ) -> AWSClient . PaginatorSequence < ListRoute53HealthChecksInRegionRequest , ListRoute53HealthChecksInRegionResponse > {
1190+ let input = ListRoute53HealthChecksInRegionRequest (
1191+ arn: arn,
1192+ hostedZoneId: hostedZoneId,
1193+ maxResults: maxResults,
1194+ recordName: recordName
1195+ )
1196+ return self . listRoute53HealthChecksInRegionPaginator ( input, logger: logger)
1197+ }
11081198}
11091199
11101200extension ARCRegionSwitch . GetPlanEvaluationStatusRequest : AWSPaginateToken {
@@ -1175,6 +1265,19 @@ extension ARCRegionSwitch.ListPlansRequest: AWSPaginateToken {
11751265 }
11761266}
11771267
1268+ extension ARCRegionSwitch . ListRoute53HealthChecksInRegionRequest : AWSPaginateToken {
1269+ @inlinable
1270+ public func usingPaginationToken( _ token: String ) -> ARCRegionSwitch . ListRoute53HealthChecksInRegionRequest {
1271+ return . init(
1272+ arn: self . arn,
1273+ hostedZoneId: self . hostedZoneId,
1274+ maxResults: self . maxResults,
1275+ nextToken: token,
1276+ recordName: self . recordName
1277+ )
1278+ }
1279+ }
1280+
11781281extension ARCRegionSwitch . ListRoute53HealthChecksRequest : AWSPaginateToken {
11791282 @inlinable
11801283 public func usingPaginationToken( _ token: String ) -> ARCRegionSwitch . ListRoute53HealthChecksRequest {
0 commit comments