package customizations

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

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 {
	// functional pointer to fetch bucket name from provided input.
	// The function is intended to take an input value, and
	// return a string pointer to value of string, and bool if
	// input has no bucket member.
	GetBucketFromInput func(interface{}) (*string, bool)

	// use path style
	UsePathStyle bool
}

UpdateEndpointOptions provides the options for the UpdateEndpoint middleware setup.

Source Files

update_endpoint.go

Version
v0.1.0
Published
Sep 29, 2020
Platform
darwin/amd64
Imports
6 packages
Last checked
8 minutes ago

Tools for package owners.