Class: Aws::S3::Types::PermanentRedirect

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/customizations/types/permanent_redirect.rb

Overview

This error is not modeled.

The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

Returns:

  • (String)


20
21
22
23
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/customizations/types/permanent_redirect.rb', line 20

class PermanentRedirect < Struct.new(:endpoint, :bucket, :region, :message)
  SENSITIVE = []
  include Aws::Structure
end

#endpointString

Returns:

  • (String)


20
21
22
23
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/customizations/types/permanent_redirect.rb', line 20

class PermanentRedirect < Struct.new(:endpoint, :bucket, :region, :message)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Returns:

  • (String)


20
21
22
23
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/customizations/types/permanent_redirect.rb', line 20

class PermanentRedirect < Struct.new(:endpoint, :bucket, :region, :message)
  SENSITIVE = []
  include Aws::Structure
end

#regionObject

Returns the value of attribute region

Returns:

  • (Object)

    the current value of region



20
21
22
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/customizations/types/permanent_redirect.rb', line 20

def region
  @region
end