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

Client for Amazon SageMaker Service

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

Examples

Constructing a client and invoking an operation

    // create a shared configuration. This can be used & shared between multiple service clients.
    let shared_config = aws_config::load_from_env().await;
    let client = aws_sdk_sagemaker::Client::new(&shared_config);
    // invoke an operation
    /* let rsp = client
        .<operation_name>().
        .<param>("some value")
        .send().await; */

Constructing a client with custom configuration

use aws_config::RetryConfig;
    let shared_config = aws_config::load_from_env().await;
    let config = aws_sdk_sagemaker::config::Builder::from(&shared_config)
        .retry_config(RetryConfig::disabled())
        .build();
    let client = aws_sdk_sagemaker::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AddAssociation operation.

Constructs a fluent builder for the AddTags operation.

Constructs a fluent builder for the AssociateTrialComponent operation.

Constructs a fluent builder for the BatchDescribeModelPackage operation.

Constructs a fluent builder for the CreateAction operation.

Constructs a fluent builder for the CreateAlgorithm operation.

Constructs a fluent builder for the CreateApp operation.

Constructs a fluent builder for the CreateAppImageConfig operation.

Constructs a fluent builder for the CreateArtifact operation.

Constructs a fluent builder for the CreateAutoMLJob operation.

Constructs a fluent builder for the CreateCodeRepository operation.

Constructs a fluent builder for the CreateCompilationJob operation.

Constructs a fluent builder for the CreateContext operation.

Constructs a fluent builder for the CreateDataQualityJobDefinition operation.

Constructs a fluent builder for the CreateDeviceFleet operation.

Constructs a fluent builder for the CreateDomain operation.

Constructs a fluent builder for the CreateEdgePackagingJob operation.

Constructs a fluent builder for the CreateEndpoint operation.

Constructs a fluent builder for the CreateEndpointConfig operation.

Constructs a fluent builder for the CreateExperiment operation.

Constructs a fluent builder for the CreateFeatureGroup operation.

Constructs a fluent builder for the CreateFlowDefinition operation.

Constructs a fluent builder for the CreateHumanTaskUi operation.

Constructs a fluent builder for the CreateHyperParameterTuningJob operation.

Constructs a fluent builder for the CreateImage operation.

Constructs a fluent builder for the CreateImageVersion operation.

Constructs a fluent builder for the CreateInferenceRecommendationsJob operation.

