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 |
Deactivates a public extension that was previously activated in this account and region.
Once deactivated, an extension cannot be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions are not automatically updated if a new version of the extension is released.
Synopsis
- data DeactivateType = DeactivateType' {}
- newDeactivateType :: DeactivateType
- deactivateType_typeName :: Lens' DeactivateType (Maybe Text)
- deactivateType_arn :: Lens' DeactivateType (Maybe Text)
- deactivateType_type :: Lens' DeactivateType (Maybe ThirdPartyType)
- data DeactivateTypeResponse = DeactivateTypeResponse' {
- httpStatus :: Int
- newDeactivateTypeResponse :: Int -> DeactivateTypeResponse
- deactivateTypeResponse_httpStatus :: Lens' DeactivateTypeResponse Int
Creating a Request
data DeactivateType Source #
See: newDeactivateType
smart constructor.
DeactivateType' | |
|
Instances
newDeactivateType :: DeactivateType Source #
Create a value of DeactivateType
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:typeName:DeactivateType'
, deactivateType_typeName
- The type name of the extension, in this account and region. If you
specified a type name alias when enabling the extension, use the type
name alias.
Conditional: You must specify either Arn
, or TypeName
and Type
.
$sel:arn:DeactivateType'
, deactivateType_arn
- The Amazon Resource Name (ARN) for the extension, in this account and
region.
Conditional: You must specify either Arn
, or TypeName
and Type
.
$sel:type':DeactivateType'
, deactivateType_type
- The extension type.
Conditional: You must specify either Arn
, or TypeName
and Type
.
Request Lenses
deactivateType_typeName :: Lens' DeactivateType (Maybe Text) Source #
The type name of the extension, in this account and region. If you specified a type name alias when enabling the extension, use the type name alias.
Conditional: You must specify either Arn
, or TypeName
and Type
.
deactivateType_arn :: Lens' DeactivateType (Maybe Text) Source #
The Amazon Resource Name (ARN) for the extension, in this account and region.
Conditional: You must specify either Arn
, or TypeName
and Type
.
deactivateType_type :: Lens' DeactivateType (Maybe ThirdPartyType) Source #
The extension type.
Conditional: You must specify either Arn
, or TypeName
and Type
.
Destructuring the Response
data DeactivateTypeResponse Source #
See: newDeactivateTypeResponse
smart constructor.
DeactivateTypeResponse' | |
|
Instances
newDeactivateTypeResponse Source #
Create a value of DeactivateTypeResponse
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:DeactivateTypeResponse'
, deactivateTypeResponse_httpStatus
- The response's http status code.
Response Lenses
deactivateTypeResponse_httpStatus :: Lens' DeactivateTypeResponse Int Source #
The response's http status code.