Package com.datadog.api.client.v2.api
Class AuthNMappingsApi
java.lang.Object
com.datadog.api.client.v2.api.AuthNMappingsApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AuthNMappingsApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to listAuthNMappings. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate an AuthN Mapping.Create an AuthN Mapping.Create an AuthN Mapping.Create an AuthN Mapping.voiddeleteAuthNMapping(String authnMappingId) Delete an AuthN Mapping.deleteAuthNMappingAsync(String authnMappingId) Delete an AuthN Mapping.deleteAuthNMappingWithHttpInfo(String authnMappingId) Delete an AuthN Mapping specified by AuthN Mapping UUID.deleteAuthNMappingWithHttpInfoAsync(String authnMappingId) Delete an AuthN Mapping.Get the API client.getAuthNMapping(String authnMappingId) Get an AuthN Mapping by UUID.getAuthNMappingAsync(String authnMappingId) Get an AuthN Mapping by UUID.getAuthNMappingWithHttpInfo(String authnMappingId) Get an AuthN Mapping specified by the AuthN Mapping UUID.getAuthNMappingWithHttpInfoAsync(String authnMappingId) Get an AuthN Mapping by UUID.List all AuthN Mappings.List all AuthN Mappings.List all AuthN Mappings.List all AuthN Mappings.List all AuthN Mappings in the org.List all AuthN Mappings.voidsetApiClient(ApiClient apiClient) Set the API client.updateAuthNMapping(String authnMappingId, AuthNMappingUpdateRequest body) Edit an AuthN Mapping.updateAuthNMappingAsync(String authnMappingId, AuthNMappingUpdateRequest body) Edit an AuthN Mapping.updateAuthNMappingWithHttpInfo(String authnMappingId, AuthNMappingUpdateRequest body) Edit an AuthN Mapping.updateAuthNMappingWithHttpInfoAsync(String authnMappingId, AuthNMappingUpdateRequest body) Edit an AuthN Mapping.
-
Constructor Details
-
AuthNMappingsApi
public AuthNMappingsApi() -
AuthNMappingsApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createAuthNMapping
Create an AuthN Mapping.See
createAuthNMappingWithHttpInfo(com.datadog.api.client.v2.model.AuthNMappingCreateRequest).- Parameters:
body- (required)- Returns:
- AuthNMappingResponse
- Throws:
ApiException- if fails to make API call
-
createAuthNMappingAsync
public CompletableFuture<AuthNMappingResponse> createAuthNMappingAsync(AuthNMappingCreateRequest body) Create an AuthN Mapping.See
createAuthNMappingWithHttpInfoAsync(com.datadog.api.client.v2.model.AuthNMappingCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<AuthNMappingResponse>
-
createAuthNMappingWithHttpInfo
public ApiResponse<AuthNMappingResponse> createAuthNMappingWithHttpInfo(AuthNMappingCreateRequest body) throws ApiException Create an AuthN Mapping.- Parameters:
body- (required)- Returns:
- ApiResponse<AuthNMappingResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication Error - 404 Not Found - 429 Too many requests -
-
createAuthNMappingWithHttpInfoAsync
public CompletableFuture<ApiResponse<AuthNMappingResponse>> createAuthNMappingWithHttpInfoAsync(AuthNMappingCreateRequest body) Create an AuthN Mapping.See
createAuthNMappingWithHttpInfo(com.datadog.api.client.v2.model.AuthNMappingCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<AuthNMappingResponse>>
-
deleteAuthNMapping
Delete an AuthN Mapping.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)- Throws:
ApiException- if fails to make API call
-
deleteAuthNMappingAsync
Delete an AuthN Mapping.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)- Returns:
- CompletableFuture
-
deleteAuthNMappingWithHttpInfo
Delete an AuthN Mapping specified by AuthN Mapping UUID.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 403 Authentication Error - 404 Not Found - 429 Too many requests -
-
deleteAuthNMappingWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteAuthNMappingWithHttpInfoAsync(String authnMappingId) Delete an AuthN Mapping.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getAuthNMapping
Get an AuthN Mapping by UUID.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)- Returns:
- AuthNMappingResponse
- Throws:
ApiException- if fails to make API call
-
getAuthNMappingAsync
Get an AuthN Mapping by UUID.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)- Returns:
- CompletableFuture<AuthNMappingResponse>
-
getAuthNMappingWithHttpInfo
public ApiResponse<AuthNMappingResponse> getAuthNMappingWithHttpInfo(String authnMappingId) throws ApiException Get an AuthN Mapping specified by the AuthN Mapping UUID.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)- Returns:
- ApiResponse<AuthNMappingResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Authentication Error - 404 Not Found - 429 Too many requests -
-
getAuthNMappingWithHttpInfoAsync
public CompletableFuture<ApiResponse<AuthNMappingResponse>> getAuthNMappingWithHttpInfoAsync(String authnMappingId) Get an AuthN Mapping by UUID.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)- Returns:
- CompletableFuture<ApiResponse<AuthNMappingResponse>>
-
listAuthNMappings
List all AuthN Mappings.- Returns:
- AuthNMappingsResponse
- Throws:
ApiException- if fails to make API call
-
listAuthNMappingsAsync
List all AuthN Mappings.- Returns:
- CompletableFuture<AuthNMappingsResponse>
-
listAuthNMappings
public AuthNMappingsResponse listAuthNMappings(AuthNMappingsApi.ListAuthNMappingsOptionalParameters parameters) throws ApiException List all AuthN Mappings.- Parameters:
parameters- Optional parameters for the request.- Returns:
- AuthNMappingsResponse
- Throws:
ApiException- if fails to make API call
-
listAuthNMappingsAsync
public CompletableFuture<AuthNMappingsResponse> listAuthNMappingsAsync(AuthNMappingsApi.ListAuthNMappingsOptionalParameters parameters) List all AuthN Mappings.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<AuthNMappingsResponse>
-
listAuthNMappingsWithHttpInfo
public ApiResponse<AuthNMappingsResponse> listAuthNMappingsWithHttpInfo(AuthNMappingsApi.ListAuthNMappingsOptionalParameters parameters) throws ApiException List all AuthN Mappings in the org.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<AuthNMappingsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Authentication Error - 429 Too many requests -
-
listAuthNMappingsWithHttpInfoAsync
public CompletableFuture<ApiResponse<AuthNMappingsResponse>> listAuthNMappingsWithHttpInfoAsync(AuthNMappingsApi.ListAuthNMappingsOptionalParameters parameters) List all AuthN Mappings.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<AuthNMappingsResponse>>
-
updateAuthNMapping
public AuthNMappingResponse updateAuthNMapping(String authnMappingId, AuthNMappingUpdateRequest body) throws ApiException Edit an AuthN Mapping.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)body- (required)- Returns:
- AuthNMappingResponse
- Throws:
ApiException- if fails to make API call
-
updateAuthNMappingAsync
public CompletableFuture<AuthNMappingResponse> updateAuthNMappingAsync(String authnMappingId, AuthNMappingUpdateRequest body) Edit an AuthN Mapping.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)body- (required)- Returns:
- CompletableFuture<AuthNMappingResponse>
-
updateAuthNMappingWithHttpInfo
public ApiResponse<AuthNMappingResponse> updateAuthNMappingWithHttpInfo(String authnMappingId, AuthNMappingUpdateRequest body) throws ApiException Edit an AuthN Mapping.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)body- (required)- Returns:
- ApiResponse<AuthNMappingResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication Error - 404 Not Found - 409 Conflict - 422 Unprocessable Entity - 429 Too many requests -
-
updateAuthNMappingWithHttpInfoAsync
public CompletableFuture<ApiResponse<AuthNMappingResponse>> updateAuthNMappingWithHttpInfoAsync(String authnMappingId, AuthNMappingUpdateRequest body) Edit an AuthN Mapping.- Parameters:
authnMappingId- The UUID of the AuthN Mapping. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<AuthNMappingResponse>>
-