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 |
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.
DisableAddOn' | |
|
Instances
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:
$sel:addOnType:DisableAddOn'
, disableAddOn_addOnType
- The add-on type to disable.
$sel:resourceName: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.
DisableAddOnResponse' | |
|
Instances
newDisableAddOnResponse Source #
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.