pub struct HttpDataSourceConfig {
pub authorization_config: Option<AuthorizationConfig>,
pub endpoint: Option<String>,
}
Expand description
Describes an HTTP data source configuration.
Fields§
The authorization config in case the HTTP endpoint requires authorization.
endpoint: Option<String>
The HTTP URL endpoint. You can either specify the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AWS AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
Trait Implementations§
Source§impl Clone for HttpDataSourceConfig
impl Clone for HttpDataSourceConfig
Source§fn clone(&self) -> HttpDataSourceConfig
fn clone(&self) -> HttpDataSourceConfig
Returns a copy of the value. Read more
1.0.0 · 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 HttpDataSourceConfig
impl Debug for HttpDataSourceConfig
Source§impl Default for HttpDataSourceConfig
impl Default for HttpDataSourceConfig
Source§fn default() -> HttpDataSourceConfig
fn default() -> HttpDataSourceConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpDataSourceConfig
impl<'de> Deserialize<'de> for HttpDataSourceConfig
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 PartialEq for HttpDataSourceConfig
impl PartialEq for HttpDataSourceConfig
Source§impl Serialize for HttpDataSourceConfig
impl Serialize for HttpDataSourceConfig
impl StructuralPartialEq for HttpDataSourceConfig
Auto Trait Implementations§
impl Freeze for HttpDataSourceConfig
impl RefUnwindSafe for HttpDataSourceConfig
impl Send for HttpDataSourceConfig
impl Sync for HttpDataSourceConfig
impl Unpin for HttpDataSourceConfig
impl UnwindSafe for HttpDataSourceConfig
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