Struct aws_sdk_swf::client::Client [−][src]
pub struct Client<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Client for Amazon Simple Workflow Service
Client for invoking operations on Amazon Simple Workflow Service. Each operation on Amazon Simple Workflow 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_swf::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_swf::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_swf::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 CountClosedWorkflowExecutions
operation.
See CountClosedWorkflowExecutions
for more information about the
operation and its arguments.
Constructs a fluent builder for the CountOpenWorkflowExecutions
operation.
See CountOpenWorkflowExecutions
for more information about the
operation and its arguments.
Constructs a fluent builder for the CountPendingActivityTasks
operation.
See CountPendingActivityTasks
for more information about the
operation and its arguments.
Constructs a fluent builder for the CountPendingDecisionTasks
operation.
See CountPendingDecisionTasks
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeprecateActivityType
operation.
See DeprecateActivityType
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeprecateDomain
operation.
See DeprecateDomain
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeprecateWorkflowType
operation.
See DeprecateWorkflowType
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeActivityType
operation.
See DescribeActivityType
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeDomain
operation.
See DescribeDomain
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeWorkflowExecution
operation.
See DescribeWorkflowExecution
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeWorkflowType
operation.
See DescribeWorkflowType
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetWorkflowExecutionHistory
operation.
See GetWorkflowExecutionHistory
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListActivityTypes
operation.
See ListActivityTypes
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListClosedWorkflowExecutions
operation.
See ListClosedWorkflowExecutions
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDomains
operation.
See ListDomains
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListOpenWorkflowExecutions
operation.
See ListOpenWorkflowExecutions
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 ListWorkflowTypes
operation.
See ListWorkflowTypes
for more information about the
operation and its arguments.
Constructs a fluent builder for the PollForActivityTask
operation.
See PollForActivityTask
for more information about the
operation and its arguments.
Constructs a fluent builder for the PollForDecisionTask
operation.
See PollForDecisionTask
for more information about the
operation and its arguments.
Constructs a fluent builder for the RecordActivityTaskHeartbeat
operation.
See RecordActivityTaskHeartbeat
for more information about the
operation and its arguments.
Constructs a fluent builder for the RegisterActivityType
operation.
See RegisterActivityType
for more information about the
operation and its arguments.
Constructs a fluent builder for the RegisterDomain
operation.
See RegisterDomain
for more information about the
operation and its arguments.
Constructs a fluent builder for the RegisterWorkflowType
operation.
See RegisterWorkflowType
for more information about the
operation and its arguments.
Constructs a fluent builder for the RequestCancelWorkflowExecution
operation.
See RequestCancelWorkflowExecution
for more information about the
operation and its arguments.
Constructs a fluent builder for the RespondActivityTaskCanceled
operation.
See RespondActivityTaskCanceled
for more information about the
operation and its arguments.
Constructs a fluent builder for the RespondActivityTaskCompleted
operation.
See RespondActivityTaskCompleted
for more information about the
operation and its arguments.
Constructs a fluent builder for the RespondActivityTaskFailed
operation.
See RespondActivityTaskFailed
for more information about the
operation and its arguments.
Constructs a fluent builder for the RespondDecisionTaskCompleted
operation.
See RespondDecisionTaskCompleted
for more information about the
operation and its arguments.
Constructs a fluent builder for the SignalWorkflowExecution
operation.
See SignalWorkflowExecution
for more information about the
operation and its arguments.
Constructs a fluent builder for the StartWorkflowExecution
operation.
See StartWorkflowExecution
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 TerminateWorkflowExecution
operation.
See TerminateWorkflowExecution
for more information about the
operation and its arguments.
Constructs a fluent builder for the UndeprecateActivityType
operation.
See UndeprecateActivityType
for more information about the
operation and its arguments.
Constructs a fluent builder for the UndeprecateDomain
operation.
See UndeprecateDomain
for more information about the
operation and its arguments.
Constructs a fluent builder for the UndeprecateWorkflowType
operation.
See UndeprecateWorkflowType
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.
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