aws_sdk_datazone::config

Trait 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 PayloadSigningOverrideRuntimePlugin

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 AcceptPredictions

Source§

impl RuntimePlugin for AcceptSubscriptionRequest

Source§

impl RuntimePlugin for AddEntityOwner

Source§

impl RuntimePlugin for AddPolicyGrant

Source§

impl RuntimePlugin for AssociateEnvironmentRole

Source§

impl RuntimePlugin for CancelMetadataGenerationRun

Source§

impl RuntimePlugin for CancelSubscription

Source§

impl RuntimePlugin for CreateAsset

Source§

impl RuntimePlugin for CreateAssetFilter

Source§

impl RuntimePlugin for CreateAssetRevision

Source§

impl RuntimePlugin for CreateAssetType

Source§

impl RuntimePlugin for CreateConnection

Source§

impl RuntimePlugin for CreateDataProduct

Source§

impl RuntimePlugin for CreateDataProductRevision

Source§

impl RuntimePlugin for CreateDataSource

Source§

impl RuntimePlugin for CreateDomain

Source§

impl RuntimePlugin for CreateDomainUnit

Source§

impl RuntimePlugin for CreateEnvironment

Source§

impl RuntimePlugin for CreateEnvironmentAction

Source§

impl RuntimePlugin for CreateEnvironmentProfile

Source§

impl RuntimePlugin for CreateFormType

Source§

impl RuntimePlugin for CreateGlossary

Source§

impl RuntimePlugin for CreateGlossaryTerm

Source§

impl RuntimePlugin for CreateGroupProfile

Source§

impl RuntimePlugin for CreateListingChangeSet

Source§

impl RuntimePlugin for CreateProject

Source§

impl RuntimePlugin for CreateProjectMembership

Source§

impl RuntimePlugin for CreateProjectProfile

Source§

impl RuntimePlugin for CreateRule

Source§

impl RuntimePlugin for CreateSubscriptionGrant

Source§

impl RuntimePlugin for CreateSubscriptionRequest

Source§

impl RuntimePlugin for CreateSubscriptionTarget

Source§

impl RuntimePlugin for CreateUserProfile

Source§

impl RuntimePlugin for DeleteAsset

Source§

impl RuntimePlugin for DeleteAssetFilter

Source§

impl RuntimePlugin for DeleteAssetType

Source§

impl RuntimePlugin for DeleteConnection

Source§

impl RuntimePlugin for DeleteDataProduct

Source§

impl RuntimePlugin for DeleteDataSource

Source§

impl RuntimePlugin for DeleteDomain

Source§

impl RuntimePlugin for DeleteDomainUnit

Source§

impl RuntimePlugin for DeleteEnvironment

Source§

impl RuntimePlugin for DeleteEnvironmentAction

Source§

impl RuntimePlugin for DeleteEnvironmentBlueprintConfiguration

Source§

impl RuntimePlugin for DeleteEnvironmentProfile

Source§

impl RuntimePlugin for DeleteFormType

Source§

impl RuntimePlugin for DeleteGlossary

Source§

impl RuntimePlugin for DeleteGlossaryTerm

Source§

impl RuntimePlugin for DeleteListing

Source§

impl RuntimePlugin for DeleteProject

Source§

impl RuntimePlugin for DeleteProjectMembership

Source§

impl RuntimePlugin for DeleteProjectProfile

Source§

impl RuntimePlugin for DeleteRule

Source§

impl RuntimePlugin for DeleteSubscriptionGrant

Source§

impl RuntimePlugin for DeleteSubscriptionRequest

Source§

impl RuntimePlugin for DeleteSubscriptionTarget

Source§

impl RuntimePlugin for DeleteTimeSeriesDataPoints

Source§

impl RuntimePlugin for DisassociateEnvironmentRole

Source§

impl RuntimePlugin for GetAsset

Source§

impl RuntimePlugin for GetAssetFilter

Source§

impl RuntimePlugin for GetAssetType

Source§

impl RuntimePlugin for GetConnection

Source§

impl RuntimePlugin for GetDataProduct

Source§

impl RuntimePlugin for GetDataSource

Source§

impl RuntimePlugin for GetDataSourceRun

Source§

impl RuntimePlugin for GetDomain

Source§

impl RuntimePlugin for GetDomainUnit

Source§

impl RuntimePlugin for GetEnvironment

Source§

impl RuntimePlugin for GetEnvironmentAction

Source§

impl RuntimePlugin for GetEnvironmentBlueprint

Source§

impl RuntimePlugin for GetEnvironmentBlueprintConfiguration

Source§

impl RuntimePlugin for GetEnvironmentCredentials

Source§

impl RuntimePlugin for GetEnvironmentProfile

Source§

impl RuntimePlugin for GetFormType

Source§

impl RuntimePlugin for GetGlossary

Source§

impl RuntimePlugin for GetGlossaryTerm

Source§

impl RuntimePlugin for GetGroupProfile

Source§

impl RuntimePlugin for GetIamPortalLoginUrl

Source§

impl RuntimePlugin for GetJobRun

Source§

