Package com.launchdarkly.api.api
Class DataExportDestinationsApi
- java.lang.Object
-
- com.launchdarkly.api.api.DataExportDestinationsApi
-
public class DataExportDestinationsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DataExportDestinationsApi()DataExportDestinationsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteDestination(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id)Delete Data Export destination Delete a Data Export destination by ID.okhttp3.CalldeleteDestinationAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id, ApiCallback<java.lang.Void> _callback)Delete Data Export destination (asynchronously) Delete a Data Export destination by ID.okhttp3.CalldeleteDestinationCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id, ApiCallback _callback)Build call for deleteDestinationApiResponse<java.lang.Void>deleteDestinationWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id)Delete Data Export destination Delete a Data Export destination by ID.ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()DestinationgetDestination(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id)Get destination Get a single Data Export destination by ID.okhttp3.CallgetDestinationAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id, ApiCallback<Destination> _callback)Get destination (asynchronously) Get a single Data Export destination by ID.okhttp3.CallgetDestinationCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id, ApiCallback _callback)Build call for getDestinationDestinationsgetDestinations()List destinations Get a list of Data Export destinations configured across all projects and environments.okhttp3.CallgetDestinationsAsync(ApiCallback<Destinations> _callback)List destinations (asynchronously) Get a list of Data Export destinations configured across all projects and environments.okhttp3.CallgetDestinationsCall(ApiCallback _callback)Build call for getDestinationsApiResponse<Destinations>getDestinationsWithHttpInfo()List destinations Get a list of Data Export destinations configured across all projects and environments.ApiResponse<Destination>getDestinationWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id)Get destination Get a single Data Export destination by ID.intgetHostIndex()DestinationpatchDestination(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id, java.util.List<PatchOperation> patchOperation)Update Data Export destination Update a Data Export destination.okhttp3.CallpatchDestinationAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id, java.util.List<PatchOperation> patchOperation, ApiCallback<Destination> _callback)Update Data Export destination (asynchronously) Update a Data Export destination.okhttp3.CallpatchDestinationCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id, java.util.List<PatchOperation> patchOperation, ApiCallback _callback)Build call for patchDestinationApiResponse<Destination>patchDestinationWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String id, java.util.List<PatchOperation> patchOperation)Update Data Export destination Update a Data Export destination.DestinationpostDestination(java.lang.String projectKey, java.lang.String environmentKey, DestinationPost destinationPost)Create Data Export destination Create a new Data Export destination.okhttp3.CallpostDestinationAsync(java.lang.String projectKey, java.lang.String environmentKey, DestinationPost destinationPost, ApiCallback<Destination> _callback)Create Data Export destination (asynchronously) Create a new Data Export destination.okhttp3.CallpostDestinationCall(java.lang.String projectKey, java.lang.String environmentKey, DestinationPost destinationPost, ApiCallback _callback)Build call for postDestinationApiResponse<Destination>postDestinationWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, DestinationPost destinationPost)Create Data Export destination Create a new Data Export destination.GenerateTrustPolicyPostReppostGenerateTrustPolicy(java.lang.String projKey, java.lang.String envKey)Generate trust policy Trust policy to allow Data Export to assume the role and perform operations on AWS resourcesokhttp3.CallpostGenerateTrustPolicyAsync(java.lang.String projKey, java.lang.String envKey, ApiCallback<GenerateTrustPolicyPostRep> _callback)Generate trust policy (asynchronously) Trust policy to allow Data Export to assume the role and perform operations on AWS resourcesokhttp3.CallpostGenerateTrustPolicyCall(java.lang.String projKey, java.lang.String envKey, ApiCallback _callback)Build call for postGenerateTrustPolicyApiResponse<GenerateTrustPolicyPostRep>postGenerateTrustPolicyWithHttpInfo(java.lang.String projKey, java.lang.String envKey)Generate trust policy Trust policy to allow Data Export to assume the role and perform operations on AWS resourcesGenerateWarehouseDestinationKeyPairPostReppostGenerateWarehouseDestinationKeyPair()Generate Snowflake destination key pair Generate key pair to allow Data Export to authenticate into a Snowflake warehouse destinationokhttp3.CallpostGenerateWarehouseDestinationKeyPairAsync(ApiCallback<GenerateWarehouseDestinationKeyPairPostRep> _callback)Generate Snowflake destination key pair (asynchronously) Generate key pair to allow Data Export to authenticate into a Snowflake warehouse destinationokhttp3.CallpostGenerateWarehouseDestinationKeyPairCall(ApiCallback _callback)Build call for postGenerateWarehouseDestinationKeyPairApiResponse<GenerateWarehouseDestinationKeyPairPostRep>postGenerateWarehouseDestinationKeyPairWithHttpInfo()Generate Snowflake destination key pair Generate key pair to allow Data Export to authenticate into a Snowflake warehouse destinationvoidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
DataExportDestinationsApi
public DataExportDestinationsApi()
-
DataExportDestinationsApi
public DataExportDestinationsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
deleteDestinationCall
public okhttp3.Call deleteDestinationCall(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id, ApiCallback _callback) throws ApiExceptionBuild call for deleteDestination- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteDestination
public void deleteDestination(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id) throws ApiExceptionDelete Data Export destination Delete a Data Export destination by ID.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteDestinationWithHttpInfo
public ApiResponse<java.lang.Void> deleteDestinationWithHttpInfo(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id) throws ApiException
Delete Data Export destination Delete a Data Export destination by ID.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteDestinationAsync
public okhttp3.Call deleteDestinationAsync(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete Data Export destination (asynchronously) Delete a Data Export destination by ID.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getDestinationCall
public okhttp3.Call getDestinationCall(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id, ApiCallback _callback) throws ApiExceptionBuild call for getDestination- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getDestination
public Destination getDestination(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id) throws ApiException
Get destination Get a single Data Export destination by ID.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)- Returns:
- Destination
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getDestinationWithHttpInfo
public ApiResponse<Destination> getDestinationWithHttpInfo(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id) throws ApiException
Get destination Get a single Data Export destination by ID.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)- Returns:
- ApiResponse<Destination>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getDestinationAsync
public okhttp3.Call getDestinationAsync(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id, ApiCallback<Destination> _callback) throws ApiExceptionGet destination (asynchronously) Get a single Data Export destination by ID.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getDestinationsCall
public okhttp3.Call getDestinationsCall(ApiCallback _callback) throws ApiException
Build call for getDestinations- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getDestinations
public Destinations getDestinations() throws ApiException
List destinations Get a list of Data Export destinations configured across all projects and environments.- Returns:
- Destinations
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getDestinationsWithHttpInfo
public ApiResponse<Destinations> getDestinationsWithHttpInfo() throws ApiException
List destinations Get a list of Data Export destinations configured across all projects and environments.- Returns:
- ApiResponse<Destinations>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getDestinationsAsync
public okhttp3.Call getDestinationsAsync(ApiCallback<Destinations> _callback) throws ApiException
List destinations (asynchronously) Get a list of Data Export destinations configured across all projects and environments.- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
patchDestinationCall
public okhttp3.Call patchDestinationCall(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id, @Nonnull java.util.List<PatchOperation> patchOperation, ApiCallback _callback) throws ApiExceptionBuild call for patchDestination- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)patchOperation- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
patchDestination
public Destination patchDestination(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id, @Nonnull java.util.List<PatchOperation> patchOperation) throws ApiException
Update Data Export destination Update a Data Export destination. Updating a destination uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)patchOperation- (required)- Returns:
- Destination
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchDestinationWithHttpInfo
public ApiResponse<Destination> patchDestinationWithHttpInfo(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id, @Nonnull java.util.List<PatchOperation> patchOperation) throws ApiException
Update Data Export destination Update a Data Export destination. Updating a destination uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)patchOperation- (required)- Returns:
- ApiResponse<Destination>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchDestinationAsync
public okhttp3.Call patchDestinationAsync(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull java.lang.String id, @Nonnull java.util.List<PatchOperation> patchOperation, ApiCallback<Destination> _callback) throws ApiExceptionUpdate Data Export destination (asynchronously) Update a Data Export destination. Updating a destination uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) or [JSON merge patch](https://datatracker.ietf.org/doc/html/rfc7386) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)id- The Data Export destination ID (required)patchOperation- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
postDestinationCall
public okhttp3.Call postDestinationCall(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull DestinationPost destinationPost, ApiCallback _callback) throws ApiExceptionBuild call for postDestination- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)destinationPost- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postDestination
public Destination postDestination(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull DestinationPost destinationPost) throws ApiException
Create Data Export destination Create a new Data Export destination. In the `config` request body parameter, the fields required depend on the type of Data Export destination. <details> <summary>Click to expand <code>config</code> parameter details</summary> #### Azure Event Hubs To create a Data Export destination with a `kind` of `azure-event-hubs`, the `config` object requires the following fields: * `namespace`: The Event Hub Namespace name * `name`: The Event Hub name * `policyName`: The shared access signature policy name. You can find your policy name in the settings of your Azure Event Hubs Namespace. * `policyKey`: The shared access signature key. You can find your policy key in the settings of your Azure Event Hubs Namespace. #### Google Cloud Pub/Sub To create a Data Export destination with a `kind` of `google-pubsub`, the `config` object requires the following fields: * `project`: The Google PubSub project ID for the project to publish to * `topic`: The Google PubSub topic ID for the topic to publish to #### Amazon Kinesis To create a Data Export destination with a `kind` of `kinesis`, the `config` object requires the following fields: * `region`: The Kinesis stream's AWS region key * `roleArn`: The Amazon Resource Name (ARN) of the AWS role that will be writing to Kinesis * `streamName`: The name of the Kinesis stream that LaunchDarkly is sending events to. This is not the ARN of the stream. #### mParticle To create a Data Export destination with a `kind` of `mparticle`, the `config` object requires the following fields: * `apiKey`: The mParticle API key * `secret`: The mParticle API secret * `userIdentity`: The type of identifier you use to identify your end users in mParticle * `anonymousUserIdentity`: The type of identifier you use to identify your anonymous end users in mParticle #### Segment To create a Data Export destination with a `kind` of `segment`, the `config` object requires the following fields: * `writeKey`: The Segment write key. This is used to authenticate LaunchDarkly's calls to Segment. #### Snowflake To create a Data Export destination with a `kind` of `snowflake-v2`, the `config` object requires the following fields: * `publicKey`: The `publicKey` is returned as part of the [Generate Snowflake destination key pair](https://launchdarkly.com/docs/api/data-export-destinations/post-generate-warehouse-destination-key-pair) response. It is the `public_key` field. * `snowflakeHostAddress`: Your Snowflake account URL. </details>- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)destinationPost- (required)- Returns:
- Destination
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postDestinationWithHttpInfo
public ApiResponse<Destination> postDestinationWithHttpInfo(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull DestinationPost destinationPost) throws ApiException
Create Data Export destination Create a new Data Export destination. In the `config` request body parameter, the fields required depend on the type of Data Export destination. <details> <summary>Click to expand <code>config</code> parameter details</summary> #### Azure Event Hubs To create a Data Export destination with a `kind` of `azure-event-hubs`, the `config` object requires the following fields: * `namespace`: The Event Hub Namespace name * `name`: The Event Hub name * `policyName`: The shared access signature policy name. You can find your policy name in the settings of your Azure Event Hubs Namespace. * `policyKey`: The shared access signature key. You can find your policy key in the settings of your Azure Event Hubs Namespace. #### Google Cloud Pub/Sub To create a Data Export destination with a `kind` of `google-pubsub`, the `config` object requires the following fields: * `project`: The Google PubSub project ID for the project to publish to * `topic`: The Google PubSub topic ID for the topic to publish to #### Amazon Kinesis To create a Data Export destination with a `kind` of `kinesis`, the `config` object requires the following fields: * `region`: The Kinesis stream's AWS region key * `roleArn`: The Amazon Resource Name (ARN) of the AWS role that will be writing to Kinesis * `streamName`: The name of the Kinesis stream that LaunchDarkly is sending events to. This is not the ARN of the stream. #### mParticle To create a Data Export destination with a `kind` of `mparticle`, the `config` object requires the following fields: * `apiKey`: The mParticle API key * `secret`: The mParticle API secret * `userIdentity`: The type of identifier you use to identify your end users in mParticle * `anonymousUserIdentity`: The type of identifier you use to identify your anonymous end users in mParticle #### Segment To create a Data Export destination with a `kind` of `segment`, the `config` object requires the following fields: * `writeKey`: The Segment write key. This is used to authenticate LaunchDarkly's calls to Segment. #### Snowflake To create a Data Export destination with a `kind` of `snowflake-v2`, the `config` object requires the following fields: * `publicKey`: The `publicKey` is returned as part of the [Generate Snowflake destination key pair](https://launchdarkly.com/docs/api/data-export-destinations/post-generate-warehouse-destination-key-pair) response. It is the `public_key` field. * `snowflakeHostAddress`: Your Snowflake account URL. </details>- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)destinationPost- (required)- Returns:
- ApiResponse<Destination>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postDestinationAsync
public okhttp3.Call postDestinationAsync(@Nonnull java.lang.String projectKey, @Nonnull java.lang.String environmentKey, @Nonnull DestinationPost destinationPost, ApiCallback<Destination> _callback) throws ApiExceptionCreate Data Export destination (asynchronously) Create a new Data Export destination. In the `config` request body parameter, the fields required depend on the type of Data Export destination. <details> <summary>Click to expand <code>config</code> parameter details</summary> #### Azure Event Hubs To create a Data Export destination with a `kind` of `azure-event-hubs`, the `config` object requires the following fields: * `namespace`: The Event Hub Namespace name * `name`: The Event Hub name * `policyName`: The shared access signature policy name. You can find your policy name in the settings of your Azure Event Hubs Namespace. * `policyKey`: The shared access signature key. You can find your policy key in the settings of your Azure Event Hubs Namespace. #### Google Cloud Pub/Sub To create a Data Export destination with a `kind` of `google-pubsub`, the `config` object requires the following fields: * `project`: The Google PubSub project ID for the project to publish to * `topic`: The Google PubSub topic ID for the topic to publish to #### Amazon Kinesis To create a Data Export destination with a `kind` of `kinesis`, the `config` object requires the following fields: * `region`: The Kinesis stream's AWS region key * `roleArn`: The Amazon Resource Name (ARN) of the AWS role that will be writing to Kinesis * `streamName`: The name of the Kinesis stream that LaunchDarkly is sending events to. This is not the ARN of the stream. #### mParticle To create a Data Export destination with a `kind` of `mparticle`, the `config` object requires the following fields: * `apiKey`: The mParticle API key * `secret`: The mParticle API secret * `userIdentity`: The type of identifier you use to identify your end users in mParticle * `anonymousUserIdentity`: The type of identifier you use to identify your anonymous end users in mParticle #### Segment To create a Data Export destination with a `kind` of `segment`, the `config` object requires the following fields: * `writeKey`: The Segment write key. This is used to authenticate LaunchDarkly's calls to Segment. #### Snowflake To create a Data Export destination with a `kind` of `snowflake-v2`, the `config` object requires the following fields: * `publicKey`: The `publicKey` is returned as part of the [Generate Snowflake destination key pair](https://launchdarkly.com/docs/api/data-export-destinations/post-generate-warehouse-destination-key-pair) response. It is the `public_key` field. * `snowflakeHostAddress`: Your Snowflake account URL. </details>- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)destinationPost- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
postGenerateTrustPolicyCall
public okhttp3.Call postGenerateTrustPolicyCall(@Nonnull java.lang.String projKey, @Nonnull java.lang.String envKey, ApiCallback _callback) throws ApiExceptionBuild call for postGenerateTrustPolicy- Parameters:
projKey- The project key (required)envKey- The environment key (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postGenerateTrustPolicy
public GenerateTrustPolicyPostRep postGenerateTrustPolicy(@Nonnull java.lang.String projKey, @Nonnull java.lang.String envKey) throws ApiException
Generate trust policy Trust policy to allow Data Export to assume the role and perform operations on AWS resources- Parameters:
projKey- The project key (required)envKey- The environment key (required)- Returns:
- GenerateTrustPolicyPostRep
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postGenerateTrustPolicyWithHttpInfo
public ApiResponse<GenerateTrustPolicyPostRep> postGenerateTrustPolicyWithHttpInfo(@Nonnull java.lang.String projKey, @Nonnull java.lang.String envKey) throws ApiException
Generate trust policy Trust policy to allow Data Export to assume the role and perform operations on AWS resources- Parameters:
projKey- The project key (required)envKey- The environment key (required)- Returns:
- ApiResponse<GenerateTrustPolicyPostRep>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postGenerateTrustPolicyAsync
public okhttp3.Call postGenerateTrustPolicyAsync(@Nonnull java.lang.String projKey, @Nonnull java.lang.String envKey, ApiCallback<GenerateTrustPolicyPostRep> _callback) throws ApiExceptionGenerate trust policy (asynchronously) Trust policy to allow Data Export to assume the role and perform operations on AWS resources- Parameters:
projKey- The project key (required)envKey- The environment key (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
postGenerateWarehouseDestinationKeyPairCall
public okhttp3.Call postGenerateWarehouseDestinationKeyPairCall(ApiCallback _callback) throws ApiException
Build call for postGenerateWarehouseDestinationKeyPair- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postGenerateWarehouseDestinationKeyPair
public GenerateWarehouseDestinationKeyPairPostRep postGenerateWarehouseDestinationKeyPair() throws ApiException
Generate Snowflake destination key pair Generate key pair to allow Data Export to authenticate into a Snowflake warehouse destination- Returns:
- GenerateWarehouseDestinationKeyPairPostRep
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postGenerateWarehouseDestinationKeyPairWithHttpInfo
public ApiResponse<GenerateWarehouseDestinationKeyPairPostRep> postGenerateWarehouseDestinationKeyPairWithHttpInfo() throws ApiException
Generate Snowflake destination key pair Generate key pair to allow Data Export to authenticate into a Snowflake warehouse destination- Returns:
- ApiResponse<GenerateWarehouseDestinationKeyPairPostRep>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postGenerateWarehouseDestinationKeyPairAsync
public okhttp3.Call postGenerateWarehouseDestinationKeyPairAsync(ApiCallback<GenerateWarehouseDestinationKeyPairPostRep> _callback) throws ApiException
Generate Snowflake destination key pair (asynchronously) Generate key pair to allow Data Export to authenticate into a Snowflake warehouse destination- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-