get_sdk
¶
get_sdk(
rest_api_id: String,
stage_name: String,
sdk_type: String,
*,
config_overrides: Optional[APIGatewayClientConfig] = None,
parameters: Optional[MapOfStringToString] = None,
) -> SdkResponse
Generates a client SDK for a RestApi and Stage.
Parameters:
-
rest_api_id(String) –The string identifier of the associated RestApi.
-
stage_name(String) –The name of the Stage that the SDK will use.
-
sdk_type(String) –The language for the generated SDK. Currently
java,javascript,android,objectivec(for iOS),swift(for iOS), andrubyare supported. -
parameters(Optional[MapOfStringToString], default:None) –A string-to-string key-value map of query parameters
sdkType-dependent properties of the SDK. ForsdkTypeofobjectivecorswift, a parameter namedclassPrefixis required. ForsdkTypeofandroid, parameters namedgroupId,artifactId,artifactVersion, andinvokerPackageare required. ForsdkTypeofjava, parameters namedserviceNameandjavaPackageNameare required.
Raises:
-
BadRequestException–The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
-
ConflictException–The request configuration has conflicts. For details, see the accompanying error message.
-
LimitExceededException–The request exceeded the rate limit. Retry after the specified time period.
-
NotFoundException–The requested resource is not found. Make sure that the request URI is correct.
-
TooManyRequestsException–The request has reached its throttling limit. Retry after the specified time period.
-
UnauthorizedException–The request is denied because the caller has insufficient permissions.
-
UnknownServiceError–The service returned an error code this client does not model.