Copyright | (c) 2013-2021 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 |
Creates a skill group with a specified name and description.
Synopsis
- data CreateSkillGroup = CreateSkillGroup' {
- clientRequestToken :: Maybe Text
- description :: Maybe Text
- tags :: Maybe [Tag]
- skillGroupName :: Text
- newCreateSkillGroup :: Text -> CreateSkillGroup
- createSkillGroup_clientRequestToken :: Lens' CreateSkillGroup (Maybe Text)
- createSkillGroup_description :: Lens' CreateSkillGroup (Maybe Text)
- createSkillGroup_tags :: Lens' CreateSkillGroup (Maybe [Tag])
- createSkillGroup_skillGroupName :: Lens' CreateSkillGroup Text
- data CreateSkillGroupResponse = CreateSkillGroupResponse' {
- skillGroupArn :: Maybe Text
- httpStatus :: Int
- newCreateSkillGroupResponse :: Int -> CreateSkillGroupResponse
- createSkillGroupResponse_skillGroupArn :: Lens' CreateSkillGroupResponse (Maybe Text)
- createSkillGroupResponse_httpStatus :: Lens' CreateSkillGroupResponse Int
Creating a Request
data CreateSkillGroup Source #
See: newCreateSkillGroup
smart constructor.
CreateSkillGroup' | |
|
Instances
Create a value of CreateSkillGroup
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:clientRequestToken:CreateSkillGroup'
, createSkillGroup_clientRequestToken
- A unique, user-specified identifier for this request that ensures
idempotency.
$sel:description:CreateSkillGroup'
, createSkillGroup_description
- The description for the skill group.
$sel:tags:CreateSkillGroup'
, createSkillGroup_tags
- The tags for the skill group.
$sel:skillGroupName:CreateSkillGroup'
, createSkillGroup_skillGroupName
- The name for the skill group.
Request Lenses
createSkillGroup_clientRequestToken :: Lens' CreateSkillGroup (Maybe Text) Source #
A unique, user-specified identifier for this request that ensures idempotency.
createSkillGroup_description :: Lens' CreateSkillGroup (Maybe Text) Source #
The description for the skill group.
createSkillGroup_tags :: Lens' CreateSkillGroup (Maybe [Tag]) Source #
The tags for the skill group.
createSkillGroup_skillGroupName :: Lens' CreateSkillGroup Text Source #
The name for the skill group.
Destructuring the Response
data CreateSkillGroupResponse Source #
See: newCreateSkillGroupResponse
smart constructor.
CreateSkillGroupResponse' | |
|
Instances
newCreateSkillGroupResponse Source #
Create a value of CreateSkillGroupResponse
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:skillGroupArn:CreateSkillGroupResponse'
, createSkillGroupResponse_skillGroupArn
- The ARN of the newly created skill group in the response.
$sel:httpStatus:CreateSkillGroupResponse'
, createSkillGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createSkillGroupResponse_skillGroupArn :: Lens' CreateSkillGroupResponse (Maybe Text) Source #
The ARN of the newly created skill group in the response.
createSkillGroupResponse_httpStatus :: Lens' CreateSkillGroupResponse Int Source #
The response's http status code.