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 |
Associates the specified IP access control group with the specified directory.
Synopsis
- data AssociateIpGroups = AssociateIpGroups' {
- directoryId :: Text
- groupIds :: [Text]
- newAssociateIpGroups :: Text -> AssociateIpGroups
- associateIpGroups_directoryId :: Lens' AssociateIpGroups Text
- associateIpGroups_groupIds :: Lens' AssociateIpGroups [Text]
- data AssociateIpGroupsResponse = AssociateIpGroupsResponse' {
- httpStatus :: Int
- newAssociateIpGroupsResponse :: Int -> AssociateIpGroupsResponse
- associateIpGroupsResponse_httpStatus :: Lens' AssociateIpGroupsResponse Int
Creating a Request
data AssociateIpGroups Source #
See: newAssociateIpGroups
smart constructor.
AssociateIpGroups' | |
|
Instances
Create a value of AssociateIpGroups
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:directoryId:AssociateIpGroups'
, associateIpGroups_directoryId
- The identifier of the directory.
$sel:groupIds:AssociateIpGroups'
, associateIpGroups_groupIds
- The identifiers of one or more IP access control groups.
Request Lenses
associateIpGroups_directoryId :: Lens' AssociateIpGroups Text Source #
The identifier of the directory.
associateIpGroups_groupIds :: Lens' AssociateIpGroups [Text] Source #
The identifiers of one or more IP access control groups.
Destructuring the Response
data AssociateIpGroupsResponse Source #
See: newAssociateIpGroupsResponse
smart constructor.
AssociateIpGroupsResponse' | |
|
Instances
newAssociateIpGroupsResponse Source #
Create a value of AssociateIpGroupsResponse
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:AssociateIpGroupsResponse'
, associateIpGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
associateIpGroupsResponse_httpStatus :: Lens' AssociateIpGroupsResponse Int Source #
The response's http status code.