Documentation ¶
Overview ¶
Package bedrock provides the client and types for making API requests to Amazon Bedrock.
Describes the API operations for creating and managing Amazon Bedrock models.
See https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20 for more information on this service.
See bedrock package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/bedrock/
Using the Client ¶
To contact Amazon Bedrock 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 Bedrock client Bedrock for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/bedrock/#New
Index ¶
- Constants
- func CommitmentDuration_Values() []string
- func CustomizationType_Values() []string
- func FineTuningJobStatus_Values() []string
- func FoundationModelLifecycleStatus_Values() []string
- func InferenceType_Values() []string
- func ModelCustomizationJobStatus_Values() []string
- func ModelCustomization_Values() []string
- func ModelModality_Values() []string
- func ProvisionedModelStatus_Values() []string
- func SortByProvisionedModels_Values() []string
- func SortJobsBy_Values() []string
- func SortModelsBy_Values() []string
- func SortOrder_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type Bedrock
- func (c *Bedrock) CreateModelCustomizationJob(input *CreateModelCustomizationJobInput) (*CreateModelCustomizationJobOutput, error)
- func (c *Bedrock) CreateModelCustomizationJobRequest(input *CreateModelCustomizationJobInput) (req *request.Request, output *CreateModelCustomizationJobOutput)
- func (c *Bedrock) CreateModelCustomizationJobWithContext(ctx aws.Context, input *CreateModelCustomizationJobInput, ...) (*CreateModelCustomizationJobOutput, error)
- func (c *Bedrock) CreateProvisionedModelThroughput(input *CreateProvisionedModelThroughputInput) (*CreateProvisionedModelThroughputOutput, error)
- func (c *Bedrock) CreateProvisionedModelThroughputRequest(input *CreateProvisionedModelThroughputInput) (req *request.Request, output *CreateProvisionedModelThroughputOutput)
- func (c *Bedrock) CreateProvisionedModelThroughputWithContext(ctx aws.Context, input *CreateProvisionedModelThroughputInput, ...) (*CreateProvisionedModelThroughputOutput, error)
- func (c *Bedrock) DeleteCustomModel(input *DeleteCustomModelInput) (*DeleteCustomModelOutput, error)
- func (c *Bedrock) DeleteCustomModelRequest(input *DeleteCustomModelInput) (req *request.Request, output *DeleteCustomModelOutput)
- func (c *Bedrock) DeleteCustomModelWithContext(ctx aws.Context, input *DeleteCustomModelInput, opts ...request.Option) (*DeleteCustomModelOutput, error)
- func (c *Bedrock) DeleteModelInvocationLoggingConfiguration(input *DeleteModelInvocationLoggingConfigurationInput) (*DeleteModelInvocationLoggingConfigurationOutput, error)
- func (c *Bedrock) DeleteModelInvocationLoggingConfigurationRequest(input *DeleteModelInvocationLoggingConfigurationInput) (req *request.Request, output *DeleteModelInvocationLoggingConfigurationOutput)
- func (c *Bedrock) DeleteModelInvocationLoggingConfigurationWithContext(ctx aws.Context, input *DeleteModelInvocationLoggingConfigurationInput, ...) (*DeleteModelInvocationLoggingConfigurationOutput, error)
- func (c *Bedrock) DeleteProvisionedModelThroughput(input *DeleteProvisionedModelThroughputInput) (*DeleteProvisionedModelThroughputOutput, error)
- func (c *Bedrock) DeleteProvisionedModelThroughputRequest(input *DeleteProvisionedModelThroughputInput) (req *request.Request, output *DeleteProvisionedModelThroughputOutput)
- func (c *Bedrock) DeleteProvisionedModelThroughputWithContext(ctx aws.Context, input *DeleteProvisionedModelThroughputInput, ...) (*DeleteProvisionedModelThroughputOutput, error)
- func (c *Bedrock) GetCustomModel(input *GetCustomModelInput) (*GetCustomModelOutput, error)
- func (c *Bedrock) GetCustomModelRequest(input *GetCustomModelInput) (req *request.Request, output *GetCustomModelOutput)
- func (c *Bedrock) GetCustomModelWithContext(ctx aws.Context, input *GetCustomModelInput, opts ...request.Option) (*GetCustomModelOutput, error)
- func (c *Bedrock) GetFoundationModel(input *GetFoundationModelInput) (*GetFoundationModelOutput, error)
- func (c *Bedrock) GetFoundationModelRequest(input *GetFoundationModelInput) (req *request.Request, output *GetFoundationModelOutput)
- func (c *Bedrock) GetFoundationModelWithContext(ctx aws.Context, input *GetFoundationModelInput, opts ...request.Option) (*GetFoundationModelOutput, error)
- func (c *Bedrock) GetModelCustomizationJob(input *GetModelCustomizationJobInput) (*GetModelCustomizationJobOutput, error)
- func (c *Bedrock) GetModelCustomizationJobRequest(input *GetModelCustomizationJobInput) (req *request.Request, output *GetModelCustomizationJobOutput)
- func (c *Bedrock) GetModelCustomizationJobWithContext(ctx aws.Context, input *GetModelCustomizationJobInput, opts ...request.Option) (*GetModelCustomizationJobOutput, error)
- func (c *Bedrock) GetModelInvocationLoggingConfiguration(input *GetModelInvocationLoggingConfigurationInput) (*GetModelInvocationLoggingConfigurationOutput, error)
- func (c *Bedrock) GetModelInvocationLoggingConfigurationRequest(input *GetModelInvocationLoggingConfigurationInput) (req *request.Request, output *GetModelInvocationLoggingConfigurationOutput)
- func (c *Bedrock) GetModelInvocationLoggingConfigurationWithContext(ctx aws.Context, input *GetModelInvocationLoggingConfigurationInput, ...) (*GetModelInvocationLoggingConfigurationOutput, error)
- func (c *Bedrock) GetProvisionedModelThroughput(input *GetProvisionedModelThroughputInput) (*GetProvisionedModelThroughputOutput, error)
- func (c *Bedrock) GetProvisionedModelThroughputRequest(input *GetProvisionedModelThroughputInput) (req *request.Request, output *GetProvisionedModelThroughputOutput)
- func (c *Bedrock) GetProvisionedModelThroughputWithContext(ctx aws.Context, input *GetProvisionedModelThroughputInput, ...) (*GetProvisionedModelThroughputOutput, error)
- func (c *Bedrock) ListCustomModels(input *ListCustomModelsInput) (*ListCustomModelsOutput, error)
- func (c *Bedrock) ListCustomModelsPages(input *ListCustomModelsInput, fn func(*ListCustomModelsOutput, bool) bool) error
- func (c *Bedrock) ListCustomModelsPagesWithContext(ctx aws.Context, input *ListCustomModelsInput, ...) error
- func (c *Bedrock) ListCustomModelsRequest(input *ListCustomModelsInput) (req *request.Request, output *ListCustomModelsOutput)
- func (c *Bedrock) ListCustomModelsWithContext(ctx aws.Context, input *ListCustomModelsInput, opts ...request.Option) (*ListCustomModelsOutput, error)
- func (c *Bedrock) ListFoundationModels(input *ListFoundationModelsInput) (*ListFoundationModelsOutput, error)
- func (c *Bedrock) ListFoundationModelsRequest(input *ListFoundationModelsInput) (req *request.Request, output *ListFoundationModelsOutput)
- func (c *Bedrock) ListFoundationModelsWithContext(ctx aws.Context, input *ListFoundationModelsInput, opts ...request.Option) (*ListFoundationModelsOutput, error)
- func (c *Bedrock) ListModelCustomizationJobs(input *ListModelCustomizationJobsInput) (*ListModelCustomizationJobsOutput, error)
- func (c *Bedrock) ListModelCustomizationJobsPages(input *ListModelCustomizationJobsInput, ...) error
- func (c *Bedrock) ListModelCustomizationJobsPagesWithContext(ctx aws.Context, input *ListModelCustomizationJobsInput, ...) error
- func (c *Bedrock) ListModelCustomizationJobsRequest(input *ListModelCustomizationJobsInput) (req *request.Request, output *ListModelCustomizationJobsOutput)
- func (c *Bedrock) ListModelCustomizationJobsWithContext(ctx aws.Context, input *ListModelCustomizationJobsInput, ...) (*ListModelCustomizationJobsOutput, error)
- func (c *Bedrock) ListProvisionedModelThroughputs(input *ListProvisionedModelThroughputsInput) (*ListProvisionedModelThroughputsOutput, error)
- func (c *Bedrock) ListProvisionedModelThroughputsPages(input *ListProvisionedModelThroughputsInput, ...) error
- func (c *Bedrock) ListProvisionedModelThroughputsPagesWithContext(ctx aws.Context, input *ListProvisionedModelThroughputsInput, ...) error
- func (c *Bedrock) ListProvisionedModelThroughputsRequest(input *ListProvisionedModelThroughputsInput) (req *request.Request, output *ListProvisionedModelThroughputsOutput)
- func (c *Bedrock) ListProvisionedModelThroughputsWithContext(ctx aws.Context, input *ListProvisionedModelThroughputsInput, ...) (*ListProvisionedModelThroughputsOutput, error)
- func (c *Bedrock) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *Bedrock) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *Bedrock) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *Bedrock) PutModelInvocationLoggingConfiguration(input *PutModelInvocationLoggingConfigurationInput) (*PutModelInvocationLoggingConfigurationOutput, error)
- func (c *Bedrock) PutModelInvocationLoggingConfigurationRequest(input *PutModelInvocationLoggingConfigurationInput) (req *request.Request, output *PutModelInvocationLoggingConfigurationOutput)
- func (c *Bedrock) PutModelInvocationLoggingConfigurationWithContext(ctx aws.Context, input *PutModelInvocationLoggingConfigurationInput, ...) (*PutModelInvocationLoggingConfigurationOutput, error)
- func (c *Bedrock) StopModelCustomizationJob(input *StopModelCustomizationJobInput) (*StopModelCustomizationJobOutput, error)
- func (c *Bedrock) StopModelCustomizationJobRequest(input *StopModelCustomizationJobInput) (req *request.Request, output *StopModelCustomizationJobOutput)
- func (c *Bedrock) StopModelCustomizationJobWithContext(ctx aws.Context, input *StopModelCustomizationJobInput, opts ...request.Option) (*StopModelCustomizationJobOutput, error)
- func (c *Bedrock) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *Bedrock) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *Bedrock) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *Bedrock) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *Bedrock) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *Bedrock) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *Bedrock) UpdateProvisionedModelThroughput(input *UpdateProvisionedModelThroughputInput) (*UpdateProvisionedModelThroughputOutput, error)
- func (c *Bedrock) UpdateProvisionedModelThroughputRequest(input *UpdateProvisionedModelThroughputInput) (req *request.Request, output *UpdateProvisionedModelThroughputOutput)
- func (c *Bedrock) UpdateProvisionedModelThroughputWithContext(ctx aws.Context, input *UpdateProvisionedModelThroughputInput, ...) (*UpdateProvisionedModelThroughputOutput, error)
- type CloudWatchConfig
- func (s CloudWatchConfig) GoString() string
- func (s *CloudWatchConfig) SetLargeDataDeliveryS3Config(v *S3Config) *CloudWatchConfig
- func (s *CloudWatchConfig) SetLogGroupName(v string) *CloudWatchConfig
- func (s *CloudWatchConfig) SetRoleArn(v string) *CloudWatchConfig
- func (s CloudWatchConfig) String() string
- func (s *CloudWatchConfig) Validate() error
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type CreateModelCustomizationJobInput
- func (s CreateModelCustomizationJobInput) GoString() string
- func (s *CreateModelCustomizationJobInput) SetBaseModelIdentifier(v string) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetClientRequestToken(v string) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetCustomModelKmsKeyId(v string) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetCustomModelName(v string) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetCustomModelTags(v []*Tag) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetCustomizationType(v string) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetHyperParameters(v map[string]*string) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetJobName(v string) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetJobTags(v []*Tag) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetRoleArn(v string) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetTrainingDataConfig(v *TrainingDataConfig) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetValidationDataConfig(v *ValidationDataConfig) *CreateModelCustomizationJobInput
- func (s *CreateModelCustomizationJobInput) SetVpcConfig(v *VpcConfig) *CreateModelCustomizationJobInput
- func (s CreateModelCustomizationJobInput) String() string
- func (s *CreateModelCustomizationJobInput) Validate() error
- type CreateModelCustomizationJobOutput
- type CreateProvisionedModelThroughputInput
- func (s CreateProvisionedModelThroughputInput) GoString() string
- func (s *CreateProvisionedModelThroughputInput) SetClientRequestToken(v string) *CreateProvisionedModelThroughputInput
- func (s *CreateProvisionedModelThroughputInput) SetCommitmentDuration(v string) *CreateProvisionedModelThroughputInput
- func (s *CreateProvisionedModelThroughputInput) SetModelId(v string) *CreateProvisionedModelThroughputInput
- func (s *CreateProvisionedModelThroughputInput) SetModelUnits(v int64) *CreateProvisionedModelThroughputInput
- func (s *CreateProvisionedModelThroughputInput) SetProvisionedModelName(v string) *CreateProvisionedModelThroughputInput
- func (s *CreateProvisionedModelThroughputInput) SetTags(v []*Tag) *CreateProvisionedModelThroughputInput
- func (s CreateProvisionedModelThroughputInput) String() string
- func (s *CreateProvisionedModelThroughputInput) Validate() error
- type CreateProvisionedModelThroughputOutput
- type CustomModelSummary
- func (s CustomModelSummary) GoString() string
- func (s *CustomModelSummary) SetBaseModelArn(v string) *CustomModelSummary
- func (s *CustomModelSummary) SetBaseModelName(v string) *CustomModelSummary
- func (s *CustomModelSummary) SetCreationTime(v time.Time) *CustomModelSummary
- func (s *CustomModelSummary) SetCustomizationType(v string) *CustomModelSummary
- func (s *CustomModelSummary) SetModelArn(v string) *CustomModelSummary
- func (s *CustomModelSummary) SetModelName(v string) *CustomModelSummary
- func (s CustomModelSummary) String() string
- type DeleteCustomModelInput
- type DeleteCustomModelOutput
- type DeleteModelInvocationLoggingConfigurationInput
- type DeleteModelInvocationLoggingConfigurationOutput
- type DeleteProvisionedModelThroughputInput
- func (s DeleteProvisionedModelThroughputInput) GoString() string
- func (s *DeleteProvisionedModelThroughputInput) SetProvisionedModelId(v string) *DeleteProvisionedModelThroughputInput
- func (s DeleteProvisionedModelThroughputInput) String() string
- func (s *DeleteProvisionedModelThroughputInput) Validate() error
- type DeleteProvisionedModelThroughputOutput
- type FoundationModelDetails
- func (s FoundationModelDetails) GoString() string
- func (s *FoundationModelDetails) SetCustomizationsSupported(v []*string) *FoundationModelDetails
- func (s *FoundationModelDetails) SetInferenceTypesSupported(v []*string) *FoundationModelDetails
- func (s *FoundationModelDetails) SetInputModalities(v []*string) *FoundationModelDetails
- func (s *FoundationModelDetails) SetModelArn(v string) *FoundationModelDetails
- func (s *FoundationModelDetails) SetModelId(v string) *FoundationModelDetails
- func (s *FoundationModelDetails) SetModelLifecycle(v *FoundationModelLifecycle) *FoundationModelDetails
- func (s *FoundationModelDetails) SetModelName(v string) *FoundationModelDetails
- func (s *FoundationModelDetails) SetOutputModalities(v []*string) *FoundationModelDetails
- func (s *FoundationModelDetails) SetProviderName(v string) *FoundationModelDetails
- func (s *FoundationModelDetails) SetResponseStreamingSupported(v bool) *FoundationModelDetails
- func (s FoundationModelDetails) String() string
- type FoundationModelLifecycle
- type FoundationModelSummary
- func (s FoundationModelSummary) GoString() string
- func (s *FoundationModelSummary) SetCustomizationsSupported(v []*string) *FoundationModelSummary
- func (s *FoundationModelSummary) SetInferenceTypesSupported(v []*string) *FoundationModelSummary
- func (s *FoundationModelSummary) SetInputModalities(v []*string) *FoundationModelSummary
- func (s *FoundationModelSummary) SetModelArn(v string) *FoundationModelSummary
- func (s *FoundationModelSummary) SetModelId(v string) *FoundationModelSummary
- func (s *FoundationModelSummary) SetModelLifecycle(v *FoundationModelLifecycle) *FoundationModelSummary
- func (s *FoundationModelSummary) SetModelName(v string) *FoundationModelSummary
- func (s *FoundationModelSummary) SetOutputModalities(v []*string) *FoundationModelSummary
- func (s *FoundationModelSummary) SetProviderName(v string) *FoundationModelSummary
- func (s *FoundationModelSummary) SetResponseStreamingSupported(v bool) *FoundationModelSummary
- func (s FoundationModelSummary) String() string
- type GetCustomModelInput
- type GetCustomModelOutput
- func (s GetCustomModelOutput) GoString() string
- func (s *GetCustomModelOutput) SetBaseModelArn(v string) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetCreationTime(v time.Time) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetCustomizationType(v string) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetHyperParameters(v map[string]*string) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetJobArn(v string) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetJobName(v string) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetModelArn(v string) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetModelKmsKeyArn(v string) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetModelName(v string) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetOutputDataConfig(v *OutputDataConfig) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetTrainingDataConfig(v *TrainingDataConfig) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetTrainingMetrics(v *TrainingMetrics) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetValidationDataConfig(v *ValidationDataConfig) *GetCustomModelOutput
- func (s *GetCustomModelOutput) SetValidationMetrics(v []*ValidatorMetric) *GetCustomModelOutput
- func (s GetCustomModelOutput) String() string
- type GetFoundationModelInput
- type GetFoundationModelOutput
- type GetModelCustomizationJobInput
- type GetModelCustomizationJobOutput
- func (s GetModelCustomizationJobOutput) GoString() string
- func (s *GetModelCustomizationJobOutput) SetBaseModelArn(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetClientRequestToken(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetCreationTime(v time.Time) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetCustomizationType(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetEndTime(v time.Time) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetFailureMessage(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetHyperParameters(v map[string]*string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetJobArn(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetJobName(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetLastModifiedTime(v time.Time) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetOutputDataConfig(v *OutputDataConfig) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetOutputModelArn(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetOutputModelKmsKeyArn(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetOutputModelName(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetRoleArn(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetStatus(v string) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetTrainingDataConfig(v *TrainingDataConfig) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetTrainingMetrics(v *TrainingMetrics) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetValidationDataConfig(v *ValidationDataConfig) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetValidationMetrics(v []*ValidatorMetric) *GetModelCustomizationJobOutput
- func (s *GetModelCustomizationJobOutput) SetVpcConfig(v *VpcConfig) *GetModelCustomizationJobOutput
- func (s GetModelCustomizationJobOutput) String() string
- type GetModelInvocationLoggingConfigurationInput
- type GetModelInvocationLoggingConfigurationOutput
- type GetProvisionedModelThroughputInput
- type GetProvisionedModelThroughputOutput
- func (s GetProvisionedModelThroughputOutput) GoString() string
- func (s *GetProvisionedModelThroughputOutput) SetCommitmentDuration(v string) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetCommitmentExpirationTime(v time.Time) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetCreationTime(v time.Time) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetDesiredModelArn(v string) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetDesiredModelUnits(v int64) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetFailureMessage(v string) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetFoundationModelArn(v string) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetLastModifiedTime(v time.Time) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetModelArn(v string) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetModelUnits(v int64) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetProvisionedModelArn(v string) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetProvisionedModelName(v string) *GetProvisionedModelThroughputOutput
- func (s *GetProvisionedModelThroughputOutput) SetStatus(v string) *GetProvisionedModelThroughputOutput
- func (s GetProvisionedModelThroughputOutput) String() string
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type ListCustomModelsInput
- func (s ListCustomModelsInput) GoString() string
- func (s *ListCustomModelsInput) SetBaseModelArnEquals(v string) *ListCustomModelsInput
- func (s *ListCustomModelsInput) SetCreationTimeAfter(v time.Time) *ListCustomModelsInput
- func (s *ListCustomModelsInput) SetCreationTimeBefore(v time.Time) *ListCustomModelsInput
- func (s *ListCustomModelsInput) SetFoundationModelArnEquals(v string) *ListCustomModelsInput
- func (s *ListCustomModelsInput) SetMaxResults(v int64) *ListCustomModelsInput
- func (s *ListCustomModelsInput) SetNameContains(v string) *ListCustomModelsInput
- func (s *ListCustomModelsInput) SetNextToken(v string) *ListCustomModelsInput
- func (s *ListCustomModelsInput) SetSortBy(v string) *ListCustomModelsInput
- func (s *ListCustomModelsInput) SetSortOrder(v string) *ListCustomModelsInput
- func (s ListCustomModelsInput) String() string
- func (s *ListCustomModelsInput) Validate() error
- type ListCustomModelsOutput
- type ListFoundationModelsInput
- func (s ListFoundationModelsInput) GoString() string
- func (s *ListFoundationModelsInput) SetByCustomizationType(v string) *ListFoundationModelsInput
- func (s *ListFoundationModelsInput) SetByInferenceType(v string) *ListFoundationModelsInput
- func (s *ListFoundationModelsInput) SetByOutputModality(v string) *ListFoundationModelsInput
- func (s *ListFoundationModelsInput) SetByProvider(v string) *ListFoundationModelsInput
- func (s ListFoundationModelsInput) String() string
- type ListFoundationModelsOutput
- type ListModelCustomizationJobsInput
- func (s ListModelCustomizationJobsInput) GoString() string
- func (s *ListModelCustomizationJobsInput) SetCreationTimeAfter(v time.Time) *ListModelCustomizationJobsInput
- func (s *ListModelCustomizationJobsInput) SetCreationTimeBefore(v time.Time) *ListModelCustomizationJobsInput
- func (s *ListModelCustomizationJobsInput) SetMaxResults(v int64) *ListModelCustomizationJobsInput
- func (s *ListModelCustomizationJobsInput) SetNameContains(v string) *ListModelCustomizationJobsInput
- func (s *ListModelCustomizationJobsInput) SetNextToken(v string) *ListModelCustomizationJobsInput
- func (s *ListModelCustomizationJobsInput) SetSortBy(v string) *ListModelCustomizationJobsInput
- func (s *ListModelCustomizationJobsInput) SetSortOrder(v string) *ListModelCustomizationJobsInput
- func (s *ListModelCustomizationJobsInput) SetStatusEquals(v string) *ListModelCustomizationJobsInput
- func (s ListModelCustomizationJobsInput) String() string
- func (s *ListModelCustomizationJobsInput) Validate() error
- type ListModelCustomizationJobsOutput
- func (s ListModelCustomizationJobsOutput) GoString() string
- func (s *ListModelCustomizationJobsOutput) SetModelCustomizationJobSummaries(v []*ModelCustomizationJobSummary) *ListModelCustomizationJobsOutput
- func (s *ListModelCustomizationJobsOutput) SetNextToken(v string) *ListModelCustomizationJobsOutput
- func (s ListModelCustomizationJobsOutput) String() string
- type ListProvisionedModelThroughputsInput
- func (s ListProvisionedModelThroughputsInput) GoString() string
- func (s *ListProvisionedModelThroughputsInput) SetCreationTimeAfter(v time.Time) *ListProvisionedModelThroughputsInput
- func (s *ListProvisionedModelThroughputsInput) SetCreationTimeBefore(v time.Time) *ListProvisionedModelThroughputsInput
- func (s *ListProvisionedModelThroughputsInput) SetMaxResults(v int64) *ListProvisionedModelThroughputsInput
- func (s *ListProvisionedModelThroughputsInput) SetModelArnEquals(v string) *ListProvisionedModelThroughputsInput
- func (s *ListProvisionedModelThroughputsInput) SetNameContains(v string) *ListProvisionedModelThroughputsInput
- func (s *ListProvisionedModelThroughputsInput) SetNextToken(v string) *ListProvisionedModelThroughputsInput
- func (s *ListProvisionedModelThroughputsInput) SetSortBy(v string) *ListProvisionedModelThroughputsInput
- func (s *ListProvisionedModelThroughputsInput) SetSortOrder(v string) *ListProvisionedModelThroughputsInput
- func (s *ListProvisionedModelThroughputsInput) SetStatusEquals(v string) *ListProvisionedModelThroughputsInput
- func (s ListProvisionedModelThroughputsInput) String() string
- func (s *ListProvisionedModelThroughputsInput) Validate() error
- type ListProvisionedModelThroughputsOutput
- func (s ListProvisionedModelThroughputsOutput) GoString() string
- func (s *ListProvisionedModelThroughputsOutput) SetNextToken(v string) *ListProvisionedModelThroughputsOutput
- func (s *ListProvisionedModelThroughputsOutput) SetProvisionedModelSummaries(v []*ProvisionedModelSummary) *ListProvisionedModelThroughputsOutput
- func (s ListProvisionedModelThroughputsOutput) String() string
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type LoggingConfig
- func (s LoggingConfig) GoString() string
- func (s *LoggingConfig) SetCloudWatchConfig(v *CloudWatchConfig) *LoggingConfig
- func (s *LoggingConfig) SetEmbeddingDataDeliveryEnabled(v bool) *LoggingConfig
- func (s *LoggingConfig) SetImageDataDeliveryEnabled(v bool) *LoggingConfig
- func (s *LoggingConfig) SetS3Config(v *S3Config) *LoggingConfig
- func (s *LoggingConfig) SetTextDataDeliveryEnabled(v bool) *LoggingConfig
- func (s LoggingConfig) String() string
- func (s *LoggingConfig) Validate() error
- type ModelCustomizationJobSummary
- func (s ModelCustomizationJobSummary) GoString() string
- func (s *ModelCustomizationJobSummary) SetBaseModelArn(v string) *ModelCustomizationJobSummary
- func (s *ModelCustomizationJobSummary) SetCreationTime(v time.Time) *ModelCustomizationJobSummary
- func (s *ModelCustomizationJobSummary) SetCustomModelArn(v string) *ModelCustomizationJobSummary
- func (s *ModelCustomizationJobSummary) SetCustomModelName(v string) *ModelCustomizationJobSummary
- func (s *ModelCustomizationJobSummary) SetCustomizationType(v string) *ModelCustomizationJobSummary
- func (s *ModelCustomizationJobSummary) SetEndTime(v time.Time) *ModelCustomizationJobSummary
- func (s *ModelCustomizationJobSummary) SetJobArn(v string) *ModelCustomizationJobSummary
- func (s *ModelCustomizationJobSummary) SetJobName(v string) *ModelCustomizationJobSummary
- func (s *ModelCustomizationJobSummary) SetLastModifiedTime(v time.Time) *ModelCustomizationJobSummary
- func (s *ModelCustomizationJobSummary) SetStatus(v string) *ModelCustomizationJobSummary
- func (s ModelCustomizationJobSummary) String() string
- type OutputDataConfig
- type ProvisionedModelSummary
- func (s ProvisionedModelSummary) GoString() string
- func (s *ProvisionedModelSummary) SetCommitmentDuration(v string) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetCommitmentExpirationTime(v time.Time) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetCreationTime(v time.Time) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetDesiredModelArn(v string) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetDesiredModelUnits(v int64) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetFoundationModelArn(v string) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetLastModifiedTime(v time.Time) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetModelArn(v string) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetModelUnits(v int64) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetProvisionedModelArn(v string) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetProvisionedModelName(v string) *ProvisionedModelSummary
- func (s *ProvisionedModelSummary) SetStatus(v string) *ProvisionedModelSummary
- func (s ProvisionedModelSummary) String() string
- type PutModelInvocationLoggingConfigurationInput
- func (s PutModelInvocationLoggingConfigurationInput) GoString() string
- func (s *PutModelInvocationLoggingConfigurationInput) SetLoggingConfig(v *LoggingConfig) *PutModelInvocationLoggingConfigurationInput
- func (s PutModelInvocationLoggingConfigurationInput) String() string
- func (s *PutModelInvocationLoggingConfigurationInput) Validate() error
- type PutModelInvocationLoggingConfigurationOutput
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type S3Config
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type StopModelCustomizationJobInput
- type StopModelCustomizationJobOutput
- type Tag
- type TagResourceInput
- type TagResourceOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type TooManyTagsException
- func (s *TooManyTagsException) Code() string
- func (s *TooManyTagsException) Error() string
- func (s TooManyTagsException) GoString() string
- func (s *TooManyTagsException) Message() string
- func (s *TooManyTagsException) OrigErr() error
- func (s *TooManyTagsException) RequestID() string
- func (s *TooManyTagsException) StatusCode() int
- func (s TooManyTagsException) String() string
- type TrainingDataConfig
- type TrainingMetrics
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateProvisionedModelThroughputInput
- func (s UpdateProvisionedModelThroughputInput) GoString() string
- func (s *UpdateProvisionedModelThroughputInput) SetDesiredModelId(v string) *UpdateProvisionedModelThroughputInput
- func (s *UpdateProvisionedModelThroughputInput) SetDesiredProvisionedModelName(v string) *UpdateProvisionedModelThroughputInput
- func (s *UpdateProvisionedModelThroughputInput) SetProvisionedModelId(v string) *UpdateProvisionedModelThroughputInput
- func (s UpdateProvisionedModelThroughputInput) String() string
- func (s *UpdateProvisionedModelThroughputInput) Validate() error
- type UpdateProvisionedModelThroughputOutput
- type ValidationDataConfig
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
- type Validator
- type ValidatorMetric
- type VpcConfig
Constants ¶
const ( // CommitmentDurationOneMonth is a CommitmentDuration enum value CommitmentDurationOneMonth = "OneMonth" // CommitmentDurationSixMonths is a CommitmentDuration enum value CommitmentDurationSixMonths = "SixMonths" )
const ( // CustomizationTypeFineTuning is a CustomizationType enum value CustomizationTypeFineTuning = "FINE_TUNING" // CustomizationTypeContinuedPreTraining is a CustomizationType enum value CustomizationTypeContinuedPreTraining = "CONTINUED_PRE_TRAINING" )
const ( // FineTuningJobStatusInProgress is a FineTuningJobStatus enum value FineTuningJobStatusInProgress = "InProgress" // FineTuningJobStatusCompleted is a FineTuningJobStatus enum value FineTuningJobStatusCompleted = "Completed" // FineTuningJobStatusFailed is a FineTuningJobStatus enum value FineTuningJobStatusFailed = "Failed" // FineTuningJobStatusStopping is a FineTuningJobStatus enum value FineTuningJobStatusStopping = "Stopping" // FineTuningJobStatusStopped is a FineTuningJobStatus enum value FineTuningJobStatusStopped = "Stopped" )
const ( // FoundationModelLifecycleStatusActive is a FoundationModelLifecycleStatus enum value FoundationModelLifecycleStatusActive = "ACTIVE" // FoundationModelLifecycleStatusLegacy is a FoundationModelLifecycleStatus enum value FoundationModelLifecycleStatusLegacy = "LEGACY" )
const ( // InferenceTypeOnDemand is a InferenceType enum value InferenceTypeOnDemand = "ON_DEMAND" // InferenceTypeProvisioned is a InferenceType enum value InferenceTypeProvisioned = "PROVISIONED" )
const ( // ModelCustomizationFineTuning is a ModelCustomization enum value ModelCustomizationFineTuning = "FINE_TUNING" // ModelCustomizationContinuedPreTraining is a ModelCustomization enum value ModelCustomizationContinuedPreTraining = "CONTINUED_PRE_TRAINING" )
const ( // ModelCustomizationJobStatusInProgress is a ModelCustomizationJobStatus enum value ModelCustomizationJobStatusInProgress = "InProgress" // ModelCustomizationJobStatusCompleted is a ModelCustomizationJobStatus enum value ModelCustomizationJobStatusCompleted = "Completed" // ModelCustomizationJobStatusFailed is a ModelCustomizationJobStatus enum value ModelCustomizationJobStatusFailed = "Failed" // ModelCustomizationJobStatusStopping is a ModelCustomizationJobStatus enum value ModelCustomizationJobStatusStopping = "Stopping" // ModelCustomizationJobStatusStopped is a ModelCustomizationJobStatus enum value ModelCustomizationJobStatusStopped = "Stopped" )
const ( // ModelModalityText is a ModelModality enum value ModelModalityText = "TEXT" // ModelModalityImage is a ModelModality enum value ModelModalityImage = "IMAGE" // ModelModalityEmbedding is a ModelModality enum value ModelModalityEmbedding = "EMBEDDING" )
const ( // ProvisionedModelStatusCreating is a ProvisionedModelStatus enum value ProvisionedModelStatusCreating = "Creating" // ProvisionedModelStatusInService is a ProvisionedModelStatus enum value ProvisionedModelStatusInService = "InService" // ProvisionedModelStatusUpdating is a ProvisionedModelStatus enum value ProvisionedModelStatusUpdating = "Updating" // ProvisionedModelStatusFailed is a ProvisionedModelStatus enum value ProvisionedModelStatusFailed = "Failed" )
const ( // SortOrderAscending is a SortOrder enum value SortOrderAscending = "Ascending" // SortOrderDescending is a SortOrder enum value SortOrderDescending = "Descending" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // The request is denied because of missing access permissions. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // Error occurred because of a conflict while performing an operation. ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // An internal server error occurred. Retry your request. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The specified resource ARN was not found. Check the ARN and try your request // again. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // The number of requests exceeds the service quota. Resubmit your request later. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // The number of requests exceeds the limit. Resubmit your request later. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeTooManyTagsException for service response error code // "TooManyTagsException". // // The request contains more tags than can be associated with a resource (50 // tags per resource). The maximum number of tags includes both existing tags // and those included in your current request. ErrCodeTooManyTagsException = "TooManyTagsException" // ErrCodeValidationException for service response error code // "ValidationException". // // Input validation failed. Check your request parameters and retry the request. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "Bedrock" // Name of service. EndpointsID = "bedrock" // ID to lookup a service endpoint with. ServiceID = "Bedrock" // ServiceID is a unique identifier of a specific service. )
Service information constants
const (
// SortByProvisionedModelsCreationTime is a SortByProvisionedModels enum value
SortByProvisionedModelsCreationTime = "CreationTime"
)
const (
// SortJobsByCreationTime is a SortJobsBy enum value
SortJobsByCreationTime = "CreationTime"
)
const (
// SortModelsByCreationTime is a SortModelsBy enum value
SortModelsByCreationTime = "CreationTime"
)
Variables ¶
This section is empty.
Functions ¶
func CommitmentDuration_Values ¶ added in v1.45.20
func CommitmentDuration_Values() []string
CommitmentDuration_Values returns all elements of the CommitmentDuration enum
func CustomizationType_Values ¶ added in v1.48.7
func CustomizationType_Values() []string
CustomizationType_Values returns all elements of the CustomizationType enum
func FineTuningJobStatus_Values ¶
func FineTuningJobStatus_Values() []string
FineTuningJobStatus_Values returns all elements of the FineTuningJobStatus enum
func FoundationModelLifecycleStatus_Values ¶ added in v1.48.7
func FoundationModelLifecycleStatus_Values() []string
FoundationModelLifecycleStatus_Values returns all elements of the FoundationModelLifecycleStatus enum
func InferenceType_Values ¶
func InferenceType_Values() []string
InferenceType_Values returns all elements of the InferenceType enum
func ModelCustomizationJobStatus_Values ¶
func ModelCustomizationJobStatus_Values() []string
ModelCustomizationJobStatus_Values returns all elements of the ModelCustomizationJobStatus enum
func ModelCustomization_Values ¶
func ModelCustomization_Values() []string
ModelCustomization_Values returns all elements of the ModelCustomization enum
func ModelModality_Values ¶
func ModelModality_Values() []string
ModelModality_Values returns all elements of the ModelModality enum
func ProvisionedModelStatus_Values ¶ added in v1.45.20
func ProvisionedModelStatus_Values() []string
ProvisionedModelStatus_Values returns all elements of the ProvisionedModelStatus enum
func SortByProvisionedModels_Values ¶ added in v1.45.20
func SortByProvisionedModels_Values() []string
SortByProvisionedModels_Values returns all elements of the SortByProvisionedModels enum
func SortJobsBy_Values ¶
func SortJobsBy_Values() []string
SortJobsBy_Values returns all elements of the SortJobsBy enum
func SortModelsBy_Values ¶
func SortModelsBy_Values() []string
SortModelsBy_Values returns all elements of the SortModelsBy enum
func SortOrder_Values ¶
func SortOrder_Values() []string
SortOrder_Values returns all elements of the SortOrder enum
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The request is denied because of missing access permissions.
func (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Bedrock ¶
Bedrock provides the API operation methods for making requests to Amazon Bedrock. See this package's package overview docs for details on the service.
Bedrock methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Bedrock
New creates a new instance of the Bedrock client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a Bedrock client from just a session. svc := bedrock.New(mySession) // Create a Bedrock client with additional configuration svc := bedrock.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*Bedrock) CreateModelCustomizationJob ¶
func (c *Bedrock) CreateModelCustomizationJob(input *CreateModelCustomizationJobInput) (*CreateModelCustomizationJobOutput, error)
CreateModelCustomizationJob API operation for Amazon Bedrock.
Creates a fine-tuning job to customize a base model.
You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Training data contains input and output text for each record in a JSONL format. Optionally, you can specify validation data in the same format as the training data. Amazon Bedrock returns validation loss metrics and output generations after the job completes.
Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to retrieve the job status.
For more information, see Custom models (https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation CreateModelCustomizationJob for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
ConflictException Error occurred because of a conflict while performing an operation.
InternalServerException An internal server error occurred. Retry your request.
TooManyTagsException The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.
ServiceQuotaExceededException The number of requests exceeds the service quota. Resubmit your request later.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelCustomizationJob
func (*Bedrock) CreateModelCustomizationJobRequest ¶
func (c *Bedrock) CreateModelCustomizationJobRequest(input *CreateModelCustomizationJobInput) (req *request.Request, output *CreateModelCustomizationJobOutput)
CreateModelCustomizationJobRequest generates a "aws/request.Request" representing the client's request for the CreateModelCustomizationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateModelCustomizationJob for more information on using the CreateModelCustomizationJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateModelCustomizationJobRequest method. req, resp := client.CreateModelCustomizationJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelCustomizationJob
func (*Bedrock) CreateModelCustomizationJobWithContext ¶
func (c *Bedrock) CreateModelCustomizationJobWithContext(ctx aws.Context, input *CreateModelCustomizationJobInput, opts ...request.Option) (*CreateModelCustomizationJobOutput, error)
CreateModelCustomizationJobWithContext is the same as CreateModelCustomizationJob with the addition of the ability to pass a context and additional request options.
See CreateModelCustomizationJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) CreateProvisionedModelThroughput ¶ added in v1.45.20
func (c *Bedrock) CreateProvisionedModelThroughput(input *CreateProvisionedModelThroughputInput) (*CreateProvisionedModelThroughputOutput, error)
CreateProvisionedModelThroughput API operation for Amazon Bedrock.
Creates a provisioned throughput with dedicated capacity for a foundation model or a fine-tuned model.
For more information, see Provisioned throughput (https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation CreateProvisionedModelThroughput for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
TooManyTagsException The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.
ServiceQuotaExceededException The number of requests exceeds the service quota. Resubmit your request later.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateProvisionedModelThroughput
func (*Bedrock) CreateProvisionedModelThroughputRequest ¶ added in v1.45.20
func (c *Bedrock) CreateProvisionedModelThroughputRequest(input *CreateProvisionedModelThroughputInput) (req *request.Request, output *CreateProvisionedModelThroughputOutput)
CreateProvisionedModelThroughputRequest generates a "aws/request.Request" representing the client's request for the CreateProvisionedModelThroughput operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateProvisionedModelThroughput for more information on using the CreateProvisionedModelThroughput API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateProvisionedModelThroughputRequest method. req, resp := client.CreateProvisionedModelThroughputRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateProvisionedModelThroughput
func (*Bedrock) CreateProvisionedModelThroughputWithContext ¶ added in v1.45.20
func (c *Bedrock) CreateProvisionedModelThroughputWithContext(ctx aws.Context, input *CreateProvisionedModelThroughputInput, opts ...request.Option) (*CreateProvisionedModelThroughputOutput, error)
CreateProvisionedModelThroughputWithContext is the same as CreateProvisionedModelThroughput with the addition of the ability to pass a context and additional request options.
See CreateProvisionedModelThroughput for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) DeleteCustomModel ¶
func (c *Bedrock) DeleteCustomModel(input *DeleteCustomModelInput) (*DeleteCustomModelOutput, error)
DeleteCustomModel API operation for Amazon Bedrock.
Deletes a custom model that you created earlier. For more information, see Custom models (https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation DeleteCustomModel for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
ConflictException Error occurred because of a conflict while performing an operation.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteCustomModel
func (*Bedrock) DeleteCustomModelRequest ¶
func (c *Bedrock) DeleteCustomModelRequest(input *DeleteCustomModelInput) (req *request.Request, output *DeleteCustomModelOutput)
DeleteCustomModelRequest generates a "aws/request.Request" representing the client's request for the DeleteCustomModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteCustomModel for more information on using the DeleteCustomModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteCustomModelRequest method. req, resp := client.DeleteCustomModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteCustomModel
func (*Bedrock) DeleteCustomModelWithContext ¶
func (c *Bedrock) DeleteCustomModelWithContext(ctx aws.Context, input *DeleteCustomModelInput, opts ...request.Option) (*DeleteCustomModelOutput, error)
DeleteCustomModelWithContext is the same as DeleteCustomModel with the addition of the ability to pass a context and additional request options.
See DeleteCustomModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) DeleteModelInvocationLoggingConfiguration ¶
func (c *Bedrock) DeleteModelInvocationLoggingConfiguration(input *DeleteModelInvocationLoggingConfigurationInput) (*DeleteModelInvocationLoggingConfigurationOutput, error)
DeleteModelInvocationLoggingConfiguration API operation for Amazon Bedrock.
Delete the invocation logging.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation DeleteModelInvocationLoggingConfiguration for usage and error information.
Returned Error Types:
AccessDeniedException The request is denied because of missing access permissions.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteModelInvocationLoggingConfiguration
func (*Bedrock) DeleteModelInvocationLoggingConfigurationRequest ¶
func (c *Bedrock) DeleteModelInvocationLoggingConfigurationRequest(input *DeleteModelInvocationLoggingConfigurationInput) (req *request.Request, output *DeleteModelInvocationLoggingConfigurationOutput)
DeleteModelInvocationLoggingConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteModelInvocationLoggingConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteModelInvocationLoggingConfiguration for more information on using the DeleteModelInvocationLoggingConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteModelInvocationLoggingConfigurationRequest method. req, resp := client.DeleteModelInvocationLoggingConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteModelInvocationLoggingConfiguration
func (*Bedrock) DeleteModelInvocationLoggingConfigurationWithContext ¶
func (c *Bedrock) DeleteModelInvocationLoggingConfigurationWithContext(ctx aws.Context, input *DeleteModelInvocationLoggingConfigurationInput, opts ...request.Option) (*DeleteModelInvocationLoggingConfigurationOutput, error)
DeleteModelInvocationLoggingConfigurationWithContext is the same as DeleteModelInvocationLoggingConfiguration with the addition of the ability to pass a context and additional request options.
See DeleteModelInvocationLoggingConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) DeleteProvisionedModelThroughput ¶ added in v1.45.20
func (c *Bedrock) DeleteProvisionedModelThroughput(input *DeleteProvisionedModelThroughputInput) (*DeleteProvisionedModelThroughputOutput, error)
DeleteProvisionedModelThroughput API operation for Amazon Bedrock.
Deletes a provisioned throughput. For more information, see Provisioned throughput (https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation DeleteProvisionedModelThroughput for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
ConflictException Error occurred because of a conflict while performing an operation.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteProvisionedModelThroughput
func (*Bedrock) DeleteProvisionedModelThroughputRequest ¶ added in v1.45.20
func (c *Bedrock) DeleteProvisionedModelThroughputRequest(input *DeleteProvisionedModelThroughputInput) (req *request.Request, output *DeleteProvisionedModelThroughputOutput)
DeleteProvisionedModelThroughputRequest generates a "aws/request.Request" representing the client's request for the DeleteProvisionedModelThroughput operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteProvisionedModelThroughput for more information on using the DeleteProvisionedModelThroughput API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteProvisionedModelThroughputRequest method. req, resp := client.DeleteProvisionedModelThroughputRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteProvisionedModelThroughput
func (*Bedrock) DeleteProvisionedModelThroughputWithContext ¶ added in v1.45.20
func (c *Bedrock) DeleteProvisionedModelThroughputWithContext(ctx aws.Context, input *DeleteProvisionedModelThroughputInput, opts ...request.Option) (*DeleteProvisionedModelThroughputOutput, error)
DeleteProvisionedModelThroughputWithContext is the same as DeleteProvisionedModelThroughput with the addition of the ability to pass a context and additional request options.
See DeleteProvisionedModelThroughput for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) GetCustomModel ¶
func (c *Bedrock) GetCustomModel(input *GetCustomModelInput) (*GetCustomModelOutput, error)
GetCustomModel API operation for Amazon Bedrock.
Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see Custom models (https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation GetCustomModel for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetCustomModel
func (*Bedrock) GetCustomModelRequest ¶
func (c *Bedrock) GetCustomModelRequest(input *GetCustomModelInput) (req *request.Request, output *GetCustomModelOutput)
GetCustomModelRequest generates a "aws/request.Request" representing the client's request for the GetCustomModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetCustomModel for more information on using the GetCustomModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetCustomModelRequest method. req, resp := client.GetCustomModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetCustomModel
func (*Bedrock) GetCustomModelWithContext ¶
func (c *Bedrock) GetCustomModelWithContext(ctx aws.Context, input *GetCustomModelInput, opts ...request.Option) (*GetCustomModelOutput, error)
GetCustomModelWithContext is the same as GetCustomModel with the addition of the ability to pass a context and additional request options.
See GetCustomModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) GetFoundationModel ¶
func (c *Bedrock) GetFoundationModel(input *GetFoundationModelInput) (*GetFoundationModelOutput, error)
GetFoundationModel API operation for Amazon Bedrock.
Get details about a Amazon Bedrock foundation model.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation GetFoundationModel for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetFoundationModel
func (*Bedrock) GetFoundationModelRequest ¶
func (c *Bedrock) GetFoundationModelRequest(input *GetFoundationModelInput) (req *request.Request, output *GetFoundationModelOutput)
GetFoundationModelRequest generates a "aws/request.Request" representing the client's request for the GetFoundationModel operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFoundationModel for more information on using the GetFoundationModel API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFoundationModelRequest method. req, resp := client.GetFoundationModelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetFoundationModel
func (*Bedrock) GetFoundationModelWithContext ¶
func (c *Bedrock) GetFoundationModelWithContext(ctx aws.Context, input *GetFoundationModelInput, opts ...request.Option) (*GetFoundationModelOutput, error)
GetFoundationModelWithContext is the same as GetFoundationModel with the addition of the ability to pass a context and additional request options.
See GetFoundationModel for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) GetModelCustomizationJob ¶
func (c *Bedrock) GetModelCustomizationJob(input *GetModelCustomizationJobInput) (*GetModelCustomizationJobOutput, error)
GetModelCustomizationJob API operation for Amazon Bedrock.
Retrieves the properties associated with a model-customization job, including the status of the job. For more information, see Custom models (https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation GetModelCustomizationJob for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelCustomizationJob
func (*Bedrock) GetModelCustomizationJobRequest ¶
func (c *Bedrock) GetModelCustomizationJobRequest(input *GetModelCustomizationJobInput) (req *request.Request, output *GetModelCustomizationJobOutput)
GetModelCustomizationJobRequest generates a "aws/request.Request" representing the client's request for the GetModelCustomizationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetModelCustomizationJob for more information on using the GetModelCustomizationJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetModelCustomizationJobRequest method. req, resp := client.GetModelCustomizationJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelCustomizationJob
func (*Bedrock) GetModelCustomizationJobWithContext ¶
func (c *Bedrock) GetModelCustomizationJobWithContext(ctx aws.Context, input *GetModelCustomizationJobInput, opts ...request.Option) (*GetModelCustomizationJobOutput, error)
GetModelCustomizationJobWithContext is the same as GetModelCustomizationJob with the addition of the ability to pass a context and additional request options.
See GetModelCustomizationJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) GetModelInvocationLoggingConfiguration ¶
func (c *Bedrock) GetModelInvocationLoggingConfiguration(input *GetModelInvocationLoggingConfigurationInput) (*GetModelInvocationLoggingConfigurationOutput, error)
GetModelInvocationLoggingConfiguration API operation for Amazon Bedrock.
Get the current configuration values for model invocation logging.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation GetModelInvocationLoggingConfiguration for usage and error information.
Returned Error Types:
AccessDeniedException The request is denied because of missing access permissions.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationLoggingConfiguration
func (*Bedrock) GetModelInvocationLoggingConfigurationRequest ¶
func (c *Bedrock) GetModelInvocationLoggingConfigurationRequest(input *GetModelInvocationLoggingConfigurationInput) (req *request.Request, output *GetModelInvocationLoggingConfigurationOutput)
GetModelInvocationLoggingConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetModelInvocationLoggingConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetModelInvocationLoggingConfiguration for more information on using the GetModelInvocationLoggingConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetModelInvocationLoggingConfigurationRequest method. req, resp := client.GetModelInvocationLoggingConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationLoggingConfiguration
func (*Bedrock) GetModelInvocationLoggingConfigurationWithContext ¶
func (c *Bedrock) GetModelInvocationLoggingConfigurationWithContext(ctx aws.Context, input *GetModelInvocationLoggingConfigurationInput, opts ...request.Option) (*GetModelInvocationLoggingConfigurationOutput, error)
GetModelInvocationLoggingConfigurationWithContext is the same as GetModelInvocationLoggingConfiguration with the addition of the ability to pass a context and additional request options.
See GetModelInvocationLoggingConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) GetProvisionedModelThroughput ¶ added in v1.45.20
func (c *Bedrock) GetProvisionedModelThroughput(input *GetProvisionedModelThroughputInput) (*GetProvisionedModelThroughputOutput, error)
GetProvisionedModelThroughput API operation for Amazon Bedrock.
Get details for a provisioned throughput. For more information, see Provisioned throughput (https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation GetProvisionedModelThroughput for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetProvisionedModelThroughput
func (*Bedrock) GetProvisionedModelThroughputRequest ¶ added in v1.45.20
func (c *Bedrock) GetProvisionedModelThroughputRequest(input *GetProvisionedModelThroughputInput) (req *request.Request, output *GetProvisionedModelThroughputOutput)
GetProvisionedModelThroughputRequest generates a "aws/request.Request" representing the client's request for the GetProvisionedModelThroughput operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetProvisionedModelThroughput for more information on using the GetProvisionedModelThroughput API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetProvisionedModelThroughputRequest method. req, resp := client.GetProvisionedModelThroughputRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetProvisionedModelThroughput
func (*Bedrock) GetProvisionedModelThroughputWithContext ¶ added in v1.45.20
func (c *Bedrock) GetProvisionedModelThroughputWithContext(ctx aws.Context, input *GetProvisionedModelThroughputInput, opts ...request.Option) (*GetProvisionedModelThroughputOutput, error)
GetProvisionedModelThroughputWithContext is the same as GetProvisionedModelThroughput with the addition of the ability to pass a context and additional request options.
See GetProvisionedModelThroughput for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) ListCustomModels ¶
func (c *Bedrock) ListCustomModels(input *ListCustomModelsInput) (*ListCustomModelsOutput, error)
ListCustomModels API operation for Amazon Bedrock.
Returns a list of the custom models that you have created with the CreateModelCustomizationJob operation.
For more information, see Custom models (https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation ListCustomModels for usage and error information.
Returned Error Types:
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModels
func (*Bedrock) ListCustomModelsPages ¶
func (c *Bedrock) ListCustomModelsPages(input *ListCustomModelsInput, fn func(*ListCustomModelsOutput, bool) bool) error
ListCustomModelsPages iterates over the pages of a ListCustomModels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListCustomModels method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListCustomModels operation. pageNum := 0 err := client.ListCustomModelsPages(params, func(page *bedrock.ListCustomModelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Bedrock) ListCustomModelsPagesWithContext ¶
func (c *Bedrock) ListCustomModelsPagesWithContext(ctx aws.Context, input *ListCustomModelsInput, fn func(*ListCustomModelsOutput, bool) bool, opts ...request.Option) error
ListCustomModelsPagesWithContext same as ListCustomModelsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) ListCustomModelsRequest ¶
func (c *Bedrock) ListCustomModelsRequest(input *ListCustomModelsInput) (req *request.Request, output *ListCustomModelsOutput)
ListCustomModelsRequest generates a "aws/request.Request" representing the client's request for the ListCustomModels operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListCustomModels for more information on using the ListCustomModels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListCustomModelsRequest method. req, resp := client.ListCustomModelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModels
func (*Bedrock) ListCustomModelsWithContext ¶
func (c *Bedrock) ListCustomModelsWithContext(ctx aws.Context, input *ListCustomModelsInput, opts ...request.Option) (*ListCustomModelsOutput, error)
ListCustomModelsWithContext is the same as ListCustomModels with the addition of the ability to pass a context and additional request options.
See ListCustomModels for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) ListFoundationModels ¶
func (c *Bedrock) ListFoundationModels(input *ListFoundationModelsInput) (*ListFoundationModelsOutput, error)
ListFoundationModels API operation for Amazon Bedrock.
List of Amazon Bedrock foundation models that you can use. For more information, see Foundation models (https://docs.aws.amazon.com/bedrock/latest/userguide/foundation-models.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation ListFoundationModels for usage and error information.
Returned Error Types:
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListFoundationModels
func (*Bedrock) ListFoundationModelsRequest ¶
func (c *Bedrock) ListFoundationModelsRequest(input *ListFoundationModelsInput) (req *request.Request, output *ListFoundationModelsOutput)
ListFoundationModelsRequest generates a "aws/request.Request" representing the client's request for the ListFoundationModels operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListFoundationModels for more information on using the ListFoundationModels API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListFoundationModelsRequest method. req, resp := client.ListFoundationModelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListFoundationModels
func (*Bedrock) ListFoundationModelsWithContext ¶
func (c *Bedrock) ListFoundationModelsWithContext(ctx aws.Context, input *ListFoundationModelsInput, opts ...request.Option) (*ListFoundationModelsOutput, error)
ListFoundationModelsWithContext is the same as ListFoundationModels with the addition of the ability to pass a context and additional request options.
See ListFoundationModels for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) ListModelCustomizationJobs ¶
func (c *Bedrock) ListModelCustomizationJobs(input *ListModelCustomizationJobsInput) (*ListModelCustomizationJobsOutput, error)
ListModelCustomizationJobs API operation for Amazon Bedrock.
Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.
For more information, see Custom models (https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation ListModelCustomizationJobs for usage and error information.
Returned Error Types:
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCustomizationJobs
func (*Bedrock) ListModelCustomizationJobsPages ¶
func (c *Bedrock) ListModelCustomizationJobsPages(input *ListModelCustomizationJobsInput, fn func(*ListModelCustomizationJobsOutput, bool) bool) error
ListModelCustomizationJobsPages iterates over the pages of a ListModelCustomizationJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListModelCustomizationJobs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListModelCustomizationJobs operation. pageNum := 0 err := client.ListModelCustomizationJobsPages(params, func(page *bedrock.ListModelCustomizationJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Bedrock) ListModelCustomizationJobsPagesWithContext ¶
func (c *Bedrock) ListModelCustomizationJobsPagesWithContext(ctx aws.Context, input *ListModelCustomizationJobsInput, fn func(*ListModelCustomizationJobsOutput, bool) bool, opts ...request.Option) error
ListModelCustomizationJobsPagesWithContext same as ListModelCustomizationJobsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) ListModelCustomizationJobsRequest ¶
func (c *Bedrock) ListModelCustomizationJobsRequest(input *ListModelCustomizationJobsInput) (req *request.Request, output *ListModelCustomizationJobsOutput)
ListModelCustomizationJobsRequest generates a "aws/request.Request" representing the client's request for the ListModelCustomizationJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListModelCustomizationJobs for more information on using the ListModelCustomizationJobs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListModelCustomizationJobsRequest method. req, resp := client.ListModelCustomizationJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCustomizationJobs
func (*Bedrock) ListModelCustomizationJobsWithContext ¶
func (c *Bedrock) ListModelCustomizationJobsWithContext(ctx aws.Context, input *ListModelCustomizationJobsInput, opts ...request.Option) (*ListModelCustomizationJobsOutput, error)
ListModelCustomizationJobsWithContext is the same as ListModelCustomizationJobs with the addition of the ability to pass a context and additional request options.
See ListModelCustomizationJobs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) ListProvisionedModelThroughputs ¶ added in v1.45.20
func (c *Bedrock) ListProvisionedModelThroughputs(input *ListProvisionedModelThroughputsInput) (*ListProvisionedModelThroughputsOutput, error)
ListProvisionedModelThroughputs API operation for Amazon Bedrock.
List the provisioned capacities. For more information, see Provisioned throughput (https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation ListProvisionedModelThroughputs for usage and error information.
Returned Error Types:
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListProvisionedModelThroughputs
func (*Bedrock) ListProvisionedModelThroughputsPages ¶ added in v1.45.20
func (c *Bedrock) ListProvisionedModelThroughputsPages(input *ListProvisionedModelThroughputsInput, fn func(*ListProvisionedModelThroughputsOutput, bool) bool) error
ListProvisionedModelThroughputsPages iterates over the pages of a ListProvisionedModelThroughputs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListProvisionedModelThroughputs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListProvisionedModelThroughputs operation. pageNum := 0 err := client.ListProvisionedModelThroughputsPages(params, func(page *bedrock.ListProvisionedModelThroughputsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Bedrock) ListProvisionedModelThroughputsPagesWithContext ¶ added in v1.45.20
func (c *Bedrock) ListProvisionedModelThroughputsPagesWithContext(ctx aws.Context, input *ListProvisionedModelThroughputsInput, fn func(*ListProvisionedModelThroughputsOutput, bool) bool, opts ...request.Option) error
ListProvisionedModelThroughputsPagesWithContext same as ListProvisionedModelThroughputsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) ListProvisionedModelThroughputsRequest ¶ added in v1.45.20
func (c *Bedrock) ListProvisionedModelThroughputsRequest(input *ListProvisionedModelThroughputsInput) (req *request.Request, output *ListProvisionedModelThroughputsOutput)
ListProvisionedModelThroughputsRequest generates a "aws/request.Request" representing the client's request for the ListProvisionedModelThroughputs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListProvisionedModelThroughputs for more information on using the ListProvisionedModelThroughputs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListProvisionedModelThroughputsRequest method. req, resp := client.ListProvisionedModelThroughputsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListProvisionedModelThroughputs
func (*Bedrock) ListProvisionedModelThroughputsWithContext ¶ added in v1.45.20
func (c *Bedrock) ListProvisionedModelThroughputsWithContext(ctx aws.Context, input *ListProvisionedModelThroughputsInput, opts ...request.Option) (*ListProvisionedModelThroughputsOutput, error)
ListProvisionedModelThroughputsWithContext is the same as ListProvisionedModelThroughputs with the addition of the ability to pass a context and additional request options.
See ListProvisionedModelThroughputs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) ListTagsForResource ¶
func (c *Bedrock) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Bedrock.
List the tags associated with the specified resource.
For more information, see Tagging resources (https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation ListTagsForResource for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListTagsForResource
func (*Bedrock) ListTagsForResourceRequest ¶
func (c *Bedrock) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListTagsForResource
func (*Bedrock) ListTagsForResourceWithContext ¶
func (c *Bedrock) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) PutModelInvocationLoggingConfiguration ¶
func (c *Bedrock) PutModelInvocationLoggingConfiguration(input *PutModelInvocationLoggingConfigurationInput) (*PutModelInvocationLoggingConfigurationOutput, error)
PutModelInvocationLoggingConfiguration API operation for Amazon Bedrock.
Set the configuration values for model invocation logging.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation PutModelInvocationLoggingConfiguration for usage and error information.
Returned Error Types:
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutModelInvocationLoggingConfiguration
func (*Bedrock) PutModelInvocationLoggingConfigurationRequest ¶
func (c *Bedrock) PutModelInvocationLoggingConfigurationRequest(input *PutModelInvocationLoggingConfigurationInput) (req *request.Request, output *PutModelInvocationLoggingConfigurationOutput)
PutModelInvocationLoggingConfigurationRequest generates a "aws/request.Request" representing the client's request for the PutModelInvocationLoggingConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutModelInvocationLoggingConfiguration for more information on using the PutModelInvocationLoggingConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutModelInvocationLoggingConfigurationRequest method. req, resp := client.PutModelInvocationLoggingConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutModelInvocationLoggingConfiguration
func (*Bedrock) PutModelInvocationLoggingConfigurationWithContext ¶
func (c *Bedrock) PutModelInvocationLoggingConfigurationWithContext(ctx aws.Context, input *PutModelInvocationLoggingConfigurationInput, opts ...request.Option) (*PutModelInvocationLoggingConfigurationOutput, error)
PutModelInvocationLoggingConfigurationWithContext is the same as PutModelInvocationLoggingConfiguration with the addition of the ability to pass a context and additional request options.
See PutModelInvocationLoggingConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) StopModelCustomizationJob ¶
func (c *Bedrock) StopModelCustomizationJob(input *StopModelCustomizationJobInput) (*StopModelCustomizationJobOutput, error)
StopModelCustomizationJob API operation for Amazon Bedrock.
Stops an active model customization job. For more information, see Custom models (https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation StopModelCustomizationJob for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
ConflictException Error occurred because of a conflict while performing an operation.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/StopModelCustomizationJob
func (*Bedrock) StopModelCustomizationJobRequest ¶
func (c *Bedrock) StopModelCustomizationJobRequest(input *StopModelCustomizationJobInput) (req *request.Request, output *StopModelCustomizationJobOutput)
StopModelCustomizationJobRequest generates a "aws/request.Request" representing the client's request for the StopModelCustomizationJob operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See StopModelCustomizationJob for more information on using the StopModelCustomizationJob API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the StopModelCustomizationJobRequest method. req, resp := client.StopModelCustomizationJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/StopModelCustomizationJob
func (*Bedrock) StopModelCustomizationJobWithContext ¶
func (c *Bedrock) StopModelCustomizationJobWithContext(ctx aws.Context, input *StopModelCustomizationJobInput, opts ...request.Option) (*StopModelCustomizationJobOutput, error)
StopModelCustomizationJobWithContext is the same as StopModelCustomizationJob with the addition of the ability to pass a context and additional request options.
See StopModelCustomizationJob for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) TagResource ¶
func (c *Bedrock) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Bedrock.
Associate tags with a resource. For more information, see Tagging resources (https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation TagResource for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
TooManyTagsException The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/TagResource
func (*Bedrock) TagResourceRequest ¶
func (c *Bedrock) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/TagResource
func (*Bedrock) TagResourceWithContext ¶
func (c *Bedrock) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) UntagResource ¶
func (c *Bedrock) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Bedrock.
Remove one or more tags from a resource. For more information, see Tagging resources (https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation UntagResource for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UntagResource
func (*Bedrock) UntagResourceRequest ¶
func (c *Bedrock) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UntagResource
func (*Bedrock) UntagResourceWithContext ¶
func (c *Bedrock) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Bedrock) UpdateProvisionedModelThroughput ¶ added in v1.45.20
func (c *Bedrock) UpdateProvisionedModelThroughput(input *UpdateProvisionedModelThroughputInput) (*UpdateProvisionedModelThroughputOutput, error)
UpdateProvisionedModelThroughput API operation for Amazon Bedrock.
Update a provisioned throughput. For more information, see Provisioned throughput (https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html) in the Bedrock User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Bedrock's API operation UpdateProvisionedModelThroughput for usage and error information.
Returned Error Types:
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
AccessDeniedException The request is denied because of missing access permissions.
ValidationException Input validation failed. Check your request parameters and retry the request.
InternalServerException An internal server error occurred. Retry your request.
ThrottlingException The number of requests exceeds the limit. Resubmit your request later.
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateProvisionedModelThroughput
func (*Bedrock) UpdateProvisionedModelThroughputRequest ¶ added in v1.45.20
func (c *Bedrock) UpdateProvisionedModelThroughputRequest(input *UpdateProvisionedModelThroughputInput) (req *request.Request, output *UpdateProvisionedModelThroughputOutput)
UpdateProvisionedModelThroughputRequest generates a "aws/request.Request" representing the client's request for the UpdateProvisionedModelThroughput operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateProvisionedModelThroughput for more information on using the UpdateProvisionedModelThroughput API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateProvisionedModelThroughputRequest method. req, resp := client.UpdateProvisionedModelThroughputRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateProvisionedModelThroughput
func (*Bedrock) UpdateProvisionedModelThroughputWithContext ¶ added in v1.45.20
func (c *Bedrock) UpdateProvisionedModelThroughputWithContext(ctx aws.Context, input *UpdateProvisionedModelThroughputInput, opts ...request.Option) (*UpdateProvisionedModelThroughputOutput, error)
UpdateProvisionedModelThroughputWithContext is the same as UpdateProvisionedModelThroughput with the addition of the ability to pass a context and additional request options.
See UpdateProvisionedModelThroughput for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type CloudWatchConfig ¶
type CloudWatchConfig struct { // S3 configuration for delivering a large amount of data. LargeDataDeliveryS3Config *S3Config `locationName:"largeDataDeliveryS3Config" type:"structure"` // The log group name. // // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // The role ARN. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // contains filtered or unexported fields }
CloudWatch logging configuration.
func (CloudWatchConfig) GoString ¶
func (s CloudWatchConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CloudWatchConfig) SetLargeDataDeliveryS3Config ¶
func (s *CloudWatchConfig) SetLargeDataDeliveryS3Config(v *S3Config) *CloudWatchConfig
SetLargeDataDeliveryS3Config sets the LargeDataDeliveryS3Config field's value.
func (*CloudWatchConfig) SetLogGroupName ¶
func (s *CloudWatchConfig) SetLogGroupName(v string) *CloudWatchConfig
SetLogGroupName sets the LogGroupName field's value.
func (*CloudWatchConfig) SetRoleArn ¶
func (s *CloudWatchConfig) SetRoleArn(v string) *CloudWatchConfig
SetRoleArn sets the RoleArn field's value.
func (CloudWatchConfig) String ¶
func (s CloudWatchConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CloudWatchConfig) Validate ¶
func (s *CloudWatchConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConflictException ¶
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Error occurred because of a conflict while performing an operation.
func (*ConflictException) Code ¶
func (s *ConflictException) Code() string
Code returns the exception type name.
func (*ConflictException) Error ¶
func (s *ConflictException) Error() string
func (ConflictException) GoString ¶
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConflictException) Message ¶
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateModelCustomizationJobInput ¶
type CreateModelCustomizationJobInput struct { // Name of the base model. // // BaseModelIdentifier is a required field BaseModelIdentifier *string `locationName:"baseModelIdentifier" min:"1" type:"string" required:"true"` // Unique token value that you can provide. The GetModelCustomizationJob response // includes the same token value. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"` // The custom model is encrypted at rest using this key. CustomModelKmsKeyId *string `locationName:"customModelKmsKeyId" min:"1" type:"string"` // Enter a name for the custom model. // // CustomModelName is a required field CustomModelName *string `locationName:"customModelName" min:"1" type:"string" required:"true"` // Assign tags to the custom model. CustomModelTags []*Tag `locationName:"customModelTags" type:"list"` // The customization type. CustomizationType *string `locationName:"customizationType" type:"string" enum:"CustomizationType"` // Parameters related to tuning the model. // // HyperParameters is a required field HyperParameters map[string]*string `locationName:"hyperParameters" type:"map" required:"true"` // Enter a unique name for the fine-tuning job. // // JobName is a required field JobName *string `locationName:"jobName" min:"1" type:"string" required:"true"` // Assign tags to the job. JobTags []*Tag `locationName:"jobTags" type:"list"` // S3 location for the output data. // // OutputDataConfig is a required field OutputDataConfig *OutputDataConfig `locationName:"outputDataConfig" type:"structure" required:"true"` // The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume // to perform tasks on your behalf. For example, during model training, Amazon // Bedrock needs your permission to read input data from an S3 bucket, write // model artifacts to an S3 bucket. To pass this role to Amazon Bedrock, the // caller of this API must have the iam:PassRole permission. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // Information about the training dataset. // // TrainingDataConfig is a required field TrainingDataConfig *TrainingDataConfig `locationName:"trainingDataConfig" type:"structure" required:"true"` // Information about the validation dataset. ValidationDataConfig *ValidationDataConfig `locationName:"validationDataConfig" type:"structure"` // VPC configuration (optional). Configuration parameters for the private Virtual // Private Cloud (VPC) that contains the resources you are using for this job. VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"` // contains filtered or unexported fields }
func (CreateModelCustomizationJobInput) GoString ¶
func (s CreateModelCustomizationJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateModelCustomizationJobInput) SetBaseModelIdentifier ¶
func (s *CreateModelCustomizationJobInput) SetBaseModelIdentifier(v string) *CreateModelCustomizationJobInput
SetBaseModelIdentifier sets the BaseModelIdentifier field's value.
func (*CreateModelCustomizationJobInput) SetClientRequestToken ¶
func (s *CreateModelCustomizationJobInput) SetClientRequestToken(v string) *CreateModelCustomizationJobInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (*CreateModelCustomizationJobInput) SetCustomModelKmsKeyId ¶
func (s *CreateModelCustomizationJobInput) SetCustomModelKmsKeyId(v string) *CreateModelCustomizationJobInput
SetCustomModelKmsKeyId sets the CustomModelKmsKeyId field's value.
func (*CreateModelCustomizationJobInput) SetCustomModelName ¶
func (s *CreateModelCustomizationJobInput) SetCustomModelName(v string) *CreateModelCustomizationJobInput
SetCustomModelName sets the CustomModelName field's value.
func (*CreateModelCustomizationJobInput) SetCustomModelTags ¶
func (s *CreateModelCustomizationJobInput) SetCustomModelTags(v []*Tag) *CreateModelCustomizationJobInput
SetCustomModelTags sets the CustomModelTags field's value.
func (*CreateModelCustomizationJobInput) SetCustomizationType ¶ added in v1.48.7
func (s *CreateModelCustomizationJobInput) SetCustomizationType(v string) *CreateModelCustomizationJobInput
SetCustomizationType sets the CustomizationType field's value.
func (*CreateModelCustomizationJobInput) SetHyperParameters ¶
func (s *CreateModelCustomizationJobInput) SetHyperParameters(v map[string]*string) *CreateModelCustomizationJobInput
SetHyperParameters sets the HyperParameters field's value.
func (*CreateModelCustomizationJobInput) SetJobName ¶
func (s *CreateModelCustomizationJobInput) SetJobName(v string) *CreateModelCustomizationJobInput
SetJobName sets the JobName field's value.
func (*CreateModelCustomizationJobInput) SetJobTags ¶
func (s *CreateModelCustomizationJobInput) SetJobTags(v []*Tag) *CreateModelCustomizationJobInput
SetJobTags sets the JobTags field's value.
func (*CreateModelCustomizationJobInput) SetOutputDataConfig ¶
func (s *CreateModelCustomizationJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateModelCustomizationJobInput
SetOutputDataConfig sets the OutputDataConfig field's value.
func (*CreateModelCustomizationJobInput) SetRoleArn ¶
func (s *CreateModelCustomizationJobInput) SetRoleArn(v string) *CreateModelCustomizationJobInput
SetRoleArn sets the RoleArn field's value.
func (*CreateModelCustomizationJobInput) SetTrainingDataConfig ¶
func (s *CreateModelCustomizationJobInput) SetTrainingDataConfig(v *TrainingDataConfig) *CreateModelCustomizationJobInput
SetTrainingDataConfig sets the TrainingDataConfig field's value.
func (*CreateModelCustomizationJobInput) SetValidationDataConfig ¶
func (s *CreateModelCustomizationJobInput) SetValidationDataConfig(v *ValidationDataConfig) *CreateModelCustomizationJobInput
SetValidationDataConfig sets the ValidationDataConfig field's value.
func (*CreateModelCustomizationJobInput) SetVpcConfig ¶
func (s *CreateModelCustomizationJobInput) SetVpcConfig(v *VpcConfig) *CreateModelCustomizationJobInput
SetVpcConfig sets the VpcConfig field's value.
func (CreateModelCustomizationJobInput) String ¶
func (s CreateModelCustomizationJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateModelCustomizationJobInput) Validate ¶
func (s *CreateModelCustomizationJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateModelCustomizationJobOutput ¶
type CreateModelCustomizationJobOutput struct { // ARN of the fine tuning job // // JobArn is a required field JobArn *string `locationName:"jobArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateModelCustomizationJobOutput) GoString ¶
func (s CreateModelCustomizationJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateModelCustomizationJobOutput) SetJobArn ¶
func (s *CreateModelCustomizationJobOutput) SetJobArn(v string) *CreateModelCustomizationJobOutput
SetJobArn sets the JobArn field's value.
func (CreateModelCustomizationJobOutput) String ¶
func (s CreateModelCustomizationJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateProvisionedModelThroughputInput ¶ added in v1.45.20
type CreateProvisionedModelThroughputInput struct { // Unique token value that you can provide. If this token matches a previous // request, Amazon Bedrock ignores the request, but does not return an error. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"` // Commitment duration requested for the provisioned throughput. CommitmentDuration *string `locationName:"commitmentDuration" type:"string" enum:"CommitmentDuration"` // Name or ARN of the model to associate with this provisioned throughput. // // ModelId is a required field ModelId *string `locationName:"modelId" min:"1" type:"string" required:"true"` // Number of model units to allocate. // // ModelUnits is a required field ModelUnits *int64 `locationName:"modelUnits" min:"1" type:"integer" required:"true"` // Unique name for this provisioned throughput. // // ProvisionedModelName is a required field ProvisionedModelName *string `locationName:"provisionedModelName" min:"1" type:"string" required:"true"` // Tags to associate with this provisioned throughput. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateProvisionedModelThroughputInput) GoString ¶ added in v1.45.20
func (s CreateProvisionedModelThroughputInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateProvisionedModelThroughputInput) SetClientRequestToken ¶ added in v1.45.20
func (s *CreateProvisionedModelThroughputInput) SetClientRequestToken(v string) *CreateProvisionedModelThroughputInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (*CreateProvisionedModelThroughputInput) SetCommitmentDuration ¶ added in v1.45.20
func (s *CreateProvisionedModelThroughputInput) SetCommitmentDuration(v string) *CreateProvisionedModelThroughputInput
SetCommitmentDuration sets the CommitmentDuration field's value.
func (*CreateProvisionedModelThroughputInput) SetModelId ¶ added in v1.45.20
func (s *CreateProvisionedModelThroughputInput) SetModelId(v string) *CreateProvisionedModelThroughputInput
SetModelId sets the ModelId field's value.
func (*CreateProvisionedModelThroughputInput) SetModelUnits ¶ added in v1.45.20
func (s *CreateProvisionedModelThroughputInput) SetModelUnits(v int64) *CreateProvisionedModelThroughputInput
SetModelUnits sets the ModelUnits field's value.
func (*CreateProvisionedModelThroughputInput) SetProvisionedModelName ¶ added in v1.45.20
func (s *CreateProvisionedModelThroughputInput) SetProvisionedModelName(v string) *CreateProvisionedModelThroughputInput
SetProvisionedModelName sets the ProvisionedModelName field's value.
func (*CreateProvisionedModelThroughputInput) SetTags ¶ added in v1.45.20
func (s *CreateProvisionedModelThroughputInput) SetTags(v []*Tag) *CreateProvisionedModelThroughputInput
SetTags sets the Tags field's value.
func (CreateProvisionedModelThroughputInput) String ¶ added in v1.45.20
func (s CreateProvisionedModelThroughputInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateProvisionedModelThroughputInput) Validate ¶ added in v1.45.20
func (s *CreateProvisionedModelThroughputInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateProvisionedModelThroughputOutput ¶ added in v1.45.20
type CreateProvisionedModelThroughputOutput struct { // The ARN for this provisioned throughput. // // ProvisionedModelArn is a required field ProvisionedModelArn *string `locationName:"provisionedModelArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateProvisionedModelThroughputOutput) GoString ¶ added in v1.45.20
func (s CreateProvisionedModelThroughputOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateProvisionedModelThroughputOutput) SetProvisionedModelArn ¶ added in v1.45.20
func (s *CreateProvisionedModelThroughputOutput) SetProvisionedModelArn(v string) *CreateProvisionedModelThroughputOutput
SetProvisionedModelArn sets the ProvisionedModelArn field's value.
func (CreateProvisionedModelThroughputOutput) String ¶ added in v1.45.20
func (s CreateProvisionedModelThroughputOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CustomModelSummary ¶
type CustomModelSummary struct { // The base model ARN. // // BaseModelArn is a required field BaseModelArn *string `locationName:"baseModelArn" min:"20" type:"string" required:"true"` // The base model name. // // BaseModelName is a required field BaseModelName *string `locationName:"baseModelName" min:"1" type:"string" required:"true"` // Creation time of the model. // // CreationTime is a required field CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` // Specifies whether to carry out continued pre-training of a model or whether // to fine-tune it. For more information, see Custom models (https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html). CustomizationType *string `locationName:"customizationType" type:"string" enum:"CustomizationType"` // The ARN of the custom model. // // ModelArn is a required field ModelArn *string `locationName:"modelArn" min:"20" type:"string" required:"true"` // The name of the custom model. // // ModelName is a required field ModelName *string `locationName:"modelName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Summary information for a custom model.
func (CustomModelSummary) GoString ¶
func (s CustomModelSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CustomModelSummary) SetBaseModelArn ¶
func (s *CustomModelSummary) SetBaseModelArn(v string) *CustomModelSummary
SetBaseModelArn sets the BaseModelArn field's value.
func (*CustomModelSummary) SetBaseModelName ¶
func (s *CustomModelSummary) SetBaseModelName(v string) *CustomModelSummary
SetBaseModelName sets the BaseModelName field's value.
func (*CustomModelSummary) SetCreationTime ¶
func (s *CustomModelSummary) SetCreationTime(v time.Time) *CustomModelSummary
SetCreationTime sets the CreationTime field's value.
func (*CustomModelSummary) SetCustomizationType ¶ added in v1.48.7
func (s *CustomModelSummary) SetCustomizationType(v string) *CustomModelSummary
SetCustomizationType sets the CustomizationType field's value.
func (*CustomModelSummary) SetModelArn ¶
func (s *CustomModelSummary) SetModelArn(v string) *CustomModelSummary
SetModelArn sets the ModelArn field's value.
func (*CustomModelSummary) SetModelName ¶
func (s *CustomModelSummary) SetModelName(v string) *CustomModelSummary
SetModelName sets the ModelName field's value.
func (CustomModelSummary) String ¶
func (s CustomModelSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteCustomModelInput ¶
type DeleteCustomModelInput struct { // Name of the model to delete. // // ModelIdentifier is a required field ModelIdentifier *string `location:"uri" locationName:"modelIdentifier" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteCustomModelInput) GoString ¶
func (s DeleteCustomModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteCustomModelInput) SetModelIdentifier ¶
func (s *DeleteCustomModelInput) SetModelIdentifier(v string) *DeleteCustomModelInput
SetModelIdentifier sets the ModelIdentifier field's value.
func (DeleteCustomModelInput) String ¶
func (s DeleteCustomModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteCustomModelInput) Validate ¶
func (s *DeleteCustomModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCustomModelOutput ¶
type DeleteCustomModelOutput struct {
// contains filtered or unexported fields
}
func (DeleteCustomModelOutput) GoString ¶
func (s DeleteCustomModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteCustomModelOutput) String ¶
func (s DeleteCustomModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteModelInvocationLoggingConfigurationInput ¶
type DeleteModelInvocationLoggingConfigurationInput struct {
// contains filtered or unexported fields
}
func (DeleteModelInvocationLoggingConfigurationInput) GoString ¶
func (s DeleteModelInvocationLoggingConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteModelInvocationLoggingConfigurationInput) String ¶
func (s DeleteModelInvocationLoggingConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteModelInvocationLoggingConfigurationOutput ¶
type DeleteModelInvocationLoggingConfigurationOutput struct {
// contains filtered or unexported fields
}
func (DeleteModelInvocationLoggingConfigurationOutput) GoString ¶
func (s DeleteModelInvocationLoggingConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteModelInvocationLoggingConfigurationOutput) String ¶
func (s DeleteModelInvocationLoggingConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteProvisionedModelThroughputInput ¶ added in v1.45.20
type DeleteProvisionedModelThroughputInput struct { // The ARN or name of the provisioned throughput. // // ProvisionedModelId is a required field ProvisionedModelId *string `location:"uri" locationName:"provisionedModelId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteProvisionedModelThroughputInput) GoString ¶ added in v1.45.20
func (s DeleteProvisionedModelThroughputInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteProvisionedModelThroughputInput) SetProvisionedModelId ¶ added in v1.45.20
func (s *DeleteProvisionedModelThroughputInput) SetProvisionedModelId(v string) *DeleteProvisionedModelThroughputInput
SetProvisionedModelId sets the ProvisionedModelId field's value.
func (DeleteProvisionedModelThroughputInput) String ¶ added in v1.45.20
func (s DeleteProvisionedModelThroughputInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteProvisionedModelThroughputInput) Validate ¶ added in v1.45.20
func (s *DeleteProvisionedModelThroughputInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteProvisionedModelThroughputOutput ¶ added in v1.45.20
type DeleteProvisionedModelThroughputOutput struct {
// contains filtered or unexported fields
}
func (DeleteProvisionedModelThroughputOutput) GoString ¶ added in v1.45.20
func (s DeleteProvisionedModelThroughputOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteProvisionedModelThroughputOutput) String ¶ added in v1.45.20
func (s DeleteProvisionedModelThroughputOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FoundationModelDetails ¶
type FoundationModelDetails struct { // The customization that the model supports. CustomizationsSupported []*string `locationName:"customizationsSupported" type:"list" enum:"ModelCustomization"` // The inference types that the model supports. InferenceTypesSupported []*string `locationName:"inferenceTypesSupported" type:"list" enum:"InferenceType"` // The input modalities that the model supports. InputModalities []*string `locationName:"inputModalities" type:"list" enum:"ModelModality"` // The model ARN. // // ModelArn is a required field ModelArn *string `locationName:"modelArn" type:"string" required:"true"` // The model identifier. // // ModelId is a required field ModelId *string `locationName:"modelId" type:"string" required:"true"` // Contains details about whether a model version is available or deprecated ModelLifecycle *FoundationModelLifecycle `locationName:"modelLifecycle" type:"structure"` // The model name. ModelName *string `locationName:"modelName" min:"1" type:"string"` // The output modalities that the model supports. OutputModalities []*string `locationName:"outputModalities" type:"list" enum:"ModelModality"` // he model's provider name. ProviderName *string `locationName:"providerName" min:"1" type:"string"` // Indicates whether the model supports streaming. ResponseStreamingSupported *bool `locationName:"responseStreamingSupported" type:"boolean"` // contains filtered or unexported fields }
Information about a foundation model.
func (FoundationModelDetails) GoString ¶
func (s FoundationModelDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FoundationModelDetails) SetCustomizationsSupported ¶
func (s *FoundationModelDetails) SetCustomizationsSupported(v []*string) *FoundationModelDetails
SetCustomizationsSupported sets the CustomizationsSupported field's value.
func (*FoundationModelDetails) SetInferenceTypesSupported ¶
func (s *FoundationModelDetails) SetInferenceTypesSupported(v []*string) *FoundationModelDetails
SetInferenceTypesSupported sets the InferenceTypesSupported field's value.
func (*FoundationModelDetails) SetInputModalities ¶
func (s *FoundationModelDetails) SetInputModalities(v []*string) *FoundationModelDetails
SetInputModalities sets the InputModalities field's value.
func (*FoundationModelDetails) SetModelArn ¶
func (s *FoundationModelDetails) SetModelArn(v string) *FoundationModelDetails
SetModelArn sets the ModelArn field's value.
func (*FoundationModelDetails) SetModelId ¶
func (s *FoundationModelDetails) SetModelId(v string) *FoundationModelDetails
SetModelId sets the ModelId field's value.
func (*FoundationModelDetails) SetModelLifecycle ¶ added in v1.48.7
func (s *FoundationModelDetails) SetModelLifecycle(v *FoundationModelLifecycle) *FoundationModelDetails
SetModelLifecycle sets the ModelLifecycle field's value.
func (*FoundationModelDetails) SetModelName ¶
func (s *FoundationModelDetails) SetModelName(v string) *FoundationModelDetails
SetModelName sets the ModelName field's value.
func (*FoundationModelDetails) SetOutputModalities ¶
func (s *FoundationModelDetails) SetOutputModalities(v []*string) *FoundationModelDetails
SetOutputModalities sets the OutputModalities field's value.
func (*FoundationModelDetails) SetProviderName ¶
func (s *FoundationModelDetails) SetProviderName(v string) *FoundationModelDetails
SetProviderName sets the ProviderName field's value.
func (*FoundationModelDetails) SetResponseStreamingSupported ¶
func (s *FoundationModelDetails) SetResponseStreamingSupported(v bool) *FoundationModelDetails
SetResponseStreamingSupported sets the ResponseStreamingSupported field's value.
func (FoundationModelDetails) String ¶
func (s FoundationModelDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FoundationModelLifecycle ¶ added in v1.48.7
type FoundationModelLifecycle struct { // Specifies whether a model version is available (ACTIVE) or deprecated (LEGACY. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"FoundationModelLifecycleStatus"` // contains filtered or unexported fields }
Details about whether a model version is available or deprecated.
func (FoundationModelLifecycle) GoString ¶ added in v1.48.7
func (s FoundationModelLifecycle) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FoundationModelLifecycle) SetStatus ¶ added in v1.48.7
func (s *FoundationModelLifecycle) SetStatus(v string) *FoundationModelLifecycle
SetStatus sets the Status field's value.
func (FoundationModelLifecycle) String ¶ added in v1.48.7
func (s FoundationModelLifecycle) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FoundationModelSummary ¶
type FoundationModelSummary struct { // Whether the model supports fine-tuning or continual pre-training. CustomizationsSupported []*string `locationName:"customizationsSupported" type:"list" enum:"ModelCustomization"` // The inference types that the model supports. InferenceTypesSupported []*string `locationName:"inferenceTypesSupported" type:"list" enum:"InferenceType"` // The input modalities that the model supports. InputModalities []*string `locationName:"inputModalities" type:"list" enum:"ModelModality"` // The ARN of the foundation model. // // ModelArn is a required field ModelArn *string `locationName:"modelArn" type:"string" required:"true"` // The model Id of the foundation model. // // ModelId is a required field ModelId *string `locationName:"modelId" type:"string" required:"true"` // Contains details about whether a model version is available or deprecated. ModelLifecycle *FoundationModelLifecycle `locationName:"modelLifecycle" type:"structure"` // The name of the model. ModelName *string `locationName:"modelName" min:"1" type:"string"` // The output modalities that the model supports. OutputModalities []*string `locationName:"outputModalities" type:"list" enum:"ModelModality"` // The model's provider name. ProviderName *string `locationName:"providerName" min:"1" type:"string"` // Indicates whether the model supports streaming. ResponseStreamingSupported *bool `locationName:"responseStreamingSupported" type:"boolean"` // contains filtered or unexported fields }
Summary information for a foundation model.
func (FoundationModelSummary) GoString ¶
func (s FoundationModelSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FoundationModelSummary) SetCustomizationsSupported ¶
func (s *FoundationModelSummary) SetCustomizationsSupported(v []*string) *FoundationModelSummary
SetCustomizationsSupported sets the CustomizationsSupported field's value.
func (*FoundationModelSummary) SetInferenceTypesSupported ¶
func (s *FoundationModelSummary) SetInferenceTypesSupported(v []*string) *FoundationModelSummary
SetInferenceTypesSupported sets the InferenceTypesSupported field's value.
func (*FoundationModelSummary) SetInputModalities ¶
func (s *FoundationModelSummary) SetInputModalities(v []*string) *FoundationModelSummary
SetInputModalities sets the InputModalities field's value.
func (*FoundationModelSummary) SetModelArn ¶
func (s *FoundationModelSummary) SetModelArn(v string) *FoundationModelSummary
SetModelArn sets the ModelArn field's value.
func (*FoundationModelSummary) SetModelId ¶
func (s *FoundationModelSummary) SetModelId(v string) *FoundationModelSummary
SetModelId sets the ModelId field's value.
func (*FoundationModelSummary) SetModelLifecycle ¶ added in v1.48.7
func (s *FoundationModelSummary) SetModelLifecycle(v *FoundationModelLifecycle) *FoundationModelSummary
SetModelLifecycle sets the ModelLifecycle field's value.
func (*FoundationModelSummary) SetModelName ¶
func (s *FoundationModelSummary) SetModelName(v string) *FoundationModelSummary
SetModelName sets the ModelName field's value.
func (*FoundationModelSummary) SetOutputModalities ¶
func (s *FoundationModelSummary) SetOutputModalities(v []*string) *FoundationModelSummary
SetOutputModalities sets the OutputModalities field's value.
func (*FoundationModelSummary) SetProviderName ¶
func (s *FoundationModelSummary) SetProviderName(v string) *FoundationModelSummary
SetProviderName sets the ProviderName field's value.
func (*FoundationModelSummary) SetResponseStreamingSupported ¶
func (s *FoundationModelSummary) SetResponseStreamingSupported(v bool) *FoundationModelSummary
SetResponseStreamingSupported sets the ResponseStreamingSupported field's value.
func (FoundationModelSummary) String ¶
func (s FoundationModelSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetCustomModelInput ¶
type GetCustomModelInput struct { // Name or ARN of the custom model. // // ModelIdentifier is a required field ModelIdentifier *string `location:"uri" locationName:"modelIdentifier" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetCustomModelInput) GoString ¶
func (s GetCustomModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCustomModelInput) SetModelIdentifier ¶
func (s *GetCustomModelInput) SetModelIdentifier(v string) *GetCustomModelInput
SetModelIdentifier sets the ModelIdentifier field's value.
func (GetCustomModelInput) String ¶
func (s GetCustomModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCustomModelInput) Validate ¶
func (s *GetCustomModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCustomModelOutput ¶
type GetCustomModelOutput struct { // ARN of the base model. // // BaseModelArn is a required field BaseModelArn *string `locationName:"baseModelArn" min:"20" type:"string" required:"true"` // Creation time of the model. // // CreationTime is a required field CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` // The type of model customization. CustomizationType *string `locationName:"customizationType" type:"string" enum:"CustomizationType"` // Hyperparameter values associated with this model. HyperParameters map[string]*string `locationName:"hyperParameters" type:"map"` // Job ARN associated with this model. // // JobArn is a required field JobArn *string `locationName:"jobArn" type:"string" required:"true"` // Job name associated with this model. JobName *string `locationName:"jobName" min:"1" type:"string"` // ARN associated with this model. // // ModelArn is a required field ModelArn *string `locationName:"modelArn" min:"20" type:"string" required:"true"` // The custom model is encrypted at rest using this key. ModelKmsKeyArn *string `locationName:"modelKmsKeyArn" min:"1" type:"string"` // Model name associated with this model. // // ModelName is a required field ModelName *string `locationName:"modelName" min:"1" type:"string" required:"true"` // Output data configuration associated with this custom model. // // OutputDataConfig is a required field OutputDataConfig *OutputDataConfig `locationName:"outputDataConfig" type:"structure" required:"true"` // Information about the training dataset. // // TrainingDataConfig is a required field TrainingDataConfig *TrainingDataConfig `locationName:"trainingDataConfig" type:"structure" required:"true"` // The training metrics from the job creation. TrainingMetrics *TrainingMetrics `locationName:"trainingMetrics" type:"structure"` // Array of up to 10 validators. ValidationDataConfig *ValidationDataConfig `locationName:"validationDataConfig" type:"structure"` // The validation metrics from the job creation. ValidationMetrics []*ValidatorMetric `locationName:"validationMetrics" type:"list"` // contains filtered or unexported fields }
func (GetCustomModelOutput) GoString ¶
func (s GetCustomModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCustomModelOutput) SetBaseModelArn ¶
func (s *GetCustomModelOutput) SetBaseModelArn(v string) *GetCustomModelOutput
SetBaseModelArn sets the BaseModelArn field's value.
func (*GetCustomModelOutput) SetCreationTime ¶
func (s *GetCustomModelOutput) SetCreationTime(v time.Time) *GetCustomModelOutput
SetCreationTime sets the CreationTime field's value.
func (*GetCustomModelOutput) SetCustomizationType ¶ added in v1.48.7
func (s *GetCustomModelOutput) SetCustomizationType(v string) *GetCustomModelOutput
SetCustomizationType sets the CustomizationType field's value.
func (*GetCustomModelOutput) SetHyperParameters ¶
func (s *GetCustomModelOutput) SetHyperParameters(v map[string]*string) *GetCustomModelOutput
SetHyperParameters sets the HyperParameters field's value.
func (*GetCustomModelOutput) SetJobArn ¶
func (s *GetCustomModelOutput) SetJobArn(v string) *GetCustomModelOutput
SetJobArn sets the JobArn field's value.
func (*GetCustomModelOutput) SetJobName ¶
func (s *GetCustomModelOutput) SetJobName(v string) *GetCustomModelOutput
SetJobName sets the JobName field's value.
func (*GetCustomModelOutput) SetModelArn ¶
func (s *GetCustomModelOutput) SetModelArn(v string) *GetCustomModelOutput
SetModelArn sets the ModelArn field's value.
func (*GetCustomModelOutput) SetModelKmsKeyArn ¶
func (s *GetCustomModelOutput) SetModelKmsKeyArn(v string) *GetCustomModelOutput
SetModelKmsKeyArn sets the ModelKmsKeyArn field's value.
func (*GetCustomModelOutput) SetModelName ¶
func (s *GetCustomModelOutput) SetModelName(v string) *GetCustomModelOutput
SetModelName sets the ModelName field's value.
func (*GetCustomModelOutput) SetOutputDataConfig ¶
func (s *GetCustomModelOutput) SetOutputDataConfig(v *OutputDataConfig) *GetCustomModelOutput
SetOutputDataConfig sets the OutputDataConfig field's value.
func (*GetCustomModelOutput) SetTrainingDataConfig ¶
func (s *GetCustomModelOutput) SetTrainingDataConfig(v *TrainingDataConfig) *GetCustomModelOutput
SetTrainingDataConfig sets the TrainingDataConfig field's value.
func (*GetCustomModelOutput) SetTrainingMetrics ¶
func (s *GetCustomModelOutput) SetTrainingMetrics(v *TrainingMetrics) *GetCustomModelOutput
SetTrainingMetrics sets the TrainingMetrics field's value.
func (*GetCustomModelOutput) SetValidationDataConfig ¶
func (s *GetCustomModelOutput) SetValidationDataConfig(v *ValidationDataConfig) *GetCustomModelOutput
SetValidationDataConfig sets the ValidationDataConfig field's value.
func (*GetCustomModelOutput) SetValidationMetrics ¶
func (s *GetCustomModelOutput) SetValidationMetrics(v []*ValidatorMetric) *GetCustomModelOutput
SetValidationMetrics sets the ValidationMetrics field's value.
func (GetCustomModelOutput) String ¶
func (s GetCustomModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFoundationModelInput ¶
type GetFoundationModelInput struct { // The model identifier. // // ModelIdentifier is a required field ModelIdentifier *string `location:"uri" locationName:"modelIdentifier" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetFoundationModelInput) GoString ¶
func (s GetFoundationModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFoundationModelInput) SetModelIdentifier ¶
func (s *GetFoundationModelInput) SetModelIdentifier(v string) *GetFoundationModelInput
SetModelIdentifier sets the ModelIdentifier field's value.
func (GetFoundationModelInput) String ¶
func (s GetFoundationModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFoundationModelInput) Validate ¶
func (s *GetFoundationModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFoundationModelOutput ¶
type GetFoundationModelOutput struct { // Information about the foundation model. ModelDetails *FoundationModelDetails `locationName:"modelDetails" type:"structure"` // contains filtered or unexported fields }
func (GetFoundationModelOutput) GoString ¶
func (s GetFoundationModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFoundationModelOutput) SetModelDetails ¶
func (s *GetFoundationModelOutput) SetModelDetails(v *FoundationModelDetails) *GetFoundationModelOutput
SetModelDetails sets the ModelDetails field's value.
func (GetFoundationModelOutput) String ¶
func (s GetFoundationModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetModelCustomizationJobInput ¶
type GetModelCustomizationJobInput struct { // Identifier for the customization job. // // JobIdentifier is a required field JobIdentifier *string `location:"uri" locationName:"jobIdentifier" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetModelCustomizationJobInput) GoString ¶
func (s GetModelCustomizationJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetModelCustomizationJobInput) SetJobIdentifier ¶
func (s *GetModelCustomizationJobInput) SetJobIdentifier(v string) *GetModelCustomizationJobInput
SetJobIdentifier sets the JobIdentifier field's value.
func (GetModelCustomizationJobInput) String ¶
func (s GetModelCustomizationJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetModelCustomizationJobInput) Validate ¶
func (s *GetModelCustomizationJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetModelCustomizationJobOutput ¶
type GetModelCustomizationJobOutput struct { // ARN of the base model. // // BaseModelArn is a required field BaseModelArn *string `locationName:"baseModelArn" type:"string" required:"true"` // The token that you specified in the CreateCustomizationJob request. ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"` // Time that the resource was created. // // CreationTime is a required field CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` // The type of model customization. CustomizationType *string `locationName:"customizationType" type:"string" enum:"CustomizationType"` // Time that the resource transitioned to terminal state. EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"` // Information about why the job failed. FailureMessage *string `locationName:"failureMessage" type:"string"` // The hyperparameter values for the job. For information about hyperparameters // for specific models, see Guidelines for model customization (https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-guidelines.html). // // HyperParameters is a required field HyperParameters map[string]*string `locationName:"hyperParameters" type:"map" required:"true"` // The ARN of the customization job. // // JobArn is a required field JobArn *string `locationName:"jobArn" type:"string" required:"true"` // The name of the customization job. // // JobName is a required field JobName *string `locationName:"jobName" min:"1" type:"string" required:"true"` // Time that the resource was last modified. LastModifiedTime *time.Time `locationName:"lastModifiedTime" type:"timestamp" timestampFormat:"iso8601"` // Output data configuration // // OutputDataConfig is a required field OutputDataConfig *OutputDataConfig `locationName:"outputDataConfig" type:"structure" required:"true"` // The ARN of the output model. OutputModelArn *string `locationName:"outputModelArn" min:"20" type:"string"` // The custom model is encrypted at rest using this key. OutputModelKmsKeyArn *string `locationName:"outputModelKmsKeyArn" min:"1" type:"string"` // The name of the output model. // // OutputModelName is a required field OutputModelName *string `locationName:"outputModelName" min:"1" type:"string" required:"true"` // The ARN of the IAM role. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The status of the job. A successful job transitions from in-progress to completed // when the output model is ready to use. If the job failed, the failure message // contains information about why the job failed. Status *string `locationName:"status" type:"string" enum:"ModelCustomizationJobStatus"` // S3 Location of the training data. // // TrainingDataConfig is a required field TrainingDataConfig *TrainingDataConfig `locationName:"trainingDataConfig" type:"structure" required:"true"` // Metrics associated with the custom job. TrainingMetrics *TrainingMetrics `locationName:"trainingMetrics" type:"structure"` // Array of up to 10 validators. // // ValidationDataConfig is a required field ValidationDataConfig *ValidationDataConfig `locationName:"validationDataConfig" type:"structure" required:"true"` // The loss metric for each validator that you provided in the createjob request. ValidationMetrics []*ValidatorMetric `locationName:"validationMetrics" type:"list"` // VPC configuration for the custom model job. VpcConfig *VpcConfig `locationName:"vpcConfig" type:"structure"` // contains filtered or unexported fields }
func (GetModelCustomizationJobOutput) GoString ¶
func (s GetModelCustomizationJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetModelCustomizationJobOutput) SetBaseModelArn ¶
func (s *GetModelCustomizationJobOutput) SetBaseModelArn(v string) *GetModelCustomizationJobOutput
SetBaseModelArn sets the BaseModelArn field's value.
func (*GetModelCustomizationJobOutput) SetClientRequestToken ¶
func (s *GetModelCustomizationJobOutput) SetClientRequestToken(v string) *GetModelCustomizationJobOutput
SetClientRequestToken sets the ClientRequestToken field's value.
func (*GetModelCustomizationJobOutput) SetCreationTime ¶
func (s *GetModelCustomizationJobOutput) SetCreationTime(v time.Time) *GetModelCustomizationJobOutput
SetCreationTime sets the CreationTime field's value.
func (*GetModelCustomizationJobOutput) SetCustomizationType ¶ added in v1.48.7
func (s *GetModelCustomizationJobOutput) SetCustomizationType(v string) *GetModelCustomizationJobOutput
SetCustomizationType sets the CustomizationType field's value.
func (*GetModelCustomizationJobOutput) SetEndTime ¶
func (s *GetModelCustomizationJobOutput) SetEndTime(v time.Time) *GetModelCustomizationJobOutput
SetEndTime sets the EndTime field's value.
func (*GetModelCustomizationJobOutput) SetFailureMessage ¶
func (s *GetModelCustomizationJobOutput) SetFailureMessage(v string) *GetModelCustomizationJobOutput
SetFailureMessage sets the FailureMessage field's value.
func (*GetModelCustomizationJobOutput) SetHyperParameters ¶
func (s *GetModelCustomizationJobOutput) SetHyperParameters(v map[string]*string) *GetModelCustomizationJobOutput
SetHyperParameters sets the HyperParameters field's value.
func (*GetModelCustomizationJobOutput) SetJobArn ¶
func (s *GetModelCustomizationJobOutput) SetJobArn(v string) *GetModelCustomizationJobOutput
SetJobArn sets the JobArn field's value.
func (*GetModelCustomizationJobOutput) SetJobName ¶
func (s *GetModelCustomizationJobOutput) SetJobName(v string) *GetModelCustomizationJobOutput
SetJobName sets the JobName field's value.
func (*GetModelCustomizationJobOutput) SetLastModifiedTime ¶
func (s *GetModelCustomizationJobOutput) SetLastModifiedTime(v time.Time) *GetModelCustomizationJobOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (*GetModelCustomizationJobOutput) SetOutputDataConfig ¶
func (s *GetModelCustomizationJobOutput) SetOutputDataConfig(v *OutputDataConfig) *GetModelCustomizationJobOutput
SetOutputDataConfig sets the OutputDataConfig field's value.
func (*GetModelCustomizationJobOutput) SetOutputModelArn ¶
func (s *GetModelCustomizationJobOutput) SetOutputModelArn(v string) *GetModelCustomizationJobOutput
SetOutputModelArn sets the OutputModelArn field's value.
func (*GetModelCustomizationJobOutput) SetOutputModelKmsKeyArn ¶
func (s *GetModelCustomizationJobOutput) SetOutputModelKmsKeyArn(v string) *GetModelCustomizationJobOutput
SetOutputModelKmsKeyArn sets the OutputModelKmsKeyArn field's value.
func (*GetModelCustomizationJobOutput) SetOutputModelName ¶
func (s *GetModelCustomizationJobOutput) SetOutputModelName(v string) *GetModelCustomizationJobOutput
SetOutputModelName sets the OutputModelName field's value.
func (*GetModelCustomizationJobOutput) SetRoleArn ¶
func (s *GetModelCustomizationJobOutput) SetRoleArn(v string) *GetModelCustomizationJobOutput
SetRoleArn sets the RoleArn field's value.
func (*GetModelCustomizationJobOutput) SetStatus ¶
func (s *GetModelCustomizationJobOutput) SetStatus(v string) *GetModelCustomizationJobOutput
SetStatus sets the Status field's value.
func (*GetModelCustomizationJobOutput) SetTrainingDataConfig ¶
func (s *GetModelCustomizationJobOutput) SetTrainingDataConfig(v *TrainingDataConfig) *GetModelCustomizationJobOutput
SetTrainingDataConfig sets the TrainingDataConfig field's value.
func (*GetModelCustomizationJobOutput) SetTrainingMetrics ¶
func (s *GetModelCustomizationJobOutput) SetTrainingMetrics(v *TrainingMetrics) *GetModelCustomizationJobOutput
SetTrainingMetrics sets the TrainingMetrics field's value.
func (*GetModelCustomizationJobOutput) SetValidationDataConfig ¶
func (s *GetModelCustomizationJobOutput) SetValidationDataConfig(v *ValidationDataConfig) *GetModelCustomizationJobOutput
SetValidationDataConfig sets the ValidationDataConfig field's value.
func (*GetModelCustomizationJobOutput) SetValidationMetrics ¶
func (s *GetModelCustomizationJobOutput) SetValidationMetrics(v []*ValidatorMetric) *GetModelCustomizationJobOutput
SetValidationMetrics sets the ValidationMetrics field's value.
func (*GetModelCustomizationJobOutput) SetVpcConfig ¶
func (s *GetModelCustomizationJobOutput) SetVpcConfig(v *VpcConfig) *GetModelCustomizationJobOutput
SetVpcConfig sets the VpcConfig field's value.
func (GetModelCustomizationJobOutput) String ¶
func (s GetModelCustomizationJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetModelInvocationLoggingConfigurationInput ¶
type GetModelInvocationLoggingConfigurationInput struct {
// contains filtered or unexported fields
}
func (GetModelInvocationLoggingConfigurationInput) GoString ¶
func (s GetModelInvocationLoggingConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (GetModelInvocationLoggingConfigurationInput) String ¶
func (s GetModelInvocationLoggingConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetModelInvocationLoggingConfigurationOutput ¶
type GetModelInvocationLoggingConfigurationOutput struct { // The current configuration values. LoggingConfig *LoggingConfig `locationName:"loggingConfig" type:"structure"` // contains filtered or unexported fields }
func (GetModelInvocationLoggingConfigurationOutput) GoString ¶
func (s GetModelInvocationLoggingConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetModelInvocationLoggingConfigurationOutput) SetLoggingConfig ¶
func (s *GetModelInvocationLoggingConfigurationOutput) SetLoggingConfig(v *LoggingConfig) *GetModelInvocationLoggingConfigurationOutput
SetLoggingConfig sets the LoggingConfig field's value.
func (GetModelInvocationLoggingConfigurationOutput) String ¶
func (s GetModelInvocationLoggingConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetProvisionedModelThroughputInput ¶ added in v1.45.20
type GetProvisionedModelThroughputInput struct { // The ARN or name of the provisioned throughput. // // ProvisionedModelId is a required field ProvisionedModelId *string `location:"uri" locationName:"provisionedModelId" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetProvisionedModelThroughputInput) GoString ¶ added in v1.45.20
func (s GetProvisionedModelThroughputInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetProvisionedModelThroughputInput) SetProvisionedModelId ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputInput) SetProvisionedModelId(v string) *GetProvisionedModelThroughputInput
SetProvisionedModelId sets the ProvisionedModelId field's value.
func (GetProvisionedModelThroughputInput) String ¶ added in v1.45.20
func (s GetProvisionedModelThroughputInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetProvisionedModelThroughputInput) Validate ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetProvisionedModelThroughputOutput ¶ added in v1.45.20
type GetProvisionedModelThroughputOutput struct { // Commitment duration of the provisioned throughput. CommitmentDuration *string `locationName:"commitmentDuration" type:"string" enum:"CommitmentDuration"` // Commitment expiration time for the provisioned throughput. CommitmentExpirationTime *time.Time `locationName:"commitmentExpirationTime" type:"timestamp" timestampFormat:"iso8601"` // The timestamp of the creation time for this provisioned throughput. // // CreationTime is a required field CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` // The ARN of the new model to asssociate with this provisioned throughput. // // DesiredModelArn is a required field DesiredModelArn *string `locationName:"desiredModelArn" min:"20" type:"string" required:"true"` // The desired number of model units that was requested to be available for // this provisioned throughput. // // DesiredModelUnits is a required field DesiredModelUnits *int64 `locationName:"desiredModelUnits" min:"1" type:"integer" required:"true"` // Failure message for any issues that the create operation encounters. FailureMessage *string `locationName:"failureMessage" type:"string"` // ARN of the foundation model. // // FoundationModelArn is a required field FoundationModelArn *string `locationName:"foundationModelArn" type:"string" required:"true"` // The timestamp of the last modified time of this provisioned throughput. // // LastModifiedTime is a required field LastModifiedTime *time.Time `locationName:"lastModifiedTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` // The ARN or name of the model associated with this provisioned throughput. // // ModelArn is a required field ModelArn *string `locationName:"modelArn" min:"20" type:"string" required:"true"` // The current number of model units requested to be available for this provisioned // throughput. // // ModelUnits is a required field ModelUnits *int64 `locationName:"modelUnits" min:"1" type:"integer" required:"true"` // The ARN of the provisioned throughput. // // ProvisionedModelArn is a required field ProvisionedModelArn *string `locationName:"provisionedModelArn" type:"string" required:"true"` // The name of the provisioned throughput. // // ProvisionedModelName is a required field ProvisionedModelName *string `locationName:"provisionedModelName" min:"1" type:"string" required:"true"` // Status of the provisioned throughput. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"ProvisionedModelStatus"` // contains filtered or unexported fields }
func (GetProvisionedModelThroughputOutput) GoString ¶ added in v1.45.20
func (s GetProvisionedModelThroughputOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetProvisionedModelThroughputOutput) SetCommitmentDuration ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetCommitmentDuration(v string) *GetProvisionedModelThroughputOutput
SetCommitmentDuration sets the CommitmentDuration field's value.
func (*GetProvisionedModelThroughputOutput) SetCommitmentExpirationTime ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetCommitmentExpirationTime(v time.Time) *GetProvisionedModelThroughputOutput
SetCommitmentExpirationTime sets the CommitmentExpirationTime field's value.
func (*GetProvisionedModelThroughputOutput) SetCreationTime ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetCreationTime(v time.Time) *GetProvisionedModelThroughputOutput
SetCreationTime sets the CreationTime field's value.
func (*GetProvisionedModelThroughputOutput) SetDesiredModelArn ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetDesiredModelArn(v string) *GetProvisionedModelThroughputOutput
SetDesiredModelArn sets the DesiredModelArn field's value.
func (*GetProvisionedModelThroughputOutput) SetDesiredModelUnits ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetDesiredModelUnits(v int64) *GetProvisionedModelThroughputOutput
SetDesiredModelUnits sets the DesiredModelUnits field's value.
func (*GetProvisionedModelThroughputOutput) SetFailureMessage ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetFailureMessage(v string) *GetProvisionedModelThroughputOutput
SetFailureMessage sets the FailureMessage field's value.
func (*GetProvisionedModelThroughputOutput) SetFoundationModelArn ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetFoundationModelArn(v string) *GetProvisionedModelThroughputOutput
SetFoundationModelArn sets the FoundationModelArn field's value.
func (*GetProvisionedModelThroughputOutput) SetLastModifiedTime ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetLastModifiedTime(v time.Time) *GetProvisionedModelThroughputOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (*GetProvisionedModelThroughputOutput) SetModelArn ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetModelArn(v string) *GetProvisionedModelThroughputOutput
SetModelArn sets the ModelArn field's value.
func (*GetProvisionedModelThroughputOutput) SetModelUnits ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetModelUnits(v int64) *GetProvisionedModelThroughputOutput
SetModelUnits sets the ModelUnits field's value.
func (*GetProvisionedModelThroughputOutput) SetProvisionedModelArn ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetProvisionedModelArn(v string) *GetProvisionedModelThroughputOutput
SetProvisionedModelArn sets the ProvisionedModelArn field's value.
func (*GetProvisionedModelThroughputOutput) SetProvisionedModelName ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetProvisionedModelName(v string) *GetProvisionedModelThroughputOutput
SetProvisionedModelName sets the ProvisionedModelName field's value.
func (*GetProvisionedModelThroughputOutput) SetStatus ¶ added in v1.45.20
func (s *GetProvisionedModelThroughputOutput) SetStatus(v string) *GetProvisionedModelThroughputOutput
SetStatus sets the Status field's value.
func (GetProvisionedModelThroughputOutput) String ¶ added in v1.45.20
func (s GetProvisionedModelThroughputOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException ¶
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An internal server error occurred. Retry your request.
func (*InternalServerException) Code ¶
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (*InternalServerException) Error ¶
func (s *InternalServerException) Error() string
func (InternalServerException) GoString ¶
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServerException) Message ¶
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (*InternalServerException) OrigErr ¶
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerException) RequestID ¶
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerException) StatusCode ¶
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerException) String ¶
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListCustomModelsInput ¶
type ListCustomModelsInput struct { // Return custom models only if the base model ARN matches this parameter. BaseModelArnEquals *string `location:"querystring" locationName:"baseModelArnEquals" min:"20" type:"string"` // Return custom models created after the specified time. CreationTimeAfter *time.Time `location:"querystring" locationName:"creationTimeAfter" type:"timestamp" timestampFormat:"iso8601"` // Return custom models created before the specified time. CreationTimeBefore *time.Time `location:"querystring" locationName:"creationTimeBefore" type:"timestamp" timestampFormat:"iso8601"` // Return custom models only if the foundation model ARN matches this parameter. FoundationModelArnEquals *string `location:"querystring" locationName:"foundationModelArnEquals" type:"string"` // Maximum number of results to return in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Return custom models only if the job name contains these characters. NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"` // Continuation token from the previous response, for Amazon Bedrock to list // the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The field to sort by in the returned list of models. SortBy *string `location:"querystring" locationName:"sortBy" type:"string" enum:"SortModelsBy"` // The sort order of the results. SortOrder *string `location:"querystring" locationName:"sortOrder" type:"string" enum:"SortOrder"` // contains filtered or unexported fields }
func (ListCustomModelsInput) GoString ¶
func (s ListCustomModelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCustomModelsInput) SetBaseModelArnEquals ¶
func (s *ListCustomModelsInput) SetBaseModelArnEquals(v string) *ListCustomModelsInput
SetBaseModelArnEquals sets the BaseModelArnEquals field's value.
func (*ListCustomModelsInput) SetCreationTimeAfter ¶
func (s *ListCustomModelsInput) SetCreationTimeAfter(v time.Time) *ListCustomModelsInput
SetCreationTimeAfter sets the CreationTimeAfter field's value.
func (*ListCustomModelsInput) SetCreationTimeBefore ¶
func (s *ListCustomModelsInput) SetCreationTimeBefore(v time.Time) *ListCustomModelsInput
SetCreationTimeBefore sets the CreationTimeBefore field's value.
func (*ListCustomModelsInput) SetFoundationModelArnEquals ¶
func (s *ListCustomModelsInput) SetFoundationModelArnEquals(v string) *ListCustomModelsInput
SetFoundationModelArnEquals sets the FoundationModelArnEquals field's value.
func (*ListCustomModelsInput) SetMaxResults ¶
func (s *ListCustomModelsInput) SetMaxResults(v int64) *ListCustomModelsInput
SetMaxResults sets the MaxResults field's value.
func (*ListCustomModelsInput) SetNameContains ¶
func (s *ListCustomModelsInput) SetNameContains(v string) *ListCustomModelsInput
SetNameContains sets the NameContains field's value.
func (*ListCustomModelsInput) SetNextToken ¶
func (s *ListCustomModelsInput) SetNextToken(v string) *ListCustomModelsInput
SetNextToken sets the NextToken field's value.
func (*ListCustomModelsInput) SetSortBy ¶
func (s *ListCustomModelsInput) SetSortBy(v string) *ListCustomModelsInput
SetSortBy sets the SortBy field's value.
func (*ListCustomModelsInput) SetSortOrder ¶
func (s *ListCustomModelsInput) SetSortOrder(v string) *ListCustomModelsInput
SetSortOrder sets the SortOrder field's value.
func (ListCustomModelsInput) String ¶
func (s ListCustomModelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCustomModelsInput) Validate ¶
func (s *ListCustomModelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCustomModelsOutput ¶
type ListCustomModelsOutput struct { // Model summaries. ModelSummaries []*CustomModelSummary `locationName:"modelSummaries" type:"list"` // Continuation token for the next request to list the next set of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListCustomModelsOutput) GoString ¶
func (s ListCustomModelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCustomModelsOutput) SetModelSummaries ¶
func (s *ListCustomModelsOutput) SetModelSummaries(v []*CustomModelSummary) *ListCustomModelsOutput
SetModelSummaries sets the ModelSummaries field's value.
func (*ListCustomModelsOutput) SetNextToken ¶
func (s *ListCustomModelsOutput) SetNextToken(v string) *ListCustomModelsOutput
SetNextToken sets the NextToken field's value.
func (ListCustomModelsOutput) String ¶
func (s ListCustomModelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFoundationModelsInput ¶
type ListFoundationModelsInput struct { // List by customization type. ByCustomizationType *string `location:"querystring" locationName:"byCustomizationType" type:"string" enum:"ModelCustomization"` // List by inference type. ByInferenceType *string `location:"querystring" locationName:"byInferenceType" type:"string" enum:"InferenceType"` // List by output modality type. ByOutputModality *string `location:"querystring" locationName:"byOutputModality" type:"string" enum:"ModelModality"` // A Amazon Bedrock model provider. ByProvider *string `location:"querystring" locationName:"byProvider" type:"string"` // contains filtered or unexported fields }
func (ListFoundationModelsInput) GoString ¶
func (s ListFoundationModelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFoundationModelsInput) SetByCustomizationType ¶
func (s *ListFoundationModelsInput) SetByCustomizationType(v string) *ListFoundationModelsInput
SetByCustomizationType sets the ByCustomizationType field's value.
func (*ListFoundationModelsInput) SetByInferenceType ¶
func (s *ListFoundationModelsInput) SetByInferenceType(v string) *ListFoundationModelsInput
SetByInferenceType sets the ByInferenceType field's value.
func (*ListFoundationModelsInput) SetByOutputModality ¶
func (s *ListFoundationModelsInput) SetByOutputModality(v string) *ListFoundationModelsInput
SetByOutputModality sets the ByOutputModality field's value.
func (*ListFoundationModelsInput) SetByProvider ¶
func (s *ListFoundationModelsInput) SetByProvider(v string) *ListFoundationModelsInput
SetByProvider sets the ByProvider field's value.
func (ListFoundationModelsInput) String ¶
func (s ListFoundationModelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFoundationModelsOutput ¶
type ListFoundationModelsOutput struct { // A list of Amazon Bedrock foundation models. ModelSummaries []*FoundationModelSummary `locationName:"modelSummaries" type:"list"` // contains filtered or unexported fields }
func (ListFoundationModelsOutput) GoString ¶
func (s ListFoundationModelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFoundationModelsOutput) SetModelSummaries ¶
func (s *ListFoundationModelsOutput) SetModelSummaries(v []*FoundationModelSummary) *ListFoundationModelsOutput
SetModelSummaries sets the ModelSummaries field's value.
func (ListFoundationModelsOutput) String ¶
func (s ListFoundationModelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListModelCustomizationJobsInput ¶
type ListModelCustomizationJobsInput struct { // Return customization jobs created after the specified time. CreationTimeAfter *time.Time `location:"querystring" locationName:"creationTimeAfter" type:"timestamp" timestampFormat:"iso8601"` // Return customization jobs created before the specified time. CreationTimeBefore *time.Time `location:"querystring" locationName:"creationTimeBefore" type:"timestamp" timestampFormat:"iso8601"` // Maximum number of results to return in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Return customization jobs only if the job name contains these characters. NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"` // Continuation token from the previous response, for Amazon Bedrock to list // the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The field to sort by in the returned list of jobs. SortBy *string `location:"querystring" locationName:"sortBy" type:"string" enum:"SortJobsBy"` // The sort order of the results. SortOrder *string `location:"querystring" locationName:"sortOrder" type:"string" enum:"SortOrder"` // Return customization jobs with the specified status. StatusEquals *string `location:"querystring" locationName:"statusEquals" type:"string" enum:"FineTuningJobStatus"` // contains filtered or unexported fields }
func (ListModelCustomizationJobsInput) GoString ¶
func (s ListModelCustomizationJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListModelCustomizationJobsInput) SetCreationTimeAfter ¶
func (s *ListModelCustomizationJobsInput) SetCreationTimeAfter(v time.Time) *ListModelCustomizationJobsInput
SetCreationTimeAfter sets the CreationTimeAfter field's value.
func (*ListModelCustomizationJobsInput) SetCreationTimeBefore ¶
func (s *ListModelCustomizationJobsInput) SetCreationTimeBefore(v time.Time) *ListModelCustomizationJobsInput
SetCreationTimeBefore sets the CreationTimeBefore field's value.
func (*ListModelCustomizationJobsInput) SetMaxResults ¶
func (s *ListModelCustomizationJobsInput) SetMaxResults(v int64) *ListModelCustomizationJobsInput
SetMaxResults sets the MaxResults field's value.
func (*ListModelCustomizationJobsInput) SetNameContains ¶
func (s *ListModelCustomizationJobsInput) SetNameContains(v string) *ListModelCustomizationJobsInput
SetNameContains sets the NameContains field's value.
func (*ListModelCustomizationJobsInput) SetNextToken ¶
func (s *ListModelCustomizationJobsInput) SetNextToken(v string) *ListModelCustomizationJobsInput
SetNextToken sets the NextToken field's value.
func (*ListModelCustomizationJobsInput) SetSortBy ¶
func (s *ListModelCustomizationJobsInput) SetSortBy(v string) *ListModelCustomizationJobsInput
SetSortBy sets the SortBy field's value.
func (*ListModelCustomizationJobsInput) SetSortOrder ¶
func (s *ListModelCustomizationJobsInput) SetSortOrder(v string) *ListModelCustomizationJobsInput
SetSortOrder sets the SortOrder field's value.
func (*ListModelCustomizationJobsInput) SetStatusEquals ¶
func (s *ListModelCustomizationJobsInput) SetStatusEquals(v string) *ListModelCustomizationJobsInput
SetStatusEquals sets the StatusEquals field's value.
func (ListModelCustomizationJobsInput) String ¶
func (s ListModelCustomizationJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListModelCustomizationJobsInput) Validate ¶
func (s *ListModelCustomizationJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListModelCustomizationJobsOutput ¶
type ListModelCustomizationJobsOutput struct { // Job summaries. ModelCustomizationJobSummaries []*ModelCustomizationJobSummary `locationName:"modelCustomizationJobSummaries" type:"list"` // Page continuation token to use in the next request. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListModelCustomizationJobsOutput) GoString ¶
func (s ListModelCustomizationJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListModelCustomizationJobsOutput) SetModelCustomizationJobSummaries ¶
func (s *ListModelCustomizationJobsOutput) SetModelCustomizationJobSummaries(v []*ModelCustomizationJobSummary) *ListModelCustomizationJobsOutput
SetModelCustomizationJobSummaries sets the ModelCustomizationJobSummaries field's value.
func (*ListModelCustomizationJobsOutput) SetNextToken ¶
func (s *ListModelCustomizationJobsOutput) SetNextToken(v string) *ListModelCustomizationJobsOutput
SetNextToken sets the NextToken field's value.
func (ListModelCustomizationJobsOutput) String ¶
func (s ListModelCustomizationJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListProvisionedModelThroughputsInput ¶ added in v1.45.20
type ListProvisionedModelThroughputsInput struct { // Return provisioned capacities created after the specified time. CreationTimeAfter *time.Time `location:"querystring" locationName:"creationTimeAfter" type:"timestamp" timestampFormat:"iso8601"` // Return provisioned capacities created before the specified time. CreationTimeBefore *time.Time `location:"querystring" locationName:"creationTimeBefore" type:"timestamp" timestampFormat:"iso8601"` // THe maximum number of results to return in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Return the list of provisioned capacities where their model ARN is equal // to this parameter. ModelArnEquals *string `location:"querystring" locationName:"modelArnEquals" min:"20" type:"string"` // Return the list of provisioned capacities if their name contains these characters. NameContains *string `location:"querystring" locationName:"nameContains" min:"1" type:"string"` // Continuation token from the previous response, for Amazon Bedrock to list // the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The field to sort by in the returned list of provisioned capacities. SortBy *string `location:"querystring" locationName:"sortBy" type:"string" enum:"SortByProvisionedModels"` // The sort order of the results. SortOrder *string `location:"querystring" locationName:"sortOrder" type:"string" enum:"SortOrder"` // Return the list of provisioned capacities that match the specified status. StatusEquals *string `location:"querystring" locationName:"statusEquals" type:"string" enum:"ProvisionedModelStatus"` // contains filtered or unexported fields }
func (ListProvisionedModelThroughputsInput) GoString ¶ added in v1.45.20
func (s ListProvisionedModelThroughputsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProvisionedModelThroughputsInput) SetCreationTimeAfter ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsInput) SetCreationTimeAfter(v time.Time) *ListProvisionedModelThroughputsInput
SetCreationTimeAfter sets the CreationTimeAfter field's value.
func (*ListProvisionedModelThroughputsInput) SetCreationTimeBefore ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsInput) SetCreationTimeBefore(v time.Time) *ListProvisionedModelThroughputsInput
SetCreationTimeBefore sets the CreationTimeBefore field's value.
func (*ListProvisionedModelThroughputsInput) SetMaxResults ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsInput) SetMaxResults(v int64) *ListProvisionedModelThroughputsInput
SetMaxResults sets the MaxResults field's value.
func (*ListProvisionedModelThroughputsInput) SetModelArnEquals ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsInput) SetModelArnEquals(v string) *ListProvisionedModelThroughputsInput
SetModelArnEquals sets the ModelArnEquals field's value.
func (*ListProvisionedModelThroughputsInput) SetNameContains ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsInput) SetNameContains(v string) *ListProvisionedModelThroughputsInput
SetNameContains sets the NameContains field's value.
func (*ListProvisionedModelThroughputsInput) SetNextToken ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsInput) SetNextToken(v string) *ListProvisionedModelThroughputsInput
SetNextToken sets the NextToken field's value.
func (*ListProvisionedModelThroughputsInput) SetSortBy ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsInput) SetSortBy(v string) *ListProvisionedModelThroughputsInput
SetSortBy sets the SortBy field's value.
func (*ListProvisionedModelThroughputsInput) SetSortOrder ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsInput) SetSortOrder(v string) *ListProvisionedModelThroughputsInput
SetSortOrder sets the SortOrder field's value.
func (*ListProvisionedModelThroughputsInput) SetStatusEquals ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsInput) SetStatusEquals(v string) *ListProvisionedModelThroughputsInput
SetStatusEquals sets the StatusEquals field's value.
func (ListProvisionedModelThroughputsInput) String ¶ added in v1.45.20
func (s ListProvisionedModelThroughputsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProvisionedModelThroughputsInput) Validate ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProvisionedModelThroughputsOutput ¶ added in v1.45.20
type ListProvisionedModelThroughputsOutput struct { // Continuation token for the next request to list the next set of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` // List of summaries, one for each provisioned throughput in the response. ProvisionedModelSummaries []*ProvisionedModelSummary `locationName:"provisionedModelSummaries" type:"list"` // contains filtered or unexported fields }
func (ListProvisionedModelThroughputsOutput) GoString ¶ added in v1.45.20
func (s ListProvisionedModelThroughputsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProvisionedModelThroughputsOutput) SetNextToken ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsOutput) SetNextToken(v string) *ListProvisionedModelThroughputsOutput
SetNextToken sets the NextToken field's value.
func (*ListProvisionedModelThroughputsOutput) SetProvisionedModelSummaries ¶ added in v1.45.20
func (s *ListProvisionedModelThroughputsOutput) SetProvisionedModelSummaries(v []*ProvisionedModelSummary) *ListProvisionedModelThroughputsOutput
SetProvisionedModelSummaries sets the ProvisionedModelSummaries field's value.
func (ListProvisionedModelThroughputsOutput) String ¶ added in v1.45.20
func (s ListProvisionedModelThroughputsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The ARN of the resource. // // ResourceARN is a required field ResourceARN *string `locationName:"resourceARN" min:"20" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) SetResourceARN ¶
func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput
SetResourceARN sets the ResourceARN field's value.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // An array of the tags associated with this resource. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LoggingConfig ¶
type LoggingConfig struct { // CloudWatch logging configuration. CloudWatchConfig *CloudWatchConfig `locationName:"cloudWatchConfig" type:"structure"` // Set to include embeddings data in the log delivery. EmbeddingDataDeliveryEnabled *bool `locationName:"embeddingDataDeliveryEnabled" type:"boolean"` // Set to include image data in the log delivery. ImageDataDeliveryEnabled *bool `locationName:"imageDataDeliveryEnabled" type:"boolean"` // S3 configuration for storing log data. S3Config *S3Config `locationName:"s3Config" type:"structure"` // Set to include text data in the log delivery. TextDataDeliveryEnabled *bool `locationName:"textDataDeliveryEnabled" type:"boolean"` // contains filtered or unexported fields }
Configuration fields for invokation logging.
func (LoggingConfig) GoString ¶
func (s LoggingConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LoggingConfig) SetCloudWatchConfig ¶
func (s *LoggingConfig) SetCloudWatchConfig(v *CloudWatchConfig) *LoggingConfig
SetCloudWatchConfig sets the CloudWatchConfig field's value.
func (*LoggingConfig) SetEmbeddingDataDeliveryEnabled ¶
func (s *LoggingConfig) SetEmbeddingDataDeliveryEnabled(v bool) *LoggingConfig
SetEmbeddingDataDeliveryEnabled sets the EmbeddingDataDeliveryEnabled field's value.
func (*LoggingConfig) SetImageDataDeliveryEnabled ¶
func (s *LoggingConfig) SetImageDataDeliveryEnabled(v bool) *LoggingConfig
SetImageDataDeliveryEnabled sets the ImageDataDeliveryEnabled field's value.
func (*LoggingConfig) SetS3Config ¶
func (s *LoggingConfig) SetS3Config(v *S3Config) *LoggingConfig
SetS3Config sets the S3Config field's value.
func (*LoggingConfig) SetTextDataDeliveryEnabled ¶
func (s *LoggingConfig) SetTextDataDeliveryEnabled(v bool) *LoggingConfig
SetTextDataDeliveryEnabled sets the TextDataDeliveryEnabled field's value.
func (LoggingConfig) String ¶
func (s LoggingConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LoggingConfig) Validate ¶
func (s *LoggingConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModelCustomizationJobSummary ¶
type ModelCustomizationJobSummary struct { // ARN of the base model. // // BaseModelArn is a required field BaseModelArn *string `locationName:"baseModelArn" min:"20" type:"string" required:"true"` // Creation time of the custom model. // // CreationTime is a required field CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` // ARN of the custom model. CustomModelArn *string `locationName:"customModelArn" min:"20" type:"string"` // Name of the custom model. CustomModelName *string `locationName:"customModelName" min:"1" type:"string"` // Specifies whether to carry out continued pre-training of a model or whether // to fine-tune it. For more information, see Custom models (https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html). CustomizationType *string `locationName:"customizationType" type:"string" enum:"CustomizationType"` // Time that the customization job ended. EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"` // ARN of the customization job. // // JobArn is a required field JobArn *string `locationName:"jobArn" type:"string" required:"true"` // Name of the customization job. // // JobName is a required field JobName *string `locationName:"jobName" min:"1" type:"string" required:"true"` // Time that the customization job was last modified. LastModifiedTime *time.Time `locationName:"lastModifiedTime" type:"timestamp" timestampFormat:"iso8601"` // Status of the customization job. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"ModelCustomizationJobStatus"` // contains filtered or unexported fields }
Information about one customization job
func (ModelCustomizationJobSummary) GoString ¶
func (s ModelCustomizationJobSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ModelCustomizationJobSummary) SetBaseModelArn ¶
func (s *ModelCustomizationJobSummary) SetBaseModelArn(v string) *ModelCustomizationJobSummary
SetBaseModelArn sets the BaseModelArn field's value.
func (*ModelCustomizationJobSummary) SetCreationTime ¶
func (s *ModelCustomizationJobSummary) SetCreationTime(v time.Time) *ModelCustomizationJobSummary
SetCreationTime sets the CreationTime field's value.
func (*ModelCustomizationJobSummary) SetCustomModelArn ¶
func (s *ModelCustomizationJobSummary) SetCustomModelArn(v string) *ModelCustomizationJobSummary
SetCustomModelArn sets the CustomModelArn field's value.
func (*ModelCustomizationJobSummary) SetCustomModelName ¶
func (s *ModelCustomizationJobSummary) SetCustomModelName(v string) *ModelCustomizationJobSummary
SetCustomModelName sets the CustomModelName field's value.
func (*ModelCustomizationJobSummary) SetCustomizationType ¶ added in v1.48.7
func (s *ModelCustomizationJobSummary) SetCustomizationType(v string) *ModelCustomizationJobSummary
SetCustomizationType sets the CustomizationType field's value.
func (*ModelCustomizationJobSummary) SetEndTime ¶
func (s *ModelCustomizationJobSummary) SetEndTime(v time.Time) *ModelCustomizationJobSummary
SetEndTime sets the EndTime field's value.
func (*ModelCustomizationJobSummary) SetJobArn ¶
func (s *ModelCustomizationJobSummary) SetJobArn(v string) *ModelCustomizationJobSummary
SetJobArn sets the JobArn field's value.
func (*ModelCustomizationJobSummary) SetJobName ¶
func (s *ModelCustomizationJobSummary) SetJobName(v string) *ModelCustomizationJobSummary
SetJobName sets the JobName field's value.
func (*ModelCustomizationJobSummary) SetLastModifiedTime ¶
func (s *ModelCustomizationJobSummary) SetLastModifiedTime(v time.Time) *ModelCustomizationJobSummary
SetLastModifiedTime sets the LastModifiedTime field's value.
func (*ModelCustomizationJobSummary) SetStatus ¶
func (s *ModelCustomizationJobSummary) SetStatus(v string) *ModelCustomizationJobSummary
SetStatus sets the Status field's value.
func (ModelCustomizationJobSummary) String ¶
func (s ModelCustomizationJobSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type OutputDataConfig ¶
type OutputDataConfig struct { // The S3 URI where the output data is stored. // // S3Uri is a required field S3Uri *string `locationName:"s3Uri" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
S3 Location of the output data.
func (OutputDataConfig) GoString ¶
func (s OutputDataConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OutputDataConfig) SetS3Uri ¶
func (s *OutputDataConfig) SetS3Uri(v string) *OutputDataConfig
SetS3Uri sets the S3Uri field's value.
func (OutputDataConfig) String ¶
func (s OutputDataConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OutputDataConfig) Validate ¶
func (s *OutputDataConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ProvisionedModelSummary ¶ added in v1.45.20
type ProvisionedModelSummary struct { // Commitment duration for the provisioned throughput. CommitmentDuration *string `locationName:"commitmentDuration" type:"string" enum:"CommitmentDuration"` // Commitment expiration time for the provisioned throughput. CommitmentExpirationTime *time.Time `locationName:"commitmentExpirationTime" type:"timestamp" timestampFormat:"iso8601"` // The time that this provisioned throughput was created. // // CreationTime is a required field CreationTime *time.Time `locationName:"creationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` // Desired model ARN. // // DesiredModelArn is a required field DesiredModelArn *string `locationName:"desiredModelArn" min:"20" type:"string" required:"true"` // Desired model units. // // DesiredModelUnits is a required field DesiredModelUnits *int64 `locationName:"desiredModelUnits" min:"1" type:"integer" required:"true"` // Foundation model ARN. // // FoundationModelArn is a required field FoundationModelArn *string `locationName:"foundationModelArn" type:"string" required:"true"` // The time that this provisioned throughput was last modified. // // LastModifiedTime is a required field LastModifiedTime *time.Time `locationName:"lastModifiedTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` // The ARN of the model associated with this provisioned throughput. // // ModelArn is a required field ModelArn *string `locationName:"modelArn" min:"20" type:"string" required:"true"` // The number of model units allocated. // // ModelUnits is a required field ModelUnits *int64 `locationName:"modelUnits" min:"1" type:"integer" required:"true"` // The ARN of the provisioned throughput. // // ProvisionedModelArn is a required field ProvisionedModelArn *string `locationName:"provisionedModelArn" type:"string" required:"true"` // The name of the provisioned throughput. // // ProvisionedModelName is a required field ProvisionedModelName *string `locationName:"provisionedModelName" min:"1" type:"string" required:"true"` // Status of the provisioned throughput. // // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"ProvisionedModelStatus"` // contains filtered or unexported fields }
Set of fields associated with a provisioned throughput.
func (ProvisionedModelSummary) GoString ¶ added in v1.45.20
func (s ProvisionedModelSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ProvisionedModelSummary) SetCommitmentDuration ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetCommitmentDuration(v string) *ProvisionedModelSummary
SetCommitmentDuration sets the CommitmentDuration field's value.
func (*ProvisionedModelSummary) SetCommitmentExpirationTime ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetCommitmentExpirationTime(v time.Time) *ProvisionedModelSummary
SetCommitmentExpirationTime sets the CommitmentExpirationTime field's value.
func (*ProvisionedModelSummary) SetCreationTime ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetCreationTime(v time.Time) *ProvisionedModelSummary
SetCreationTime sets the CreationTime field's value.
func (*ProvisionedModelSummary) SetDesiredModelArn ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetDesiredModelArn(v string) *ProvisionedModelSummary
SetDesiredModelArn sets the DesiredModelArn field's value.
func (*ProvisionedModelSummary) SetDesiredModelUnits ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetDesiredModelUnits(v int64) *ProvisionedModelSummary
SetDesiredModelUnits sets the DesiredModelUnits field's value.
func (*ProvisionedModelSummary) SetFoundationModelArn ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetFoundationModelArn(v string) *ProvisionedModelSummary
SetFoundationModelArn sets the FoundationModelArn field's value.
func (*ProvisionedModelSummary) SetLastModifiedTime ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetLastModifiedTime(v time.Time) *ProvisionedModelSummary
SetLastModifiedTime sets the LastModifiedTime field's value.
func (*ProvisionedModelSummary) SetModelArn ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetModelArn(v string) *ProvisionedModelSummary
SetModelArn sets the ModelArn field's value.
func (*ProvisionedModelSummary) SetModelUnits ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetModelUnits(v int64) *ProvisionedModelSummary
SetModelUnits sets the ModelUnits field's value.
func (*ProvisionedModelSummary) SetProvisionedModelArn ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetProvisionedModelArn(v string) *ProvisionedModelSummary
SetProvisionedModelArn sets the ProvisionedModelArn field's value.
func (*ProvisionedModelSummary) SetProvisionedModelName ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetProvisionedModelName(v string) *ProvisionedModelSummary
SetProvisionedModelName sets the ProvisionedModelName field's value.
func (*ProvisionedModelSummary) SetStatus ¶ added in v1.45.20
func (s *ProvisionedModelSummary) SetStatus(v string) *ProvisionedModelSummary
SetStatus sets the Status field's value.
func (ProvisionedModelSummary) String ¶ added in v1.45.20
func (s ProvisionedModelSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutModelInvocationLoggingConfigurationInput ¶
type PutModelInvocationLoggingConfigurationInput struct { // The logging configuration values to set. // // LoggingConfig is a required field LoggingConfig *LoggingConfig `locationName:"loggingConfig" type:"structure" required:"true"` // contains filtered or unexported fields }
func (PutModelInvocationLoggingConfigurationInput) GoString ¶
func (s PutModelInvocationLoggingConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutModelInvocationLoggingConfigurationInput) SetLoggingConfig ¶
func (s *PutModelInvocationLoggingConfigurationInput) SetLoggingConfig(v *LoggingConfig) *PutModelInvocationLoggingConfigurationInput
SetLoggingConfig sets the LoggingConfig field's value.
func (PutModelInvocationLoggingConfigurationInput) String ¶
func (s PutModelInvocationLoggingConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutModelInvocationLoggingConfigurationInput) Validate ¶
func (s *PutModelInvocationLoggingConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutModelInvocationLoggingConfigurationOutput ¶
type PutModelInvocationLoggingConfigurationOutput struct {
// contains filtered or unexported fields
}
func (PutModelInvocationLoggingConfigurationOutput) GoString ¶
func (s PutModelInvocationLoggingConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (PutModelInvocationLoggingConfigurationOutput) String ¶
func (s PutModelInvocationLoggingConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified resource ARN was not found. Check the ARN and try your request again.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type S3Config ¶
type S3Config struct { // S3 bucket name. // // BucketName is a required field BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"` // S3 prefix. KeyPrefix *string `locationName:"keyPrefix" type:"string"` // contains filtered or unexported fields }
S3 configuration for storing log data.
func (S3Config) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3Config) SetBucketName ¶
SetBucketName sets the BucketName field's value.
func (*S3Config) SetKeyPrefix ¶
SetKeyPrefix sets the KeyPrefix field's value.
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The number of requests exceeds the service quota. Resubmit your request later.
func (*ServiceQuotaExceededException) Code ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceQuotaExceededException) Message ¶
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (*ServiceQuotaExceededException) OrigErr ¶
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceQuotaExceededException) RequestID ¶
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceQuotaExceededException) StatusCode ¶
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceQuotaExceededException) String ¶
func (s ServiceQuotaExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StopModelCustomizationJobInput ¶
type StopModelCustomizationJobInput struct { // Job identifier of the job to stop. // // JobIdentifier is a required field JobIdentifier *string `location:"uri" locationName:"jobIdentifier" type:"string" required:"true"` // contains filtered or unexported fields }
func (StopModelCustomizationJobInput) GoString ¶
func (s StopModelCustomizationJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopModelCustomizationJobInput) SetJobIdentifier ¶
func (s *StopModelCustomizationJobInput) SetJobIdentifier(v string) *StopModelCustomizationJobInput
SetJobIdentifier sets the JobIdentifier field's value.
func (StopModelCustomizationJobInput) String ¶
func (s StopModelCustomizationJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopModelCustomizationJobInput) Validate ¶
func (s *StopModelCustomizationJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopModelCustomizationJobOutput ¶
type StopModelCustomizationJobOutput struct {
// contains filtered or unexported fields
}
func (StopModelCustomizationJobOutput) GoString ¶
func (s StopModelCustomizationJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (StopModelCustomizationJobOutput) String ¶
func (s StopModelCustomizationJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Tag ¶
type Tag struct { // Key for the tag. // // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // Value for the tag. // // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` // contains filtered or unexported fields }
Definition of the key/value pair for a tag.
func (Tag) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput ¶
type TagResourceInput struct { // The ARN of the resource to tag. // // ResourceARN is a required field ResourceARN *string `locationName:"resourceARN" min:"20" type:"string" required:"true"` // Tags to associate with the resource. // // Tags is a required field Tags []*Tag `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResourceARN ¶
func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput
SetResourceARN sets the ResourceARN field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThrottlingException ¶
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The number of requests exceeds the limit. Resubmit your request later.
func (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TooManyTagsException ¶
type TooManyTagsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // The name of the resource with too many tags. ResourceName *string `locationName:"resourceName" min:"20" type:"string"` // contains filtered or unexported fields }
The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.
func (*TooManyTagsException) Code ¶
func (s *TooManyTagsException) Code() string
Code returns the exception type name.
func (*TooManyTagsException) Error ¶
func (s *TooManyTagsException) Error() string
func (TooManyTagsException) GoString ¶
func (s TooManyTagsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TooManyTagsException) Message ¶
func (s *TooManyTagsException) Message() string
Message returns the exception's message.
func (*TooManyTagsException) OrigErr ¶
func (s *TooManyTagsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TooManyTagsException) RequestID ¶
func (s *TooManyTagsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TooManyTagsException) StatusCode ¶
func (s *TooManyTagsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TooManyTagsException) String ¶
func (s TooManyTagsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TrainingDataConfig ¶
type TrainingDataConfig struct { // The S3 URI where the training data is stored. // // S3Uri is a required field S3Uri *string `locationName:"s3Uri" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
S3 Location of the training data.
func (TrainingDataConfig) GoString ¶
func (s TrainingDataConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TrainingDataConfig) SetS3Uri ¶
func (s *TrainingDataConfig) SetS3Uri(v string) *TrainingDataConfig
SetS3Uri sets the S3Uri field's value.
func (TrainingDataConfig) String ¶
func (s TrainingDataConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TrainingDataConfig) Validate ¶
func (s *TrainingDataConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TrainingMetrics ¶
type TrainingMetrics struct { // Loss metric associated with the custom job. TrainingLoss *float64 `locationName:"trainingLoss" type:"float"` // contains filtered or unexported fields }
Metrics associated with the custom job.
func (TrainingMetrics) GoString ¶
func (s TrainingMetrics) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TrainingMetrics) SetTrainingLoss ¶
func (s *TrainingMetrics) SetTrainingLoss(v float64) *TrainingMetrics
SetTrainingLoss sets the TrainingLoss field's value.
func (TrainingMetrics) String ¶
func (s TrainingMetrics) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶
type UntagResourceInput struct { // The ARN of the resource to untag. // // ResourceARN is a required field ResourceARN *string `locationName:"resourceARN" min:"20" type:"string" required:"true"` // Tag keys of the tags to remove from the resource. // // TagKeys is a required field TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceARN ¶
func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput
SetResourceARN sets the ResourceARN field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateProvisionedModelThroughputInput ¶ added in v1.45.20
type UpdateProvisionedModelThroughputInput struct { // The ARN of the new model to associate with this provisioned throughput. DesiredModelId *string `locationName:"desiredModelId" min:"1" type:"string"` // The new name for this provisioned throughput. DesiredProvisionedModelName *string `locationName:"desiredProvisionedModelName" min:"1" type:"string"` // The ARN or name of the provisioned throughput to update. // // ProvisionedModelId is a required field ProvisionedModelId *string `location:"uri" locationName:"provisionedModelId" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateProvisionedModelThroughputInput) GoString ¶ added in v1.45.20
func (s UpdateProvisionedModelThroughputInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateProvisionedModelThroughputInput) SetDesiredModelId ¶ added in v1.45.20
func (s *UpdateProvisionedModelThroughputInput) SetDesiredModelId(v string) *UpdateProvisionedModelThroughputInput
SetDesiredModelId sets the DesiredModelId field's value.
func (*UpdateProvisionedModelThroughputInput) SetDesiredProvisionedModelName ¶ added in v1.45.20
func (s *UpdateProvisionedModelThroughputInput) SetDesiredProvisionedModelName(v string) *UpdateProvisionedModelThroughputInput
SetDesiredProvisionedModelName sets the DesiredProvisionedModelName field's value.
func (*UpdateProvisionedModelThroughputInput) SetProvisionedModelId ¶ added in v1.45.20
func (s *UpdateProvisionedModelThroughputInput) SetProvisionedModelId(v string) *UpdateProvisionedModelThroughputInput
SetProvisionedModelId sets the ProvisionedModelId field's value.
func (UpdateProvisionedModelThroughputInput) String ¶ added in v1.45.20
func (s UpdateProvisionedModelThroughputInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateProvisionedModelThroughputInput) Validate ¶ added in v1.45.20
func (s *UpdateProvisionedModelThroughputInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateProvisionedModelThroughputOutput ¶ added in v1.45.20
type UpdateProvisionedModelThroughputOutput struct {
// contains filtered or unexported fields
}
func (UpdateProvisionedModelThroughputOutput) GoString ¶ added in v1.45.20
func (s UpdateProvisionedModelThroughputOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UpdateProvisionedModelThroughputOutput) String ¶ added in v1.45.20
func (s UpdateProvisionedModelThroughputOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationDataConfig ¶
type ValidationDataConfig struct { // Information about the validators. // // Validators is a required field Validators []*Validator `locationName:"validators" type:"list" required:"true"` // contains filtered or unexported fields }
Array of up to 10 validators.
func (ValidationDataConfig) GoString ¶
func (s ValidationDataConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationDataConfig) SetValidators ¶
func (s *ValidationDataConfig) SetValidators(v []*Validator) *ValidationDataConfig
SetValidators sets the Validators field's value.
func (ValidationDataConfig) String ¶
func (s ValidationDataConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationDataConfig) Validate ¶
func (s *ValidationDataConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ValidationException ¶
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Input validation failed. Check your request parameters and retry the request.
func (*ValidationException) Code ¶
func (s *ValidationException) Code() string
Code returns the exception type name.
func (*ValidationException) Error ¶
func (s *ValidationException) Error() string
func (ValidationException) GoString ¶
func (s ValidationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationException) Message ¶
func (s *ValidationException) Message() string
Message returns the exception's message.
func (*ValidationException) OrigErr ¶
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ValidationException) RequestID ¶
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ValidationException) StatusCode ¶
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ValidationException) String ¶
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Validator ¶
type Validator struct { // The S3 URI where the validation data is stored. // // S3Uri is a required field S3Uri *string `locationName:"s3Uri" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Information about a validator.
func (Validator) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidatorMetric ¶
type ValidatorMetric struct { // The validation loss associated with this validator. ValidationLoss *float64 `locationName:"validationLoss" type:"float"` // contains filtered or unexported fields }
The metric for the validator.
func (ValidatorMetric) GoString ¶
func (s ValidatorMetric) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidatorMetric) SetValidationLoss ¶
func (s *ValidatorMetric) SetValidationLoss(v float64) *ValidatorMetric
SetValidationLoss sets the ValidationLoss field's value.
func (ValidatorMetric) String ¶
func (s ValidatorMetric) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VpcConfig ¶
type VpcConfig struct { // VPC configuration security group Ids. // // SecurityGroupIds is a required field SecurityGroupIds []*string `locationName:"securityGroupIds" min:"1" type:"list" required:"true"` // VPC configuration subnets. // // SubnetIds is a required field SubnetIds []*string `locationName:"subnetIds" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
VPC configuration.
func (VpcConfig) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VpcConfig) SetSecurityGroupIds ¶
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*VpcConfig) SetSubnetIds ¶
SetSubnetIds sets the SubnetIds field's value.
Directories ¶
Path | Synopsis |
---|---|
Package bedrockiface provides an interface to enable mocking the Amazon Bedrock service client for testing your code.
|
Package bedrockiface provides an interface to enable mocking the Amazon Bedrock service client for testing your code. |