Constructs a fluent builder for the CreateLabelingJob operation.

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

      The name of the labeling job. This name is used to identify the job in a list of labeling jobs. Labeling job names must be unique within an Amazon Web Services account and region. LabelingJobName is not case sensitive. For example, Example-job and example-job are considered the same labeling job name by Ground Truth.

    • label_attribute_name(impl Into<String>) / set_label_attribute_name(Option<String>):

      The attribute name to use for the label in the output manifest file. This is the key for the key/value pair formed with the label that a worker assigns to the object. The LabelAttributeName must meet the following requirements.

      • The name can’t end with “-metadata”.

      • If you are using one of the following built-in task types, the attribute name must end with “-ref”. If the task type you are using is not listed below, the attribute name must not end with “-ref”.

        • Image semantic segmentation (SemanticSegmentation), and adjustment (AdjustmentSemanticSegmentation) and verification (VerificationSemanticSegmentation) labeling jobs for this task type.

        • Video frame object detection (VideoObjectDetection), and adjustment and verification (AdjustmentVideoObjectDetection) labeling jobs for this task type.

        • Video frame object tracking (VideoObjectTracking), and adjustment and verification (AdjustmentVideoObjectTracking) labeling jobs for this task type.

        • 3D point cloud semantic segmentation (3DPointCloudSemanticSegmentation), and adjustment and verification (Adjustment3DPointCloudSemanticSegmentation) labeling jobs for this task type.

        • 3D point cloud object tracking (3DPointCloudObjectTracking), and adjustment and verification (Adjustment3DPointCloudObjectTracking) labeling jobs for this task type.

      If you are creating an adjustment or verification labeling job, you must use a different LabelAttributeName than the one used in the original labeling job. The original labeling job is the Ground Truth labeling job that produced the labels that you want verified or adjusted. To learn more about adjustment and verification labeling jobs, see Verify and Adjust Labels.

    • input_config(LabelingJobInputConfig) / set_input_config(Option<LabelingJobInputConfig>):

      Input data for the labeling job, such as the Amazon S3 location of the data objects and the location of the manifest file that describes the data objects.

      You must specify at least one of the following: S3DataSource or SnsDataSource.

      • Use SnsDataSource to specify an SNS input topic for a streaming labeling job. If you do not specify and SNS input topic ARN, Ground Truth will create a one-time labeling job that stops after all data objects in the input manifest file have been labeled.

      • Use S3DataSource to specify an input manifest file for both streaming and one-time labeling jobs. Adding an S3DataSource is optional if you use SnsDataSource to create a streaming labeling job.

      If you use the Amazon Mechanical Turk workforce, your input data should not include confidential information, personal information or protected health information. Use ContentClassifiers to specify that your data is free of personally identifiable information and adult content.

    • output_config(LabelingJobOutputConfig) / set_output_config(Option<LabelingJobOutputConfig>):

      The location of the output data and the Amazon Web Services Key Management Service key ID for the key used to encrypt the output data, if any.

    • role_arn(impl Into<String>) / set_role_arn(Option<String>):

      The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete data labeling.

    • label_category_config_s3_uri(impl Into<String>) / set_label_category_config_s3_uri(Option<String>):

      The S3 URI of the file, referred to as a label category configuration file, that defines the categories used to label the data objects.

      For 3D point cloud and video frame task types, you can add label category attributes and frame attributes to your label category configuration file. To learn how, see Create a Labeling Category Configuration File for 3D Point Cloud Labeling Jobs.

      For named entity recognition jobs, in addition to “labels”, you must provide worker instructions in the label category configuration file using the “instructions” parameter: “instructions”: {“shortInstruction”:“

      Add header

      Add Instructions

      ”, “fullInstruction”:“

      Add additional instructions.

      ”}
      . For details and an example, see Create a Named Entity Recognition Labeling Job (API) .

      For all other built-in task types and custom tasks, your label category configuration file must be a JSON file in the following format. Identify the labels you want to use by replacing label_1, label_2,,label_n with your label categories.

      {

      “document-version”: “2018-11-28”,

      “labels”: [{“label”: “label_1”},{“label”: “label_2”},…{“label”: “label_n”}]

      }

      Note the following about the label category configuration file:

      • For image classification and text classification (single and multi-label) you must specify at least two label categories. For all other task types, the minimum number of label categories required is one.

      • Each label category must be unique, you cannot specify duplicate label categories.

      • If you create a 3D point cloud or video frame adjustment or verification labeling job, you must include auditLabelAttributeName in the label category configuration. Use this parameter to enter the LabelAttributeName of the labeling job you want to adjust or verify annotations of.

    • stopping_conditions(LabelingJobStoppingConditions) / set_stopping_conditions(Option<LabelingJobStoppingConditions>):

      A set of conditions for stopping the labeling job. If any of the conditions are met, the job is automatically stopped. You can use these conditions to control the cost of data labeling.

    • labeling_job_algorithms_config(LabelingJobAlgorithmsConfig) / set_labeling_job_algorithms_config(Option<LabelingJobAlgorithmsConfig>):

      Configures the information required to perform automated data labeling.

    • human_task_config(HumanTaskConfig) / set_human_task_config(Option<HumanTaskConfig>):

      Configures the labeling task and how it is presented to workers; including, but not limited to price, keywords, and batch size (task count).

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

      An array of key/value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.

  • On success, responds with CreateLabelingJobOutput with field(s):
  • On failure, responds with SdkError<CreateLabelingJobError>

Constructs a fluent builder for the CreateModel operation.

Constructs a fluent builder for the CreateModelBiasJobDefinition operation.

Constructs a fluent builder for the CreateModelExplainabilityJobDefinition operation.

Constructs a fluent builder for the CreateModelPackage operation.

Constructs a fluent builder for the CreateModelPackageGroup operation.

Constructs a fluent builder for the CreateModelQualityJobDefinition operation.

Constructs a fluent builder for the CreateMonitoringSchedule operation.

Constructs a fluent builder for the CreateNotebookInstance operation.

Constructs a fluent builder for the CreateNotebookInstanceLifecycleConfig operation.

Constructs a fluent builder for the CreatePipeline operation.

Constructs a fluent builder for the CreatePresignedDomainUrl operation.

Constructs a fluent builder for the CreatePresignedNotebookInstanceUrl operation.

Constructs a fluent builder for the CreateProcessingJob operation.

Constructs a fluent builder for the CreateProject operation.

Constructs a fluent builder for the CreateStudioLifecycleConfig operation.

Constructs a fluent builder for the CreateTrainingJob operation.

Constructs a fluent builder for the CreateTransformJob operation.

Constructs a fluent builder for the CreateTrial operation.

Constructs a fluent builder for the CreateTrialComponent operation.

Constructs a fluent builder for the CreateUserProfile operation.

Constructs a fluent builder for the CreateWorkforce operation.

Constructs a fluent builder for the CreateWorkteam operation.

Constructs a fluent builder for the DeleteAction operation.

Constructs a fluent builder for the DeleteAlgorithm operation.

