Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) CreateEvaluationJob(ctx context.Context, params *bedrock.CreateEvaluationJobInput, ...) (*bedrock.CreateEvaluationJobOutput, error)
- func (_m *IClient) CreateGuardrail(ctx context.Context, params *bedrock.CreateGuardrailInput, ...) (*bedrock.CreateGuardrailOutput, error)
- func (_m *IClient) CreateGuardrailVersion(ctx context.Context, params *bedrock.CreateGuardrailVersionInput, ...) (*bedrock.CreateGuardrailVersionOutput, error)
- func (_m *IClient) CreateModelCustomizationJob(ctx context.Context, params *bedrock.CreateModelCustomizationJobInput, ...) (*bedrock.CreateModelCustomizationJobOutput, error)
- func (_m *IClient) CreateProvisionedModelThroughput(ctx context.Context, params *bedrock.CreateProvisionedModelThroughputInput, ...) (*bedrock.CreateProvisionedModelThroughputOutput, error)
- func (_m *IClient) DeleteCustomModel(ctx context.Context, params *bedrock.DeleteCustomModelInput, ...) (*bedrock.DeleteCustomModelOutput, error)
- func (_m *IClient) DeleteGuardrail(ctx context.Context, params *bedrock.DeleteGuardrailInput, ...) (*bedrock.DeleteGuardrailOutput, error)
- func (_m *IClient) DeleteModelInvocationLoggingConfiguration(ctx context.Context, ...) (*bedrock.DeleteModelInvocationLoggingConfigurationOutput, error)
- func (_m *IClient) DeleteProvisionedModelThroughput(ctx context.Context, params *bedrock.DeleteProvisionedModelThroughputInput, ...) (*bedrock.DeleteProvisionedModelThroughputOutput, error)
- func (_m *IClient) GetCustomModel(ctx context.Context, params *bedrock.GetCustomModelInput, ...) (*bedrock.GetCustomModelOutput, error)
- func (_m *IClient) GetEvaluationJob(ctx context.Context, params *bedrock.GetEvaluationJobInput, ...) (*bedrock.GetEvaluationJobOutput, error)
- func (_m *IClient) GetFoundationModel(ctx context.Context, params *bedrock.GetFoundationModelInput, ...) (*bedrock.GetFoundationModelOutput, error)
- func (_m *IClient) GetGuardrail(ctx context.Context, params *bedrock.GetGuardrailInput, ...) (*bedrock.GetGuardrailOutput, error)
- func (_m *IClient) GetModelCustomizationJob(ctx context.Context, params *bedrock.GetModelCustomizationJobInput, ...) (*bedrock.GetModelCustomizationJobOutput, error)
- func (_m *IClient) GetModelInvocationLoggingConfiguration(ctx context.Context, ...) (*bedrock.GetModelInvocationLoggingConfigurationOutput, error)
- func (_m *IClient) GetProvisionedModelThroughput(ctx context.Context, params *bedrock.GetProvisionedModelThroughputInput, ...) (*bedrock.GetProvisionedModelThroughputOutput, error)
- func (_m *IClient) ListCustomModels(ctx context.Context, params *bedrock.ListCustomModelsInput, ...) (*bedrock.ListCustomModelsOutput, error)
- func (_m *IClient) ListEvaluationJobs(ctx context.Context, params *bedrock.ListEvaluationJobsInput, ...) (*bedrock.ListEvaluationJobsOutput, error)
- func (_m *IClient) ListFoundationModels(ctx context.Context, params *bedrock.ListFoundationModelsInput, ...) (*bedrock.ListFoundationModelsOutput, error)
- func (_m *IClient) ListGuardrails(ctx context.Context, params *bedrock.ListGuardrailsInput, ...) (*bedrock.ListGuardrailsOutput, error)
- func (_m *IClient) ListModelCustomizationJobs(ctx context.Context, params *bedrock.ListModelCustomizationJobsInput, ...) (*bedrock.ListModelCustomizationJobsOutput, error)
- func (_m *IClient) ListProvisionedModelThroughputs(ctx context.Context, params *bedrock.ListProvisionedModelThroughputsInput, ...) (*bedrock.ListProvisionedModelThroughputsOutput, error)
- func (_m *IClient) ListTagsForResource(ctx context.Context, params *bedrock.ListTagsForResourceInput, ...) (*bedrock.ListTagsForResourceOutput, error)
- func (_m *IClient) Options() bedrock.Options
- func (_m *IClient) PutModelInvocationLoggingConfiguration(ctx context.Context, ...) (*bedrock.PutModelInvocationLoggingConfigurationOutput, error)
- func (_m *IClient) StopEvaluationJob(ctx context.Context, params *bedrock.StopEvaluationJobInput, ...) (*bedrock.StopEvaluationJobOutput, error)
- func (_m *IClient) StopModelCustomizationJob(ctx context.Context, params *bedrock.StopModelCustomizationJobInput, ...) (*bedrock.StopModelCustomizationJobOutput, error)
- func (_m *IClient) TagResource(ctx context.Context, params *bedrock.TagResourceInput, ...) (*bedrock.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *bedrock.UntagResourceInput, ...) (*bedrock.UntagResourceOutput, error)
- func (_m *IClient) UpdateGuardrail(ctx context.Context, params *bedrock.UpdateGuardrailInput, ...) (*bedrock.UpdateGuardrailOutput, error)
- func (_m *IClient) UpdateProvisionedModelThroughput(ctx context.Context, params *bedrock.UpdateProvisionedModelThroughputInput, ...) (*bedrock.UpdateProvisionedModelThroughputOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
IClient is an autogenerated mock type for the IClient type
func NewIClient ¶
NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IClient) CreateEvaluationJob ¶
func (_m *IClient) CreateEvaluationJob(ctx context.Context, params *bedrock.CreateEvaluationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateEvaluationJobOutput, error)
CreateEvaluationJob provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateGuardrail ¶
func (_m *IClient) CreateGuardrail(ctx context.Context, params *bedrock.CreateGuardrailInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateGuardrailOutput, error)
CreateGuardrail provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateGuardrailVersion ¶
func (_m *IClient) CreateGuardrailVersion(ctx context.Context, params *bedrock.CreateGuardrailVersionInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateGuardrailVersionOutput, error)
CreateGuardrailVersion provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateModelCustomizationJob ¶
func (_m *IClient) CreateModelCustomizationJob(ctx context.Context, params *bedrock.CreateModelCustomizationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateModelCustomizationJobOutput, error)
CreateModelCustomizationJob provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateProvisionedModelThroughput ¶
func (_m *IClient) CreateProvisionedModelThroughput(ctx context.Context, params *bedrock.CreateProvisionedModelThroughputInput, optFns ...func(*bedrock.Options)) (*bedrock.CreateProvisionedModelThroughputOutput, error)
CreateProvisionedModelThroughput provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteCustomModel ¶
func (_m *IClient) DeleteCustomModel(ctx context.Context, params *bedrock.DeleteCustomModelInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteCustomModelOutput, error)
DeleteCustomModel provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteGuardrail ¶
func (_m *IClient) DeleteGuardrail(ctx context.Context, params *bedrock.DeleteGuardrailInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteGuardrailOutput, error)
DeleteGuardrail provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteModelInvocationLoggingConfiguration ¶
func (_m *IClient) DeleteModelInvocationLoggingConfiguration(ctx context.Context, params *bedrock.DeleteModelInvocationLoggingConfigurationInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteModelInvocationLoggingConfigurationOutput, error)
DeleteModelInvocationLoggingConfiguration provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteProvisionedModelThroughput ¶
func (_m *IClient) DeleteProvisionedModelThroughput(ctx context.Context, params *bedrock.DeleteProvisionedModelThroughputInput, optFns ...func(*bedrock.Options)) (*bedrock.DeleteProvisionedModelThroughputOutput, error)
DeleteProvisionedModelThroughput provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetCustomModel ¶
func (_m *IClient) GetCustomModel(ctx context.Context, params *bedrock.GetCustomModelInput, optFns ...func(*bedrock.Options)) (*bedrock.GetCustomModelOutput, error)
GetCustomModel provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetEvaluationJob ¶
func (_m *IClient) GetEvaluationJob(ctx context.Context, params *bedrock.GetEvaluationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.GetEvaluationJobOutput, error)
GetEvaluationJob provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetFoundationModel ¶
func (_m *IClient) GetFoundationModel(ctx context.Context, params *bedrock.GetFoundationModelInput, optFns ...func(*bedrock.Options)) (*bedrock.GetFoundationModelOutput, error)
GetFoundationModel provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetGuardrail ¶
func (_m *IClient) GetGuardrail(ctx context.Context, params *bedrock.GetGuardrailInput, optFns ...func(*bedrock.Options)) (*bedrock.GetGuardrailOutput, error)
GetGuardrail provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetModelCustomizationJob ¶
func (_m *IClient) GetModelCustomizationJob(ctx context.Context, params *bedrock.GetModelCustomizationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.GetModelCustomizationJobOutput, error)
GetModelCustomizationJob provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetModelInvocationLoggingConfiguration ¶
func (_m *IClient) GetModelInvocationLoggingConfiguration(ctx context.Context, params *bedrock.GetModelInvocationLoggingConfigurationInput, optFns ...func(*bedrock.Options)) (*bedrock.GetModelInvocationLoggingConfigurationOutput, error)
GetModelInvocationLoggingConfiguration provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetProvisionedModelThroughput ¶
func (_m *IClient) GetProvisionedModelThroughput(ctx context.Context, params *bedrock.GetProvisionedModelThroughputInput, optFns ...func(*bedrock.Options)) (*bedrock.GetProvisionedModelThroughputOutput, error)
GetProvisionedModelThroughput provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListCustomModels ¶
func (_m *IClient) ListCustomModels(ctx context.Context, params *bedrock.ListCustomModelsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListCustomModelsOutput, error)
ListCustomModels provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListEvaluationJobs ¶
func (_m *IClient) ListEvaluationJobs(ctx context.Context, params *bedrock.ListEvaluationJobsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListEvaluationJobsOutput, error)
ListEvaluationJobs provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListFoundationModels ¶
func (_m *IClient) ListFoundationModels(ctx context.Context, params *bedrock.ListFoundationModelsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListFoundationModelsOutput, error)
ListFoundationModels provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListGuardrails ¶
func (_m *IClient) ListGuardrails(ctx context.Context, params *bedrock.ListGuardrailsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListGuardrailsOutput, error)
ListGuardrails provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListModelCustomizationJobs ¶
func (_m *IClient) ListModelCustomizationJobs(ctx context.Context, params *bedrock.ListModelCustomizationJobsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListModelCustomizationJobsOutput, error)
ListModelCustomizationJobs provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListProvisionedModelThroughputs ¶
func (_m *IClient) ListProvisionedModelThroughputs(ctx context.Context, params *bedrock.ListProvisionedModelThroughputsInput, optFns ...func(*bedrock.Options)) (*bedrock.ListProvisionedModelThroughputsOutput, error)
ListProvisionedModelThroughputs provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListTagsForResource ¶
func (_m *IClient) ListTagsForResource(ctx context.Context, params *bedrock.ListTagsForResourceInput, optFns ...func(*bedrock.Options)) (*bedrock.ListTagsForResourceOutput, error)
ListTagsForResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutModelInvocationLoggingConfiguration ¶
func (_m *IClient) PutModelInvocationLoggingConfiguration(ctx context.Context, params *bedrock.PutModelInvocationLoggingConfigurationInput, optFns ...func(*bedrock.Options)) (*bedrock.PutModelInvocationLoggingConfigurationOutput, error)
PutModelInvocationLoggingConfiguration provides a mock function with given fields: ctx, params, optFns
func (*IClient) StopEvaluationJob ¶
func (_m *IClient) StopEvaluationJob(ctx context.Context, params *bedrock.StopEvaluationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.StopEvaluationJobOutput, error)
StopEvaluationJob provides a mock function with given fields: ctx, params, optFns
func (*IClient) StopModelCustomizationJob ¶
func (_m *IClient) StopModelCustomizationJob(ctx context.Context, params *bedrock.StopModelCustomizationJobInput, optFns ...func(*bedrock.Options)) (*bedrock.StopModelCustomizationJobOutput, error)
StopModelCustomizationJob provides a mock function with given fields: ctx, params, optFns
func (*IClient) TagResource ¶
func (_m *IClient) TagResource(ctx context.Context, params *bedrock.TagResourceInput, optFns ...func(*bedrock.Options)) (*bedrock.TagResourceOutput, error)
TagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UntagResource ¶
func (_m *IClient) UntagResource(ctx context.Context, params *bedrock.UntagResourceInput, optFns ...func(*bedrock.Options)) (*bedrock.UntagResourceOutput, error)
UntagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateGuardrail ¶
func (_m *IClient) UpdateGuardrail(ctx context.Context, params *bedrock.UpdateGuardrailInput, optFns ...func(*bedrock.Options)) (*bedrock.UpdateGuardrailOutput, error)
UpdateGuardrail provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateProvisionedModelThroughput ¶
func (_m *IClient) UpdateProvisionedModelThroughput(ctx context.Context, params *bedrock.UpdateProvisionedModelThroughputInput, optFns ...func(*bedrock.Options)) (*bedrock.UpdateProvisionedModelThroughputOutput, error)
UpdateProvisionedModelThroughput provides a mock function with given fields: ctx, params, optFns