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 |
Deletes the warm pool for the specified Auto Scaling group.
For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
Synopsis
- data DeleteWarmPool = DeleteWarmPool' {}
- newDeleteWarmPool :: Text -> DeleteWarmPool
- deleteWarmPool_forceDelete :: Lens' DeleteWarmPool (Maybe Bool)
- deleteWarmPool_autoScalingGroupName :: Lens' DeleteWarmPool Text
- data DeleteWarmPoolResponse = DeleteWarmPoolResponse' {
- httpStatus :: Int
- newDeleteWarmPoolResponse :: Int -> DeleteWarmPoolResponse
- deleteWarmPoolResponse_httpStatus :: Lens' DeleteWarmPoolResponse Int
Creating a Request
data DeleteWarmPool Source #
See: newDeleteWarmPool
smart constructor.
DeleteWarmPool' | |
|
Instances
Create a value of DeleteWarmPool
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:forceDelete:DeleteWarmPool'
, deleteWarmPool_forceDelete
- Specifies that the warm pool is to be deleted along with all of its
associated instances, without waiting for all instances to be
terminated. This parameter also deletes any outstanding lifecycle
actions associated with the warm pool instances.
$sel:autoScalingGroupName:DeleteWarmPool'
, deleteWarmPool_autoScalingGroupName
- The name of the Auto Scaling group.
Request Lenses
deleteWarmPool_forceDelete :: Lens' DeleteWarmPool (Maybe Bool) Source #
Specifies that the warm pool is to be deleted along with all of its associated instances, without waiting for all instances to be terminated. This parameter also deletes any outstanding lifecycle actions associated with the warm pool instances.
deleteWarmPool_autoScalingGroupName :: Lens' DeleteWarmPool Text Source #
The name of the Auto Scaling group.
Destructuring the Response
data DeleteWarmPoolResponse Source #
See: newDeleteWarmPoolResponse
smart constructor.
DeleteWarmPoolResponse' | |
|
Instances
newDeleteWarmPoolResponse Source #
Create a value of DeleteWarmPoolResponse
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:httpStatus:DeleteWarmPoolResponse'
, deleteWarmPoolResponse_httpStatus
- The response's http status code.
Response Lenses
deleteWarmPoolResponse_httpStatus :: Lens' DeleteWarmPoolResponse Int Source #
The response's http status code.