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 Builder
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.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AbortMultipartReadSetUpload
operation has
a Client::abort_multipart_read_set_upload
, function which returns a builder for that operation.
The fluent builder ultimately has a send()
function that returns an async future that
returns a result, as illustrated below:
let result = client.abort_multipart_read_set_upload()
.sequence_store_id("example")
.send()
.await;
The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize
module for more
information.
§Waiters
This client provides wait_until
methods behind the Waiters
trait.
To use them, simply import the trait, and then call one of the wait_until
methods. This will
return a waiter fluent builder that takes various parameters, which are documented on the builder
type. Once parameters have been provided, the wait
method can be called to initiate waiting.
For example, if there was a wait_until_thing
method, it could look like:
let result = client.wait_until_thing()
.thing_id("someId")
.wait(Duration::from_secs(120))
.await;
Implementations§
Source§impl Client
impl Client
Sourcepub fn abort_multipart_read_set_upload(
&self,
) -> AbortMultipartReadSetUploadFluentBuilder
pub fn abort_multipart_read_set_upload( &self, ) -> AbortMultipartReadSetUploadFluentBuilder
Constructs a fluent builder for the AbortMultipartReadSetUpload
operation.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe sequence store ID for the store involved in the multipart upload.
upload_id(impl Into<String>)
/set_upload_id(Option<String>)
:
required: trueThe ID for the multipart upload.
- On success, responds with
AbortMultipartReadSetUploadOutput
- On failure, responds with
SdkError<AbortMultipartReadSetUploadError>
Source§impl Client
impl Client
Constructs a fluent builder for the AcceptShare
operation.
- The fluent builder is configurable:
share_id(impl Into<String>)
/set_share_id(Option<String>)
:
required: trueThe ID of the resource share.
- On success, responds with
AcceptShareOutput
with field(s):status(Option<ShareStatus>)
:The status of the resource share.
- On failure, responds with
SdkError<AcceptShareError>
Source§impl Client
impl Client
Sourcepub fn batch_delete_read_set(&self) -> BatchDeleteReadSetFluentBuilder
pub fn batch_delete_read_set(&self) -> BatchDeleteReadSetFluentBuilder
Constructs a fluent builder for the BatchDeleteReadSet
operation.
- The fluent builder is configurable:
ids(impl Into<String>)
/set_ids(Option<Vec::<String>>)
:
required: trueThe read sets’ IDs.
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe read sets’ sequence store ID.
- On success, responds with
BatchDeleteReadSetOutput
with field(s):errors(Option<Vec::<ReadSetBatchError>>)
:Errors returned by individual delete operations.
- On failure, responds with
SdkError<BatchDeleteReadSetError>
Source§impl Client
impl Client
Sourcepub fn cancel_annotation_import_job(
&self,
) -> CancelAnnotationImportJobFluentBuilder
pub fn cancel_annotation_import_job( &self, ) -> CancelAnnotationImportJobFluentBuilder
Constructs a fluent builder for the CancelAnnotationImportJob
operation.
- The fluent builder is configurable:
job_id(impl Into<String>)
/set_job_id(Option<String>)
:
required: trueThe job’s ID.
- On success, responds with
CancelAnnotationImportJobOutput
- On failure, responds with
SdkError<CancelAnnotationImportJobError>
Source§impl Client
impl Client
Sourcepub fn cancel_run(&self) -> CancelRunFluentBuilder
pub fn cancel_run(&self) -> CancelRunFluentBuilder
Constructs a fluent builder for the CancelRun
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe run’s ID.
- On success, responds with
CancelRunOutput
- On failure, responds with
SdkError<CancelRunError>
Source§impl Client
impl Client
Sourcepub fn cancel_variant_import_job(&self) -> CancelVariantImportJobFluentBuilder
pub fn cancel_variant_import_job(&self) -> CancelVariantImportJobFluentBuilder
Constructs a fluent builder for the CancelVariantImportJob
operation.
- The fluent builder is configurable:
job_id(impl Into<String>)
/set_job_id(Option<String>)
:
required: trueThe job’s ID.
- On success, responds with
CancelVariantImportJobOutput
- On failure, responds with
SdkError<CancelVariantImportJobError>
Source§impl Client
impl Client
Sourcepub fn complete_multipart_read_set_upload(
&self,
) -> CompleteMultipartReadSetUploadFluentBuilder
pub fn complete_multipart_read_set_upload( &self, ) -> CompleteMultipartReadSetUploadFluentBuilder
Constructs a fluent builder for the CompleteMultipartReadSetUpload
operation.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe sequence store ID for the store involved in the multipart upload.
upload_id(impl Into<String>)
/set_upload_id(Option<String>)
:
required: trueThe ID for the multipart upload.
parts(CompleteReadSetUploadPartListItem)
/set_parts(Option<Vec::<CompleteReadSetUploadPartListItem>>)
:
required: trueThe individual uploads or parts of a multipart upload.
- On success, responds with
CompleteMultipartReadSetUploadOutput
with field(s):read_set_id(String)
:The read set ID created for an uploaded read set.
- On failure, responds with
SdkError<CompleteMultipartReadSetUploadError>
Source§impl Client
impl Client
Sourcepub fn create_annotation_store(&self) -> CreateAnnotationStoreFluentBuilder
pub fn create_annotation_store(&self) -> CreateAnnotationStoreFluentBuilder
Constructs a fluent builder for the CreateAnnotationStore
operation.
- The fluent builder is configurable:
reference(ReferenceItem)
/set_reference(Option<ReferenceItem>)
:
required: falseThe genome reference for the store’s annotations.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseA name for the store.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the store.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseTags for the store.
version_name(impl Into<String>)
/set_version_name(Option<String>)
:
required: falseThe name given to an annotation store version to distinguish it from other versions.
sse_config(SseConfig)
/set_sse_config(Option<SseConfig>)
:
required: falseServer-side encryption (SSE) settings for the store.
store_format(StoreFormat)
/set_store_format(Option<StoreFormat>)
:
required: trueThe annotation file format of the store.
store_options(StoreOptions)
/set_store_options(Option<StoreOptions>)
:
required: falseFile parsing options for the annotation store.
- On success, responds with
CreateAnnotationStoreOutput
with field(s):id(String)
:The store’s ID.
reference(Option<ReferenceItem>)
:The store’s genome reference. Required for all stores except TSV format with generic annotations.
store_format(Option<StoreFormat>)
:The annotation file format of the store.
store_options(Option<StoreOptions>)
:The store’s file parsing options.
status(StoreStatus)
:The store’s status.
name(String)
:The store’s name.
version_name(String)
:The name given to an annotation store version to distinguish it from other versions.
creation_time(DateTime)
:When the store was created.
- On failure, responds with
SdkError<CreateAnnotationStoreError>
Source§impl Client
impl Client
Sourcepub fn create_annotation_store_version(
&self,
) -> CreateAnnotationStoreVersionFluentBuilder
pub fn create_annotation_store_version( &self, ) -> CreateAnnotationStoreVersionFluentBuilder
Constructs a fluent builder for the CreateAnnotationStoreVersion
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of an annotation store version from which versions are being created.
version_name(impl Into<String>)
/set_version_name(Option<String>)
:
required: trueThe name given to an annotation store version to distinguish it from other versions.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of an annotation store version.
version_options(VersionOptions)
/set_version_options(Option<VersionOptions>)
:
required: falseThe options for an annotation store version.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseAny tags added to annotation store version.
- On success, responds with
CreateAnnotationStoreVersionOutput
with field(s):id(String)
:A generated ID for the annotation store
version_name(String)
:The name given to an annotation store version to distinguish it from other versions.
store_id(String)
:The ID for the annotation store from which new versions are being created.
version_options(Option<VersionOptions>)
:The options for an annotation store version.
name(String)
:The name given to an annotation store version to distinguish it from other versions.
status(VersionStatus)
:The status of a annotation store version.
creation_time(DateTime)
:The time stamp for the creation of an annotation store version.
- On failure, responds with
SdkError<CreateAnnotationStoreVersionError>
Source§impl Client
impl Client
Sourcepub fn create_multipart_read_set_upload(
&self,
) -> CreateMultipartReadSetUploadFluentBuilder
pub fn create_multipart_read_set_upload( &self, ) -> CreateMultipartReadSetUploadFluentBuilder
Constructs a fluent builder for the CreateMultipartReadSetUpload
operation.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe sequence store ID for the store that is the destination of the multipart uploads.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseAn idempotency token that can be used to avoid triggering multiple multipart uploads.
source_file_type(FileType)
/set_source_file_type(Option<FileType>)
:
required: trueThe type of file being uploaded.
subject_id(impl Into<String>)
/set_subject_id(Option<String>)
:
required: trueThe source’s subject ID.
sample_id(impl Into<String>)
/set_sample_id(Option<String>)
:
required: trueThe source’s sample ID.
generated_from(impl Into<String>)
/set_generated_from(Option<String>)
:
required: falseWhere the source originated.
reference_arn(impl Into<String>)
/set_reference_arn(Option<String>)
:
required: falseThe ARN of the reference.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the read set.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the read set.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseAny tags to add to the read set.
- On success, responds with
CreateMultipartReadSetUploadOutput
with field(s):sequence_store_id(String)
:The sequence store ID for the store that the read set will be created in.
upload_id(String)
:The ID for the initiated multipart upload.
source_file_type(FileType)
:The file type of the read set source.
subject_id(String)
:The source’s subject ID.
sample_id(String)
:The source’s sample ID.
generated_from(Option<String>)
:The source of the read set.
reference_arn(String)
:The read set source’s reference ARN.
name(Option<String>)
:The name of the read set.
description(Option<String>)
:The description of the read set.
tags(Option<HashMap::<String, String>>)
:The tags to add to the read set.
creation_time(DateTime)
:The creation time of the multipart upload.
- On failure, responds with
SdkError<CreateMultipartReadSetUploadError>
Source§impl Client
impl Client
Sourcepub fn create_reference_store(&self) -> CreateReferenceStoreFluentBuilder
pub fn create_reference_store(&self) -> CreateReferenceStoreFluentBuilder
Constructs a fluent builder for the CreateReferenceStore
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueA name for the store.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the store.
sse_config(SseConfig)
/set_sse_config(Option<SseConfig>)
:
required: falseServer-side encryption (SSE) settings for the store.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseTags for the store.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseTo ensure that requests don’t run multiple times, specify a unique token for each request.
- On success, responds with
CreateReferenceStoreOutput
with field(s):id(String)
:The store’s ID.
arn(String)
:The store’s ARN.
name(Option<String>)
:The store’s name.
description(Option<String>)
:The store’s description.
sse_config(Option<SseConfig>)
:The store’s SSE settings.
creation_time(DateTime)
:When the store was created.
- On failure, responds with
SdkError<CreateReferenceStoreError>
Source§impl Client
impl Client
Sourcepub fn create_run_cache(&self) -> CreateRunCacheFluentBuilder
pub fn create_run_cache(&self) -> CreateRunCacheFluentBuilder
Constructs a fluent builder for the CreateRunCache
operation.
- The fluent builder is configurable:
cache_behavior(CacheBehavior)
/set_cache_behavior(Option<CacheBehavior>)
:
required: falseDefault cache behavior for runs that use this cache. Supported values are:
CACHE_ON_FAILURE
: Caches task outputs from completed tasks for runs that fail. This setting is useful if you’re debugging a workflow that fails after several tasks completed successfully. The subsequent run uses the cache outputs for previously-completed tasks if the task definition, inputs, and container in ECR are identical to the prior run.CACHE_ALWAYS
: Caches task outputs from completed tasks for all runs. This setting is useful in development mode, but do not use it in a production setting.If you don’t specify a value, the default behavior is CACHE_ON_FAILURE. When you start a run that uses this cache, you can override the default cache behavior.
For more information, see Run cache behavior in the Amazon Web Services HealthOmics User Guide.
cache_s3_location(impl Into<String>)
/set_cache_s3_location(Option<String>)
:
required: trueSpecify the S3 location for storing the cached task outputs. This data must be immediately accessible (not in an archived state).
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseEnter a description of the run cache.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseEnter a user-friendly name for the run cache.
request_id(impl Into<String>)
/set_request_id(Option<String>)
:
required: trueA unique request token, to ensure idempotency. If you don’t specify a token, Amazon Web Services HealthOmics automatically generates a universally unique identifier (UUID) for the request.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseSpecify one or more tags to associate with this run cache.
cache_bucket_owner_id(impl Into<String>)
/set_cache_bucket_owner_id(Option<String>)
:
required: falseThe Amazon Web Services account ID of the expected owner of the S3 bucket for the run cache. If not provided, your account ID is set as the owner of the bucket.
- On success, responds with
CreateRunCacheOutput
with field(s):arn(Option<String>)
:Unique resource identifier for the run cache.
id(Option<String>)
:Identifier for the run cache.
status(Option<RunCacheStatus>)
:Run cache status.
tags(Option<HashMap::<String, String>>)
:The tags associated with this run cache.
- On failure, responds with
SdkError<CreateRunCacheError>
Source§impl Client
impl Client
Sourcepub fn create_run_group(&self) -> CreateRunGroupFluentBuilder
pub fn create_run_group(&self) -> CreateRunGroupFluentBuilder
Constructs a fluent builder for the CreateRunGroup
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseA name for the group.
max_cpus(i32)
/set_max_cpus(Option<i32>)
:
required: falseThe maximum number of CPUs that can run concurrently across all active runs in the run group.
max_runs(i32)
/set_max_runs(Option<i32>)
:
required: falseThe maximum number of runs that can be running at the same time.
max_duration(i32)
/set_max_duration(Option<i32>)
:
required: falseThe maximum time for each run (in minutes). If a run exceeds the maximum run time, the run fails automatically.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseTags for the group.
request_id(impl Into<String>)
/set_request_id(Option<String>)
:
required: trueTo ensure that requests don’t run multiple times, specify a unique ID for each request.
max_gpus(i32)
/set_max_gpus(Option<i32>)
:
required: falseThe maximum number of GPUs that can run concurrently across all active runs in the run group.
- On success, responds with
CreateRunGroupOutput
with field(s):arn(Option<String>)
:The group’s ARN.
id(Option<String>)
:The group’s ID.
tags(Option<HashMap::<String, String>>)
:Tags for the run group.
- On failure, responds with
SdkError<CreateRunGroupError>
Source§impl Client
impl Client
Sourcepub fn create_sequence_store(&self) -> CreateSequenceStoreFluentBuilder
pub fn create_sequence_store(&self) -> CreateSequenceStoreFluentBuilder
Constructs a fluent builder for the CreateSequenceStore
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueA name for the store.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the store.
sse_config(SseConfig)
/set_sse_config(Option<SseConfig>)
:
required: falseServer-side encryption (SSE) settings for the store.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseTags for the store.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseTo ensure that requests don’t run multiple times, specify a unique token for each request.
fallback_location(impl Into<String>)
/set_fallback_location(Option<String>)
:
required: falseAn S3 location that is used to store files that have failed a direct upload.
e_tag_algorithm_family(ETagAlgorithmFamily)
/set_e_tag_algorithm_family(Option<ETagAlgorithmFamily>)
:
required: falseThe ETag algorithm family to use for ingested read sets.
propagated_set_level_tags(impl Into<String>)
/set_propagated_set_level_tags(Option<Vec::<String>>)
:
required: falseThe tags keys to propagate to the S3 objects associated with read sets in the sequence store.
s3_access_config(S3AccessConfig)
/set_s3_access_config(Option<S3AccessConfig>)
:
required: falseS3 access configuration parameters
- On success, responds with
CreateSequenceStoreOutput
with field(s):id(String)
:The store’s ID.
arn(String)
:The store’s ARN.
name(Option<String>)
:The store’s name.
description(Option<String>)
:The store’s description.
sse_config(Option<SseConfig>)
:The store’s SSE settings.
creation_time(DateTime)
:When the store was created.
fallback_location(Option<String>)
:An S3 location that is used to store files that have failed a direct upload.
e_tag_algorithm_family(Option<ETagAlgorithmFamily>)
:The algorithm family of the ETag.
status(Option<SequenceStoreStatus>)
:The status of the sequence store.
status_message(Option<String>)
:The status message of the sequence store.
propagated_set_level_tags(Option<Vec::<String>>)
:The tags keys to propagate to the S3 objects associated with read sets in the sequence store.
s3_access(Option<SequenceStoreS3Access>)
:The S3 access metadata of the sequence store.
- On failure, responds with
SdkError<CreateSequenceStoreError>
Source§impl Client
impl Client
Constructs a fluent builder for the CreateShare
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe ARN of the resource to be shared.
principal_subscriber(impl Into<String>)
/set_principal_subscriber(Option<String>)
:
required: trueThe principal subscriber is the account being offered shared access to the resource.
share_name(impl Into<String>)
/set_share_name(Option<String>)
:
required: falseA name that the owner defines for the share.
- On success, responds with
CreateShareOutput
with field(s):share_id(Option<String>)
:The ID that HealthOmics generates for the share.
status(Option<ShareStatus>)
:The status of the share.
share_name(Option<String>)
:The name of the share.
- On failure, responds with
SdkError<CreateShareError>
Source§impl Client
impl Client
Sourcepub fn create_variant_store(&self) -> CreateVariantStoreFluentBuilder
pub fn create_variant_store(&self) -> CreateVariantStoreFluentBuilder
Constructs a fluent builder for the CreateVariantStore
operation.
- The fluent builder is configurable:
reference(ReferenceItem)
/set_reference(Option<ReferenceItem>)
:
required: trueThe genome reference for the store’s variants.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseA name for the store.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the store.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseTags for the store.
sse_config(SseConfig)
/set_sse_config(Option<SseConfig>)
:
required: falseServer-side encryption (SSE) settings for the store.
- On success, responds with
CreateVariantStoreOutput
with field(s):id(String)
:The store’s ID.
reference(Option<ReferenceItem>)
:The store’s genome reference.
status(StoreStatus)
:The store’s status.
name(String)
:The store’s name.
creation_time(DateTime)
:When the store was created.
- On failure, responds with
SdkError<CreateVariantStoreError>
Source§impl Client
impl Client
Sourcepub fn create_workflow(&self) -> CreateWorkflowFluentBuilder
pub fn create_workflow(&self) -> CreateWorkflowFluentBuilder
Constructs a fluent builder for the CreateWorkflow
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseA name for the workflow.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the workflow.
engine(WorkflowEngine)
/set_engine(Option<WorkflowEngine>)
:
required: falseThe workflow engine for the workflow.
definition_zip(Blob)
/set_definition_zip(Option<Blob>)
:
required: falseA ZIP archive for the workflow.
definition_uri(impl Into<String>)
/set_definition_uri(Option<String>)
:
required: falseThe URI of a definition for the workflow.
main(impl Into<String>)
/set_main(Option<String>)
:
required: falseThe path of the main definition file for the workflow.
parameter_template(impl Into<String>, WorkflowParameter)
/set_parameter_template(Option<HashMap::<String, WorkflowParameter>>)
:
required: falseA parameter template for the workflow.
storage_capacity(i32)
/set_storage_capacity(Option<i32>)
:
required: falseThe default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseTags for the workflow.
request_id(impl Into<String>)
/set_request_id(Option<String>)
:
required: trueTo ensure that requests don’t run multiple times, specify a unique ID for each request.
accelerators(Accelerators)
/set_accelerators(Option<Accelerators>)
:
required: falseThe computational accelerator specified to run the workflow.
storage_type(StorageType)
/set_storage_type(Option<StorageType>)
:
required: falseThe default storage type for runs that use this workflow. STATIC storage allocates a fixed amount of storage. DYNAMIC storage dynamically scales the storage up or down, based on file system utilization. For more information about static and dynamic storage, see Running workflows in the Amazon Web Services HealthOmics User Guide.
- On success, responds with
CreateWorkflowOutput
with field(s):arn(Option<String>)
:The workflow’s ARN.
id(Option<String>)
:The workflow’s ID.
status(Option<WorkflowStatus>)
:The workflow’s status.
tags(Option<HashMap::<String, String>>)
:The workflow’s tags.
uuid(Option<String>)
:The universally unique identifier (UUID) value for this workflow.
- On failure, responds with
SdkError<CreateWorkflowError>
Source§impl Client
impl Client
Sourcepub fn create_workflow_version(&self) -> CreateWorkflowVersionFluentBuilder
pub fn create_workflow_version(&self) -> CreateWorkflowVersionFluentBuilder
Constructs a fluent builder for the CreateWorkflowVersion
operation.
- The fluent builder is configurable:
workflow_id(impl Into<String>)
/set_workflow_id(Option<String>)
:
required: trueThe ID of the workflow where you are creating the new version.
version_name(impl Into<String>)
/set_version_name(Option<String>)
:
required: trueA name for the workflow version. Provide a version name that is unique for this workflow. You cannot change the name after HealthOmics creates the version.
The version name must start with a letter or number and it can include upper-case and lower-case letters, numbers, hyphens, periods and underscores. The maximum length is 64 characters. You can use a simple naming scheme, such as version1, version2, version3. You can also match your workflow versions with your own internal versioning conventions, such as 2.7.0, 2.7.1, 2.7.2.
definition_zip(Blob)
/set_definition_zip(Option<Blob>)
:
required: falseA zip archive containing the workflow definition for this workflow version.
definition_uri(impl Into<String>)
/set_definition_uri(Option<String>)
:
required: falseThe URI specifies the location of the workflow definition for this workflow version.
accelerators(Accelerators)
/set_accelerators(Option<Accelerators>)
:
required: falseThe computational accelerator for this workflow version.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for this workflow version.
engine(WorkflowEngine)
/set_engine(Option<WorkflowEngine>)
:
required: falseThe workflow engine for this workflow version.
main(impl Into<String>)
/set_main(Option<String>)
:
required: falseThe path of the main definition file for this workflow version.
parameter_template(impl Into<String>, WorkflowParameter)
/set_parameter_template(Option<HashMap::<String, WorkflowParameter>>)
:
required: falseThe parameter template defines the input parameters for runs that use this workflow version.
request_id(impl Into<String>)
/set_request_id(Option<String>)
:
required: trueTo ensure that requests don’t run multiple times, specify a unique ID for each request.
storage_type(StorageType)
/set_storage_type(Option<StorageType>)
:
required: falseThe default storage type for runs that use this workflow. STATIC storage allocates a fixed amount of storage. DYNAMIC storage dynamically scales the storage up or down, based on file system utilization. For more information about static and dynamic storage, see Running workflows in the Amazon Web Services HealthOmics User Guide.
storage_capacity(i32)
/set_storage_capacity(Option<i32>)
:
required: falseThe default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseOptional tags to associate with this workflow version.
workflow_bucket_owner_id(impl Into<String>)
/set_workflow_bucket_owner_id(Option<String>)
:
required: falseAmazon Web Services Id of the owner of the S3 bucket that contains the workflow definition. You need to specify this parameter if your account is not the bucket owner.
- On success, responds with
CreateWorkflowVersionOutput
with field(s):arn(Option<String>)
:ARN of the workflow version.
workflow_id(Option<String>)
:The workflow’s ID.
version_name(Option<String>)
:The workflow version name.
status(Option<WorkflowStatus>)
:The workflow version status.
tags(Option<HashMap::<String, String>>)
:The workflow version’s tags.
uuid(Option<String>)
:The universally unique identifier (UUID) value for this workflow version.
- On failure, responds with
SdkError<CreateWorkflowVersionError>
Source§impl Client
impl Client
Sourcepub fn delete_annotation_store(&self) -> DeleteAnnotationStoreFluentBuilder
pub fn delete_annotation_store(&self) -> DeleteAnnotationStoreFluentBuilder
Constructs a fluent builder for the DeleteAnnotationStore
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe store’s name.
force(bool)
/set_force(Option<bool>)
:
required: falseWhether to force deletion.
- On success, responds with
DeleteAnnotationStoreOutput
with field(s):status(StoreStatus)
:The store’s status.
- On failure, responds with
SdkError<DeleteAnnotationStoreError>
Source§impl Client
impl Client
Sourcepub fn delete_annotation_store_versions(
&self,
) -> DeleteAnnotationStoreVersionsFluentBuilder
pub fn delete_annotation_store_versions( &self, ) -> DeleteAnnotationStoreVersionsFluentBuilder
Constructs a fluent builder for the DeleteAnnotationStoreVersions
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the annotation store from which versions are being deleted.
versions(impl Into<String>)
/set_versions(Option<Vec::<String>>)
:
required: trueThe versions of an annotation store to be deleted.
force(bool)
/set_force(Option<bool>)
:
required: falseForces the deletion of an annotation store version when imports are in-progress..
- On success, responds with
DeleteAnnotationStoreVersionsOutput
with field(s):errors(Option<Vec::<VersionDeleteError>>)
:Any errors that occur when attempting to delete an annotation store version.
- On failure, responds with
SdkError<DeleteAnnotationStoreVersionsError>
Source§impl Client
impl Client
Sourcepub fn delete_reference(&self) -> DeleteReferenceFluentBuilder
pub fn delete_reference(&self) -> DeleteReferenceFluentBuilder
Constructs a fluent builder for the DeleteReference
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe reference’s ID.
reference_store_id(impl Into<String>)
/set_reference_store_id(Option<String>)
:
required: trueThe reference’s store ID.
- On success, responds with
DeleteReferenceOutput
- On failure, responds with
SdkError<DeleteReferenceError>
Source§impl Client
impl Client
Sourcepub fn delete_reference_store(&self) -> DeleteReferenceStoreFluentBuilder
pub fn delete_reference_store(&self) -> DeleteReferenceStoreFluentBuilder
Constructs a fluent builder for the DeleteReferenceStore
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe store’s ID.
- On success, responds with
DeleteReferenceStoreOutput
- On failure, responds with
SdkError<DeleteReferenceStoreError>
Source§impl Client
impl Client
Sourcepub fn delete_run(&self) -> DeleteRunFluentBuilder
pub fn delete_run(&self) -> DeleteRunFluentBuilder
Constructs a fluent builder for the DeleteRun
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe run’s ID.
- On success, responds with
DeleteRunOutput
- On failure, responds with
SdkError<DeleteRunError>
Source§impl Client
impl Client
Sourcepub fn delete_run_cache(&self) -> DeleteRunCacheFluentBuilder
pub fn delete_run_cache(&self) -> DeleteRunCacheFluentBuilder
Constructs a fluent builder for the DeleteRunCache
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueRun cache identifier for the cache you want to delete.
- On success, responds with
DeleteRunCacheOutput
- On failure, responds with
SdkError<DeleteRunCacheError>
Source§impl Client
impl Client
Sourcepub fn delete_run_group(&self) -> DeleteRunGroupFluentBuilder
pub fn delete_run_group(&self) -> DeleteRunGroupFluentBuilder
Constructs a fluent builder for the DeleteRunGroup
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe run group’s ID.
- On success, responds with
DeleteRunGroupOutput
- On failure, responds with
SdkError<DeleteRunGroupError>
Source§impl Client
impl Client
Sourcepub fn delete_s3_access_policy(&self) -> DeleteS3AccessPolicyFluentBuilder
pub fn delete_s3_access_policy(&self) -> DeleteS3AccessPolicyFluentBuilder
Constructs a fluent builder for the DeleteS3AccessPolicy
operation.
- The fluent builder is configurable:
s3_access_point_arn(impl Into<String>)
/set_s3_access_point_arn(Option<String>)
:
required: trueThe S3 access point ARN that has the access policy.
- On success, responds with
DeleteS3AccessPolicyOutput
- On failure, responds with
SdkError<DeleteS3AccessPolicyError>
Source§impl Client
impl Client
Sourcepub fn delete_sequence_store(&self) -> DeleteSequenceStoreFluentBuilder
pub fn delete_sequence_store(&self) -> DeleteSequenceStoreFluentBuilder
Constructs a fluent builder for the DeleteSequenceStore
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe sequence store’s ID.
- On success, responds with
DeleteSequenceStoreOutput
- On failure, responds with
SdkError<DeleteSequenceStoreError>
Source§impl Client
impl Client
Constructs a fluent builder for the DeleteShare
operation.
- The fluent builder is configurable:
share_id(impl Into<String>)
/set_share_id(Option<String>)
:
required: trueThe ID for the resource share to be deleted.
- On success, responds with
DeleteShareOutput
with field(s):status(Option<ShareStatus>)
:The status of the share being deleted.
- On failure, responds with
SdkError<DeleteShareError>
Source§impl Client
impl Client
Sourcepub fn delete_variant_store(&self) -> DeleteVariantStoreFluentBuilder
pub fn delete_variant_store(&self) -> DeleteVariantStoreFluentBuilder
Constructs a fluent builder for the DeleteVariantStore
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe store’s name.
force(bool)
/set_force(Option<bool>)
:
required: falseWhether to force deletion.
- On success, responds with
DeleteVariantStoreOutput
with field(s):status(StoreStatus)
:The store’s status.
- On failure, responds with
SdkError<DeleteVariantStoreError>
Source§impl Client
impl Client
Sourcepub fn delete_workflow(&self) -> DeleteWorkflowFluentBuilder
pub fn delete_workflow(&self) -> DeleteWorkflowFluentBuilder
Constructs a fluent builder for the DeleteWorkflow
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe workflow’s ID.
- On success, responds with
DeleteWorkflowOutput
- On failure, responds with
SdkError<DeleteWorkflowError>
Source§impl Client
impl Client
Sourcepub fn delete_workflow_version(&self) -> DeleteWorkflowVersionFluentBuilder
pub fn delete_workflow_version(&self) -> DeleteWorkflowVersionFluentBuilder
Constructs a fluent builder for the DeleteWorkflowVersion
operation.
- The fluent builder is configurable:
workflow_id(impl Into<String>)
/set_workflow_id(Option<String>)
:
required: trueThe workflow’s ID.
version_name(impl Into<String>)
/set_version_name(Option<String>)
:
required: trueThe workflow version name.
- On success, responds with
DeleteWorkflowVersionOutput
- On failure, responds with
SdkError<DeleteWorkflowVersionError>
Source§impl Client
impl Client
Sourcepub fn get_annotation_import_job(&self) -> GetAnnotationImportJobFluentBuilder
pub fn get_annotation_import_job(&self) -> GetAnnotationImportJobFluentBuilder
Constructs a fluent builder for the GetAnnotationImportJob
operation.
- The fluent builder is configurable:
job_id(impl Into<String>)
/set_job_id(Option<String>)
:
required: trueThe job’s ID.
- On success, responds with
GetAnnotationImportJobOutput
with field(s):id(String)
:The job’s ID.
destination_name(String)
:The job’s destination annotation store.
version_name(String)
:The name of the annotation store version.
role_arn(String)
:The job’s service role ARN.
status(JobStatus)
:The job’s status.
status_message(String)
:The job’s status message.
creation_time(DateTime)
:When the job was created.
update_time(DateTime)
:When the job was updated.
completion_time(DateTime)
:When the job completed.
items(Vec::<AnnotationImportItemDetail>)
:The job’s imported items.
run_left_normalization(bool)
:The job’s left normalization setting.
format_options(Option<FormatOptions>)
:Formatting options for a file.
annotation_fields(Option<HashMap::<String, String>>)
:The annotation schema generated by the parsed annotation data.
- On failure, responds with
SdkError<GetAnnotationImportJobError>
Source§impl Client
impl Client
Sourcepub fn get_annotation_store(&self) -> GetAnnotationStoreFluentBuilder
pub fn get_annotation_store(&self) -> GetAnnotationStoreFluentBuilder
Constructs a fluent builder for the GetAnnotationStore
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe store’s name.
- On success, responds with
GetAnnotationStoreOutput
with field(s):id(String)
:The store’s ID.
reference(Option<ReferenceItem>)
:The store’s genome reference.
status(StoreStatus)
:The store’s status.
store_arn(String)
:The store’s ARN.
name(String)
:The store’s name.
description(String)
:The store’s description.
sse_config(Option<SseConfig>)
:The store’s server-side encryption (SSE) settings.
creation_time(DateTime)
:When the store was created.
update_time(DateTime)
:When the store was updated.
tags(HashMap::<String, String>)
:The store’s tags.
store_options(Option<StoreOptions>)
:The store’s parsing options.
store_format(Option<StoreFormat>)
:The store’s annotation file format.
status_message(String)
:A status message.
store_size_bytes(i64)
:The store’s size in bytes.
num_versions(i32)
:An integer indicating how many versions of an annotation store exist.
- On failure, responds with
SdkError<GetAnnotationStoreError>
Source§impl Client
impl Client
Sourcepub fn get_annotation_store_version(
&self,
) -> GetAnnotationStoreVersionFluentBuilder
pub fn get_annotation_store_version( &self, ) -> GetAnnotationStoreVersionFluentBuilder
Constructs a fluent builder for the GetAnnotationStoreVersion
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name given to an annotation store version to distinguish it from others.
version_name(impl Into<String>)
/set_version_name(Option<String>)
:
required: trueThe name given to an annotation store version to distinguish it from others.
- On success, responds with
GetAnnotationStoreVersionOutput
with field(s):store_id(String)
:The store ID for annotation store version.
id(String)
:The annotation store version ID.
status(VersionStatus)
:The status of an annotation store version.
version_arn(String)
:The Arn for the annotation store.
name(String)
:The name of the annotation store.
version_name(String)
:The name given to an annotation store version to distinguish it from others.
description(String)
:The description for an annotation store version.
creation_time(DateTime)
:The time stamp for when an annotation store version was created.
update_time(DateTime)
:The time stamp for when an annotation store version was updated.
tags(HashMap::<String, String>)
:Any tags associated with an annotation store version.
version_options(Option<VersionOptions>)
:The options for an annotation store version.
status_message(String)
:The status of an annotation store version.
version_size_bytes(i64)
:The size of the annotation store version in Bytes.
- On failure, responds with
SdkError<GetAnnotationStoreVersionError>
Source§impl Client
impl Client
Sourcepub fn get_read_set(&self) -> GetReadSetFluentBuilder
pub fn get_read_set(&self) -> GetReadSetFluentBuilder
Constructs a fluent builder for the GetReadSet
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe read set’s ID.
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe read set’s sequence store ID.
file(ReadSetFile)
/set_file(Option<ReadSetFile>)
:
required: falseThe file to retrieve.
part_number(i32)
/set_part_number(Option<i32>)
:
required: trueThe part number to retrieve.
- On success, responds with
GetReadSetOutput
with field(s):payload(ByteStream)
:The read set file payload.
- On failure, responds with
SdkError<GetReadSetError>
Source§impl Client
impl Client
Sourcepub fn get_read_set_activation_job(
&self,
) -> GetReadSetActivationJobFluentBuilder
pub fn get_read_set_activation_job( &self, ) -> GetReadSetActivationJobFluentBuilder
Constructs a fluent builder for the GetReadSetActivationJob
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe job’s ID.
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe job’s sequence store ID.
- On success, responds with
GetReadSetActivationJobOutput
with field(s):id(String)
:The job’s ID.
sequence_store_id(String)
:The job’s sequence store ID.
status(ReadSetActivationJobStatus)
:The job’s status.
status_message(Option<String>)
:The job’s status message.
creation_time(DateTime)
:When the job was created.
completion_time(Option<DateTime>)
:When the job completed.
sources(Option<Vec::<ActivateReadSetSourceItem>>)
:The job’s source files.
- On failure, responds with
SdkError<GetReadSetActivationJobError>
Source§impl Client
impl Client
Sourcepub fn get_read_set_export_job(&self) -> GetReadSetExportJobFluentBuilder
pub fn get_read_set_export_job(&self) -> GetReadSetExportJobFluentBuilder
Constructs a fluent builder for the GetReadSetExportJob
operation.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe job’s sequence store ID.
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe job’s ID.
- On success, responds with
GetReadSetExportJobOutput
with field(s):id(String)
:The job’s ID.
sequence_store_id(String)
:The job’s sequence store ID.
destination(String)
:The job’s destination in Amazon S3.
status(ReadSetExportJobStatus)
:The job’s status.
status_message(Option<String>)
:The job’s status message.
creation_time(DateTime)
:When the job was created.
completion_time(Option<DateTime>)
:When the job completed.
read_sets(Option<Vec::<ExportReadSetDetail>>)
:The job’s read sets.
- On failure, responds with
SdkError<GetReadSetExportJobError>
Source§impl Client
impl Client
Sourcepub fn get_read_set_import_job(&self) -> GetReadSetImportJobFluentBuilder
pub fn get_read_set_import_job(&self) -> GetReadSetImportJobFluentBuilder
Constructs a fluent builder for the GetReadSetImportJob
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe job’s ID.
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe job’s sequence store ID.
- On success, responds with
GetReadSetImportJobOutput
with field(s):id(String)
:The job’s ID.
sequence_store_id(String)
:The job’s sequence store ID.
role_arn(String)
:The job’s service role ARN.
status(ReadSetImportJobStatus)
:The job’s status.
status_message(Option<String>)
:The job’s status message.
creation_time(DateTime)
:When the job was created.
completion_time(Option<DateTime>)
:When the job completed.
sources(Vec::<ImportReadSetSourceItem>)
:The job’s source files.
- On failure, responds with
SdkError<GetReadSetImportJobError>
Source§impl Client
impl Client
Sourcepub fn get_read_set_metadata(&self) -> GetReadSetMetadataFluentBuilder
pub fn get_read_set_metadata(&self) -> GetReadSetMetadataFluentBuilder
Constructs a fluent builder for the GetReadSetMetadata
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe read set’s ID.
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe read set’s sequence store ID.
- On success, responds with
GetReadSetMetadataOutput
with field(s):id(String)
:The read set’s ID.
arn(String)
:The read set’s ARN.
sequence_store_id(String)
:The read set’s sequence store ID.
subject_id(Option<String>)
:The read set’s subject ID.
sample_id(Option<String>)
:The read set’s sample ID.
status(ReadSetStatus)
:The read set’s status.
name(Option<String>)
:The read set’s name.
description(Option<String>)
:The read set’s description.
file_type(FileType)
:The read set’s file type.
creation_time(DateTime)
:When the read set was created.
sequence_information(Option<SequenceInformation>)
:The read set’s sequence information.
reference_arn(Option<String>)
:The read set’s genome reference ARN.
files(Option<ReadSetFiles>)
:The read set’s files.
status_message(Option<String>)
:The status message for a read set. It provides more detail as to why the read set has a status.
creation_type(Option<CreationType>)
:The creation type of the read set.
etag(Option<ETag>)
:The entity tag (ETag) is a hash of the object meant to represent its semantic content.
creation_job_id(Option<String>)
:The read set’s creation job ID.
- On failure, responds with
SdkError<GetReadSetMetadataError>
Source§impl Client
impl Client
Sourcepub fn get_reference(&self) -> GetReferenceFluentBuilder
pub fn get_reference(&self) -> GetReferenceFluentBuilder
Constructs a fluent builder for the GetReference
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe reference’s ID.
reference_store_id(impl Into<String>)
/set_reference_store_id(Option<String>)
:
required: trueThe reference’s store ID.
range(impl Into<String>)
/set_range(Option<String>)
:
required: falseThe range to retrieve.
part_number(i32)
/set_part_number(Option<i32>)
:
required: trueThe part number to retrieve.
file(ReferenceFile)
/set_file(Option<ReferenceFile>)
:
required: falseThe file to retrieve.
- On success, responds with
GetReferenceOutput
with field(s):payload(ByteStream)
:The reference file payload.
- On failure, responds with
SdkError<GetReferenceError>
Source§impl Client
impl Client
Sourcepub fn get_reference_import_job(&self) -> GetReferenceImportJobFluentBuilder
pub fn get_reference_import_job(&self) -> GetReferenceImportJobFluentBuilder
Constructs a fluent builder for the GetReferenceImportJob
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe job’s ID.
reference_store_id(impl Into<String>)
/set_reference_store_id(Option<String>)
:
required: trueThe job’s reference store ID.
- On success, responds with
GetReferenceImportJobOutput
with field(s):id(String)
:The job’s ID.
reference_store_id(String)
:The job’s reference store ID.
role_arn(String)
:The job’s service role ARN.
status(ReferenceImportJobStatus)
:The job’s status.
status_message(Option<String>)
:The job’s status message.
creation_time(DateTime)
:When the job was created.
completion_time(Option<DateTime>)
:When the job completed.
sources(Vec::<ImportReferenceSourceItem>)
:The job’s source files.
- On failure, responds with
SdkError<GetReferenceImportJobError>
Source§impl Client
impl Client
Sourcepub fn get_reference_metadata(&self) -> GetReferenceMetadataFluentBuilder
pub fn get_reference_metadata(&self) -> GetReferenceMetadataFluentBuilder
Constructs a fluent builder for the GetReferenceMetadata
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe reference’s ID.
reference_store_id(impl Into<String>)
/set_reference_store_id(Option<String>)
:
required: trueThe reference’s reference store ID.
- On success, responds with
GetReferenceMetadataOutput
with field(s):id(String)
:The reference’s ID.
arn(String)
:The reference’s ARN.
reference_store_id(String)
:The reference’s reference store ID.
md5(String)
:The reference’s MD5 checksum.
status(Option<ReferenceStatus>)
:The reference’s status.
name(Option<String>)
:The reference’s name.
description(Option<String>)
:The reference’s description.
creation_time(DateTime)
:When the reference was created.
update_time(DateTime)
:When the reference was updated.
files(Option<ReferenceFiles>)
:The reference’s files.
creation_type(Option<ReferenceCreationType>)
:The reference’s creation type.
creation_job_id(Option<String>)
:The reference’s creation job ID.
- On failure, responds with
SdkError<GetReferenceMetadataError>
Source§impl Client
impl Client
Sourcepub fn get_reference_store(&self) -> GetReferenceStoreFluentBuilder
pub fn get_reference_store(&self) -> GetReferenceStoreFluentBuilder
Constructs a fluent builder for the GetReferenceStore
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe store’s ID.
- On success, responds with
GetReferenceStoreOutput
with field(s):id(String)
:The store’s ID.
arn(String)
:The store’s ARN.
name(Option<String>)
:The store’s name.
description(Option<String>)
:The store’s description.
sse_config(Option<SseConfig>)
:The store’s server-side encryption (SSE) settings.
creation_time(DateTime)
:When the store was created.
- On failure, responds with
SdkError<GetReferenceStoreError>
Source§impl Client
impl Client
Sourcepub fn get_run(&self) -> GetRunFluentBuilder
pub fn get_run(&self) -> GetRunFluentBuilder
Constructs a fluent builder for the GetRun
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe run’s ID.
export(RunExport)
/set_export(Option<Vec::<RunExport>>)
:
required: falseThe run’s export format.
- On success, responds with
GetRunOutput
with field(s):arn(Option<String>)
:The run’s ARN.
id(Option<String>)
:The run’s ID.
cache_id(Option<String>)
:The run cache associated with the run.
cache_behavior(Option<CacheBehavior>)
:The run cache behavior for the run.
engine_version(Option<String>)
:The actual Nextflow engine version that Amazon Web Services HealthOmics used for the run. The other workflow definition languages don’t provide a value for this field.
status(Option<RunStatus>)
:The run’s status.
workflow_id(Option<String>)
:The run’s workflow ID.
workflow_type(Option<WorkflowType>)
:The run’s workflow type.
run_id(Option<String>)
:The run’s ID.
role_arn(Option<String>)
:The run’s service role ARN.
name(Option<String>)
:The run’s name.
run_group_id(Option<String>)
:The run’s group ID.
priority(Option<i32>)
:The run’s priority.
definition(Option<String>)
:The run’s definition.
digest(Option<String>)
:The run’s digest.
parameters(Option<Document>)
:The run’s parameters.
storage_capacity(Option<i32>)
:The run’s storage capacity in gibibytes. For dynamic storage, after the run has completed, this value is the maximum amount of storage used during the run.
output_uri(Option<String>)
:The run’s output URI.
log_level(Option<RunLogLevel>)
:The run’s log level.
resource_digests(Option<HashMap::<String, String>>)
:The run’s resource digests.
started_by(Option<String>)
:Who started the run.
creation_time(Option<DateTime>)
:When the run was created.
start_time(Option<DateTime>)
:When the run started.
stop_time(Option<DateTime>)
:The run’s stop time.
status_message(Option<String>)
:The run’s status message.
tags(Option<HashMap::<String, String>>)
:The run’s tags.
accelerators(Option<Accelerators>)
:The computational accelerator used to run the workflow.
retention_mode(Option<RunRetentionMode>)
:The run’s retention mode.
failure_reason(Option<String>)
:The reason a run has failed.
log_location(Option<RunLogLocation>)
:The location of the run log.
uuid(Option<String>)
:The universally unique identifier for a run.
run_output_uri(Option<String>)
:The destination for workflow outputs.
storage_type(Option<StorageType>)
:The run’s storage type.
workflow_owner_id(Option<String>)
:The ID of the workflow owner.
workflow_version_name(Option<String>)
:The workflow version name.
workflow_uuid(Option<String>)
:The universally unique identifier (UUID) value for the workflow.
- On failure, responds with
SdkError<GetRunError>
Source§impl Client
impl Client
Sourcepub fn get_run_cache(&self) -> GetRunCacheFluentBuilder
pub fn get_run_cache(&self) -> GetRunCacheFluentBuilder
Constructs a fluent builder for the GetRunCache
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe identifier of the run cache to retrieve.
- On success, responds with
GetRunCacheOutput
with field(s):arn(Option<String>)
:Unique resource identifier for the run cache.
cache_behavior(Option<CacheBehavior>)
:The default cache behavior for runs using this cache.
cache_bucket_owner_id(Option<String>)
:The identifier of the bucket owner.
cache_s3_uri(Option<String>)
:The S3 URI where the cache data is stored.
creation_time(Option<DateTime>)
:Creation time of the run cache (an ISO 8601 formatted string).
description(Option<String>)
:The run cache description.
id(Option<String>)
:The run cache ID.
name(Option<String>)
:The run cache name.
status(Option<RunCacheStatus>)
:The run cache status.
tags(Option<HashMap::<String, String>>)
:The tags associated with the run cache.
- On failure, responds with
SdkError<GetRunCacheError>
Source§impl Client
impl Client
Sourcepub fn get_run_group(&self) -> GetRunGroupFluentBuilder
pub fn get_run_group(&self) -> GetRunGroupFluentBuilder
Constructs a fluent builder for the GetRunGroup
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe group’s ID.
- On success, responds with
GetRunGroupOutput
with field(s):arn(Option<String>)
:The group’s ARN.
id(Option<String>)
:The group’s ID.
name(Option<String>)
:The group’s name.
max_cpus(Option<i32>)
:The group’s maximum number of CPUs to use.
max_runs(Option<i32>)
:The maximum number of concurrent runs for the group.
max_duration(Option<i32>)
:The group’s maximum run time in minutes.
creation_time(Option<DateTime>)
:When the group was created.
tags(Option<HashMap::<String, String>>)
:The group’s tags.
max_gpus(Option<i32>)
:The maximum GPUs that can be used by a run group.
- On failure, responds with
SdkError<GetRunGroupError>
Source§impl Client
impl Client
Sourcepub fn get_run_task(&self) -> GetRunTaskFluentBuilder
pub fn get_run_task(&self) -> GetRunTaskFluentBuilder
Constructs a fluent builder for the GetRunTask
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe workflow run ID.
task_id(impl Into<String>)
/set_task_id(Option<String>)
:
required: trueThe task’s ID.
- On success, responds with
GetRunTaskOutput
with field(s):task_id(Option<String>)
:The task’s ID.
status(Option<TaskStatus>)
:The task’s status.
name(Option<String>)
:The task’s name.
cpus(Option<i32>)
:The task’s CPU usage.
cache_hit(Option<bool>)
:Set to true if Amazon Web Services HealthOmics found a matching entry in the run cache for this task.
cache_s3_uri(Option<String>)
:The S3 URI of the cache location.
memory(Option<i32>)
:The task’s memory use in gigabytes.
creation_time(Option<DateTime>)
:When the task was created.
start_time(Option<DateTime>)
:The task’s start time.
stop_time(Option<DateTime>)
:The task’s stop time.
status_message(Option<String>)
:The task’s status message.
log_stream(Option<String>)
:The task’s log stream.
gpus(Option<i32>)
:The number of Graphics Processing Units (GPU) specified in the task.
instance_type(Option<String>)
:The instance type for a task.
failure_reason(Option<String>)
:The reason a task has failed.
- On failure, responds with
SdkError<GetRunTaskError>
Source§impl Client
impl Client
Sourcepub fn get_s3_access_policy(&self) -> GetS3AccessPolicyFluentBuilder
pub fn get_s3_access_policy(&self) -> GetS3AccessPolicyFluentBuilder
Constructs a fluent builder for the GetS3AccessPolicy
operation.
- The fluent builder is configurable:
s3_access_point_arn(impl Into<String>)
/set_s3_access_point_arn(Option<String>)
:
required: trueThe S3 access point ARN that has the access policy.
- On success, responds with
GetS3AccessPolicyOutput
with field(s):s3_access_point_arn(Option<String>)
:The S3 access point ARN that has the access policy.
store_id(Option<String>)
:The Amazon Web Services-generated Sequence Store or Reference Store ID.
store_type(Option<StoreType>)
:The type of store associated with the access point.
update_time(Option<DateTime>)
:The time when the policy was last updated.
s3_access_policy(String)
:The current resource policy that controls S3 access on the store.
- On failure, responds with
SdkError<GetS3AccessPolicyError>
Source§impl Client
impl Client
Sourcepub fn get_sequence_store(&self) -> GetSequenceStoreFluentBuilder
pub fn get_sequence_store(&self) -> GetSequenceStoreFluentBuilder
Constructs a fluent builder for the GetSequenceStore
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe store’s ID.
- On success, responds with
GetSequenceStoreOutput
with field(s):id(String)
:The store’s ID.
arn(String)
:The store’s ARN.
name(Option<String>)
:The store’s name.
description(Option<String>)
:The store’s description.
sse_config(Option<SseConfig>)
:The store’s server-side encryption (SSE) settings.
creation_time(DateTime)
:When the store was created.
fallback_location(Option<String>)
:An S3 location that is used to store files that have failed a direct upload.
s3_access(Option<SequenceStoreS3Access>)
:The S3 metadata of a sequence store, including the ARN and S3 URI of the S3 bucket.
e_tag_algorithm_family(Option<ETagAlgorithmFamily>)
:The algorithm family of the ETag.
status(Option<SequenceStoreStatus>)
:The status of the sequence store.
status_message(Option<String>)
:The status message of the sequence store.
propagated_set_level_tags(Option<Vec::<String>>)
:The tags keys to propagate to the S3 objects associated with read sets in the sequence store.
update_time(Option<DateTime>)
:The last-updated time of the sequence store.
- On failure, responds with
SdkError<GetSequenceStoreError>
Source§impl Client
impl Client
Constructs a fluent builder for the GetShare
operation.
- The fluent builder is configurable:
share_id(impl Into<String>)
/set_share_id(Option<String>)
:
required: trueThe ID of the share.
- On success, responds with
GetShareOutput
with field(s):share(Option<ShareDetails>)
:A resource share details object. The object includes the status, the resourceArn, and ownerId.
- On failure, responds with
SdkError<GetShareError>
Source§impl Client
impl Client
Sourcepub fn get_variant_import_job(&self) -> GetVariantImportJobFluentBuilder
pub fn get_variant_import_job(&self) -> GetVariantImportJobFluentBuilder
Constructs a fluent builder for the GetVariantImportJob
operation.
- The fluent builder is configurable:
job_id(impl Into<String>)
/set_job_id(Option<String>)
:
required: trueThe job’s ID.
- On success, responds with
GetVariantImportJobOutput
with field(s):id(String)
:The job’s ID.
destination_name(String)
:The job’s destination variant store.
role_arn(String)
:The job’s service role ARN.
status(JobStatus)
:The job’s status.
status_message(String)
:The job’s status message.
creation_time(DateTime)
:When the job was created.
update_time(DateTime)
:When the job was updated.
completion_time(Option<DateTime>)
:When the job completed.
items(Vec::<VariantImportItemDetail>)
:The job’s items.
run_left_normalization(bool)
:The job’s left normalization setting.
annotation_fields(Option<HashMap::<String, String>>)
:The annotation schema generated by the parsed annotation data.
- On failure, responds with
SdkError<GetVariantImportJobError>
Source§impl Client
impl Client
Sourcepub fn get_variant_store(&self) -> GetVariantStoreFluentBuilder
pub fn get_variant_store(&self) -> GetVariantStoreFluentBuilder
Constructs a fluent builder for the GetVariantStore
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe store’s name.
- On success, responds with
GetVariantStoreOutput
with field(s):id(String)
:The store’s ID.
reference(Option<ReferenceItem>)
:The store’s genome reference.
status(StoreStatus)
:The store’s status.
store_arn(String)
:The store’s ARN.
name(String)
:The store’s name.
description(String)
:The store’s description.
sse_config(Option<SseConfig>)
:The store’s server-side encryption (SSE) settings.
creation_time(DateTime)
:When the store was created.
update_time(DateTime)
:When the store was updated.
tags(HashMap::<String, String>)
:The store’s tags.
status_message(String)
:The store’s status message.
store_size_bytes(i64)
:The store’s size in bytes.
- On failure, responds with
SdkError<GetVariantStoreError>
Source§impl Client
impl Client
Sourcepub fn get_workflow(&self) -> GetWorkflowFluentBuilder
pub fn get_workflow(&self) -> GetWorkflowFluentBuilder
Constructs a fluent builder for the GetWorkflow
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe workflow’s ID.
r#type(WorkflowType)
/set_type(Option<WorkflowType>)
:
required: falseThe workflow’s type.
export(WorkflowExport)
/set_export(Option<Vec::<WorkflowExport>>)
:
required: falseThe export format for the workflow.
workflow_owner_id(impl Into<String>)
/set_workflow_owner_id(Option<String>)
:
required: falseThe ID of the workflow owner.
- On success, responds with
GetWorkflowOutput
with field(s):arn(Option<String>)
:The workflow’s ARN.
id(Option<String>)
:The workflow’s ID.
status(Option<WorkflowStatus>)
:The workflow’s status.
r#type(Option<WorkflowType>)
:The workflow’s type.
name(Option<String>)
:The workflow’s name.
description(Option<String>)
:The workflow’s description.
engine(Option<WorkflowEngine>)
:The workflow’s engine.
definition(Option<String>)
:The workflow’s definition.
main(Option<String>)
:The path of the main definition file for the workflow.
digest(Option<String>)
:The workflow’s digest.
parameter_template(Option<HashMap::<String, WorkflowParameter>>)
:The workflow’s parameter template.
storage_capacity(Option<i32>)
:The default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.
creation_time(Option<DateTime>)
:When the workflow was created.
status_message(Option<String>)
:The workflow’s status message.
tags(Option<HashMap::<String, String>>)
:The workflow’s tags.
metadata(Option<HashMap::<String, String>>)
:Gets metadata for the workflow.
accelerators(Option<Accelerators>)
:The computational accelerator specified to run the workflow.
storage_type(Option<StorageType>)
:The default storage type for runs using this workflow.
uuid(Option<String>)
:The universally unique identifier (UUID) value for this workflow.
- On failure, responds with
SdkError<GetWorkflowError>
Source§impl Client
impl Client
Sourcepub fn get_workflow_version(&self) -> GetWorkflowVersionFluentBuilder
pub fn get_workflow_version(&self) -> GetWorkflowVersionFluentBuilder
Constructs a fluent builder for the GetWorkflowVersion
operation.
- The fluent builder is configurable:
workflow_id(impl Into<String>)
/set_workflow_id(Option<String>)
:
required: trueThe workflow’s ID.
version_name(impl Into<String>)
/set_version_name(Option<String>)
:
required: trueThe workflow version name.
r#type(WorkflowType)
/set_type(Option<WorkflowType>)
:
required: falseThe workflow’s type.
export(WorkflowExport)
/set_export(Option<Vec::<WorkflowExport>>)
:
required: falseThe export format for the workflow.
workflow_owner_id(impl Into<String>)
/set_workflow_owner_id(Option<String>)
:
required: falseAmazon Web Services Id of the owner of the workflow.
- On success, responds with
GetWorkflowVersionOutput
with field(s):arn(Option<String>)
:ARN of the workflow version.
workflow_id(Option<String>)
:The workflow’s ID.
version_name(Option<String>)
:The workflow version name.
accelerators(Option<Accelerators>)
:The accelerator for this workflow version.
creation_time(Option<DateTime>)
:When the workflow version was created.
description(Option<String>)
:Description of the workflow version.
definition(Option<String>)
:Definition of the workflow version.
digest(Option<String>)
:The workflow version’s digest.
engine(Option<WorkflowEngine>)
:The workflow engine for this workflow version.
main(Option<String>)
:The path of the main definition file for the workflow.
metadata(Option<HashMap::<String, String>>)
:The metadata for the workflow version.
parameter_template(Option<HashMap::<String, WorkflowParameter>>)
:The parameter template for the workflow version.
status(Option<WorkflowStatus>)
:The workflow version status
status_message(Option<String>)
:The workflow version status message
storage_type(Option<StorageType>)
:The default storage type for the run.
storage_capacity(Option<i32>)
:The default run storage capacity for static storage.
r#type(Option<WorkflowType>)
:The workflow version type
tags(Option<HashMap::<String, String>>)
:The workflow version tags
uuid(Option<String>)
:The universally unique identifier (UUID) value for this workflow version
workflow_bucket_owner_id(Option<String>)
:Amazon Web Services Id of the owner of the bucket.
- On failure, responds with
SdkError<GetWorkflowVersionError>
Source§impl Client
impl Client
Sourcepub fn list_annotation_import_jobs(
&self,
) -> ListAnnotationImportJobsFluentBuilder
pub fn list_annotation_import_jobs( &self, ) -> ListAnnotationImportJobsFluentBuilder
Constructs a fluent builder for the ListAnnotationImportJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of jobs to return in one page of results.
ids(impl Into<String>)
/set_ids(Option<Vec::<String>>)
:
required: falseIDs of annotation import jobs to retrieve.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecifies the pagination token from a previous request to retrieve the next page of results.
filter(ListAnnotationImportJobsFilter)
/set_filter(Option<ListAnnotationImportJobsFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListAnnotationImportJobsOutput
with field(s):annotation_import_jobs(Option<Vec::<AnnotationImportJobItem>>)
:A list of jobs.
next_token(Option<String>)
:Specifies the pagination token from a previous request to retrieve the next page of results.
- On failure, responds with
SdkError<ListAnnotationImportJobsError>
Source§impl Client
impl Client
Sourcepub fn list_annotation_store_versions(
&self,
) -> ListAnnotationStoreVersionsFluentBuilder
pub fn list_annotation_store_versions( &self, ) -> ListAnnotationStoreVersionsFluentBuilder
Constructs a fluent builder for the ListAnnotationStoreVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of an annotation store.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of annotation store versions to return in one page of results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecifies the pagination token from a previous request to retrieve the next page of results.
filter(ListAnnotationStoreVersionsFilter)
/set_filter(Option<ListAnnotationStoreVersionsFilter>)
:
required: falseA filter to apply to the list of annotation store versions.
- On success, responds with
ListAnnotationStoreVersionsOutput
with field(s):annotation_store_versions(Option<Vec::<AnnotationStoreVersionItem>>)
:Lists all versions of an annotation store.
next_token(Option<String>)
:Specifies the pagination token from a previous request to retrieve the next page of results.
- On failure, responds with
SdkError<ListAnnotationStoreVersionsError>
Source§impl Client
impl Client
Sourcepub fn list_annotation_stores(&self) -> ListAnnotationStoresFluentBuilder
pub fn list_annotation_stores(&self) -> ListAnnotationStoresFluentBuilder
Constructs a fluent builder for the ListAnnotationStores
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
ids(impl Into<String>)
/set_ids(Option<Vec::<String>>)
:
required: falseIDs of stores to list.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of stores to return in one page of results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
filter(ListAnnotationStoresFilter)
/set_filter(Option<ListAnnotationStoresFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListAnnotationStoresOutput
with field(s):annotation_stores(Option<Vec::<AnnotationStoreItem>>)
:A list of stores.
next_token(Option<String>)
:A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListAnnotationStoresError>
Source§impl Client
impl Client
Sourcepub fn list_multipart_read_set_uploads(
&self,
) -> ListMultipartReadSetUploadsFluentBuilder
pub fn list_multipart_read_set_uploads( &self, ) -> ListMultipartReadSetUploadsFluentBuilder
Constructs a fluent builder for the ListMultipartReadSetUploads
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe Sequence Store ID used for the multipart uploads.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of multipart uploads returned in a page.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNext token returned in the response of a previous ListMultipartReadSetUploads call. Used to get the next page of results.
- On success, responds with
ListMultipartReadSetUploadsOutput
with field(s):next_token(Option<String>)
:Next token returned in the response of a previous ListMultipartReadSetUploads call. Used to get the next page of results.
uploads(Option<Vec::<MultipartReadSetUploadListItem>>)
:An array of multipart uploads.
- On failure, responds with
SdkError<ListMultipartReadSetUploadsError>
Source§impl Client
impl Client
Sourcepub fn list_read_set_activation_jobs(
&self,
) -> ListReadSetActivationJobsFluentBuilder
pub fn list_read_set_activation_jobs( &self, ) -> ListReadSetActivationJobsFluentBuilder
Constructs a fluent builder for the ListReadSetActivationJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe read set’s sequence store ID.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of read set activation jobs to return in one page of results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
filter(ActivateReadSetFilter)
/set_filter(Option<ActivateReadSetFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListReadSetActivationJobsOutput
with field(s):next_token(Option<String>)
:A pagination token that’s included if more results are available.
activation_jobs(Option<Vec::<ActivateReadSetJobItem>>)
:A list of jobs.
- On failure, responds with
SdkError<ListReadSetActivationJobsError>
Source§impl Client
impl Client
Sourcepub fn list_read_set_export_jobs(&self) -> ListReadSetExportJobsFluentBuilder
pub fn list_read_set_export_jobs(&self) -> ListReadSetExportJobsFluentBuilder
Constructs a fluent builder for the ListReadSetExportJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe jobs’ sequence store ID.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of jobs to return in one page of results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
filter(ExportReadSetFilter)
/set_filter(Option<ExportReadSetFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListReadSetExportJobsOutput
with field(s):next_token(Option<String>)
:A pagination token that’s included if more results are available.
export_jobs(Option<Vec::<ExportReadSetJobDetail>>)
:A list of jobs.
- On failure, responds with
SdkError<ListReadSetExportJobsError>
Source§impl Client
impl Client
Sourcepub fn list_read_set_import_jobs(&self) -> ListReadSetImportJobsFluentBuilder
pub fn list_read_set_import_jobs(&self) -> ListReadSetImportJobsFluentBuilder
Constructs a fluent builder for the ListReadSetImportJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of jobs to return in one page of results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe jobs’ sequence store ID.
filter(ImportReadSetFilter)
/set_filter(Option<ImportReadSetFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListReadSetImportJobsOutput
with field(s):next_token(Option<String>)
:A pagination token that’s included if more results are available.
import_jobs(Option<Vec::<ImportReadSetJobItem>>)
:A list of jobs.
- On failure, responds with
SdkError<ListReadSetImportJobsError>
Source§impl Client
impl Client
Sourcepub fn list_read_set_upload_parts(&self) -> ListReadSetUploadPartsFluentBuilder
pub fn list_read_set_upload_parts(&self) -> ListReadSetUploadPartsFluentBuilder
Constructs a fluent builder for the ListReadSetUploadParts
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe Sequence Store ID used for the multipart uploads.
upload_id(impl Into<String>)
/set_upload_id(Option<String>)
:
required: trueThe ID for the initiated multipart upload.
part_source(ReadSetPartSource)
/set_part_source(Option<ReadSetPartSource>)
:
required: trueThe source file for the upload part.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of read set upload parts returned in a page.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNext token returned in the response of a previous ListReadSetUploadPartsRequest call. Used to get the next page of results.
filter(ReadSetUploadPartListFilter)
/set_filter(Option<ReadSetUploadPartListFilter>)
:
required: falseAttributes used to filter for a specific subset of read set part uploads.
- On success, responds with
ListReadSetUploadPartsOutput
with field(s):next_token(Option<String>)
:Next token returned in the response of a previous ListReadSetUploadParts call. Used to get the next page of results.
parts(Option<Vec::<ReadSetUploadPartListItem>>)
:An array of upload parts.
- On failure, responds with
SdkError<ListReadSetUploadPartsError>
Source§impl Client
impl Client
Sourcepub fn list_read_sets(&self) -> ListReadSetsFluentBuilder
pub fn list_read_sets(&self) -> ListReadSetsFluentBuilder
Constructs a fluent builder for the ListReadSets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe jobs’ sequence store ID.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of read sets to return in one page of results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
filter(ReadSetFilter)
/set_filter(Option<ReadSetFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListReadSetsOutput
with field(s):next_token(Option<String>)
:A pagination token that’s included if more results are available.
read_sets(Vec::<ReadSetListItem>)
:A list of read sets.
- On failure, responds with
SdkError<ListReadSetsError>
Source§impl Client
impl Client
Sourcepub fn list_reference_import_jobs(&self) -> ListReferenceImportJobsFluentBuilder
pub fn list_reference_import_jobs(&self) -> ListReferenceImportJobsFluentBuilder
Constructs a fluent builder for the ListReferenceImportJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of jobs to return in one page of results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
reference_store_id(impl Into<String>)
/set_reference_store_id(Option<String>)
:
required: trueThe job’s reference store ID.
filter(ImportReferenceFilter)
/set_filter(Option<ImportReferenceFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListReferenceImportJobsOutput
with field(s):next_token(Option<String>)
:A pagination token that’s included if more results are available.
import_jobs(Option<Vec::<ImportReferenceJobItem>>)
:A lis of jobs.
- On failure, responds with
SdkError<ListReferenceImportJobsError>
Source§impl Client
impl Client
Sourcepub fn list_reference_stores(&self) -> ListReferenceStoresFluentBuilder
pub fn list_reference_stores(&self) -> ListReferenceStoresFluentBuilder
Constructs a fluent builder for the ListReferenceStores
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of stores to return in one page of results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
filter(ReferenceStoreFilter)
/set_filter(Option<ReferenceStoreFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListReferenceStoresOutput
with field(s):next_token(Option<String>)
:A pagination token that’s included if more results are available.
reference_stores(Vec::<ReferenceStoreDetail>)
:A list of reference stores.
- On failure, responds with
SdkError<ListReferenceStoresError>
Source§impl Client
impl Client
Sourcepub fn list_references(&self) -> ListReferencesFluentBuilder
pub fn list_references(&self) -> ListReferencesFluentBuilder
Constructs a fluent builder for the ListReferences
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
reference_store_id(impl Into<String>)
/set_reference_store_id(Option<String>)
:
required: trueThe references’ reference store ID.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of references to return in one page of results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
filter(ReferenceFilter)
/set_filter(Option<ReferenceFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListReferencesOutput
with field(s):next_token(Option<String>)
:A pagination token that’s included if more results are available.
references(Vec::<ReferenceListItem>)
:A list of references.
- On failure, responds with
SdkError<ListReferencesError>
Source§impl Client
impl Client
Sourcepub fn list_run_caches(&self) -> ListRunCachesFluentBuilder
pub fn list_run_caches(&self) -> ListRunCachesFluentBuilder
Constructs a fluent builder for the ListRunCaches
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return.
starting_token(impl Into<String>)
/set_starting_token(Option<String>)
:
required: falseOptional pagination token returned from a prior call to the
ListRunCaches
API operation.
- On success, responds with
ListRunCachesOutput
with field(s):items(Option<Vec::<RunCacheListItem>>)
:Details about each run cache in the response.
next_token(Option<String>)
:Pagination token to retrieve additional run caches. If the response does not have a
nextToken
value, you have reached to the end of the list.
- On failure, responds with
SdkError<ListRunCachesError>
Source§impl Client
impl Client
Sourcepub fn list_run_groups(&self) -> ListRunGroupsFluentBuilder
pub fn list_run_groups(&self) -> ListRunGroupsFluentBuilder
Constructs a fluent builder for the ListRunGroups
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe run groups’ name.
starting_token(impl Into<String>)
/set_starting_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of run groups to return in one page of results.
- On success, responds with
ListRunGroupsOutput
with field(s):items(Option<Vec::<RunGroupListItem>>)
:A list of groups.
next_token(Option<String>)
:A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListRunGroupsError>
Source§impl Client
impl Client
Sourcepub fn list_run_tasks(&self) -> ListRunTasksFluentBuilder
pub fn list_run_tasks(&self) -> ListRunTasksFluentBuilder
Constructs a fluent builder for the ListRunTasks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe run’s ID.
status(TaskStatus)
/set_status(Option<TaskStatus>)
:
required: falseFilter the list by status.
starting_token(impl Into<String>)
/set_starting_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of run tasks to return in one page of results.
- On success, responds with
ListRunTasksOutput
with field(s):items(Option<Vec::<TaskListItem>>)
:A list of tasks.
next_token(Option<String>)
:A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListRunTasksError>
Source§impl Client
impl Client
Sourcepub fn list_runs(&self) -> ListRunsFluentBuilder
pub fn list_runs(&self) -> ListRunsFluentBuilder
Constructs a fluent builder for the ListRuns
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseFilter the list by run name.
run_group_id(impl Into<String>)
/set_run_group_id(Option<String>)
:
required: falseFilter the list by run group ID.
starting_token(impl Into<String>)
/set_starting_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of runs to return in one page of results.
status(RunStatus)
/set_status(Option<RunStatus>)
:
required: falseThe status of a run.
- On success, responds with
ListRunsOutput
with field(s):items(Option<Vec::<RunListItem>>)
:A list of runs.
next_token(Option<String>)
:A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListRunsError>
Source§impl Client
impl Client
Sourcepub fn list_sequence_stores(&self) -> ListSequenceStoresFluentBuilder
pub fn list_sequence_stores(&self) -> ListSequenceStoresFluentBuilder
Constructs a fluent builder for the ListSequenceStores
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of stores to return in one page of results.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
filter(SequenceStoreFilter)
/set_filter(Option<SequenceStoreFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListSequenceStoresOutput
with field(s):next_token(Option<String>)
:A pagination token that’s included if more results are available.
sequence_stores(Vec::<SequenceStoreDetail>)
:A list of sequence stores.
- On failure, responds with
SdkError<ListSequenceStoresError>
Source§impl Client
impl Client
Constructs a fluent builder for the ListShares
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
resource_owner(ResourceOwner)
/set_resource_owner(Option<ResourceOwner>)
:
required: trueThe account that owns the resource shares.
filter(Filter)
/set_filter(Option<Filter>)
:
required: falseAttributes that you use to filter for a specific subset of resource shares.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseNext token returned in the response of a previous ListReadSetUploadPartsRequest call. Used to get the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of shares to return in one page of results.
- On success, responds with
ListSharesOutput
with field(s):shares(Vec::<ShareDetails>)
:The shares available and their metadata details.
next_token(Option<String>)
:Next token returned in the response of a previous ListSharesResponse call. Used to get the next page of results.
- On failure, responds with
SdkError<ListSharesError>
Source§impl Client
impl Client
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe resource’s ARN.
- On success, responds with
ListTagsForResourceOutput
with field(s):tags(HashMap::<String, String>)
:A list of tags.
- On failure, responds with
SdkError<ListTagsForResourceError>
Source§impl Client
impl Client
Sourcepub fn list_variant_import_jobs(&self) -> ListVariantImportJobsFluentBuilder
pub fn list_variant_import_jobs(&self) -> ListVariantImportJobsFluentBuilder
Constructs a fluent builder for the ListVariantImportJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of import jobs to return in one page of results.
ids(impl Into<String>)
/set_ids(Option<Vec::<String>>)
:
required: falseA list of job IDs.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
filter(ListVariantImportJobsFilter)
/set_filter(Option<ListVariantImportJobsFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListVariantImportJobsOutput
with field(s):variant_import_jobs(Option<Vec::<VariantImportJobItem>>)
:A list of jobs.
next_token(Option<String>)
:A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListVariantImportJobsError>
Source§impl Client
impl Client
Sourcepub fn list_variant_stores(&self) -> ListVariantStoresFluentBuilder
pub fn list_variant_stores(&self) -> ListVariantStoresFluentBuilder
Constructs a fluent builder for the ListVariantStores
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of stores to return in one page of results.
ids(impl Into<String>)
/set_ids(Option<Vec::<String>>)
:
required: falseA list of store IDs.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
filter(ListVariantStoresFilter)
/set_filter(Option<ListVariantStoresFilter>)
:
required: falseA filter to apply to the list.
- On success, responds with
ListVariantStoresOutput
with field(s):variant_stores(Option<Vec::<VariantStoreItem>>)
:A list of variant stores.
next_token(Option<String>)
:A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListVariantStoresError>
Source§impl Client
impl Client
Sourcepub fn list_workflow_versions(&self) -> ListWorkflowVersionsFluentBuilder
pub fn list_workflow_versions(&self) -> ListWorkflowVersionsFluentBuilder
Constructs a fluent builder for the ListWorkflowVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
workflow_id(impl Into<String>)
/set_workflow_id(Option<String>)
:
required: trueThe workflow’s ID.
r#type(WorkflowType)
/set_type(Option<WorkflowType>)
:
required: falseThe workflow type.
workflow_owner_id(impl Into<String>)
/set_workflow_owner_id(Option<String>)
:
required: falseAmazon Web Services Id of the owner of the workflow.
starting_token(impl Into<String>)
/set_starting_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of workflows to return in one page of results.
- On success, responds with
ListWorkflowVersionsOutput
with field(s):items(Option<Vec::<WorkflowVersionListItem>>)
:A list of workflow version items.
next_token(Option<String>)
:A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListWorkflowVersionsError>
Source§impl Client
impl Client
Sourcepub fn list_workflows(&self) -> ListWorkflowsFluentBuilder
pub fn list_workflows(&self) -> ListWorkflowsFluentBuilder
Constructs a fluent builder for the ListWorkflows
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
r#type(WorkflowType)
/set_type(Option<WorkflowType>)
:
required: falseFilter the list by workflow type.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseFilter the list by workflow name.
starting_token(impl Into<String>)
/set_starting_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of workflows to return in one page of results.
- On success, responds with
ListWorkflowsOutput
with field(s):items(Option<Vec::<WorkflowListItem>>)
:A list of workflow items.
next_token(Option<String>)
:A pagination token that’s included if more results are available.
- On failure, responds with
SdkError<ListWorkflowsError>
Source§impl Client
impl Client
Sourcepub fn put_s3_access_policy(&self) -> PutS3AccessPolicyFluentBuilder
pub fn put_s3_access_policy(&self) -> PutS3AccessPolicyFluentBuilder
Constructs a fluent builder for the PutS3AccessPolicy
operation.
- The fluent builder is configurable:
s3_access_point_arn(impl Into<String>)
/set_s3_access_point_arn(Option<String>)
:
required: trueThe S3 access point ARN where you want to put the access policy.
s3_access_policy(impl Into<String>)
/set_s3_access_policy(Option<String>)
:
required: trueThe resource policy that controls S3 access to the store.
- On success, responds with
PutS3AccessPolicyOutput
with field(s):s3_access_point_arn(Option<String>)
:The S3 access point ARN that now has the access policy.
store_id(Option<String>)
:The Amazon Web Services-generated Sequence Store or Reference Store ID.
store_type(Option<StoreType>)
:The type of store associated with the access point.
- On failure, responds with
SdkError<PutS3AccessPolicyError>
Source§impl Client
impl Client
Sourcepub fn start_annotation_import_job(
&self,
) -> StartAnnotationImportJobFluentBuilder
pub fn start_annotation_import_job( &self, ) -> StartAnnotationImportJobFluentBuilder
Constructs a fluent builder for the StartAnnotationImportJob
operation.
- The fluent builder is configurable:
destination_name(impl Into<String>)
/set_destination_name(Option<String>)
:
required: trueA destination annotation store for the job.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueA service role for the job.
items(AnnotationImportItemSource)
/set_items(Option<Vec::<AnnotationImportItemSource>>)
:
required: trueItems to import.
version_name(impl Into<String>)
/set_version_name(Option<String>)
:
required: falseThe name of the annotation store version.
format_options(FormatOptions)
/set_format_options(Option<FormatOptions>)
:
required: falseFormatting options for the annotation file.
run_left_normalization(bool)
/set_run_left_normalization(Option<bool>)
:
required: falseThe job’s left normalization setting.
annotation_fields(impl Into<String>, impl Into<String>)
/set_annotation_fields(Option<HashMap::<String, String>>)
:
required: falseThe annotation schema generated by the parsed annotation data.
- On success, responds with
StartAnnotationImportJobOutput
with field(s):job_id(String)
:The job’s ID.
- On failure, responds with
SdkError<StartAnnotationImportJobError>
Source§impl Client
impl Client
Sourcepub fn start_read_set_activation_job(
&self,
) -> StartReadSetActivationJobFluentBuilder
pub fn start_read_set_activation_job( &self, ) -> StartReadSetActivationJobFluentBuilder
Constructs a fluent builder for the StartReadSetActivationJob
operation.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe read set’s sequence store ID.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseTo ensure that jobs don’t run multiple times, specify a unique token for each job.
sources(StartReadSetActivationJobSourceItem)
/set_sources(Option<Vec::<StartReadSetActivationJobSourceItem>>)
:
required: trueThe job’s source files.
- On success, responds with
StartReadSetActivationJobOutput
with field(s):id(String)
:The job’s ID.
sequence_store_id(String)
:The read set’s sequence store ID.
status(ReadSetActivationJobStatus)
:The job’s status.
creation_time(DateTime)
:When the job was created.
- On failure, responds with
SdkError<StartReadSetActivationJobError>
Source§impl Client
impl Client
Sourcepub fn start_read_set_export_job(&self) -> StartReadSetExportJobFluentBuilder
pub fn start_read_set_export_job(&self) -> StartReadSetExportJobFluentBuilder
Constructs a fluent builder for the StartReadSetExportJob
operation.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe read set’s sequence store ID.
destination(impl Into<String>)
/set_destination(Option<String>)
:
required: trueA location for exported files in Amazon S3.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueA service role for the job.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseTo ensure that jobs don’t run multiple times, specify a unique token for each job.
sources(ExportReadSet)
/set_sources(Option<Vec::<ExportReadSet>>)
:
required: trueThe job’s source files.
- On success, responds with
StartReadSetExportJobOutput
with field(s):id(String)
:The job’s ID.
sequence_store_id(String)
:The read set’s sequence store ID.
destination(String)
:The job’s output location.
status(ReadSetExportJobStatus)
:The job’s status.
creation_time(DateTime)
:When the job was created.
- On failure, responds with
SdkError<StartReadSetExportJobError>
Source§impl Client
impl Client
Sourcepub fn start_read_set_import_job(&self) -> StartReadSetImportJobFluentBuilder
pub fn start_read_set_import_job(&self) -> StartReadSetImportJobFluentBuilder
Constructs a fluent builder for the StartReadSetImportJob
operation.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe read set’s sequence store ID.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueA service role for the job.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseTo ensure that jobs don’t run multiple times, specify a unique token for each job.
sources(StartReadSetImportJobSourceItem)
/set_sources(Option<Vec::<StartReadSetImportJobSourceItem>>)
:
required: trueThe job’s source files.
- On success, responds with
StartReadSetImportJobOutput
with field(s):id(String)
:The job’s ID.
sequence_store_id(String)
:The read set’s sequence store ID.
role_arn(String)
:The job’s service role ARN.
status(ReadSetImportJobStatus)
:The job’s status.
creation_time(DateTime)
:When the job was created.
- On failure, responds with
SdkError<StartReadSetImportJobError>
Source§impl Client
impl Client
Sourcepub fn start_reference_import_job(&self) -> StartReferenceImportJobFluentBuilder
pub fn start_reference_import_job(&self) -> StartReferenceImportJobFluentBuilder
Constructs a fluent builder for the StartReferenceImportJob
operation.
- The fluent builder is configurable:
reference_store_id(impl Into<String>)
/set_reference_store_id(Option<String>)
:
required: trueThe job’s reference store ID.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueA service role for the job.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseTo ensure that jobs don’t run multiple times, specify a unique token for each job.
sources(StartReferenceImportJobSourceItem)
/set_sources(Option<Vec::<StartReferenceImportJobSourceItem>>)
:
required: trueThe job’s source files.
- On success, responds with
StartReferenceImportJobOutput
with field(s):id(String)
:The job’s ID.
reference_store_id(String)
:The job’s reference store ID.
role_arn(String)
:The job’s service role ARN.
status(ReferenceImportJobStatus)
:The job’s status.
creation_time(DateTime)
:When the job was created.
- On failure, responds with
SdkError<StartReferenceImportJobError>
Source§impl Client
impl Client
Sourcepub fn start_run(&self) -> StartRunFluentBuilder
pub fn start_run(&self) -> StartRunFluentBuilder
Constructs a fluent builder for the StartRun
operation.
- The fluent builder is configurable:
workflow_id(impl Into<String>)
/set_workflow_id(Option<String>)
:
required: falseThe run’s workflow ID.
workflow_type(WorkflowType)
/set_workflow_type(Option<WorkflowType>)
:
required: falseThe run’s workflow type.
run_id(impl Into<String>)
/set_run_id(Option<String>)
:
required: falseThe ID of a run to duplicate.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueA service role for the run.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseA name for the run.
cache_id(impl Into<String>)
/set_cache_id(Option<String>)
:
required: falseIdentifier of the cache associated with this run. If you don’t specify a cache ID, no task outputs are cached for this run.
cache_behavior(CacheBehavior)
/set_cache_behavior(Option<CacheBehavior>)
:
required: falseThe cache behavior for the run. You specify this value if you want to override the default behavior for the cache. You had set the default value when you created the cache. For more information, see Run cache behavior in the Amazon Web Services HealthOmics User Guide.
run_group_id(impl Into<String>)
/set_run_group_id(Option<String>)
:
required: falseThe run’s group ID.
priority(i32)
/set_priority(Option<i32>)
:
required: falseA priority for the run.
parameters(Document)
/set_parameters(Option<Document>)
:
required: falseParameters for the run.
storage_capacity(i32)
/set_storage_capacity(Option<i32>)
:
required: falseThe static storage capacity (in gibibytes) for this run. This field is not required if the storage type is dynamic (the system ignores any value that you enter).
output_uri(impl Into<String>)
/set_output_uri(Option<String>)
:
required: falseAn output URI for the run.
log_level(RunLogLevel)
/set_log_level(Option<RunLogLevel>)
:
required: falseA log level for the run.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: falseTags for the run.
request_id(impl Into<String>)
/set_request_id(Option<String>)
:
required: trueTo ensure that requests don’t run multiple times, specify a unique ID for each request.
retention_mode(RunRetentionMode)
/set_retention_mode(Option<RunRetentionMode>)
:
required: falseThe retention mode for the run. The default value is RETAIN.
Amazon Web Services HealthOmics stores a fixed number of runs that are available to the console and API. In the default mode (RETAIN), you need to remove runs manually when the number of run exceeds the maximum. If you set the retention mode to
REMOVE
, Amazon Web Services HealthOmics automatically removes runs (that have mode set to REMOVE) when the number of run exceeds the maximum. All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API.For more information about retention mode, see Specifying run retention mode in the Amazon Web Services HealthOmics User Guide.
storage_type(StorageType)
/set_storage_type(Option<StorageType>)
:
required: falseThe storage type for the run. By default, the run uses STATIC storage type, which allocates a fixed amount of storage. If you set the storage type to DYNAMIC, Amazon Web Services HealthOmics dynamically scales the storage up or down, based on file system utilization. For more information about static and dynamic storage, see Running workflows in the Amazon Web Services HealthOmics User Guide.
workflow_owner_id(impl Into<String>)
/set_workflow_owner_id(Option<String>)
:
required: falseThe ID of the workflow owner.
workflow_version_name(impl Into<String>)
/set_workflow_version_name(Option<String>)
:
required: falseThe name of the workflow version.
- On success, responds with
StartRunOutput
with field(s):arn(Option<String>)
:Unique resource identifier for the run.
id(Option<String>)
:The run’s ID.
status(Option<RunStatus>)
:The run’s status.
tags(Option<HashMap::<String, String>>)
:The run’s tags.
uuid(Option<String>)
:The universally unique identifier for a run.
run_output_uri(Option<String>)
:The destination for workflow outputs.
- On failure, responds with
SdkError<StartRunError>
Source§impl Client
impl Client
Sourcepub fn start_variant_import_job(&self) -> StartVariantImportJobFluentBuilder
pub fn start_variant_import_job(&self) -> StartVariantImportJobFluentBuilder
Constructs a fluent builder for the StartVariantImportJob
operation.
- The fluent builder is configurable:
destination_name(impl Into<String>)
/set_destination_name(Option<String>)
:
required: trueThe destination variant store for the job.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueA service role for the job.
items(VariantImportItemSource)
/set_items(Option<Vec::<VariantImportItemSource>>)
:
required: trueItems to import.
run_left_normalization(bool)
/set_run_left_normalization(Option<bool>)
:
required: falseThe job’s left normalization setting.
annotation_fields(impl Into<String>, impl Into<String>)
/set_annotation_fields(Option<HashMap::<String, String>>)
:
required: falseThe annotation schema generated by the parsed annotation data.
- On success, responds with
StartVariantImportJobOutput
with field(s):job_id(String)
:The job’s ID.
- On failure, responds with
SdkError<StartVariantImportJobError>
Source§impl Client
impl Client
Sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe resource’s ARN.
tags(impl Into<String>, impl Into<String>)
/set_tags(Option<HashMap::<String, String>>)
:
required: trueTags for the resource.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
Source§impl Client
impl Client
Sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe resource’s ARN.
tag_keys(impl Into<String>)
/set_tag_keys(Option<Vec::<String>>)
:
required: trueKeys of tags to remove.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
Source§impl Client
impl Client
Sourcepub fn update_annotation_store(&self) -> UpdateAnnotationStoreFluentBuilder
pub fn update_annotation_store(&self) -> UpdateAnnotationStoreFluentBuilder
Constructs a fluent builder for the UpdateAnnotationStore
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueA name for the store.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the store.
- On success, responds with
UpdateAnnotationStoreOutput
with field(s):id(String)
:The store’s ID.
reference(Option<ReferenceItem>)
:The store’s genome reference.
status(StoreStatus)
:The store’s status.
name(String)
:The store’s name.
description(String)
:The store’s description.
creation_time(DateTime)
:When the store was created.
update_time(DateTime)
:When the store was updated.
store_options(Option<StoreOptions>)
:Parsing options for the store.
store_format(Option<StoreFormat>)
:The annotation file format of the store.
- On failure, responds with
SdkError<UpdateAnnotationStoreError>
Source§impl Client
impl Client
Sourcepub fn update_annotation_store_version(
&self,
) -> UpdateAnnotationStoreVersionFluentBuilder
pub fn update_annotation_store_version( &self, ) -> UpdateAnnotationStoreVersionFluentBuilder
Constructs a fluent builder for the UpdateAnnotationStoreVersion
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of an annotation store.
version_name(impl Into<String>)
/set_version_name(Option<String>)
:
required: trueThe name of an annotation store version.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of an annotation store.
- On success, responds with
UpdateAnnotationStoreVersionOutput
with field(s):store_id(String)
:The annotation store ID.
id(String)
:The annotation store version ID.
status(VersionStatus)
:The status of an annotation store version.
name(String)
:The name of an annotation store.
version_name(String)
:The name of an annotation store version.
description(String)
:The description of an annotation store version.
creation_time(DateTime)
:The time stamp for when an annotation store version was created.
update_time(DateTime)
:The time stamp for when an annotation store version was updated.
- On failure, responds with
SdkError<UpdateAnnotationStoreVersionError>
Source§impl Client
impl Client
Sourcepub fn update_run_cache(&self) -> UpdateRunCacheFluentBuilder
pub fn update_run_cache(&self) -> UpdateRunCacheFluentBuilder
Constructs a fluent builder for the UpdateRunCache
operation.
- The fluent builder is configurable:
cache_behavior(CacheBehavior)
/set_cache_behavior(Option<CacheBehavior>)
:
required: falseUpdate the default run cache behavior.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseUpdate the run cache description.
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe identifier of the run cache you want to update.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseUpdate the name of the run cache.
- On success, responds with
UpdateRunCacheOutput
- On failure, responds with
SdkError<UpdateRunCacheError>
Source§impl Client
impl Client
Sourcepub fn update_run_group(&self) -> UpdateRunGroupFluentBuilder
pub fn update_run_group(&self) -> UpdateRunGroupFluentBuilder
Constructs a fluent builder for the UpdateRunGroup
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe group’s ID.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseA name for the group.
max_cpus(i32)
/set_max_cpus(Option<i32>)
:
required: falseThe maximum number of CPUs to use.
max_runs(i32)
/set_max_runs(Option<i32>)
:
required: falseThe maximum number of concurrent runs for the group.
max_duration(i32)
/set_max_duration(Option<i32>)
:
required: falseA maximum run time for the group in minutes.
max_gpus(i32)
/set_max_gpus(Option<i32>)
:
required: falseThe maximum GPUs that can be used by a run group.
- On success, responds with
UpdateRunGroupOutput
- On failure, responds with
SdkError<UpdateRunGroupError>
Source§impl Client
impl Client
Sourcepub fn update_sequence_store(&self) -> UpdateSequenceStoreFluentBuilder
pub fn update_sequence_store(&self) -> UpdateSequenceStoreFluentBuilder
Constructs a fluent builder for the UpdateSequenceStore
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe ID of the sequence store.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseA name for the sequence store.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the sequence store.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseTo ensure that requests don’t run multiple times, specify a unique token for each request.
fallback_location(impl Into<String>)
/set_fallback_location(Option<String>)
:
required: falseThe S3 URI of a bucket and folder to store Read Sets that fail to upload.
propagated_set_level_tags(impl Into<String>)
/set_propagated_set_level_tags(Option<Vec::<String>>)
:
required: falseThe tags keys to propagate to the S3 objects associated with read sets in the sequence store.
s3_access_config(S3AccessConfig)
/set_s3_access_config(Option<S3AccessConfig>)
:
required: falseS3 access configuration parameters.
- On success, responds with
UpdateSequenceStoreOutput
with field(s):id(String)
:The ID of the sequence store.
arn(String)
:The ARN of the sequence store.
name(Option<String>)
:The name of the sequence store.
description(Option<String>)
:Description of the sequence store.
sse_config(Option<SseConfig>)
:Server-side encryption (SSE) settings for a store.
creation_time(DateTime)
:The time when the store was created.
update_time(Option<DateTime>)
:The last-updated time of the Sequence Store.
propagated_set_level_tags(Option<Vec::<String>>)
:The tags keys to propagate to the S3 objects associated with read sets in the sequence store.
status(Option<SequenceStoreStatus>)
:The status of the sequence store.
status_message(Option<String>)
:The status message of the sequence store.
fallback_location(Option<String>)
:The S3 URI of a bucket and folder to store Read Sets that fail to upload.
s3_access(Option<SequenceStoreS3Access>)
:The S3 access metadata of the sequence store.
e_tag_algorithm_family(Option<ETagAlgorithmFamily>)
:The ETag algorithm family to use on ingested read sets.
- On failure, responds with
SdkError<UpdateSequenceStoreError>
Source§impl Client
impl Client
Sourcepub fn update_variant_store(&self) -> UpdateVariantStoreFluentBuilder
pub fn update_variant_store(&self) -> UpdateVariantStoreFluentBuilder
Constructs a fluent builder for the UpdateVariantStore
operation.
- The fluent builder is configurable:
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueA name for the store.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the store.
- On success, responds with
UpdateVariantStoreOutput
with field(s):id(String)
:The store’s ID.
reference(Option<ReferenceItem>)
:The store’s genome reference.
status(StoreStatus)
:The store’s status.
name(String)
:The store’s name.
description(String)
:The store’s description.
creation_time(DateTime)
:When the store was created.
update_time(DateTime)
:When the store was updated.
- On failure, responds with
SdkError<UpdateVariantStoreError>
Source§impl Client
impl Client
Sourcepub fn update_workflow(&self) -> UpdateWorkflowFluentBuilder
pub fn update_workflow(&self) -> UpdateWorkflowFluentBuilder
Constructs a fluent builder for the UpdateWorkflow
operation.
- The fluent builder is configurable:
id(impl Into<String>)
/set_id(Option<String>)
:
required: trueThe workflow’s ID.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseA name for the workflow.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the workflow.
storage_type(StorageType)
/set_storage_type(Option<StorageType>)
:
required: falseThe default storage type for runs that use this workflow. STATIC storage allocates a fixed amount of storage. DYNAMIC storage dynamically scales the storage up or down, based on file system utilization. For more information about static and dynamic storage, see Running workflows in the Amazon Web Services HealthOmics User Guide.
storage_capacity(i32)
/set_storage_capacity(Option<i32>)
:
required: falseThe default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.
- On success, responds with
UpdateWorkflowOutput
- On failure, responds with
SdkError<UpdateWorkflowError>
Source§impl Client
impl Client
Sourcepub fn update_workflow_version(&self) -> UpdateWorkflowVersionFluentBuilder
pub fn update_workflow_version(&self) -> UpdateWorkflowVersionFluentBuilder
Constructs a fluent builder for the UpdateWorkflowVersion
operation.
- The fluent builder is configurable:
workflow_id(impl Into<String>)
/set_workflow_id(Option<String>)
:
required: trueThe workflow’s ID.
version_name(impl Into<String>)
/set_version_name(Option<String>)
:
required: trueThe name of the workflow version.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseDescription of the workflow version.
storage_type(StorageType)
/set_storage_type(Option<StorageType>)
:
required: falseThe default storage type for runs that use this workflow. STATIC storage allocates a fixed amount of storage. DYNAMIC storage dynamically scales the storage up or down, based on file system utilization. For more information about static and dynamic storage, see Running workflows in the Amazon Web Services HealthOmics User Guide.
storage_capacity(i32)
/set_storage_capacity(Option<i32>)
:
required: falseThe default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.
- On success, responds with
UpdateWorkflowVersionOutput
- On failure, responds with
SdkError<UpdateWorkflowVersionError>
Source§impl Client
impl Client
Sourcepub fn upload_read_set_part(&self) -> UploadReadSetPartFluentBuilder
pub fn upload_read_set_part(&self) -> UploadReadSetPartFluentBuilder
Constructs a fluent builder for the UploadReadSetPart
operation.
- The fluent builder is configurable:
sequence_store_id(impl Into<String>)
/set_sequence_store_id(Option<String>)
:
required: trueThe Sequence Store ID used for the multipart upload.
upload_id(impl Into<String>)
/set_upload_id(Option<String>)
:
required: trueThe ID for the initiated multipart upload.
part_source(ReadSetPartSource)
/set_part_source(Option<ReadSetPartSource>)
:
required: trueThe source file for an upload part.
part_number(i32)
/set_part_number(Option<i32>)
:
required: trueThe number of the part being uploaded.
payload(ByteStream)
/set_payload(ByteStream)
:
required: trueThe read set data to upload for a part.
- On success, responds with
UploadReadSetPartOutput
with field(s):checksum(String)
:An identifier used to confirm that parts are being added to the intended upload.
- On failure, responds with
SdkError<UploadReadSetPartError>
Source§impl Client
impl Client
Sourcepub fn from_conf(conf: Config) -> Self
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
andtime_source
configured. - No
behavior_version
is provided.
The panic message for each of these will have instructions on how to resolve them.
Source§impl Client
impl Client
Sourcepub fn new(sdk_config: &SdkConfig) -> Self
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 thesleep_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 thehttp_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, setbehavior_version
on the Config or enable thebehavior-version-latest
Cargo feature.
Trait Implementations§
Source§impl Waiters for Client
impl Waiters for Client
Source§fn wait_until_annotation_import_job_created(
&self,
) -> AnnotationImportJobCreatedFluentBuilder
fn wait_until_annotation_import_job_created( &self, ) -> AnnotationImportJobCreatedFluentBuilder
Source§fn wait_until_annotation_store_created(
&self,
) -> AnnotationStoreCreatedFluentBuilder
fn wait_until_annotation_store_created( &self, ) -> AnnotationStoreCreatedFluentBuilder
Source§fn wait_until_annotation_store_deleted(
&self,
) -> AnnotationStoreDeletedFluentBuilder
fn wait_until_annotation_store_deleted( &self, ) -> AnnotationStoreDeletedFluentBuilder
Source§fn wait_until_annotation_store_version_created(
&self,
) -> AnnotationStoreVersionCreatedFluentBuilder
fn wait_until_annotation_store_version_created( &self, ) -> AnnotationStoreVersionCreatedFluentBuilder
Source§fn wait_until_annotation_store_version_deleted(
&self,
) -> AnnotationStoreVersionDeletedFluentBuilder
fn wait_until_annotation_store_version_deleted( &self, ) -> AnnotationStoreVersionDeletedFluentBuilder
Source§fn wait_until_read_set_activation_job_completed(
&self,
) -> ReadSetActivationJobCompletedFluentBuilder
fn wait_until_read_set_activation_job_completed( &self, ) -> ReadSetActivationJobCompletedFluentBuilder
Source§fn wait_until_read_set_export_job_completed(
&self,
) -> ReadSetExportJobCompletedFluentBuilder
fn wait_until_read_set_export_job_completed( &self, ) -> ReadSetExportJobCompletedFluentBuilder
Source§fn wait_until_read_set_import_job_completed(
&self,
) -> ReadSetImportJobCompletedFluentBuilder
fn wait_until_read_set_import_job_completed( &self, ) -> ReadSetImportJobCompletedFluentBuilder
Source§fn wait_until_reference_import_job_completed(
&self,
) -> ReferenceImportJobCompletedFluentBuilder
fn wait_until_reference_import_job_completed( &self, ) -> ReferenceImportJobCompletedFluentBuilder
Source§fn wait_until_run_running(&self) -> RunRunningFluentBuilder
fn wait_until_run_running(&self) -> RunRunningFluentBuilder
Source§fn wait_until_run_completed(&self) -> RunCompletedFluentBuilder
fn wait_until_run_completed(&self) -> RunCompletedFluentBuilder
Source§fn wait_until_task_running(&self) -> TaskRunningFluentBuilder
fn wait_until_task_running(&self) -> TaskRunningFluentBuilder
Source§fn wait_until_task_completed(&self) -> TaskCompletedFluentBuilder
fn wait_until_task_completed(&self) -> TaskCompletedFluentBuilder
Source§fn wait_until_variant_import_job_created(
&self,
) -> VariantImportJobCreatedFluentBuilder
fn wait_until_variant_import_job_created( &self, ) -> VariantImportJobCreatedFluentBuilder
Source§fn wait_until_variant_store_created(&self) -> VariantStoreCreatedFluentBuilder
fn wait_until_variant_store_created(&self) -> VariantStoreCreatedFluentBuilder
Source§fn wait_until_variant_store_deleted(&self) -> VariantStoreDeletedFluentBuilder
fn wait_until_variant_store_deleted(&self) -> VariantStoreDeletedFluentBuilder
Source§fn wait_until_workflow_active(&self) -> WorkflowActiveFluentBuilder
fn wait_until_workflow_active(&self) -> WorkflowActiveFluentBuilder
Source§fn wait_until_workflow_version_active(
&self,
) -> WorkflowVersionActiveFluentBuilder
fn wait_until_workflow_version_active( &self, ) -> WorkflowVersionActiveFluentBuilder
Auto Trait Implementations§
impl Freeze for Client
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);