diff --git a/VERSION b/VERSION index 5043db24034..4a1624eab0f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.214 \ No newline at end of file +1.11.215 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/ARCZonalShiftClient.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/ARCZonalShiftClient.h index 220d8ec3014..5eecbabbadb 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/ARCZonalShiftClient.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/ARCZonalShiftClient.h @@ -16,27 +16,31 @@ namespace Aws namespace ARCZonalShift { /** - *
This is the API Reference Guide for the zonal shift feature of Amazon Route - * 53 Application Recovery Controller. This guide is for developers who need - * detailed information about zonal shift API actions, data types, and errors.
- *Zonal shift is in preview release for Amazon Route 53 Application Recovery - * Controller and is subject to change.
Zonal shift in Route 53 ARC enables - * you to move traffic for a load balancer resource away from an Availability Zone. - * Starting a zonal shift helps your application recover immediately, for example, - * from a developer's bad code deployment or from an AWS infrastructure failure in - * a single Availability Zone, reducing the impact and time lost from an issue in - * one zone.
Supported AWS resources are automatically registered with - * Route 53 ARC. Resources that are registered for zonal shifts in Route 53 ARC are - * managed resources in Route 53 ARC. You can start a zonal shift for any managed - * resource in your account in a Region. 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.
Zonal shifts are temporary. You must specify - * an expiration when you start a zonal shift, of up to three days initially. If - * you want to still keep traffic away from an Availability Zone, you can update - * the zonal shift and set a new expiration. You can also cancel a zonal shift, - * before it expires, for example, if you're ready to restore traffic to the - * Availability Zone.
For more information about using zonal shift, see the - * Welcome to the Zonal Shift API Reference Guide for Amazon Route 53 + * Application Recovery Controller (Route 53 ARC).
You can start a zonal + * shift to move traffic for a load balancer resource away from an Availability + * Zone to help your application recover quickly from an impairment in an + * Availability Zone. For example, you can recover your application from a + * developer's bad code deployment or from an Amazon Web Services infrastructure + * failure in a single Availability Zone.
You can also configure zonal + * autoshift for a load balancer resource. Zonal autoshift is a capability in Route + * 53 ARC where Amazon Web Services shifts away application resource traffic from + * an Availability Zone, on your behalf, to help reduce your time to recovery + * during events. Amazon Web Services shifts away traffic for resources that are + * enabled for zonal autoshift whenever Amazon Web Services determines that there's + * an issue in the Availability Zone that could potentially affect customers.
+ *To ensure that zonal autoshift is safe for your application, you must also + * configure practice runs when you enable zonal autoshift for a resource. Practice + * runs start weekly zonal shifts for a resource, to shift traffic for the resource + * out of an Availability Zone. Practice runs make sure, on a regular basis, that + * you have enough capacity in all the Availability Zones in an Amazon Web Services + * Region for your application to continue to operate normally when traffic for a + * resource is shifted away from one Availability Zone.
You must + * prescale resource capacity in all Availability Zones in the Region where your + * application is deployed, before you configure practice runs or enable zonal + * autoshift for a resource. You should not rely on scaling on demand when an + * autoshift or practice run starts.
For more information + * about using zonal shift and zonal autoshift, see the Amazon * Route 53 Application Recovery Controller Developer Guide.
*/ @@ -99,9 +103,11 @@ namespace ARCZonalShift virtual ~ARCZonalShiftClient(); /** - *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. - *
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.
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.
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.
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.
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.
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.
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.
Lists all the active zonal shifts in Amazon Route 53 Application Recovery - * Controller in your AWS account in this AWS 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.
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
+ * 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.See Also:
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.
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.
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. + *
A complex structure that lists an autoshift that is currently active for a + * managed resource and information about the autoshift.
For more + * information, see How + * zonal autoshift and practice runs work in the Amazon Route 53 Application + * Recovery Controller Developer Guide.
The appliedStatus
field specifies which application traffic
+ * shift is in effect for a resource when there is more than one traffic shift
+ * active. There can be more than one application traffic shift in progress at the
+ * same time - that is, practice run zonal shifts, customer-started zonal shifts,
+ * or an autoshift. The appliedStatus
field for an autoshift for a
+ * resource can have one of two values: APPLIED
or
+ * NOT_APPLIED
. The zonal shift or autoshift that is currently in
+ * effect for the resource has an applied status set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a + * customer take precedence autoshifts, which take precedence over practice runs. + * That is, customer-started zonal shifts > autoshifts > practice run zonal + * shifts.
For more information, see How + * zonal autoshift and practice runs work in the Amazon Route 53 Application + * Recovery Controller Developer Guide.
+ */ + inline const AutoshiftAppliedStatus& GetAppliedStatus() const{ return m_appliedStatus; } + + /** + *The appliedStatus
field specifies which application traffic
+ * shift is in effect for a resource when there is more than one traffic shift
+ * active. There can be more than one application traffic shift in progress at the
+ * same time - that is, practice run zonal shifts, customer-started zonal shifts,
+ * or an autoshift. The appliedStatus
field for an autoshift for a
+ * resource can have one of two values: APPLIED
or
+ * NOT_APPLIED
. The zonal shift or autoshift that is currently in
+ * effect for the resource has an applied status set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a + * customer take precedence autoshifts, which take precedence over practice runs. + * That is, customer-started zonal shifts > autoshifts > practice run zonal + * shifts.
For more information, see How + * zonal autoshift and practice runs work in the Amazon Route 53 Application + * Recovery Controller Developer Guide.
+ */ + inline bool AppliedStatusHasBeenSet() const { return m_appliedStatusHasBeenSet; } + + /** + *The appliedStatus
field specifies which application traffic
+ * shift is in effect for a resource when there is more than one traffic shift
+ * active. There can be more than one application traffic shift in progress at the
+ * same time - that is, practice run zonal shifts, customer-started zonal shifts,
+ * or an autoshift. The appliedStatus
field for an autoshift for a
+ * resource can have one of two values: APPLIED
or
+ * NOT_APPLIED
. The zonal shift or autoshift that is currently in
+ * effect for the resource has an applied status set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a + * customer take precedence autoshifts, which take precedence over practice runs. + * That is, customer-started zonal shifts > autoshifts > practice run zonal + * shifts.
For more information, see How + * zonal autoshift and practice runs work in the Amazon Route 53 Application + * Recovery Controller Developer Guide.
+ */ + inline void SetAppliedStatus(const AutoshiftAppliedStatus& value) { m_appliedStatusHasBeenSet = true; m_appliedStatus = value; } + + /** + *The appliedStatus
field specifies which application traffic
+ * shift is in effect for a resource when there is more than one traffic shift
+ * active. There can be more than one application traffic shift in progress at the
+ * same time - that is, practice run zonal shifts, customer-started zonal shifts,
+ * or an autoshift. The appliedStatus
field for an autoshift for a
+ * resource can have one of two values: APPLIED
or
+ * NOT_APPLIED
. The zonal shift or autoshift that is currently in
+ * effect for the resource has an applied status set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a + * customer take precedence autoshifts, which take precedence over practice runs. + * That is, customer-started zonal shifts > autoshifts > practice run zonal + * shifts.
For more information, see How + * zonal autoshift and practice runs work in the Amazon Route 53 Application + * Recovery Controller Developer Guide.
+ */ + inline void SetAppliedStatus(AutoshiftAppliedStatus&& value) { m_appliedStatusHasBeenSet = true; m_appliedStatus = std::move(value); } + + /** + *The appliedStatus
field specifies which application traffic
+ * shift is in effect for a resource when there is more than one traffic shift
+ * active. There can be more than one application traffic shift in progress at the
+ * same time - that is, practice run zonal shifts, customer-started zonal shifts,
+ * or an autoshift. The appliedStatus
field for an autoshift for a
+ * resource can have one of two values: APPLIED
or
+ * NOT_APPLIED
. The zonal shift or autoshift that is currently in
+ * effect for the resource has an applied status set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a + * customer take precedence autoshifts, which take precedence over practice runs. + * That is, customer-started zonal shifts > autoshifts > practice run zonal + * shifts.
For more information, see How + * zonal autoshift and practice runs work in the Amazon Route 53 Application + * Recovery Controller Developer Guide.
+ */ + inline AutoshiftInResource& WithAppliedStatus(const AutoshiftAppliedStatus& value) { SetAppliedStatus(value); return *this;} + + /** + *The appliedStatus
field specifies which application traffic
+ * shift is in effect for a resource when there is more than one traffic shift
+ * active. There can be more than one application traffic shift in progress at the
+ * same time - that is, practice run zonal shifts, customer-started zonal shifts,
+ * or an autoshift. The appliedStatus
field for an autoshift for a
+ * resource can have one of two values: APPLIED
or
+ * NOT_APPLIED
. The zonal shift or autoshift that is currently in
+ * effect for the resource has an applied status set to APPLIED
.
The overall principle for precedence is that zonal shifts that you start as a + * customer take precedence autoshifts, which take precedence over practice runs. + * That is, customer-started zonal shifts > autoshifts > practice run zonal + * shifts.
For more information, see How + * zonal autoshift and practice runs work in the Amazon Route 53 Application + * Recovery Controller Developer Guide.
+ */ + inline AutoshiftInResource& WithAppliedStatus(AutoshiftAppliedStatus&& value) { SetAppliedStatus(std::move(value)); return *this;} + + + /** + *The Availability Zone that traffic is shifted away from for a resource, when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } + + /** + *The Availability Zone that traffic is shifted away from for a resource, when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline bool AwayFromHasBeenSet() const { return m_awayFromHasBeenSet; } + + /** + *The Availability Zone that traffic is shifted away from for a resource, when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline void SetAwayFrom(const Aws::String& value) { m_awayFromHasBeenSet = true; m_awayFrom = value; } + + /** + *The Availability Zone that traffic is shifted away from for a resource, when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline void SetAwayFrom(Aws::String&& value) { m_awayFromHasBeenSet = true; m_awayFrom = std::move(value); } + + /** + *The Availability Zone that traffic is shifted away from for a resource, when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline void SetAwayFrom(const char* value) { m_awayFromHasBeenSet = true; m_awayFrom.assign(value); } + + /** + *The Availability Zone that traffic is shifted away from for a resource, when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline AutoshiftInResource& WithAwayFrom(const Aws::String& value) { SetAwayFrom(value); return *this;} + + /** + *The Availability Zone that traffic is shifted away from for a resource, when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline AutoshiftInResource& WithAwayFrom(Aws::String&& value) { SetAwayFrom(std::move(value)); return *this;} + + /** + *The Availability Zone that traffic is shifted away from for a resource, when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline AutoshiftInResource& WithAwayFrom(const char* value) { SetAwayFrom(value); return *this;} + + + /** + *The time (UTC) when the autoshift started.
+ */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + + /** + *The time (UTC) when the autoshift started.
+ */ + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + + /** + *The time (UTC) when the autoshift started.
+ */ + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + + /** + *The time (UTC) when the autoshift started.
+ */ + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + + /** + *The time (UTC) when the autoshift started.
+ */ + inline AutoshiftInResource& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + + /** + *The time (UTC) when the autoshift started.
+ */ + inline AutoshiftInResource& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + + private: + + AutoshiftAppliedStatus m_appliedStatus; + bool m_appliedStatusHasBeenSet = false; + + Aws::String m_awayFrom; + bool m_awayFromHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; + }; + +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftSummary.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftSummary.h new file mode 100644 index 00000000000..2c66bcf4d2c --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/AutoshiftSummary.h @@ -0,0 +1,242 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeInformation about an autoshift. Amazon Web Services starts an autoshift to + * temporarily move traffic for a resource away from an Availability Zone in an + * Amazon Web Services Region when Amazon Web Services determines that there's an + * issue in the Availability Zone that could potentially affect customers. You can + * configure zonal autoshift in Route 53 ARC for managed resources in your Amazon + * Web Services account in a Region. Supported Amazon Web Services resources are + * automatically registered with Route 53 ARC.
Autoshifts are temporary. + * When the Availability Zone recovers, Amazon Web Services ends the autoshift, and + * traffic for the resource is no longer directed to the other Availability Zones + * in the Region.
You can stop an autoshift for a resource by disabling + * zonal autoshift.
The Availability Zone that traffic is shifted away from for a resource when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } + + /** + *The Availability Zone that traffic is shifted away from for a resource when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline bool AwayFromHasBeenSet() const { return m_awayFromHasBeenSet; } + + /** + *The Availability Zone that traffic is shifted away from for a resource when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline void SetAwayFrom(const Aws::String& value) { m_awayFromHasBeenSet = true; m_awayFrom = value; } + + /** + *The Availability Zone that traffic is shifted away from for a resource when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline void SetAwayFrom(Aws::String&& value) { m_awayFromHasBeenSet = true; m_awayFrom = std::move(value); } + + /** + *The Availability Zone that traffic is shifted away from for a resource when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline void SetAwayFrom(const char* value) { m_awayFromHasBeenSet = true; m_awayFrom.assign(value); } + + /** + *The Availability Zone that traffic is shifted away from for a resource when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline AutoshiftSummary& WithAwayFrom(const Aws::String& value) { SetAwayFrom(value); return *this;} + + /** + *The Availability Zone that traffic is shifted away from for a resource when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline AutoshiftSummary& WithAwayFrom(Aws::String&& value) { SetAwayFrom(std::move(value)); return *this;} + + /** + *The Availability Zone that traffic is shifted away from for a resource when + * Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for + * the resource is instead directed to other Availability Zones in the Amazon Web + * Services Region. An autoshift can end for a resource, for example, when Amazon + * Web Services ends the autoshift for the Availability Zone or when you disable + * zonal autoshift for the resource.
+ */ + inline AutoshiftSummary& WithAwayFrom(const char* value) { SetAwayFrom(value); return *this;} + + + /** + *The time (in UTC) when the autoshift ended.
+ */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + + /** + *The time (in UTC) when the autoshift ended.
+ */ + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + + /** + *The time (in UTC) when the autoshift ended.
+ */ + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + + /** + *The time (in UTC) when the autoshift ended.
+ */ + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + + /** + *The time (in UTC) when the autoshift ended.
+ */ + inline AutoshiftSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + + /** + *The time (in UTC) when the autoshift ended.
+ */ + inline AutoshiftSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + + + /** + *The time (in UTC) when the autoshift started.
+ */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + + /** + *The time (in UTC) when the autoshift started.
+ */ + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + + /** + *The time (in UTC) when the autoshift started.
+ */ + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + + /** + *The time (in UTC) when the autoshift started.
+ */ + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + + /** + *The time (in UTC) when the autoshift started.
+ */ + inline AutoshiftSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + + /** + *The time (in UTC) when the autoshift started.
+ */ + inline AutoshiftSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + + + /** + *The status for an autoshift.
+ */ + inline const AutoshiftExecutionStatus& GetStatus() const{ return m_status; } + + /** + *The status for an autoshift.
+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *The status for an autoshift.
+ */ + inline void SetStatus(const AutoshiftExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *The status for an autoshift.
+ */ + inline void SetStatus(AutoshiftExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *The status for an autoshift.
+ */ + inline AutoshiftSummary& WithStatus(const AutoshiftExecutionStatus& value) { SetStatus(value); return *this;} + + /** + *The status for an autoshift.
+ */ + inline AutoshiftSummary& WithStatus(AutoshiftExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} + + private: + + Aws::String m_awayFrom; + bool m_awayFromHasBeenSet = false; + + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; + + AutoshiftExecutionStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CancelZonalShiftResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CancelZonalShiftResult.h index 27e088a6c10..166de199cc5 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CancelZonalShiftResult.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/CancelZonalShiftResult.h @@ -37,49 +37,56 @@ namespace Model /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline void SetAwayFrom(const Aws::String& value) { m_awayFrom = value; } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline void SetAwayFrom(Aws::String&& value) { m_awayFrom = std::move(value); } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline void SetAwayFrom(const char* value) { m_awayFrom.assign(value); } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline CancelZonalShiftResult& WithAwayFrom(const Aws::String& value) { SetAwayFrom(value); return *this;} /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline CancelZonalShiftResult& WithAwayFrom(Aws::String&& value) { SetAwayFrom(std::move(value)); return *this;} /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline CancelZonalShiftResult& WithAwayFrom(const char* value) { SetAwayFrom(value); return *this;} @@ -135,150 +142,150 @@ namespace Model /** - *The expiry time (expiration time) for the zonal shift. A zonal shift is - * temporary and must be set to expire when you start the zonal shift. You can - * initially set a zonal shift to expire in a maximum of three days (72 hours). + *
The expiry time (expiration time) for a customer-started zonal shift. A zonal + * shift is temporary and must be set to expire when you start the zonal shift. You + * can initially set a zonal shift to expire in a maximum of three days (72 hours). * However, you can update a zonal shift to set a new expiration at any time.
*When you start a zonal shift, you specify how long you want it to be active, * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift, for example, if you're ready to restore traffic to the - * Availability Zone. Or you can update the zonal shift to specify another length - * of time to expire in.
+ * a zonal shift when you're ready to restore traffic to the Availability Zone, or + * just wait for it to expire. Or you can update the zonal shift to specify another + * length of time to expire in. */ inline const Aws::Utils::DateTime& GetExpiryTime() const{ return m_expiryTime; } /** - *The expiry time (expiration time) for the zonal shift. A zonal shift is - * temporary and must be set to expire when you start the zonal shift. You can - * initially set a zonal shift to expire in a maximum of three days (72 hours). + *
The expiry time (expiration time) for a customer-started zonal shift. A zonal + * shift is temporary and must be set to expire when you start the zonal shift. You + * can initially set a zonal shift to expire in a maximum of three days (72 hours). * However, you can update a zonal shift to set a new expiration at any time.
*When you start a zonal shift, you specify how long you want it to be active, * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift, for example, if you're ready to restore traffic to the - * Availability Zone. Or you can update the zonal shift to specify another length - * of time to expire in.
+ * a zonal shift when you're ready to restore traffic to the Availability Zone, or + * just wait for it to expire. Or you can update the zonal shift to specify another + * length of time to expire in. */ inline void SetExpiryTime(const Aws::Utils::DateTime& value) { m_expiryTime = value; } /** - *The expiry time (expiration time) for the zonal shift. A zonal shift is - * temporary and must be set to expire when you start the zonal shift. You can - * initially set a zonal shift to expire in a maximum of three days (72 hours). + *
The expiry time (expiration time) for a customer-started zonal shift. A zonal + * shift is temporary and must be set to expire when you start the zonal shift. You + * can initially set a zonal shift to expire in a maximum of three days (72 hours). * However, you can update a zonal shift to set a new expiration at any time.
*When you start a zonal shift, you specify how long you want it to be active, * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift, for example, if you're ready to restore traffic to the - * Availability Zone. Or you can update the zonal shift to specify another length - * of time to expire in.
+ * a zonal shift when you're ready to restore traffic to the Availability Zone, or + * just wait for it to expire. Or you can update the zonal shift to specify another + * length of time to expire in. */ inline void SetExpiryTime(Aws::Utils::DateTime&& value) { m_expiryTime = std::move(value); } /** - *The expiry time (expiration time) for the zonal shift. A zonal shift is - * temporary and must be set to expire when you start the zonal shift. You can - * initially set a zonal shift to expire in a maximum of three days (72 hours). + *
The expiry time (expiration time) for a customer-started zonal shift. A zonal + * shift is temporary and must be set to expire when you start the zonal shift. You + * can initially set a zonal shift to expire in a maximum of three days (72 hours). * However, you can update a zonal shift to set a new expiration at any time.
*When you start a zonal shift, you specify how long you want it to be active, * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift, for example, if you're ready to restore traffic to the - * Availability Zone. Or you can update the zonal shift to specify another length - * of time to expire in.
+ * a zonal shift when you're ready to restore traffic to the Availability Zone, or + * just wait for it to expire. Or you can update the zonal shift to specify another + * length of time to expire in. */ inline CancelZonalShiftResult& WithExpiryTime(const Aws::Utils::DateTime& value) { SetExpiryTime(value); return *this;} /** - *The expiry time (expiration time) for the zonal shift. A zonal shift is - * temporary and must be set to expire when you start the zonal shift. You can - * initially set a zonal shift to expire in a maximum of three days (72 hours). + *
The expiry time (expiration time) for a customer-started zonal shift. A zonal + * shift is temporary and must be set to expire when you start the zonal shift. You + * can initially set a zonal shift to expire in a maximum of three days (72 hours). * However, you can update a zonal shift to set a new expiration at any time.
*When you start a zonal shift, you specify how long you want it to be active, * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift, for example, if you're ready to restore traffic to the - * Availability Zone. Or you can update the zonal shift to specify another length - * of time to expire in.
+ * a zonal shift when you're ready to restore traffic to the Availability Zone, or + * just wait for it to expire. Or you can update the zonal shift to specify another + * length of time to expire in. */ inline CancelZonalShiftResult& WithExpiryTime(Aws::Utils::DateTime&& value) { SetExpiryTime(std::move(value)); return *this;} /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifier = value; } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifier = std::move(value); } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(const char* value) { m_resourceIdentifier.assign(value); } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline CancelZonalShiftResult& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline CancelZonalShiftResult& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline CancelZonalShiftResult& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} /** - *The time (UTC) when the zonal shift is started.
+ *The time (UTC) when the zonal shift starts.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** - *The time (UTC) when the zonal shift is started.
+ *The time (UTC) when the zonal shift starts.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } /** - *The time (UTC) when the zonal shift is started.
+ *The time (UTC) when the zonal shift starts.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); } /** - *The time (UTC) when the zonal shift is started.
+ *The time (UTC) when the zonal shift starts.
*/ inline CancelZonalShiftResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** - *The time (UTC) when the zonal shift is started.
+ *The time (UTC) when the zonal shift starts.
*/ inline CancelZonalShiftResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} @@ -286,45 +293,45 @@ namespace Model /** *A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A control condition is an alarm that you specify for a practice run. When you + * configure practice runs with zonal autoshift for a resource, you specify Amazon + * CloudWatch alarms, which you create in CloudWatch to use with the practice run. + * 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.
Control condition alarms do not apply for + * autoshifts.
For more information, see + * Considerations when you configure zonal autoshift in the Amazon Route 53 + * Application Recovery Controller Developer Guide.
The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you + * specify as a control condition for a practice run.
+ */ + inline const Aws::String& GetAlarmIdentifier() const{ return m_alarmIdentifier; } + + /** + *The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you + * specify as a control condition for a practice run.
+ */ + inline bool AlarmIdentifierHasBeenSet() const { return m_alarmIdentifierHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you + * specify as a control condition for a practice run.
+ */ + inline void SetAlarmIdentifier(const Aws::String& value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier = value; } + + /** + *The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you + * specify as a control condition for a practice run.
+ */ + inline void SetAlarmIdentifier(Aws::String&& value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier = std::move(value); } + + /** + *The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you + * specify as a control condition for a practice run.
+ */ + inline void SetAlarmIdentifier(const char* value) { m_alarmIdentifierHasBeenSet = true; m_alarmIdentifier.assign(value); } + + /** + *The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you + * specify as a control condition for a practice run.
+ */ + inline ControlCondition& WithAlarmIdentifier(const Aws::String& value) { SetAlarmIdentifier(value); return *this;} + + /** + *The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you + * specify as a control condition for a practice run.
+ */ + inline ControlCondition& WithAlarmIdentifier(Aws::String&& value) { SetAlarmIdentifier(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you + * specify as a control condition for a practice run.
+ */ + inline ControlCondition& WithAlarmIdentifier(const char* value) { SetAlarmIdentifier(value); return *this;} + + + /** + *The type of alarm specified for a practice run. The only valid value is
+ * CLOUDWATCH
.
The type of alarm specified for a practice run. The only valid value is
+ * CLOUDWATCH
.
The type of alarm specified for a practice run. The only valid value is
+ * CLOUDWATCH
.
The type of alarm specified for a practice run. The only valid value is
+ * CLOUDWATCH
.
The type of alarm specified for a practice run. The only valid value is
+ * CLOUDWATCH
.
The type of alarm specified for a practice run. The only valid value is
+ * CLOUDWATCH
.
Optionally, you can block Route 53 ARC from starting practice runs for a + * resource on specific calendar dates.
The format for blocked dates is: + * YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for + * practice runs are in UTC. Separate multiple blocked dates with spaces.
+ *For example, if you have an application update scheduled to launch on May 1,
+ * 2024, and you don't want practice runs to shift traffic away at that time, you
+ * could set a blocked date for 2024-05-01
.
Optionally, you can block Route 53 ARC from starting practice runs for a + * resource on specific calendar dates.
The format for blocked dates is: + * YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for + * practice runs are in UTC. Separate multiple blocked dates with spaces.
+ *For example, if you have an application update scheduled to launch on May 1,
+ * 2024, and you don't want practice runs to shift traffic away at that time, you
+ * could set a blocked date for 2024-05-01
.
Optionally, you can block Route 53 ARC from starting practice runs for a + * resource on specific calendar dates.
The format for blocked dates is: + * YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for + * practice runs are in UTC. Separate multiple blocked dates with spaces.
+ *For example, if you have an application update scheduled to launch on May 1,
+ * 2024, and you don't want practice runs to shift traffic away at that time, you
+ * could set a blocked date for 2024-05-01
.
Optionally, you can block Route 53 ARC from starting practice runs for a + * resource on specific calendar dates.
The format for blocked dates is: + * YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for + * practice runs are in UTC. Separate multiple blocked dates with spaces.
+ *For example, if you have an application update scheduled to launch on May 1,
+ * 2024, and you don't want practice runs to shift traffic away at that time, you
+ * could set a blocked date for 2024-05-01
.
Optionally, you can block Route 53 ARC from starting practice runs for a + * resource on specific calendar dates.
The format for blocked dates is: + * YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for + * practice runs are in UTC. Separate multiple blocked dates with spaces.
+ *For example, if you have an application update scheduled to launch on May 1,
+ * 2024, and you don't want practice runs to shift traffic away at that time, you
+ * could set a blocked date for 2024-05-01
.
Optionally, you can block Route 53 ARC from starting practice runs for a + * resource on specific calendar dates.
The format for blocked dates is: + * YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for + * practice runs are in UTC. Separate multiple blocked dates with spaces.
+ *For example, if you have an application update scheduled to launch on May 1,
+ * 2024, and you don't want practice runs to shift traffic away at that time, you
+ * could set a blocked date for 2024-05-01
.
Optionally, you can block Route 53 ARC from starting practice runs for a + * resource on specific calendar dates.
The format for blocked dates is: + * YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for + * practice runs are in UTC. Separate multiple blocked dates with spaces.
+ *For example, if you have an application update scheduled to launch on May 1,
+ * 2024, and you don't want practice runs to shift traffic away at that time, you
+ * could set a blocked date for 2024-05-01
.
Optionally, you can block Route 53 ARC from starting practice runs for a + * resource on specific calendar dates.
The format for blocked dates is: + * YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for + * practice runs are in UTC. Separate multiple blocked dates with spaces.
+ *For example, if you have an application update scheduled to launch on May 1,
+ * 2024, and you don't want practice runs to shift traffic away at that time, you
+ * could set a blocked date for 2024-05-01
.
Optionally, you can block Route 53 ARC from starting practice runs for a + * resource on specific calendar dates.
The format for blocked dates is: + * YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for + * practice runs are in UTC. Separate multiple blocked dates with spaces.
+ *For example, if you have an application update scheduled to launch on May 1,
+ * 2024, and you don't want practice runs to shift traffic away at that time, you
+ * could set a blocked date for 2024-05-01
.
Optionally, you can block Route 53 ARC from starting practice runs for + * specific windows of days and times.
The format for blocked windows is: + * DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times + * for practice runs are in UTC. Also, be aware of potential time adjustments that + * might be required for daylight saving time differences. Separate multiple + * blocked windows with spaces.
For example, say you run business report
+ * summaries three days a week. For this scenario, you might set the following
+ * recurring days and times as blocked windows, for example: MON-20:30-21:30
+ * WED-20:30-21:30 FRI-20:30-21:30
.
Optionally, you can block Route 53 ARC from starting practice runs for + * specific windows of days and times.
The format for blocked windows is: + * DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times + * for practice runs are in UTC. Also, be aware of potential time adjustments that + * might be required for daylight saving time differences. Separate multiple + * blocked windows with spaces.
For example, say you run business report
+ * summaries three days a week. For this scenario, you might set the following
+ * recurring days and times as blocked windows, for example: MON-20:30-21:30
+ * WED-20:30-21:30 FRI-20:30-21:30
.
Optionally, you can block Route 53 ARC from starting practice runs for + * specific windows of days and times.
The format for blocked windows is: + * DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times + * for practice runs are in UTC. Also, be aware of potential time adjustments that + * might be required for daylight saving time differences. Separate multiple + * blocked windows with spaces.
For example, say you run business report
+ * summaries three days a week. For this scenario, you might set the following
+ * recurring days and times as blocked windows, for example: MON-20:30-21:30
+ * WED-20:30-21:30 FRI-20:30-21:30
.
Optionally, you can block Route 53 ARC from starting practice runs for + * specific windows of days and times.
The format for blocked windows is: + * DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times + * for practice runs are in UTC. Also, be aware of potential time adjustments that + * might be required for daylight saving time differences. Separate multiple + * blocked windows with spaces.
For example, say you run business report
+ * summaries three days a week. For this scenario, you might set the following
+ * recurring days and times as blocked windows, for example: MON-20:30-21:30
+ * WED-20:30-21:30 FRI-20:30-21:30
.
Optionally, you can block Route 53 ARC from starting practice runs for + * specific windows of days and times.
The format for blocked windows is: + * DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times + * for practice runs are in UTC. Also, be aware of potential time adjustments that + * might be required for daylight saving time differences. Separate multiple + * blocked windows with spaces.
For example, say you run business report
+ * summaries three days a week. For this scenario, you might set the following
+ * recurring days and times as blocked windows, for example: MON-20:30-21:30
+ * WED-20:30-21:30 FRI-20:30-21:30
.
Optionally, you can block Route 53 ARC from starting practice runs for + * specific windows of days and times.
The format for blocked windows is: + * DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times + * for practice runs are in UTC. Also, be aware of potential time adjustments that + * might be required for daylight saving time differences. Separate multiple + * blocked windows with spaces.
For example, say you run business report
+ * summaries three days a week. For this scenario, you might set the following
+ * recurring days and times as blocked windows, for example: MON-20:30-21:30
+ * WED-20:30-21:30 FRI-20:30-21:30
.
Optionally, you can block Route 53 ARC from starting practice runs for + * specific windows of days and times.
The format for blocked windows is: + * DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times + * for practice runs are in UTC. Also, be aware of potential time adjustments that + * might be required for daylight saving time differences. Separate multiple + * blocked windows with spaces.
For example, say you run business report
+ * summaries three days a week. For this scenario, you might set the following
+ * recurring days and times as blocked windows, for example: MON-20:30-21:30
+ * WED-20:30-21:30 FRI-20:30-21:30
.
Optionally, you can block Route 53 ARC from starting practice runs for + * specific windows of days and times.
The format for blocked windows is: + * DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times + * for practice runs are in UTC. Also, be aware of potential time adjustments that + * might be required for daylight saving time differences. Separate multiple + * blocked windows with spaces.
For example, say you run business report
+ * summaries three days a week. For this scenario, you might set the following
+ * recurring days and times as blocked windows, for example: MON-20:30-21:30
+ * WED-20:30-21:30 FRI-20:30-21:30
.
Optionally, you can block Route 53 ARC from starting practice runs for + * specific windows of days and times.
The format for blocked windows is: + * DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times + * for practice runs are in UTC. Also, be aware of potential time adjustments that + * might be required for daylight saving time differences. Separate multiple + * blocked windows with spaces.
For example, say you run business report
+ * summaries three days a week. For this scenario, you might set the following
+ * recurring days and times as blocked windows, for example: MON-20:30-21:30
+ * WED-20:30-21:30 FRI-20:30-21:30
.
An Amazon CloudWatch alarm that you can specify for zonal autoshift practice
+ * runs. This alarm blocks Route 53 ARC from starting practice run zonal shifts,
+ * and ends a practice run that's in progress, when the alarm is in an
+ * ALARM
state.
An Amazon CloudWatch alarm that you can specify for zonal autoshift practice
+ * runs. This alarm blocks Route 53 ARC from starting practice run zonal shifts,
+ * and ends a practice run that's in progress, when the alarm is in an
+ * ALARM
state.
An Amazon CloudWatch alarm that you can specify for zonal autoshift practice
+ * runs. This alarm blocks Route 53 ARC from starting practice run zonal shifts,
+ * and ends a practice run that's in progress, when the alarm is in an
+ * ALARM
state.
An Amazon CloudWatch alarm that you can specify for zonal autoshift practice
+ * runs. This alarm blocks Route 53 ARC from starting practice run zonal shifts,
+ * and ends a practice run that's in progress, when the alarm is in an
+ * ALARM
state.
An Amazon CloudWatch alarm that you can specify for zonal autoshift practice
+ * runs. This alarm blocks Route 53 ARC from starting practice run zonal shifts,
+ * and ends a practice run that's in progress, when the alarm is in an
+ * ALARM
state.
An Amazon CloudWatch alarm that you can specify for zonal autoshift practice
+ * runs. This alarm blocks Route 53 ARC from starting practice run zonal shifts,
+ * and ends a practice run that's in progress, when the alarm is in an
+ * ALARM
state.
An Amazon CloudWatch alarm that you can specify for zonal autoshift practice
+ * runs. This alarm blocks Route 53 ARC from starting practice run zonal shifts,
+ * and ends a practice run that's in progress, when the alarm is in an
+ * ALARM
state.
An Amazon CloudWatch alarm that you can specify for zonal autoshift practice
+ * runs. This alarm blocks Route 53 ARC from starting practice run zonal shifts,
+ * and ends a practice run that's in progress, when the alarm is in an
+ * ALARM
state.
The outcome alarm for practice runs is a required Amazon CloudWatch
+ * alarm that you specify that ends a practice run when the alarm is in an
+ * ALARM
state.
Configure the alarm to monitor the health of
+ * your application when traffic is shifted away from an Availability Zone during
+ * each weekly practice run. You should configure the alarm to go into an
+ * ALARM
state if your application is impacted by the zonal shift, and
+ * you want to stop the zonal shift, to let traffic for the resource return to the
+ * Availability Zone.
The outcome alarm for practice runs is a required Amazon CloudWatch
+ * alarm that you specify that ends a practice run when the alarm is in an
+ * ALARM
state.
Configure the alarm to monitor the health of
+ * your application when traffic is shifted away from an Availability Zone during
+ * each weekly practice run. You should configure the alarm to go into an
+ * ALARM
state if your application is impacted by the zonal shift, and
+ * you want to stop the zonal shift, to let traffic for the resource return to the
+ * Availability Zone.
The outcome alarm for practice runs is a required Amazon CloudWatch
+ * alarm that you specify that ends a practice run when the alarm is in an
+ * ALARM
state.
Configure the alarm to monitor the health of
+ * your application when traffic is shifted away from an Availability Zone during
+ * each weekly practice run. You should configure the alarm to go into an
+ * ALARM
state if your application is impacted by the zonal shift, and
+ * you want to stop the zonal shift, to let traffic for the resource return to the
+ * Availability Zone.
The outcome alarm for practice runs is a required Amazon CloudWatch
+ * alarm that you specify that ends a practice run when the alarm is in an
+ * ALARM
state.
Configure the alarm to monitor the health of
+ * your application when traffic is shifted away from an Availability Zone during
+ * each weekly practice run. You should configure the alarm to go into an
+ * ALARM
state if your application is impacted by the zonal shift, and
+ * you want to stop the zonal shift, to let traffic for the resource return to the
+ * Availability Zone.
The outcome alarm for practice runs is a required Amazon CloudWatch
+ * alarm that you specify that ends a practice run when the alarm is in an
+ * ALARM
state.
Configure the alarm to monitor the health of
+ * your application when traffic is shifted away from an Availability Zone during
+ * each weekly practice run. You should configure the alarm to go into an
+ * ALARM
state if your application is impacted by the zonal shift, and
+ * you want to stop the zonal shift, to let traffic for the resource return to the
+ * Availability Zone.
The outcome alarm for practice runs is a required Amazon CloudWatch
+ * alarm that you specify that ends a practice run when the alarm is in an
+ * ALARM
state.
Configure the alarm to monitor the health of
+ * your application when traffic is shifted away from an Availability Zone during
+ * each weekly practice run. You should configure the alarm to go into an
+ * ALARM
state if your application is impacted by the zonal shift, and
+ * you want to stop the zonal shift, to let traffic for the resource return to the
+ * Availability Zone.
The outcome alarm for practice runs is a required Amazon CloudWatch
+ * alarm that you specify that ends a practice run when the alarm is in an
+ * ALARM
state.
Configure the alarm to monitor the health of
+ * your application when traffic is shifted away from an Availability Zone during
+ * each weekly practice run. You should configure the alarm to go into an
+ * ALARM
state if your application is impacted by the zonal shift, and
+ * you want to stop the zonal shift, to let traffic for the resource return to the
+ * Availability Zone.
The outcome alarm for practice runs is a required Amazon CloudWatch
+ * alarm that you specify that ends a practice run when the alarm is in an
+ * ALARM
state.
Configure the alarm to monitor the health of
+ * your application when traffic is shifted away from an Availability Zone during
+ * each weekly practice run. You should configure the alarm to go into an
+ * ALARM
state if your application is impacted by the zonal shift, and
+ * you want to stop the zonal shift, to let traffic for the resource return to the
+ * Availability Zone.
The identifier of the resource to shift away traffic for when a practice run + * starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the + * resource.
At this time, supported resources are Network Load Balancers + * and Application Load Balancers with cross-zone load balancing turned off.
+ */ + inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } + + /** + *The identifier of the resource to shift away traffic for when a practice run + * starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the + * resource.
At this time, supported resources are Network Load Balancers + * and Application Load Balancers with cross-zone load balancing turned off.
+ */ + inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } + + /** + *The identifier of the resource to shift away traffic for when a practice run + * starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the + * resource.
At this time, supported resources are Network Load Balancers + * and Application Load Balancers with cross-zone load balancing turned off.
+ */ + inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } + + /** + *The identifier of the resource to shift away traffic for when a practice run + * starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the + * resource.
At this time, supported resources are Network Load Balancers + * and Application Load Balancers with cross-zone load balancing turned off.
+ */ + inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } + + /** + *The identifier of the resource to shift away traffic for when a practice run + * starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the + * resource.
At this time, supported resources are Network Load Balancers + * and Application Load Balancers with cross-zone load balancing turned off.
+ */ + inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } + + /** + *The identifier of the resource to shift away traffic for when a practice run + * starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the + * resource.
At this time, supported resources are Network Load Balancers + * and Application Load Balancers with cross-zone load balancing turned off.
+ */ + inline CreatePracticeRunConfigurationRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} + + /** + *The identifier of the resource to shift away traffic for when a practice run + * starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the + * resource.
At this time, supported resources are Network Load Balancers + * and Application Load Balancers with cross-zone load balancing turned off.
+ */ + inline CreatePracticeRunConfigurationRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} + + /** + *The identifier of the resource to shift away traffic for when a practice run + * starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the + * resource.
At this time, supported resources are Network Load Balancers + * and Application Load Balancers with cross-zone load balancing turned off.
+ */ + inline CreatePracticeRunConfigurationRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} + + private: + + Aws::VectorThe Amazon Resource Name (ARN) of the resource that you configured the + * practice run for.
+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + + /** + *The Amazon Resource Name (ARN) of the resource that you configured the + * practice run for.
+ */ + inline void SetArn(const Aws::String& value) { m_arn = value; } + + /** + *The Amazon Resource Name (ARN) of the resource that you configured the + * practice run for.
+ */ + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) of the resource that you configured the + * practice run for.
+ */ + inline void SetArn(const char* value) { m_arn.assign(value); } + + /** + *The Amazon Resource Name (ARN) of the resource that you configured the + * practice run for.
+ */ + inline CreatePracticeRunConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) of the resource that you configured the + * practice run for.
+ */ + inline CreatePracticeRunConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) of the resource that you configured the + * practice run for.
+ */ + inline CreatePracticeRunConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;} + + + /** + *The name of the resource that you configured the practice run for.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *The name of the resource that you configured the practice run for.
+ */ + inline void SetName(const Aws::String& value) { m_name = value; } + + /** + *The name of the resource that you configured the practice run for.
+ */ + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + + /** + *The name of the resource that you configured the practice run for.
+ */ + inline void SetName(const char* value) { m_name.assign(value); } + + /** + *The name of the resource that you configured the practice run for.
+ */ + inline CreatePracticeRunConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *The name of the resource that you configured the practice run for.
+ */ + inline CreatePracticeRunConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *The name of the resource that you configured the practice run for.
+ */ + inline CreatePracticeRunConfigurationResult& WithName(const char* value) { SetName(value); return *this;} + + + /** + *A practice run configuration for a resource. Configurations include the + * outcome alarm that you specify for practice runs, and, optionally, a blocking + * alarm and blocking dates and windows.
+ */ + inline const PracticeRunConfiguration& GetPracticeRunConfiguration() const{ return m_practiceRunConfiguration; } + + /** + *A practice run configuration for a resource. Configurations include the + * outcome alarm that you specify for practice runs, and, optionally, a blocking + * alarm and blocking dates and windows.
+ */ + inline void SetPracticeRunConfiguration(const PracticeRunConfiguration& value) { m_practiceRunConfiguration = value; } + + /** + *A practice run configuration for a resource. Configurations include the + * outcome alarm that you specify for practice runs, and, optionally, a blocking + * alarm and blocking dates and windows.
+ */ + inline void SetPracticeRunConfiguration(PracticeRunConfiguration&& value) { m_practiceRunConfiguration = std::move(value); } + + /** + *A practice run configuration for a resource. Configurations include the + * outcome alarm that you specify for practice runs, and, optionally, a blocking + * alarm and blocking dates and windows.
+ */ + inline CreatePracticeRunConfigurationResult& WithPracticeRunConfiguration(const PracticeRunConfiguration& value) { SetPracticeRunConfiguration(value); return *this;} + + /** + *A practice run configuration for a resource. Configurations include the + * outcome alarm that you specify for practice runs, and, optionally, a blocking + * alarm and blocking dates and windows.
+ */ + inline CreatePracticeRunConfigurationResult& WithPracticeRunConfiguration(PracticeRunConfiguration&& value) { SetPracticeRunConfiguration(std::move(value)); return *this;} + + + /** + *The status for zonal autoshift for a resource. When you specify the autoshift
+ * status as ENABLED
, Amazon Web Services shifts traffic away from
+ * shifts away application 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.
When you + * enable zonal autoshift, you must also configure practice runs for the + * resource.
+ */ + inline const ZonalAutoshiftStatus& GetZonalAutoshiftStatus() const{ return m_zonalAutoshiftStatus; } + + /** + *The status for zonal autoshift for a resource. When you specify the autoshift
+ * status as ENABLED
, Amazon Web Services shifts traffic away from
+ * shifts away application 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.
When you + * enable zonal autoshift, you must also configure practice runs for the + * resource.
+ */ + inline void SetZonalAutoshiftStatus(const ZonalAutoshiftStatus& value) { m_zonalAutoshiftStatus = value; } + + /** + *The status for zonal autoshift for a resource. When you specify the autoshift
+ * status as ENABLED
, Amazon Web Services shifts traffic away from
+ * shifts away application 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.
When you + * enable zonal autoshift, you must also configure practice runs for the + * resource.
+ */ + inline void SetZonalAutoshiftStatus(ZonalAutoshiftStatus&& value) { m_zonalAutoshiftStatus = std::move(value); } + + /** + *The status for zonal autoshift for a resource. When you specify the autoshift
+ * status as ENABLED
, Amazon Web Services shifts traffic away from
+ * shifts away application 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.
When you + * enable zonal autoshift, you must also configure practice runs for the + * resource.
+ */ + inline CreatePracticeRunConfigurationResult& WithZonalAutoshiftStatus(const ZonalAutoshiftStatus& value) { SetZonalAutoshiftStatus(value); return *this;} + + /** + *The status for zonal autoshift for a resource. When you specify the autoshift
+ * status as ENABLED
, Amazon Web Services shifts traffic away from
+ * shifts away application 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.
When you + * enable zonal autoshift, you must also configure practice runs for the + * resource.
+ */ + inline CreatePracticeRunConfigurationResult& WithZonalAutoshiftStatus(ZonalAutoshiftStatus&& value) { SetZonalAutoshiftStatus(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreatePracticeRunConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreatePracticeRunConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreatePracticeRunConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_arn; + + Aws::String m_name; + + PracticeRunConfiguration m_practiceRunConfiguration; + + ZonalAutoshiftStatus m_zonalAutoshiftStatus; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/DeletePracticeRunConfigurationRequest.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/DeletePracticeRunConfigurationRequest.h new file mode 100644 index 00000000000..97acaa74172 --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/DeletePracticeRunConfigurationRequest.h @@ -0,0 +1,99 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe identifier for the resource that you want to delete the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } + + /** + *The identifier for the resource that you want to delete the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } + + /** + *The identifier for the resource that you want to delete the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } + + /** + *The identifier for the resource that you want to delete the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } + + /** + *The identifier for the resource that you want to delete the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } + + /** + *The identifier for the resource that you want to delete the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline DeletePracticeRunConfigurationRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} + + /** + *The identifier for the resource that you want to delete the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline DeletePracticeRunConfigurationRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} + + /** + *The identifier for the resource that you want to delete the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline DeletePracticeRunConfigurationRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} + + private: + + Aws::String m_resourceIdentifier; + bool m_resourceIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/DeletePracticeRunConfigurationResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/DeletePracticeRunConfigurationResult.h new file mode 100644 index 00000000000..3cff0b57d1e --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/DeletePracticeRunConfigurationResult.h @@ -0,0 +1,175 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the resource that you deleted the practice + * run for.
+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + + /** + *The Amazon Resource Name (ARN) of the resource that you deleted the practice + * run for.
+ */ + inline void SetArn(const Aws::String& value) { m_arn = value; } + + /** + *The Amazon Resource Name (ARN) of the resource that you deleted the practice + * run for.
+ */ + inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) of the resource that you deleted the practice + * run for.
+ */ + inline void SetArn(const char* value) { m_arn.assign(value); } + + /** + *The Amazon Resource Name (ARN) of the resource that you deleted the practice + * run for.
+ */ + inline DeletePracticeRunConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) of the resource that you deleted the practice + * run for.
+ */ + inline DeletePracticeRunConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) of the resource that you deleted the practice + * run for.
+ */ + inline DeletePracticeRunConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;} + + + /** + *The name of the resource that you deleted the practice run for.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *The name of the resource that you deleted the practice run for.
+ */ + inline void SetName(const Aws::String& value) { m_name = value; } + + /** + *The name of the resource that you deleted the practice run for.
+ */ + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + + /** + *The name of the resource that you deleted the practice run for.
+ */ + inline void SetName(const char* value) { m_name.assign(value); } + + /** + *The name of the resource that you deleted the practice run for.
+ */ + inline DeletePracticeRunConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *The name of the resource that you deleted the practice run for.
+ */ + inline DeletePracticeRunConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *The name of the resource that you deleted the practice run for.
+ */ + inline DeletePracticeRunConfigurationResult& WithName(const char* value) { SetName(value); return *this;} + + + /** + *The status of zonal autoshift for the resource.
+ */ + inline const ZonalAutoshiftStatus& GetZonalAutoshiftStatus() const{ return m_zonalAutoshiftStatus; } + + /** + *The status of zonal autoshift for the resource.
+ */ + inline void SetZonalAutoshiftStatus(const ZonalAutoshiftStatus& value) { m_zonalAutoshiftStatus = value; } + + /** + *The status of zonal autoshift for the resource.
+ */ + inline void SetZonalAutoshiftStatus(ZonalAutoshiftStatus&& value) { m_zonalAutoshiftStatus = std::move(value); } + + /** + *The status of zonal autoshift for the resource.
+ */ + inline DeletePracticeRunConfigurationResult& WithZonalAutoshiftStatus(const ZonalAutoshiftStatus& value) { SetZonalAutoshiftStatus(value); return *this;} + + /** + *The status of zonal autoshift for the resource.
+ */ + inline DeletePracticeRunConfigurationResult& WithZonalAutoshiftStatus(ZonalAutoshiftStatus&& value) { SetZonalAutoshiftStatus(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeletePracticeRunConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeletePracticeRunConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeletePracticeRunConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_arn; + + Aws::String m_name; + + ZonalAutoshiftStatus m_zonalAutoshiftStatus; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceRequest.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceRequest.h index ad20e7207ea..33e439bc882 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceRequest.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceRequest.h @@ -33,66 +33,66 @@ namespace Model /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline GetManagedResourceRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline GetManagedResourceRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline GetManagedResourceRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceResult.h index 3e0d6e14ee8..46b0c1fcb89 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceResult.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/GetManagedResourceResult.h @@ -8,6 +8,9 @@ #includeAn array of the autoshifts that are active for the resource.
+ */ + inline const Aws::VectorAn array of the autoshifts that are active for the resource.
+ */ + inline void SetAutoshifts(const Aws::VectorAn array of the autoshifts that are active for the resource.
+ */ + inline void SetAutoshifts(Aws::VectorAn array of the autoshifts that are active for the resource.
+ */ + inline GetManagedResourceResult& WithAutoshifts(const Aws::VectorAn array of the autoshifts that are active for the resource.
+ */ + inline GetManagedResourceResult& WithAutoshifts(Aws::VectorAn array of the autoshifts that are active for the resource.
+ */ + inline GetManagedResourceResult& AddAutoshifts(const AutoshiftInResource& value) { m_autoshifts.push_back(value); return *this; } + + /** + *An array of the autoshifts that are active for the resource.
+ */ + inline GetManagedResourceResult& AddAutoshifts(AutoshiftInResource&& value) { m_autoshifts.push_back(std::move(value)); return *this; } + + /** *The name of the resource.
*/ @@ -164,6 +203,83 @@ namespace Model inline GetManagedResourceResult& WithName(const char* value) { SetName(value); return *this;} + /** + *The practice run configuration for zonal autoshift that's associated with the + * resource.
+ */ + inline const PracticeRunConfiguration& GetPracticeRunConfiguration() const{ return m_practiceRunConfiguration; } + + /** + *The practice run configuration for zonal autoshift that's associated with the + * resource.
+ */ + inline void SetPracticeRunConfiguration(const PracticeRunConfiguration& value) { m_practiceRunConfiguration = value; } + + /** + *The practice run configuration for zonal autoshift that's associated with the + * resource.
+ */ + inline void SetPracticeRunConfiguration(PracticeRunConfiguration&& value) { m_practiceRunConfiguration = std::move(value); } + + /** + *The practice run configuration for zonal autoshift that's associated with the + * resource.
+ */ + inline GetManagedResourceResult& WithPracticeRunConfiguration(const PracticeRunConfiguration& value) { SetPracticeRunConfiguration(value); return *this;} + + /** + *The practice run configuration for zonal autoshift that's associated with the + * resource.
+ */ + inline GetManagedResourceResult& WithPracticeRunConfiguration(PracticeRunConfiguration&& value) { SetPracticeRunConfiguration(std::move(value)); return *this;} + + + /** + *The status for zonal autoshift for a resource. When the autoshift status is
+ * ENABLED
, Amazon Web Services shifts traffic for a resource away
+ * 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.
The status for zonal autoshift for a resource. When the autoshift status is
+ * ENABLED
, Amazon Web Services shifts traffic for a resource away
+ * 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.
The status for zonal autoshift for a resource. When the autoshift status is
+ * ENABLED
, Amazon Web Services shifts traffic for a resource away
+ * 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.
The status for zonal autoshift for a resource. When the autoshift status is
+ * ENABLED
, Amazon Web Services shifts traffic for a resource away
+ * 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.
The status for zonal autoshift for a resource. When the autoshift status is
+ * ENABLED
, Amazon Web Services shifts traffic for a resource away
+ * 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.
The zonal shifts that are currently active for a resource.
*/ @@ -227,8 +343,14 @@ namespace Model Aws::String m_arn; + Aws::VectorThe number of objects that you want to return with this call.
+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *The number of objects that you want to return with this call.
+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *The number of objects that you want to return with this call.
+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *The number of objects that you want to return with this call.
+ */ + inline ListAutoshiftsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *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.
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.
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.
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.
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.
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.
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.
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.
The status of the autoshift.
+ */ + inline const AutoshiftExecutionStatus& GetStatus() const{ return m_status; } + + /** + *The status of the autoshift.
+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *The status of the autoshift.
+ */ + inline void SetStatus(const AutoshiftExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *The status of the autoshift.
+ */ + inline void SetStatus(AutoshiftExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *The status of the autoshift.
+ */ + inline ListAutoshiftsRequest& WithStatus(const AutoshiftExecutionStatus& value) { SetStatus(value); return *this;} + + /** + *The status of the autoshift.
+ */ + inline ListAutoshiftsRequest& WithStatus(AutoshiftExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} + + private: + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + AutoshiftExecutionStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace ARCZonalShift +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ListAutoshiftsResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ListAutoshiftsResult.h new file mode 100644 index 00000000000..8b4e3796d4c --- /dev/null +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/ListAutoshiftsResult.h @@ -0,0 +1,169 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe items in the response list.
+ */ + inline const Aws::VectorThe items in the response list.
+ */ + inline void SetItems(const Aws::VectorThe items in the response list.
+ */ + inline void SetItems(Aws::VectorThe items in the response list.
+ */ + inline ListAutoshiftsResult& WithItems(const Aws::VectorThe items in the response list.
+ */ + inline ListAutoshiftsResult& WithItems(Aws::VectorThe items in the response list.
+ */ + inline ListAutoshiftsResult& AddItems(const AutoshiftSummary& value) { m_items.push_back(value); return *this; } + + /** + *The items in the response list.
+ */ + inline ListAutoshiftsResult& AddItems(AutoshiftSummary&& value) { m_items.push_back(std::move(value)); return *this; } + + + /** + *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.
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.
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.
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.
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.
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.
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.
The identifier for the resource that you want to list zonal shifts for. The + * identifier is the Amazon Resource Name (ARN) for the resource.
+ */ + inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } + + /** + *The identifier for the resource that you want to list zonal shifts for. The + * identifier is the Amazon Resource Name (ARN) for the resource.
+ */ + inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } + + /** + *The identifier for the resource that you want to list zonal shifts for. The + * identifier is the Amazon Resource Name (ARN) for the resource.
+ */ + inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } + + /** + *The identifier for the resource that you want to list zonal shifts for. The + * identifier is the Amazon Resource Name (ARN) for the resource.
+ */ + inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } + + /** + *The identifier for the resource that you want to list zonal shifts for. The + * identifier is the Amazon Resource Name (ARN) for the resource.
+ */ + inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } + + /** + *The identifier for the resource that you want to list zonal shifts for. The + * identifier is the Amazon Resource Name (ARN) for the resource.
+ */ + inline ListZonalShiftsRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} + + /** + *The identifier for the resource that you want to list zonal shifts for. The + * identifier is the Amazon Resource Name (ARN) for the resource.
+ */ + inline ListZonalShiftsRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} + + /** + *The identifier for the resource that you want to list zonal shifts for. The + * identifier is the Amazon Resource Name (ARN) for the resource.
+ */ + inline ListZonalShiftsRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} + + /** *A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A complex structure for a managed resource in an account.
A managed - * resource is a Network Load Balancer or Application Load Balancer that has been - * registered with Route 53 ARC by Elastic Load Balancing. You can start a zonal - * shift in Route 53 ARC for a managed resource to temporarily move traffic for the - * resource away from an Availability Zone in an AWS Region.
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 managed resource is + * a load balancer that has been registered with Route 53 ARC by Elastic Load + * Balancing. You can start a zonal shift in Route 53 ARC for a managed resource to + * temporarily move traffic for the resource away from an Availability Zone in an + * Amazon Web Services Region. You can also configure zonal autoshift for a managed + * resource.
At this time, managed resources are Network Load + * Balancers and Application Load Balancers with cross-zone load balancing turned + * off.
A collection of key-value pairs that indicate whether resources are active in + * Availability Zones or not. The key name is the Availability Zone where the + * resource is deployed. The value is 1 or 0.
+ */ + inline const Aws::MapA collection of key-value pairs that indicate whether resources are active in + * Availability Zones or not. The key name is the Availability Zone where the + * resource is deployed. The value is 1 or 0.
+ */ + inline bool AppliedWeightsHasBeenSet() const { return m_appliedWeightsHasBeenSet; } + + /** + *A collection of key-value pairs that indicate whether resources are active in + * Availability Zones or not. The key name is the Availability Zone where the + * resource is deployed. The value is 1 or 0.
+ */ + inline void SetAppliedWeights(const Aws::MapA collection of key-value pairs that indicate whether resources are active in + * Availability Zones or not. The key name is the Availability Zone where the + * resource is deployed. The value is 1 or 0.
+ */ + inline void SetAppliedWeights(Aws::MapA collection of key-value pairs that indicate whether resources are active in + * Availability Zones or not. The key name is the Availability Zone where the + * resource is deployed. The value is 1 or 0.
+ */ + inline ManagedResourceSummary& WithAppliedWeights(const Aws::MapA collection of key-value pairs that indicate whether resources are active in + * Availability Zones or not. The key name is the Availability Zone where the + * resource is deployed. The value is 1 or 0.
+ */ + inline ManagedResourceSummary& WithAppliedWeights(Aws::MapA collection of key-value pairs that indicate whether resources are active in + * Availability Zones or not. The key name is the Availability Zone where the + * resource is deployed. The value is 1 or 0.
+ */ + inline ManagedResourceSummary& AddAppliedWeights(const Aws::String& key, double value) { m_appliedWeightsHasBeenSet = true; m_appliedWeights.emplace(key, value); return *this; } + + /** + *A collection of key-value pairs that indicate whether resources are active in + * Availability Zones or not. The key name is the Availability Zone where the + * resource is deployed. The value is 1 or 0.
+ */ + inline ManagedResourceSummary& AddAppliedWeights(Aws::String&& key, double value) { m_appliedWeightsHasBeenSet = true; m_appliedWeights.emplace(std::move(key), value); return *this; } + + /** + *A collection of key-value pairs that indicate whether resources are active in + * Availability Zones or not. The key name is the Availability Zone where the + * resource is deployed. The value is 1 or 0.
+ */ + inline ManagedResourceSummary& AddAppliedWeights(const char* key, double value) { m_appliedWeightsHasBeenSet = true; m_appliedWeights.emplace(key, value); return *this; } + + /** *The Amazon Resource Name (ARN) for the managed resource.
*/ @@ -86,6 +155,47 @@ namespace Model inline ManagedResourceSummary& WithArn(const char* value) { SetArn(value); return *this;} + /** + *An array of the autoshifts that have been completed for a resource.
+ */ + inline const Aws::VectorAn array of the autoshifts that have been completed for a resource.
+ */ + inline bool AutoshiftsHasBeenSet() const { return m_autoshiftsHasBeenSet; } + + /** + *An array of the autoshifts that have been completed for a resource.
+ */ + inline void SetAutoshifts(const Aws::VectorAn array of the autoshifts that have been completed for a resource.
+ */ + inline void SetAutoshifts(Aws::VectorAn array of the autoshifts that have been completed for a resource.
+ */ + inline ManagedResourceSummary& WithAutoshifts(const Aws::VectorAn array of the autoshifts that have been completed for a resource.
+ */ + inline ManagedResourceSummary& WithAutoshifts(Aws::VectorAn array of the autoshifts that have been completed for a resource.
+ */ + inline ManagedResourceSummary& AddAutoshifts(const AutoshiftInResource& value) { m_autoshiftsHasBeenSet = true; m_autoshifts.push_back(value); return *this; } + + /** + *An array of the autoshifts that have been completed for a resource.
+ */ + inline ManagedResourceSummary& AddAutoshifts(AutoshiftInResource&& value) { m_autoshiftsHasBeenSet = true; m_autoshifts.push_back(std::move(value)); return *this; } + + /** *The Availability Zones that a resource is deployed in.
*/ @@ -172,16 +282,182 @@ namespace Model */ inline ManagedResourceSummary& WithName(const char* value) { SetName(value); return *this;} + + /** + *This status tracks whether a practice run configuration exists for a
+ * resource. When you configure a practice run for a resource so that a practice
+ * run configuration exists, Route 53 ARC sets this value to ENABLED
.
+ * If a you have not configured a practice run for the resource, or delete a
+ * practice run configuration, Route 53 ARC sets the value to
+ * DISABLED
.
Route 53 ARC updates this status; you can't set a
+ * practice run status to ENABLED
or DISABLED
.
This status tracks whether a practice run configuration exists for a
+ * resource. When you configure a practice run for a resource so that a practice
+ * run configuration exists, Route 53 ARC sets this value to ENABLED
.
+ * If a you have not configured a practice run for the resource, or delete a
+ * practice run configuration, Route 53 ARC sets the value to
+ * DISABLED
.
Route 53 ARC updates this status; you can't set a
+ * practice run status to ENABLED
or DISABLED
.
This status tracks whether a practice run configuration exists for a
+ * resource. When you configure a practice run for a resource so that a practice
+ * run configuration exists, Route 53 ARC sets this value to ENABLED
.
+ * If a you have not configured a practice run for the resource, or delete a
+ * practice run configuration, Route 53 ARC sets the value to
+ * DISABLED
.
Route 53 ARC updates this status; you can't set a
+ * practice run status to ENABLED
or DISABLED
.
This status tracks whether a practice run configuration exists for a
+ * resource. When you configure a practice run for a resource so that a practice
+ * run configuration exists, Route 53 ARC sets this value to ENABLED
.
+ * If a you have not configured a practice run for the resource, or delete a
+ * practice run configuration, Route 53 ARC sets the value to
+ * DISABLED
.
Route 53 ARC updates this status; you can't set a
+ * practice run status to ENABLED
or DISABLED
.
This status tracks whether a practice run configuration exists for a
+ * resource. When you configure a practice run for a resource so that a practice
+ * run configuration exists, Route 53 ARC sets this value to ENABLED
.
+ * If a you have not configured a practice run for the resource, or delete a
+ * practice run configuration, Route 53 ARC sets the value to
+ * DISABLED
.
Route 53 ARC updates this status; you can't set a
+ * practice run status to ENABLED
or DISABLED
.
This status tracks whether a practice run configuration exists for a
+ * resource. When you configure a practice run for a resource so that a practice
+ * run configuration exists, Route 53 ARC sets this value to ENABLED
.
+ * If a you have not configured a practice run for the resource, or delete a
+ * practice run configuration, Route 53 ARC sets the value to
+ * DISABLED
.
Route 53 ARC updates this status; you can't set a
+ * practice run status to ENABLED
or DISABLED
.
The status of autoshift for a resource. When you configure zonal autoshift
+ * for a resource, you can set the value of the status to ENABLED
or
+ * DISABLED
.
The status of autoshift for a resource. When you configure zonal autoshift
+ * for a resource, you can set the value of the status to ENABLED
or
+ * DISABLED
.
The status of autoshift for a resource. When you configure zonal autoshift
+ * for a resource, you can set the value of the status to ENABLED
or
+ * DISABLED
.
The status of autoshift for a resource. When you configure zonal autoshift
+ * for a resource, you can set the value of the status to ENABLED
or
+ * DISABLED
.
The status of autoshift for a resource. When you configure zonal autoshift
+ * for a resource, you can set the value of the status to ENABLED
or
+ * DISABLED
.
The status of autoshift for a resource. When you configure zonal autoshift
+ * for a resource, you can set the value of the status to ENABLED
or
+ * DISABLED
.
An array of the zonal shifts for a resource.
+ */ + inline const Aws::VectorAn array of the zonal shifts for a resource.
+ */ + inline bool ZonalShiftsHasBeenSet() const { return m_zonalShiftsHasBeenSet; } + + /** + *An array of the zonal shifts for a resource.
+ */ + inline void SetZonalShifts(const Aws::VectorAn array of the zonal shifts for a resource.
+ */ + inline void SetZonalShifts(Aws::VectorAn array of the zonal shifts for a resource.
+ */ + inline ManagedResourceSummary& WithZonalShifts(const Aws::VectorAn array of the zonal shifts for a resource.
+ */ + inline ManagedResourceSummary& WithZonalShifts(Aws::VectorAn array of the zonal shifts for a resource.
+ */ + inline ManagedResourceSummary& AddZonalShifts(const ZonalShiftInResource& value) { m_zonalShiftsHasBeenSet = true; m_zonalShifts.push_back(value); return *this; } + + /** + *An array of the zonal shifts for a resource.
+ */ + inline ManagedResourceSummary& AddZonalShifts(ZonalShiftInResource&& value) { m_zonalShiftsHasBeenSet = true; m_zonalShifts.push_back(std::move(value)); return *this; } + private: + Aws::MapA practice run configuration for a resource includes the Amazon CloudWatch + * alarms that you've specified for a practice run, as well as any blocked dates or + * blocked windows for the practice run.
You can update or delete a practice + * run configuration. Before you delete a practice run configuration, you must + * disable zonal autoshift for the resource. A practice run configuration is + * required when zonal autoshift is enabled.
An array of one or more dates that you can specify when Amazon Web Services + * does not start practice runs for a resource.
Specify blocked dates, in
+ * UTC, in the format YYYY-MM-DD
, separated by spaces.
An array of one or more dates that you can specify when Amazon Web Services + * does not start practice runs for a resource.
Specify blocked dates, in
+ * UTC, in the format YYYY-MM-DD
, separated by spaces.
An array of one or more dates that you can specify when Amazon Web Services + * does not start practice runs for a resource.
Specify blocked dates, in
+ * UTC, in the format YYYY-MM-DD
, separated by spaces.
An array of one or more dates that you can specify when Amazon Web Services + * does not start practice runs for a resource.
Specify blocked dates, in
+ * UTC, in the format YYYY-MM-DD
, separated by spaces.
An array of one or more dates that you can specify when Amazon Web Services + * does not start practice runs for a resource.
Specify blocked dates, in
+ * UTC, in the format YYYY-MM-DD
, separated by spaces.
An array of one or more dates that you can specify when Amazon Web Services + * does not start practice runs for a resource.
Specify blocked dates, in
+ * UTC, in the format YYYY-MM-DD
, separated by spaces.
An array of one or more dates that you can specify when Amazon Web Services + * does not start practice runs for a resource.
Specify blocked dates, in
+ * UTC, in the format YYYY-MM-DD
, separated by spaces.
An array of one or more dates that you can specify when Amazon Web Services + * does not start practice runs for a resource.
Specify blocked dates, in
+ * UTC, in the format YYYY-MM-DD
, separated by spaces.
An array of one or more dates that you can specify when Amazon Web Services + * does not start practice runs for a resource.
Specify blocked dates, in
+ * UTC, in the format YYYY-MM-DD
, separated by spaces.
An array of one or more windows of days and times that you can block Route 53 + * ARC from starting practice runs for a resource.
Specify the blocked
+ * windows in UTC, using the format DAY:HH:MM-DAY:HH:MM
, separated by
+ * spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30
.
An array of one or more windows of days and times that you can block Route 53 + * ARC from starting practice runs for a resource.
Specify the blocked
+ * windows in UTC, using the format DAY:HH:MM-DAY:HH:MM
, separated by
+ * spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30
.
An array of one or more windows of days and times that you can block Route 53 + * ARC from starting practice runs for a resource.
Specify the blocked
+ * windows in UTC, using the format DAY:HH:MM-DAY:HH:MM
, separated by
+ * spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30
.
An array of one or more windows of days and times that you can block Route 53 + * ARC from starting practice runs for a resource.
Specify the blocked
+ * windows in UTC, using the format DAY:HH:MM-DAY:HH:MM
, separated by
+ * spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30
.
An array of one or more windows of days and times that you can block Route 53 + * ARC from starting practice runs for a resource.
Specify the blocked
+ * windows in UTC, using the format DAY:HH:MM-DAY:HH:MM
, separated by
+ * spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30
.
An array of one or more windows of days and times that you can block Route 53 + * ARC from starting practice runs for a resource.
Specify the blocked
+ * windows in UTC, using the format DAY:HH:MM-DAY:HH:MM
, separated by
+ * spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30
.
An array of one or more windows of days and times that you can block Route 53 + * ARC from starting practice runs for a resource.
Specify the blocked
+ * windows in UTC, using the format DAY:HH:MM-DAY:HH:MM
, separated by
+ * spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30
.
An array of one or more windows of days and times that you can block Route 53 + * ARC from starting practice runs for a resource.
Specify the blocked
+ * windows in UTC, using the format DAY:HH:MM-DAY:HH:MM
, separated by
+ * spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30
.
An array of one or more windows of days and times that you can block Route 53 + * ARC from starting practice runs for a resource.
Specify the blocked
+ * windows in UTC, using the format DAY:HH:MM-DAY:HH:MM
, separated by
+ * spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30
.
The blocking alarm for practice runs is an optional alarm that you can
+ * specify that blocks practice runs when the alarm is in an ALARM
+ * state.
The blocking alarm for practice runs is an optional alarm that you can
+ * specify that blocks practice runs when the alarm is in an ALARM
+ * state.
The blocking alarm for practice runs is an optional alarm that you can
+ * specify that blocks practice runs when the alarm is in an ALARM
+ * state.
The blocking alarm for practice runs is an optional alarm that you can
+ * specify that blocks practice runs when the alarm is in an ALARM
+ * state.
The blocking alarm for practice runs is an optional alarm that you can
+ * specify that blocks practice runs when the alarm is in an ALARM
+ * state.
The blocking alarm for practice runs is an optional alarm that you can
+ * specify that blocks practice runs when the alarm is in an ALARM
+ * state.
The blocking alarm for practice runs is an optional alarm that you can
+ * specify that blocks practice runs when the alarm is in an ALARM
+ * state.
The blocking alarm for practice runs is an optional alarm that you can
+ * specify that blocks practice runs when the alarm is in an ALARM
+ * state.
The outcome alarm for practice runs is an alarm that you specify that
+ * ends a practice run when the alarm is in an ALARM
state.
The outcome alarm for practice runs is an alarm that you specify that
+ * ends a practice run when the alarm is in an ALARM
state.
The outcome alarm for practice runs is an alarm that you specify that
+ * ends a practice run when the alarm is in an ALARM
state.
The outcome alarm for practice runs is an alarm that you specify that
+ * ends a practice run when the alarm is in an ALARM
state.
The outcome alarm for practice runs is an alarm that you specify that
+ * ends a practice run when the alarm is in an ALARM
state.
The outcome alarm for practice runs is an alarm that you specify that
+ * ends a practice run when the alarm is in an ALARM
state.
The outcome alarm for practice runs is an alarm that you specify that
+ * ends a practice run when the alarm is in an ALARM
state.
The outcome alarm for practice runs is an alarm that you specify that
+ * ends a practice run when the alarm is in an ALARM
state.
The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline bool AwayFromHasBeenSet() const { return m_awayFromHasBeenSet; } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline void SetAwayFrom(const Aws::String& value) { m_awayFromHasBeenSet = true; m_awayFrom = value; } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline void SetAwayFrom(Aws::String&& value) { m_awayFromHasBeenSet = true; m_awayFrom = std::move(value); } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline void SetAwayFrom(const char* value) { m_awayFromHasBeenSet = true; m_awayFrom.assign(value); } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline StartZonalShiftRequest& WithAwayFrom(const Aws::String& value) { SetAwayFrom(value); return *this;} /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline StartZonalShiftRequest& WithAwayFrom(Aws::String&& value) { SetAwayFrom(std::move(value)); return *this;} /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline StartZonalShiftRequest& WithAwayFrom(const char* value) { SetAwayFrom(value); return *this;} @@ -155,13 +163,11 @@ namespace Model * zonal shift, before it expires, for example, if you're ready to restore traffic * to the Availability Zone.To set a length of time for a zonal shift to be * active, specify a whole number, and then one of the following, with no - * space:
<ul> <li> <p> <b>A lowercase
- * letter m:</b> To specify that the value is in minutes.</p>
- * </li> <li> <p> <b>A lowercase letter h:</b> To
- * specify that the value is in hours.</p> </li> </ul>
- * <p>For example: <code>20h</code> means the zonal shift expires
- * in 20 hours. <code>120m</code> means the zonal shift expires in 120
- * minutes (2 hours).</p>
+ * space: A lowercase letter m: To specify that the value + * is in minutes.
A lowercase letter h: To specify that + * the value is in hours.
For example: 20h
means
+ * the zonal shift expires in 20 hours. 120m
means the zonal shift
+ * expires in 120 minutes (2 hours).
To set a length of time for a zonal shift to be * active, specify a whole number, and then one of the following, with no - * space:
<ul> <li> <p> <b>A lowercase
- * letter m:</b> To specify that the value is in minutes.</p>
- * </li> <li> <p> <b>A lowercase letter h:</b> To
- * specify that the value is in hours.</p> </li> </ul>
- * <p>For example: <code>20h</code> means the zonal shift expires
- * in 20 hours. <code>120m</code> means the zonal shift expires in 120
- * minutes (2 hours).</p>
+ * space: A lowercase letter m: To specify that the value + * is in minutes.
A lowercase letter h: To specify that + * the value is in hours.
For example: 20h
means
+ * the zonal shift expires in 20 hours. 120m
means the zonal shift
+ * expires in 120 minutes (2 hours).
To set a length of time for a zonal shift to be * active, specify a whole number, and then one of the following, with no - * space:
<ul> <li> <p> <b>A lowercase
- * letter m:</b> To specify that the value is in minutes.</p>
- * </li> <li> <p> <b>A lowercase letter h:</b> To
- * specify that the value is in hours.</p> </li> </ul>
- * <p>For example: <code>20h</code> means the zonal shift expires
- * in 20 hours. <code>120m</code> means the zonal shift expires in 120
- * minutes (2 hours).</p>
+ * space: A lowercase letter m: To specify that the value + * is in minutes.
A lowercase letter h: To specify that + * the value is in hours.
For example: 20h
means
+ * the zonal shift expires in 20 hours. 120m
means the zonal shift
+ * expires in 120 minutes (2 hours).
To set a length of time for a zonal shift to be * active, specify a whole number, and then one of the following, with no - * space:
<ul> <li> <p> <b>A lowercase
- * letter m:</b> To specify that the value is in minutes.</p>
- * </li> <li> <p> <b>A lowercase letter h:</b> To
- * specify that the value is in hours.</p> </li> </ul>
- * <p>For example: <code>20h</code> means the zonal shift expires
- * in 20 hours. <code>120m</code> means the zonal shift expires in 120
- * minutes (2 hours).</p>
+ * space: A lowercase letter m: To specify that the value + * is in minutes.
A lowercase letter h: To specify that + * the value is in hours.
For example: 20h
means
+ * the zonal shift expires in 20 hours. 120m
means the zonal shift
+ * expires in 120 minutes (2 hours).
To set a length of time for a zonal shift to be * active, specify a whole number, and then one of the following, with no - * space:
<ul> <li> <p> <b>A lowercase
- * letter m:</b> To specify that the value is in minutes.</p>
- * </li> <li> <p> <b>A lowercase letter h:</b> To
- * specify that the value is in hours.</p> </li> </ul>
- * <p>For example: <code>20h</code> means the zonal shift expires
- * in 20 hours. <code>120m</code> means the zonal shift expires in 120
- * minutes (2 hours).</p>
+ * space: A lowercase letter m: To specify that the value + * is in minutes.
A lowercase letter h: To specify that + * the value is in hours.
For example: 20h
means
+ * the zonal shift expires in 20 hours. 120m
means the zonal shift
+ * expires in 120 minutes (2 hours).
To set a length of time for a zonal shift to be * active, specify a whole number, and then one of the following, with no - * space:
<ul> <li> <p> <b>A lowercase
- * letter m:</b> To specify that the value is in minutes.</p>
- * </li> <li> <p> <b>A lowercase letter h:</b> To
- * specify that the value is in hours.</p> </li> </ul>
- * <p>For example: <code>20h</code> means the zonal shift expires
- * in 20 hours. <code>120m</code> means the zonal shift expires in 120
- * minutes (2 hours).</p>
+ * space: A lowercase letter m: To specify that the value + * is in minutes.
A lowercase letter h: To specify that + * the value is in hours.
For example: 20h
means
+ * the zonal shift expires in 20 hours. 120m
means the zonal shift
+ * expires in 120 minutes (2 hours).
To set a length of time for a zonal shift to be * active, specify a whole number, and then one of the following, with no - * space:
<ul> <li> <p> <b>A lowercase
- * letter m:</b> To specify that the value is in minutes.</p>
- * </li> <li> <p> <b>A lowercase letter h:</b> To
- * specify that the value is in hours.</p> </li> </ul>
- * <p>For example: <code>20h</code> means the zonal shift expires
- * in 20 hours. <code>120m</code> means the zonal shift expires in 120
- * minutes (2 hours).</p>
+ * space: A lowercase letter m: To specify that the value + * is in minutes.
A lowercase letter h: To specify that + * the value is in hours.
For example: 20h
means
+ * the zonal shift expires in 20 hours. 120m
means the zonal shift
+ * expires in 120 minutes (2 hours).
To set a length of time for a zonal shift to be * active, specify a whole number, and then one of the following, with no - * space:
<ul> <li> <p> <b>A lowercase
- * letter m:</b> To specify that the value is in minutes.</p>
- * </li> <li> <p> <b>A lowercase letter h:</b> To
- * specify that the value is in hours.</p> </li> </ul>
- * <p>For example: <code>20h</code> means the zonal shift expires
- * in 20 hours. <code>120m</code> means the zonal shift expires in 120
- * minutes (2 hours).</p>
+ * space: A lowercase letter m: To specify that the value + * is in minutes.
A lowercase letter h: To specify that + * the value is in hours.
For example: 20h
means
+ * the zonal shift expires in 20 hours. 120m
means the zonal shift
+ * expires in 120 minutes (2 hours).
The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline StartZonalShiftRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline StartZonalShiftRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline StartZonalShiftRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftResult.h b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftResult.h index a33a5659e28..2d6b8e963d5 100644 --- a/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftResult.h +++ b/generated/src/aws-cpp-sdk-arc-zonal-shift/include/aws/arc-zonal-shift/model/StartZonalShiftResult.h @@ -37,49 +37,56 @@ namespace Model /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline const Aws::String& GetAwayFrom() const{ return m_awayFrom; } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline void SetAwayFrom(const Aws::String& value) { m_awayFrom = value; } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline void SetAwayFrom(Aws::String&& value) { m_awayFrom = std::move(value); } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline void SetAwayFrom(const char* value) { m_awayFrom.assign(value); } /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline StartZonalShiftResult& WithAwayFrom(const Aws::String& value) { SetAwayFrom(value); return *this;} /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline StartZonalShiftResult& WithAwayFrom(Aws::String&& value) { SetAwayFrom(std::move(value)); return *this;} /** *The Availability Zone that traffic is moved away from for a resource when you * start a zonal shift. Until the zonal shift expires or you cancel it, traffic for - * the resource is instead moved to other Availability Zones in the AWS Region.
+ * the resource is instead moved to other Availability Zones in the Amazon Web + * Services Region. */ inline StartZonalShiftResult& WithAwayFrom(const char* value) { SetAwayFrom(value); return *this;} @@ -135,150 +142,150 @@ namespace Model /** - *The expiry time (expiration time) for the zonal shift. A zonal shift is - * temporary and must be set to expire when you start the zonal shift. You can - * initially set a zonal shift to expire in a maximum of three days (72 hours). + *
The expiry time (expiration time) for a customer-started zonal shift. A zonal + * shift is temporary and must be set to expire when you start the zonal shift. You + * can initially set a zonal shift to expire in a maximum of three days (72 hours). * However, you can update a zonal shift to set a new expiration at any time.
*When you start a zonal shift, you specify how long you want it to be active, * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift, for example, if you're ready to restore traffic to the - * Availability Zone. Or you can update the zonal shift to specify another length - * of time to expire in.
+ * a zonal shift when you're ready to restore traffic to the Availability Zone, or + * just wait for it to expire. Or you can update the zonal shift to specify another + * length of time to expire in. */ inline const Aws::Utils::DateTime& GetExpiryTime() const{ return m_expiryTime; } /** - *The expiry time (expiration time) for the zonal shift. A zonal shift is - * temporary and must be set to expire when you start the zonal shift. You can - * initially set a zonal shift to expire in a maximum of three days (72 hours). + *
The expiry time (expiration time) for a customer-started zonal shift. A zonal + * shift is temporary and must be set to expire when you start the zonal shift. You + * can initially set a zonal shift to expire in a maximum of three days (72 hours). * However, you can update a zonal shift to set a new expiration at any time.
*When you start a zonal shift, you specify how long you want it to be active, * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift, for example, if you're ready to restore traffic to the - * Availability Zone. Or you can update the zonal shift to specify another length - * of time to expire in.
+ * a zonal shift when you're ready to restore traffic to the Availability Zone, or + * just wait for it to expire. Or you can update the zonal shift to specify another + * length of time to expire in. */ inline void SetExpiryTime(const Aws::Utils::DateTime& value) { m_expiryTime = value; } /** - *The expiry time (expiration time) for the zonal shift. A zonal shift is - * temporary and must be set to expire when you start the zonal shift. You can - * initially set a zonal shift to expire in a maximum of three days (72 hours). + *
The expiry time (expiration time) for a customer-started zonal shift. A zonal + * shift is temporary and must be set to expire when you start the zonal shift. You + * can initially set a zonal shift to expire in a maximum of three days (72 hours). * However, you can update a zonal shift to set a new expiration at any time.
*When you start a zonal shift, you specify how long you want it to be active, * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift, for example, if you're ready to restore traffic to the - * Availability Zone. Or you can update the zonal shift to specify another length - * of time to expire in.
+ * a zonal shift when you're ready to restore traffic to the Availability Zone, or + * just wait for it to expire. Or you can update the zonal shift to specify another + * length of time to expire in. */ inline void SetExpiryTime(Aws::Utils::DateTime&& value) { m_expiryTime = std::move(value); } /** - *The expiry time (expiration time) for the zonal shift. A zonal shift is - * temporary and must be set to expire when you start the zonal shift. You can - * initially set a zonal shift to expire in a maximum of three days (72 hours). + *
The expiry time (expiration time) for a customer-started zonal shift. A zonal + * shift is temporary and must be set to expire when you start the zonal shift. You + * can initially set a zonal shift to expire in a maximum of three days (72 hours). * However, you can update a zonal shift to set a new expiration at any time.
*When you start a zonal shift, you specify how long you want it to be active, * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift, for example, if you're ready to restore traffic to the - * Availability Zone. Or you can update the zonal shift to specify another length - * of time to expire in.
+ * a zonal shift when you're ready to restore traffic to the Availability Zone, or + * just wait for it to expire. Or you can update the zonal shift to specify another + * length of time to expire in. */ inline StartZonalShiftResult& WithExpiryTime(const Aws::Utils::DateTime& value) { SetExpiryTime(value); return *this;} /** - *The expiry time (expiration time) for the zonal shift. A zonal shift is - * temporary and must be set to expire when you start the zonal shift. You can - * initially set a zonal shift to expire in a maximum of three days (72 hours). + *
The expiry time (expiration time) for a customer-started zonal shift. A zonal + * shift is temporary and must be set to expire when you start the zonal shift. You + * can initially set a zonal shift to expire in a maximum of three days (72 hours). * However, you can update a zonal shift to set a new expiration at any time.
*When you start a zonal shift, you specify how long you want it to be active, * which Route 53 ARC converts to an expiry time (expiration time). You can cancel - * a zonal shift, for example, if you're ready to restore traffic to the - * Availability Zone. Or you can update the zonal shift to specify another length - * of time to expire in.
+ * a zonal shift when you're ready to restore traffic to the Availability Zone, or + * just wait for it to expire. Or you can update the zonal shift to specify another + * length of time to expire in. */ inline StartZonalShiftResult& WithExpiryTime(Aws::Utils::DateTime&& value) { SetExpiryTime(std::move(value)); return *this;} /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifier = value; } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifier = std::move(value); } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline void SetResourceIdentifier(const char* value) { m_resourceIdentifier.assign(value); } /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline StartZonalShiftResult& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline StartZonalShiftResult& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} /** - *The identifier for the resource to include in a zonal shift. The identifier - * is the Amazon Resource Name (ARN) for the resource.
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.
+ *The identifier for the resource to shift away traffic for. The identifier is + * the Amazon Resource Name (ARN) for the resource.
At this time, supported + * resources are Network Load Balancers and Application Load Balancers with + * cross-zone load balancing turned off.
*/ inline StartZonalShiftResult& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} /** - *The time (UTC) when the zonal shift is started.
+ *The time (UTC) when the zonal shift starts.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** - *The time (UTC) when the zonal shift is started.
+ *The time (UTC) when the zonal shift starts.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } /** - *The time (UTC) when the zonal shift is started.
+ *The time (UTC) when the zonal shift starts.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); } /** - *The time (UTC) when the zonal shift is started.
+ *The time (UTC) when the zonal shift starts.
*/ inline StartZonalShiftResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** - *The time (UTC) when the zonal shift is started.
+ *The time (UTC) when the zonal shift starts.
*/ inline StartZonalShiftResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} @@ -286,45 +293,45 @@ namespace Model /** *A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
A status for a zonal shift.
The Status
for a zonal shift
* can have one of the following values:
ACTIVE: The zonal - * shift is started and active.
EXPIRED: The zonal shift - * has expired (the expiry time was exceeded).
CANCELED: - * The zonal shift was canceled.
EXPIRED: The zonal + * shift has expired (the expiry time was exceeded).
+ * CANCELED: The zonal shift was canceled.
Add, change, or remove blocked dates for a practice run in zonal + * autoshift.
Optionally, you can block practice runs for specific calendar + * dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + * specify dates, that dates and times for practice runs are in UTC. Separate + * multiple blocked dates with spaces.
For example, if you have an
+ * application update scheduled to launch on May 1, 2024, and you don't want
+ * practice runs to shift traffic away at that time, you could set a blocked date
+ * for 2024-05-01
.
Add, change, or remove blocked dates for a practice run in zonal + * autoshift.
Optionally, you can block practice runs for specific calendar + * dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + * specify dates, that dates and times for practice runs are in UTC. Separate + * multiple blocked dates with spaces.
For example, if you have an
+ * application update scheduled to launch on May 1, 2024, and you don't want
+ * practice runs to shift traffic away at that time, you could set a blocked date
+ * for 2024-05-01
.
Add, change, or remove blocked dates for a practice run in zonal + * autoshift.
Optionally, you can block practice runs for specific calendar + * dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + * specify dates, that dates and times for practice runs are in UTC. Separate + * multiple blocked dates with spaces.
For example, if you have an
+ * application update scheduled to launch on May 1, 2024, and you don't want
+ * practice runs to shift traffic away at that time, you could set a blocked date
+ * for 2024-05-01
.
Add, change, or remove blocked dates for a practice run in zonal + * autoshift.
Optionally, you can block practice runs for specific calendar + * dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + * specify dates, that dates and times for practice runs are in UTC. Separate + * multiple blocked dates with spaces.
For example, if you have an
+ * application update scheduled to launch on May 1, 2024, and you don't want
+ * practice runs to shift traffic away at that time, you could set a blocked date
+ * for 2024-05-01
.
Add, change, or remove blocked dates for a practice run in zonal + * autoshift.
Optionally, you can block practice runs for specific calendar + * dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + * specify dates, that dates and times for practice runs are in UTC. Separate + * multiple blocked dates with spaces.
For example, if you have an
+ * application update scheduled to launch on May 1, 2024, and you don't want
+ * practice runs to shift traffic away at that time, you could set a blocked date
+ * for 2024-05-01
.
Add, change, or remove blocked dates for a practice run in zonal + * autoshift.
Optionally, you can block practice runs for specific calendar + * dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + * specify dates, that dates and times for practice runs are in UTC. Separate + * multiple blocked dates with spaces.
For example, if you have an
+ * application update scheduled to launch on May 1, 2024, and you don't want
+ * practice runs to shift traffic away at that time, you could set a blocked date
+ * for 2024-05-01
.
Add, change, or remove blocked dates for a practice run in zonal + * autoshift.
Optionally, you can block practice runs for specific calendar + * dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + * specify dates, that dates and times for practice runs are in UTC. Separate + * multiple blocked dates with spaces.
For example, if you have an
+ * application update scheduled to launch on May 1, 2024, and you don't want
+ * practice runs to shift traffic away at that time, you could set a blocked date
+ * for 2024-05-01
.
Add, change, or remove blocked dates for a practice run in zonal + * autoshift.
Optionally, you can block practice runs for specific calendar + * dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + * specify dates, that dates and times for practice runs are in UTC. Separate + * multiple blocked dates with spaces.
For example, if you have an
+ * application update scheduled to launch on May 1, 2024, and you don't want
+ * practice runs to shift traffic away at that time, you could set a blocked date
+ * for 2024-05-01
.
Add, change, or remove blocked dates for a practice run in zonal + * autoshift.
Optionally, you can block practice runs for specific calendar + * dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + * specify dates, that dates and times for practice runs are in UTC. Separate + * multiple blocked dates with spaces.
For example, if you have an
+ * application update scheduled to launch on May 1, 2024, and you don't want
+ * practice runs to shift traffic away at that time, you could set a blocked date
+ * for 2024-05-01
.
Add, change, or remove windows of days and times for when you can, + * optionally, block Route 53 ARC from starting a practice run for a resource.
+ *The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when + * you specify dates, that dates and times for practice runs are in UTC. Also, be + * aware of potential time adjustments that might be required for daylight saving + * time differences. Separate multiple blocked windows with spaces.
For
+ * example, say you run business report summaries three days a week. For this
+ * scenario, you might set the following recurring days and times as blocked
+ * windows, for example: MON-20:30-21:30 WED-20:30-21:30
+ * FRI-20:30-21:30
.
Add, change, or remove windows of days and times for when you can, + * optionally, block Route 53 ARC from starting a practice run for a resource.
+ *The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when + * you specify dates, that dates and times for practice runs are in UTC. Also, be + * aware of potential time adjustments that might be required for daylight saving + * time differences. Separate multiple blocked windows with spaces.
For
+ * example, say you run business report summaries three days a week. For this
+ * scenario, you might set the following recurring days and times as blocked
+ * windows, for example: MON-20:30-21:30 WED-20:30-21:30
+ * FRI-20:30-21:30
.
Add, change, or remove windows of days and times for when you can, + * optionally, block Route 53 ARC from starting a practice run for a resource.
+ *The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when + * you specify dates, that dates and times for practice runs are in UTC. Also, be + * aware of potential time adjustments that might be required for daylight saving + * time differences. Separate multiple blocked windows with spaces.
For
+ * example, say you run business report summaries three days a week. For this
+ * scenario, you might set the following recurring days and times as blocked
+ * windows, for example: MON-20:30-21:30 WED-20:30-21:30
+ * FRI-20:30-21:30
.
Add, change, or remove windows of days and times for when you can, + * optionally, block Route 53 ARC from starting a practice run for a resource.
+ *The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when + * you specify dates, that dates and times for practice runs are in UTC. Also, be + * aware of potential time adjustments that might be required for daylight saving + * time differences. Separate multiple blocked windows with spaces.
For
+ * example, say you run business report summaries three days a week. For this
+ * scenario, you might set the following recurring days and times as blocked
+ * windows, for example: MON-20:30-21:30 WED-20:30-21:30
+ * FRI-20:30-21:30
.
Add, change, or remove windows of days and times for when you can, + * optionally, block Route 53 ARC from starting a practice run for a resource.
+ *The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when + * you specify dates, that dates and times for practice runs are in UTC. Also, be + * aware of potential time adjustments that might be required for daylight saving + * time differences. Separate multiple blocked windows with spaces.
For
+ * example, say you run business report summaries three days a week. For this
+ * scenario, you might set the following recurring days and times as blocked
+ * windows, for example: MON-20:30-21:30 WED-20:30-21:30
+ * FRI-20:30-21:30
.
Add, change, or remove windows of days and times for when you can, + * optionally, block Route 53 ARC from starting a practice run for a resource.
+ *The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when + * you specify dates, that dates and times for practice runs are in UTC. Also, be + * aware of potential time adjustments that might be required for daylight saving + * time differences. Separate multiple blocked windows with spaces.
For
+ * example, say you run business report summaries three days a week. For this
+ * scenario, you might set the following recurring days and times as blocked
+ * windows, for example: MON-20:30-21:30 WED-20:30-21:30
+ * FRI-20:30-21:30
.
Add, change, or remove windows of days and times for when you can, + * optionally, block Route 53 ARC from starting a practice run for a resource.
+ *The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when + * you specify dates, that dates and times for practice runs are in UTC. Also, be + * aware of potential time adjustments that might be required for daylight saving + * time differences. Separate multiple blocked windows with spaces.
For
+ * example, say you run business report summaries three days a week. For this
+ * scenario, you might set the following recurring days and times as blocked
+ * windows, for example: MON-20:30-21:30 WED-20:30-21:30
+ * FRI-20:30-21:30
.
Add, change, or remove windows of days and times for when you can, + * optionally, block Route 53 ARC from starting a practice run for a resource.
+ *The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when + * you specify dates, that dates and times for practice runs are in UTC. Also, be + * aware of potential time adjustments that might be required for daylight saving + * time differences. Separate multiple blocked windows with spaces.
For
+ * example, say you run business report summaries three days a week. For this
+ * scenario, you might set the following recurring days and times as blocked
+ * windows, for example: MON-20:30-21:30 WED-20:30-21:30
+ * FRI-20:30-21:30
.
Add, change, or remove windows of days and times for when you can, + * optionally, block Route 53 ARC from starting a practice run for a resource.
+ *The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when + * you specify dates, that dates and times for practice runs are in UTC. Also, be + * aware of potential time adjustments that might be required for daylight saving + * time differences. Separate multiple blocked windows with spaces.
For
+ * example, say you run business report summaries three days a week. For this
+ * scenario, you might set the following recurring days and times as blocked
+ * windows, for example: MON-20:30-21:30 WED-20:30-21:30
+ * FRI-20:30-21:30
.
Add, change, or remove the Amazon CloudWatch alarm that you optionally + * specify as the blocking alarm for practice runs.
+ */ + inline const Aws::VectorAdd, change, or remove the Amazon CloudWatch alarm that you optionally + * specify as the blocking alarm for practice runs.
+ */ + inline bool BlockingAlarmsHasBeenSet() const { return m_blockingAlarmsHasBeenSet; } + + /** + *Add, change, or remove the Amazon CloudWatch alarm that you optionally + * specify as the blocking alarm for practice runs.
+ */ + inline void SetBlockingAlarms(const Aws::VectorAdd, change, or remove the Amazon CloudWatch alarm that you optionally + * specify as the blocking alarm for practice runs.
+ */ + inline void SetBlockingAlarms(Aws::VectorAdd, change, or remove the Amazon CloudWatch alarm that you optionally + * specify as the blocking alarm for practice runs.
+ */ + inline UpdatePracticeRunConfigurationRequest& WithBlockingAlarms(const Aws::VectorAdd, change, or remove the Amazon CloudWatch alarm that you optionally + * specify as the blocking alarm for practice runs.
+ */ + inline UpdatePracticeRunConfigurationRequest& WithBlockingAlarms(Aws::VectorAdd, change, or remove the Amazon CloudWatch alarm that you optionally + * specify as the blocking alarm for practice runs.
+ */ + inline UpdatePracticeRunConfigurationRequest& AddBlockingAlarms(const ControlCondition& value) { m_blockingAlarmsHasBeenSet = true; m_blockingAlarms.push_back(value); return *this; } + + /** + *Add, change, or remove the Amazon CloudWatch alarm that you optionally + * specify as the blocking alarm for practice runs.
+ */ + inline UpdatePracticeRunConfigurationRequest& AddBlockingAlarms(ControlCondition&& value) { m_blockingAlarmsHasBeenSet = true; m_blockingAlarms.push_back(std::move(value)); return *this; } + + + /** + *Specify a new the Amazon CloudWatch alarm as the outcome alarm for practice + * runs.
+ */ + inline const Aws::VectorSpecify a new the Amazon CloudWatch alarm as the outcome alarm for practice + * runs.
+ */ + inline bool OutcomeAlarmsHasBeenSet() const { return m_outcomeAlarmsHasBeenSet; } + + /** + *Specify a new the Amazon CloudWatch alarm as the outcome alarm for practice + * runs.
+ */ + inline void SetOutcomeAlarms(const Aws::VectorSpecify a new the Amazon CloudWatch alarm as the outcome alarm for practice + * runs.
+ */ + inline void SetOutcomeAlarms(Aws::VectorSpecify a new the Amazon CloudWatch alarm as the outcome alarm for practice + * runs.
+ */ + inline UpdatePracticeRunConfigurationRequest& WithOutcomeAlarms(const Aws::VectorSpecify a new the Amazon CloudWatch alarm as the outcome alarm for practice + * runs.
+ */ + inline UpdatePracticeRunConfigurationRequest& WithOutcomeAlarms(Aws::VectorSpecify a new the Amazon CloudWatch alarm as the outcome alarm for practice + * runs.
+ */ + inline UpdatePracticeRunConfigurationRequest& AddOutcomeAlarms(const ControlCondition& value) { m_outcomeAlarmsHasBeenSet = true; m_outcomeAlarms.push_back(value); return *this; } + + /** + *Specify a new the Amazon CloudWatch alarm as the outcome alarm for practice + * runs.
+ */ + inline UpdatePracticeRunConfigurationRequest& AddOutcomeAlarms(ControlCondition&& value) { m_outcomeAlarmsHasBeenSet = true; m_outcomeAlarms.push_back(std::move(value)); return *this; } + + + /** + *The identifier for the resource that you want to update the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } + + /** + *The identifier for the resource that you want to update the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } + + /** + *The identifier for the resource that you want to update the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } + + /** + *The identifier for the resource that you want to update the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } + + /** + *The identifier for the resource that you want to update the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } + + /** + *The identifier for the resource that you want to update the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline UpdatePracticeRunConfigurationRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} + + /** + *The identifier for the resource that you want to update the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline UpdatePracticeRunConfigurationRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} + + /** + *The identifier for the resource that you want to update the practice run + * configuration for. The identifier is the Amazon Resource Name (ARN) for the + * resource.
+ */ + inline UpdatePracticeRunConfigurationRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} + + private: + + Aws::Vector