CreateEndpointRequest
public struct CreateEndpointRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon Comprehend will not return a ResourceInUseException.
Declaration
Swift
public let clientRequestToken: String?
-
The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
Declaration
Swift
public let desiredInferenceUnits: Int
-
This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent requests to this resource.
Declaration
Swift
public let endpointName: String
-
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
Declaration
Swift
public let modelArn: String
-
Tags associated with the endpoint being created. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with “Sales” as the key might be added to an endpoint to indicate its use by the sales department.
Declaration
Swift
public let tags: [Tag]?
-
Undocumented
Declaration
Swift
public init(clientRequestToken: String? = CreateEndpointRequest.idempotencyToken(), desiredInferenceUnits: Int, endpointName: String, modelArn: String, tags: [Tag]? = nil)
-
Declaration
Swift
public func validate(name: String) throws