get Sdk
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.apigateway.ApigatewayFunctions;
import com.pulumi.aws.apigateway.inputs.GetSdkArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ApigatewayFunctions.getSdk(GetSdkArgs.builder()
.restApiId(aws_api_gateway_stage.example().rest_api_id())
.stageName(aws_api_gateway_stage.example().stage_name())
.sdkType("android")
.parameters(Map.ofEntries(
Map.entry("groupId", "example"),
Map.entry("artifactId", "example"),
Map.entry("artifactVersion", "example"),
Map.entry("invokerPackage", "example")
))
.build());
}
}
Return
A collection of values returned by getSdk.
Parameters
A collection of arguments for invoking getSdk.
Return
A collection of values returned by getSdk.
Parameters
Key-value map of query string parameters sdk_type
properties of the SDK. For SDK Type of objectivec
or swift
, a parameter named classPrefix
is required. For SDK Type of android
, parameters named groupId
, artifactId
, artifactVersion
, and invokerPackage
are required. For SDK Type of java
, parameters named serviceName
and javaPackageName
are required.
Identifier of the associated REST API.
Language for the generated SDK. Currently java
, javascript
, android
, objectivec
(for iOS), swift
(for iOS), and ruby
are supported.
Name of the Stage that will be exported.
See also
Return
A collection of values returned by getSdk.
Parameters
Builder for com.pulumi.aws.apigateway.kotlin.inputs.GetSdkPlainArgs.