@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ActionConnectionApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters
Manage optional parameters to listAppKeyRegistrations.
|
| Constructor and Description |
|---|
ActionConnectionApi() |
ActionConnectionApi(ApiClient apiClient) |
public ActionConnectionApi()
public ActionConnectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CreateActionConnectionResponse createActionConnection(CreateActionConnectionRequest body) throws ApiException
See createActionConnectionWithHttpInfo(com.datadog.api.client.v2.model.CreateActionConnectionRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CreateActionConnectionResponse> createActionConnectionAsync(CreateActionConnectionRequest body)
body - (required)public ApiResponse<CreateActionConnectionResponse> createActionConnectionWithHttpInfo(CreateActionConnectionRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Successfully created Action Connection | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too Many Request | - |
public CompletableFuture<ApiResponse<CreateActionConnectionResponse>> createActionConnectionWithHttpInfoAsync(CreateActionConnectionRequest body)
See createActionConnectionWithHttpInfo(com.datadog.api.client.v2.model.CreateActionConnectionRequest).
body - (required)public void deleteActionConnection(String connectionId) throws ApiException
connectionId - The ID of the action connection (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteActionConnectionAsync(String connectionId)
See deleteActionConnectionWithHttpInfoAsync(java.lang.String).
connectionId - The ID of the action connection (required)public ApiResponse<Void> deleteActionConnectionWithHttpInfo(String connectionId) throws ApiException
connectionId - The ID of the action connection (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | The resource was deleted successfully. | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Request | - |
public CompletableFuture<ApiResponse<Void>> deleteActionConnectionWithHttpInfoAsync(String connectionId)
connectionId - The ID of the action connection (required)public GetActionConnectionResponse getActionConnection(String connectionId) throws ApiException
connectionId - The ID of the action connection (required)ApiException - if fails to make API callpublic CompletableFuture<GetActionConnectionResponse> getActionConnectionAsync(String connectionId)
connectionId - The ID of the action connection (required)public ApiResponse<GetActionConnectionResponse> getActionConnectionWithHttpInfo(String connectionId) throws ApiException
connectionId - The ID of the action connection (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully get Action Connection | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Request | - |
public CompletableFuture<ApiResponse<GetActionConnectionResponse>> getActionConnectionWithHttpInfoAsync(String connectionId)
connectionId - The ID of the action connection (required)public GetAppKeyRegistrationResponse getAppKeyRegistration(String appKeyId) throws ApiException
appKeyId - The ID of the app key (required)ApiException - if fails to make API callpublic CompletableFuture<GetAppKeyRegistrationResponse> getAppKeyRegistrationAsync(String appKeyId)
See getAppKeyRegistrationWithHttpInfoAsync(java.lang.String).
appKeyId - The ID of the app key (required)public ApiResponse<GetAppKeyRegistrationResponse> getAppKeyRegistrationWithHttpInfo(String appKeyId) throws ApiException
appKeyId - The ID of the app key (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad request | - |
| 403 | Forbidden | - |
| 404 | Not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GetAppKeyRegistrationResponse>> getAppKeyRegistrationWithHttpInfoAsync(String appKeyId)
appKeyId - The ID of the app key (required)public ListAppKeyRegistrationsResponse listAppKeyRegistrations() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<ListAppKeyRegistrationsResponse> listAppKeyRegistrationsAsync()
public ListAppKeyRegistrationsResponse listAppKeyRegistrations(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ListAppKeyRegistrationsResponse> listAppKeyRegistrationsAsync(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<ListAppKeyRegistrationsResponse> listAppKeyRegistrationsWithHttpInfo(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ListAppKeyRegistrationsResponse>> listAppKeyRegistrationsWithHttpInfoAsync(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters)
parameters - Optional parameters for the request.public RegisterAppKeyResponse registerAppKey(String appKeyId) throws ApiException
appKeyId - The ID of the app key (required)ApiException - if fails to make API callpublic CompletableFuture<RegisterAppKeyResponse> registerAppKeyAsync(String appKeyId)
appKeyId - The ID of the app key (required)public ApiResponse<RegisterAppKeyResponse> registerAppKeyWithHttpInfo(String appKeyId) throws ApiException
appKeyId - The ID of the app key (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<RegisterAppKeyResponse>> registerAppKeyWithHttpInfoAsync(String appKeyId)
appKeyId - The ID of the app key (required)public void unregisterAppKey(String appKeyId) throws ApiException
appKeyId - The ID of the app key (required)ApiException - if fails to make API callpublic CompletableFuture<Void> unregisterAppKeyAsync(String appKeyId)
appKeyId - The ID of the app key (required)public ApiResponse<Void> unregisterAppKeyWithHttpInfo(String appKeyId) throws ApiException
appKeyId - The ID of the app key (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad request | - |
| 403 | Forbidden | - |
| 404 | Not found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> unregisterAppKeyWithHttpInfoAsync(String appKeyId)
appKeyId - The ID of the app key (required)public UpdateActionConnectionResponse updateActionConnection(String connectionId, UpdateActionConnectionRequest body) throws ApiException
connectionId - The ID of the action connection (required)body - Update an existing Action Connection request body (required)ApiException - if fails to make API callpublic CompletableFuture<UpdateActionConnectionResponse> updateActionConnectionAsync(String connectionId, UpdateActionConnectionRequest body)
connectionId - The ID of the action connection (required)body - Update an existing Action Connection request body (required)public ApiResponse<UpdateActionConnectionResponse> updateActionConnectionWithHttpInfo(String connectionId, UpdateActionConnectionRequest body) throws ApiException
connectionId - The ID of the action connection (required)body - Update an existing Action Connection request body (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully updated Action Connection | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Request | - |
public CompletableFuture<ApiResponse<UpdateActionConnectionResponse>> updateActionConnectionWithHttpInfoAsync(String connectionId, UpdateActionConnectionRequest body)
connectionId - The ID of the action connection (required)body - Update an existing Action Connection request body (required)Copyright © 2025. All rights reserved.