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 |
Deactivates a public extension that was previously activated in this account and region.
Once deactivated, an extension can't 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 aren't automatically updated if a new version of the extension is released.
Synopsis
- data DeactivateType = DeactivateType' {}
- newDeactivateType :: DeactivateType
- deactivateType_arn :: Lens' DeactivateType (Maybe Text)
- deactivateType_type :: Lens' DeactivateType (Maybe ThirdPartyType)
- deactivateType_typeName :: Lens' DeactivateType (Maybe Text)
- 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:
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
.
DeactivateType
, deactivateType_type
- The extension type.
Conditional: You must specify either Arn
, or TypeName
and Type
.
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
.
Request Lenses
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
.
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
.
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.