Struct: s3.ErrorDocument
Overview
The error information.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Key *string
The object key name to use when a 4XX class error occurs.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetKey(string) *ErrorDocument
operation
SetKey sets the Key field’s value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
Key *string
`min:"1" type:"string" required:"true"`
The object key name to use when a 4XX class error occurs.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints (docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).
Key is a required field
_ struct{}
`type:"structure"`
Method Details
func (s ErrorDocument) GoString() string
GoString returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
11923 11924 11925 |
// File 'service/s3/api.go', line 11923
|
func (s *ErrorDocument) SetKey(v string) *ErrorDocument
SetKey sets the Key field’s value.
11944 11945 11946 11947 |
// File 'service/s3/api.go', line 11944
|
func (s ErrorDocument) String() string
String returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
11914 11915 11916 |
// File 'service/s3/api.go', line 11914
|
func (s *ErrorDocument) Validate() error
Validate inspects the fields of the type to determine if they are valid.
11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 |
// File 'service/s3/api.go', line 11928
|