LookoutEquipment / Client / create_label_group
create_label_group#
- LookoutEquipment.Client.create_label_group(**kwargs)#
- Creates a group of labels. - See also: AWS API Documentation - Request Syntax- response = client.create_label_group( LabelGroupName='string', FaultCodes=[ 'string', ], ClientToken='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) - Parameters:
- LabelGroupName (string) – - [REQUIRED] - Names a group of labels. - Data in this field will be retained for service usage. Follow best practices for the security of your data. 
- FaultCodes (list) – - 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. - (string) – 
 
- ClientToken (string) – - [REQUIRED] - 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. - This field is autopopulated if not provided. 
- Tags (list) – - 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. - (dict) – - A tag is a key-value pair that can be added to a resource as metadata. - Key (string) – [REQUIRED] - The key for the specified tag. 
- Value (string) – [REQUIRED] - The value for the specified tag. 
 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'LabelGroupName': 'string', 'LabelGroupArn': 'string' } - Response Structure- (dict) – - LabelGroupName (string) – - 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. 
- LabelGroupArn (string) – - The Amazon Resource Name (ARN) of the label group that you have created. 
 
 
 - Exceptions- LookoutEquipment.Client.exceptions.ValidationException
- LookoutEquipment.Client.exceptions.ConflictException
- LookoutEquipment.Client.exceptions.ThrottlingException
- LookoutEquipment.Client.exceptions.ServiceQuotaExceededException
- LookoutEquipment.Client.exceptions.AccessDeniedException
- LookoutEquipment.Client.exceptions.InternalServerException