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 |
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.
CancelComponentDeployment' | |
|
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.
CancelComponentDeploymentResponse' | |
|
Instances
Generic CancelComponentDeploymentResponse Source # | |
Show CancelComponentDeploymentResponse Source # | |
NFData CancelComponentDeploymentResponse Source # | |
Defined in Amazonka.Proton.CancelComponentDeployment rnf :: CancelComponentDeploymentResponse -> () # | |
Eq CancelComponentDeploymentResponse Source # | |
type Rep CancelComponentDeploymentResponse Source # | |
Defined in Amazonka.Proton.CancelComponentDeployment type Rep CancelComponentDeploymentResponse = D1 ('MetaData "CancelComponentDeploymentResponse" "Amazonka.Proton.CancelComponentDeployment" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "CancelComponentDeploymentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "component") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Component))) |
newCancelComponentDeploymentResponse Source #
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.