pub struct GetDiscoveredSchema { /* private fields */ }
Expand description
Fluent builder constructing a request to GetDiscoveredSchema
.
Get the discovered schema that was generated based on sampled events.
Implementations§
source§impl GetDiscoveredSchema
impl GetDiscoveredSchema
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetDiscoveredSchema, AwsResponseRetryClassifier>, SdkError<GetDiscoveredSchemaError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetDiscoveredSchema, AwsResponseRetryClassifier>, SdkError<GetDiscoveredSchemaError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetDiscoveredSchemaOutput, SdkError<GetDiscoveredSchemaError>>
pub async fn send(
self
) -> Result<GetDiscoveredSchemaOutput, SdkError<GetDiscoveredSchemaError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn events(self, input: impl Into<String>) -> Self
pub fn events(self, input: impl Into<String>) -> Self
Appends an item to Events
.
To override the contents of this collection use set_events
.
An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
sourcepub fn set_events(self, input: Option<Vec<String>>) -> Self
pub fn set_events(self, input: Option<Vec<String>>) -> Self
An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
Trait Implementations§
source§impl Clone for GetDiscoveredSchema
impl Clone for GetDiscoveredSchema
source§fn clone(&self) -> GetDiscoveredSchema
fn clone(&self) -> GetDiscoveredSchema
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more