package customizations

import "github.com/aws/aws-sdk-go-v2/service/s3control/internal/customizations"

Package customizations provides customizations for the Amazon S3-Control API client.

This package provides support for following S3-Control customizations

UpdateEndpoint Middleware: resolves a custom endpoint as per s3-control config options

Dualstack support

By default dualstack support for s3-control client is disabled. By enabling `UseDualstack` option on s3-control client, you can enable dualstack endpoint support.

UpdateEndpoint middleware handler for modifying resolved endpoint needs to be executed after request serialization.

Middleware layering:

HTTP Request -> operation serializer -> Update-Endpoint customization -> next middleware

Customization option:

UseDualstack (Disabled by Default)

Index

Functions

func UpdateEndpoint

func UpdateEndpoint(stack *middleware.Stack, options UpdateEndpointOptions)

UpdateEndpoint adds the middleware to the middleware stack based on the UpdateEndpointOptions.

Types

type UpdateEndpointOptions

type UpdateEndpointOptions struct {
	// use dualstack
	UseDualstack bool
}

UpdateEndpointOptions provides the options for the UpdateEndpoint middleware setup.

Source Files

doc.go update_endpoint.go

Version
v0.28.0
Published
Oct 26, 2020
Platform
js/wasm
Imports
2 packages
Last checked
5 minutes ago

Tools for package owners.