Struct aws_sdk_datasync::client::Client
source ·
[−]pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Client for AWS DataSync
Client for invoking operations on AWS DataSync. Each operation on AWS DataSync is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_datasync::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_datasync::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_datasync::Client::from_conf(config);Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the CancelTaskExecution operation.
See CancelTaskExecution for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateAgent operation.
See CreateAgent for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLocationEfs operation.
See CreateLocationEfs for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLocationFsxLustre operation.
See CreateLocationFsxLustre for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLocationFsxWindows operation.
See CreateLocationFsxWindows for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLocationHdfs operation.
See CreateLocationHdfs for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLocationNfs operation.
See CreateLocationNfs for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLocationObjectStorage operation.
See CreateLocationObjectStorage for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLocationS3 operation.
See CreateLocationS3 for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLocationSmb operation.
See CreateLocationSmb for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateTask operation.
See CreateTask for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteAgent operation.
See DeleteAgent for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteLocation operation.
See DeleteLocation for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteTask operation.
See DeleteTask for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeAgent operation.
See DescribeAgent for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLocationEfs operation.
See DescribeLocationEfs for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLocationFsxLustre operation.
See DescribeLocationFsxLustre for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLocationFsxWindows operation.
See DescribeLocationFsxWindows for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLocationHdfs operation.
See DescribeLocationHdfs for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLocationNfs operation.
See DescribeLocationNfs for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLocationObjectStorage operation.
See DescribeLocationObjectStorage for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLocationS3 operation.
See DescribeLocationS3 for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLocationSmb operation.
See DescribeLocationSmb for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeTask operation.
See DescribeTask for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeTaskExecution operation.
See DescribeTaskExecution for more information about the
operation and its arguments.
Constructs a fluent builder for the ListAgents operation.
See ListAgents for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator().
Constructs a fluent builder for the ListLocations operation.
See ListLocations for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator().
Constructs a fluent builder for the ListTagsForResource operation.
See ListTagsForResource for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator().
Constructs a fluent builder for the ListTaskExecutions operation.
See ListTaskExecutions for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator().
Constructs a fluent builder for the ListTasks operation.
See ListTasks for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator().
Constructs a fluent builder for the StartTaskExecution operation.
See StartTaskExecution for more information about the
operation and its arguments.
Constructs a fluent builder for the TagResource operation.
See TagResource for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagResource operation.
See UntagResource for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateAgent operation.
See UpdateAgent for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateLocationHdfs operation.
See UpdateLocationHdfs for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateLocationNfs operation.
See UpdateLocationNfs for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateLocationObjectStorage operation.
See UpdateLocationObjectStorage for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateLocationSmb operation.
See UpdateLocationSmb for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateTask operation.
See UpdateTask for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateTaskExecution operation.
See UpdateTaskExecution for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
