Class: Aws::DataSync::Types::UpdateLocationObjectStorageRequest

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

Overview

Note:

When making an API call, you may pass UpdateLocationObjectStorageRequest data as a hash:

{
  location_arn: "LocationArn", # required
  server_port: 1,
  server_protocol: "HTTPS", # accepts HTTPS, HTTP
  subdirectory: "S3Subdirectory",
  access_key: "ObjectStorageAccessKey",
  secret_key: "ObjectStorageSecretKey",
  agent_arns: ["AgentArn"],
}

Constant Summary collapse

SENSITIVE =
[:secret_key]

Instance Attribute Summary collapse

Instance Attribute Details

#access_keyString

Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

Returns:

  • (String)


3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3786

class UpdateLocationObjectStorageRequest < Struct.new(
  :location_arn,
  :server_port,
  :server_protocol,
  :subdirectory,
  :access_key,
  :secret_key,
  :agent_arns)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#agent_arnsArray<String>

The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.

Returns:

  • (Array<String>)


3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3786

class UpdateLocationObjectStorageRequest < Struct.new(
  :location_arn,
  :server_port,
  :server_protocol,
  :subdirectory,
  :access_key,
  :secret_key,
  :agent_arns)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#location_arnString

The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.

Returns:

  • (String)


3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3786

class UpdateLocationObjectStorageRequest < Struct.new(
  :location_arn,
  :server_port,
  :server_protocol,
  :subdirectory,
  :access_key,
  :secret_key,
  :agent_arns)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#secret_keyString

Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey and SecretKey to provide the user name and password, respectively.

Returns:

  • (String)


3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3786

class UpdateLocationObjectStorageRequest < Struct.new(
  :location_arn,
  :server_port,
  :server_protocol,
  :subdirectory,
  :access_key,
  :secret_key,
  :agent_arns)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#server_portInteger

The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.

Returns:

  • (Integer)


3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3786

class UpdateLocationObjectStorageRequest < Struct.new(
  :location_arn,
  :server_port,
  :server_protocol,
  :subdirectory,
  :access_key,
  :secret_key,
  :agent_arns)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#server_protocolString

The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

Returns:

  • (String)


3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3786

class UpdateLocationObjectStorageRequest < Struct.new(
  :location_arn,
  :server_port,
  :server_protocol,
  :subdirectory,
  :access_key,
  :secret_key,
  :agent_arns)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#subdirectoryString

The subdirectory in the self-managed object storage server that is used to read data from.

Returns:

  • (String)


3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3786

class UpdateLocationObjectStorageRequest < Struct.new(
  :location_arn,
  :server_port,
  :server_protocol,
  :subdirectory,
  :access_key,
  :secret_key,
  :agent_arns)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end