Documentation
¶
Index ¶
- type AccessDeniedException
- type AssetProcessingConfiguration
- type AutomationJobStatus
- type Blueprint
- type BlueprintStage
- type CustomOutputStatus
- type DataAutomationConfiguration
- type DataAutomationStage
- type EncryptionConfiguration
- type EventBridgeConfiguration
- type InputConfiguration
- type InternalServerException
- type NotificationConfiguration
- type OutputConfiguration
- type OutputSegment
- type ResourceNotFoundException
- type SemanticModality
- type ServiceQuotaExceededException
- type ServiceUnavailableException
- type SyncInputConfiguration
- type Tag
- type ThrottlingException
- type TimestampSegment
- type UnknownUnionMember
- type ValidationException
- type VideoAssetProcessingConfiguration
- type VideoSegmentConfiguration
- type VideoSegmentConfigurationMemberTimestampSegment
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
This exception will be thrown when customer does not have access to API.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type AssetProcessingConfiguration ¶ added in v1.3.0
type AssetProcessingConfiguration struct {
// Video asset processing configuration
Video *VideoAssetProcessingConfiguration
// contains filtered or unexported fields
}
Config containing asset processing related knobs for all modalities
type AutomationJobStatus ¶
type AutomationJobStatus string
const ( AutomationJobStatusCreated AutomationJobStatus = "Created" AutomationJobStatusInProgress AutomationJobStatus = "InProgress" AutomationJobStatusSuccess AutomationJobStatus = "Success" AutomationJobStatusServiceError AutomationJobStatus = "ServiceError" AutomationJobStatusClientError AutomationJobStatus = "ClientError" )
Enum values for AutomationJobStatus
func (AutomationJobStatus) Values ¶
func (AutomationJobStatus) Values() []AutomationJobStatus
Values returns all known values for AutomationJobStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Blueprint ¶
type Blueprint struct {
// Arn of blueprint.
//
// This member is required.
BlueprintArn *string
// Stage of blueprint.
Stage BlueprintStage
// Version of blueprint.
Version *string
// contains filtered or unexported fields
}
Structure for single blueprint entity.
type BlueprintStage ¶
type BlueprintStage string
const ( BlueprintStageDevelopment BlueprintStage = "DEVELOPMENT" BlueprintStageLive BlueprintStage = "LIVE" )
Enum values for BlueprintStage
func (BlueprintStage) Values ¶
func (BlueprintStage) Values() []BlueprintStage
Values returns all known values for BlueprintStage. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type CustomOutputStatus ¶ added in v1.8.0
type CustomOutputStatus string
const ( CustomOutputStatusMatch CustomOutputStatus = "MATCH" CustomOutputStatusNoMatch CustomOutputStatus = "NO_MATCH" )
Enum values for CustomOutputStatus
func (CustomOutputStatus) Values ¶ added in v1.8.0
func (CustomOutputStatus) Values() []CustomOutputStatus
Values returns all known values for CustomOutputStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type DataAutomationConfiguration ¶
type DataAutomationConfiguration struct {
// Data automation project arn.
//
// This member is required.
DataAutomationProjectArn *string
// Data automation stage.
Stage DataAutomationStage
// contains filtered or unexported fields
}
Data automation configuration.
type DataAutomationStage ¶
type DataAutomationStage string
const ( DataAutomationStageLive DataAutomationStage = "LIVE" DataAutomationStageDevelopment DataAutomationStage = "DEVELOPMENT" )
Enum values for DataAutomationStage
func (DataAutomationStage) Values ¶
func (DataAutomationStage) Values() []DataAutomationStage
Values returns all known values for DataAutomationStage. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type EncryptionConfiguration ¶
type EncryptionConfiguration struct {
// Customer KMS key used for encryption
//
// This member is required.
KmsKeyId *string
// KMS encryption context.
KmsEncryptionContext map[string]string
// contains filtered or unexported fields
}
Encryption configuration.
type EventBridgeConfiguration ¶
type EventBridgeConfiguration struct {
// Event bridge flag.
//
// This member is required.
EventBridgeEnabled *bool
// contains filtered or unexported fields
}
Event bridge configuration.
type InputConfiguration ¶
type InputConfiguration struct {
// S3 uri.
//
// This member is required.
S3Uri *string
// Asset processing configuration
AssetProcessingConfiguration *AssetProcessingConfiguration
// contains filtered or unexported fields
}
Input configuration.
type InternalServerException ¶
type InternalServerException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
This exception is for any internal un-expected service errors.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type NotificationConfiguration ¶
type NotificationConfiguration struct {
// Event bridge configuration.
//
// This member is required.
EventBridgeConfiguration *EventBridgeConfiguration
// contains filtered or unexported fields
}
Notification configuration.
type OutputConfiguration ¶
type OutputConfiguration struct {
// S3 uri.
//
// This member is required.
S3Uri *string
// contains filtered or unexported fields
}
Output configuration.
type OutputSegment ¶ added in v1.8.0
type OutputSegment struct {
// Custom output response
CustomOutput *string
// Status of blueprint match
CustomOutputStatus CustomOutputStatus
// Standard output response
StandardOutput *string
// contains filtered or unexported fields
}
Results for an output segment
type ResourceNotFoundException ¶
type ResourceNotFoundException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
This exception will be thrown when resource provided from customer not found.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type SemanticModality ¶ added in v1.8.0
type SemanticModality string
const ( SemanticModalityDocument SemanticModality = "DOCUMENT" SemanticModalityImage SemanticModality = "IMAGE" SemanticModalityAudio SemanticModality = "AUDIO" SemanticModalityVideo SemanticModality = "VIDEO" )
Enum values for SemanticModality
func (SemanticModality) Values ¶ added in v1.8.0
func (SemanticModality) Values() []SemanticModality
Values returns all known values for SemanticModality. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
This exception will be thrown when service quota is exceeded.
func (*ServiceQuotaExceededException) Error ¶
func (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶
func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaExceededException) ErrorMessage ¶
func (e *ServiceQuotaExceededException) ErrorMessage() string
type ServiceUnavailableException ¶ added in v1.8.0
type ServiceUnavailableException struct {
// contains filtered or unexported fields
}
This exception will be thrown when service is temporarily unavailable.
func (*ServiceUnavailableException) Error ¶ added in v1.8.0
func (e *ServiceUnavailableException) Error() string
func (*ServiceUnavailableException) ErrorCode ¶ added in v1.8.0
func (e *ServiceUnavailableException) ErrorCode() string
func (*ServiceUnavailableException) ErrorFault ¶ added in v1.8.0
func (e *ServiceUnavailableException) ErrorFault() smithy.ErrorFault
func (*ServiceUnavailableException) ErrorMessage ¶ added in v1.8.0
func (e *ServiceUnavailableException) ErrorMessage() string
type SyncInputConfiguration ¶ added in v1.8.0
type SyncInputConfiguration struct {
// Input data as bytes
Bytes []byte
// S3 URI of the input data
S3Uri *string
// contains filtered or unexported fields
}
Input configuration for synchronous API
type Tag ¶ added in v1.2.0
type Tag struct {
// Defines the context of the tag.
//
// This member is required.
Key *string
// Defines the value within the context. e.g. <key=reason, value=training>.
//
// This member is required.
Value *string
// contains filtered or unexported fields
}
Key value pair of a tag
type ThrottlingException ¶
type ThrottlingException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
This exception will be thrown when customer reached API TPS limit.
func (*ThrottlingException) Error ¶
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶
func (e *ThrottlingException) ErrorMessage() string
type TimestampSegment ¶ added in v1.3.0
type TimestampSegment struct {
// End timestamp in milliseconds
//
// This member is required.
EndTimeMillis *int64
// Start timestamp in milliseconds
//
// This member is required.
StartTimeMillis *int64
// contains filtered or unexported fields
}
Timestamp segment
type UnknownUnionMember ¶ added in v1.3.0
type UnknownUnionMember struct {
Tag string
Value []byte
// contains filtered or unexported fields
}
UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.
type ValidationException ¶
type ValidationException struct {
Message *string
ErrorCodeOverride *string
// contains filtered or unexported fields
}
This exception will be thrown when customer provided invalid parameters.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string
type VideoAssetProcessingConfiguration ¶ added in v1.3.0
type VideoAssetProcessingConfiguration struct {
// Delimits the segment of the input that will be processed
SegmentConfiguration VideoSegmentConfiguration
// contains filtered or unexported fields
}
Video asset processing configuration
type VideoSegmentConfiguration ¶ added in v1.3.0
type VideoSegmentConfiguration interface {
// contains filtered or unexported methods
}
Delimits the segment of the input that will be processed
The following types satisfy this interface:
VideoSegmentConfigurationMemberTimestampSegment
Example (OutputUsage) ¶
// Code generated by smithy-go-codegen DO NOT EDIT.
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/bedrockdataautomationruntime/types"
)
func main() {
var union types.VideoSegmentConfiguration
// type switches can be used to check the union value
switch v := union.(type) {
case *types.VideoSegmentConfigurationMemberTimestampSegment:
_ = v.Value // Value is types.TimestampSegment
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
var _ *types.TimestampSegment
type VideoSegmentConfigurationMemberTimestampSegment ¶ added in v1.3.0
type VideoSegmentConfigurationMemberTimestampSegment struct {
Value TimestampSegment
// contains filtered or unexported fields
}
Timestamp segment