Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultVersion = "bedrock-2023-05-31"
Variables ¶
View Source
var DefaultEndpoints = map[string]bool{ "/v1/complete": true, "/v1/messages": true, }
Functions ¶
func WithConfig ¶
func WithConfig(cfg aws.Config) option.RequestOption
WithConfig returns a request option which uses the provided config and registers middleware that intercepts request to the Messages API so that this SDK can be used with Amazon Bedrock.
func WithLoadDefaultConfig ¶
func WithLoadDefaultConfig(ctx context.Context, optFns ...func(*config.LoadOptions) error) option.RequestOption
WithLoadDefaultConfig returns a request option which loads the default config for Amazon and registers middleware that intercepts request to the Messages API so that this SDK can be used with Amazon Bedrock.
If you already have an aws.Config, it is recommended that you instead call WithConfig directly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.