Trait aws_sdk_sagemaker::config::RuntimePlugin

source ·
pub trait RuntimePlugin: Debug + Send + Sync {
    // Provided methods
    fn order(&self) -> Order { ... }
    fn config(&self) -> Option<FrozenLayer> { ... }
    fn runtime_components(
        &self,
        current_components: &RuntimeComponentsBuilder,
    ) -> Cow<'_, RuntimeComponentsBuilder> { ... }
}
Expand description

Runtime plugin trait

A RuntimePlugin is the unit of configuration for augmenting the client with new behavior.

Runtime plugins can register interceptors, set runtime components, and modify configuration.

Provided Methods§

source

fn order(&self) -> Order

Runtime plugin ordering.

There are two runtime plugin “levels” that run in the following order:

  1. Service runtime plugins - runtime plugins that pertain to the entire service.
  2. Operation runtime plugins - runtime plugins relevant only to a single operation.

This function is used to determine runtime plugin order within those levels. So regardless of this Order value, service runtime plugins will still always execute before operation runtime plugins. However, Defaults service runtime plugins will run before Overrides service runtime plugins.

source

fn config(&self) -> Option<FrozenLayer>

Optionally returns additional config that should be added to the ConfigBag.

As a best practice, a frozen layer should be stored on the runtime plugin instance as a member, and then cloned upon return since that clone is cheap. Constructing a new Layer and freezing it will require a lot of allocations.

source

fn runtime_components( &self, current_components: &RuntimeComponentsBuilder, ) -> Cow<'_, RuntimeComponentsBuilder>

Returns a RuntimeComponentsBuilder to incorporate into the final runtime components.

The order of runtime plugins determines which runtime components “win”. Components set by later runtime plugins will override those set by earlier runtime plugins.

If no runtime component changes are desired, just return an empty builder.

This method returns a Cow for flexibility. Some implementers may want to store the components builder as a member and return a reference to it, while others may need to create the builder every call. If possible, returning a reference is preferred for performance.

Components configured by previous runtime plugins are in the current_components argument, and can be used to create nested/wrapped components, such as a connector calling into an inner (customer provided) connector.

Implementations on Foreign Types§

source§

impl RuntimePlugin for NoAuthRuntimePlugin

source§

impl RuntimePlugin for EnforceContentLengthRuntimePlugin

source§

impl RuntimePlugin for CannedResponseDeserializer

source§

impl RuntimePlugin for CannedRequestSerializer

Implementors§

source§

impl RuntimePlugin for AddAssociation

source§

impl RuntimePlugin for AddTags

source§

impl RuntimePlugin for AssociateTrialComponent

source§

impl RuntimePlugin for BatchDescribeModelPackage

source§

impl RuntimePlugin for CreateAction

source§

impl RuntimePlugin for CreateAlgorithm

source§

impl RuntimePlugin for CreateApp

source§

impl RuntimePlugin for CreateAppImageConfig

source§

impl RuntimePlugin for CreateArtifact

source§

impl RuntimePlugin for CreateAutoMLJob

source§

impl RuntimePlugin for CreateAutoMLJobV2

source§

impl RuntimePlugin for CreateCluster

source§

impl RuntimePlugin for CreateCodeRepository

source§

impl RuntimePlugin for CreateCompilationJob

source§

impl RuntimePlugin for CreateContext

source§

impl RuntimePlugin for CreateDataQualityJobDefinition

source§

impl RuntimePlugin for CreateDeviceFleet

source§

impl RuntimePlugin for CreateDomain

source§

impl RuntimePlugin for CreateEdgeDeploymentPlan

source§

impl RuntimePlugin for CreateEdgeDeploymentStage

source§

impl RuntimePlugin for CreateEdgePackagingJob

source§

impl RuntimePlugin for CreateEndpoint

source§

impl RuntimePlugin for CreateEndpointConfig

source§

impl RuntimePlugin for CreateExperiment

source§

impl RuntimePlugin for CreateFeatureGroup

source§

impl RuntimePlugin for CreateFlowDefinition

source§

impl RuntimePlugin for CreateHub

source§

impl RuntimePlugin for CreateHumanTaskUi

source§

impl RuntimePlugin for CreateHyperParameterTuningJob

source§

impl RuntimePlugin for CreateImage

source§

impl RuntimePlugin for CreateImageVersion

source§

impl RuntimePlugin for CreateInferenceComponent

source§

impl RuntimePlugin for CreateInferenceExperiment

source§

impl RuntimePlugin for CreateInferenceRecommendationsJob

source§

