| 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.IdentityStore.CreateGroup
Description
Creates a group within the specified identity store.
Synopsis
- data CreateGroup = CreateGroup' {
- description :: Maybe (Sensitive Text)
- displayName :: Maybe (Sensitive Text)
- identityStoreId :: Text
- newCreateGroup :: Text -> CreateGroup
- createGroup_description :: Lens' CreateGroup (Maybe Text)
- createGroup_displayName :: Lens' CreateGroup (Maybe Text)
- createGroup_identityStoreId :: Lens' CreateGroup Text
- data CreateGroupResponse = CreateGroupResponse' {
- httpStatus :: Int
- groupId :: Text
- identityStoreId :: Text
- newCreateGroupResponse :: Int -> Text -> Text -> CreateGroupResponse
- createGroupResponse_httpStatus :: Lens' CreateGroupResponse Int
- createGroupResponse_groupId :: Lens' CreateGroupResponse Text
- createGroupResponse_identityStoreId :: Lens' CreateGroupResponse Text
Creating a Request
data CreateGroup Source #
See: newCreateGroup smart constructor.
Constructors
| CreateGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CreateGroup |
Create a value of CreateGroup 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:
CreateGroup, createGroup_description - A string containing the description of the group.
CreateGroup, createGroup_displayName - A string containing the name of the group. This value is commonly
displayed when the group is referenced.
CreateGroup, createGroup_identityStoreId - The globally unique identifier for the identity store.
Request Lenses
createGroup_description :: Lens' CreateGroup (Maybe Text) Source #
A string containing the description of the group.
createGroup_displayName :: Lens' CreateGroup (Maybe Text) Source #
A string containing the name of the group. This value is commonly displayed when the group is referenced.
createGroup_identityStoreId :: Lens' CreateGroup Text Source #
The globally unique identifier for the identity store.
Destructuring the Response
data CreateGroupResponse Source #
See: newCreateGroupResponse smart constructor.
Constructors
| CreateGroupResponse' | |
Fields
| |
Instances
newCreateGroupResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> CreateGroupResponse |
Create a value of CreateGroupResponse 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:CreateGroupResponse', createGroupResponse_httpStatus - The response's http status code.
CreateGroupResponse, createGroupResponse_groupId - The identifier of the newly created group in the identity store.
CreateGroup, createGroupResponse_identityStoreId - The globally unique identifier for the identity store.
Response Lenses
createGroupResponse_httpStatus :: Lens' CreateGroupResponse Int Source #
The response's http status code.
createGroupResponse_groupId :: Lens' CreateGroupResponse Text Source #
The identifier of the newly created group in the identity store.
createGroupResponse_identityStoreId :: Lens' CreateGroupResponse Text Source #
The globally unique identifier for the identity store.