| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Proton.CancelComponentDeployment
Description
Attempts to cancel a component deployment (for a component that is in
the IN_PROGRESS deployment status).
For more information about components, see Proton components in the Proton User Guide.
Synopsis
- data CancelComponentDeployment = CancelComponentDeployment' {}
- newCancelComponentDeployment :: Text -> CancelComponentDeployment
- cancelComponentDeployment_componentName :: Lens' CancelComponentDeployment Text
- data CancelComponentDeploymentResponse = CancelComponentDeploymentResponse' {
- httpStatus :: Int
- component :: Component
- newCancelComponentDeploymentResponse :: Int -> Component -> CancelComponentDeploymentResponse
- cancelComponentDeploymentResponse_httpStatus :: Lens' CancelComponentDeploymentResponse Int
- cancelComponentDeploymentResponse_component :: Lens' CancelComponentDeploymentResponse Component
Creating a Request
data CancelComponentDeployment Source #
See: newCancelComponentDeployment smart constructor.
Constructors
| CancelComponentDeployment' | |
Fields
| |
Instances
newCancelComponentDeployment Source #
Create a value of CancelComponentDeployment 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:componentName:CancelComponentDeployment', cancelComponentDeployment_componentName - The name of the component with the deployment to cancel.
Request Lenses
cancelComponentDeployment_componentName :: Lens' CancelComponentDeployment Text Source #
The name of the component with the deployment to cancel.
Destructuring the Response
data CancelComponentDeploymentResponse Source #
See: newCancelComponentDeploymentResponse smart constructor.
Constructors
| CancelComponentDeploymentResponse' | |
Fields
| |
Instances
newCancelComponentDeploymentResponse Source #
Arguments
| :: Int | |
| -> Component | |
| -> CancelComponentDeploymentResponse |
Create a value of CancelComponentDeploymentResponse 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:CancelComponentDeploymentResponse', cancelComponentDeploymentResponse_httpStatus - The response's http status code.
$sel:component:CancelComponentDeploymentResponse', cancelComponentDeploymentResponse_component - The detailed data of the component with the deployment that is being
canceled.
Response Lenses
cancelComponentDeploymentResponse_httpStatus :: Lens' CancelComponentDeploymentResponse Int Source #
The response's http status code.
cancelComponentDeploymentResponse_component :: Lens' CancelComponentDeploymentResponse Component Source #
The detailed data of the component with the deployment that is being canceled.