Struct aws_sdk_apigateway::operation::get_sdk::GetSdkInput
source · #[non_exhaustive]pub struct GetSdkInput {
pub rest_api_id: Option<String>,
pub stage_name: Option<String>,
pub sdk_type: Option<String>,
pub parameters: Option<HashMap<String, String>>,
}Expand description
Request a new generated client SDK for a RestApi and Stage.
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.rest_api_id: Option<String>The string identifier of the associated RestApi.
stage_name: Option<String>The name of the Stage that the SDK will use.
sdk_type: Option<String>The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.
parameters: Option<HashMap<String, String>>A string-to-string key-value map of query parameters sdkType-dependent properties of the SDK. For sdkType of objectivec or swift, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage are required. For sdkType of java, parameters named serviceName and javaPackageName are required.
Implementations§
source§impl GetSdkInput
impl GetSdkInput
sourcepub fn rest_api_id(&self) -> Option<&str>
pub fn rest_api_id(&self) -> Option<&str>
The string identifier of the associated RestApi.
sourcepub fn stage_name(&self) -> Option<&str>
pub fn stage_name(&self) -> Option<&str>
The name of the Stage that the SDK will use.
sourcepub fn sdk_type(&self) -> Option<&str>
pub fn sdk_type(&self) -> Option<&str>
The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.
sourcepub fn parameters(&self) -> Option<&HashMap<String, String>>
pub fn parameters(&self) -> Option<&HashMap<String, String>>
A string-to-string key-value map of query parameters sdkType-dependent properties of the SDK. For sdkType of objectivec or swift, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage are required. For sdkType of java, parameters named serviceName and javaPackageName are required.
source§impl GetSdkInput
impl GetSdkInput
sourcepub fn builder() -> GetSdkInputBuilder
pub fn builder() -> GetSdkInputBuilder
Creates a new builder-style object to manufacture GetSdkInput.
Trait Implementations§
source§impl Clone for GetSdkInput
impl Clone for GetSdkInput
source§fn clone(&self) -> GetSdkInput
fn clone(&self) -> GetSdkInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetSdkInput
impl Debug for GetSdkInput
source§impl PartialEq for GetSdkInput
impl PartialEq for GetSdkInput
source§fn eq(&self, other: &GetSdkInput) -> bool
fn eq(&self, other: &GetSdkInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetSdkInput
Auto Trait Implementations§
impl Freeze for GetSdkInput
impl RefUnwindSafe for GetSdkInput
impl Send for GetSdkInput
impl Sync for GetSdkInput
impl Unpin for GetSdkInput
impl UnwindSafe for GetSdkInput
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
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>
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>
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 more