Class: Aws::DataSync::Types::UpdateLocationS3Request

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-datasync/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#location_arnString

Specifies the Amazon Resource Name (ARN) of the Amazon S3 transfer location that you’re updating.

Returns:

  • (String)


6770
6771
6772
6773
6774
6775
6776
6777
# File 'lib/aws-sdk-datasync/types.rb', line 6770

class UpdateLocationS3Request < Struct.new(
  :location_arn,
  :subdirectory,
  :s3_storage_class,
  :s3_config)
  SENSITIVE = []
  include Aws::Structure
end

#s3_configTypes::S3Config

Specifies the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.

For more information, see [Providing DataSync access to S3 buckets].

[1]: docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-access

Returns:



6770
6771
6772
6773
6774
6775
6776
6777
# File 'lib/aws-sdk-datasync/types.rb', line 6770

class UpdateLocationS3Request < Struct.new(
  :location_arn,
  :subdirectory,
  :s3_storage_class,
  :s3_config)
  SENSITIVE = []
  include Aws::Structure
end

#s3_storage_classString

Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.

For buckets in Amazon Web Services Regions, the storage class defaults to ‘STANDARD`. For buckets on Outposts, the storage class defaults to `OUTPOSTS`.

For more information, see [Storage class considerations with Amazon S3 transfers].

[1]: docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes

Returns:

  • (String)


6770
6771
6772
6773
6774
6775
6776
6777
# File 'lib/aws-sdk-datasync/types.rb', line 6770

class UpdateLocationS3Request < Struct.new(
  :location_arn,
  :subdirectory,
  :s3_storage_class,
  :s3_config)
  SENSITIVE = []
  include Aws::Structure
end

#subdirectoryString

Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination location).

<note markdown=“1”> DataSync can’t transfer objects with a prefix that begins with a slash (‘/`) or includes `//`, `/./`, or `/../` patterns. For example:

* `/photos`
  • ‘photos//2006/January`

  • ‘photos/./2006/February`

  • ‘photos/../2006/March`

</note>

Returns:

  • (String)


6770
6771
6772
6773
6774
6775
6776
6777
# File 'lib/aws-sdk-datasync/types.rb', line 6770

class UpdateLocationS3Request < Struct.new(
  :location_arn,
  :subdirectory,
  :s3_storage_class,
  :s3_config)
  SENSITIVE = []
  include Aws::Structure
end