Struct aws_sdk_apigateway::client::fluent_builders::GetSdk [−][src]
pub struct GetSdk<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetSdk
.
Generates a client SDK for a RestApi
and Stage
.
Implementations
impl<C, M, R> GetSdk<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetSdk<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<GetSdkOutput, SdkError<GetSdkError>> where
R::Policy: SmithyRetryPolicy<GetSdkInputOperationOutputAlias, GetSdkOutput, GetSdkError, GetSdkInputOperationRetryAlias>,
pub async fn send(self) -> Result<GetSdkOutput, SdkError<GetSdkError>> where
R::Policy: SmithyRetryPolicy<GetSdkInputOperationOutputAlias, GetSdkOutput, GetSdkError, GetSdkInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
[Required] The string identifier of the associated RestApi
.
[Required] The string identifier of the associated RestApi
.
[Required] The name of the Stage
that the SDK will use.
[Required] The name of the Stage
that the SDK will use.
[Required] The language for the generated SDK. Currently java
, javascript
, android
, objectivec
(for iOS), swift
(for iOS), and ruby
are supported.
[Required] The language for the generated SDK. Currently java
, javascript
, android
, objectivec
(for iOS), swift
(for iOS), and ruby
are supported.
Adds a key-value pair to parameters
.
To override the contents of this collection use set_parameters
.
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.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetSdk<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetSdk<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more