AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

RealtimeEndpointInfo

import "github.com/aws/aws-sdk-go/service/machinelearning"

type RealtimeEndpointInfo struct { CreatedAt *time.Time `type:"timestamp"` EndpointStatus *string `type:"string" enum:"RealtimeEndpointStatus"` EndpointUrl *string `type:"string"` PeakRequestsPerSecond *int64 `type:"integer"` }

Describes the real-time endpoint information for an MLModel.

CreatedAt

Type: *time.Time

The time that the request to create the real-time endpoint for the MLModel was received. The time is expressed in epoch time.

EndpointStatus

Type: *string

The current status of the real-time endpoint for the MLModel. This element can have one of the following values:

  • NONE - Endpoint does not exist or was previously deleted.

  • READY - Endpoint is ready to be used for real-time predictions.

  • UPDATING - Updating/creating the endpoint.

EndpointUrl

Type: *string

The URI that specifies where to send real-time prediction requests for the MLModel.

NoteThe application must wait until the real-time endpoint is ready before using this URI.

PeakRequestsPerSecond

Type: *int64

The maximum processing rate for the real-time endpoint for MLModel, measured in incoming requests per second.

Method

GoString

func (s RealtimeEndpointInfo) GoString() string

GoString returns the string representation

SetCreatedAt

func (s *RealtimeEndpointInfo) SetCreatedAt(v time.Time) *RealtimeEndpointInfo

SetCreatedAt sets the CreatedAt field's value.

SetEndpointStatus

func (s *RealtimeEndpointInfo) SetEndpointStatus(v string) *RealtimeEndpointInfo

SetEndpointStatus sets the EndpointStatus field's value.

SetEndpointUrl

func (s *RealtimeEndpointInfo) SetEndpointUrl(v string) *RealtimeEndpointInfo

SetEndpointUrl sets the EndpointUrl field's value.

SetPeakRequestsPerSecond

func (s *RealtimeEndpointInfo) SetPeakRequestsPerSecond(v int64) *RealtimeEndpointInfo

SetPeakRequestsPerSecond sets the PeakRequestsPerSecond field's value.

String

func (s RealtimeEndpointInfo) String() string

String returns the string representation

On this page: