Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Creates a group. You may optionally provide the initial version of the group or use 'CreateGroupVersion'
at a later time.
- createGroup :: CreateGroup
- data CreateGroup
- cgAmznClientToken :: Lens' CreateGroup (Maybe Text)
- cgInitialVersion :: Lens' CreateGroup (Maybe GroupVersion)
- cgName :: Lens' CreateGroup (Maybe Text)
- createGroupResponse :: Int -> CreateGroupResponse
- data CreateGroupResponse
- cgrsLatestVersionARN :: Lens' CreateGroupResponse (Maybe Text)
- cgrsARN :: Lens' CreateGroupResponse (Maybe Text)
- cgrsName :: Lens' CreateGroupResponse (Maybe Text)
- cgrsCreationTimestamp :: Lens' CreateGroupResponse (Maybe Text)
- cgrsId :: Lens' CreateGroupResponse (Maybe Text)
- cgrsLatestVersion :: Lens' CreateGroupResponse (Maybe Text)
- cgrsLastUpdatedTimestamp :: Lens' CreateGroupResponse (Maybe Text)
- cgrsResponseStatus :: Lens' CreateGroupResponse Int
Creating a Request
createGroup :: CreateGroup Source #
Creates a value of CreateGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cgAmznClientToken
- The client token used to request idempotent operations.cgInitialVersion
- Information on the initial versioncgName
- name of the group
data CreateGroup Source #
See: createGroup
smart constructor.
Request Lenses
cgAmznClientToken :: Lens' CreateGroup (Maybe Text) Source #
The client token used to request idempotent operations.
cgInitialVersion :: Lens' CreateGroup (Maybe GroupVersion) Source #
Information on the initial version
Destructuring the Response
Creates a value of CreateGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cgrsLatestVersionARN
- Latest version arn of the definition.cgrsARN
- Arn of the definition.cgrsName
- Name of the definition.cgrsCreationTimestamp
- Timestamp of when the definition was created.cgrsId
- Id of the definition.cgrsLatestVersion
- Last version of the definition.cgrsLastUpdatedTimestamp
- Last updated timestamp of the definition.cgrsResponseStatus
- -- | The response status code.
data CreateGroupResponse Source #
See: createGroupResponse
smart constructor.
Response Lenses
cgrsLatestVersionARN :: Lens' CreateGroupResponse (Maybe Text) Source #
Latest version arn of the definition.
cgrsCreationTimestamp :: Lens' CreateGroupResponse (Maybe Text) Source #
Timestamp of when the definition was created.
cgrsLatestVersion :: Lens' CreateGroupResponse (Maybe Text) Source #
Last version of the definition.
cgrsLastUpdatedTimestamp :: Lens' CreateGroupResponse (Maybe Text) Source #
Last updated timestamp of the definition.
cgrsResponseStatus :: Lens' CreateGroupResponse Int Source #
- - | The response status code.