impl RuntimePlugin for CreateLabelingJob

source§

impl RuntimePlugin for CreateModel

source§

impl RuntimePlugin for CreateModelBiasJobDefinition

source§

impl RuntimePlugin for CreateModelCard

source§

impl RuntimePlugin for CreateModelCardExportJob

source§

impl RuntimePlugin for CreateModelExplainabilityJobDefinition

source§

impl RuntimePlugin for CreateModelPackage

source§

impl RuntimePlugin for CreateModelPackageGroup

source§

impl RuntimePlugin for CreateModelQualityJobDefinition

source§

impl RuntimePlugin for CreateMonitoringSchedule

source§

impl RuntimePlugin for CreateNotebookInstance

source§

impl RuntimePlugin for CreateNotebookInstanceLifecycleConfig

source§

impl RuntimePlugin for CreatePipeline

source§

impl RuntimePlugin for CreatePresignedDomainUrl

source§

impl RuntimePlugin for CreatePresignedNotebookInstanceUrl

source§

impl RuntimePlugin for CreateProcessingJob

source§

impl RuntimePlugin for CreateProject

source§

impl RuntimePlugin for CreateSpace

source§

impl RuntimePlugin for CreateStudioLifecycleConfig

source§

impl RuntimePlugin for CreateTrainingJob

source§

impl RuntimePlugin for CreateTransformJob

source§

impl RuntimePlugin for CreateTrial

source§

impl RuntimePlugin for CreateTrialComponent

source§

impl RuntimePlugin for CreateUserProfile

source§

impl RuntimePlugin for CreateWorkforce

source§

impl RuntimePlugin for CreateWorkteam

source§

impl RuntimePlugin for DeleteAction

source§

impl RuntimePlugin for DeleteAlgorithm

source§

impl RuntimePlugin for DeleteApp

source§

impl RuntimePlugin for DeleteAppImageConfig

source§

impl RuntimePlugin for DeleteArtifact

source§

impl RuntimePlugin for DeleteAssociation

source§

impl RuntimePlugin for DeleteCluster

source§

impl RuntimePlugin for DeleteCodeRepository

source§

impl RuntimePlugin for DeleteCompilationJob

source§

impl RuntimePlugin for DeleteContext

source§

impl RuntimePlugin for DeleteDataQualityJobDefinition

source§

impl RuntimePlugin for DeleteDeviceFleet

source§

impl RuntimePlugin for DeleteDomain

source§

impl RuntimePlugin for DeleteEdgeDeploymentPlan

source§

impl RuntimePlugin for DeleteEdgeDeploymentStage

source§

impl RuntimePlugin for DeleteEndpoint

source§

impl RuntimePlugin for DeleteEndpointConfig

source§

impl RuntimePlugin for DeleteExperiment

source§

impl RuntimePlugin for DeleteFeatureGroup

source§

impl RuntimePlugin for DeleteFlowDefinition

source§

impl RuntimePlugin for DeleteHub

source§

impl RuntimePlugin for DeleteHubContent

source§

impl RuntimePlugin for DeleteHumanTaskUi

source§

impl RuntimePlugin for DeleteHyperParameterTuningJob

source§

impl RuntimePlugin for DeleteImage

source§

impl RuntimePlugin for DeleteImageVersion

source§

impl RuntimePlugin for DeleteInferenceComponent

source§

impl RuntimePlugin for DeleteInferenceExperiment

source§

impl RuntimePlugin for DeleteModel

source§

impl RuntimePlugin for DeleteModelBiasJobDefinition

source§

impl RuntimePlugin for DeleteModelCard

source§

impl RuntimePlugin for DeleteModelExplainabilityJobDefinition

source§

impl RuntimePlugin for DeleteModelPackage

source§

impl RuntimePlugin for DeleteModelPackageGroup

source§

impl RuntimePlugin for DeleteModelPackageGroupPolicy

source§

impl RuntimePlugin for DeleteModelQualityJobDefinition

source§

impl RuntimePlugin for DeleteMonitoringSchedule

source§

impl RuntimePlugin for DeleteNotebookInstance

source§

impl RuntimePlugin for DeleteNotebookInstanceLifecycleConfig

source§

impl RuntimePlugin for DeletePipeline

source§

impl RuntimePlugin for DeleteProject

source§

impl RuntimePlugin for DeleteSpace

source§

impl RuntimePlugin for DeleteStudioLifecycleConfig

source§

impl RuntimePlugin for DeleteTags

source§

impl RuntimePlugin for DeleteTrial

source§

