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 |
Modify an IPAM scope.
Synopsis
- data ModifyIpamScope = ModifyIpamScope' {
- description :: Maybe Text
- dryRun :: Maybe Bool
- ipamScopeId :: Text
- newModifyIpamScope :: Text -> ModifyIpamScope
- modifyIpamScope_description :: Lens' ModifyIpamScope (Maybe Text)
- modifyIpamScope_dryRun :: Lens' ModifyIpamScope (Maybe Bool)
- modifyIpamScope_ipamScopeId :: Lens' ModifyIpamScope Text
- data ModifyIpamScopeResponse = ModifyIpamScopeResponse' {
- ipamScope :: Maybe IpamScope
- httpStatus :: Int
- newModifyIpamScopeResponse :: Int -> ModifyIpamScopeResponse
- modifyIpamScopeResponse_ipamScope :: Lens' ModifyIpamScopeResponse (Maybe IpamScope)
- modifyIpamScopeResponse_httpStatus :: Lens' ModifyIpamScopeResponse Int
Creating a Request
data ModifyIpamScope Source #
See: newModifyIpamScope
smart constructor.
ModifyIpamScope' | |
|
Instances
Create a value of ModifyIpamScope
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:
ModifyIpamScope
, modifyIpamScope_description
- The description of the scope you want to modify.
$sel:dryRun:ModifyIpamScope'
, modifyIpamScope_dryRun
- A check for whether you have the required permissions for the action
without actually making the request and provides an error response. If
you have the required permissions, the error response is
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
ModifyIpamScope
, modifyIpamScope_ipamScopeId
- The ID of the scope you want to modify.
Request Lenses
modifyIpamScope_description :: Lens' ModifyIpamScope (Maybe Text) Source #
The description of the scope you want to modify.
modifyIpamScope_dryRun :: Lens' ModifyIpamScope (Maybe Bool) Source #
A check for whether you have the required permissions for the action
without actually making the request and provides an error response. If
you have the required permissions, the error response is
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
modifyIpamScope_ipamScopeId :: Lens' ModifyIpamScope Text Source #
The ID of the scope you want to modify.
Destructuring the Response
data ModifyIpamScopeResponse Source #
See: newModifyIpamScopeResponse
smart constructor.
ModifyIpamScopeResponse' | |
|
Instances
newModifyIpamScopeResponse Source #
Create a value of ModifyIpamScopeResponse
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:ipamScope:ModifyIpamScopeResponse'
, modifyIpamScopeResponse_ipamScope
- The results of the modification.
$sel:httpStatus:ModifyIpamScopeResponse'
, modifyIpamScopeResponse_httpStatus
- The response's http status code.
Response Lenses
modifyIpamScopeResponse_ipamScope :: Lens' ModifyIpamScopeResponse (Maybe IpamScope) Source #
The results of the modification.
modifyIpamScopeResponse_httpStatus :: Lens' ModifyIpamScopeResponse Int Source #
The response's http status code.