| 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.Lightsail.DisableAddOn
Description
Disables an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.
Synopsis
- data DisableAddOn = DisableAddOn' {}
- newDisableAddOn :: AddOnType -> Text -> DisableAddOn
- disableAddOn_addOnType :: Lens' DisableAddOn AddOnType
- disableAddOn_resourceName :: Lens' DisableAddOn Text
- data DisableAddOnResponse = DisableAddOnResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newDisableAddOnResponse :: Int -> DisableAddOnResponse
- disableAddOnResponse_operations :: Lens' DisableAddOnResponse (Maybe [Operation])
- disableAddOnResponse_httpStatus :: Lens' DisableAddOnResponse Int
Creating a Request
data DisableAddOn Source #
See: newDisableAddOn smart constructor.
Constructors
| DisableAddOn' | |
Fields
| |
Instances
Arguments
| :: AddOnType | |
| -> Text | |
| -> DisableAddOn |
Create a value of DisableAddOn 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:
DisableAddOn, disableAddOn_addOnType - The add-on type to disable.
DisableAddOn, disableAddOn_resourceName - The name of the source resource for which to disable the add-on.
Request Lenses
disableAddOn_addOnType :: Lens' DisableAddOn AddOnType Source #
The add-on type to disable.
disableAddOn_resourceName :: Lens' DisableAddOn Text Source #
The name of the source resource for which to disable the add-on.
Destructuring the Response
data DisableAddOnResponse Source #
See: newDisableAddOnResponse smart constructor.
Constructors
| DisableAddOnResponse' | |
Fields
| |
Instances
newDisableAddOnResponse Source #
Arguments
| :: Int | |
| -> DisableAddOnResponse |
Create a value of DisableAddOnResponse 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:operations:DisableAddOnResponse', disableAddOnResponse_operations - An array of objects that describe the result of the action, such as the
status of the request, the timestamp of the request, and the resources
affected by the request.
$sel:httpStatus:DisableAddOnResponse', disableAddOnResponse_httpStatus - The response's http status code.
Response Lenses
disableAddOnResponse_operations :: Lens' DisableAddOnResponse (Maybe [Operation]) Source #
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
disableAddOnResponse_httpStatus :: Lens' DisableAddOnResponse Int Source #
The response's http status code.