Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Delete an accelerator. Before you can delete an accelerator, you must
disable it and remove all dependent resources (listeners and endpoint
groups). To disable the accelerator, update the accelerator to set
Enabled
to false.
When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges.
The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Authentication and Access Control in the AWS Global Accelerator Developer Guide.
Creating a Request
data DeleteAccelerator Source #
See: newDeleteAccelerator
smart constructor.
DeleteAccelerator' | |
|
Instances
Create a value of DeleteAccelerator
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:acceleratorArn:DeleteAccelerator'
, deleteAccelerator_acceleratorArn
- The Amazon Resource Name (ARN) of an accelerator.
Request Lenses
deleteAccelerator_acceleratorArn :: Lens' DeleteAccelerator Text Source #
The Amazon Resource Name (ARN) of an accelerator.
Destructuring the Response
data DeleteAcceleratorResponse Source #
See: newDeleteAcceleratorResponse
smart constructor.
Instances
newDeleteAcceleratorResponse :: DeleteAcceleratorResponse Source #
Create a value of DeleteAcceleratorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.