aws-sdk-go: github.com/aws/aws-sdk-go/service/rekognition Index | Examples | Files | Directories

package rekognition

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

Package rekognition provides the client and types for making API requests to Amazon Rekognition.

This is the Amazon Rekognition API reference.

See rekognition package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/rekognition/

Using the Client

To contact Amazon Rekognition with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Rekognition client Rekognition for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/rekognition/#New

Index

Examples

Package Files

api.go doc.go errors.go service.go waiters.go

Constants

const (
    // AttributeDefault is a Attribute enum value
    AttributeDefault = "DEFAULT"

    // AttributeAll is a Attribute enum value
    AttributeAll = "ALL"
)
const (
    // CelebrityRecognitionSortById is a CelebrityRecognitionSortBy enum value
    CelebrityRecognitionSortById = "ID"

    // CelebrityRecognitionSortByTimestamp is a CelebrityRecognitionSortBy enum value
    CelebrityRecognitionSortByTimestamp = "TIMESTAMP"
)
const (
    // ContentClassifierFreeOfPersonallyIdentifiableInformation is a ContentClassifier enum value
    ContentClassifierFreeOfPersonallyIdentifiableInformation = "FreeOfPersonallyIdentifiableInformation"

    // ContentClassifierFreeOfAdultContent is a ContentClassifier enum value
    ContentClassifierFreeOfAdultContent = "FreeOfAdultContent"
)
const (
    // ContentModerationSortByName is a ContentModerationSortBy enum value
    ContentModerationSortByName = "NAME"

    // ContentModerationSortByTimestamp is a ContentModerationSortBy enum value
    ContentModerationSortByTimestamp = "TIMESTAMP"
)
const (
    // EmotionNameHappy is a EmotionName enum value
    EmotionNameHappy = "HAPPY"

    // EmotionNameSad is a EmotionName enum value
    EmotionNameSad = "SAD"

    // EmotionNameAngry is a EmotionName enum value
    EmotionNameAngry = "ANGRY"

    // EmotionNameConfused is a EmotionName enum value
    EmotionNameConfused = "CONFUSED"

    // EmotionNameDisgusted is a EmotionName enum value
    EmotionNameDisgusted = "DISGUSTED"

    // EmotionNameSurprised is a EmotionName enum value
    EmotionNameSurprised = "SURPRISED"

    // EmotionNameCalm is a EmotionName enum value
    EmotionNameCalm = "CALM"

    // EmotionNameUnknown is a EmotionName enum value
    EmotionNameUnknown = "UNKNOWN"

    // EmotionNameFear is a EmotionName enum value
    EmotionNameFear = "FEAR"
)
const (
    // FaceAttributesDefault is a FaceAttributes enum value
    FaceAttributesDefault = "DEFAULT"

    // FaceAttributesAll is a FaceAttributes enum value
    FaceAttributesAll = "ALL"
)
const (
    // FaceSearchSortByIndex is a FaceSearchSortBy enum value
    FaceSearchSortByIndex = "INDEX"

    // FaceSearchSortByTimestamp is a FaceSearchSortBy enum value
    FaceSearchSortByTimestamp = "TIMESTAMP"
)
const (
    // GenderTypeMale is a GenderType enum value
    GenderTypeMale = "Male"

    // GenderTypeFemale is a GenderType enum value
    GenderTypeFemale = "Female"
)
const (
    // LabelDetectionSortByName is a LabelDetectionSortBy enum value
    LabelDetectionSortByName = "NAME"

    // LabelDetectionSortByTimestamp is a LabelDetectionSortBy enum value
    LabelDetectionSortByTimestamp = "TIMESTAMP"
)
const (
    // LandmarkTypeEyeLeft is a LandmarkType enum value
    LandmarkTypeEyeLeft = "eyeLeft"

    // LandmarkTypeEyeRight is a LandmarkType enum value
    LandmarkTypeEyeRight = "eyeRight"

    // LandmarkTypeNose is a LandmarkType enum value
    LandmarkTypeNose = "nose"

    // LandmarkTypeMouthLeft is a LandmarkType enum value
    LandmarkTypeMouthLeft = "mouthLeft"

    // LandmarkTypeMouthRight is a LandmarkType enum value
    LandmarkTypeMouthRight = "mouthRight"

    // LandmarkTypeLeftEyeBrowLeft is a LandmarkType enum value
    LandmarkTypeLeftEyeBrowLeft = "leftEyeBrowLeft"

    // LandmarkTypeLeftEyeBrowRight is a LandmarkType enum value
    LandmarkTypeLeftEyeBrowRight = "leftEyeBrowRight"

    // LandmarkTypeLeftEyeBrowUp is a LandmarkType enum value
    LandmarkTypeLeftEyeBrowUp = "leftEyeBrowUp"

    // LandmarkTypeRightEyeBrowLeft is a LandmarkType enum value
    LandmarkTypeRightEyeBrowLeft = "rightEyeBrowLeft"

    // LandmarkTypeRightEyeBrowRight is a LandmarkType enum value
    LandmarkTypeRightEyeBrowRight = "rightEyeBrowRight"

    // LandmarkTypeRightEyeBrowUp is a LandmarkType enum value
    LandmarkTypeRightEyeBrowUp = "rightEyeBrowUp"

    // LandmarkTypeLeftEyeLeft is a LandmarkType enum value
    LandmarkTypeLeftEyeLeft = "leftEyeLeft"

    // LandmarkTypeLeftEyeRight is a LandmarkType enum value
    LandmarkTypeLeftEyeRight = "leftEyeRight"

    // LandmarkTypeLeftEyeUp is a LandmarkType enum value
    LandmarkTypeLeftEyeUp = "leftEyeUp"

    // LandmarkTypeLeftEyeDown is a LandmarkType enum value
    LandmarkTypeLeftEyeDown = "leftEyeDown"

    // LandmarkTypeRightEyeLeft is a LandmarkType enum value
    LandmarkTypeRightEyeLeft = "rightEyeLeft"

    // LandmarkTypeRightEyeRight is a LandmarkType enum value
    LandmarkTypeRightEyeRight = "rightEyeRight"

    // LandmarkTypeRightEyeUp is a LandmarkType enum value
    LandmarkTypeRightEyeUp = "rightEyeUp"

    // LandmarkTypeRightEyeDown is a LandmarkType enum value
    LandmarkTypeRightEyeDown = "rightEyeDown"

    // LandmarkTypeNoseLeft is a LandmarkType enum value
    LandmarkTypeNoseLeft = "noseLeft"

    // LandmarkTypeNoseRight is a LandmarkType enum value
    LandmarkTypeNoseRight = "noseRight"

    // LandmarkTypeMouthUp is a LandmarkType enum value
    LandmarkTypeMouthUp = "mouthUp"

    // LandmarkTypeMouthDown is a LandmarkType enum value
    LandmarkTypeMouthDown = "mouthDown"

    // LandmarkTypeLeftPupil is a LandmarkType enum value
    LandmarkTypeLeftPupil = "leftPupil"

    // LandmarkTypeRightPupil is a LandmarkType enum value
    LandmarkTypeRightPupil = "rightPupil"

    // LandmarkTypeUpperJawlineLeft is a LandmarkType enum value
    LandmarkTypeUpperJawlineLeft = "upperJawlineLeft"

    // LandmarkTypeMidJawlineLeft is a LandmarkType enum value
    LandmarkTypeMidJawlineLeft = "midJawlineLeft"

    // LandmarkTypeChinBottom is a LandmarkType enum value
    LandmarkTypeChinBottom = "chinBottom"

    // LandmarkTypeMidJawlineRight is a LandmarkType enum value
    LandmarkTypeMidJawlineRight = "midJawlineRight"

    // LandmarkTypeUpperJawlineRight is a LandmarkType enum value
    LandmarkTypeUpperJawlineRight = "upperJawlineRight"
)
const (
    // OrientationCorrectionRotate0 is a OrientationCorrection enum value
    OrientationCorrectionRotate0 = "ROTATE_0"

    // OrientationCorrectionRotate90 is a OrientationCorrection enum value
    OrientationCorrectionRotate90 = "ROTATE_90"

    // OrientationCorrectionRotate180 is a OrientationCorrection enum value
    OrientationCorrectionRotate180 = "ROTATE_180"

    // OrientationCorrectionRotate270 is a OrientationCorrection enum value
    OrientationCorrectionRotate270 = "ROTATE_270"
)
const (
    // PersonTrackingSortByIndex is a PersonTrackingSortBy enum value
    PersonTrackingSortByIndex = "INDEX"

    // PersonTrackingSortByTimestamp is a PersonTrackingSortBy enum value
    PersonTrackingSortByTimestamp = "TIMESTAMP"
)
const (
    // ProjectStatusCreating is a ProjectStatus enum value
    ProjectStatusCreating = "CREATING"

    // ProjectStatusCreated is a ProjectStatus enum value
    ProjectStatusCreated = "CREATED"

    // ProjectStatusDeleting is a ProjectStatus enum value
    ProjectStatusDeleting = "DELETING"
)
const (
    // ProjectVersionStatusTrainingInProgress is a ProjectVersionStatus enum value
    ProjectVersionStatusTrainingInProgress = "TRAINING_IN_PROGRESS"

    // ProjectVersionStatusTrainingCompleted is a ProjectVersionStatus enum value
    ProjectVersionStatusTrainingCompleted = "TRAINING_COMPLETED"

    // ProjectVersionStatusTrainingFailed is a ProjectVersionStatus enum value
    ProjectVersionStatusTrainingFailed = "TRAINING_FAILED"

    // ProjectVersionStatusStarting is a ProjectVersionStatus enum value
    ProjectVersionStatusStarting = "STARTING"

    // ProjectVersionStatusRunning is a ProjectVersionStatus enum value
    ProjectVersionStatusRunning = "RUNNING"

    // ProjectVersionStatusFailed is a ProjectVersionStatus enum value
    ProjectVersionStatusFailed = "FAILED"

    // ProjectVersionStatusStopping is a ProjectVersionStatus enum value
    ProjectVersionStatusStopping = "STOPPING"

    // ProjectVersionStatusStopped is a ProjectVersionStatus enum value
    ProjectVersionStatusStopped = "STOPPED"

    // ProjectVersionStatusDeleting is a ProjectVersionStatus enum value
    ProjectVersionStatusDeleting = "DELETING"
)
const (
    // QualityFilterNone is a QualityFilter enum value
    QualityFilterNone = "NONE"

    // QualityFilterAuto is a QualityFilter enum value
    QualityFilterAuto = "AUTO"

    // QualityFilterLow is a QualityFilter enum value
    QualityFilterLow = "LOW"

    // QualityFilterMedium is a QualityFilter enum value
    QualityFilterMedium = "MEDIUM"

    // QualityFilterHigh is a QualityFilter enum value
    QualityFilterHigh = "HIGH"
)
const (
    // ReasonExceedsMaxFaces is a Reason enum value
    ReasonExceedsMaxFaces = "EXCEEDS_MAX_FACES"

    // ReasonExtremePose is a Reason enum value
    ReasonExtremePose = "EXTREME_POSE"

    // ReasonLowBrightness is a Reason enum value
    ReasonLowBrightness = "LOW_BRIGHTNESS"

    // ReasonLowSharpness is a Reason enum value
    ReasonLowSharpness = "LOW_SHARPNESS"

    // ReasonLowConfidence is a Reason enum value
    ReasonLowConfidence = "LOW_CONFIDENCE"

    // ReasonSmallBoundingBox is a Reason enum value
    ReasonSmallBoundingBox = "SMALL_BOUNDING_BOX"

    // ReasonLowFaceQuality is a Reason enum value
    ReasonLowFaceQuality = "LOW_FACE_QUALITY"
)
const (
    // StreamProcessorStatusStopped is a StreamProcessorStatus enum value
    StreamProcessorStatusStopped = "STOPPED"

    // StreamProcessorStatusStarting is a StreamProcessorStatus enum value
    StreamProcessorStatusStarting = "STARTING"

    // StreamProcessorStatusRunning is a StreamProcessorStatus enum value
    StreamProcessorStatusRunning = "RUNNING"

    // StreamProcessorStatusFailed is a StreamProcessorStatus enum value
    StreamProcessorStatusFailed = "FAILED"

    // StreamProcessorStatusStopping is a StreamProcessorStatus enum value
    StreamProcessorStatusStopping = "STOPPING"
)
const (
    // TextTypesLine is a TextTypes enum value
    TextTypesLine = "LINE"

    // TextTypesWord is a TextTypes enum value
    TextTypesWord = "WORD"
)
const (
    // VideoJobStatusInProgress is a VideoJobStatus enum value
    VideoJobStatusInProgress = "IN_PROGRESS"

    // VideoJobStatusSucceeded is a VideoJobStatus enum value
    VideoJobStatusSucceeded = "SUCCEEDED"

    // VideoJobStatusFailed is a VideoJobStatus enum value
    VideoJobStatusFailed = "FAILED"
)
const (

    // ErrCodeAccessDeniedException for service response error code
    // "AccessDeniedException".
    //
    // You are not authorized to perform the action.
    ErrCodeAccessDeniedException = "AccessDeniedException"

    // ErrCodeHumanLoopQuotaExceededException for service response error code
    // "HumanLoopQuotaExceededException".
    //
    // The number of in-progress human reviews you have has exceeded the number
    // allowed.
    ErrCodeHumanLoopQuotaExceededException = "HumanLoopQuotaExceededException"

    // ErrCodeIdempotentParameterMismatchException for service response error code
    // "IdempotentParameterMismatchException".
    //
    // A ClientRequestToken input parameter was reused with an operation, but at
    // least one of the other input parameters is different from the previous call
    // to the operation.
    ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException"

    // ErrCodeImageTooLargeException for service response error code
    // "ImageTooLargeException".
    //
    // The input image size exceeds the allowed limit. For more information, see
    // Limits in Amazon Rekognition in the Amazon Rekognition Developer Guide.
    ErrCodeImageTooLargeException = "ImageTooLargeException"

    // ErrCodeInternalServerError for service response error code
    // "InternalServerError".
    //
    // Amazon Rekognition experienced a service issue. Try your call again.
    ErrCodeInternalServerError = "InternalServerError"

    // ErrCodeInvalidImageFormatException for service response error code
    // "InvalidImageFormatException".
    //
    // The provided image format is not supported.
    ErrCodeInvalidImageFormatException = "InvalidImageFormatException"

    // ErrCodeInvalidPaginationTokenException for service response error code
    // "InvalidPaginationTokenException".
    //
    // Pagination token in the request is not valid.
    ErrCodeInvalidPaginationTokenException = "InvalidPaginationTokenException"

    // ErrCodeInvalidParameterException for service response error code
    // "InvalidParameterException".
    //
    // Input parameter violated a constraint. Validate your parameter before calling
    // the API operation again.
    ErrCodeInvalidParameterException = "InvalidParameterException"

    // ErrCodeInvalidS3ObjectException for service response error code
    // "InvalidS3ObjectException".
    //
    // Amazon Rekognition is unable to access the S3 object specified in the request.
    ErrCodeInvalidS3ObjectException = "InvalidS3ObjectException"

    // ErrCodeLimitExceededException for service response error code
    // "LimitExceededException".
    //
    // An Amazon Rekognition service limit was exceeded. For example, if you start
    // too many Amazon Rekognition Video jobs concurrently, calls to start operations
    // (StartLabelDetection, for example) will raise a LimitExceededException exception
    // (HTTP status code: 400) until the number of concurrently running jobs is
    // below the Amazon Rekognition service limit.
    ErrCodeLimitExceededException = "LimitExceededException"

    // ErrCodeProvisionedThroughputExceededException for service response error code
    // "ProvisionedThroughputExceededException".
    //
    // The number of requests exceeded your throughput limit. If you want to increase
    // this limit, contact Amazon Rekognition.
    ErrCodeProvisionedThroughputExceededException = "ProvisionedThroughputExceededException"

    // ErrCodeResourceAlreadyExistsException for service response error code
    // "ResourceAlreadyExistsException".
    //
    // A collection with the specified ID already exists.
    ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

    // ErrCodeResourceInUseException for service response error code
    // "ResourceInUseException".
    ErrCodeResourceInUseException = "ResourceInUseException"

    // ErrCodeResourceNotFoundException for service response error code
    // "ResourceNotFoundException".
    //
    // The collection specified in the request cannot be found.
    ErrCodeResourceNotFoundException = "ResourceNotFoundException"

    // ErrCodeResourceNotReadyException for service response error code
    // "ResourceNotReadyException".
    //
    // The requested resource isn't ready. For example, this exception occurs when
    // you call DetectCustomLabels with a model version that isn't deployed.
    ErrCodeResourceNotReadyException = "ResourceNotReadyException"

    // ErrCodeThrottlingException for service response error code
    // "ThrottlingException".
    //
    // Amazon Rekognition is temporarily unable to process the request. Try your
    // call again.
    ErrCodeThrottlingException = "ThrottlingException"

    // ErrCodeVideoTooLargeException for service response error code
    // "VideoTooLargeException".
    //
    // The file size or duration of the supplied media is too large. The maximum
    // file size is 10GB. The maximum duration is 6 hours.
    ErrCodeVideoTooLargeException = "VideoTooLargeException"
)
const (
    ServiceName = "rekognition" // Name of service.
    EndpointsID = ServiceName   // ID to lookup a service endpoint with.
    ServiceID   = "Rekognition" // ServiceID is a unique identifier of a specific service.
)

Service information constants

type AccessDeniedException Uses

type AccessDeniedException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

You are not authorized to perform the action.

func (AccessDeniedException) Code Uses

func (s AccessDeniedException) Code() string

Code returns the exception type name.

func (AccessDeniedException) Error Uses

func (s AccessDeniedException) Error() string

func (AccessDeniedException) GoString Uses

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (AccessDeniedException) Message Uses

func (s AccessDeniedException) Message() string

Message returns the exception's message.

func (AccessDeniedException) OrigErr Uses

