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 |
Amazonka.GreengrassV2.DeleteComponent
Description
Deletes a version of a component from IoT Greengrass.
This operation deletes the component's recipe and artifacts. As a result, deployments that refer to this component version will fail. If you have deployments that use this component version, you can remove the component from the deployment or update the deployment to use a valid version.
Creating a Request
data DeleteComponent Source #
See: newDeleteComponent
smart constructor.
Constructors
DeleteComponent' | |
Instances
Arguments
:: Text | |
-> DeleteComponent |
Create a value of DeleteComponent
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:arn:DeleteComponent'
, deleteComponent_arn
- The
ARN
of the component version.
Request Lenses
deleteComponent_arn :: Lens' DeleteComponent Text Source #
The ARN of the component version.
Destructuring the Response
data DeleteComponentResponse Source #
See: newDeleteComponentResponse
smart constructor.
Constructors
DeleteComponentResponse' | |
Instances
newDeleteComponentResponse :: DeleteComponentResponse Source #
Create a value of DeleteComponentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.