pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description

Client for AWS Data Pipeline

Client for invoking operations on AWS Data Pipeline. Each operation on AWS Data Pipeline 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_datapipeline::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_datapipeline::config::Builder::from(&shared_config)
        .retry_config(RetryConfig::disabled())
        .build();
    let client = aws_sdk_datapipeline::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the ActivatePipeline operation.

Constructs a fluent builder for the AddTags operation.

Constructs a fluent builder for the CreatePipeline operation.

  • The fluent builder is configurable:
    • name(impl Into<String>) / set_name(Option<String>):

      The name for the pipeline. You can use the same name for multiple pipelines associated with your AWS account, because AWS Data Pipeline assigns each pipeline a unique pipeline identifier.

    • unique_id(impl Into<String>) / set_unique_id(Option<String>):

      A unique identifier. This identifier is not the same as the pipeline identifier assigned by AWS Data Pipeline. You are responsible for defining the format and ensuring the uniqueness of this identifier. You use this parameter to ensure idempotency during repeated calls to CreatePipeline. For example, if the first call to CreatePipeline does not succeed, you can pass in the same unique identifier and pipeline name combination on a subsequent call to CreatePipeline. CreatePipeline ensures that if a pipeline already exists with the same name and unique identifier, a new pipeline is not created. Instead, you’ll receive the pipeline identifier from the previous attempt. The uniqueness of the name and unique identifier combination is scoped to the AWS account or IAM user credentials.

    • description(impl Into<String>) / set_description(Option<String>):

      The description for the pipeline.

    • tags(Vec<Tag>) / set_tags(Option<Vec<Tag>>):

      A list of tags to associate with the pipeline at creation. Tags let you control access to pipelines. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide.

  • On success, responds with CreatePipelineOutput with field(s):
  • On failure, responds with SdkError<CreatePipelineError>

Constructs a fluent builder for the DeactivatePipeline operation.

Constructs a fluent builder for the DeletePipeline operation.

Constructs a fluent builder for the DescribeObjects operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribePipelines operation.

Constructs a fluent builder for the EvaluateExpression operation.

Constructs a fluent builder for the GetPipelineDefinition operation.

Constructs a fluent builder for the ListPipelines operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • marker(impl Into<String>) / set_marker(Option<String>):

      The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call ListPipelines with the marker value from the previous call to retrieve the next set of results.

  • On success, responds with ListPipelinesOutput with field(s):
    • pipeline_id_list(Option<Vec<PipelineIdName>>):

      The pipeline identifiers. If you require additional information about the pipelines, you can use these identifiers to call DescribePipelines and GetPipelineDefinition.

    • marker(Option<String>):

      The starting point for the next page of results. To view the next page of results, call ListPipelinesOutput again with this marker value. If the value is null, there are no more results.

    • has_more_results(bool):

      Indicates whether there are more results that can be obtained by a subsequent call.

  • On failure, responds with SdkError<ListPipelinesError>

Constructs a fluent builder for the PollForTask operation.

  • The fluent builder is configurable:
  • On success, responds with PollForTaskOutput with field(s):
    • task_object(Option<TaskObject>):

      The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object is taskId, which contains an identifier for the task being assigned. The calling task runner uses taskId in subsequent calls to ReportTaskProgress and SetTaskStatus.

  • On failure, responds with SdkError<PollForTaskError>

Constructs a fluent builder for the PutPipelineDefinition operation.

Constructs a fluent builder for the QueryObjects operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the RemoveTags operation.

Constructs a fluent builder for the ReportTaskProgress operation.

Constructs a fluent builder for the ReportTaskRunnerHeartbeat operation.

Constructs a fluent builder for the SetStatus operation.

Constructs a fluent builder for the SetTaskStatus operation.

Constructs a fluent builder for the ValidatePipelineDefinition operation.

Creates a client with the given service config and connector override.

Creates a new client from a shared config.

Creates a new client from the service Config.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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