impl RuntimePlugin for GetLineageEvent

Source§

impl RuntimePlugin for GetLineageNode

Source§

impl RuntimePlugin for GetListing

Source§

impl RuntimePlugin for GetMetadataGenerationRun

Source§

impl RuntimePlugin for GetProject

Source§

impl RuntimePlugin for GetProjectProfile

Source§

impl RuntimePlugin for GetRule

Source§

impl RuntimePlugin for GetSubscription

Source§

impl RuntimePlugin for GetSubscriptionGrant

Source§

impl RuntimePlugin for GetSubscriptionRequestDetails

Source§

impl RuntimePlugin for GetSubscriptionTarget

Source§

impl RuntimePlugin for GetTimeSeriesDataPoint

Source§

impl RuntimePlugin for GetUserProfile

Source§

impl RuntimePlugin for ListAssetFilters

Source§

impl RuntimePlugin for ListAssetRevisions

Source§

impl RuntimePlugin for ListConnections

Source§

impl RuntimePlugin for ListDataProductRevisions

Source§

impl RuntimePlugin for ListDataSourceRunActivities

Source§

impl RuntimePlugin for ListDataSourceRuns

Source§

impl RuntimePlugin for ListDataSources

Source§

impl RuntimePlugin for ListDomainUnitsForParent

Source§

impl RuntimePlugin for ListDomains

Source§

impl RuntimePlugin for ListEntityOwners

Source§

impl RuntimePlugin for ListEnvironmentActions

Source§

impl RuntimePlugin for ListEnvironmentBlueprintConfigurations

Source§

impl RuntimePlugin for ListEnvironmentBlueprints

Source§

impl RuntimePlugin for ListEnvironmentProfiles

Source§

impl RuntimePlugin for ListEnvironments

Source§

impl RuntimePlugin for ListJobRuns

Source§

impl RuntimePlugin for ListLineageEvents

Source§

impl RuntimePlugin for ListLineageNodeHistory

Source§

impl RuntimePlugin for ListMetadataGenerationRuns

Source§

impl RuntimePlugin for ListNotifications

Source§

impl RuntimePlugin for ListPolicyGrants

Source§

impl RuntimePlugin for ListProjectMemberships

Source§

impl RuntimePlugin for ListProjectProfiles

Source§

impl RuntimePlugin for ListProjects

Source§

impl RuntimePlugin for ListRules

Source§

impl RuntimePlugin for ListSubscriptionGrants

Source§

impl RuntimePlugin for ListSubscriptionRequests

Source§

impl RuntimePlugin for ListSubscriptionTargets

Source§

impl RuntimePlugin for ListSubscriptions

Source§

impl RuntimePlugin for ListTagsForResource

Source§

impl RuntimePlugin for ListTimeSeriesDataPoints

Source§

impl RuntimePlugin for PostLineageEvent

Source§

impl RuntimePlugin for PostTimeSeriesDataPoints

Source§

impl RuntimePlugin for PutEnvironmentBlueprintConfiguration

Source§

impl RuntimePlugin for RejectPredictions

Source§

impl RuntimePlugin for RejectSubscriptionRequest

Source§

impl RuntimePlugin for RemoveEntityOwner

Source§

impl RuntimePlugin for RemovePolicyGrant

Source§

impl RuntimePlugin for RevokeSubscription

Source§

impl RuntimePlugin for SearchGroupProfiles

Source§

impl RuntimePlugin for SearchListings

Source§

impl RuntimePlugin for SearchTypes

Source§

impl RuntimePlugin for SearchUserProfiles

Source§

impl RuntimePlugin for StartDataSourceRun

Source§

impl RuntimePlugin for StartMetadataGenerationRun

Source§

impl RuntimePlugin for TagResource

Source§

impl RuntimePlugin for UntagResource

Source§

impl RuntimePlugin for UpdateAssetFilter

Source§

impl RuntimePlugin for UpdateConnection

Source§

impl RuntimePlugin for UpdateDataSource

Source§

impl RuntimePlugin for UpdateDomain

Source§

impl RuntimePlugin for UpdateDomainUnit

Source§

impl RuntimePlugin for UpdateEnvironment

Source§

impl RuntimePlugin for UpdateEnvironmentAction

Source§

impl RuntimePlugin for UpdateEnvironmentProfile

Source§

impl RuntimePlugin for UpdateGlossary

Source§

impl RuntimePlugin for UpdateGlossaryTerm

Source§

impl RuntimePlugin for UpdateGroupProfile

Source§

impl RuntimePlugin for UpdateProject

Source§

impl RuntimePlugin for UpdateProjectProfile

Source§

impl RuntimePlugin for UpdateRule

Source§

impl RuntimePlugin for UpdateSubscriptionGrantStatus

Source§

impl RuntimePlugin for UpdateSubscriptionRequest

Source§

impl RuntimePlugin for UpdateSubscriptionTarget

Source§

impl RuntimePlugin for UpdateUserProfile

Source§

impl RuntimePlugin for StaticRuntimePlugin

Source§

impl RuntimePlugin for SharedRuntimePlugin