| 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.WorkSpaces.AssociateIpGroups
Description
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.
Constructors
| AssociateIpGroups' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> AssociateIpGroups |
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:
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.
Constructors
| AssociateIpGroupsResponse' | |
Fields
| |
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.