func (s AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (AccessDeniedException) RequestID Uses

func (s AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (AccessDeniedException) StatusCode Uses

func (s AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String Uses

func (s AccessDeniedException) String() string

String returns the string representation

type AgeRange Uses

type AgeRange struct {

    // The highest estimated age.
    High *int64 `type:"integer"`

    // The lowest estimated age.
    Low *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Structure containing the estimated age range, in years, for a face.

Amazon Rekognition estimates an age range for faces detected in the input image. Estimated age ranges can overlap. A face of a 5-year-old might have an estimated range of 4-6, while the face of a 6-year-old might have an estimated range of 4-8.

func (AgeRange) GoString Uses

func (s AgeRange) GoString() string

GoString returns the string representation

func (*AgeRange) SetHigh Uses

func (s *AgeRange) SetHigh(v int64) *AgeRange

SetHigh sets the High field's value.

func (*AgeRange) SetLow Uses

func (s *AgeRange) SetLow(v int64) *AgeRange

SetLow sets the Low field's value.

func (AgeRange) String Uses

func (s AgeRange) String() string

String returns the string representation

type Asset Uses

type Asset struct {

    // The S3 bucket that contains the Ground Truth manifest file.
    GroundTruthManifest *GroundTruthManifest `type:"structure"`
    // contains filtered or unexported fields
}

Assets are the images that you use to train and evaluate a model version. Assets are referenced by Sagemaker GroundTruth manifest files.

func (Asset) GoString Uses

func (s Asset) GoString() string

GoString returns the string representation

func (*Asset) SetGroundTruthManifest Uses

func (s *Asset) SetGroundTruthManifest(v *GroundTruthManifest) *Asset

SetGroundTruthManifest sets the GroundTruthManifest field's value.

func (Asset) String Uses

func (s Asset) String() string

String returns the string representation

func (*Asset) Validate Uses

func (s *Asset) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Beard Uses

type Beard struct {

    // Level of confidence in the determination.
    Confidence *float64 `type:"float"`

    // Boolean value that indicates whether the face has beard or not.
    Value *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Indicates whether or not the face has a beard, and the confidence level in the determination.

func (Beard) GoString Uses

func (s Beard) GoString() string

GoString returns the string representation

func (*Beard) SetConfidence Uses

func (s *Beard) SetConfidence(v float64) *Beard

SetConfidence sets the Confidence field's value.

func (*Beard) SetValue Uses

func (s *Beard) SetValue(v bool) *Beard

SetValue sets the Value field's value.

func (Beard) String Uses

func (s Beard) String() string

String returns the string representation

type BoundingBox Uses

type BoundingBox struct {

    // Height of the bounding box as a ratio of the overall image height.
    Height *float64 `type:"float"`

    // Left coordinate of the bounding box as a ratio of overall image width.
    Left *float64 `type:"float"`

    // Top coordinate of the bounding box as a ratio of overall image height.
    Top *float64 `type:"float"`

    // Width of the bounding box as a ratio of the overall image width.
    Width *float64 `type:"float"`
    // contains filtered or unexported fields
}

Identifies the bounding box around the label, face, or text. The left (x-coordinate) and top (y-coordinate) are coordinates representing the top and left sides of the bounding box. Note that the upper-left corner of the image is the origin (0,0).

The top and left values returned are ratios of the overall image size. For example, if the input image is 700x200 pixels, and the top-left coordinate of the bounding box is 350x50 pixels, the API returns a left value of 0.5 (350/700) and a top value of 0.25 (50/200).

The width and height values represent the dimensions of the bounding box as a ratio of the overall image dimension. For example, if the input image is 700x200 pixels, and the bounding box width is 70 pixels, the width returned is 0.1.

The bounding box coordinates can have negative values. For example, if Amazon Rekognition is able to detect a face that is at the image edge and is only partially visible, the service can return coordinates that are outside the image bounds and, depending on the image edge, you might get negative values or values greater than 1 for the left or top values.

func (BoundingBox) GoString Uses

func (s BoundingBox) GoString() string

GoString returns the string representation

func (*BoundingBox) SetHeight Uses

func (s *BoundingBox) SetHeight(v float64) *BoundingBox

SetHeight sets the Height field's value.

func (*BoundingBox) SetLeft Uses

func (s *BoundingBox) SetLeft(v float64) *BoundingBox

SetLeft sets the Left field's value.

func (*BoundingBox) SetTop Uses

func (s *BoundingBox) SetTop(v float64) *BoundingBox

SetTop sets the Top field's value.

func (*BoundingBox) SetWidth Uses

func (s *BoundingBox) SetWidth(v float64) *BoundingBox

SetWidth sets the Width field's value.

func (BoundingBox) String Uses

func (s BoundingBox) String() string

String returns the string representation

type Celebrity Uses

type Celebrity struct {

    // Provides information about the celebrity's face, such as its location on
    // the image.
    Face *ComparedFace `type:"structure"`

    // A unique identifier for the celebrity.
    Id  *string `type:"string"`

    // The confidence, in percentage, that Amazon Rekognition has that the recognized
    // face is the celebrity.
    MatchConfidence *float64 `type:"float"`

    // The name of the celebrity.
    Name *string `type:"string"`

    // An array of URLs pointing to additional information about the celebrity.
    // If there is no additional information about the celebrity, this list is empty.
    Urls []*string `type:"list"`
    // contains filtered or unexported fields
}

Provides information about a celebrity recognized by the RecognizeCelebrities operation.

func (Celebrity) GoString Uses

func (s Celebrity) GoString() string

GoString returns the string representation

func (*Celebrity) SetFace Uses

func (s *Celebrity) SetFace(v *ComparedFace) *Celebrity

SetFace sets the Face field's value.

func (*Celebrity) SetId Uses

func (s *Celebrity) SetId(v string) *Celebrity

SetId sets the Id field's value.

func (*Celebrity) SetMatchConfidence Uses

func (s *Celebrity) SetMatchConfidence(v float64) *Celebrity

SetMatchConfidence sets the MatchConfidence field's value.

func (*Celebrity) SetName Uses

func (s *Celebrity) SetName(v string) *Celebrity

SetName sets the Name field's value.

func (*Celebrity) SetUrls Uses

func (s *Celebrity) SetUrls(v []*string) *Celebrity

SetUrls sets the Urls field's value.

func (Celebrity) String Uses

func (s Celebrity) String() string

String returns the string representation

type CelebrityDetail Uses

type CelebrityDetail struct {

    // Bounding box around the body of a celebrity.
    BoundingBox *BoundingBox `type:"structure"`

    // The confidence, in percentage, that Amazon Rekognition has that the recognized
    // face is the celebrity.
    Confidence *float64 `type:"float"`

    // Face details for the recognized celebrity.
    Face *FaceDetail `type:"structure"`

    // The unique identifier for the celebrity.
    Id  *string `type:"string"`

    // The name of the celebrity.
    Name *string `type:"string"`

    // An array of URLs pointing to additional celebrity information.
    Urls []*string `type:"list"`
    // contains filtered or unexported fields
}

Information about a recognized celebrity.

func (CelebrityDetail) GoString Uses

func (s CelebrityDetail) GoString() string

GoString returns the string representation

func (*CelebrityDetail) SetBoundingBox Uses

func (s *CelebrityDetail) SetBoundingBox(v *BoundingBox) *CelebrityDetail

SetBoundingBox sets the BoundingBox field's value.

func (*CelebrityDetail) SetConfidence Uses

func (s *CelebrityDetail) SetConfidence(v float64) *CelebrityDetail

SetConfidence sets the Confidence field's value.

func (*CelebrityDetail) SetFace Uses

func (s *CelebrityDetail) SetFace(v *FaceDetail) *CelebrityDetail

SetFace sets the Face field's value.

func (*CelebrityDetail) SetId Uses

func (s *CelebrityDetail) SetId(v string) *CelebrityDetail

SetId sets the Id field's value.

func (*CelebrityDetail) SetName Uses

func (s *CelebrityDetail) SetName(v string) *CelebrityDetail

SetName sets the Name field's value.

func (*CelebrityDetail) SetUrls Uses

func (s *CelebrityDetail) SetUrls(v []*string) *CelebrityDetail

SetUrls sets the Urls field's value.

func (CelebrityDetail) String Uses

func (s CelebrityDetail) String() string

String returns the string representation

type CelebrityRecognition Uses

type CelebrityRecognition struct {

    // Information about a recognized celebrity.
    Celebrity *CelebrityDetail `type:"structure"`

    // The time, in milliseconds from the start of the video, that the celebrity
    // was recognized.
    Timestamp *int64 `type:"long"`
    // contains filtered or unexported fields
}

Information about a detected celebrity and the time the celebrity was detected in a stored video. For more information, see GetCelebrityRecognition in the Amazon Rekognition Developer Guide.

func (CelebrityRecognition) GoString Uses

func (s CelebrityRecognition) GoString() string

GoString returns the string representation

func (*CelebrityRecognition) SetCelebrity Uses

func (s *CelebrityRecognition) SetCelebrity(v *CelebrityDetail) *CelebrityRecognition

SetCelebrity sets the Celebrity field's value.

func (*CelebrityRecognition) SetTimestamp Uses

func (s *CelebrityRecognition) SetTimestamp(v int64) *CelebrityRecognition

SetTimestamp sets the Timestamp field's value.

func (CelebrityRecognition) String Uses

func (s CelebrityRecognition) String() string

String returns the string representation

type CompareFacesInput Uses

type CompareFacesInput struct {

    // A filter that specifies a quality bar for how much filtering is done to identify
    // faces. Filtered faces aren't compared. If you specify AUTO, Amazon Rekognition
    // chooses the quality bar. If you specify LOW, MEDIUM, or HIGH, filtering removes
    // all faces that don’t meet the chosen quality bar. The quality bar is based
    // on a variety of common use cases. Low-quality detections can occur for a
    // number of reasons. Some examples are an object that's misidentified as a
    // face, a face that's too blurry, or a face with a pose that's too extreme
    // to use. If you specify NONE, no filtering is performed. The default value
    // is NONE.
    //
    // To use quality filtering, the collection you are using must be associated
    // with version 3 of the face model or higher.
    QualityFilter *string `type:"string" enum:"QualityFilter"`

    // The minimum level of confidence in the face matches that a match must meet
    // to be included in the FaceMatches array.
    SimilarityThreshold *float64 `type:"float"`

    // The input image as base64-encoded bytes or an S3 object. If you use the AWS
    // CLI to call Amazon Rekognition operations, passing base64-encoded image bytes
    // is not supported.
    //
    // If you are using an AWS SDK to call Amazon Rekognition, you might not need
    // to base64-encode image bytes passed using the Bytes field. For more information,
    // see Images in the Amazon Rekognition developer guide.
    //
    // SourceImage is a required field
    SourceImage *Image `type:"structure" required:"true"`

    // The target image as base64-encoded bytes or an S3 object. If you use the
    // AWS CLI to call Amazon Rekognition operations, passing base64-encoded image
    // bytes is not supported.
    //
    // If you are using an AWS SDK to call Amazon Rekognition, you might not need
    // to base64-encode image bytes passed using the Bytes field. For more information,
    // see Images in the Amazon Rekognition developer guide.
    //
    // TargetImage is a required field
    TargetImage *Image `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CompareFacesInput) GoString Uses

func (s CompareFacesInput) GoString() string

GoString returns the string representation

func (*CompareFacesInput) SetQualityFilter Uses

func (s *CompareFacesInput) SetQualityFilter(v string) *CompareFacesInput

SetQualityFilter sets the QualityFilter field's value.

func (*CompareFacesInput) SetSimilarityThreshold Uses

func (s *CompareFacesInput) SetSimilarityThreshold(v float64) *CompareFacesInput

SetSimilarityThreshold sets the SimilarityThreshold field's value.

func (*CompareFacesInput) SetSourceImage Uses

func (s *CompareFacesInput) SetSourceImage(v *Image) *CompareFacesInput

SetSourceImage sets the SourceImage field's value.

func (*CompareFacesInput) SetTargetImage Uses

func (s *CompareFacesInput) SetTargetImage(v *Image) *CompareFacesInput

SetTargetImage sets the TargetImage field's value.

func (CompareFacesInput) String Uses

func (s CompareFacesInput) String() string

String returns the string representation

func (*CompareFacesInput) Validate Uses

func (s *CompareFacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CompareFacesMatch Uses

type CompareFacesMatch struct {

    // Provides face metadata (bounding box and confidence that the bounding box
    // actually contains a face).
    Face *ComparedFace `type:"structure"`

    // Level of confidence that the faces match.
    Similarity *float64 `type:"float"`
    // contains filtered or unexported fields
}

Provides information about a face in a target image that matches the source image face analyzed by CompareFaces. The Face property contains the bounding box of the face in the target image. The Similarity property is the confidence that the source image face matches the face in the bounding box.

func (CompareFacesMatch) GoString Uses

func (s CompareFacesMatch) GoString() string

GoString returns the string representation

func (*CompareFacesMatch) SetFace Uses

func (s *CompareFacesMatch) SetFace(v *ComparedFace) *CompareFacesMatch

SetFace sets the Face field's value.

func (*CompareFacesMatch) SetSimilarity Uses

func (s *CompareFacesMatch) SetSimilarity(v float64) *CompareFacesMatch

SetSimilarity sets the Similarity field's value.

func (CompareFacesMatch) String Uses

func (s CompareFacesMatch) String() string

String returns the string representation

type CompareFacesOutput Uses

type CompareFacesOutput struct {

    // An array of faces in the target image that match the source image face. Each
    // CompareFacesMatch object provides the bounding box, the confidence level
    // that the bounding box contains a face, and the similarity score for the face
    // in the bounding box and the face in the source image.
    FaceMatches []*CompareFacesMatch `type:"list"`

    // The face in the source image that was used for comparison.
    SourceImageFace *ComparedSourceImageFace `type:"structure"`

    // The value of SourceImageOrientationCorrection is always null.
    //
    // If the input image is in .jpeg format, it might contain exchangeable image
    // file format (Exif) metadata that includes the image's orientation. Amazon
    // Rekognition uses this orientation information to perform image correction.
    // The bounding box coordinates are translated to represent object locations
    // after the orientation information in the Exif metadata is used to correct
    // the image orientation. Images in .png format don't contain Exif metadata.
    //
    // Amazon Rekognition doesn’t perform image correction for images in .png
    // format and .jpeg images without orientation information in the image Exif
    // metadata. The bounding box coordinates aren't translated and represent the
    // object locations before the image is rotated.
    SourceImageOrientationCorrection *string `type:"string" enum:"OrientationCorrection"`

    // The value of TargetImageOrientationCorrection is always null.
    //
    // If the input image is in .jpeg format, it might contain exchangeable image
    // file format (Exif) metadata that includes the image's orientation. Amazon
    // Rekognition uses this orientation information to perform image correction.
    // The bounding box coordinates are translated to represent object locations
    // after the orientation information in the Exif metadata is used to correct
    // the image orientation. Images in .png format don't contain Exif metadata.
    //
    // Amazon Rekognition doesn’t perform image correction for images in .png
    // format and .jpeg images without orientation information in the image Exif
    // metadata. The bounding box coordinates aren't translated and represent the
    // object locations before the image is rotated.
    TargetImageOrientationCorrection *string `type:"string" enum:"OrientationCorrection"`

    // An array of faces in the target image that did not match the source image
    // face.
    UnmatchedFaces []*ComparedFace `type:"list"`
    // contains filtered or unexported fields
}

func (CompareFacesOutput) GoString Uses

func (s CompareFacesOutput) GoString() string

GoString returns the string representation

func (*CompareFacesOutput) SetFaceMatches Uses

func (s *CompareFacesOutput) SetFaceMatches(v []*CompareFacesMatch) *CompareFacesOutput

SetFaceMatches sets the FaceMatches field's value.

func (*CompareFacesOutput) SetSourceImageFace Uses

func (s *CompareFacesOutput) SetSourceImageFace(v *ComparedSourceImageFace) *CompareFacesOutput

SetSourceImageFace sets the SourceImageFace field's value.

func (*CompareFacesOutput) SetSourceImageOrientationCorrection Uses

func (s *CompareFacesOutput) SetSourceImageOrientationCorrection(v string) *CompareFacesOutput

SetSourceImageOrientationCorrection sets the SourceImageOrientationCorrection field's value.

func (*CompareFacesOutput) SetTargetImageOrientationCorrection Uses

func (s *CompareFacesOutput) SetTargetImageOrientationCorrection(v string) *CompareFacesOutput

SetTargetImageOrientationCorrection sets the TargetImageOrientationCorrection field's value.

func (*CompareFacesOutput) SetUnmatchedFaces Uses

func (s *CompareFacesOutput) SetUnmatchedFaces(v []*ComparedFace) *CompareFacesOutput

SetUnmatchedFaces sets the UnmatchedFaces field's value.

func (CompareFacesOutput) String Uses

func (s CompareFacesOutput) String() string

String returns the string representation

type ComparedFace Uses

type ComparedFace struct {

    // Bounding box of the face.
    BoundingBox *BoundingBox `type:"structure"`

    // Level of confidence that what the bounding box contains is a face.
    Confidence *float64 `type:"float"`

    // An array of facial landmarks.
    Landmarks []*Landmark `type:"list"`

    // Indicates the pose of the face as determined by its pitch, roll, and yaw.
    Pose *Pose `type:"structure"`

    // Identifies face image brightness and sharpness.
    Quality *ImageQuality `type:"structure"`
    // contains filtered or unexported fields
}

Provides face metadata for target image faces that are analyzed by CompareFaces and RecognizeCelebrities.

func (ComparedFace) GoString Uses

func (s ComparedFace) GoString() string

GoString returns the string representation

func (*ComparedFace) SetBoundingBox Uses

func (s *ComparedFace) SetBoundingBox(v *BoundingBox) *ComparedFace

SetBoundingBox sets the BoundingBox field's value.

func (*ComparedFace) SetConfidence Uses

func (s *ComparedFace) SetConfidence(v float64) *ComparedFace

SetConfidence sets the Confidence field's value.

func (*ComparedFace) SetLandmarks Uses

func (s *ComparedFace) SetLandmarks(v []*Landmark) *ComparedFace

SetLandmarks sets the Landmarks field's value.

func (*ComparedFace) SetPose Uses

func (s *ComparedFace) SetPose(v *Pose) *ComparedFace

SetPose sets the Pose field's value.

func (*ComparedFace) SetQuality Uses

func (s *ComparedFace) SetQuality(v *ImageQuality) *ComparedFace

SetQuality sets the Quality field's value.

func (ComparedFace) String Uses

func (s ComparedFace) String() string

String returns the string representation

type ComparedSourceImageFace Uses

type ComparedSourceImageFace struct {

    // Bounding box of the face.
    BoundingBox *BoundingBox `type:"structure"`

    // Confidence level that the selected bounding box contains a face.
    Confidence *float64 `type:"float"`
    // contains filtered or unexported fields
}

Type that describes the face Amazon Rekognition chose to compare with the faces in the target. This contains a bounding box for the selected face and confidence level that the bounding box contains a face. Note that Amazon Rekognition selects the largest face in the source image for this comparison.

func (ComparedSourceImageFace) GoString Uses

func (s ComparedSourceImageFace) GoString() string

GoString returns the string representation

func (*ComparedSourceImageFace) SetBoundingBox Uses

func (s *ComparedSourceImageFace) SetBoundingBox(v *BoundingBox) *ComparedSourceImageFace

SetBoundingBox sets the BoundingBox field's value.

func (*ComparedSourceImageFace) SetConfidence Uses

func (s *ComparedSourceImageFace) SetConfidence(v float64) *ComparedSourceImageFace

SetConfidence sets the Confidence field's value.

func (ComparedSourceImageFace) String Uses

func (s ComparedSourceImageFace) String() string

String returns the string representation

type ContentModerationDetection Uses

type ContentModerationDetection struct {

    // The unsafe content label detected by in the stored video.
    ModerationLabel *ModerationLabel `type:"structure"`

    // Time, in milliseconds from the beginning of the video, that the unsafe content
    // label was detected.
    Timestamp *int64 `type:"long"`
    // contains filtered or unexported fields
}

Information about an unsafe content label detection in a stored video.

func (ContentModerationDetection) GoString Uses

func (s ContentModerationDetection) GoString() string

GoString returns the string representation

func (*ContentModerationDetection) SetModerationLabel Uses

func (s *ContentModerationDetection) SetModerationLabel(v *ModerationLabel) *ContentModerationDetection

SetModerationLabel sets the ModerationLabel field's value.

func (*ContentModerationDetection) SetTimestamp Uses

func (s *ContentModerationDetection) SetTimestamp(v int64) *ContentModerationDetection

SetTimestamp sets the Timestamp field's value.

func (ContentModerationDetection) String Uses

func (s ContentModerationDetection) String() string

String returns the string representation

type CreateCollectionInput Uses

type CreateCollectionInput struct {

    // ID for the collection that you are creating.
    //
    // CollectionId is a required field
    CollectionId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateCollectionInput) GoString Uses

func (s CreateCollectionInput) GoString() string

GoString returns the string representation

func (*CreateCollectionInput) SetCollectionId Uses

func (s *CreateCollectionInput) SetCollectionId(v string) *CreateCollectionInput

SetCollectionId sets the CollectionId field's value.

func (CreateCollectionInput) String Uses

func (s CreateCollectionInput) String() string

String returns the string representation

func (*CreateCollectionInput) Validate Uses

func (s *CreateCollectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateCollectionOutput Uses

type CreateCollectionOutput struct {

    // Amazon Resource Name (ARN) of the collection. You can use this to manage
    // permissions on your resources.
    CollectionArn *string `type:"string"`

    // Version number of the face detection model associated with the collection
    // you are creating.
    FaceModelVersion *string `type:"string"`

    // HTTP status code indicating the result of the operation.
    StatusCode *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (CreateCollectionOutput) GoString Uses

func (s CreateCollectionOutput) GoString() string

GoString returns the string representation

func (*CreateCollectionOutput) SetCollectionArn Uses

func (s *CreateCollectionOutput) SetCollectionArn(v string) *CreateCollectionOutput

SetCollectionArn sets the CollectionArn field's value.

func (*CreateCollectionOutput) SetFaceModelVersion Uses

func (s *CreateCollectionOutput) SetFaceModelVersion(v string) *CreateCollectionOutput

SetFaceModelVersion sets the FaceModelVersion field's value.

func (*CreateCollectionOutput) SetStatusCode Uses

func (s *CreateCollectionOutput) SetStatusCode(v int64) *CreateCollectionOutput

SetStatusCode sets the StatusCode field's value.

func (CreateCollectionOutput) String Uses

func (s CreateCollectionOutput) String() string

String returns the string representation

type CreateProjectInput Uses

type CreateProjectInput struct {

    // The name of the project to create.
    //
    // ProjectName is a required field
    ProjectName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateProjectInput) GoString Uses

func (s CreateProjectInput) GoString() string

GoString returns the string representation

func (*CreateProjectInput) SetProjectName Uses

func (s *CreateProjectInput) SetProjectName(v string) *CreateProjectInput

SetProjectName sets the ProjectName field's value.

func (CreateProjectInput) String Uses

func (s CreateProjectInput) String() string

String returns the string representation

func (*CreateProjectInput) Validate Uses

func (s *CreateProjectInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateProjectOutput Uses

type CreateProjectOutput struct {

    // The Amazon Resource Name (ARN) of the new project. You can use the ARN to
    // configure IAM access to the project.
    ProjectArn *string `min:"20" type:"string"`
    // contains filtered or unexported fields
}

func (CreateProjectOutput) GoString Uses

func (s CreateProjectOutput) GoString() string

GoString returns the string representation

func (*CreateProjectOutput) SetProjectArn Uses

func (s *CreateProjectOutput) SetProjectArn(v string) *CreateProjectOutput

SetProjectArn sets the ProjectArn field's value.

func (CreateProjectOutput) String Uses

func (s CreateProjectOutput) String() string

String returns the string representation

type CreateProjectVersionInput Uses

type CreateProjectVersionInput struct {

    // The Amazon S3 location to store the results of training.
    //
    // OutputConfig is a required field
    OutputConfig *OutputConfig `type:"structure" required:"true"`

    // The ARN of the Amazon Rekognition Custom Labels project that manages the
    // model that you want to train.
    //
    // ProjectArn is a required field
    ProjectArn *string `min:"20" type:"string" required:"true"`

    // The dataset to use for testing.
    //
    // TestingData is a required field
    TestingData *TestingData `type:"structure" required:"true"`

    // The dataset to use for training.
    //
    // TrainingData is a required field
    TrainingData *TrainingData `type:"structure" required:"true"`

    // A name for the version of the model. This value must be unique.
    //
    // VersionName is a required field
    VersionName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateProjectVersionInput) GoString Uses

func (s CreateProjectVersionInput) GoString() string

GoString returns the string representation

func (*CreateProjectVersionInput) SetOutputConfig Uses

func (s *CreateProjectVersionInput) SetOutputConfig(v *OutputConfig) *CreateProjectVersionInput

SetOutputConfig sets the OutputConfig field's value.

func (*CreateProjectVersionInput) SetProjectArn Uses

func (s *CreateProjectVersionInput) SetProjectArn(v string) *CreateProjectVersionInput

SetProjectArn sets the ProjectArn field's value.

func (*CreateProjectVersionInput) SetTestingData Uses

func (s *CreateProjectVersionInput) SetTestingData(v *TestingData) *CreateProjectVersionInput

SetTestingData sets the TestingData field's value.

func (*CreateProjectVersionInput) SetTrainingData Uses

func (s *CreateProjectVersionInput) SetTrainingData(v *TrainingData) *CreateProjectVersionInput

SetTrainingData sets the TrainingData field's value.

func (*CreateProjectVersionInput) SetVersionName Uses

func (s *CreateProjectVersionInput) SetVersionName(v string) *CreateProjectVersionInput

SetVersionName sets the VersionName field's value.

func (CreateProjectVersionInput) String Uses

func (s CreateProjectVersionInput) String() string

String returns the string representation

func (*CreateProjectVersionInput) Validate Uses

func (s *CreateProjectVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateProjectVersionOutput Uses

type CreateProjectVersionOutput struct {

    // The ARN of the model version that was created. Use DescribeProjectVersion
    // to get the current status of the training operation.
    ProjectVersionArn *string `min:"20" type:"string"`
    // contains filtered or unexported fields
}

func (CreateProjectVersionOutput) GoString Uses

func (s CreateProjectVersionOutput) GoString() string

GoString returns the string representation

func (*CreateProjectVersionOutput) SetProjectVersionArn Uses

func (s *CreateProjectVersionOutput) SetProjectVersionArn(v string) *CreateProjectVersionOutput

SetProjectVersionArn sets the ProjectVersionArn field's value.

func (CreateProjectVersionOutput) String Uses

func (s CreateProjectVersionOutput) String() string

String returns the string representation

type CreateStreamProcessorInput Uses

type CreateStreamProcessorInput struct {

    // Kinesis video stream stream that provides the source streaming video. If
    // you are using the AWS CLI, the parameter name is StreamProcessorInput.
    //
    // Input is a required field
    Input *StreamProcessorInput `type:"structure" required:"true"`

    // An identifier you assign to the stream processor. You can use Name to manage
    // the stream processor. For example, you can get the current status of the
    // stream processor by calling DescribeStreamProcessor. Name is idempotent.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // Kinesis data stream stream to which Amazon Rekognition Video puts the analysis
    // results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput.
    //
    // Output is a required field
    Output *StreamProcessorOutput `type:"structure" required:"true"`

    // ARN of the IAM role that allows access to the stream processor.
    //
    // RoleArn is a required field
    RoleArn *string `type:"string" required:"true"`

    // Face recognition input parameters to be used by the stream processor. Includes
    // the collection to use for face recognition and the face attributes to detect.
    //
    // Settings is a required field
    Settings *StreamProcessorSettings `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateStreamProcessorInput) GoString Uses

func (s CreateStreamProcessorInput) GoString() string

GoString returns the string representation

func (*CreateStreamProcessorInput) SetInput Uses

func (s *CreateStreamProcessorInput) SetInput(v *StreamProcessorInput) *CreateStreamProcessorInput

SetInput sets the Input field's value.

func (*CreateStreamProcessorInput) SetName Uses

func (s *CreateStreamProcessorInput) SetName(v string) *CreateStreamProcessorInput

SetName sets the Name field's value.

func (*CreateStreamProcessorInput) SetOutput Uses

func (s *CreateStreamProcessorInput) SetOutput(v *StreamProcessorOutput) *CreateStreamProcessorInput

SetOutput sets the Output field's value.

func (*CreateStreamProcessorInput) SetRoleArn Uses

func (s *CreateStreamProcessorInput) SetRoleArn(v string) *CreateStreamProcessorInput

SetRoleArn sets the RoleArn field's value.

func (*CreateStreamProcessorInput) SetSettings Uses

func (s *CreateStreamProcessorInput) SetSettings(v *StreamProcessorSettings) *CreateStreamProcessorInput

SetSettings sets the Settings field's value.

func (CreateStreamProcessorInput) String Uses

func (s CreateStreamProcessorInput) String() string

String returns the string representation

func (*CreateStreamProcessorInput) Validate Uses

func (s *CreateStreamProcessorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateStreamProcessorOutput Uses

type CreateStreamProcessorOutput struct {

    // ARN for the newly create stream processor.
    StreamProcessorArn *string `type:"string"`
    // contains filtered or unexported fields
}

func (CreateStreamProcessorOutput) GoString Uses

func (s CreateStreamProcessorOutput) GoString() string

GoString returns the string representation

func (*CreateStreamProcessorOutput) SetStreamProcessorArn Uses

func (s *CreateStreamProcessorOutput) SetStreamProcessorArn(v string) *CreateStreamProcessorOutput

SetStreamProcessorArn sets the StreamProcessorArn field's value.

func (CreateStreamProcessorOutput) String Uses

func (s CreateStreamProcessorOutput) String() string

String returns the string representation

type CustomLabel Uses

type CustomLabel struct {

    // The confidence that the model has in the detection of the custom label. The
    // range is 0-100. A higher value indicates a higher confidence.
    Confidence *float64 `type:"float"`

    // The location of the detected object on the image that corresponds to the
    // custom label. Includes an axis aligned coarse bounding box surrounding the
    // object and a finer grain polygon for more accurate spatial information.
    Geometry *Geometry `type:"structure"`

    // The name of the custom label.
    Name *string `type:"string"`
    // contains filtered or unexported fields
}

A custom label detected in an image by a call to DetectCustomLabels.

func (CustomLabel) GoString Uses

func (s CustomLabel) GoString() string

GoString returns the string representation

func (*CustomLabel) SetConfidence Uses

func (s *CustomLabel) SetConfidence(v float64) *CustomLabel

SetConfidence sets the Confidence field's value.

func (*CustomLabel) SetGeometry Uses

func (s *CustomLabel) SetGeometry(v *Geometry) *CustomLabel

SetGeometry sets the Geometry field's value.

func (*CustomLabel) SetName Uses

func (s *CustomLabel) SetName(v string) *CustomLabel

SetName sets the Name field's value.

func (CustomLabel) String Uses

func (s CustomLabel) String() string

String returns the string representation

type DeleteCollectionInput Uses

type DeleteCollectionInput struct {

    // ID of the collection to delete.
    //
    // CollectionId is a required field
    CollectionId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteCollectionInput) GoString Uses

func (s DeleteCollectionInput) GoString() string

GoString returns the string representation

func (*DeleteCollectionInput) SetCollectionId Uses

func (s *DeleteCollectionInput) SetCollectionId(v string) *DeleteCollectionInput

SetCollectionId sets the CollectionId field's value.

func (DeleteCollectionInput) String Uses

func (s DeleteCollectionInput) String() string

String returns the string representation

func (*DeleteCollectionInput) Validate Uses

func (s *DeleteCollectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCollectionOutput Uses

type DeleteCollectionOutput struct {

    // HTTP status code that indicates the result of the operation.
    StatusCode *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (DeleteCollectionOutput) GoString Uses

func (s DeleteCollectionOutput) GoString() string

GoString returns the string representation

func (*DeleteCollectionOutput) SetStatusCode Uses

func (s *DeleteCollectionOutput) SetStatusCode(v int64) *DeleteCollectionOutput

SetStatusCode sets the StatusCode field's value.

func (DeleteCollectionOutput) String Uses

func (s DeleteCollectionOutput) String() string

String returns the string representation

type DeleteFacesInput Uses

type DeleteFacesInput struct {

    // Collection from which to remove the specific faces.
    //
    // CollectionId is a required field
    CollectionId *string `min:"1" type:"string" required:"true"`

    // An array of face IDs to delete.
    //
    // FaceIds is a required field
    FaceIds []*string `min:"1" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteFacesInput) GoString Uses

func (s DeleteFacesInput) GoString() string

GoString returns the string representation

func (*DeleteFacesInput) SetCollectionId Uses

func (s *DeleteFacesInput) SetCollectionId(v string) *DeleteFacesInput

SetCollectionId sets the CollectionId field's value.

func (*DeleteFacesInput) SetFaceIds Uses

func (s *DeleteFacesInput) SetFaceIds(v []*string) *DeleteFacesInput

SetFaceIds sets the FaceIds field's value.

func (DeleteFacesInput) String Uses

func (s DeleteFacesInput) String() string

String returns the string representation

func (*DeleteFacesInput) Validate Uses

func (s *DeleteFacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteFacesOutput Uses

type DeleteFacesOutput struct {

    // An array of strings (face IDs) of the faces that were deleted.
    DeletedFaces []*string `min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (DeleteFacesOutput) GoString Uses

func (s DeleteFacesOutput) GoString() string

GoString returns the string representation

func (*DeleteFacesOutput) SetDeletedFaces Uses

func (s *DeleteFacesOutput) SetDeletedFaces(v []*string) *DeleteFacesOutput

SetDeletedFaces sets the DeletedFaces field's value.

func (DeleteFacesOutput) String Uses

func (s DeleteFacesOutput) String() string

String returns the string representation

type DeleteStreamProcessorInput Uses

type DeleteStreamProcessorInput struct {

    // The name of the stream processor you want to delete.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteStreamProcessorInput) GoString Uses

func (s DeleteStreamProcessorInput) GoString() string

GoString returns the string representation

func (*DeleteStreamProcessorInput) SetName Uses

func (s *DeleteStreamProcessorInput) SetName(v string) *DeleteStreamProcessorInput

SetName sets the Name field's value.

func (DeleteStreamProcessorInput) String Uses

func (s DeleteStreamProcessorInput) String() string

String returns the string representation

func (*DeleteStreamProcessorInput) Validate Uses

func (s *DeleteStreamProcessorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteStreamProcessorOutput Uses

type DeleteStreamProcessorOutput struct {
    // contains filtered or unexported fields
}

func (DeleteStreamProcessorOutput) GoString Uses

func (s DeleteStreamProcessorOutput) GoString() string

GoString returns the string representation

func (DeleteStreamProcessorOutput) String Uses

func (s DeleteStreamProcessorOutput) String() string

String returns the string representation

type DescribeCollectionInput Uses

type DescribeCollectionInput struct {

    // The ID of the collection to describe.
    //
    // CollectionId is a required field
    CollectionId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeCollectionInput) GoString Uses

func (s DescribeCollectionInput) GoString() string

GoString returns the string representation

func (*DescribeCollectionInput) SetCollectionId Uses

func (s *DescribeCollectionInput) SetCollectionId(v string) *DescribeCollectionInput

SetCollectionId sets the CollectionId field's value.

func (DescribeCollectionInput) String Uses

func (s DescribeCollectionInput) String() string

String returns the string representation

func (*DescribeCollectionInput) Validate Uses

func (s *DescribeCollectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeCollectionOutput Uses

type DescribeCollectionOutput struct {

    // The Amazon Resource Name (ARN) of the collection.
    CollectionARN *string `type:"string"`

    // The number of milliseconds since the Unix epoch time until the creation of
    // the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time
    // (UTC), Thursday, 1 January 1970.
    CreationTimestamp *time.Time `type:"timestamp"`

    // The number of faces that are indexed into the collection. To index faces
    // into a collection, use IndexFaces.
    FaceCount *int64 `type:"long"`

    // The version of the face model that's used by the collection for face detection.
    //
    // For more information, see Model Versioning in the Amazon Rekognition Developer
    // Guide.
    FaceModelVersion *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeCollectionOutput) GoString Uses

func (s DescribeCollectionOutput) GoString() string

GoString returns the string representation

func (*DescribeCollectionOutput) SetCollectionARN Uses

func (s *DescribeCollectionOutput) SetCollectionARN(v string) *DescribeCollectionOutput

SetCollectionARN sets the CollectionARN field's value.

func (*DescribeCollectionOutput) SetCreationTimestamp Uses

func (s *DescribeCollectionOutput) SetCreationTimestamp(v time.Time) *DescribeCollectionOutput

SetCreationTimestamp sets the CreationTimestamp field's value.

func (*DescribeCollectionOutput) SetFaceCount Uses

func (s *DescribeCollectionOutput) SetFaceCount(v int64) *DescribeCollectionOutput

SetFaceCount sets the FaceCount field's value.

func (*DescribeCollectionOutput) SetFaceModelVersion Uses

func (s *DescribeCollectionOutput) SetFaceModelVersion(v string) *DescribeCollectionOutput

SetFaceModelVersion sets the FaceModelVersion field's value.

func (DescribeCollectionOutput) String Uses

func (s DescribeCollectionOutput) String() string

String returns the string representation

type DescribeProjectVersionsInput Uses

type DescribeProjectVersionsInput struct {

    // The maximum number of results to return per paginated call. The largest value
    // you can specify is 100. If you specify a value greater than 100, a ValidationException
    // error occurs. The default value is 100.
    MaxResults *int64 `min:"1" type:"integer"`

    // If the previous response was incomplete (because there is more results to
    // retrieve), Amazon Rekognition Custom Labels returns a pagination token in
    // the response. You can use this pagination token to retrieve the next set
    // of results.
    NextToken *string `type:"string"`

    // The Amazon Resource Name (ARN) of the project that contains the models you
    // want to describe.
    //
    // ProjectArn is a required field
    ProjectArn *string `min:"20" type:"string" required:"true"`

    // A list of model version names that you want to describe. You can add up to
    // 10 model version names to the list. If you don't specify a value, all model
    // descriptions are returned.
    VersionNames []*string `min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (DescribeProjectVersionsInput) GoString Uses

func (s DescribeProjectVersionsInput) GoString() string

GoString returns the string representation

func (*DescribeProjectVersionsInput) SetMaxResults Uses

func (s *DescribeProjectVersionsInput) SetMaxResults(v int64) *DescribeProjectVersionsInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeProjectVersionsInput) SetNextToken Uses

func (s *DescribeProjectVersionsInput) SetNextToken(v string) *DescribeProjectVersionsInput

SetNextToken sets the NextToken field's value.

func (*DescribeProjectVersionsInput) SetProjectArn Uses

func (s *DescribeProjectVersionsInput) SetProjectArn(v string) *DescribeProjectVersionsInput

SetProjectArn sets the ProjectArn field's value.

func (*DescribeProjectVersionsInput) SetVersionNames Uses

func (s *DescribeProjectVersionsInput) SetVersionNames(v []*string) *DescribeProjectVersionsInput

SetVersionNames sets the VersionNames field's value.

func (DescribeProjectVersionsInput) String Uses

func (s DescribeProjectVersionsInput) String() string

String returns the string representation

func (*DescribeProjectVersionsInput) Validate Uses

func (s *DescribeProjectVersionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeProjectVersionsOutput Uses

type DescribeProjectVersionsOutput struct {

    // If the previous response was incomplete (because there is more results to
    // retrieve), Amazon Rekognition Custom Labels returns a pagination token in
    // the response. You can use this pagination token to retrieve the next set
    // of results.
    NextToken *string `type:"string"`

    // A list of model descriptions. The list is sorted by the creation date and
    // time of the model versions, latest to earliest.
    ProjectVersionDescriptions []*ProjectVersionDescription `type:"list"`
    // contains filtered or unexported fields
}

func (DescribeProjectVersionsOutput) GoString Uses

func (s DescribeProjectVersionsOutput) GoString() string

GoString returns the string representation

func (*DescribeProjectVersionsOutput) SetNextToken Uses

func (s *DescribeProjectVersionsOutput) SetNextToken(v string) *DescribeProjectVersionsOutput

SetNextToken sets the NextToken field's value.

func (*DescribeProjectVersionsOutput) SetProjectVersionDescriptions Uses

func (s *DescribeProjectVersionsOutput) SetProjectVersionDescriptions(v []*ProjectVersionDescription) *DescribeProjectVersionsOutput

SetProjectVersionDescriptions sets the ProjectVersionDescriptions field's value.

func (DescribeProjectVersionsOutput) String Uses

func (s DescribeProjectVersionsOutput) String() string

String returns the string representation

type DescribeProjectsInput Uses

type DescribeProjectsInput struct {

    // The maximum number of results to return per paginated call. The largest value
    // you can specify is 100. If you specify a value greater than 100, a ValidationException
    // error occurs. The default value is 100.
    MaxResults *int64 `min:"1" type:"integer"`

    // If the previous response was incomplete (because there is more results to
    // retrieve), Amazon Rekognition Custom Labels returns a pagination token in
    // the response. You can use this pagination token to retrieve the next set
    // of results.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeProjectsInput) GoString Uses

func (s DescribeProjectsInput) GoString() string

GoString returns the string representation

func (*DescribeProjectsInput) SetMaxResults Uses

func (s *DescribeProjectsInput) SetMaxResults(v int64) *DescribeProjectsInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeProjectsInput) SetNextToken Uses

func (s *DescribeProjectsInput) SetNextToken(v string) *DescribeProjectsInput

SetNextToken sets the NextToken field's value.

func (DescribeProjectsInput) String Uses

func (s DescribeProjectsInput) String() string

String returns the string representation

func (*DescribeProjectsInput) Validate Uses

func (s *DescribeProjectsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeProjectsOutput Uses

type DescribeProjectsOutput struct {

    // If the previous response was incomplete (because there is more results to
    // retrieve), Amazon Rekognition Custom Labels returns a pagination token in
    // the response. You can use this pagination token to retrieve the next set
    // of results.
    NextToken *string `type:"string"`

    // A list of project descriptions. The list is sorted by the date and time the
    // projects are created.
    ProjectDescriptions []*ProjectDescription `type:"list"`
    // contains filtered or unexported fields
}

func (DescribeProjectsOutput) GoString Uses

func (s DescribeProjectsOutput) GoString() string

GoString returns the string representation

func (*DescribeProjectsOutput) SetNextToken Uses

func (s *DescribeProjectsOutput) SetNextToken(v string) *DescribeProjectsOutput

SetNextToken sets the NextToken field's value.

func (*DescribeProjectsOutput) SetProjectDescriptions Uses

func (s *DescribeProjectsOutput) SetProjectDescriptions(v []*ProjectDescription) *DescribeProjectsOutput

SetProjectDescriptions sets the ProjectDescriptions field's value.

func (DescribeProjectsOutput) String Uses

func (s DescribeProjectsOutput) String() string

String returns the string representation

type DescribeStreamProcessorInput Uses

type DescribeStreamProcessorInput struct {

    // Name of the stream processor for which you want information.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeStreamProcessorInput) GoString Uses

func (s DescribeStreamProcessorInput) GoString() string

GoString returns the string representation

func (*DescribeStreamProcessorInput) SetName Uses

func (s *DescribeStreamProcessorInput) SetName(v string) *DescribeStreamProcessorInput

SetName sets the Name field's value.

func (DescribeStreamProcessorInput) String Uses

func (s DescribeStreamProcessorInput) String() string

String returns the string representation

func (*DescribeStreamProcessorInput) Validate Uses

func (s *DescribeStreamProcessorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeStreamProcessorOutput Uses

type DescribeStreamProcessorOutput struct {

    // Date and time the stream processor was created
    CreationTimestamp *time.Time `type:"timestamp"`

    // Kinesis video stream that provides the source streaming video.
    Input *StreamProcessorInput `type:"structure"`

    // The time, in Unix format, the stream processor was last updated. For example,
    // when the stream processor moves from a running state to a failed state, or
    // when the user starts or stops the stream processor.
    LastUpdateTimestamp *time.Time `type:"timestamp"`

    // Name of the stream processor.
    Name *string `min:"1" type:"string"`

    // Kinesis data stream to which Amazon Rekognition Video puts the analysis results.
    Output *StreamProcessorOutput `type:"structure"`

    // ARN of the IAM role that allows access to the stream processor.
    RoleArn *string `type:"string"`

    // Face recognition input parameters that are being used by the stream processor.
    // Includes the collection to use for face recognition and the face attributes
    // to detect.
    Settings *StreamProcessorSettings `type:"structure"`

    // Current status of the stream processor.
    Status *string `type:"string" enum:"StreamProcessorStatus"`

    // Detailed status message about the stream processor.
    StatusMessage *string `type:"string"`

    // ARN of the stream processor.
    StreamProcessorArn *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeStreamProcessorOutput) GoString Uses

func (s DescribeStreamProcessorOutput) GoString() string

GoString returns the string representation

func (*DescribeStreamProcessorOutput) SetCreationTimestamp Uses

func (s *DescribeStreamProcessorOutput) SetCreationTimestamp(v time.Time) *DescribeStreamProcessorOutput

SetCreationTimestamp sets the CreationTimestamp field's value.

func (*DescribeStreamProcessorOutput) SetInput Uses

func (s *DescribeStreamProcessorOutput) SetInput(v *StreamProcessorInput) *DescribeStreamProcessorOutput

SetInput sets the Input field's value.

func (*DescribeStreamProcessorOutput) SetLastUpdateTimestamp Uses

func (s *DescribeStreamProcessorOutput) SetLastUpdateTimestamp(v time.Time) *DescribeStreamProcessorOutput

SetLastUpdateTimestamp sets the LastUpdateTimestamp field's value.

func (*DescribeStreamProcessorOutput) SetName Uses

func (s *DescribeStreamProcessorOutput) SetName(v string) *DescribeStreamProcessorOutput

SetName sets the Name field's value.

func (*DescribeStreamProcessorOutput) SetOutput Uses

func (s *DescribeStreamProcessorOutput) SetOutput(v *StreamProcessorOutput) *DescribeStreamProcessorOutput

SetOutput sets the Output field's value.

func (*DescribeStreamProcessorOutput) SetRoleArn Uses

func (s *DescribeStreamProcessorOutput) SetRoleArn(v string) *DescribeStreamProcessorOutput

SetRoleArn sets the RoleArn field's value.

func (*DescribeStreamProcessorOutput) SetSettings Uses

func (s *DescribeStreamProcessorOutput) SetSettings(v *StreamProcessorSettings) *DescribeStreamProcessorOutput

SetSettings sets the Settings field's value.

func (*DescribeStreamProcessorOutput) SetStatus Uses

func (s *DescribeStreamProcessorOutput) SetStatus(v string) *DescribeStreamProcessorOutput

SetStatus sets the Status field's value.

func (*DescribeStreamProcessorOutput) SetStatusMessage Uses

func (s *DescribeStreamProcessorOutput) SetStatusMessage(v string) *DescribeStreamProcessorOutput

SetStatusMessage sets the StatusMessage field's value.

func (*DescribeStreamProcessorOutput) SetStreamProcessorArn Uses

func (s *DescribeStreamProcessorOutput) SetStreamProcessorArn(v string) *DescribeStreamProcessorOutput

SetStreamProcessorArn sets the StreamProcessorArn field's value.

func (DescribeStreamProcessorOutput) String Uses

func (s DescribeStreamProcessorOutput) String() string

String returns the string representation

type DetectCustomLabelsInput Uses

type DetectCustomLabelsInput struct {

    // Provides the input image either as bytes or an S3 object.
    //
    // You pass image bytes to an Amazon Rekognition API operation by using the
    // Bytes property. For example, you would use the Bytes property to pass an
    // image loaded from a local file system. Image bytes passed by using the Bytes
    // property must be base64-encoded. Your code may not need to encode image bytes
    // if you are using an AWS SDK to call Amazon Rekognition API operations.
    //
    // For more information, see Analyzing an Image Loaded from a Local File System
    // in the Amazon Rekognition Developer Guide.
    //
    // You pass images stored in an S3 bucket to an Amazon Rekognition API operation
    // by using the S3Object property. Images stored in an S3 bucket do not need
    // to be base64-encoded.
    //
    // The region for the S3 bucket containing the S3 object must match the region
    // you use for Amazon Rekognition operations.
    //
    // If you use the AWS CLI to call Amazon Rekognition operations, passing image
    // bytes using the Bytes property is not supported. You must first upload the
    // image to an Amazon S3 bucket and then call the operation using the S3Object
    // property.
    //
    // For Amazon Rekognition to process an S3 object, the user must have permission
    // to access the S3 object. For more information, see Resource Based Policies
    // in the Amazon Rekognition Developer Guide.
    //
    // Image is a required field
    Image *Image `type:"structure" required:"true"`

    // Maximum number of results you want the service to return in the response.
    // The service returns the specified number of highest confidence labels ranked
    // from highest confidence to lowest.
    MaxResults *int64 `type:"integer"`

    // Specifies the minimum confidence level for the labels to return. Amazon Rekognition
    // doesn't return any labels with a confidence lower than this specified value.
    // If you specify a value of 0, all labels are return, regardless of the default
    // thresholds that the model version applies.
    MinConfidence *float64 `type:"float"`

    // The ARN of the model version that you want to use.
    //
    // ProjectVersionArn is a required field
    ProjectVersionArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DetectCustomLabelsInput) GoString Uses

func (s DetectCustomLabelsInput) GoString() string

GoString returns the string representation

func (*DetectCustomLabelsInput) SetImage Uses

func (s *DetectCustomLabelsInput) SetImage(v *Image) *DetectCustomLabelsInput

SetImage sets the Image field's value.

func (*DetectCustomLabelsInput) SetMaxResults Uses

func (s *DetectCustomLabelsInput) SetMaxResults(v int64) *DetectCustomLabelsInput

SetMaxResults sets the MaxResults field's value.

func (*DetectCustomLabelsInput) SetMinConfidence Uses

func (s *DetectCustomLabelsInput) SetMinConfidence(v float64) *DetectCustomLabelsInput

SetMinConfidence sets the MinConfidence field's value.

func (*DetectCustomLabelsInput) SetProjectVersionArn Uses

func (s *DetectCustomLabelsInput) SetProjectVersionArn(v string) *DetectCustomLabelsInput

SetProjectVersionArn sets the ProjectVersionArn field's value.

func (DetectCustomLabelsInput) String Uses

func (s DetectCustomLabelsInput) String() string

String returns the string representation

func (*DetectCustomLabelsInput) Validate Uses

func (s *DetectCustomLabelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetectCustomLabelsOutput Uses

type DetectCustomLabelsOutput struct {

    // An array of custom labels detected in the input image.
    CustomLabels []*CustomLabel `type:"list"`
    // contains filtered or unexported fields
}

func (DetectCustomLabelsOutput) GoString Uses

func (s DetectCustomLabelsOutput) GoString() string

GoString returns the string representation

func (*DetectCustomLabelsOutput) SetCustomLabels Uses

func (s *DetectCustomLabelsOutput) SetCustomLabels(v []*CustomLabel) *DetectCustomLabelsOutput

SetCustomLabels sets the CustomLabels field's value.

func (DetectCustomLabelsOutput) String Uses

func (s DetectCustomLabelsOutput) String() string

String returns the string representation

type DetectFacesInput Uses

type DetectFacesInput struct {

    // An array of facial attributes you want to be returned. This can be the default
    // list of attributes or all attributes. If you don't specify a value for Attributes
    // or if you specify ["DEFAULT"], the API returns the following subset of facial
    // attributes: BoundingBox, Confidence, Pose, Quality, and Landmarks. If you
    // provide ["ALL"], all facial attributes are returned, but the operation takes
    // longer to complete.
    //
    // If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator
    // to determine which attributes to return (in this case, all attributes).
    Attributes []*string `type:"list"`

    // The input image as base64-encoded bytes or an S3 object. If you use the AWS
    // CLI to call Amazon Rekognition operations, passing base64-encoded image bytes
    // is not supported.
    //
    // If you are using an AWS SDK to call Amazon Rekognition, you might not need
    // to base64-encode image bytes passed using the Bytes field. For more information,
    // see Images in the Amazon Rekognition developer guide.
    //
    // Image is a required field
    Image *Image `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DetectFacesInput) GoString Uses

func (s DetectFacesInput) GoString() string

GoString returns the string representation

func (*DetectFacesInput) SetAttributes Uses

func (s *DetectFacesInput) SetAttributes(v []*string) *DetectFacesInput

SetAttributes sets the Attributes field's value.

func (*DetectFacesInput) SetImage Uses

func (s *DetectFacesInput) SetImage(v *Image) *DetectFacesInput

SetImage sets the Image field's value.

func (DetectFacesInput) String Uses

func (s DetectFacesInput) String() string

String returns the string representation

func (*DetectFacesInput) Validate Uses

func (s *DetectFacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetectFacesOutput Uses

type DetectFacesOutput struct {

    // Details of each face found in the image.
    FaceDetails []*FaceDetail `type:"list"`

    // The value of OrientationCorrection is always null.
    //
    // If the input image is in .jpeg format, it might contain exchangeable image
    // file format (Exif) metadata that includes the image's orientation. Amazon
    // Rekognition uses this orientation information to perform image correction.
    // The bounding box coordinates are translated to represent object locations
    // after the orientation information in the Exif metadata is used to correct
    // the image orientation. Images in .png format don't contain Exif metadata.
    //
    // Amazon Rekognition doesn’t perform image correction for images in .png
    // format and .jpeg images without orientation information in the image Exif
    // metadata. The bounding box coordinates aren't translated and represent the
    // object locations before the image is rotated.
    OrientationCorrection *string `type:"string" enum:"OrientationCorrection"`
    // contains filtered or unexported fields
}

func (DetectFacesOutput) GoString Uses

func (s DetectFacesOutput) GoString() string

GoString returns the string representation

func (*DetectFacesOutput) SetFaceDetails Uses

func (s *DetectFacesOutput) SetFaceDetails(v []*FaceDetail) *DetectFacesOutput

SetFaceDetails sets the FaceDetails field's value.

func (*DetectFacesOutput) SetOrientationCorrection Uses

func (s *DetectFacesOutput) SetOrientationCorrection(v string) *DetectFacesOutput

SetOrientationCorrection sets the OrientationCorrection field's value.

func (DetectFacesOutput) String Uses

func (s DetectFacesOutput) String() string

String returns the string representation

type DetectLabelsInput Uses

type DetectLabelsInput struct {

    // The input image as base64-encoded bytes or an S3 object. If you use the AWS
    // CLI to call Amazon Rekognition operations, passing image bytes is not supported.
    // Images stored in an S3 Bucket do not need to be base64-encoded.
    //
    // If you are using an AWS SDK to call Amazon Rekognition, you might not need
    // to base64-encode image bytes passed using the Bytes field. For more information,
    // see Images in the Amazon Rekognition developer guide.
    //
    // Image is a required field
    Image *Image `type:"structure" required:"true"`

    // Maximum number of labels you want the service to return in the response.
    // The service returns the specified number of highest confidence labels.
    MaxLabels *int64 `type:"integer"`

    // Specifies the minimum confidence level for the labels to return. Amazon Rekognition
    // doesn't return any labels with confidence lower than this specified value.
    //
    // If MinConfidence is not specified, the operation returns labels with a confidence
    // values greater than or equal to 55 percent.
    MinConfidence *float64 `type:"float"`
    // contains filtered or unexported fields
}

func (DetectLabelsInput) GoString Uses

func (s DetectLabelsInput) GoString() string

GoString returns the string representation

func (*DetectLabelsInput) SetImage Uses

func (s *DetectLabelsInput) SetImage(v *Image) *DetectLabelsInput

SetImage sets the Image field's value.

func (*DetectLabelsInput) SetMaxLabels Uses

func (s *DetectLabelsInput) SetMaxLabels(v int64) *DetectLabelsInput

SetMaxLabels sets the MaxLabels field's value.

func (*DetectLabelsInput) SetMinConfidence Uses

func (s *DetectLabelsInput) SetMinConfidence(v float64) *DetectLabelsInput

SetMinConfidence sets the MinConfidence field's value.

func (DetectLabelsInput) String Uses

func (s DetectLabelsInput) String() string

String returns the string representation

func (*DetectLabelsInput) Validate Uses

func (s *DetectLabelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetectLabelsOutput Uses

type DetectLabelsOutput struct {

    // Version number of the label detection model that was used to detect labels.
    LabelModelVersion *string `type:"string"`

    // An array of labels for the real-world objects detected.
    Labels []*Label `type:"list"`

    // The value of OrientationCorrection is always null.
    //
    // If the input image is in .jpeg format, it might contain exchangeable image
    // file format (Exif) metadata that includes the image's orientation. Amazon
    // Rekognition uses this orientation information to perform image correction.
    // The bounding box coordinates are translated to represent object locations
    // after the orientation information in the Exif metadata is used to correct
    // the image orientation. Images in .png format don't contain Exif metadata.
    //
    // Amazon Rekognition doesn’t perform image correction for images in .png
    // format and .jpeg images without orientation information in the image Exif
    // metadata. The bounding box coordinates aren't translated and represent the
    // object locations before the image is rotated.
    OrientationCorrection *string `type:"string" enum:"OrientationCorrection"`
    // contains filtered or unexported fields
}

func (DetectLabelsOutput) GoString Uses

func (s DetectLabelsOutput) GoString() string

GoString returns the string representation

func (*DetectLabelsOutput) SetLabelModelVersion Uses

func (s *DetectLabelsOutput) SetLabelModelVersion(v string) *DetectLabelsOutput

SetLabelModelVersion sets the LabelModelVersion field's value.

func (*DetectLabelsOutput) SetLabels Uses

func (s *DetectLabelsOutput) SetLabels(v []*Label) *DetectLabelsOutput

SetLabels sets the Labels field's value.

func (*DetectLabelsOutput) SetOrientationCorrection Uses

func (s *DetectLabelsOutput) SetOrientationCorrection(v string) *DetectLabelsOutput

SetOrientationCorrection sets the OrientationCorrection field's value.

func (DetectLabelsOutput) String Uses

func (s DetectLabelsOutput) String() string

String returns the string representation

type DetectModerationLabelsInput Uses

type DetectModerationLabelsInput struct {

    // Sets up the configuration for human evaluation, including the FlowDefinition
    // the image will be sent to.
    HumanLoopConfig *HumanLoopConfig `type:"structure"`

    // The input image as base64-encoded bytes or an S3 object. If you use the AWS
    // CLI to call Amazon Rekognition operations, passing base64-encoded image bytes
    // is not supported.
    //
    // If you are using an AWS SDK to call Amazon Rekognition, you might not need
    // to base64-encode image bytes passed using the Bytes field. For more information,
    // see Images in the Amazon Rekognition developer guide.
    //
    // Image is a required field
    Image *Image `type:"structure" required:"true"`

    // Specifies the minimum confidence level for the labels to return. Amazon Rekognition
    // doesn't return any labels with a confidence level lower than this specified
    // value.
    //
    // If you don't specify MinConfidence, the operation returns labels with confidence
    // values greater than or equal to 50 percent.
    MinConfidence *float64 `type:"float"`
    // contains filtered or unexported fields
}

func (DetectModerationLabelsInput) GoString Uses

func (s DetectModerationLabelsInput) GoString() string

GoString returns the string representation

func (*DetectModerationLabelsInput) SetHumanLoopConfig Uses

func (s *DetectModerationLabelsInput) SetHumanLoopConfig(v *HumanLoopConfig) *DetectModerationLabelsInput

SetHumanLoopConfig sets the HumanLoopConfig field's value.

func (*DetectModerationLabelsInput) SetImage Uses

func (s *DetectModerationLabelsInput) SetImage(v *Image) *DetectModerationLabelsInput

SetImage sets the Image field's value.

func (*DetectModerationLabelsInput) SetMinConfidence Uses

func (s *DetectModerationLabelsInput) SetMinConfidence(v float64) *DetectModerationLabelsInput

SetMinConfidence sets the MinConfidence field's value.

func (DetectModerationLabelsInput) String Uses

func (s DetectModerationLabelsInput) String() string

String returns the string representation

func (*DetectModerationLabelsInput) Validate Uses

func (s *DetectModerationLabelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetectModerationLabelsOutput Uses

type DetectModerationLabelsOutput struct {

    // Shows the results of the human in the loop evaluation.
    HumanLoopActivationOutput *HumanLoopActivationOutput `type:"structure"`

    // Array of detected Moderation labels and the time, in milliseconds from the
    // start of the video, they were detected.
    ModerationLabels []*ModerationLabel `type:"list"`

    // Version number of the moderation detection model that was used to detect
    // unsafe content.
    ModerationModelVersion *string `type:"string"`
    // contains filtered or unexported fields
}

func (DetectModerationLabelsOutput) GoString Uses

func (s DetectModerationLabelsOutput) GoString() string

GoString returns the string representation

func (*DetectModerationLabelsOutput) SetHumanLoopActivationOutput Uses

func (s *DetectModerationLabelsOutput) SetHumanLoopActivationOutput(v *HumanLoopActivationOutput) *DetectModerationLabelsOutput

SetHumanLoopActivationOutput sets the HumanLoopActivationOutput field's value.

func (*DetectModerationLabelsOutput) SetModerationLabels Uses

func (s *DetectModerationLabelsOutput) SetModerationLabels(v []*ModerationLabel) *DetectModerationLabelsOutput

SetModerationLabels sets the ModerationLabels field's value.

func (*DetectModerationLabelsOutput) SetModerationModelVersion Uses

func (s *DetectModerationLabelsOutput) SetModerationModelVersion(v string) *DetectModerationLabelsOutput

SetModerationModelVersion sets the ModerationModelVersion field's value.

func (DetectModerationLabelsOutput) String Uses

func (s DetectModerationLabelsOutput) String() string

String returns the string representation

type DetectTextFilters Uses

type DetectTextFilters struct {

    // A Filter focusing on a certain area of the image. Uses a BoundingBox object
    // to set the region of the image.
    RegionsOfInterest []*RegionOfInterest `type:"list"`

    // A set of parameters that allow you to filter out certain results from your
    // returned results.
    WordFilter *DetectionFilter `type:"structure"`
    // contains filtered or unexported fields
}

A set of optional parameters that you can use to set the criteria that the text must meet to be included in your response. WordFilter looks at a word’s height, width, and minimum confidence. RegionOfInterest lets you set a specific region of the image to look for text in.

func (DetectTextFilters) GoString Uses

func (s DetectTextFilters) GoString() string

GoString returns the string representation

func (*DetectTextFilters) SetRegionsOfInterest Uses

func (s *DetectTextFilters) SetRegionsOfInterest(v []*RegionOfInterest) *DetectTextFilters

SetRegionsOfInterest sets the RegionsOfInterest field's value.

func (*DetectTextFilters) SetWordFilter Uses

func (s *DetectTextFilters) SetWordFilter(v *DetectionFilter) *DetectTextFilters

SetWordFilter sets the WordFilter field's value.

func (DetectTextFilters) String Uses

func (s DetectTextFilters) String() string

String returns the string representation

type DetectTextInput Uses

type DetectTextInput struct {

    // Optional parameters that let you set the criteria that the text must meet
    // to be included in your response.
    Filters *DetectTextFilters `type:"structure"`

    // The input image as base64-encoded bytes or an Amazon S3 object. If you use
    // the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.
    //
    // If you are using an AWS SDK to call Amazon Rekognition, you might not need
    // to base64-encode image bytes passed using the Bytes field. For more information,
    // see Images in the Amazon Rekognition developer guide.
    //
    // Image is a required field
    Image *Image `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DetectTextInput) GoString Uses

func (s DetectTextInput) GoString() string

GoString returns the string representation

func (*DetectTextInput) SetFilters Uses

func (s *DetectTextInput) SetFilters(v *DetectTextFilters) *DetectTextInput

SetFilters sets the Filters field's value.

func (*DetectTextInput) SetImage Uses

func (s *DetectTextInput) SetImage(v *Image) *DetectTextInput

SetImage sets the Image field's value.

func (DetectTextInput) String Uses

func (s DetectTextInput) String() string

String returns the string representation

func (*DetectTextInput) Validate Uses

func (s *DetectTextInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetectTextOutput Uses

type DetectTextOutput struct {

    // An array of text that was detected in the input image.
    TextDetections []*TextDetection `type:"list"`

    // The model version used to detect text.
    TextModelVersion *string `type:"string"`
    // contains filtered or unexported fields
}

func (DetectTextOutput) GoString Uses

func (s DetectTextOutput) GoString() string

GoString returns the string representation

func (*DetectTextOutput) SetTextDetections Uses

func (s *DetectTextOutput) SetTextDetections(v []*TextDetection) *DetectTextOutput

SetTextDetections sets the TextDetections field's value.

func (*DetectTextOutput) SetTextModelVersion Uses

func (s *DetectTextOutput) SetTextModelVersion(v string) *DetectTextOutput

SetTextModelVersion sets the TextModelVersion field's value.

func (DetectTextOutput) String Uses

func (s DetectTextOutput) String() string

String returns the string representation

type DetectionFilter Uses

type DetectionFilter struct {

    // Sets the minimum height of the word bounding box. Words with bounding box
    // heights lesser than this value will be excluded from the result. Value is
    // relative to the video frame height.
    MinBoundingBoxHeight *float64 `type:"float"`

    // Sets the minimum width of the word bounding box. Words with bounding boxes
    // widths lesser than this value will be excluded from the result. Value is
    // relative to the video frame width.
    MinBoundingBoxWidth *float64 `type:"float"`

    // Sets confidence of word detection. Words with detection confidence below
    // this will be excluded from the result. Values should be between 0.5 and 1
    // as Text in Video will not return any result below 0.5.
    MinConfidence *float64 `type:"float"`
    // contains filtered or unexported fields
}

A set of parameters that allow you to filter out certain results from your returned results.

func (DetectionFilter) GoString Uses

func (s DetectionFilter) GoString() string

GoString returns the string representation

func (*DetectionFilter) SetMinBoundingBoxHeight Uses

func (s *DetectionFilter) SetMinBoundingBoxHeight(v float64) *DetectionFilter

SetMinBoundingBoxHeight sets the MinBoundingBoxHeight field's value.

func (*DetectionFilter) SetMinBoundingBoxWidth Uses

func (s *DetectionFilter) SetMinBoundingBoxWidth(v float64) *DetectionFilter

SetMinBoundingBoxWidth sets the MinBoundingBoxWidth field's value.

func (*DetectionFilter) SetMinConfidence Uses

func (s *DetectionFilter) SetMinConfidence(v float64) *DetectionFilter

SetMinConfidence sets the MinConfidence field's value.

func (DetectionFilter) String Uses

func (s DetectionFilter) String() string

String returns the string representation

type Emotion Uses

type Emotion struct {

    // Level of confidence in the determination.
    Confidence *float64 `type:"float"`

    // Type of emotion detected.
    Type *string `type:"string" enum:"EmotionName"`
    // contains filtered or unexported fields
}

The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.

func (Emotion) GoString Uses

func (s Emotion) GoString() string

GoString returns the string representation

func (*Emotion) SetConfidence Uses

func (s *Emotion) SetConfidence(v float64) *Emotion

SetConfidence sets the Confidence field's value.

func (*Emotion) SetType Uses

func (s *Emotion) SetType(v string) *Emotion

SetType sets the Type field's value.

func (Emotion) String Uses

func (s Emotion) String() string

String returns the string representation

type EvaluationResult Uses

type EvaluationResult struct {

    // The F1 score for the evaluation of all labels. The F1 score metric evaluates
    // the overall precision and recall performance of the model as a single value.
    // A higher value indicates better precision and recall performance. A lower
    // score indicates that precision, recall, or both are performing poorly.
    F1Score *float64 `type:"float"`

    // The S3 bucket that contains the training summary.
    Summary *Summary `type:"structure"`
    // contains filtered or unexported fields
}

The evaluation results for the training of a model.

func (EvaluationResult) GoString Uses

func (s EvaluationResult) GoString() string

GoString returns the string representation

func (*EvaluationResult) SetF1Score Uses

func (s *EvaluationResult) SetF1Score(v float64) *EvaluationResult

SetF1Score sets the F1Score field's value.

func (*EvaluationResult) SetSummary Uses

func (s *EvaluationResult) SetSummary(v *Summary) *EvaluationResult

SetSummary sets the Summary field's value.

func (EvaluationResult) String Uses

func (s EvaluationResult) String() string

String returns the string representation

type EyeOpen Uses

type EyeOpen struct {

    // Level of confidence in the determination.
    Confidence *float64 `type:"float"`

    // Boolean value that indicates whether the eyes on the face are open.
    Value *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Indicates whether or not the eyes on the face are open, and the confidence level in the determination.

func (EyeOpen) GoString Uses

func (s EyeOpen) GoString() string

GoString returns the string representation

func (*EyeOpen) SetConfidence Uses

func (s *EyeOpen) SetConfidence(v float64) *EyeOpen

SetConfidence sets the Confidence field's value.

func (*EyeOpen) SetValue Uses

func (s *EyeOpen) SetValue(v bool) *EyeOpen

SetValue sets the Value field's value.

func (EyeOpen) String Uses

func (s EyeOpen) String() string

String returns the string representation

type Eyeglasses Uses

type Eyeglasses struct {

    // Level of confidence in the determination.
    Confidence *float64 `type:"float"`

    // Boolean value that indicates whether the face is wearing eye glasses or not.
    Value *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Indicates whether or not the face is wearing eye glasses, and the confidence level in the determination.

func (Eyeglasses) GoString Uses

func (s Eyeglasses) GoString() string

GoString returns the string representation

func (*Eyeglasses) SetConfidence Uses

func (s *Eyeglasses) SetConfidence(v float64) *Eyeglasses

SetConfidence sets the Confidence field's value.

func (*Eyeglasses) SetValue Uses

func (s *Eyeglasses) SetValue(v bool) *Eyeglasses

SetValue sets the Value field's value.

func (Eyeglasses) String Uses

func (s Eyeglasses) String() string

String returns the string representation

type Face Uses

type Face struct {

    // Bounding box of the face.
    BoundingBox *BoundingBox `type:"structure"`

    // Confidence level that the bounding box contains a face (and not a different
    // object such as a tree).
    Confidence *float64 `type:"float"`

    // Identifier that you assign to all the faces in the input image.
    ExternalImageId *string `min:"1" type:"string"`

    // Unique identifier that Amazon Rekognition assigns to the face.
    FaceId *string `type:"string"`

    // Unique identifier that Amazon Rekognition assigns to the input image.
    ImageId *string `type:"string"`
    // contains filtered or unexported fields
}

Describes the face properties such as the bounding box, face ID, image ID of the input image, and external image ID that you assigned.

func (Face) GoString Uses

func (s Face) GoString() string

GoString returns the string representation

func (*Face) SetBoundingBox Uses

func (s *Face) SetBoundingBox(v *BoundingBox) *Face

SetBoundingBox sets the BoundingBox field's value.

func (*Face) SetConfidence Uses

func (s *Face) SetConfidence(v float64) *Face

SetConfidence sets the Confidence field's value.

func (*Face) SetExternalImageId Uses

func (s *Face) SetExternalImageId(v string) *Face

SetExternalImageId sets the ExternalImageId field's value.

func (*Face) SetFaceId Uses

func (s *Face) SetFaceId(v string) *Face

SetFaceId sets the FaceId field's value.

func (*Face) SetImageId Uses

func (s *Face) SetImageId(v string) *Face

SetImageId sets the ImageId field's value.

func (Face) String Uses

func (s Face) String() string

String returns the string representation

type FaceDetail Uses

type FaceDetail struct {

    // The estimated age range, in years, for the face. Low represents the lowest
    // estimated age and High represents the highest estimated age.
    AgeRange *AgeRange `type:"structure"`

    // Indicates whether or not the face has a beard, and the confidence level in
    // the determination.
    Beard *Beard `type:"structure"`

    // Bounding box of the face. Default attribute.
    BoundingBox *BoundingBox `type:"structure"`

    // Confidence level that the bounding box contains a face (and not a different
    // object such as a tree). Default attribute.
    Confidence *float64 `type:"float"`

    // The emotions that appear to be expressed on the face, and the confidence
    // level in the determination. The API is only making a determination of the
    // physical appearance of a person's face. It is not a determination of the
    // person’s internal emotional state and should not be used in such a way.
    // For example, a person pretending to have a sad face might not be sad emotionally.
    Emotions []*Emotion `type:"list"`

    // Indicates whether or not the face is wearing eye glasses, and the confidence
    // level in the determination.
    Eyeglasses *Eyeglasses `type:"structure"`

    // Indicates whether or not the eyes on the face are open, and the confidence
    // level in the determination.
    EyesOpen *EyeOpen `type:"structure"`

    // The predicted gender of a detected face.
    Gender *Gender `type:"structure"`

    // Indicates the location of landmarks on the face. Default attribute.
    Landmarks []*Landmark `type:"list"`

    // Indicates whether or not the mouth on the face is open, and the confidence
    // level in the determination.
    MouthOpen *MouthOpen `type:"structure"`

    // Indicates whether or not the face has a mustache, and the confidence level
    // in the determination.
    Mustache *Mustache `type:"structure"`

    // Indicates the pose of the face as determined by its pitch, roll, and yaw.
    // Default attribute.
    Pose *Pose `type:"structure"`

    // Identifies image brightness and sharpness. Default attribute.
    Quality *ImageQuality `type:"structure"`

    // Indicates whether or not the face is smiling, and the confidence level in
    // the determination.
    Smile *Smile `type:"structure"`

    // Indicates whether or not the face is wearing sunglasses, and the confidence
    // level in the determination.
    Sunglasses *Sunglasses `type:"structure"`
    // contains filtered or unexported fields
}

Structure containing attributes of the face that the algorithm detected.

A FaceDetail object contains either the default facial attributes or all facial attributes. The default attributes are BoundingBox, Confidence, Landmarks, Pose, and Quality.

GetFaceDetection is the only Amazon Rekognition Video stored video operation that can return a FaceDetail object with all attributes. To specify which attributes to return, use the FaceAttributes input parameter for StartFaceDetection. The following Amazon Rekognition Video operations return only the default attributes. The corresponding Start operations don't have a FaceAttributes input parameter.

* GetCelebrityRecognition

* GetPersonTracking

* GetFaceSearch

The Amazon Rekognition Image DetectFaces and IndexFaces operations can return all facial attributes. To specify which attributes to return, use the Attributes input parameter for DetectFaces. For IndexFaces, use the DetectAttributes input parameter.

func (FaceDetail) GoString Uses

func (s FaceDetail) GoString() string

GoString returns the string representation

func (*FaceDetail) SetAgeRange Uses

func (s *FaceDetail) SetAgeRange(v *AgeRange) *FaceDetail

SetAgeRange sets the AgeRange field's value.

func (*FaceDetail) SetBeard Uses

func (s *FaceDetail) SetBeard(v *Beard) *FaceDetail

SetBeard sets the Beard field's value.

func (*FaceDetail) SetBoundingBox Uses

func (s *FaceDetail) SetBoundingBox(v *BoundingBox) *FaceDetail

SetBoundingBox sets the BoundingBox field's value.

func (*FaceDetail) SetConfidence Uses

func (s *FaceDetail) SetConfidence(v float64) *FaceDetail

SetConfidence sets the Confidence field's value.

func (*FaceDetail) SetEmotions Uses

func (s *FaceDetail) SetEmotions(v []*Emotion) *FaceDetail

SetEmotions sets the Emotions field's value.

func (*FaceDetail) SetEyeglasses Uses

func (s *FaceDetail) SetEyeglasses(v *Eyeglasses) *FaceDetail

SetEyeglasses sets the Eyeglasses field's value.

func (*FaceDetail) SetEyesOpen Uses

func (s *FaceDetail) SetEyesOpen(v *EyeOpen) *FaceDetail

SetEyesOpen sets the EyesOpen field's value.

func (*FaceDetail) SetGender Uses

func (s *FaceDetail) SetGender(v *Gender) *FaceDetail

SetGender sets the Gender field's value.

func (*FaceDetail) SetLandmarks Uses

func (s *FaceDetail) SetLandmarks(v []*Landmark) *FaceDetail

SetLandmarks sets the Landmarks field's value.

func (*FaceDetail) SetMouthOpen Uses

func (s *FaceDetail) SetMouthOpen(v *MouthOpen) *FaceDetail

SetMouthOpen sets the MouthOpen field's value.

func (*FaceDetail) SetMustache Uses

func (s *FaceDetail) SetMustache(v *Mustache) *FaceDetail

SetMustache sets the Mustache field's value.

func (*FaceDetail) SetPose Uses

func (s *FaceDetail) SetPose(v *Pose) *FaceDetail

SetPose sets the Pose field's value.

func (*FaceDetail) SetQuality Uses

func (s *FaceDetail) SetQuality(v *ImageQuality) *FaceDetail

SetQuality sets the Quality field's value.

func (*FaceDetail) SetSmile Uses

func (s *FaceDetail) SetSmile(v *Smile) *FaceDetail

SetSmile sets the Smile field's value.

func (*FaceDetail) SetSunglasses Uses

func (s *FaceDetail) SetSunglasses(v *Sunglasses) *FaceDetail

SetSunglasses sets the Sunglasses field's value.

func (FaceDetail) String Uses

func (s FaceDetail) String() string

String returns the string representation

type FaceDetection Uses

type FaceDetection struct {

    // The face properties for the detected face.
    Face *FaceDetail `type:"structure"`

    // Time, in milliseconds from the start of the video, that the face was detected.
    Timestamp *int64 `type:"long"`
    // contains filtered or unexported fields
}

Information about a face detected in a video analysis request and the time the face was detected in the video.

func (FaceDetection) GoString Uses

func (s FaceDetection) GoString() string

GoString returns the string representation

func (*FaceDetection) SetFace Uses

func (s *FaceDetection) SetFace(v *FaceDetail) *FaceDetection

SetFace sets the Face field's value.

func (*FaceDetection) SetTimestamp Uses

func (s *FaceDetection) SetTimestamp(v int64) *FaceDetection

SetTimestamp sets the Timestamp field's value.

func (FaceDetection) String Uses

func (s FaceDetection) String() string

String returns the string representation

type FaceMatch Uses

type FaceMatch struct {

    // Describes the face properties such as the bounding box, face ID, image ID
    // of the source image, and external image ID that you assigned.
    Face *Face `type:"structure"`

    // Confidence in the match of this face with the input face.
    Similarity *float64 `type:"float"`
    // contains filtered or unexported fields
}

Provides face metadata. In addition, it also provides the confidence in the match of this face with the input face.

func (FaceMatch) GoString Uses

func (s FaceMatch) GoString() string

GoString returns the string representation

func (*FaceMatch) SetFace Uses

func (s *FaceMatch) SetFace(v *Face) *FaceMatch

SetFace sets the Face field's value.

func (*FaceMatch) SetSimilarity Uses

func (s *FaceMatch) SetSimilarity(v float64) *FaceMatch

SetSimilarity sets the Similarity field's value.

func (FaceMatch) String Uses

func (s FaceMatch) String() string

String returns the string representation

type FaceRecord Uses

type FaceRecord struct {

    // Describes the face properties such as the bounding box, face ID, image ID
    // of the input image, and external image ID that you assigned.
    Face *Face `type:"structure"`

    // Structure containing attributes of the face that the algorithm detected.
    FaceDetail *FaceDetail `type:"structure"`
    // contains filtered or unexported fields
}

Object containing both the face metadata (stored in the backend database), and facial attributes that are detected but aren't stored in the database.

func (FaceRecord) GoString Uses

func (s FaceRecord) GoString() string

GoString returns the string representation

func (*FaceRecord) SetFace Uses

func (s *FaceRecord) SetFace(v *Face) *FaceRecord

SetFace sets the Face field's value.

func (*FaceRecord) SetFaceDetail Uses

func (s *FaceRecord) SetFaceDetail(v *FaceDetail) *FaceRecord

SetFaceDetail sets the FaceDetail field's value.

func (FaceRecord) String Uses

func (s FaceRecord) String() string

String returns the string representation

type FaceSearchSettings Uses

type FaceSearchSettings struct {

    // The ID of a collection that contains faces that you want to search for.
    CollectionId *string `min:"1" type:"string"`

    // Minimum face match confidence score that must be met to return a result for
    // a recognized face. Default is 80. 0 is the lowest confidence. 100 is the
    // highest confidence.
    FaceMatchThreshold *float64 `type:"float"`
    // contains filtered or unexported fields
}

Input face recognition parameters for an Amazon Rekognition stream processor. FaceRecognitionSettings is a request parameter for CreateStreamProcessor.

func (FaceSearchSettings) GoString Uses

func (s FaceSearchSettings) GoString() string

GoString returns the string representation

func (*FaceSearchSettings) SetCollectionId Uses

func (s *FaceSearchSettings) SetCollectionId(v string) *FaceSearchSettings

SetCollectionId sets the CollectionId field's value.

func (*FaceSearchSettings) SetFaceMatchThreshold Uses

func (s *FaceSearchSettings) SetFaceMatchThreshold(v float64) *FaceSearchSettings

SetFaceMatchThreshold sets the FaceMatchThreshold field's value.

func (FaceSearchSettings) String Uses

func (s FaceSearchSettings) String() string

String returns the string representation

func (*FaceSearchSettings) Validate Uses

func (s *FaceSearchSettings) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Gender Uses

type Gender struct {

    // Level of confidence in the prediction.
    Confidence *float64 `type:"float"`

    // The predicted gender of the face.
    Value *string `type:"string" enum:"GenderType"`
    // contains filtered or unexported fields
}

The predicted gender of a detected face.

Amazon Rekognition makes gender binary (male/female) predictions based on the physical appearance of a face in a particular image. This kind of prediction is not designed to categorize a person’s gender identity, and you shouldn't use Amazon Rekognition to make such a determination. For example, a male actor wearing a long-haired wig and earrings for a role might be predicted as female.

Using Amazon Rekognition to make gender binary predictions is best suited for use cases where aggregate gender distribution statistics need to be analyzed without identifying specific users. For example, the percentage of female users compared to male users on a social media platform.

We don't recommend using gender binary predictions to make decisions that impact an individual's rights, privacy, or access to services.

func (Gender) GoString Uses

func (s Gender) GoString() string

GoString returns the string representation

func (*Gender) SetConfidence Uses

func (s *Gender) SetConfidence(v float64) *Gender

SetConfidence sets the Confidence field's value.

func (*Gender) SetValue Uses

func (s *Gender) SetValue(v string) *Gender

SetValue sets the Value field's value.

func (Gender) String Uses

func (s Gender) String() string

String returns the string representation

type Geometry Uses

type Geometry struct {

    // An axis-aligned coarse representation of the detected item's location on
    // the image.
    BoundingBox *BoundingBox `type:"structure"`

    // Within the bounding box, a fine-grained polygon around the detected item.
    Polygon []*Point `type:"list"`
    // contains filtered or unexported fields
}

Information about where an object (DetectCustomLabels) or text (DetectText) is located on an image.

func (Geometry) GoString Uses

func (s Geometry) GoString() string

GoString returns the string representation

func (*Geometry) SetBoundingBox Uses

func (s *Geometry) SetBoundingBox(v *BoundingBox) *Geometry

SetBoundingBox sets the BoundingBox field's value.

func (*Geometry) SetPolygon Uses

func (s *Geometry) SetPolygon(v []*Point) *Geometry

SetPolygon sets the Polygon field's value.

func (Geometry) String Uses

func (s Geometry) String() string

String returns the string representation

type GetCelebrityInfoInput Uses

type GetCelebrityInfoInput struct {

    // The ID for the celebrity. You get the celebrity ID from a call to the RecognizeCelebrities
    // operation, which recognizes celebrities in an image.
    //
    // Id is a required field
    Id *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetCelebrityInfoInput) GoString Uses

func (s GetCelebrityInfoInput) GoString() string

GoString returns the string representation

func (*GetCelebrityInfoInput) SetId Uses

func (s *GetCelebrityInfoInput) SetId(v string) *GetCelebrityInfoInput

SetId sets the Id field's value.

func (GetCelebrityInfoInput) String Uses

func (s GetCelebrityInfoInput) String() string

String returns the string representation

func (*GetCelebrityInfoInput) Validate Uses

func (s *GetCelebrityInfoInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCelebrityInfoOutput Uses

type GetCelebrityInfoOutput struct {

    // The name of the celebrity.
    Name *string `type:"string"`

    // An array of URLs pointing to additional celebrity information.
    Urls []*string `type:"list"`
    // contains filtered or unexported fields
}

func (GetCelebrityInfoOutput) GoString Uses

func (s GetCelebrityInfoOutput) GoString() string

GoString returns the string representation

func (*GetCelebrityInfoOutput) SetName Uses

func (s *GetCelebrityInfoOutput) SetName(v string) *GetCelebrityInfoOutput

SetName sets the Name field's value.

func (*GetCelebrityInfoOutput) SetUrls Uses

func (s *GetCelebrityInfoOutput) SetUrls(v []*string) *GetCelebrityInfoOutput

SetUrls sets the Urls field's value.

func (GetCelebrityInfoOutput) String Uses

func (s GetCelebrityInfoOutput) String() string

String returns the string representation

type GetCelebrityRecognitionInput Uses

type GetCelebrityRecognitionInput struct {

    // Job identifier for the required celebrity recognition analysis. You can get
    // the job identifer from a call to StartCelebrityRecognition.
    //
    // JobId is a required field
    JobId *string `min:"1" type:"string" required:"true"`

    // Maximum number of results to return per paginated call. The largest value
    // you can specify is 1000. If you specify a value greater than 1000, a maximum
    // of 1000 results is returned. The default value is 1000.
    MaxResults *int64 `min:"1" type:"integer"`

    // If the previous response was incomplete (because there is more recognized
    // celebrities to retrieve), Amazon Rekognition Video returns a pagination token
    // in the response. You can use this pagination token to retrieve the next set
    // of celebrities.
    NextToken *string `type:"string"`

    // Sort to use for celebrities returned in Celebrities field. Specify ID to
    // sort by the celebrity identifier, specify TIMESTAMP to sort by the time the
    // celebrity was recognized.
    SortBy *string `type:"string" enum:"CelebrityRecognitionSortBy"`
    // contains filtered or unexported fields
}

func (GetCelebrityRecognitionInput) GoString Uses

func (s GetCelebrityRecognitionInput) GoString() string

GoString returns the string representation

func (*GetCelebrityRecognitionInput) SetJobId Uses

func (s *GetCelebrityRecognitionInput) SetJobId(v string) *GetCelebrityRecognitionInput

SetJobId sets the JobId field's value.

func (*GetCelebrityRecognitionInput) SetMaxResults Uses

func (s *GetCelebrityRecognitionInput) SetMaxResults(v int64) *GetCelebrityRecognitionInput

SetMaxResults sets the MaxResults field's value.

func (*GetCelebrityRecognitionInput) SetNextToken Uses

func (s *GetCelebrityRecognitionInput) SetNextToken(v string) *GetCelebrityRecognitionInput

SetNextToken sets the NextToken field's value.

func (*GetCelebrityRecognitionInput) SetSortBy Uses

func (s *GetCelebrityRecognitionInput) SetSortBy(v string) *GetCelebrityRecognitionInput

SetSortBy sets the SortBy field's value.

func (GetCelebrityRecognitionInput) String Uses

func (s GetCelebrityRecognitionInput) String() string

String returns the string representation

func (*GetCelebrityRecognitionInput) Validate Uses

func (s *GetCelebrityRecognitionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCelebrityRecognitionOutput Uses

type GetCelebrityRecognitionOutput struct {

    // Array of celebrities recognized in the video.
    Celebrities []*CelebrityRecognition `type:"list"`

    // The current status of the celebrity recognition job.
    JobStatus *string `type:"string" enum:"VideoJobStatus"`

    // If the response is truncated, Amazon Rekognition Video returns this token
    // that you can use in the subsequent request to retrieve the next set of celebrities.
    NextToken *string `type:"string"`

    // If the job fails, StatusMessage provides a descriptive error message.
    StatusMessage *string `type:"string"`

    // Information about a video that Amazon Rekognition Video analyzed. Videometadata
    // is returned in every page of paginated responses from a Amazon Rekognition
    // Video operation.
    VideoMetadata *VideoMetadata `type:"structure"`
    // contains filtered or unexported fields
}

func (GetCelebrityRecognitionOutput) GoString Uses

func (s GetCelebrityRecognitionOutput) GoString() string

GoString returns the string representation

func (*GetCelebrityRecognitionOutput) SetCelebrities Uses

func (s *GetCelebrityRecognitionOutput) SetCelebrities(v []*CelebrityRecognition) *GetCelebrityRecognitionOutput

SetCelebrities sets the Celebrities field's value.

func (*GetCelebrityRecognitionOutput) SetJobStatus Uses

func (s *GetCelebrityRecognitionOutput) SetJobStatus(v string) *GetCelebrityRecognitionOutput

SetJobStatus sets the JobStatus field's value.

func (*GetCelebrityRecognitionOutput) SetNextToken Uses

func (s *GetCelebrityRecognitionOutput) SetNextToken(v string) *GetCelebrityRecognitionOutput

SetNextToken sets the NextToken field's value.

func (*GetCelebrityRecognitionOutput) SetStatusMessage Uses

func (s *GetCelebrityRecognitionOutput) SetStatusMessage(v string) *GetCelebrityRecognitionOutput

SetStatusMessage sets the StatusMessage field's value.

func (*GetCelebrityRecognitionOutput) SetVideoMetadata Uses

func (s *GetCelebrityRecognitionOutput) SetVideoMetadata(v *VideoMetadata) *GetCelebrityRecognitionOutput

SetVideoMetadata sets the VideoMetadata field's value.

func (GetCelebrityRecognitionOutput) String Uses

func (s GetCelebrityRecognitionOutput) String() string

String returns the string representation

type GetContentModerationInput Uses

type GetContentModerationInput struct {

    // The identifier for the unsafe content job. Use JobId to identify the job
    // in a subsequent call to GetContentModeration.
    //
    // JobId is a required field
    JobId *string `min:"1" type:"string" required:"true"`

    // Maximum number of results to return per paginated call. The largest value
    // you can specify is 1000. If you specify a value greater than 1000, a maximum
    // of 1000 results is returned. The default value is 1000.
    MaxResults *int64 `min:"1" type:"integer"`

    // If the previous response was incomplete (because there is more data to retrieve),
    // Amazon Rekognition returns a pagination token in the response. You can use
    // this pagination token to retrieve the next set of unsafe content labels.
    NextToken *string `type:"string"`

    // Sort to use for elements in the ModerationLabelDetections array. Use TIMESTAMP
    // to sort array elements by the time labels are detected. Use NAME to alphabetically
    // group elements for a label together. Within each label group, the array element
    // are sorted by detection confidence. The default sort is by TIMESTAMP.
    SortBy *string `type:"string" enum:"ContentModerationSortBy"`
    // contains filtered or unexported fields
}

func (GetContentModerationInput) GoString Uses

func (s GetContentModerationInput) GoString() string

GoString returns the string representation

func (*GetContentModerationInput) SetJobId Uses

func (s *GetContentModerationInput) SetJobId(v string) *GetContentModerationInput

SetJobId sets the JobId field's value.

func (*GetContentModerationInput) SetMaxResults Uses

func (s *GetContentModerationInput) SetMaxResults(v int64) *GetContentModerationInput

SetMaxResults sets the MaxResults field's value.

func (*GetContentModerationInput) SetNextToken Uses

func (s *GetContentModerationInput) SetNextToken(v string) *GetContentModerationInput

SetNextToken sets the NextToken field's value.

func (*GetContentModerationInput) SetSortBy Uses

func (s *GetContentModerationInput) SetSortBy(v string) *GetContentModerationInput

SetSortBy sets the SortBy field's value.

func (GetContentModerationInput) String Uses

func (s GetContentModerationInput) String() string

String returns the string representation

func (*GetContentModerationInput) Validate Uses

func (s *GetContentModerationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetContentModerationOutput Uses

type GetContentModerationOutput struct {

    // The current status of the unsafe content analysis job.
    JobStatus *string `type:"string" enum:"VideoJobStatus"`

    // The detected unsafe content labels and the time(s) they were detected.
    ModerationLabels []*ContentModerationDetection `type:"list"`

    // Version number of the moderation detection model that was used to detect
    // unsafe content.
    ModerationModelVersion *string `type:"string"`

    // If the response is truncated, Amazon Rekognition Video returns this token
    // that you can use in the subsequent request to retrieve the next set of unsafe
    // content labels.
    NextToken *string `type:"string"`

    // If the job fails, StatusMessage provides a descriptive error message.
    StatusMessage *string `type:"string"`

    // Information about a video that Amazon Rekognition analyzed. Videometadata
    // is returned in every page of paginated responses from GetContentModeration.
    VideoMetadata *VideoMetadata `type:"structure"`
    // contains filtered or unexported fields
}

func (GetContentModerationOutput) GoString Uses

func (s GetContentModerationOutput) GoString() string

GoString returns the string representation

func (*GetContentModerationOutput) SetJobStatus Uses

func (s *GetContentModerationOutput) SetJobStatus(v string) *GetContentModerationOutput

SetJobStatus sets the JobStatus field's value.

func (*GetContentModerationOutput) SetModerationLabels Uses

func (s *GetContentModerationOutput) SetModerationLabels(v []*ContentModerationDetection) *GetContentModerationOutput

SetModerationLabels sets the ModerationLabels field's value.

func (*GetContentModerationOutput) SetModerationModelVersion Uses

func (s *GetContentModerationOutput) SetModerationModelVersion(v string) *GetContentModerationOutput

SetModerationModelVersion sets the ModerationModelVersion field's value.

func (*GetContentModerationOutput) SetNextToken Uses

func (s *GetContentModerationOutput) SetNextToken(v string) *GetContentModerationOutput

SetNextToken sets the NextToken field's value.

func (*GetContentModerationOutput) SetStatusMessage Uses

func (s *GetContentModerationOutput) SetStatusMessage(v string) *GetContentModerationOutput

SetStatusMessage sets the StatusMessage field's value.

func (*GetContentModerationOutput) SetVideoMetadata Uses

func (s *GetContentModerationOutput) SetVideoMetadata(v *VideoMetadata) *GetContentModerationOutput

SetVideoMetadata sets the VideoMetadata field's value.

func (GetContentModerationOutput) String Uses

func (s GetContentModerationOutput) String() string

String returns the string representation

type GetFaceDetectionInput Uses

type GetFaceDetectionInput struct {

    // Unique identifier for the face detection job. The JobId is returned from
    // StartFaceDetection.
    //
    // JobId is a required field
    JobId *string `min:"1" type:"string" required:"true"`

    // Maximum number of results to return per paginated call. The largest value
    // you can specify is 1000. If you specify a value greater than 1000, a maximum
    // of 1000 results is returned. The default value is 1000.
    MaxResults *int64 `min:"1" type:"integer"`

    // If the previous response was incomplete (because there are more faces to
    // retrieve), Amazon Rekognition Video returns a pagination token in the response.
    // You can use this pagination token to retrieve the next set of faces.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetFaceDetectionInput) GoString Uses

func (s GetFaceDetectionInput) GoString() string

GoString returns the string representation

func (*GetFaceDetectionInput) SetJobId Uses

func (s *GetFaceDetectionInput) SetJobId(v string) *GetFaceDetectionInput

SetJobId sets the JobId field's value.

func (*GetFaceDetectionInput) SetMaxResults Uses

func (s *GetFaceDetectionInput) SetMaxResults(v int64) *GetFaceDetectionInput

SetMaxResults sets the MaxResults field's value.

func (*GetFaceDetectionInput) SetNextToken Uses

func (s *GetFaceDetectionInput) SetNextToken(v string) *GetFaceDetectionInput

SetNextToken sets the NextToken field's value.

func (GetFaceDetectionInput) String Uses

func (s GetFaceDetectionInput) String() string

String returns the string representation

func (*GetFaceDetectionInput) Validate Uses

func (s *GetFaceDetectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetFaceDetectionOutput Uses

type GetFaceDetectionOutput struct {

    // An array of faces detected in the video. Each element contains a detected
    // face's details and the time, in milliseconds from the start of the video,
    // the face was detected.
    Faces []*FaceDetection `type:"list"`

    // The current status of the face detection job.
    JobStatus *string `type:"string" enum:"VideoJobStatus"`

    // If the response is truncated, Amazon Rekognition returns this token that
    // you can use in the subsequent request to retrieve the next set of faces.
    NextToken *string `type:"string"`

    // If the job fails, StatusMessage provides a descriptive error message.
    StatusMessage *string `type:"string"`

    // Information about a video that Amazon Rekognition Video analyzed. Videometadata
    // is returned in every page of paginated responses from a Amazon Rekognition
    // video operation.
    VideoMetadata *VideoMetadata `type:"structure"`
    // contains filtered or unexported fields
}

func (GetFaceDetectionOutput) GoString Uses

func (s GetFaceDetectionOutput) GoString() string

GoString returns the string representation

func (*GetFaceDetectionOutput) SetFaces Uses

func (s *GetFaceDetectionOutput) SetFaces(v []*FaceDetection) *GetFaceDetectionOutput

SetFaces sets the Faces field's value.

func (*GetFaceDetectionOutput) SetJobStatus Uses

func (s *GetFaceDetectionOutput) SetJobStatus(v string) *GetFaceDetectionOutput

SetJobStatus sets the JobStatus field's value.

func (*GetFaceDetectionOutput) SetNextToken Uses

func (s *GetFaceDetectionOutput) SetNextToken(v string) *GetFaceDetectionOutput

SetNextToken sets the NextToken field's value.

func (*GetFaceDetectionOutput) SetStatusMessage Uses

func (s *GetFaceDetectionOutput) SetStatusMessage(v string) *GetFaceDetectionOutput

SetStatusMessage sets the StatusMessage field's value.

func (*GetFaceDetectionOutput) SetVideoMetadata Uses

func (s *GetFaceDetectionOutput) SetVideoMetadata(v *VideoMetadata) *GetFaceDetectionOutput

SetVideoMetadata sets the VideoMetadata field's value.

func (GetFaceDetectionOutput) String Uses

func (s GetFaceDetectionOutput) String() string

String returns the string representation

type GetFaceSearchInput Uses

type GetFaceSearchInput struct {

    // The job identifer for the search request. You get the job identifier from
    // an initial call to StartFaceSearch.
    //
    // JobId is a required field
    JobId *string `min:"1" type:"string" required:"true"`

    // Maximum number of results to return per paginated call. The largest value
    // you can specify is 1000. If you specify a value greater than 1000, a maximum
    // of 1000 results is returned. The default value is 1000.
    MaxResults *int64 `min:"1" type:"integer"`

    // If the previous response was incomplete (because there is more search results
    // to retrieve), Amazon Rekognition Video returns a pagination token in the
    // response. You can use this pagination token to retrieve the next set of search
    // results.
    NextToken *string `type:"string"`

    // Sort to use for grouping faces in the response. Use TIMESTAMP to group faces
    // by the time that they are recognized. Use INDEX to sort by recognized faces.
    SortBy *string `type:"string" enum:"FaceSearchSortBy"`
    // contains filtered or unexported fields
}

func (GetFaceSearchInput) GoString Uses

func (s GetFaceSearchInput) GoString() string

GoString returns the string representation

func (*GetFaceSearchInput) SetJobId Uses

func (s *GetFaceSearchInput) SetJobId(v string) *GetFaceSearchInput

SetJobId sets the JobId field's value.

func (*GetFaceSearchInput) SetMaxResults Uses

func (s *GetFaceSearchInput) SetMaxResults(v int64) *GetFaceSearchInput

SetMaxResults sets the MaxResults field's value.

func (*GetFaceSearchInput) SetNextToken Uses

func (s *GetFaceSearchInput) SetNextToken(v string) *GetFaceSearchInput

SetNextToken sets the NextToken field's value.

func (*GetFaceSearchInput) SetSortBy Uses

func (s *GetFaceSearchInput) SetSortBy(v string) *GetFaceSearchInput

SetSortBy sets the SortBy field's value.

func (GetFaceSearchInput) String Uses

func (s GetFaceSearchInput) String() string

String returns the string representation

func (*GetFaceSearchInput) Validate Uses

func (s *GetFaceSearchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetFaceSearchOutput Uses

type GetFaceSearchOutput struct {

    // The current status of the face search job.
    JobStatus *string `type:"string" enum:"VideoJobStatus"`

    // If the response is truncated, Amazon Rekognition Video returns this token
    // that you can use in the subsequent request to retrieve the next set of search
    // results.
    NextToken *string `type:"string"`

    // An array of persons, PersonMatch, in the video whose face(s) match the face(s)
    // in an Amazon Rekognition collection. It also includes time information for
    // when persons are matched in the video. You specify the input collection in
    // an initial call to StartFaceSearch. Each Persons element includes a time
    // the person was matched, face match details (FaceMatches) for matching faces
    // in the collection, and person information (Person) for the matched person.
    Persons []*PersonMatch `type:"list"`

    // If the job fails, StatusMessage provides a descriptive error message.
    StatusMessage *string `type:"string"`

    // Information about a video that Amazon Rekognition analyzed. Videometadata
    // is returned in every page of paginated responses from a Amazon Rekognition
    // Video operation.
    VideoMetadata *VideoMetadata `type:"structure"`
    // contains filtered or unexported fields
}

func (GetFaceSearchOutput) GoString Uses

func (s GetFaceSearchOutput) GoString() string

GoString returns the string representation

func (*GetFaceSearchOutput) SetJobStatus Uses

func (s *GetFaceSearchOutput) SetJobStatus(v string) *GetFaceSearchOutput

SetJobStatus sets the JobStatus field's value.

func (*GetFaceSearchOutput) SetNextToken Uses

func (s *GetFaceSearchOutput) SetNextToken(v string) *GetFaceSearchOutput

SetNextToken sets the NextToken field's value.

func (*GetFaceSearchOutput) SetPersons Uses

func (s *GetFaceSearchOutput) SetPersons(v []*PersonMatch) *GetFaceSearchOutput

SetPersons sets the Persons field's value.

func (*GetFaceSearchOutput) SetStatusMessage Uses

func (s *GetFaceSearchOutput) SetStatusMessage(v string) *GetFaceSearchOutput

SetStatusMessage sets the StatusMessage field's value.

func (*GetFaceSearchOutput) SetVideoMetadata Uses

func (s *GetFaceSearchOutput) SetVideoMetadata(v *VideoMetadata) *GetFaceSearchOutput

SetVideoMetadata sets the VideoMetadata field's value.

func (GetFaceSearchOutput) String Uses

func (s GetFaceSearchOutput) String() string

String returns the string representation

type GetLabelDetectionInput Uses

type GetLabelDetectionInput struct {

    // Job identifier for the label detection operation for which you want results
    // returned. You get the job identifer from an initial call to StartlabelDetection.
    //
    // JobId is a required field
    JobId *string `min:"1" type:"string" required:"true"`

    // Maximum number of results to return per paginated call. The largest value
    // you can specify is 1000. If you specify a value greater than 1000, a maximum
    // of 1000 results is returned. The default value is 1000.
    MaxResults *int64 `min:"1" type:"integer"`

    // If the previous response was incomplete (because there are more labels to
    // retrieve), Amazon Rekognition Video returns a pagination token in the response.
    // You can use this pagination token to retrieve the next set of labels.
    NextToken *string `type:"string"`

    // Sort to use for elements in the Labels array. Use TIMESTAMP to sort array
    // elements by the time labels are detected. Use NAME to alphabetically group
    // elements for a label together. Within each label group, the array element
    // are sorted by detection confidence. The default sort is by TIMESTAMP.
    SortBy *string `type:"string" enum:"LabelDetectionSortBy"`
    // contains filtered or unexported fields
}

func (GetLabelDetectionInput) GoString Uses

func (s GetLabelDetectionInput) GoString() string

GoString returns the string representation

func (*GetLabelDetectionInput) SetJobId Uses

func (s *GetLabelDetectionInput) SetJobId(v string) *GetLabelDetectionInput

SetJobId sets the JobId field's value.

func (*GetLabelDetectionInput) SetMaxResults Uses

func (s *GetLabelDetectionInput) SetMaxResults(v int64) *GetLabelDetectionInput

SetMaxResults sets the MaxResults field's value.

func (*GetLabelDetectionInput) SetNextToken Uses

func (s *GetLabelDetectionInput) SetNextToken(v string) *GetLabelDetectionInput

SetNextToken sets the NextToken field's value.

func (*GetLabelDetectionInput) SetSortBy Uses

func (s *GetLabelDetectionInput) SetSortBy(v string) *GetLabelDetectionInput

SetSortBy sets the SortBy field's value.

func (GetLabelDetectionInput) String Uses

func (s GetLabelDetectionInput) String() string

String returns the string representation

func (*GetLabelDetectionInput) Validate Uses

func (s *GetLabelDetectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetLabelDetectionOutput Uses

type GetLabelDetectionOutput struct {

    // The current status of the label detection job.
    JobStatus *string `type:"string" enum:"VideoJobStatus"`

    // Version number of the label detection model that was used to detect labels.
    LabelModelVersion *string `type:"string"`

    // An array of labels detected in the video. Each element contains the detected
    // label and the time, in milliseconds from the start of the video, that the
    // label was detected.
    Labels []*LabelDetection `type:"list"`

    // If the response is truncated, Amazon Rekognition Video returns this token
    // that you can use in the subsequent request to retrieve the next set of labels.
    NextToken *string `type:"string"`

    // If the job fails, StatusMessage provides a descriptive error message.
    StatusMessage *string `type:"string"`

    // Information about a video that Amazon Rekognition Video analyzed. Videometadata
    // is returned in every page of paginated responses from a Amazon Rekognition
    // video operation.
    VideoMetadata *VideoMetadata `type:"structure"`
    // contains filtered or unexported fields
}

func (GetLabelDetectionOutput) GoString Uses

func (s GetLabelDetectionOutput) GoString() string

GoString returns the string representation

func (*GetLabelDetectionOutput) SetJobStatus Uses

func (s *GetLabelDetectionOutput) SetJobStatus(v string) *GetLabelDetectionOutput

SetJobStatus sets the JobStatus field's value.

func (*GetLabelDetectionOutput) SetLabelModelVersion Uses

func (s *GetLabelDetectionOutput) SetLabelModelVersion(v string) *GetLabelDetectionOutput

SetLabelModelVersion sets the LabelModelVersion field's value.

func (*GetLabelDetectionOutput) SetLabels Uses

func (s *GetLabelDetectionOutput) SetLabels(v []*LabelDetection) *GetLabelDetectionOutput

SetLabels sets the Labels field's value.

func (*GetLabelDetectionOutput) SetNextToken Uses

func (s *GetLabelDetectionOutput) SetNextToken(v string) *GetLabelDetectionOutput

SetNextToken sets the NextToken field's value.

func (*GetLabelDetectionOutput) SetStatusMessage Uses

func (s *GetLabelDetectionOutput) SetStatusMessage(v string) *GetLabelDetectionOutput

SetStatusMessage sets the StatusMessage field's value.

func (*GetLabelDetectionOutput) SetVideoMetadata Uses

func (s *GetLabelDetectionOutput) SetVideoMetadata(v *VideoMetadata) *GetLabelDetectionOutput

SetVideoMetadata sets the VideoMetadata field's value.

func (GetLabelDetectionOutput) String Uses

func (s GetLabelDetectionOutput) String() string

String returns the string representation

type GetPersonTrackingInput Uses

type GetPersonTrackingInput struct {

    // The identifier for a job that tracks persons in a video. You get the JobId
    // from a call to StartPersonTracking.
    //
    // JobId is a required field
    JobId *string `min:"1" type:"string" required:"true"`

    // Maximum number of results to return per paginated call. The largest value
    // you can specify is 1000. If you specify a value greater than 1000, a maximum
    // of 1000 results is returned. The default value is 1000.
    MaxResults *int64 `min:"1" type:"integer"`

    // If the previous response was incomplete (because there are more persons to
    // retrieve), Amazon Rekognition Video returns a pagination token in the response.
    // You can use this pagination token to retrieve the next set of persons.
    NextToken *string `type:"string"`

    // Sort to use for elements in the Persons array. Use TIMESTAMP to sort array
    // elements by the time persons are detected. Use INDEX to sort by the tracked
    // persons. If you sort by INDEX, the array elements for each person are sorted
    // by detection confidence. The default sort is by TIMESTAMP.
    SortBy *string `type:"string" enum:"PersonTrackingSortBy"`
    // contains filtered or unexported fields
}

func (GetPersonTrackingInput) GoString Uses

func (s GetPersonTrackingInput) GoString() string

GoString returns the string representation

func (*GetPersonTrackingInput) SetJobId Uses

func (s *GetPersonTrackingInput) SetJobId(v string) *GetPersonTrackingInput

SetJobId sets the JobId field's value.

func (*GetPersonTrackingInput) SetMaxResults Uses

func (s *GetPersonTrackingInput) SetMaxResults(v int64) *GetPersonTrackingInput

SetMaxResults sets the MaxResults field's value.

func (*GetPersonTrackingInput) SetNextToken Uses

func (s *GetPersonTrackingInput) SetNextToken(v string) *GetPersonTrackingInput

SetNextToken sets the NextToken field's value.

func (*GetPersonTrackingInput) SetSortBy Uses

func (s *GetPersonTrackingInput) SetSortBy(v string) *GetPersonTrackingInput

SetSortBy sets the SortBy field's value.

func (GetPersonTrackingInput) String Uses

func (s GetPersonTrackingInput) String() string

String returns the string representation

func (*GetPersonTrackingInput) Validate Uses

func (s *GetPersonTrackingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetPersonTrackingOutput Uses

type GetPersonTrackingOutput struct {

    // The current status of the person tracking job.
    JobStatus *string `type:"string" enum:"VideoJobStatus"`

    // If the response is truncated, Amazon Rekognition Video returns this token
    // that you can use in the subsequent request to retrieve the next set of persons.
    NextToken *string `type:"string"`

    // An array of the persons detected in the video and the time(s) their path
    // was tracked throughout the video. An array element will exist for each time
    // a person's path is tracked.
    Persons []*PersonDetection `type:"list"`

    // If the job fails, StatusMessage provides a descriptive error message.
    StatusMessage *string `type:"string"`

    // Information about a video that Amazon Rekognition Video analyzed. Videometadata
    // is returned in every page of paginated responses from a Amazon Rekognition
    // Video operation.
    VideoMetadata *VideoMetadata `type:"structure"`
    // contains filtered or unexported fields
}

func (GetPersonTrackingOutput) GoString Uses

func (s GetPersonTrackingOutput) GoString() string

GoString returns the string representation

func (*GetPersonTrackingOutput) SetJobStatus Uses

func (s *GetPersonTrackingOutput) SetJobStatus(v string) *GetPersonTrackingOutput

SetJobStatus sets the JobStatus field's value.

func (*GetPersonTrackingOutput) SetNextToken Uses

func (s *GetPersonTrackingOutput) SetNextToken(v string) *GetPersonTrackingOutput

SetNextToken sets the NextToken field's value.

func (*GetPersonTrackingOutput) SetPersons Uses

func (s *GetPersonTrackingOutput) SetPersons(v []*PersonDetection) *GetPersonTrackingOutput

SetPersons sets the Persons field's value.

func (*GetPersonTrackingOutput) SetStatusMessage Uses

func (s *GetPersonTrackingOutput) SetStatusMessage(v string) *GetPersonTrackingOutput

SetStatusMessage sets the StatusMessage field's value.

func (*GetPersonTrackingOutput) SetVideoMetadata Uses

func (s *GetPersonTrackingOutput) SetVideoMetadata(v *VideoMetadata) *GetPersonTrackingOutput

SetVideoMetadata sets the VideoMetadata field's value.

func (GetPersonTrackingOutput) String Uses

func (s GetPersonTrackingOutput) String() string

String returns the string representation

type GetTextDetectionInput Uses

type GetTextDetectionInput struct {

    // Job identifier for the label detection operation for which you want results
    // returned. You get the job identifer from an initial call to StartTextDetection.
    //
    // JobId is a required field
    JobId *string `min:"1" type:"string" required:"true"`

    // Maximum number of results to return per paginated call. The largest value
    // you can specify is 1000.
    MaxResults *int64 `min:"1" type:"integer"`

    // If the previous response was incomplete (because there are more labels to
    // retrieve), Amazon Rekognition Video returns a pagination token in the response.
    // You can use this pagination token to retrieve the next set of text.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetTextDetectionInput) GoString Uses

func (s GetTextDetectionInput) GoString() string

GoString returns the string representation

func (*GetTextDetectionInput) SetJobId Uses

func (s *GetTextDetectionInput) SetJobId(v string) *GetTextDetectionInput

SetJobId sets the JobId field's value.

func (*GetTextDetectionInput) SetMaxResults Uses

func (s *GetTextDetectionInput) SetMaxResults(v int64) *GetTextDetectionInput

SetMaxResults sets the MaxResults field's value.

func (*GetTextDetectionInput) SetNextToken Uses

func (s *GetTextDetectionInput) SetNextToken(v string) *GetTextDetectionInput

SetNextToken sets the NextToken field's value.

func (GetTextDetectionInput) String Uses

func (s GetTextDetectionInput) String() string

String returns the string representation

func (*GetTextDetectionInput) Validate Uses

func (s *GetTextDetectionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTextDetectionOutput Uses

type GetTextDetectionOutput struct {

    // Current status of the text detection job.
    JobStatus *string `type:"string" enum:"VideoJobStatus"`

    // If the response is truncated, Amazon Rekognition Video returns this token
    // that you can use in the subsequent request to retrieve the next set of text.
    NextToken *string `type:"string"`

    // If the job fails, StatusMessage provides a descriptive error message.
    StatusMessage *string `type:"string"`

    // An array of text detected in the video. Each element contains the detected
    // text, the time in milliseconds from the start of the video that the text
    // was detected, and where it was detected on the screen.
    TextDetections []*TextDetectionResult `type:"list"`

    // Version number of the text detection model that was used to detect text.
    TextModelVersion *string `type:"string"`

    // Information about a video that Amazon Rekognition analyzed. Videometadata
    // is returned in every page of paginated responses from a Amazon Rekognition
    // video operation.
    VideoMetadata *VideoMetadata `type:"structure"`
    // contains filtered or unexported fields
}

func (GetTextDetectionOutput) GoString Uses

func (s GetTextDetectionOutput) GoString() string

GoString returns the string representation

func (*GetTextDetectionOutput) SetJobStatus Uses

func (s *GetTextDetectionOutput) SetJobStatus(v string) *GetTextDetectionOutput

SetJobStatus sets the JobStatus field's value.

func (*GetTextDetectionOutput) SetNextToken Uses

func (s *GetTextDetectionOutput) SetNextToken(v string) *GetTextDetectionOutput

SetNextToken sets the NextToken field's value.

func (*GetTextDetectionOutput) SetStatusMessage Uses

func (s *GetTextDetectionOutput) SetStatusMessage(v string) *GetTextDetectionOutput

SetStatusMessage sets the StatusMessage field's value.

func (*GetTextDetectionOutput) SetTextDetections Uses

func (s *GetTextDetectionOutput) SetTextDetections(v []*TextDetectionResult) *GetTextDetectionOutput

SetTextDetections sets the TextDetections field's value.

func (*GetTextDetectionOutput) SetTextModelVersion Uses

func (s *GetTextDetectionOutput) SetTextModelVersion(v string) *GetTextDetectionOutput

SetTextModelVersion sets the TextModelVersion field's value.

func (*GetTextDetectionOutput) SetVideoMetadata Uses

func (s *GetTextDetectionOutput) SetVideoMetadata(v *VideoMetadata) *GetTextDetectionOutput

SetVideoMetadata sets the VideoMetadata field's value.

func (GetTextDetectionOutput) String Uses

func (s GetTextDetectionOutput) String() string

String returns the string representation

type GroundTruthManifest Uses

type GroundTruthManifest struct {

    // Provides the S3 bucket name and object name.
    //
    // The region for the S3 bucket containing the S3 object must match the region
    // you use for Amazon Rekognition operations.
    //
    // For Amazon Rekognition to process an S3 object, the user must have permission
    // to access the S3 object. For more information, see Resource-Based Policies
    // in the Amazon Rekognition Developer Guide.
    S3Object *S3Object `type:"structure"`
    // contains filtered or unexported fields
}

The S3 bucket that contains the Ground Truth manifest file.

func (GroundTruthManifest) GoString Uses

func (s GroundTruthManifest) GoString() string

GoString returns the string representation

func (*GroundTruthManifest) SetS3Object Uses

func (s *GroundTruthManifest) SetS3Object(v *S3Object) *GroundTruthManifest

SetS3Object sets the S3Object field's value.

func (GroundTruthManifest) String Uses

func (s GroundTruthManifest) String() string

String returns the string representation

func (*GroundTruthManifest) Validate Uses

func (s *GroundTruthManifest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type HumanLoopActivationOutput Uses

type HumanLoopActivationOutput struct {

    // Shows the result of condition evaluations, including those conditions which
    // activated a human review.
    HumanLoopActivationConditionsEvaluationResults aws.JSONValue `type:"jsonvalue"`

    // Shows if and why human review was needed.
    HumanLoopActivationReasons []*string `min:"1" type:"list"`

    // The Amazon Resource Name (ARN) of the HumanLoop created.
    HumanLoopArn *string `type:"string"`
    // contains filtered or unexported fields
}

Shows the results of the human in the loop evaluation. If there is no HumanLoopArn, the input did not trigger human review.

func (HumanLoopActivationOutput) GoString Uses

func (s HumanLoopActivationOutput) GoString() string

GoString returns the string representation

func (*HumanLoopActivationOutput) SetHumanLoopActivationConditionsEvaluationResults Uses

func (s *HumanLoopActivationOutput) SetHumanLoopActivationConditionsEvaluationResults(v aws.JSONValue) *HumanLoopActivationOutput

SetHumanLoopActivationConditionsEvaluationResults sets the HumanLoopActivationConditionsEvaluationResults field's value.

func (*HumanLoopActivationOutput) SetHumanLoopActivationReasons Uses

func (s *HumanLoopActivationOutput) SetHumanLoopActivationReasons(v []*string) *HumanLoopActivationOutput

SetHumanLoopActivationReasons sets the HumanLoopActivationReasons field's value.

func (*HumanLoopActivationOutput) SetHumanLoopArn Uses

func (s *HumanLoopActivationOutput) SetHumanLoopArn(v string) *HumanLoopActivationOutput

SetHumanLoopArn sets the HumanLoopArn field's value.

func (HumanLoopActivationOutput) String Uses

func (s HumanLoopActivationOutput) String() string

String returns the string representation

type HumanLoopConfig Uses

type HumanLoopConfig struct {

    // Sets attributes of the input data.
    DataAttributes *HumanLoopDataAttributes `type:"structure"`

    // The Amazon Resource Name (ARN) of the flow definition.
    //
    // FlowDefinitionArn is a required field
    FlowDefinitionArn *string `type:"string" required:"true"`

    // The name of the human review used for this image. This should be kept unique
    // within a region.
    //
    // HumanLoopName is a required field
    HumanLoopName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Sets up the flow definition the image will be sent to if one of the conditions is met. You can also set certain attributes of the image before review.

func (HumanLoopConfig) GoString Uses

func (s HumanLoopConfig) GoString() string

GoString returns the string representation

func (*HumanLoopConfig) SetDataAttributes Uses

func (s *HumanLoopConfig) SetDataAttributes(v *HumanLoopDataAttributes) *HumanLoopConfig

SetDataAttributes sets the DataAttributes field's value.

func (*HumanLoopConfig) SetFlowDefinitionArn Uses

func (s *HumanLoopConfig) SetFlowDefinitionArn(v string) *HumanLoopConfig

SetFlowDefinitionArn sets the FlowDefinitionArn field's value.

func (*HumanLoopConfig) SetHumanLoopName Uses

func (s *HumanLoopConfig) SetHumanLoopName(v string) *HumanLoopConfig

SetHumanLoopName sets the HumanLoopName field's value.

func (HumanLoopConfig) String Uses

func (s HumanLoopConfig) String() string

String returns the string representation

func (*HumanLoopConfig) Validate Uses

func (s *HumanLoopConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type HumanLoopDataAttributes Uses

type HumanLoopDataAttributes struct {

    // Sets whether the input image is free of personally identifiable information.
    ContentClassifiers []*string `type:"list"`
    // contains filtered or unexported fields
}

Allows you to set attributes of the image. Currently, you can declare an image as free of personally identifiable information.

func (HumanLoopDataAttributes) GoString Uses

func (s HumanLoopDataAttributes) GoString() string

GoString returns the string representation

func (*HumanLoopDataAttributes) SetContentClassifiers Uses

func (s *HumanLoopDataAttributes) SetContentClassifiers(v []*string) *HumanLoopDataAttributes

SetContentClassifiers sets the ContentClassifiers field's value.

func (HumanLoopDataAttributes) String Uses

func (s HumanLoopDataAttributes) String() string

String returns the string representation

type HumanLoopQuotaExceededException Uses

type HumanLoopQuotaExceededException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`

    QuotaCode *string `type:"string"`

    ResourceType *string `type:"string"`

    ServiceCode *string `type:"string"`
    // contains filtered or unexported fields
}

The number of in-progress human reviews you have has exceeded the number allowed.

func (HumanLoopQuotaExceededException) Code Uses

func (s HumanLoopQuotaExceededException) Code() string

Code returns the exception type name.

func (HumanLoopQuotaExceededException) Error Uses

func (s HumanLoopQuotaExceededException) Error() string

func (HumanLoopQuotaExceededException) GoString Uses

func (s HumanLoopQuotaExceededException) GoString() string

GoString returns the string representation

func (HumanLoopQuotaExceededException) Message Uses

func (s HumanLoopQuotaExceededException) Message() string

Message returns the exception's message.

func (HumanLoopQuotaExceededException) OrigErr Uses

func (s HumanLoopQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (HumanLoopQuotaExceededException) RequestID Uses

func (s HumanLoopQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (HumanLoopQuotaExceededException) StatusCode Uses

func (s HumanLoopQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (HumanLoopQuotaExceededException) String Uses

func (s HumanLoopQuotaExceededException) String() string

String returns the string representation

type IdempotentParameterMismatchException Uses

type IdempotentParameterMismatchException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

A ClientRequestToken input parameter was reused with an operation, but at least one of the other input parameters is different from the previous call to the operation.

func (IdempotentParameterMismatchException) Code Uses

func (s IdempotentParameterMismatchException) Code() string

Code returns the exception type name.

func (IdempotentParameterMismatchException) Error Uses

func (s IdempotentParameterMismatchException) Error() string

func (IdempotentParameterMismatchException) GoString Uses

func (s IdempotentParameterMismatchException) GoString() string

GoString returns the string representation

func (IdempotentParameterMismatchException) Message Uses

func (s IdempotentParameterMismatchException) Message() string

Message returns the exception's message.

func (IdempotentParameterMismatchException) OrigErr Uses

func (s IdempotentParameterMismatchException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (IdempotentParameterMismatchException) RequestID Uses

func (s IdempotentParameterMismatchException) RequestID() string

RequestID returns the service's response RequestID for request.

func (IdempotentParameterMismatchException) StatusCode Uses

func (s IdempotentParameterMismatchException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (IdempotentParameterMismatchException) String Uses

func (s IdempotentParameterMismatchException) String() string

String returns the string representation

type Image Uses

type Image struct {

    // Blob of image bytes up to 5 MBs.
    //
    // Bytes is automatically base64 encoded/decoded by the SDK.
    Bytes []byte `min:"1" type:"blob"`

    // Identifies an S3 object as the image source.
    S3Object *S3Object `type:"structure"`
    // contains filtered or unexported fields
}

Provides the input image either as bytes or an S3 object.

You pass image bytes to an Amazon Rekognition API operation by using the Bytes property. For example, you would use the Bytes property to pass an image loaded from a local file system. Image bytes passed by using the Bytes property must be base64-encoded. Your code may not need to encode image bytes if you are using an AWS SDK to call Amazon Rekognition API operations.

For more information, see Analyzing an Image Loaded from a Local File System in the Amazon Rekognition Developer Guide.

You pass images stored in an S3 bucket to an Amazon Rekognition API operation by using the S3Object property. Images stored in an S3 bucket do not need to be base64-encoded.

The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.

If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes using the Bytes property is not supported. You must first upload the image to an Amazon S3 bucket and then call the operation using the S3Object property.

For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see Resource Based Policies in the Amazon Rekognition Developer Guide.

func (Image) GoString Uses

func (s Image) GoString() string

GoString returns the string representation

func (*Image) SetBytes Uses

func (s *Image) SetBytes(v []byte) *Image

SetBytes sets the Bytes field's value.

func (*Image) SetS3Object Uses

func (s *Image) SetS3Object(v *S3Object) *Image

SetS3Object sets the S3Object field's value.

func (Image) String Uses

func (s Image) String() string

String returns the string representation

func (*Image) Validate Uses

func (s *Image) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImageQuality Uses

type ImageQuality struct {

    // Value representing brightness of the face. The service returns a value between
    // 0 and 100 (inclusive). A higher value indicates a brighter face image.
    Brightness *float64 `type:"float"`

    // Value representing sharpness of the face. The service returns a value between
    // 0 and 100 (inclusive). A higher value indicates a sharper face image.
    Sharpness *float64 `type:"float"`
    // contains filtered or unexported fields
}

Identifies face image brightness and sharpness.

func (ImageQuality) GoString Uses

func (s ImageQuality) GoString() string

GoString returns the string representation

func (*ImageQuality) SetBrightness Uses

func (s *ImageQuality) SetBrightness(v float64) *ImageQuality

SetBrightness sets the Brightness field's value.

func (*ImageQuality) SetSharpness Uses

func (s *ImageQuality) SetSharpness(v float64) *ImageQuality

SetSharpness sets the Sharpness field's value.

func (ImageQuality) String Uses

func (s ImageQuality) String() string

String returns the string representation

type ImageTooLargeException Uses

type ImageTooLargeException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The input image size exceeds the allowed limit. For more information, see Limits in Amazon Rekognition in the Amazon Rekognition Developer Guide.

func (ImageTooLargeException) Code Uses

func (s ImageTooLargeException) Code() string

Code returns the exception type name.

func (ImageTooLargeException) Error Uses

func (s ImageTooLargeException) Error() string

func (ImageTooLargeException) GoString Uses

func (s ImageTooLargeException) GoString() string

GoString returns the string representation

func (ImageTooLargeException) Message Uses

func (s ImageTooLargeException) Message() string

Message returns the exception's message.

func (ImageTooLargeException) OrigErr Uses

func (s ImageTooLargeException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ImageTooLargeException) RequestID Uses

func (s ImageTooLargeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ImageTooLargeException) StatusCode Uses

func (s ImageTooLargeException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ImageTooLargeException) String Uses

func (s ImageTooLargeException) String() string

String returns the string representation

type IndexFacesInput Uses

type IndexFacesInput struct {

    // The ID of an existing collection to which you want to add the faces that
    // are detected in the input images.
    //
    // CollectionId is a required field
    CollectionId *string `min:"1" type:"string" required:"true"`

    // An array of facial attributes that you want to be returned. This can be the
    // default list of attributes or all attributes. If you don't specify a value
    // for Attributes or if you specify ["DEFAULT"], the API returns the following
    // subset of facial attributes: BoundingBox, Confidence, Pose, Quality, and
    // Landmarks. If you provide ["ALL"], all facial attributes are returned, but
    // the operation takes longer to complete.
    //
    // If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator
    // to determine which attributes to return (in this case, all attributes).
    DetectionAttributes []*string `type:"list"`

    // The ID you want to assign to all the faces detected in the image.
    ExternalImageId *string `min:"1" type:"string"`

    // The input image as base64-encoded bytes or an S3 object. If you use the AWS
    // CLI to call Amazon Rekognition operations, passing base64-encoded image bytes
    // isn't supported.
    //
    // If you are using an AWS SDK to call Amazon Rekognition, you might not need
    // to base64-encode image bytes passed using the Bytes field. For more information,
    // see Images in the Amazon Rekognition developer guide.
    //
    // Image is a required field
    Image *Image `type:"structure" required:"true"`

    // The maximum number of faces to index. The value of MaxFaces must be greater
    // than or equal to 1. IndexFaces returns no more than 100 detected faces in
    // an image, even if you specify a larger value for MaxFaces.
    //
    // If IndexFaces detects more faces than the value of MaxFaces, the faces with
    // the lowest quality are filtered out first. If there are still more faces
    // than the value of MaxFaces, the faces with the smallest bounding boxes are
    // filtered out (up to the number that's needed to satisfy the value of MaxFaces).
    // Information about the unindexed faces is available in the UnindexedFaces
    // array.
    //
    // The faces that are returned by IndexFaces are sorted by the largest face
    // bounding box size to the smallest size, in descending order.
    //
    // MaxFaces can be used with a collection associated with any version of the
    // face model.
    MaxFaces *int64 `min:"1" type:"integer"`

    // A filter that specifies a quality bar for how much filtering is done to identify
    // faces. Filtered faces aren't indexed. If you specify AUTO, Amazon Rekognition
    // chooses the quality bar. If you specify LOW, MEDIUM, or HIGH, filtering removes
    // all faces that don’t meet the chosen quality bar. The default value is
    // AUTO. The quality bar is based on a variety of common use cases. Low-quality
    // detections can occur for a number of reasons. Some examples are an object
    // that's misidentified as a face, a face that's too blurry, or a face with
    // a pose that's too extreme to use. If you specify NONE, no filtering is performed.
    //
    // To use quality filtering, the collection you are using must be associated
    // with version 3 of the face model or higher.
    QualityFilter *string `type:"string" enum:"QualityFilter"`
    // contains filtered or unexported fields
}

func (IndexFacesInput) GoString Uses

func (s IndexFacesInput) GoString() string

GoString returns the string representation

func (*IndexFacesInput) SetCollectionId Uses

func (s *IndexFacesInput) SetCollectionId(v string) *IndexFacesInput

SetCollectionId sets the CollectionId field's value.

func (*IndexFacesInput) SetDetectionAttributes Uses

func (s *IndexFacesInput) SetDetectionAttributes(v []*string) *IndexFacesInput

SetDetectionAttributes sets the DetectionAttributes field's value.

func (*IndexFacesInput) SetExternalImageId Uses

func (s *IndexFacesInput) SetExternalImageId(v string) *IndexFacesInput

SetExternalImageId sets the ExternalImageId field's value.

func (*IndexFacesInput) SetImage Uses

func (s *IndexFacesInput) SetImage(v *Image) *IndexFacesInput

SetImage sets the Image field's value.

func (*IndexFacesInput) SetMaxFaces Uses

func (s *IndexFacesInput) SetMaxFaces(v int64) *IndexFacesInput

SetMaxFaces sets the MaxFaces field's value.

func (*IndexFacesInput) SetQualityFilter Uses

func (s *IndexFacesInput) SetQualityFilter(v string) *IndexFacesInput

SetQualityFilter sets the QualityFilter field's value.

func (IndexFacesInput) String Uses

func (s IndexFacesInput) String() string

String returns the string representation

func (*IndexFacesInput) Validate Uses

func (s *IndexFacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type IndexFacesOutput Uses

type IndexFacesOutput struct {

    // The version number of the face detection model that's associated with the
    // input collection (CollectionId).
    FaceModelVersion *string `type:"string"`

    // An array of faces detected and added to the collection. For more information,
    // see Searching Faces in a Collection in the Amazon Rekognition Developer Guide.
    FaceRecords []*FaceRecord `type:"list"`

    // If your collection is associated with a face detection model that's later
    // than version 3.0, the value of OrientationCorrection is always null and no
    // orientation information is returned.
    //
    // If your collection is associated with a face detection model that's version
    // 3.0 or earlier, the following applies:
    //
    //    * If the input image is in .jpeg format, it might contain exchangeable
    //    image file format (Exif) metadata that includes the image's orientation.
    //    Amazon Rekognition uses this orientation information to perform image
    //    correction - the bounding box coordinates are translated to represent
    //    object locations after the orientation information in the Exif metadata
    //    is used to correct the image orientation. Images in .png format don't
    //    contain Exif metadata. The value of OrientationCorrection is null.
    //
    //    * If the image doesn't contain orientation information in its Exif metadata,
    //    Amazon Rekognition returns an estimated orientation (ROTATE_0, ROTATE_90,
    //    ROTATE_180, ROTATE_270). Amazon Rekognition doesn’t perform image correction
    //    for images. The bounding box coordinates aren't translated and represent
    //    the object locations before the image is rotated.
    //
    // Bounding box information is returned in the FaceRecords array. You can get
    // the version of the face detection model by calling DescribeCollection.
    OrientationCorrection *string `type:"string" enum:"OrientationCorrection"`

    // An array of faces that were detected in the image but weren't indexed. They
    // weren't indexed because the quality filter identified them as low quality,
    // or the MaxFaces request parameter filtered them out. To use the quality filter,
    // you specify the QualityFilter request parameter.
    UnindexedFaces []*UnindexedFace `type:"list"`
    // contains filtered or unexported fields
}

func (IndexFacesOutput) GoString Uses

func (s IndexFacesOutput) GoString() string

GoString returns the string representation

func (*IndexFacesOutput) SetFaceModelVersion Uses

func (s *IndexFacesOutput) SetFaceModelVersion(v string) *IndexFacesOutput

SetFaceModelVersion sets the FaceModelVersion field's value.

func (*IndexFacesOutput) SetFaceRecords Uses

func (s *IndexFacesOutput) SetFaceRecords(v []*FaceRecord) *IndexFacesOutput

SetFaceRecords sets the FaceRecords field's value.

func (*IndexFacesOutput) SetOrientationCorrection Uses

func (s *IndexFacesOutput) SetOrientationCorrection(v string) *IndexFacesOutput

SetOrientationCorrection sets the OrientationCorrection field's value.

func (*IndexFacesOutput) SetUnindexedFaces Uses

func (s *IndexFacesOutput) SetUnindexedFaces(v []*UnindexedFace) *IndexFacesOutput

SetUnindexedFaces sets the UnindexedFaces field's value.

func (IndexFacesOutput) String Uses

func (s IndexFacesOutput) String() string

String returns the string representation

type Instance Uses

type Instance struct {

    // The position of the label instance on the image.
    BoundingBox *BoundingBox `type:"structure"`

    // The confidence that Amazon Rekognition has in the accuracy of the bounding
    // box.
    Confidence *float64 `type:"float"`
    // contains filtered or unexported fields
}

An instance of a label returned by Amazon Rekognition Image (DetectLabels) or by Amazon Rekognition Video (GetLabelDetection).

func (Instance) GoString Uses

func (s Instance) GoString() string

GoString returns the string representation

func (*Instance) SetBoundingBox Uses

func (s *Instance) SetBoundingBox(v *BoundingBox) *Instance

SetBoundingBox sets the BoundingBox field's value.

func (*Instance) SetConfidence Uses

func (s *Instance) SetConfidence(v float64) *Instance

SetConfidence sets the Confidence field's value.

func (Instance) String Uses

func (s Instance) String() string

String returns the string representation

type InternalServerError Uses

type InternalServerError struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

Amazon Rekognition experienced a service issue. Try your call again.

func (InternalServerError) Code Uses

func (s InternalServerError) Code() string

Code returns the exception type name.

func (InternalServerError) Error Uses

func (s InternalServerError) Error() string

func (InternalServerError) GoString Uses

func (s InternalServerError) GoString() string

GoString returns the string representation

func (InternalServerError) Message Uses

func (s InternalServerError) Message() string

Message returns the exception's message.

func (InternalServerError) OrigErr Uses

func (s InternalServerError) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (InternalServerError) RequestID Uses

func (s InternalServerError) RequestID() string

RequestID returns the service's response RequestID for request.

func (InternalServerError) StatusCode Uses

func (s InternalServerError) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerError) String Uses

func (s InternalServerError) String() string

String returns the string representation

type InvalidImageFormatException Uses

type InvalidImageFormatException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The provided image format is not supported.

func (InvalidImageFormatException) Code Uses

func (s InvalidImageFormatException) Code() string

Code returns the exception type name.

func (InvalidImageFormatException) Error Uses

func (s InvalidImageFormatException) Error() string

func (InvalidImageFormatException) GoString Uses

func (s InvalidImageFormatException) GoString() string

GoString returns the string representation

func (InvalidImageFormatException) Message Uses

func (s InvalidImageFormatException) Message() string

Message returns the exception's message.

func (InvalidImageFormatException) OrigErr Uses

func (s InvalidImageFormatException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (InvalidImageFormatException) RequestID Uses

func (s InvalidImageFormatException) RequestID() string

RequestID returns the service's response RequestID for request.

func (InvalidImageFormatException) StatusCode Uses

func (s InvalidImageFormatException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidImageFormatException) String Uses

func (s InvalidImageFormatException) String() string

String returns the string representation

type InvalidPaginationTokenException Uses

type InvalidPaginationTokenException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

Pagination token in the request is not valid.

func (InvalidPaginationTokenException) Code Uses

func (s InvalidPaginationTokenException) Code() string

Code returns the exception type name.

func (InvalidPaginationTokenException) Error Uses

func (s InvalidPaginationTokenException) Error() string

func (InvalidPaginationTokenException) GoString Uses

func (s InvalidPaginationTokenException) GoString() string

GoString returns the string representation

func (InvalidPaginationTokenException) Message Uses

func (s InvalidPaginationTokenException) Message() string

Message returns the exception's message.

func (InvalidPaginationTokenException) OrigErr Uses

func (s InvalidPaginationTokenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (InvalidPaginationTokenException) RequestID Uses

func (s InvalidPaginationTokenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (InvalidPaginationTokenException) StatusCode Uses

func (s InvalidPaginationTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidPaginationTokenException) String Uses

func (s InvalidPaginationTokenException) String() string

String returns the string representation

type InvalidParameterException Uses

type InvalidParameterException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

Input parameter violated a constraint. Validate your parameter before calling the API operation again.

func (InvalidParameterException) Code Uses

func (s InvalidParameterException) Code() string

Code returns the exception type name.

func (InvalidParameterException) Error Uses

func (s InvalidParameterException) Error() string

func (InvalidParameterException) GoString Uses

func (s InvalidParameterException) GoString() string

GoString returns the string representation

func (InvalidParameterException) Message Uses

func (s InvalidParameterException) Message() string

Message returns the exception's message.

func (InvalidParameterException) OrigErr Uses

func (s InvalidParameterException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (InvalidParameterException) RequestID Uses

func (s InvalidParameterException) RequestID() string

RequestID returns the service's response RequestID for request.

func (InvalidParameterException) StatusCode Uses

func (s InvalidParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidParameterException) String Uses

func (s InvalidParameterException) String() string

String returns the string representation

type InvalidS3ObjectException Uses

type InvalidS3ObjectException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

Amazon Rekognition is unable to access the S3 object specified in the request.

func (InvalidS3ObjectException) Code Uses

func (s InvalidS3ObjectException) Code() string

Code returns the exception type name.

func (InvalidS3ObjectException) Error Uses

func (s InvalidS3ObjectException) Error() string

func (InvalidS3ObjectException) GoString Uses

func (s InvalidS3ObjectException) GoString() string

GoString returns the string representation

func (InvalidS3ObjectException) Message Uses

func (s InvalidS3ObjectException) Message() string

Message returns the exception's message.

func (InvalidS3ObjectException) OrigErr Uses

func (s InvalidS3ObjectException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (InvalidS3ObjectException) RequestID Uses

func (s InvalidS3ObjectException) RequestID() string

RequestID returns the service's response RequestID for request.

func (InvalidS3ObjectException) StatusCode Uses

func (s InvalidS3ObjectException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidS3ObjectException) String Uses

func (s InvalidS3ObjectException) String() string

String returns the string representation

type KinesisDataStream Uses

type KinesisDataStream struct {

    // ARN of the output Amazon Kinesis Data Streams stream.
    Arn *string `type:"string"`
    // contains filtered or unexported fields
}

The Kinesis data stream Amazon Rekognition to which the analysis results of a Amazon Rekognition stream processor are streamed. For more information, see CreateStreamProcessor in the Amazon Rekognition Developer Guide.

func (KinesisDataStream) GoString Uses

func (s KinesisDataStream) GoString() string

GoString returns the string representation

func (*KinesisDataStream) SetArn Uses

func (s *KinesisDataStream) SetArn(v string) *KinesisDataStream

SetArn sets the Arn field's value.

func (KinesisDataStream) String Uses

func (s KinesisDataStream) String() string

String returns the string representation

type KinesisVideoStream Uses

type KinesisVideoStream struct {

    // ARN of the Kinesis video stream stream that streams the source video.
    Arn *string `type:"string"`
    // contains filtered or unexported fields
}

Kinesis video stream stream that provides the source streaming video for a Amazon Rekognition Video stream processor. For more information, see CreateStreamProcessor in the Amazon Rekognition Developer Guide.

func (KinesisVideoStream) GoString Uses

func (s KinesisVideoStream) GoString() string

GoString returns the string representation

func (*KinesisVideoStream) SetArn Uses

func (s *KinesisVideoStream) SetArn(v string) *KinesisVideoStream

SetArn sets the Arn field's value.

func (KinesisVideoStream) String Uses

func (s KinesisVideoStream) String() string

String returns the string representation

type Label Uses

type Label struct {

    // Level of confidence.
    Confidence *float64 `type:"float"`

    // If Label represents an object, Instances contains the bounding boxes for
    // each instance of the detected object. Bounding boxes are returned for common
    // object labels such as people, cars, furniture, apparel or pets.
    Instances []*Instance `type:"list"`

    // The name (label) of the object or scene.
    Name *string `type:"string"`

    // The parent labels for a label. The response includes all ancestor labels.
    Parents []*Parent `type:"list"`
    // contains filtered or unexported fields
}

Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.

func (Label) GoString Uses

func (s Label) GoString() string

GoString returns the string representation

func (*Label) SetConfidence Uses

func (s *Label) SetConfidence(v float64) *Label

SetConfidence sets the Confidence field's value.

func (*Label) SetInstances Uses

func (s *Label) SetInstances(v []*Instance) *Label

SetInstances sets the Instances field's value.

func (*Label) SetName Uses

func (s *Label) SetName(v string) *Label

SetName sets the Name field's value.

func (*Label) SetParents Uses

func (s *Label) SetParents(v []*Parent) *Label

SetParents sets the Parents field's value.

func (Label) String Uses

func (s Label) String() string

String returns the string representation

type LabelDetection Uses

type LabelDetection struct {

    // Details about the detected label.
    Label *Label `type:"structure"`

    // Time, in milliseconds from the start of the video, that the label was detected.
    Timestamp *int64 `type:"long"`
    // contains filtered or unexported fields
}

Information about a label detected in a video analysis request and the time the label was detected in the video.

func (LabelDetection) GoString Uses

func (s LabelDetection) GoString() string

GoString returns the string representation

func (*LabelDetection) SetLabel Uses

func (s *LabelDetection) SetLabel(v *Label) *LabelDetection

SetLabel sets the Label field's value.

func (*LabelDetection) SetTimestamp Uses

func (s *LabelDetection) SetTimestamp(v int64) *LabelDetection

SetTimestamp sets the Timestamp field's value.

func (LabelDetection) String Uses

func (s LabelDetection) String() string

String returns the string representation

type Landmark Uses

type Landmark struct {

    // Type of landmark.
    Type *string `type:"string" enum:"LandmarkType"`

    // The x-coordinate from the top left of the landmark expressed as the ratio
    // of the width of the image. For example, if the image is 700 x 200 and the
    // x-coordinate of the landmark is at 350 pixels, this value is 0.5.
    X   *float64 `type:"float"`

    // The y-coordinate from the top left of the landmark expressed as the ratio
    // of the height of the image. For example, if the image is 700 x 200 and the
    // y-coordinate of the landmark is at 100 pixels, this value is 0.5.
    Y   *float64 `type:"float"`
    // contains filtered or unexported fields
}

Indicates the location of the landmark on the face.

func (Landmark) GoString Uses

func (s Landmark) GoString() string

GoString returns the string representation

func (*Landmark) SetType Uses

func (s *Landmark) SetType(v string) *Landmark

SetType sets the Type field's value.

func (*Landmark) SetX Uses

func (s *Landmark) SetX(v float64) *Landmark

SetX sets the X field's value.

func (*Landmark) SetY Uses

func (s *Landmark) SetY(v float64) *Landmark

SetY sets the Y field's value.

func (Landmark) String Uses

func (s Landmark) String() string

String returns the string representation

type LimitExceededException Uses

type LimitExceededException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations (StartLabelDetection, for example) will raise a LimitExceededException exception (HTTP status code: 400) until the number of concurrently running jobs is below the Amazon Rekognition service limit.

func (LimitExceededException) Code Uses

func (s LimitExceededException) Code() string

Code returns the exception type name.

func (LimitExceededException) Error Uses

func (s LimitExceededException) Error() string

func (LimitExceededException) GoString Uses

func (s LimitExceededException) GoString() string

GoString returns the string representation

func (LimitExceededException) Message Uses

func (s LimitExceededException) Message() string

Message returns the exception's message.

func (LimitExceededException) OrigErr Uses

func (s LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (LimitExceededException) RequestID Uses

func (s LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (LimitExceededException) StatusCode Uses

func (s LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String Uses

func (s LimitExceededException) String() string

String returns the string representation

type ListCollectionsInput Uses

type ListCollectionsInput struct {

    // Maximum number of collection IDs to return.
    MaxResults *int64 `type:"integer"`

    // Pagination token from the previous response.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListCollectionsInput) GoString Uses

func (s ListCollectionsInput) GoString() string

GoString returns the string representation

func (*ListCollectionsInput) SetMaxResults Uses

func (s *ListCollectionsInput) SetMaxResults(v int64) *ListCollectionsInput

SetMaxResults sets the MaxResults field's value.

func (*ListCollectionsInput) SetNextToken Uses

func (s *ListCollectionsInput) SetNextToken(v string) *ListCollectionsInput

SetNextToken sets the NextToken field's value.

func (ListCollectionsInput) String Uses

func (s ListCollectionsInput) String() string

String returns the string representation

type ListCollectionsOutput Uses

type ListCollectionsOutput struct {

    // An array of collection IDs.
    CollectionIds []*string `type:"list"`

    // Version numbers of the face detection models associated with the collections
    // in the array CollectionIds. For example, the value of FaceModelVersions[2]
    // is the version number for the face detection model used by the collection
    // in CollectionId[2].
    FaceModelVersions []*string `type:"list"`

    // If the result is truncated, the response provides a NextToken that you can
    // use in the subsequent request to fetch the next set of collection IDs.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListCollectionsOutput) GoString Uses

func (s ListCollectionsOutput) GoString() string

GoString returns the string representation

func (*ListCollectionsOutput) SetCollectionIds Uses

func (s *ListCollectionsOutput) SetCollectionIds(v []*string) *ListCollectionsOutput

SetCollectionIds sets the CollectionIds field's value.

func (*ListCollectionsOutput) SetFaceModelVersions Uses

func (s *ListCollectionsOutput) SetFaceModelVersions(v []*string) *ListCollectionsOutput

SetFaceModelVersions sets the FaceModelVersions field's value.

func (*ListCollectionsOutput) SetNextToken Uses

func (s *ListCollectionsOutput) SetNextToken(v string) *ListCollectionsOutput

SetNextToken sets the NextToken field's value.

func (ListCollectionsOutput) String Uses

func (s ListCollectionsOutput) String() string

String returns the string representation

type ListFacesInput Uses

type ListFacesInput struct {

    // ID of the collection from which to list the faces.
    //
    // CollectionId is a required field
    CollectionId *string `min:"1" type:"string" required:"true"`

    // Maximum number of faces to return.
    MaxResults *int64 `type:"integer"`

    // If the previous response was incomplete (because there is more data to retrieve),
    // Amazon Rekognition returns a pagination token in the response. You can use
    // this pagination token to retrieve the next set of faces.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListFacesInput) GoString Uses

func (s ListFacesInput) GoString() string

GoString returns the string representation

func (*ListFacesInput) SetCollectionId Uses

func (s *ListFacesInput) SetCollectionId(v string) *ListFacesInput

SetCollectionId sets the CollectionId field's value.

func (*ListFacesInput) SetMaxResults Uses

func (s *ListFacesInput) SetMaxResults(v int64) *ListFacesInput

SetMaxResults sets the MaxResults field's value.

func (*ListFacesInput) SetNextToken Uses

func (s *ListFacesInput) SetNextToken(v string) *ListFacesInput

SetNextToken sets the NextToken field's value.

func (ListFacesInput) String Uses

func (s ListFacesInput) String() string

String returns the string representation

func (*ListFacesInput) Validate Uses

func (s *ListFacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListFacesOutput Uses

type ListFacesOutput struct {

    // Version number of the face detection model associated with the input collection
    // (CollectionId).
    FaceModelVersion *string `type:"string"`

    // An array of Face objects.
    Faces []*Face `type:"list"`

    // If the response is truncated, Amazon Rekognition returns this token that
    // you can use in the subsequent request to retrieve the next set of faces.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListFacesOutput) GoString Uses

func (s ListFacesOutput) GoString() string

GoString returns the string representation

func (*ListFacesOutput) SetFaceModelVersion Uses

func (s *ListFacesOutput) SetFaceModelVersion(v string) *ListFacesOutput

SetFaceModelVersion sets the FaceModelVersion field's value.

func (*ListFacesOutput) SetFaces Uses

func (s *ListFacesOutput) SetFaces(v []*Face) *ListFacesOutput

SetFaces sets the Faces field's value.

func (*ListFacesOutput) SetNextToken Uses

func (s *ListFacesOutput) SetNextToken(v string) *ListFacesOutput

SetNextToken sets the NextToken field's value.

func (ListFacesOutput) String Uses

func (s ListFacesOutput) String() string

String returns the string representation

type ListStreamProcessorsInput Uses

type ListStreamProcessorsInput struct {

    // Maximum number of stream processors you want Amazon Rekognition Video to
    // return in the response. The default is 1000.
    MaxResults *int64 `min:"1" type:"integer"`

    // If the previous response was incomplete (because there are more stream processors
    // to retrieve), Amazon Rekognition Video returns a pagination token in the
    // response. You can use this pagination token to retrieve the next set of stream
    // processors.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListStreamProcessorsInput) GoString Uses

func (s ListStreamProcessorsInput) GoString() string

GoString returns the string representation

func (*ListStreamProcessorsInput) SetMaxResults Uses

func (s *ListStreamProcessorsInput) SetMaxResults(v int64) *ListStreamProcessorsInput

SetMaxResults sets the MaxResults field's value.

func (*ListStreamProcessorsInput) SetNextToken Uses

func (s *ListStreamProcessorsInput) SetNextToken(v string) *ListStreamProcessorsInput

SetNextToken sets the NextToken field's value.

func (ListStreamProcessorsInput) String Uses

func (s ListStreamProcessorsInput) String() string

String returns the string representation

func (*ListStreamProcessorsInput) Validate Uses

func (s *ListStreamProcessorsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListStreamProcessorsOutput Uses

type ListStreamProcessorsOutput struct {

    // If the response is truncated, Amazon Rekognition Video returns this token
    // that you can use in the subsequent request to retrieve the next set of stream
    // processors.
    NextToken *string `type:"string"`

    // List of stream processors that you have created.
    StreamProcessors []*StreamProcessor `type:"list"`
    // contains filtered or unexported fields
}

func (ListStreamProcessorsOutput) GoString Uses

func (s ListStreamProcessorsOutput) GoString() string

GoString returns the string representation

func (*ListStreamProcessorsOutput) SetNextToken Uses

func (s *ListStreamProcessorsOutput) SetNextToken(v string) *ListStreamProcessorsOutput

SetNextToken sets the NextToken field's value.

func (*ListStreamProcessorsOutput) SetStreamProcessors Uses

func (s *ListStreamProcessorsOutput) SetStreamProcessors(v []*StreamProcessor) *ListStreamProcessorsOutput

SetStreamProcessors sets the StreamProcessors field's value.

func (ListStreamProcessorsOutput) String Uses

func (s ListStreamProcessorsOutput) String() string

String returns the string representation

type ModerationLabel Uses

type ModerationLabel struct {

    // Specifies the confidence that Amazon Rekognition has that the label has been
    // correctly identified.
    //
    // If you don't specify the MinConfidence parameter in the call to DetectModerationLabels,
    // the operation returns labels with a confidence value greater than or equal
    // to 50 percent.
    Confidence *float64 `type:"float"`

    // The label name for the type of unsafe content detected in the image.
    Name *string `type:"string"`

    // The name for the parent label. Labels at the top level of the hierarchy have
    // the parent label "".
    ParentName *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about a single type of unsafe content found in an image or video. Each type of moderated content has a label within a hierarchical taxonomy. For more information, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.

func (ModerationLabel) GoString Uses

func (s ModerationLabel) GoString() string

GoString returns the string representation

func (*ModerationLabel) SetConfidence Uses

func (s *ModerationLabel) SetConfidence(v float64) *ModerationLabel

SetConfidence sets the Confidence field's value.

func (*ModerationLabel) SetName Uses

func (s *ModerationLabel) SetName(v string) *ModerationLabel

SetName sets the Name field's value.

func (*ModerationLabel) SetParentName Uses

func (s *ModerationLabel) SetParentName(v string) *ModerationLabel

SetParentName sets the ParentName field's value.

func (ModerationLabel) String Uses

func (s ModerationLabel) String() string

String returns the string representation

type MouthOpen Uses

type MouthOpen struct {

    // Level of confidence in the determination.
    Confidence *float64 `type:"float"`

    // Boolean value that indicates whether the mouth on the face is open or not.
    Value *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Indicates whether or not the mouth on the face is open, and the confidence level in the determination.

func (MouthOpen) GoString Uses

func (s MouthOpen) GoString() string

GoString returns the string representation

func (*MouthOpen) SetConfidence Uses

func (s *MouthOpen) SetConfidence(v float64) *MouthOpen

SetConfidence sets the Confidence field's value.

func (*MouthOpen) SetValue Uses

func (s *MouthOpen) SetValue(v bool) *MouthOpen

SetValue sets the Value field's value.

func (MouthOpen) String Uses

func (s MouthOpen) String() string

String returns the string representation

type Mustache Uses

type Mustache struct {

    // Level of confidence in the determination.
    Confidence *float64 `type:"float"`

    // Boolean value that indicates whether the face has mustache or not.
    Value *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Indicates whether or not the face has a mustache, and the confidence level in the determination.

func (Mustache) GoString Uses

func (s Mustache) GoString() string

GoString returns the string representation

func (*Mustache) SetConfidence Uses

func (s *Mustache) SetConfidence(v float64) *Mustache

SetConfidence sets the Confidence field's value.

func (*Mustache) SetValue Uses

func (s *Mustache) SetValue(v bool) *Mustache

SetValue sets the Value field's value.

func (Mustache) String Uses

func (s Mustache) String() string

String returns the string representation

type NotificationChannel Uses

type NotificationChannel struct {

    // The ARN of an IAM role that gives Amazon Rekognition publishing permissions
    // to the Amazon SNS topic.
    //
    // RoleArn is a required field
    RoleArn *string `type:"string" required:"true"`

    // The Amazon SNS topic to which Amazon Rekognition to posts the completion
    // status.
    //
    // SNSTopicArn is a required field
    SNSTopicArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the completion status of a video analysis operation. For more information, see api-video.

func (NotificationChannel) GoString Uses

func (s NotificationChannel) GoString() string

GoString returns the string representation

func (*NotificationChannel) SetRoleArn Uses

func (s *NotificationChannel) SetRoleArn(v string) *NotificationChannel

SetRoleArn sets the RoleArn field's value.

func (*NotificationChannel) SetSNSTopicArn Uses

func (s *NotificationChannel) SetSNSTopicArn(v string) *NotificationChannel

SetSNSTopicArn sets the SNSTopicArn field's value.

func (NotificationChannel) String Uses

func (s NotificationChannel) String() string

String returns the string representation

func (*NotificationChannel) Validate Uses

func (s *NotificationChannel) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type OutputConfig Uses

type OutputConfig struct {

    // The S3 bucket where training output is placed.
    S3Bucket *string `min:"3" type:"string"`

    // The prefix applied to the training output files.
    S3KeyPrefix *string `type:"string"`
    // contains filtered or unexported fields
}

The S3 bucket and folder location where training output is placed.

func (OutputConfig) GoString Uses

func (s OutputConfig) GoString() string

GoString returns the string representation

func (*OutputConfig) SetS3Bucket Uses

func (s *OutputConfig) SetS3Bucket(v string) *OutputConfig

SetS3Bucket sets the S3Bucket field's value.

func (*OutputConfig) SetS3KeyPrefix Uses

func (s *OutputConfig) SetS3KeyPrefix(v string) *OutputConfig

SetS3KeyPrefix sets the S3KeyPrefix field's value.

func (OutputConfig) String Uses

func (s OutputConfig) String() string

String returns the string representation

func (*OutputConfig) Validate Uses

func (s *OutputConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Parent Uses

type Parent struct {

    // The name of the parent label.
    Name *string `type:"string"`
    // contains filtered or unexported fields
}

A parent label for a label. A label can have 0, 1, or more parents.

func (Parent) GoString Uses

func (s Parent) GoString() string

GoString returns the string representation

func (*Parent) SetName Uses

func (s *Parent) SetName(v string) *Parent

SetName sets the Name field's value.

func (Parent) String Uses

func (s Parent) String() string

String returns the string representation

type PersonDetail Uses

type PersonDetail struct {

    // Bounding box around the detected person.
    BoundingBox *BoundingBox `type:"structure"`

    // Face details for the detected person.
    Face *FaceDetail `type:"structure"`

    // Identifier for the person detected person within a video. Use to keep track
    // of the person throughout the video. The identifier is not stored by Amazon
    // Rekognition.
    Index *int64 `type:"long"`
    // contains filtered or unexported fields
}

Details about a person detected in a video analysis request.

func (PersonDetail) GoString Uses

func (s PersonDetail) GoString() string

GoString returns the string representation

func (*PersonDetail) SetBoundingBox Uses

func (s *PersonDetail) SetBoundingBox(v *BoundingBox) *PersonDetail

SetBoundingBox sets the BoundingBox field's value.

func (*PersonDetail) SetFace Uses

func (s *PersonDetail) SetFace(v *FaceDetail) *PersonDetail

SetFace sets the Face field's value.

func (*PersonDetail) SetIndex Uses

func (s *PersonDetail) SetIndex(v int64) *PersonDetail

SetIndex sets the Index field's value.

func (PersonDetail) String Uses

func (s PersonDetail) String() string

String returns the string representation

type PersonDetection Uses

type PersonDetection struct {

    // Details about a person whose path was tracked in a video.
    Person *PersonDetail `type:"structure"`

    // The time, in milliseconds from the start of the video, that the person's
    // path was tracked.
    Timestamp *int64 `type:"long"`
    // contains filtered or unexported fields
}

Details and path tracking information for a single time a person's path is tracked in a video. Amazon Rekognition operations that track people's paths return an array of PersonDetection objects with elements for each time a person's path is tracked in a video.

For more information, see GetPersonTracking in the Amazon Rekognition Developer Guide.

func (PersonDetection) GoString Uses

func (s PersonDetection) GoString() string

GoString returns the string representation

func (*PersonDetection) SetPerson Uses

func (s *PersonDetection) SetPerson(v *PersonDetail) *PersonDetection

SetPerson sets the Person field's value.

func (*PersonDetection) SetTimestamp Uses

func (s *PersonDetection) SetTimestamp(v int64) *PersonDetection

SetTimestamp sets the Timestamp field's value.

func (PersonDetection) String Uses

func (s PersonDetection) String() string

String returns the string representation

type PersonMatch Uses

type PersonMatch struct {

    // Information about the faces in the input collection that match the face of
    // a person in the video.
    FaceMatches []*FaceMatch `type:"list"`

    // Information about the matched person.
    Person *PersonDetail `type:"structure"`

    // The time, in milliseconds from the beginning of the video, that the person
    // was matched in the video.
    Timestamp *int64 `type:"long"`
    // contains filtered or unexported fields
}

Information about a person whose face matches a face(s) in an Amazon Rekognition collection. Includes information about the faces in the Amazon Rekognition collection (FaceMatch), information about the person (PersonDetail), and the time stamp for when the person was detected in a video. An array of PersonMatch objects is returned by GetFaceSearch.

func (PersonMatch) GoString Uses

func (s PersonMatch) GoString() string

GoString returns the string representation

func (*PersonMatch) SetFaceMatches Uses

func (s *PersonMatch) SetFaceMatches(v []*FaceMatch) *PersonMatch

SetFaceMatches sets the FaceMatches field's value.

func (*PersonMatch) SetPerson Uses

func (s *PersonMatch) SetPerson(v *PersonDetail) *PersonMatch

SetPerson sets the Person field's value.

func (*PersonMatch) SetTimestamp Uses

func (s *PersonMatch) SetTimestamp(v int64) *PersonMatch

SetTimestamp sets the Timestamp field's value.

func (PersonMatch) String Uses

func (s PersonMatch) String() string

String returns the string representation

type Point Uses

type Point struct {

    // The value of the X coordinate for a point on a Polygon.
    X   *float64 `type:"float"`

    // The value of the Y coordinate for a point on a Polygon.
    Y   *float64 `type:"float"`
    // contains filtered or unexported fields
}

The X and Y coordinates of a point on an image. The X and Y values returned are ratios of the overall image size. For example, if the input image is 700x200 and the operation returns X=0.5 and Y=0.25, then the point is at the (350,50) pixel coordinate on the image.

An array of Point objects, Polygon, is returned by DetectText and by DetectCustomLabels. Polygon represents a fine-grained polygon around a detected item. For more information, see Geometry in the Amazon Rekognition Developer Guide.

func (Point) GoString Uses

func (s Point) GoString() string

GoString returns the string representation

func (*Point) SetX Uses

func (s *Point) SetX(v float64) *Point

SetX sets the X field's value.

func (*Point) SetY Uses

func (s *Point) SetY(v float64) *Point

SetY sets the Y field's value.

func (Point) String Uses

func (s Point) String() string

String returns the string representation

type Pose Uses

type Pose struct {

    // Value representing the face rotation on the pitch axis.
    Pitch *float64 `type:"float"`

    // Value representing the face rotation on the roll axis.
    Roll *float64 `type:"float"`

    // Value representing the face rotation on the yaw axis.
    Yaw *float64 `type:"float"`
    // contains filtered or unexported fields
}

Indicates the pose of the face as determined by its pitch, roll, and yaw.

func (Pose) GoString Uses

func (s Pose) GoString() string

GoString returns the string representation

func (*Pose) SetPitch Uses

func (s *Pose) SetPitch(v float64) *Pose

SetPitch sets the Pitch field's value.

func (*Pose) SetRoll Uses

func (s *Pose) SetRoll(v float64) *Pose

SetRoll sets the Roll field's value.

func (*Pose) SetYaw Uses

func (s *Pose) SetYaw(v float64) *Pose

SetYaw sets the Yaw field's value.

func (Pose) String Uses

func (s Pose) String() string

String returns the string representation

type ProjectDescription Uses

type ProjectDescription struct {

    // The Unix timestamp for the date and time that the project was created.
    CreationTimestamp *time.Time `type:"timestamp"`

    // The Amazon Resource Name (ARN) of the project.
    ProjectArn *string `min:"20" type:"string"`

    // The current status of the project.
    Status *string `type:"string" enum:"ProjectStatus"`
    // contains filtered or unexported fields
}

A description of a Amazon Rekognition Custom Labels project.

func (ProjectDescription) GoString Uses

func (s ProjectDescription) GoString() string

GoString returns the string representation

func (*ProjectDescription) SetCreationTimestamp Uses

func (s *ProjectDescription) SetCreationTimestamp(v time.Time) *ProjectDescription

SetCreationTimestamp sets the CreationTimestamp field's value.

func (*ProjectDescription) SetProjectArn Uses

func (s *ProjectDescription) SetProjectArn(v string) *ProjectDescription

SetProjectArn sets the ProjectArn field's value.

func (*ProjectDescription) SetStatus Uses

func (s *ProjectDescription) SetStatus(v string) *ProjectDescription

SetStatus sets the Status field's value.

func (ProjectDescription) String Uses

func (s ProjectDescription) String() string

String returns the string representation

type ProjectVersionDescription Uses

type ProjectVersionDescription struct {

    // The duration, in seconds, that the model version has been billed for training.
    // This value is only returned if the model version has been successfully trained.
    BillableTrainingTimeInSeconds *int64 `type:"long"`

    // The Unix datetime for the date and time that training started.
    CreationTimestamp *time.Time `type:"timestamp"`

    // The training results. EvaluationResult is only returned if training is successful.
    EvaluationResult *EvaluationResult `type:"structure"`

    // The minimum number of inference units used by the model. For more information,
    // see StartProjectVersion.
    MinInferenceUnits *int64 `min:"1" type:"integer"`

    // The location where training results are saved.
    OutputConfig *OutputConfig `type:"structure"`

    // The Amazon Resource Name (ARN) of the model version.
    ProjectVersionArn *string `min:"20" type:"string"`

    // The current status of the model version.
    Status *string `type:"string" enum:"ProjectVersionStatus"`

    // A descriptive message for an error or warning that occurred.
    StatusMessage *string `type:"string"`

    // The manifest file that represents the testing results.
    TestingDataResult *TestingDataResult `type:"structure"`

    // The manifest file that represents the training results.
    TrainingDataResult *TrainingDataResult `type:"structure"`

    // The Unix date and time that training of the model ended.
    TrainingEndTimestamp *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

The description of a version of a model.

func (ProjectVersionDescription) GoString Uses

func (s ProjectVersionDescription) GoString() string

GoString returns the string representation

func (*ProjectVersionDescription) SetBillableTrainingTimeInSeconds Uses

func (s *ProjectVersionDescription) SetBillableTrainingTimeInSeconds(v int64) *ProjectVersionDescription

SetBillableTrainingTimeInSeconds sets the BillableTrainingTimeInSeconds field's value.

func (*ProjectVersionDescription) SetCreationTimestamp Uses

func (s *ProjectVersionDescription) SetCreationTimestamp(v time.Time) *ProjectVersionDescription

SetCreationTimestamp sets the CreationTimestamp field's value.

func (*ProjectVersionDescription) SetEvaluationResult Uses

func (s *ProjectVersionDescription) SetEvaluationResult(v *EvaluationResult) *ProjectVersionDescription

SetEvaluationResult sets the EvaluationResult field's value.

func (*ProjectVersionDescription) SetMinInferenceUnits Uses

func (s *ProjectVersionDescription) SetMinInferenceUnits(v int64) *ProjectVersionDescription

SetMinInferenceUnits sets the MinInferenceUnits field's value.

func (*ProjectVersionDescription) SetOutputConfig Uses

func (s *ProjectVersionDescription) SetOutputConfig(v *OutputConfig) *ProjectVersionDescription

SetOutputConfig sets the OutputConfig field's value.

func (*ProjectVersionDescription) SetProjectVersionArn Uses

func (s *ProjectVersionDescription) SetProjectVersionArn(v string) *ProjectVersionDescription

SetProjectVersionArn sets the ProjectVersionArn field's value.

func (*ProjectVersionDescription) SetStatus Uses

func (s *ProjectVersionDescription) SetStatus(v string) *ProjectVersionDescription

SetStatus sets the Status field's value.

func (*ProjectVersionDescription) SetStatusMessage Uses

func (s *ProjectVersionDescription) SetStatusMessage(v string) *ProjectVersionDescription

SetStatusMessage sets the StatusMessage field's value.

func (*ProjectVersionDescription) SetTestingDataResult Uses

func (s *ProjectVersionDescription) SetTestingDataResult(v *TestingDataResult) *ProjectVersionDescription

SetTestingDataResult sets the TestingDataResult field's value.

func (*ProjectVersionDescription) SetTrainingDataResult Uses

func (s *ProjectVersionDescription) SetTrainingDataResult(v *TrainingDataResult) *ProjectVersionDescription

SetTrainingDataResult sets the TrainingDataResult field's value.

func (*ProjectVersionDescription) SetTrainingEndTimestamp Uses

func (s *ProjectVersionDescription) SetTrainingEndTimestamp(v time.Time) *ProjectVersionDescription

SetTrainingEndTimestamp sets the TrainingEndTimestamp field's value.

func (ProjectVersionDescription) String Uses

func (s ProjectVersionDescription) String() string

String returns the string representation

type ProvisionedThroughputExceededException Uses

type ProvisionedThroughputExceededException struct {
    RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

    Message_ *string `locationName:"message" type:"string"`
    // contains filtered or unexported fields
}

The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Rekognition.

func (ProvisionedThroughputExceededException) Code Uses

func (s ProvisionedThroughputExceededException) Code() string

Code returns the exception type name.

func (ProvisionedThroughputExceededException) Error Uses

func (s ProvisionedThroughputExceededException) Error() string

func (ProvisionedThroughputExceededException) GoString Uses

func (s ProvisionedThroughputExceededException) GoString() string

GoString returns the string representation

func (ProvisionedThroughputExceededException) Message Uses

func (s ProvisionedThroughputExceededException) Message() string

Message returns the exception's message.

func (ProvisionedThroughputExceededException) OrigErr Uses

func (s ProvisionedThroughputExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ProvisionedThroughputExceededException) RequestID Uses

func (s ProvisionedThroughputExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ProvisionedThroughputExceededException) StatusCode Uses

func (s ProvisionedThroughputExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ProvisionedThroughputExceededException) String Uses

func (s ProvisionedThroughputExceededException) String() string

String returns the string representation

type RecognizeCelebritiesInput Uses

type RecognizeCelebritiesInput struct {

    // The input image as base64-encoded bytes or an S3 object. If you use the AWS
    // CLI to call Amazon Rekognition operations, passing base64-encoded image bytes
    // is not supported.
    //
    // If you are using an AWS SDK to call Amazon Rekognition, you might not need
    // to base64-encode image bytes passed using the Bytes field. For more information,
    // see Images in the Amazon Rekognition developer guide.
    //
    // Image is a required field
    Image *Image `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (RecognizeCelebritiesInput) GoString Uses

func (s RecognizeCelebritiesInput) GoString() string

GoString returns the string representation

func (*RecognizeCelebritiesInput) SetImage Uses

func (s *RecognizeCelebritiesInput) SetImage(v *Image) *RecognizeCelebritiesInput

SetImage sets the Image field's value.

func (RecognizeCelebritiesInput) String Uses

func (s RecognizeCelebritiesInput) String() string

String returns the string representation

func (*RecognizeCelebritiesInput) Validate Uses

func (s *RecognizeCelebritiesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RecognizeCelebritiesOutput Uses

type RecognizeCelebritiesOutput struct {

    // Details about each celebrity found in the image. Amazon Rekognition can detect
    // a maximum of 15 celebrities in an image.
    CelebrityFaces []*Celebrity `type:"list"`

    // The orientation of the input image (counterclockwise direction). If your
    // application displays the image, you can use this value to correct the orientation.
    // The bounding box coordinates returned in CelebrityFaces and UnrecognizedFaces
    // represent face locations before the image orientation is corrected.
    //
    // If the input image is in .jpeg format, it might contain exchangeable image
    // (Exif) metadata that includes the image's orientation. If so, and the Exif
    // metadata for the input image populates the orientation field, the value of
    // OrientationCorrection is null. The CelebrityFaces and UnrecognizedFaces bounding
    // box coordinates represent face locations after Exif metadata is used to correct
    // the image orientation. Images in .png format don't contain Exif metadata.
    OrientationCorrection *string `type:"string" enum:"OrientationCorrection"`

    // Details about each unrecognized face in the image.
    UnrecognizedFaces []*ComparedFace `type:"list"`
    // contains filtered or unexported fields
}

func (RecognizeCelebritiesOutput) GoString Uses

func (s RecognizeCelebritiesOutput) GoString() string

GoString returns the string representation

func (*RecognizeCelebritiesOutput) SetCelebrityFaces Uses

func (s *RecognizeCelebritiesOutput) SetCelebrityFaces(v []*Celebrity) *RecognizeCelebritiesOutput

SetCelebrityFaces sets the CelebrityFaces field's value.

func (*RecognizeCelebritiesOutput)