Paws::Datasync::CreateLocationObjectStorage - Arguments for method CreateLocationObjectStorage on Paws::Datasync
This class represents the parameters used for calling the method CreateLocationObjectStorage on the AWS DataSync service. Use the attributes of this class as arguments to method CreateLocationObjectStorage.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLocationObjectStorage.
my $datasync = Paws->service('Datasync'); my $CreateLocationObjectStorageResponse = $datasync->CreateLocationObjectStorage( AgentArns => [ 'MyAgentArn', ... # max: 128 ], BucketName => 'MyObjectStorageBucketName', ServerHostname => 'MyServerHostname', AccessKey => 'MyObjectStorageAccessKey', # OPTIONAL SecretKey => 'MyObjectStorageSecretKey', # OPTIONAL ServerPort => 1, # OPTIONAL ServerProtocol => 'HTTPS', # OPTIONAL Subdirectory => 'MyS3Subdirectory', # OPTIONAL Tags => [ { Key => 'MyTagKey', # min: 1, max: 256 Value => 'MyTagValue', # min: 1, max: 256; OPTIONAL }, ... ], # OPTIONAL ); # Results: my $LocationArn = $CreateLocationObjectStorageResponse->LocationArn; # Returns a L<Paws::Datasync::CreateLocationObjectStorageResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/datasync/CreateLocationObjectStorage
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.
AccessKey
SecretKey
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
The bucket on the self-managed object storage server that is used to read data from.
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.
The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.
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.
The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.
Valid values are: "HTTPS", "HTTP"
"HTTPS"
"HTTP"
The subdirectory in the self-managed object storage server that is used to read data from.
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
This class forms part of Paws, documenting arguments for method CreateLocationObjectStorage in Paws::Datasync
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.