Lines Matching defs:Config

33 type Config struct {  struct
37 CredentialsChainVerboseErrors *bool
42 Credentials *credentials.Credentials
50 Endpoint *string
54 EndpointResolver endpoints.Resolver
61 EnforceShouldRetryCheck *bool
70 Region *string
74 DisableSSL *bool
78 HTTPClient *http.Client
83 LogLevel *LogLevelType
87 Logger Logger
92 MaxRetries *int
108 Retryer RequestRetryer
112 DisableParamValidation *bool
116 DisableComputeChecksums *bool
127 S3ForcePathStyle *bool
143 S3Disable100Continue *bool
153 S3UseAccelerate *bool
162 S3DisableContentMD5Validation *bool
166 S3UseARNRegion *bool
173 LowerCaseHeaderMaps *bool
208 // svc := s3.New(sess, &aws.Config{
228 // sess := session.Must(session.NewSession(&aws.Config{
244 // sess := session.Must(session.NewSession(&aws.Config{
253 EnableEndpointDiscovery *bool
260 DisableEndpointHostPrefix *bool
263 STSRegionalEndpoint endpoints.STSRegionalEndpoint
266 S3UsEast1RegionalEndpoint endpoints.S3UsEast1RegionalEndpoint
288 func (c *Config) WithCredentialsChainVerboseErrors(verboseErrs bool) *Config {
295 func (c *Config) WithCredentials(creds *credentials.Credentials) *Config {
302 func (c *Config) WithEndpoint(endpoint string) *Config {
309 func (c *Config) WithEndpointResolver(resolver endpoints.Resolver) *Config {
316 func (c *Config) WithRegion(region string) *Config {
323 func (c *Config) WithDisableSSL(disable bool) *Config {
330 func (c *Config) WithHTTPClient(client *http.Client) *Config {
337 func (c *Config) WithMaxRetries(max int) *Config {
344 func (c *Config) WithDisableParamValidation(disable bool) *Config {
351 func (c *Config) WithDisableComputeChecksums(disable bool) *Config {
358 func (c *Config) WithLogLevel(level LogLevelType) *Config {
365 func (c *Config) WithLogger(logger Logger) *Config {
372 func (c *Config) WithS3ForcePathStyle(force bool) *Config {
379 func (c *Config) WithS3Disable100Continue(disable bool) *Config {
386 func (c *Config) WithS3UseAccelerate(enable bool) *Config {
394 func (c *Config) WithS3DisableContentMD5Validation(enable bool) *Config {
402 func (c *Config) WithS3UseARNRegion(enable bool) *Config {
409 func (c *Config) WithUseDualStack(enable bool) *Config {
416 func (c *Config) WithEC2MetadataDisableTimeoutOverride(enable bool) *Config {
423 func (c *Config) WithSleepDelay(fn func(time.Duration)) *Config {
429 func (c *Config) WithEndpointDiscovery(t bool) *Config {
436 func (c *Config) WithDisableEndpointHostPrefix(t bool) *Config {
442 func (c *Config) MergeIn(cfgs ...*Config) {
450 func (c *Config) WithSTSRegionalEndpoint(sre endpoints.STSRegionalEndpoint) *Config {
457 func (c *Config) WithS3UsEast1RegionalEndpoint(sre endpoints.S3UsEast1RegionalEndpoint) *Config {
462 func mergeInConfig(dst *Config, other *Config) {
578 func (c *Config) Copy(cfgs ...*Config) *Config {