AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the GetSlotType operation. Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version.
This operation requires permissions for the lex:GetSlotType
action.
Namespace: Amazon.LexModelBuildingService.Model
Assembly: AWSSDK.LexModelBuildingService.dll
Version: 3.x.y.z
public class GetSlotTypeRequest : AmazonLexModelBuildingServiceRequest IAmazonWebServiceRequest
The GetSlotTypeRequest type exposes the following members
Name | Description | |
---|---|---|
GetSlotTypeRequest() |
Name | Type | Description | |
---|---|---|---|
Name | System.String |
Gets and sets the property Name. The name of the slot type. The name is case sensitive. |
|
Version | System.String |
Gets and sets the property Version. The version of the slot type. |
This example shows how to get information about a slot type.
var client = new AmazonLexModelBuildingServiceClient(); var response = client.GetSlotType(new GetSlotTypeRequest { Version = "$LATEST", Name = "DocPizzaCrustType" }); string version = response.Version; string name = response.Name; string checksum = response.Checksum; DateTime createdDate = response.CreatedDate; string description = response.Description; List<EnumerationValue> enumerationValues = response.EnumerationValues; DateTime lastUpdatedDate = response.LastUpdatedDate;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5