Struct: s3.EndpointParameters
Overview
EndpointParameters provides the parameters that influence how endpoints are resolved.
Implemented Interfaces
types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Structure Field Summary collapse
-
Accelerate *bool
When true, use S3 Accelerate.
-
Bucket *string
The S3 bucket used to send the request.
-
CopySource *string
The Copy Source used for Copy Object request.
-
DisableAccessPoints *bool
Internal parameter to disable Access Point Buckets.
-
DisableMultiRegionAccessPoints *bool
Whether multi-region access points (MRAP) should be disabled.
-
DisableS3ExpressSessionAuth *bool
Parameter to indicate whether S3Express session auth should be disabled.
-
Endpoint *string
Override the endpoint used to send this request.
-
ForcePathStyle *bool
When true, force a path-style endpoint to be used where the bucket name is part of the path.
-
Key *string
The S3 Key used to send the request.
-
Prefix *string
The S3 Prefix used to send the request.
-
Region *string
The AWS region used to dispatch the request.
-
UseArnRegion *bool
When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN’s region when constructing the endpoint instead of the client’s configured region.
-
UseDualStack *bool
When true, use the dual-stack endpoint.
-
UseFIPS *bool
When true, send this request to the FIPS-compliant regional endpoint.
-
UseGlobalEndpoint *bool
Whether the global endpoint should be used, rather then the regional endpoint for us-east-1.
-
UseObjectLambdaEndpoint *bool
Internal parameter to use object lambda endpoint for an operation (eg: WriteGetObjectResponse).
-
UseS3ExpressControlEndpoint *bool
Internal parameter to indicate whether S3Express operation should use control plane, (ex. CreateBucket).
Method Summary collapse
-
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
-
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
Structure Field Details
Accelerate *bool
When true, use S3 Accelerate. NOTE: Not all regions support S3 accelerate.
Defaults to false if no value is provided.
AWS::S3::Accelerate
Bucket *string
The S3 bucket used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 bucket.
Parameter is required.
CopySource *string
The Copy Source used for Copy Object request. This is an optional parameter that will be set automatically for operations that are scoped to Copy Source.
Parameter is required.
DisableAccessPoints *bool
Internal parameter to disable Access Point Buckets
Parameter is required.
DisableMultiRegionAccessPoints *bool
Whether multi-region access points (MRAP) should be disabled.
Defaults to false if no value is provided.
AWS::S3::DisableMultiRegionAccessPoints
DisableS3ExpressSessionAuth *bool
Parameter to indicate whether S3Express session auth should be disabled
Parameter is required.
Endpoint *string
Override the endpoint used to send this request
Parameter is required.
SDK::Endpoint
ForcePathStyle *bool
When true, force a path-style endpoint to be used where the bucket name is part of the path.
Defaults to false if no value is provided.
AWS::S3::ForcePathStyle
Key *string
The S3 Key used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 Key.
Parameter is required.
Prefix *string
The S3 Prefix used to send the request. This is an optional parameter that will be set automatically for operations that are scoped to an S3 Prefix.
Parameter is required.
Region *string
The AWS region used to dispatch the request.
Parameter is required.
AWS::Region
UseArnRegion *bool
When an Access Point ARN is provided and this flag is enabled, the SDK MUST use the ARN’s region when constructing the endpoint instead of the client’s configured region.
Parameter is required.
AWS::S3::UseArnRegion
UseDualStack *bool
When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
Defaults to false if no value is provided.
AWS::UseDualStack
UseFIPS *bool
When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
Defaults to false if no value is provided.
AWS::UseFIPS
UseGlobalEndpoint *bool
Whether the global endpoint should be used, rather then the regional endpoint for us-east-1.
Defaults to false if no value is provided.
AWS::S3::UseGlobalEndpoint
UseObjectLambdaEndpoint *bool
Internal parameter to use object lambda endpoint for an operation (eg: WriteGetObjectResponse)
Parameter is required.
UseS3ExpressControlEndpoint *bool
Internal parameter to indicate whether S3Express operation should use control plane, (ex. CreateBucket)
Parameter is required.
Method Details
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 |
// File 'service/s3/endpoints.go', line 372
|
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 |
// File 'service/s3/endpoints.go', line 402
|