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 ==.