impl RuntimePlugin for DeleteTrialComponent

source§

impl RuntimePlugin for DeleteUserProfile

source§

impl RuntimePlugin for DeleteWorkforce

source§

impl RuntimePlugin for DeleteWorkteam

source§

impl RuntimePlugin for DeregisterDevices

source§

impl RuntimePlugin for DescribeAction

source§

impl RuntimePlugin for DescribeAlgorithm

source§

impl RuntimePlugin for DescribeApp

source§

impl RuntimePlugin for DescribeAppImageConfig

source§

impl RuntimePlugin for DescribeArtifact

source§

impl RuntimePlugin for DescribeAutoMLJob

source§

impl RuntimePlugin for DescribeAutoMLJobV2

source§

impl RuntimePlugin for DescribeCluster

source§

impl RuntimePlugin for DescribeClusterNode

source§

impl RuntimePlugin for DescribeCodeRepository

source§

impl RuntimePlugin for DescribeCompilationJob

source§

impl RuntimePlugin for DescribeContext

source§

impl RuntimePlugin for DescribeDataQualityJobDefinition

source§

impl RuntimePlugin for DescribeDevice

source§

impl RuntimePlugin for DescribeDeviceFleet

source§

impl RuntimePlugin for DescribeDomain

source§

impl RuntimePlugin for DescribeEdgeDeploymentPlan

source§

impl RuntimePlugin for DescribeEdgePackagingJob

source§

impl RuntimePlugin for DescribeEndpoint

source§

impl RuntimePlugin for DescribeEndpointConfig

source§

impl RuntimePlugin for DescribeExperiment

source§

impl RuntimePlugin for DescribeFeatureGroup

source§

impl RuntimePlugin for DescribeFeatureMetadata

source§

impl RuntimePlugin for DescribeFlowDefinition

source§

impl RuntimePlugin for DescribeHub

source§

impl RuntimePlugin for DescribeHubContent

source§

impl RuntimePlugin for DescribeHumanTaskUi

source§

impl RuntimePlugin for DescribeHyperParameterTuningJob

source§

impl RuntimePlugin for DescribeImage

source§

impl RuntimePlugin for DescribeImageVersion

source§

impl RuntimePlugin for DescribeInferenceComponent

source§

impl RuntimePlugin for DescribeInferenceExperiment

source§

impl RuntimePlugin for DescribeInferenceRecommendationsJob

source§

impl RuntimePlugin for DescribeLabelingJob

source§

impl RuntimePlugin for DescribeLineageGroup

source§

impl RuntimePlugin for DescribeModel

source§

impl RuntimePlugin for DescribeModelBiasJobDefinition

source§

impl RuntimePlugin for DescribeModelCard

source§

impl RuntimePlugin for DescribeModelCardExportJob

source§

impl RuntimePlugin for DescribeModelExplainabilityJobDefinition

source§

impl RuntimePlugin for DescribeModelPackage

source§

impl RuntimePlugin for DescribeModelPackageGroup

source§

impl RuntimePlugin for DescribeModelQualityJobDefinition

source§

impl RuntimePlugin for DescribeMonitoringSchedule

source§

impl RuntimePlugin for DescribeNotebookInstance

source§

impl RuntimePlugin for DescribeNotebookInstanceLifecycleConfig

source§

impl RuntimePlugin for DescribePipeline

source§

impl RuntimePlugin for DescribePipelineDefinitionForExecution

source§

impl RuntimePlugin for DescribePipelineExecution

source§

impl RuntimePlugin for DescribeProcessingJob

source§

impl RuntimePlugin for DescribeProject

source§

impl RuntimePlugin for DescribeSpace

source§

impl RuntimePlugin for DescribeStudioLifecycleConfig

source§

impl RuntimePlugin for DescribeSubscribedWorkteam

source§

impl RuntimePlugin for DescribeTrainingJob

source§

impl RuntimePlugin for DescribeTransformJob

source§

impl RuntimePlugin for DescribeTrial

source§

impl RuntimePlugin for DescribeTrialComponent

source§

impl RuntimePlugin for DescribeUserProfile

source§

impl RuntimePlugin for DescribeWorkforce

source§

impl RuntimePlugin for DescribeWorkteam

source§

impl RuntimePlugin for DisableSagemakerServicecatalogPortfolio

source§

impl RuntimePlugin for DisassociateTrialComponent

source§

impl RuntimePlugin for EnableSagemakerServicecatalogPortfolio

source§

impl RuntimePlugin for GetDeviceFleetReport

source§

impl RuntimePlugin for GetLineageGroupPolicy

