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 skill group with a specified name and description.
- createSkillGroup :: Text -> CreateSkillGroup
- data CreateSkillGroup
- csgClientRequestToken :: Lens' CreateSkillGroup (Maybe Text)
- csgDescription :: Lens' CreateSkillGroup (Maybe Text)
- csgSkillGroupName :: Lens' CreateSkillGroup Text
- createSkillGroupResponse :: Int -> CreateSkillGroupResponse
- data CreateSkillGroupResponse
- csgrsSkillGroupARN :: Lens' CreateSkillGroupResponse (Maybe Text)
- csgrsResponseStatus :: Lens' CreateSkillGroupResponse Int
Creating a Request
Creates a value of CreateSkillGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csgClientRequestToken
- A unique, user-specified identifier for this request that ensures idempotency.csgDescription
- The description for the skill group.csgSkillGroupName
- The name for the skill group.
data CreateSkillGroup Source #
See: createSkillGroup
smart constructor.
Request Lenses
csgClientRequestToken :: Lens' CreateSkillGroup (Maybe Text) Source #
A unique, user-specified identifier for this request that ensures idempotency.
csgDescription :: Lens' CreateSkillGroup (Maybe Text) Source #
The description for the skill group.
csgSkillGroupName :: Lens' CreateSkillGroup Text Source #
The name for the skill group.
Destructuring the Response
createSkillGroupResponse Source #
Creates a value of CreateSkillGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csgrsSkillGroupARN
- The ARN of the newly created skill group in the response.csgrsResponseStatus
- -- | The response status code.
data CreateSkillGroupResponse Source #
See: createSkillGroupResponse
smart constructor.
Response Lenses
csgrsSkillGroupARN :: Lens' CreateSkillGroupResponse (Maybe Text) Source #
The ARN of the newly created skill group in the response.
csgrsResponseStatus :: Lens' CreateSkillGroupResponse Int Source #
- - | The response status code.