Enum DynamodbSpanBuilder

Source
pub enum DynamodbSpanBuilder {}
Expand description

Builder for DynamoDB-specific OpenTelemetry spans.

This enum serves as a namespace for DynamoDB operation span builders. Each operation provides a specific method to create properly configured spans with DynamoDB-specific attributes.

Implementations§

Source§

impl DynamodbSpanBuilder

Source

pub fn describe_endpoints<'a>() -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_endpoints operation.

This operation does not require specific table names as it operates globally.

Source§

impl DynamodbSpanBuilder

Source

pub fn describe_limits<'a>() -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_limits operation.

This operation does not require specific table names as it operates globally.

Source§

impl DynamodbSpanBuilder

Source

pub fn list_global_tables<'a>() -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB list_global_tables operation.

This operation does not require specific table names as it operates globally.

Source§

impl DynamodbSpanBuilder

Source

pub fn list_tables<'a>() -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB list_tables operation.

This operation does not require specific table names as it operates globally.

Source§

impl DynamodbSpanBuilder

Source

pub fn delete_backup<'a>() -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB delete_backup operation.

This operation does not require specific table names as it operates globally.

Source§

impl DynamodbSpanBuilder

Source

pub fn describe_backup<'a>() -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_backup operation.

This operation does not require specific table names as it operates globally.

Source§

impl DynamodbSpanBuilder

Source

pub fn describe_export<'a>() -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_export operation.

This operation does not require specific table names as it operates globally.

Source§

impl DynamodbSpanBuilder

Source

pub fn describe_import<'a>() -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_import operation.

This operation does not require specific table names as it operates globally.

Source§

impl DynamodbSpanBuilder

Source

pub fn create_backup<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB create_backup operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn create_table<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB create_table operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn delete_item<'a>(table_name: impl Into<StringValue>) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB delete_item operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn delete_resource_policy<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB delete_resource_policy operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn delete_table<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB delete_table operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn describe_continuous_backups<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_continuous_backups operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn describe_contributor_insights<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_contributor_insights operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn describe_kinesis_streaming_destination<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_kinesis_streaming_destination operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn describe_table<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_table operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn describe_table_replica_auto_scaling<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_table_replica_auto_scaling operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn describe_time_to_live<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_time_to_live operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn disable_kinesis_streaming_destination<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB disable_kinesis_streaming_destination operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn enable_kinesis_streaming_destination<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB enable_kinesis_streaming_destination operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn execute_statement<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB execute_statement operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn get_item<'a>(table_name: impl Into<StringValue>) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB get_item operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn get_resource_policy<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB get_resource_policy operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn import_table<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB import_table operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn list_backups<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB list_backups operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn list_contributor_insights<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB list_contributor_insights operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn list_tags_of_resource<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB list_tags_of_resource operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn put_item<'a>(table_name: impl Into<StringValue>) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB put_item operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn put_resource_policy<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB put_resource_policy operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn query<'a>(table_name: impl Into<StringValue>) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB query operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn restore_table_from_backup<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB restore_table_from_backup operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn restore_table_to_point_in_time<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB restore_table_to_point_in_time operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn scan<'a>(table_name: impl Into<StringValue>) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB scan operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn tag_resource<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB tag_resource operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn untag_resource<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB untag_resource operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn update_continuous_backups<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB update_continuous_backups operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn update_contributor_insights<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB update_contributor_insights operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn update_item<'a>(table_name: impl Into<StringValue>) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB update_item operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn update_kinesis_streaming_destination<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB update_kinesis_streaming_destination operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn update_table<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB update_table operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn update_table_replica_auto_scaling<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB update_table_replica_auto_scaling operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn update_time_to_live<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB update_time_to_live operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn export_table_to_point_in_time<'a>( table_arn: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB export_table_to_point_in_time operation using a table ARN.

§Arguments
  • table_arn - The ARN of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn list_exports<'a>(table_arn: impl Into<StringValue>) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB list_exports operation using a table ARN.

§Arguments
  • table_arn - The ARN of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn list_imports<'a>(table_arn: impl Into<StringValue>) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB list_imports operation using a table ARN.

§Arguments
  • table_arn - The ARN of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn create_global_table<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB create_global_table operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn describe_global_table<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_global_table operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn describe_global_table_settings<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB describe_global_table_settings operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn update_global_table<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB update_global_table operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn update_global_table_settings<'a>( table_name: impl Into<StringValue>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB update_global_table_settings operation on a specific table.

§Arguments
  • table_name - The name of the DynamoDB table
Source§

impl DynamodbSpanBuilder

Source

pub fn batch_execute_statement<'a>( table_names: impl IntoIterator<Item = impl Into<StringValue>>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB batch_execute_statement batch operation.

§Arguments
  • table_names - Iterator of table names involved in the batch operation
Source§

impl DynamodbSpanBuilder

Source

pub fn batch_get_item<'a>( table_names: impl IntoIterator<Item = impl Into<StringValue>>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB batch_get_item batch operation.

§Arguments
  • table_names - Iterator of table names involved in the batch operation
Source§

impl DynamodbSpanBuilder

Source

pub fn batch_write_item<'a>( table_names: impl IntoIterator<Item = impl Into<StringValue>>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB batch_write_item batch operation.

§Arguments
  • table_names - Iterator of table names involved in the batch operation
Source§

impl DynamodbSpanBuilder

Source

pub fn execute_transaction<'a>( table_names: impl IntoIterator<Item = impl Into<StringValue>>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB execute_transaction batch operation.

§Arguments
  • table_names - Iterator of table names involved in the batch operation
Source§

impl DynamodbSpanBuilder

Source

pub fn transact_get_items<'a>( table_names: impl IntoIterator<Item = impl Into<StringValue>>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB transact_get_items batch operation.

§Arguments
  • table_names - Iterator of table names involved in the batch operation
Source§

impl DynamodbSpanBuilder

Source

pub fn transact_write_items<'a>( table_names: impl IntoIterator<Item = impl Into<StringValue>>, ) -> AwsSpanBuilder<'a>

Creates a span builder for the DynamoDB transact_write_items batch operation.

§Arguments
  • table_names - Iterator of table names involved in the batch operation

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FutureExt for T

Source§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Source§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
Source§

impl<T> FutureExt for T

Source§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Source§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
Source§

impl<T> Instrument for T

Source§

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

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

fn in_current_span(self) -> Instrumented<Self>

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

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

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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 more
Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

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

Source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
Source§

impl<L> LayerExt<L> for L

Source§

fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>
where L: Layer<S>,

Applies the layer to a service and wraps it in Layered.
Source§

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

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

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

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<T> ErasedDestructor for T
where T: 'static,