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 |
Changes the opt-in status of the Local Zone and Wavelength Zone group for your account.
Use
DescribeAvailabilityZones
to view the value for GroupName
.
Synopsis
- data ModifyAvailabilityZoneGroup = ModifyAvailabilityZoneGroup' {}
- newModifyAvailabilityZoneGroup :: Text -> ModifyAvailabilityZoneOptInStatus -> ModifyAvailabilityZoneGroup
- modifyAvailabilityZoneGroup_dryRun :: Lens' ModifyAvailabilityZoneGroup (Maybe Bool)
- modifyAvailabilityZoneGroup_groupName :: Lens' ModifyAvailabilityZoneGroup Text
- modifyAvailabilityZoneGroup_optInStatus :: Lens' ModifyAvailabilityZoneGroup ModifyAvailabilityZoneOptInStatus
- data ModifyAvailabilityZoneGroupResponse = ModifyAvailabilityZoneGroupResponse' {
- return' :: Maybe Bool
- httpStatus :: Int
- newModifyAvailabilityZoneGroupResponse :: Int -> ModifyAvailabilityZoneGroupResponse
- modifyAvailabilityZoneGroupResponse_return :: Lens' ModifyAvailabilityZoneGroupResponse (Maybe Bool)
- modifyAvailabilityZoneGroupResponse_httpStatus :: Lens' ModifyAvailabilityZoneGroupResponse Int
Creating a Request
data ModifyAvailabilityZoneGroup Source #
See: newModifyAvailabilityZoneGroup
smart constructor.
ModifyAvailabilityZoneGroup' | |
|
Instances
newModifyAvailabilityZoneGroup Source #
Create a value of ModifyAvailabilityZoneGroup
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:dryRun:ModifyAvailabilityZoneGroup'
, modifyAvailabilityZoneGroup_dryRun
- Checks 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
.
ModifyAvailabilityZoneGroup
, modifyAvailabilityZoneGroup_groupName
- The name of the Availability Zone group, Local Zone group, or Wavelength
Zone group.
ModifyAvailabilityZoneGroup
, modifyAvailabilityZoneGroup_optInStatus
- Indicates whether you are opted in to the Local Zone group or Wavelength
Zone group. The only valid value is opted-in
. You must contact
Amazon Web Services Support
to opt out of a Local Zone or Wavelength Zone group.
Request Lenses
modifyAvailabilityZoneGroup_dryRun :: Lens' ModifyAvailabilityZoneGroup (Maybe Bool) Source #
Checks 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
.
modifyAvailabilityZoneGroup_groupName :: Lens' ModifyAvailabilityZoneGroup Text Source #
The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
modifyAvailabilityZoneGroup_optInStatus :: Lens' ModifyAvailabilityZoneGroup ModifyAvailabilityZoneOptInStatus Source #
Indicates whether you are opted in to the Local Zone group or Wavelength
Zone group. The only valid value is opted-in
. You must contact
Amazon Web Services Support
to opt out of a Local Zone or Wavelength Zone group.
Destructuring the Response
data ModifyAvailabilityZoneGroupResponse Source #
See: newModifyAvailabilityZoneGroupResponse
smart constructor.
ModifyAvailabilityZoneGroupResponse' | |
|
Instances
Generic ModifyAvailabilityZoneGroupResponse Source # | |
Read ModifyAvailabilityZoneGroupResponse Source # | |
Show ModifyAvailabilityZoneGroupResponse Source # | |
NFData ModifyAvailabilityZoneGroupResponse Source # | |
Defined in Amazonka.EC2.ModifyAvailabilityZoneGroup rnf :: ModifyAvailabilityZoneGroupResponse -> () # | |
Eq ModifyAvailabilityZoneGroupResponse Source # | |
type Rep ModifyAvailabilityZoneGroupResponse Source # | |
Defined in Amazonka.EC2.ModifyAvailabilityZoneGroup type Rep ModifyAvailabilityZoneGroupResponse = D1 ('MetaData "ModifyAvailabilityZoneGroupResponse" "Amazonka.EC2.ModifyAvailabilityZoneGroup" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyAvailabilityZoneGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "return'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newModifyAvailabilityZoneGroupResponse Source #
Create a value of ModifyAvailabilityZoneGroupResponse
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:return':ModifyAvailabilityZoneGroupResponse'
, modifyAvailabilityZoneGroupResponse_return
- Is true
if the request succeeds, and an error otherwise.
$sel:httpStatus:ModifyAvailabilityZoneGroupResponse'
, modifyAvailabilityZoneGroupResponse_httpStatus
- The response's http status code.
Response Lenses
modifyAvailabilityZoneGroupResponse_return :: Lens' ModifyAvailabilityZoneGroupResponse (Maybe Bool) Source #
Is true
if the request succeeds, and an error otherwise.
modifyAvailabilityZoneGroupResponse_httpStatus :: Lens' ModifyAvailabilityZoneGroupResponse Int Source #
The response's http status code.