Package com.datadog.api.client.v2.api
Class ActionConnectionApi
java.lang.Object
com.datadog.api.client.v2.api.ActionConnectionApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ActionConnectionApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to listAppKeyRegistrations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a new Action Connection.Create a new Action Connection.Create a new Action Connection.Create a new Action Connection.voiddeleteActionConnection(String connectionId) Delete an existing Action Connection.deleteActionConnectionAsync(String connectionId) Delete an existing Action Connection.deleteActionConnectionWithHttpInfo(String connectionId) Delete an existing Action Connection.deleteActionConnectionWithHttpInfoAsync(String connectionId) Delete an existing Action Connection.getActionConnection(String connectionId) Get an existing Action Connection.getActionConnectionAsync(String connectionId) Get an existing Action Connection.getActionConnectionWithHttpInfo(String connectionId) Get an existing Action Connection.getActionConnectionWithHttpInfoAsync(String connectionId) Get an existing Action Connection.Get the API client.getAppKeyRegistration(String appKeyId) Get an existing App Key Registration.getAppKeyRegistrationAsync(String appKeyId) Get an existing App Key Registration.getAppKeyRegistrationWithHttpInfo(String appKeyId) Get an existing App Key RegistrationgetAppKeyRegistrationWithHttpInfoAsync(String appKeyId) Get an existing App Key Registration.List App Key Registrations.List App Key Registrations.List App Key Registrations.listAppKeyRegistrationsAsync(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters) List App Key Registrations.listAppKeyRegistrationsWithHttpInfo(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters) List App Key RegistrationslistAppKeyRegistrationsWithHttpInfoAsync(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters) List App Key Registrations.registerAppKey(String appKeyId) Register a new App Key.registerAppKeyAsync(String appKeyId) Register a new App Key.registerAppKeyWithHttpInfo(String appKeyId) Register a new App KeyregisterAppKeyWithHttpInfoAsync(String appKeyId) Register a new App Key.voidsetApiClient(ApiClient apiClient) Set the API client.voidunregisterAppKey(String appKeyId) Unregister an App Key.unregisterAppKeyAsync(String appKeyId) Unregister an App Key.unregisterAppKeyWithHttpInfo(String appKeyId) Unregister an App KeyunregisterAppKeyWithHttpInfoAsync(String appKeyId) Unregister an App Key.updateActionConnection(String connectionId, UpdateActionConnectionRequest body) Update an existing Action Connection.updateActionConnectionAsync(String connectionId, UpdateActionConnectionRequest body) Update an existing Action Connection.updateActionConnectionWithHttpInfo(String connectionId, UpdateActionConnectionRequest body) Update an existing Action Connection.updateActionConnectionWithHttpInfoAsync(String connectionId, UpdateActionConnectionRequest body) Update an existing Action Connection.
-
Constructor Details
-
ActionConnectionApi
public ActionConnectionApi() -
ActionConnectionApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createActionConnection
public CreateActionConnectionResponse createActionConnection(CreateActionConnectionRequest body) throws ApiException Create a new Action Connection.See
createActionConnectionWithHttpInfo(com.datadog.api.client.v2.model.CreateActionConnectionRequest).- Parameters:
body- (required)- Returns:
- CreateActionConnectionResponse
- Throws:
ApiException- if fails to make API call
-
createActionConnectionAsync
public CompletableFuture<CreateActionConnectionResponse> createActionConnectionAsync(CreateActionConnectionRequest body) Create a new Action Connection.- Parameters:
body- (required)- Returns:
- CompletableFuture<CreateActionConnectionResponse>
-
createActionConnectionWithHttpInfo
public ApiResponse<CreateActionConnectionResponse> createActionConnectionWithHttpInfo(CreateActionConnectionRequest body) throws ApiException Create a new Action Connection. This API requires a registered application key.- Parameters:
body- (required)- Returns:
- ApiResponse<CreateActionConnectionResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Successfully created Action Connection - 400 Bad Request - 403 Forbidden - 429 Too Many Request -
-
createActionConnectionWithHttpInfoAsync
public CompletableFuture<ApiResponse<CreateActionConnectionResponse>> createActionConnectionWithHttpInfoAsync(CreateActionConnectionRequest body) Create a new Action Connection.See
createActionConnectionWithHttpInfo(com.datadog.api.client.v2.model.CreateActionConnectionRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<CreateActionConnectionResponse>>
-
deleteActionConnection
Delete an existing Action Connection.- Parameters:
connectionId- The ID of the action connection (required)- Throws:
ApiException- if fails to make API call
-
deleteActionConnectionAsync
Delete an existing Action Connection.See
deleteActionConnectionWithHttpInfoAsync(java.lang.String).- Parameters:
connectionId- The ID of the action connection (required)- Returns:
- CompletableFuture
-
deleteActionConnectionWithHttpInfo
public ApiResponse<Void> deleteActionConnectionWithHttpInfo(String connectionId) throws ApiException Delete an existing Action Connection. This API requires a registered application key. Alternatively, you can configure these permissions in the UI.- Parameters:
connectionId- The ID of the action connection (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 The resource was deleted successfully. - 403 Forbidden - 404 Not Found - 429 Too Many Request -
-
deleteActionConnectionWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteActionConnectionWithHttpInfoAsync(String connectionId) Delete an existing Action Connection.- Parameters:
connectionId- The ID of the action connection (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getActionConnection
Get an existing Action Connection.- Parameters:
connectionId- The ID of the action connection (required)- Returns:
- GetActionConnectionResponse
- Throws:
ApiException- if fails to make API call
-
getActionConnectionAsync
Get an existing Action Connection.- Parameters:
connectionId- The ID of the action connection (required)- Returns:
- CompletableFuture<GetActionConnectionResponse>
-
getActionConnectionWithHttpInfo
public ApiResponse<GetActionConnectionResponse> getActionConnectionWithHttpInfo(String connectionId) throws ApiException Get an existing Action Connection. This API requires a registered application key.- Parameters:
connectionId- The ID of the action connection (required)- Returns:
- ApiResponse<GetActionConnectionResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 Successfully get Action Connection - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too Many Request -
-
getActionConnectionWithHttpInfoAsync
public CompletableFuture<ApiResponse<GetActionConnectionResponse>> getActionConnectionWithHttpInfoAsync(String connectionId) Get an existing Action Connection.- Parameters:
connectionId- The ID of the action connection (required)- Returns:
- CompletableFuture<ApiResponse<GetActionConnectionResponse>>
-
getAppKeyRegistration
Get an existing App Key Registration.- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- GetAppKeyRegistrationResponse
- Throws:
ApiException- if fails to make API call
-
getAppKeyRegistrationAsync
Get an existing App Key Registration.See
getAppKeyRegistrationWithHttpInfoAsync(java.lang.String).- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- CompletableFuture<GetAppKeyRegistrationResponse>
-
getAppKeyRegistrationWithHttpInfo
public ApiResponse<GetAppKeyRegistrationResponse> getAppKeyRegistrationWithHttpInfo(String appKeyId) throws ApiException Get an existing App Key Registration- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- ApiResponse<GetAppKeyRegistrationResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad request - 403 Forbidden - 404 Not found - 429 Too many requests -
-
getAppKeyRegistrationWithHttpInfoAsync
public CompletableFuture<ApiResponse<GetAppKeyRegistrationResponse>> getAppKeyRegistrationWithHttpInfoAsync(String appKeyId) Get an existing App Key Registration.- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- CompletableFuture<ApiResponse<GetAppKeyRegistrationResponse>>
-
listAppKeyRegistrations
List App Key Registrations.- Returns:
- ListAppKeyRegistrationsResponse
- Throws:
ApiException- if fails to make API call
-
listAppKeyRegistrationsAsync
List App Key Registrations.- Returns:
- CompletableFuture<ListAppKeyRegistrationsResponse>
-
listAppKeyRegistrations
public ListAppKeyRegistrationsResponse listAppKeyRegistrations(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters) throws ApiException List App Key Registrations.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ListAppKeyRegistrationsResponse
- Throws:
ApiException- if fails to make API call
-
listAppKeyRegistrationsAsync
public CompletableFuture<ListAppKeyRegistrationsResponse> listAppKeyRegistrationsAsync(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters) List App Key Registrations.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ListAppKeyRegistrationsResponse>
-
listAppKeyRegistrationsWithHttpInfo
public ApiResponse<ListAppKeyRegistrationsResponse> listAppKeyRegistrationsWithHttpInfo(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters) throws ApiException List App Key Registrations- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<ListAppKeyRegistrationsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad request - 403 Forbidden - 429 Too many requests -
-
listAppKeyRegistrationsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ListAppKeyRegistrationsResponse>> listAppKeyRegistrationsWithHttpInfoAsync(ActionConnectionApi.ListAppKeyRegistrationsOptionalParameters parameters) List App Key Registrations.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<ListAppKeyRegistrationsResponse>>
-
registerAppKey
Register a new App Key.- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- RegisterAppKeyResponse
- Throws:
ApiException- if fails to make API call
-
registerAppKeyAsync
Register a new App Key.- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- CompletableFuture<RegisterAppKeyResponse>
-
registerAppKeyWithHttpInfo
public ApiResponse<RegisterAppKeyResponse> registerAppKeyWithHttpInfo(String appKeyId) throws ApiException Register a new App Key- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- ApiResponse<RegisterAppKeyResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad request - 403 Forbidden - 429 Too many requests -
-
registerAppKeyWithHttpInfoAsync
public CompletableFuture<ApiResponse<RegisterAppKeyResponse>> registerAppKeyWithHttpInfoAsync(String appKeyId) Register a new App Key.- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- CompletableFuture<ApiResponse<RegisterAppKeyResponse>>
-
unregisterAppKey
Unregister an App Key.- Parameters:
appKeyId- The ID of the app key (required)- Throws:
ApiException- if fails to make API call
-
unregisterAppKeyAsync
Unregister an App Key.- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- CompletableFuture
-
unregisterAppKeyWithHttpInfo
Unregister an App Key- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad request - 403 Forbidden - 404 Not found - 429 Too many requests -
-
unregisterAppKeyWithHttpInfoAsync
Unregister an App Key.- Parameters:
appKeyId- The ID of the app key (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
updateActionConnection
public UpdateActionConnectionResponse updateActionConnection(String connectionId, UpdateActionConnectionRequest body) throws ApiException Update an existing Action Connection.- Parameters:
connectionId- The ID of the action connection (required)body- Update an existing Action Connection request body (required)- Returns:
- UpdateActionConnectionResponse
- Throws:
ApiException- if fails to make API call
-
updateActionConnectionAsync
public CompletableFuture<UpdateActionConnectionResponse> updateActionConnectionAsync(String connectionId, UpdateActionConnectionRequest body) Update an existing Action Connection.- Parameters:
connectionId- The ID of the action connection (required)body- Update an existing Action Connection request body (required)- Returns:
- CompletableFuture<UpdateActionConnectionResponse>
-
updateActionConnectionWithHttpInfo
public ApiResponse<UpdateActionConnectionResponse> updateActionConnectionWithHttpInfo(String connectionId, UpdateActionConnectionRequest body) throws ApiException Update an existing Action Connection. This API requires a registered application key.- Parameters:
connectionId- The ID of the action connection (required)body- Update an existing Action Connection request body (required)- Returns:
- ApiResponse<UpdateActionConnectionResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 Successfully updated Action Connection - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too Many Request -
-
updateActionConnectionWithHttpInfoAsync
public CompletableFuture<ApiResponse<UpdateActionConnectionResponse>> updateActionConnectionWithHttpInfoAsync(String connectionId, UpdateActionConnectionRequest body) Update an existing Action Connection.- Parameters:
connectionId- The ID of the action connection (required)body- Update an existing Action Connection request body (required)- Returns:
- CompletableFuture<ApiResponse<UpdateActionConnectionResponse>>
-