#[non_exhaustive]pub struct ModifyDataProviderInput {
pub data_provider_identifier: Option<String>,
pub data_provider_name: Option<String>,
pub description: Option<String>,
pub engine: Option<String>,
pub exact_settings: Option<bool>,
pub settings: Option<DataProviderSettings>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.data_provider_identifier: Option<String>
The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
data_provider_name: Option<String>
The name of the data provider.
description: Option<String>
A user-friendly description of the data provider.
engine: Option<String>
The type of database engine for the data provider. Valid values include "aurora"
, "aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
, "sqlserver"
, redshift
, mariadb
, mongodb
, and docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.
exact_settings: Option<bool>
If this attribute is Y, the current call to ModifyDataProvider
replaces all existing data provider settings with the exact settings that you specify in this call. If this attribute is N, the current call to ModifyDataProvider
does two things:
-
It replaces any data provider settings that already exist with new values, for settings with the same names.
-
It creates new data provider settings that you specify in the call, for settings with different names.
settings: Option<DataProviderSettings>
The settings in JSON format for a data provider.
Implementations§
source§impl ModifyDataProviderInput
impl ModifyDataProviderInput
sourcepub fn data_provider_identifier(&self) -> Option<&str>
pub fn data_provider_identifier(&self) -> Option<&str>
The identifier of the data provider. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
sourcepub fn data_provider_name(&self) -> Option<&str>
pub fn data_provider_name(&self) -> Option<&str>
The name of the data provider.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A user-friendly description of the data provider.
sourcepub fn engine(&self) -> Option<&str>
pub fn engine(&self) -> Option<&str>
The type of database engine for the data provider. Valid values include "aurora"
, "aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
, "sqlserver"
, redshift
, mariadb
, mongodb
, and docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.
sourcepub fn exact_settings(&self) -> Option<bool>
pub fn exact_settings(&self) -> Option<bool>
If this attribute is Y, the current call to ModifyDataProvider
replaces all existing data provider settings with the exact settings that you specify in this call. If this attribute is N, the current call to ModifyDataProvider
does two things:
-
It replaces any data provider settings that already exist with new values, for settings with the same names.
-
It creates new data provider settings that you specify in the call, for settings with different names.
sourcepub fn settings(&self) -> Option<&DataProviderSettings>
pub fn settings(&self) -> Option<&DataProviderSettings>
The settings in JSON format for a data provider.
source§impl ModifyDataProviderInput
impl ModifyDataProviderInput
sourcepub fn builder() -> ModifyDataProviderInputBuilder
pub fn builder() -> ModifyDataProviderInputBuilder
Creates a new builder-style object to manufacture ModifyDataProviderInput
.
Trait Implementations§
source§impl Clone for ModifyDataProviderInput
impl Clone for ModifyDataProviderInput
source§fn clone(&self) -> ModifyDataProviderInput
fn clone(&self) -> ModifyDataProviderInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyDataProviderInput
impl Debug for ModifyDataProviderInput
source§impl PartialEq for ModifyDataProviderInput
impl PartialEq for ModifyDataProviderInput
source§fn eq(&self, other: &ModifyDataProviderInput) -> bool
fn eq(&self, other: &ModifyDataProviderInput) -> bool
self
and other
values to be equal, and is used
by ==
.