Struct aws_sdk_ecs::client::Client [−][src]
pub struct Client<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Client for Amazon EC2 Container Service
Client for invoking operations on Amazon EC2 Container Service. Each operation on Amazon EC2 Container Service 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_ecs::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operationname>().
.<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_ecs::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_ecs::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 CreateCapacityProvider
operation.
See CreateCapacityProvider
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateCluster
operation.
See CreateCluster
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateService
operation.
See CreateService
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateTaskSet
operation.
See CreateTaskSet
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteAccountSetting
operation.
See DeleteAccountSetting
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteAttributes
operation.
See DeleteAttributes
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteCapacityProvider
operation.
See DeleteCapacityProvider
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteCluster
operation.
See DeleteCluster
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteService
operation.
See DeleteService
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteTaskSet
operation.
See DeleteTaskSet
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeregisterContainerInstance
operation.
See DeregisterContainerInstance
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeregisterTaskDefinition
operation.
See DeregisterTaskDefinition
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeCapacityProviders
operation.
See DescribeCapacityProviders
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeClusters
operation.
See DescribeClusters
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeContainerInstances
operation.
See DescribeContainerInstances
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeServices
operation.
See DescribeServices
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeTaskDefinition
operation.
See DescribeTaskDefinition
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeTasks
operation.
See DescribeTasks
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeTaskSets
operation.
See DescribeTaskSets
for more information about the
operation and its arguments.
Constructs a fluent builder for the DiscoverPollEndpoint
operation.
See DiscoverPollEndpoint
for more information about the
operation and its arguments.
Constructs a fluent builder for the ExecuteCommand
operation.
See ExecuteCommand
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListAccountSettings
operation.
See ListAccountSettings
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListAttributes
operation.
See ListAttributes
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListClusters
operation.
See ListClusters
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListContainerInstances
operation.
See ListContainerInstances
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListServices
operation.
See ListServices
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListTagsForResource
operation.
See ListTagsForResource
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListTaskDefinitionFamilies
operation.
See ListTaskDefinitionFamilies
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListTaskDefinitions
operation.
See ListTaskDefinitions
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListTasks
operation.
See ListTasks
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutAccountSetting
operation.
See PutAccountSetting
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutAccountSettingDefault
operation.
See PutAccountSettingDefault
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutAttributes
operation.
See PutAttributes
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutClusterCapacityProviders
operation.
See PutClusterCapacityProviders
for more information about the
operation and its arguments.
Constructs a fluent builder for the RegisterContainerInstance
operation.
See RegisterContainerInstance
for more information about the
operation and its arguments.
Constructs a fluent builder for the RegisterTaskDefinition
operation.
See RegisterTaskDefinition
for more information about the
operation and its arguments.
Constructs a fluent builder for the RunTask
operation.
See RunTask
for more information about the
operation and its arguments.
Constructs a fluent builder for the StartTask
operation.
See StartTask
for more information about the
operation and its arguments.
Constructs a fluent builder for the StopTask
operation.
See StopTask
for more information about the
operation and its arguments.
Constructs a fluent builder for the SubmitAttachmentStateChanges
operation.
See SubmitAttachmentStateChanges
for more information about the
operation and its arguments.
Constructs a fluent builder for the SubmitContainerStateChange
operation.
See SubmitContainerStateChange
for more information about the
operation and its arguments.
Constructs a fluent builder for the SubmitTaskStateChange
operation.
See SubmitTaskStateChange
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 UpdateCapacityProvider
operation.
See UpdateCapacityProvider
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateCluster
operation.
See UpdateCluster
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateClusterSettings
operation.
See UpdateClusterSettings
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateContainerAgent
operation.
See UpdateContainerAgent
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateContainerInstancesState
operation.
See UpdateContainerInstancesState
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateService
operation.
See UpdateService
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateServicePrimaryTaskSet
operation.
See UpdateServicePrimaryTaskSet
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateTaskSet
operation.
See UpdateTaskSet
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 = AwsMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, 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