source§

impl RuntimePlugin for GetModelPackageGroupPolicy

source§

impl RuntimePlugin for GetSagemakerServicecatalogPortfolioStatus

source§

impl RuntimePlugin for GetScalingConfigurationRecommendation

source§

impl RuntimePlugin for GetSearchSuggestions

source§

impl RuntimePlugin for ImportHubContent

source§

impl RuntimePlugin for ListActions

source§

impl RuntimePlugin for ListAlgorithms

source§

impl RuntimePlugin for ListAliases

source§

impl RuntimePlugin for ListAppImageConfigs

source§

impl RuntimePlugin for ListApps

source§

impl RuntimePlugin for ListArtifacts

source§

impl RuntimePlugin for ListAssociations

source§

impl RuntimePlugin for ListAutoMLJobs

source§

impl RuntimePlugin for ListCandidatesForAutoMLJob

source§

impl RuntimePlugin for ListClusterNodes

source§

impl RuntimePlugin for ListClusters

source§

impl RuntimePlugin for ListCodeRepositories

source§

impl RuntimePlugin for ListCompilationJobs

source§

impl RuntimePlugin for ListContexts

source§

impl RuntimePlugin for ListDataQualityJobDefinitions

source§

impl RuntimePlugin for ListDeviceFleets

source§

impl RuntimePlugin for ListDevices

source§

impl RuntimePlugin for ListDomains

source§

impl RuntimePlugin for ListEdgeDeploymentPlans

source§

impl RuntimePlugin for ListEdgePackagingJobs

source§

impl RuntimePlugin for ListEndpointConfigs

source§

impl RuntimePlugin for ListEndpoints

source§

impl RuntimePlugin for ListExperiments

source§

impl RuntimePlugin for ListFeatureGroups

source§

impl RuntimePlugin for ListFlowDefinitions

source§

impl RuntimePlugin for ListHubContentVersions

source§

impl RuntimePlugin for ListHubContents

source§

impl RuntimePlugin for ListHubs

source§

impl RuntimePlugin for ListHumanTaskUis

source§

impl RuntimePlugin for ListHyperParameterTuningJobs

source§

impl RuntimePlugin for ListImageVersions

source§

impl RuntimePlugin for ListImages

source§

impl RuntimePlugin for ListInferenceComponents

source§

impl RuntimePlugin for ListInferenceExperiments

source§

impl RuntimePlugin for ListInferenceRecommendationsJobSteps

source§

impl RuntimePlugin for ListInferenceRecommendationsJobs

source§

impl RuntimePlugin for ListLabelingJobs

source§

impl RuntimePlugin for ListLabelingJobsForWorkteam

source§

impl RuntimePlugin for ListLineageGroups

source§

impl RuntimePlugin for ListModelBiasJobDefinitions

source§

impl RuntimePlugin for ListModelCardExportJobs

source§

impl RuntimePlugin for ListModelCardVersions

source§

impl RuntimePlugin for ListModelCards

source§

impl RuntimePlugin for ListModelExplainabilityJobDefinitions

source§

impl RuntimePlugin for ListModelMetadata

source§

impl RuntimePlugin for ListModelPackageGroups

source§

impl RuntimePlugin for ListModelPackages

source§

impl RuntimePlugin for ListModelQualityJobDefinitions

source§

impl RuntimePlugin for ListModels

source§

impl RuntimePlugin for ListMonitoringAlertHistory

source§

impl RuntimePlugin for ListMonitoringAlerts

source§

impl RuntimePlugin for ListMonitoringExecutions

source§

impl RuntimePlugin for ListMonitoringSchedules

source§

impl RuntimePlugin for ListNotebookInstanceLifecycleConfigs

source§

impl RuntimePlugin for ListNotebookInstances

source§

impl RuntimePlugin for ListPipelineExecutionSteps

source§

impl RuntimePlugin for ListPipelineExecutions

source§

impl RuntimePlugin for ListPipelineParametersForExecution

source§

impl RuntimePlugin for ListPipelines

source§

impl RuntimePlugin for ListProcessingJobs

source§

impl RuntimePlugin for ListProjects

source§

impl RuntimePlugin for ListResourceCatalogs

source§

impl RuntimePlugin for ListSpaces

source§

impl RuntimePlugin for ListStageDevices

source§

impl RuntimePlugin for ListStudioLifecycleConfigs

source§

impl RuntimePlugin for ListSubscribedWorkteams

source§

impl RuntimePlugin for ListTags

source§

impl RuntimePlugin for ListTrainingJobs

