Struct aws_sdk_omics::Client

source ·
pub struct Client { /* private fields */ }
Expand description

Client for Amazon Omics

Client for invoking operations on Amazon Omics. Each operation on Amazon Omics is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

§Constructing a Client

A Config is required to construct a client. For most use cases, the aws-config crate should be used to automatically resolve this config using aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared across multiple different AWS SDK clients. This config resolution process can be customized by calling aws_config::from_env() instead, which returns a ConfigLoader that uses the builder pattern to customize the default config.

In the simplest case, creating a client looks as follows:

let config = aws_config::load_from_env().await;
let client = aws_sdk_omics::Client::new(&config);

Occasionally, SDKs may have additional service-specific values that can be set on the Config that is absent from SdkConfig, or slightly different settings for a specific client may be desired. The Config struct implements From<&SdkConfig>, so setting these specific settings can be done as follows:

let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_omics::config::Builder::from(&sdk_config)
    .some_service_specific_setting("value")
    .build();

See the aws-config docs and Config for more information on customizing configuration.

Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.

Implementations§

source§

impl Client

source

pub fn abort_multipart_read_set_upload( &self ) -> AbortMultipartReadSetUploadFluentBuilder

Constructs a fluent builder for the AbortMultipartReadSetUpload operation.

source§

impl Client

source

pub fn accept_share(&self) -> AcceptShareFluentBuilder

Constructs a fluent builder for the AcceptShare operation.

source§

impl Client

source

pub fn batch_delete_read_set(&self) -> BatchDeleteReadSetFluentBuilder

Constructs a fluent builder for the BatchDeleteReadSet operation.

source§

impl Client

source

pub fn cancel_annotation_import_job( &self ) -> CancelAnnotationImportJobFluentBuilder

Constructs a fluent builder for the CancelAnnotationImportJob operation.

source§

impl Client

source

pub fn cancel_run(&self) -> CancelRunFluentBuilder

Constructs a fluent builder for the CancelRun operation.

source§

impl Client

source

pub fn cancel_variant_import_job(&self) -> CancelVariantImportJobFluentBuilder

Constructs a fluent builder for the CancelVariantImportJob operation.

source§

impl Client

source

pub fn complete_multipart_read_set_upload( &self ) -> CompleteMultipartReadSetUploadFluentBuilder

Constructs a fluent builder for the CompleteMultipartReadSetUpload operation.

source§

impl Client

source

pub fn create_annotation_store(&self) -> CreateAnnotationStoreFluentBuilder

Constructs a fluent builder for the CreateAnnotationStore operation.

source§

impl Client

source

pub fn create_annotation_store_version( &self ) -> CreateAnnotationStoreVersionFluentBuilder

Constructs a fluent builder for the CreateAnnotationStoreVersion operation.

source§

impl Client

source

pub fn create_multipart_read_set_upload( &self ) -> CreateMultipartReadSetUploadFluentBuilder

Constructs a fluent builder for the CreateMultipartReadSetUpload operation.

source§

impl Client

source

pub fn create_reference_store(&self) -> CreateReferenceStoreFluentBuilder

Constructs a fluent builder for the CreateReferenceStore operation.

source§

impl Client

source

pub fn create_run_group(&self) -> CreateRunGroupFluentBuilder

Constructs a fluent builder for the CreateRunGroup operation.

source§

impl Client

source

pub fn create_sequence_store(&self) -> CreateSequenceStoreFluentBuilder

Constructs a fluent builder for the CreateSequenceStore operation.

source§

impl Client

source

pub fn create_share(&self) -> CreateShareFluentBuilder

Constructs a fluent builder for the CreateShare operation.

source§

impl Client

source

pub fn create_variant_store(&self) -> CreateVariantStoreFluentBuilder

Constructs a fluent builder for the CreateVariantStore operation.

source§

impl Client

source

pub fn create_workflow(&self) -> CreateWorkflowFluentBuilder

Constructs a fluent builder for the CreateWorkflow operation.

source§

impl Client

source

pub fn delete_annotation_store(&self) -> DeleteAnnotationStoreFluentBuilder

Constructs a fluent builder for the DeleteAnnotationStore operation.

source§

impl Client

source

pub fn delete_annotation_store_versions( &self ) -> DeleteAnnotationStoreVersionsFluentBuilder

Constructs a fluent builder for the DeleteAnnotationStoreVersions operation.

source§

impl Client

source

pub fn delete_reference(&self) -> DeleteReferenceFluentBuilder

Constructs a fluent builder for the DeleteReference operation.

source§

impl Client

source

pub fn delete_reference_store(&self) -> DeleteReferenceStoreFluentBuilder

Constructs a fluent builder for the DeleteReferenceStore operation.

source§

impl Client

source

pub fn delete_run(&self) -> DeleteRunFluentBuilder

Constructs a fluent builder for the DeleteRun operation.

source§

impl Client

source

pub fn delete_run_group(&self) -> DeleteRunGroupFluentBuilder

Constructs a fluent builder for the DeleteRunGroup operation.

source§

impl Client

source

pub fn delete_sequence_store(&self) -> DeleteSequenceStoreFluentBuilder

Constructs a fluent builder for the DeleteSequenceStore operation.

source§

impl Client

source

pub fn delete_share(&self) -> DeleteShareFluentBuilder

Constructs a fluent builder for the DeleteShare operation.

source§

impl Client

source

pub fn delete_variant_store(&self) -> DeleteVariantStoreFluentBuilder

Constructs a fluent builder for the DeleteVariantStore operation.

source§

impl Client

source

pub fn delete_workflow(&self) -> DeleteWorkflowFluentBuilder

Constructs a fluent builder for the DeleteWorkflow operation.

source§

impl Client

source

pub fn get_annotation_import_job(&self) -> GetAnnotationImportJobFluentBuilder

Constructs a fluent builder for the GetAnnotationImportJob operation.

source§

impl Client

source

pub fn get_annotation_store(&self) -> GetAnnotationStoreFluentBuilder

Constructs a fluent builder for the GetAnnotationStore operation.

source§

impl Client

source

pub fn get_annotation_store_version( &self ) -> GetAnnotationStoreVersionFluentBuilder

Constructs a fluent builder for the GetAnnotationStoreVersion operation.

source§

impl Client

source

pub fn get_read_set(&self) -> GetReadSetFluentBuilder

Constructs a fluent builder for the GetReadSet operation.

source§

impl Client

source

pub fn get_read_set_activation_job( &self ) -> GetReadSetActivationJobFluentBuilder

Constructs a fluent builder for the GetReadSetActivationJob operation.

source§

impl Client

source

pub fn get_read_set_export_job(&self) -> GetReadSetExportJobFluentBuilder

Constructs a fluent builder for the GetReadSetExportJob operation.

source§

impl Client

source

pub fn get_read_set_import_job(&self) -> GetReadSetImportJobFluentBuilder

Constructs a fluent builder for the GetReadSetImportJob operation.

source§

impl Client

source

pub fn get_read_set_metadata(&self) -> GetReadSetMetadataFluentBuilder

Constructs a fluent builder for the GetReadSetMetadata operation.

source§

impl Client

source

pub fn get_reference(&self) -> GetReferenceFluentBuilder

Constructs a fluent builder for the GetReference operation.

source§

impl Client

source

pub fn get_reference_import_job(&self) -> GetReferenceImportJobFluentBuilder

Constructs a fluent builder for the GetReferenceImportJob operation.

source§

impl Client

source

pub fn get_reference_metadata(&self) -> GetReferenceMetadataFluentBuilder

Constructs a fluent builder for the GetReferenceMetadata operation.

source§

impl Client

source

pub fn get_reference_store(&self) -> GetReferenceStoreFluentBuilder

Constructs a fluent builder for the GetReferenceStore operation.

source§

impl Client

source

pub fn get_run(&self) -> GetRunFluentBuilder

Constructs a fluent builder for the GetRun operation.

source§

impl Client

source

pub fn get_run_group(&self) -> GetRunGroupFluentBuilder

Constructs a fluent builder for the GetRunGroup operation.

source§

impl Client

source

pub fn get_run_task(&self) -> GetRunTaskFluentBuilder

Constructs a fluent builder for the GetRunTask operation.

source§

impl Client

source

pub fn get_sequence_store(&self) -> GetSequenceStoreFluentBuilder

Constructs a fluent builder for the GetSequenceStore operation.

source§

impl Client

source

pub fn get_share(&self) -> GetShareFluentBuilder

Constructs a fluent builder for the GetShare operation.

source§

impl Client

source

pub fn get_variant_import_job(&self) -> GetVariantImportJobFluentBuilder

Constructs a fluent builder for the GetVariantImportJob operation.

source§

impl Client

source

pub fn get_variant_store(&self) -> GetVariantStoreFluentBuilder

Constructs a fluent builder for the GetVariantStore operation.

source§

impl Client

source

pub fn get_workflow(&self) -> GetWorkflowFluentBuilder

Constructs a fluent builder for the GetWorkflow operation.

source§

impl Client

source

pub fn list_annotation_import_jobs( &self ) -> ListAnnotationImportJobsFluentBuilder

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

source§

impl Client

source

pub fn list_annotation_store_versions( &self ) -> ListAnnotationStoreVersionsFluentBuilder

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

source§

impl Client

source

pub fn list_annotation_stores(&self) -> ListAnnotationStoresFluentBuilder

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

source§

impl Client

source

pub fn list_multipart_read_set_uploads( &self ) -> ListMultipartReadSetUploadsFluentBuilder

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

source§

impl Client

source

pub fn list_read_set_activation_jobs( &self ) -> ListReadSetActivationJobsFluentBuilder

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

source§

impl Client

source

pub fn list_read_set_export_jobs(&self) -> ListReadSetExportJobsFluentBuilder

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

source§

impl Client

source

pub fn list_read_set_import_jobs(&self) -> ListReadSetImportJobsFluentBuilder

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

source§

impl Client

source

pub fn list_read_set_upload_parts(&self) -> ListReadSetUploadPartsFluentBuilder

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

source§

impl Client

source

pub fn list_read_sets(&self) -> ListReadSetsFluentBuilder

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

source§

impl Client

source

pub fn list_reference_import_jobs(&self) -> ListReferenceImportJobsFluentBuilder

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

source§

impl Client

source

pub fn list_reference_stores(&self) -> ListReferenceStoresFluentBuilder

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

source§

impl Client

source

pub fn list_references(&self) -> ListReferencesFluentBuilder

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

source§

impl Client

source

pub fn list_run_groups(&self) -> ListRunGroupsFluentBuilder

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

source§

impl Client

source

pub fn list_run_tasks(&self) -> ListRunTasksFluentBuilder

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

source§

impl Client

source

pub fn list_runs(&self) -> ListRunsFluentBuilder

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

source§

impl Client

source

pub fn list_sequence_stores(&self) -> ListSequenceStoresFluentBuilder

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

source§

impl Client

source

pub fn list_shares(&self) -> ListSharesFluentBuilder

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

source§

impl Client

source

pub fn list_tags_for_resource(&self) -> ListTagsForResourceFluentBuilder

Constructs a fluent builder for the ListTagsForResource operation.

source§

impl Client

source

pub fn list_variant_import_jobs(&self) -> ListVariantImportJobsFluentBuilder

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

source§

impl Client

source

pub fn list_variant_stores(&self) -> ListVariantStoresFluentBuilder

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

source§

impl Client

source

pub fn list_workflows(&self) -> ListWorkflowsFluentBuilder

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

source§

impl Client

source

pub fn start_annotation_import_job( &self ) -> StartAnnotationImportJobFluentBuilder

Constructs a fluent builder for the StartAnnotationImportJob operation.

source§

impl Client

source

pub fn start_read_set_activation_job( &self ) -> StartReadSetActivationJobFluentBuilder

Constructs a fluent builder for the StartReadSetActivationJob operation.

source§

impl Client

source

pub fn start_read_set_export_job(&self) -> StartReadSetExportJobFluentBuilder

Constructs a fluent builder for the StartReadSetExportJob operation.

source§

impl Client

source

pub fn start_read_set_import_job(&self) -> StartReadSetImportJobFluentBuilder

Constructs a fluent builder for the StartReadSetImportJob operation.

source§

impl Client

source

pub fn start_reference_import_job(&self) -> StartReferenceImportJobFluentBuilder

Constructs a fluent builder for the StartReferenceImportJob operation.

source§

impl Client

source

pub fn start_run(&self) -> StartRunFluentBuilder

Constructs a fluent builder for the StartRun operation.

source§

impl Client

source

pub fn start_variant_import_job(&self) -> StartVariantImportJobFluentBuilder

Constructs a fluent builder for the StartVariantImportJob operation.

source§

impl Client

source

pub fn tag_resource(&self) -> TagResourceFluentBuilder

Constructs a fluent builder for the TagResource operation.

source§

impl Client

source

pub fn untag_resource(&self) -> UntagResourceFluentBuilder

Constructs a fluent builder for the UntagResource operation.

source§

impl Client

source

pub fn update_annotation_store(&self) -> UpdateAnnotationStoreFluentBuilder

Constructs a fluent builder for the UpdateAnnotationStore operation.

source§

impl Client

source

pub fn update_annotation_store_version( &self ) -> UpdateAnnotationStoreVersionFluentBuilder

Constructs a fluent builder for the UpdateAnnotationStoreVersion operation.

source§

impl Client

source

pub fn update_run_group(&self) -> UpdateRunGroupFluentBuilder

Constructs a fluent builder for the UpdateRunGroup operation.

source§

impl Client

source

pub fn update_variant_store(&self) -> UpdateVariantStoreFluentBuilder

Constructs a fluent builder for the UpdateVariantStore operation.

source§

impl Client

source

pub fn update_workflow(&self) -> UpdateWorkflowFluentBuilder

Constructs a fluent builder for the UpdateWorkflow operation.

source§

impl Client

source

pub fn upload_read_set_part(&self) -> UploadReadSetPartFluentBuilder

Constructs a fluent builder for the UploadReadSetPart operation.

source§

impl Client

source

pub fn from_conf(conf: Config) -> Self

Creates a new client from the service Config.

§Panics

This method will panic in the following cases:

  • Retries or timeouts are enabled without a sleep_impl configured.
  • Identity caching is enabled without a sleep_impl and time_source configured.
  • No behavior_version is provided.

The panic message for each of these will have instructions on how to resolve them.

source

pub fn config(&self) -> &Config

Returns the client’s configuration.

source§

impl Client

source

pub fn new(sdk_config: &SdkConfig) -> Self

Creates a new client from an SDK Config.

§Panics
  • This method will panic if the sdk_config is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the sdk_config is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.
  • This method will panic if no BehaviorVersion is provided. If you experience this panic, set behavior_version on the Config or enable the behavior-version-latest Cargo feature.

Trait Implementations§

source§

impl Clone for Client

source§

fn clone(&self) -> Client

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Client

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl !RefUnwindSafe for Client

§

impl Send for Client

§

impl Sync for Client

§

impl Unpin for Client

§

impl !UnwindSafe for Client

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more