pub struct AwsClientConfig {
pub account_id: String,
pub credentials: AwsCredentials,
pub region: String,
pub service_overrides: Option<AwsServiceOverrides>,
}Expand description
AWS client configuration
JSON schema
{
"description": "AWS client configuration",
"type": "object",
"required": [
"accountId",
"credentials",
"region"
],
"properties": {
"accountId": {
"description": "The AWS Account ID.",
"type": "string"
},
"credentials": {
"$ref": "#/components/schemas/AwsCredentials"
},
"region": {
"description": "The AWS region.",
"type": "string"
},
"serviceOverrides": {
"$ref": "#/components/schemas/AwsServiceOverrides"
}
},
"additionalProperties": false
}Fields§
§account_id: StringThe AWS Account ID.
credentials: AwsCredentials§region: StringThe AWS region.
service_overrides: Option<AwsServiceOverrides>Implementations§
Source§impl AwsClientConfig
impl AwsClientConfig
pub fn builder() -> AwsClientConfig
Trait Implementations§
Source§impl Clone for AwsClientConfig
impl Clone for AwsClientConfig
Source§fn clone(&self) -> AwsClientConfig
fn clone(&self) -> AwsClientConfig
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 AwsClientConfig
impl Debug for AwsClientConfig
Source§impl<'de> Deserialize<'de> for AwsClientConfig
impl<'de> Deserialize<'de> for AwsClientConfig
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
Source§impl From<&AwsClientConfig> for AwsClientConfig
impl From<&AwsClientConfig> for AwsClientConfig
Source§fn from(value: &AwsClientConfig) -> Self
fn from(value: &AwsClientConfig) -> Self
Converts to this type from the input type.
Source§impl From<AwsClientConfig> for AwsClientConfig
impl From<AwsClientConfig> for AwsClientConfig
Source§fn from(value: AwsClientConfig) -> Self
fn from(value: AwsClientConfig) -> Self
Converts to this type from the input type.
Source§impl Serialize for AwsClientConfig
impl Serialize for AwsClientConfig
Source§impl TryFrom<AwsClientConfig> for AwsClientConfig
impl TryFrom<AwsClientConfig> for AwsClientConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AwsClientConfig) -> Result<Self, ConversionError>
fn try_from(value: AwsClientConfig) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AwsClientConfig
impl RefUnwindSafe for AwsClientConfig
impl Send for AwsClientConfig
impl Sync for AwsClientConfig
impl Unpin for AwsClientConfig
impl UnsafeUnpin for AwsClientConfig
impl UnwindSafe for AwsClientConfig
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