source§

impl RuntimePlugin for ListTrainingJobsForHyperParameterTuningJob

source§

impl RuntimePlugin for ListTransformJobs

source§

impl RuntimePlugin for ListTrialComponents

source§

impl RuntimePlugin for ListTrials

source§

impl RuntimePlugin for ListUserProfiles

source§

impl RuntimePlugin for ListWorkforces

source§

impl RuntimePlugin for ListWorkteams

source§

impl RuntimePlugin for PutModelPackageGroupPolicy

source§

impl RuntimePlugin for QueryLineage

source§

impl RuntimePlugin for RegisterDevices

source§

impl RuntimePlugin for RenderUiTemplate

source§

impl RuntimePlugin for RetryPipelineExecution

source§

impl RuntimePlugin for SendPipelineExecutionStepFailure

source§

impl RuntimePlugin for SendPipelineExecutionStepSuccess

source§

impl RuntimePlugin for StartEdgeDeploymentStage

source§

impl RuntimePlugin for StartInferenceExperiment

source§

impl RuntimePlugin for StartMonitoringSchedule

source§

impl RuntimePlugin for StartNotebookInstance

source§

impl RuntimePlugin for StartPipelineExecution

source§

impl RuntimePlugin for StopAutoMLJob

source§

impl RuntimePlugin for StopCompilationJob

source§

impl RuntimePlugin for StopEdgeDeploymentStage

source§

impl RuntimePlugin for StopEdgePackagingJob

source§

impl RuntimePlugin for StopHyperParameterTuningJob

source§

impl RuntimePlugin for StopInferenceExperiment

source§

impl RuntimePlugin for StopInferenceRecommendationsJob

source§

impl RuntimePlugin for StopLabelingJob

source§

impl RuntimePlugin for StopMonitoringSchedule

source§

impl RuntimePlugin for StopNotebookInstance

source§

impl RuntimePlugin for StopPipelineExecution

source§

impl RuntimePlugin for StopProcessingJob

source§

impl RuntimePlugin for StopTrainingJob

source§

impl RuntimePlugin for StopTransformJob

source§

impl RuntimePlugin for UpdateAction

source§

impl RuntimePlugin for UpdateAppImageConfig

source§

impl RuntimePlugin for UpdateArtifact

source§

impl RuntimePlugin for UpdateCluster

source§

impl RuntimePlugin for UpdateClusterSoftware

source§

impl RuntimePlugin for UpdateCodeRepository

source§

impl RuntimePlugin for UpdateContext

source§

impl RuntimePlugin for UpdateDeviceFleet

source§

impl RuntimePlugin for UpdateDevices

source§

impl RuntimePlugin for UpdateDomain

source§

impl RuntimePlugin for UpdateEndpoint

source§

impl RuntimePlugin for UpdateEndpointWeightsAndCapacities

source§

impl RuntimePlugin for UpdateExperiment

source§

impl RuntimePlugin for UpdateFeatureGroup

source§

impl RuntimePlugin for UpdateFeatureMetadata

source§

impl RuntimePlugin for UpdateHub

source§

impl RuntimePlugin for UpdateImage

source§

impl RuntimePlugin for UpdateImageVersion

source§

impl RuntimePlugin for UpdateInferenceComponent

source§

impl RuntimePlugin for UpdateInferenceComponentRuntimeConfig

source§

impl RuntimePlugin for UpdateInferenceExperiment

source§

impl RuntimePlugin for UpdateModelCard

source§

impl RuntimePlugin for UpdateModelPackage

source§

impl RuntimePlugin for UpdateMonitoringAlert

source§

impl RuntimePlugin for UpdateMonitoringSchedule

source§

impl RuntimePlugin for UpdateNotebookInstance

source§

impl RuntimePlugin for UpdateNotebookInstanceLifecycleConfig

source§

impl RuntimePlugin for UpdatePipeline

source§

impl RuntimePlugin for UpdatePipelineExecution

source§

impl RuntimePlugin for UpdateProject

source§

impl RuntimePlugin for UpdateSpace

source§

impl RuntimePlugin for UpdateTrainingJob

source§

impl RuntimePlugin for UpdateTrial

source§

impl RuntimePlugin for UpdateTrialComponent

source§

impl RuntimePlugin for UpdateUserProfile

source§

impl RuntimePlugin for UpdateWorkforce

source§

impl RuntimePlugin for UpdateWorkteam

source§

impl RuntimePlugin for StaticRuntimePlugin

source§

impl RuntimePlugin for SharedRuntimePlugin