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 |
Cancels an instance refresh operation in progress. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.
This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes.
Synopsis
- data CancelInstanceRefresh = CancelInstanceRefresh' {}
- newCancelInstanceRefresh :: Text -> CancelInstanceRefresh
- cancelInstanceRefresh_autoScalingGroupName :: Lens' CancelInstanceRefresh Text
- data CancelInstanceRefreshResponse = CancelInstanceRefreshResponse' {}
- newCancelInstanceRefreshResponse :: Int -> CancelInstanceRefreshResponse
- cancelInstanceRefreshResponse_instanceRefreshId :: Lens' CancelInstanceRefreshResponse (Maybe Text)
- cancelInstanceRefreshResponse_httpStatus :: Lens' CancelInstanceRefreshResponse Int
Creating a Request
data CancelInstanceRefresh Source #
See: newCancelInstanceRefresh
smart constructor.
CancelInstanceRefresh' | |
|
Instances
newCancelInstanceRefresh Source #
Create a value of CancelInstanceRefresh
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:autoScalingGroupName:CancelInstanceRefresh'
, cancelInstanceRefresh_autoScalingGroupName
- The name of the Auto Scaling group.
Request Lenses
cancelInstanceRefresh_autoScalingGroupName :: Lens' CancelInstanceRefresh Text Source #
The name of the Auto Scaling group.
Destructuring the Response
data CancelInstanceRefreshResponse Source #
See: newCancelInstanceRefreshResponse
smart constructor.
CancelInstanceRefreshResponse' | |
|
Instances
newCancelInstanceRefreshResponse Source #
Create a value of CancelInstanceRefreshResponse
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:instanceRefreshId:CancelInstanceRefreshResponse'
, cancelInstanceRefreshResponse_instanceRefreshId
- The instance refresh ID.
$sel:httpStatus:CancelInstanceRefreshResponse'
, cancelInstanceRefreshResponse_httpStatus
- The response's http status code.
Response Lenses
cancelInstanceRefreshResponse_instanceRefreshId :: Lens' CancelInstanceRefreshResponse (Maybe Text) Source #
The instance refresh ID.
cancelInstanceRefreshResponse_httpStatus :: Lens' CancelInstanceRefreshResponse Int Source #
The response's http status code.