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 |
Creates a group of labels.
Synopsis
- data CreateLabelGroup = CreateLabelGroup' {
- faultCodes :: Maybe [Text]
- tags :: Maybe [Tag]
- labelGroupName :: Text
- clientToken :: Text
- newCreateLabelGroup :: Text -> Text -> CreateLabelGroup
- createLabelGroup_faultCodes :: Lens' CreateLabelGroup (Maybe [Text])
- createLabelGroup_tags :: Lens' CreateLabelGroup (Maybe [Tag])
- createLabelGroup_labelGroupName :: Lens' CreateLabelGroup Text
- createLabelGroup_clientToken :: Lens' CreateLabelGroup Text
- data CreateLabelGroupResponse = CreateLabelGroupResponse' {}
- newCreateLabelGroupResponse :: Int -> CreateLabelGroupResponse
- createLabelGroupResponse_labelGroupArn :: Lens' CreateLabelGroupResponse (Maybe Text)
- createLabelGroupResponse_labelGroupName :: Lens' CreateLabelGroupResponse (Maybe Text)
- createLabelGroupResponse_httpStatus :: Lens' CreateLabelGroupResponse Int
Creating a Request
data CreateLabelGroup Source #
See: newCreateLabelGroup
smart constructor.
CreateLabelGroup' | |
|
Instances
Create a value of CreateLabelGroup
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:faultCodes:CreateLabelGroup'
, createLabelGroup_faultCodes
- The acceptable fault codes (indicating the type of anomaly associated
with the label) that can be used with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
$sel:tags:CreateLabelGroup'
, createLabelGroup_tags
- Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
CreateLabelGroup
, createLabelGroup_labelGroupName
- Names a group of labels.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
$sel:clientToken:CreateLabelGroup'
, createLabelGroup_clientToken
- A unique identifier for the request to create a label group. If you do
not set the client request token, Lookout for Equipment generates one.
Request Lenses
createLabelGroup_faultCodes :: Lens' CreateLabelGroup (Maybe [Text]) Source #
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
createLabelGroup_tags :: Lens' CreateLabelGroup (Maybe [Tag]) Source #
Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
createLabelGroup_labelGroupName :: Lens' CreateLabelGroup Text Source #
Names a group of labels.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
createLabelGroup_clientToken :: Lens' CreateLabelGroup Text Source #
A unique identifier for the request to create a label group. If you do not set the client request token, Lookout for Equipment generates one.
Destructuring the Response
data CreateLabelGroupResponse Source #
See: newCreateLabelGroupResponse
smart constructor.
CreateLabelGroupResponse' | |
|
Instances
newCreateLabelGroupResponse Source #
Create a value of CreateLabelGroupResponse
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:
CreateLabelGroupResponse
, createLabelGroupResponse_labelGroupArn
- The ARN of the label group that you have created.
CreateLabelGroup
, createLabelGroupResponse_labelGroupName
- The name of the label group that you have created. Data in this field
will be retained for service usage. Follow best practices for the
security of your data.
$sel:httpStatus:CreateLabelGroupResponse'
, createLabelGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createLabelGroupResponse_labelGroupArn :: Lens' CreateLabelGroupResponse (Maybe Text) Source #
The ARN of the label group that you have created.
createLabelGroupResponse_labelGroupName :: Lens' CreateLabelGroupResponse (Maybe Text) Source #
The name of the label group that you have created. Data in this field will be retained for service usage. Follow best practices for the security of your data.
createLabelGroupResponse_httpStatus :: Lens' CreateLabelGroupResponse Int Source #
The response's http status code.