Copyright | (c) 2013-2018 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 provide the initial version of the group or use 'CreateGroupVersion'
at a later time.
Synopsis
- 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
- A client token used to correlate requests and responses.cgInitialVersion
- Information about the initial version of the group.cgName
- The name of the group.
data CreateGroup Source #
See: createGroup
smart constructor.
Instances
Request Lenses
cgAmznClientToken :: Lens' CreateGroup (Maybe Text) Source #
A client token used to correlate requests and responses.
cgInitialVersion :: Lens' CreateGroup (Maybe GroupVersion) Source #
Information about the initial version of the group.
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
- The ARN of the latest version of the definition.cgrsARN
- The ARN of the definition.cgrsName
- The name of the definition.cgrsCreationTimestamp
- The time, in milliseconds since the epoch, when the definition was created.cgrsId
- The ID of the definition.cgrsLatestVersion
- The latest version of the definition.cgrsLastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last updated.cgrsResponseStatus
- -- | The response status code.
data CreateGroupResponse Source #
See: createGroupResponse
smart constructor.
Instances
Response Lenses
cgrsLatestVersionARN :: Lens' CreateGroupResponse (Maybe Text) Source #
The ARN of the latest version of the definition.
cgrsCreationTimestamp :: Lens' CreateGroupResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
cgrsLatestVersion :: Lens' CreateGroupResponse (Maybe Text) Source #
The latest version of the definition.
cgrsLastUpdatedTimestamp :: Lens' CreateGroupResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
cgrsResponseStatus :: Lens' CreateGroupResponse Int Source #
- - | The response status code.