AWS SDK Version 3 for .NET
API Reference

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.

This is the response object from the GetSlotType operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.LexModelBuildingService.Model.GetSlotTypeResponse

Namespace: Amazon.LexModelBuildingService.Model
Assembly: AWSSDK.LexModelBuildingService.dll
Version: 3.x.y.z

Syntax

C#
public class GetSlotTypeResponse : AmazonWebServiceResponse

The GetSlotTypeResponse type exposes the following members

Constructors

NameDescription
Public Method GetSlotTypeResponse()

Properties

NameTypeDescription
Public Property Checksum System.String

Gets and sets the property Checksum.

Checksum of the $LATEST version of the slot type.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property CreatedDate System.DateTime

Gets and sets the property CreatedDate.

The date that the slot type was created.

Public Property Description System.String

Gets and sets the property Description.

A description of the slot type.

Public Property EnumerationValues System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.EnumerationValue>

Gets and sets the property EnumerationValues.

A list of EnumerationValue objects that defines the values that the slot type can take.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property LastUpdatedDate System.DateTime

Gets and sets the property LastUpdatedDate.

The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.

Public Property Name System.String

Gets and sets the property Name.

The name of the slot type.

Public Property ParentSlotTypeSignature System.String

Gets and sets the property ParentSlotTypeSignature.

The built-in slot type used as a parent for the slot type.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property SlotTypeConfigurations System.Collections.Generic.List<Amazon.LexModelBuildingService.Model.SlotTypeConfiguration>

Gets and sets the property SlotTypeConfigurations.

Configuration information that extends the parent built-in slot type.

Public Property ValueSelectionStrategy Amazon.LexModelBuildingService.SlotValueSelectionStrategy

Gets and sets the property ValueSelectionStrategy.

The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.

Public Property Version System.String

Gets and sets the property Version.

The version of the slot type.

Examples

This example shows how to get information about a slot type.

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;

            

Version Information

.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