Constructs a fluent builder for the DeleteApp operation.

Constructs a fluent builder for the DeleteAppImageConfig operation.

Constructs a fluent builder for the DeleteArtifact operation.

Constructs a fluent builder for the DeleteAssociation operation.

Constructs a fluent builder for the DeleteCodeRepository operation.

Constructs a fluent builder for the DeleteContext operation.

Constructs a fluent builder for the DeleteDataQualityJobDefinition operation.

Constructs a fluent builder for the DeleteDeviceFleet operation.

Constructs a fluent builder for the DeleteDomain operation.

Constructs a fluent builder for the DeleteEndpoint operation.

Constructs a fluent builder for the DeleteEndpointConfig operation.

Constructs a fluent builder for the DeleteExperiment operation.

Constructs a fluent builder for the DeleteFeatureGroup operation.

Constructs a fluent builder for the DeleteFlowDefinition operation.

Constructs a fluent builder for the DeleteHumanTaskUi operation.

Constructs a fluent builder for the DeleteImage operation.

Constructs a fluent builder for the DeleteImageVersion operation.

Constructs a fluent builder for the DeleteModel operation.

Constructs a fluent builder for the DeleteModelBiasJobDefinition operation.

Constructs a fluent builder for the DeleteModelExplainabilityJobDefinition operation.

Constructs a fluent builder for the DeleteModelPackage operation.

Constructs a fluent builder for the DeleteModelPackageGroup operation.

Constructs a fluent builder for the DeleteModelPackageGroupPolicy operation.

Constructs a fluent builder for the DeleteModelQualityJobDefinition operation.

Constructs a fluent builder for the DeleteMonitoringSchedule operation.

Constructs a fluent builder for the DeleteNotebookInstance operation.

Constructs a fluent builder for the DeleteNotebookInstanceLifecycleConfig operation.

Constructs a fluent builder for the DeletePipeline operation.

Constructs a fluent builder for the DeleteProject operation.

Constructs a fluent builder for the DeleteStudioLifecycleConfig operation.

Constructs a fluent builder for the DeleteTags operation.

Constructs a fluent builder for the DeleteTrial operation.

Constructs a fluent builder for the DeleteTrialComponent operation.

Constructs a fluent builder for the DeleteUserProfile operation.

Constructs a fluent builder for the DeleteWorkforce operation.

Constructs a fluent builder for the DeleteWorkteam operation.

Constructs a fluent builder for the DeregisterDevices operation.

Constructs a fluent builder for the DescribeAction operation.

Constructs a fluent builder for the DescribeAlgorithm operation.

Constructs a fluent builder for the DescribeApp operation.

Constructs a fluent builder for the DescribeAppImageConfig operation.

Constructs a fluent builder for the DescribeArtifact operation.

Constructs a fluent builder for the DescribeAutoMLJob operation.

Constructs a fluent builder for the DescribeCodeRepository operation.

Constructs a fluent builder for the DescribeCompilationJob operation.

Constructs a fluent builder for the DescribeContext operation.

Constructs a fluent builder for the DescribeDataQualityJobDefinition operation.

Constructs a fluent builder for the DescribeDevice operation.

Constructs a fluent builder for the DescribeDeviceFleet operation.

Constructs a fluent builder for the DescribeDomain operation.

Constructs a fluent builder for the DescribeEdgePackagingJob operation.

Constructs a fluent builder for the DescribeEndpoint operation.

Constructs a fluent builder for the DescribeEndpointConfig operation.

Constructs a fluent builder for the DescribeExperiment operation.

Constructs a fluent builder for the DescribeFeatureGroup operation.

Constructs a fluent builder for the DescribeFlowDefinition operation.

Constructs a fluent builder for the DescribeHumanTaskUi operation.

Constructs a fluent builder for the DescribeHyperParameterTuningJob operation.

Constructs a fluent builder for the DescribeImage operation.

Constructs a fluent builder for the DescribeImageVersion operation.

Constructs a fluent builder for the DescribeInferenceRecommendationsJob operation.

Constructs a fluent builder for the DescribeLabelingJob operation.

Constructs a fluent builder for the DescribeLineageGroup operation.

Constructs a fluent builder for the DescribeModel operation.

Constructs a fluent builder for the DescribeModelBiasJobDefinition operation.

Constructs a fluent builder for the DescribeModelExplainabilityJobDefinition operation.

Constructs a fluent builder for the DescribeModelPackage operation.

Constructs a fluent builder for the DescribeModelPackageGroup operation.

Constructs a fluent builder for the DescribeModelQualityJobDefinition operation.

Constructs a fluent builder for the DescribeMonitoringSchedule operation.

Constructs a fluent builder for the DescribeNotebookInstance operation.

Constructs a fluent builder for the DescribeNotebookInstanceLifecycleConfig operation.

