pub struct CreateDataSourceRequest {Show 13 fields
pub api_id: String,
pub description: Option<String>,
pub dynamodb_config: Option<DynamodbDataSourceConfig>,
pub elasticsearch_config: Option<ElasticsearchDataSourceConfig>,
pub event_bridge_config: Option<EventBridgeDataSourceConfig>,
pub http_config: Option<HttpDataSourceConfig>,
pub lambda_config: Option<LambdaDataSourceConfig>,
pub metrics_config: Option<String>,
pub name: String,
pub open_search_service_config: Option<OpenSearchServiceDataSourceConfig>,
pub relational_database_config: Option<RelationalDatabaseDataSourceConfig>,
pub service_role_arn: Option<String>,
pub type: String,
}Fields§
§api_id: String§description: Option<String>§dynamodb_config: Option<DynamodbDataSourceConfig>§elasticsearch_config: Option<ElasticsearchDataSourceConfig>§event_bridge_config: Option<EventBridgeDataSourceConfig>§http_config: Option<HttpDataSourceConfig>§lambda_config: Option<LambdaDataSourceConfig>§metrics_config: Option<String>§name: String§open_search_service_config: Option<OpenSearchServiceDataSourceConfig>§relational_database_config: Option<RelationalDatabaseDataSourceConfig>§service_role_arn: Option<String>§type: StringTrait Implementations§
Source§impl Clone for CreateDataSourceRequest
impl Clone for CreateDataSourceRequest
Source§fn clone(&self) -> CreateDataSourceRequest
fn clone(&self) -> CreateDataSourceRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateDataSourceRequest
impl Debug for CreateDataSourceRequest
Source§impl Default for CreateDataSourceRequest
impl Default for CreateDataSourceRequest
Source§fn default() -> CreateDataSourceRequest
fn default() -> CreateDataSourceRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateDataSourceRequest
impl<'de> Deserialize<'de> for CreateDataSourceRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateDataSourceRequest
impl RefUnwindSafe for CreateDataSourceRequest
impl Send for CreateDataSourceRequest
impl Sync for CreateDataSourceRequest
impl Unpin for CreateDataSourceRequest
impl UnsafeUnpin for CreateDataSourceRequest
impl UnwindSafe for CreateDataSourceRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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 moreCreates a shared type from an unshared type.