Constructs a fluent builder for the DescribePipeline operation.

Constructs a fluent builder for the DescribePipelineDefinitionForExecution operation.

Constructs a fluent builder for the DescribePipelineExecution operation.

Constructs a fluent builder for the DescribeProcessingJob operation.

Constructs a fluent builder for the DescribeProject operation.

Constructs a fluent builder for the DescribeStudioLifecycleConfig operation.

Constructs a fluent builder for the DescribeSubscribedWorkteam operation.

Constructs a fluent builder for the DescribeTrainingJob operation.

Constructs a fluent builder for the DescribeTransformJob operation.

Constructs a fluent builder for the DescribeTrial operation.

Constructs a fluent builder for the DescribeTrialComponent operation.

Constructs a fluent builder for the DescribeUserProfile operation.

Constructs a fluent builder for the DescribeWorkforce operation.

Constructs a fluent builder for the DescribeWorkteam operation.

Constructs a fluent builder for the DisableSagemakerServicecatalogPortfolio operation.

Constructs a fluent builder for the DisassociateTrialComponent operation.

Constructs a fluent builder for the EnableSagemakerServicecatalogPortfolio operation.

Constructs a fluent builder for the GetDeviceFleetReport operation.

Constructs a fluent builder for the GetLineageGroupPolicy operation.

Constructs a fluent builder for the GetModelPackageGroupPolicy operation.

Constructs a fluent builder for the GetSagemakerServicecatalogPortfolioStatus operation.

Constructs a fluent builder for the GetSearchSuggestions operation.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Constructs a fluent builder for the ListFeatureGroups operation.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Constructs a fluent builder for the PutModelPackageGroupPolicy operation.

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

Constructs a fluent builder for the RegisterDevices operation.

Constructs a fluent builder for the RenderUiTemplate operation.

Constructs a fluent builder for the RetryPipelineExecution operation.

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

Constructs a fluent builder for the SendPipelineExecutionStepFailure operation.

Constructs a fluent builder for the SendPipelineExecutionStepSuccess operation.

Constructs a fluent builder for the StartMonitoringSchedule operation.

Constructs a fluent builder for the StartNotebookInstance operation.

Constructs a fluent builder for the StartPipelineExecution operation.

Constructs a fluent builder for the StopAutoMLJob operation.

Constructs a fluent builder for the StopCompilationJob operation.

Constructs a fluent builder for the StopEdgePackagingJob operation.

Constructs a fluent builder for the StopHyperParameterTuningJob operation.

Constructs a fluent builder for the StopInferenceRecommendationsJob operation.

Constructs a fluent builder for the StopLabelingJob operation.

Constructs a fluent builder for the StopMonitoringSchedule operation.

Constructs a fluent builder for the StopNotebookInstance operation.

Constructs a fluent builder for the StopPipelineExecution operation.

Constructs a fluent builder for the StopProcessingJob operation.

Constructs a fluent builder for the StopTrainingJob operation.

Constructs a fluent builder for the StopTransformJob operation.

Constructs a fluent builder for the UpdateAction operation.

Constructs a fluent builder for the UpdateAppImageConfig operation.

Constructs a fluent builder for the UpdateArtifact operation.

Constructs a fluent builder for the UpdateCodeRepository operation.

Constructs a fluent builder for the UpdateContext operation.

Constructs a fluent builder for the UpdateDeviceFleet operation.

Constructs a fluent builder for the UpdateDevices operation.

Constructs a fluent builder for the UpdateDomain operation.

Constructs a fluent builder for the UpdateEndpoint operation.

Constructs a fluent builder for the UpdateEndpointWeightsAndCapacities operation.

Constructs a fluent builder for the UpdateExperiment operation.

Constructs a fluent builder for the UpdateImage operation.

Constructs a fluent builder for the UpdateModelPackage operation.

Constructs a fluent builder for the UpdateMonitoringSchedule operation.

Constructs a fluent builder for the UpdateNotebookInstance operation.

Constructs a fluent builder for the UpdateNotebookInstanceLifecycleConfig operation.

Constructs a fluent builder for the UpdatePipeline operation.

Constructs a fluent builder for the UpdatePipelineExecution operation.

Constructs a fluent builder for the UpdateProject operation.

Constructs a fluent builder for the UpdateTrainingJob operation.

Constructs a fluent builder for the UpdateTrial operation.

Constructs a fluent builder for the UpdateTrialComponent operation.

Constructs a fluent builder for the UpdateUserProfile operation.

Constructs a fluent builder for the UpdateWorkforce operation.

Constructs a fluent builder for the UpdateWorkteam operation.

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

Creates a new client from a shared config.

Creates a new client from the service Config.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

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

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

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

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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