public class StsApi extends Object
| Constructor and Description |
|---|
StsApi() |
StsApi(com.byteplus.ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AssumeRoleResponse |
assumeRole(AssumeRoleRequest body) |
com.squareup.okhttp.Call |
assumeRoleAsync(AssumeRoleRequest body,
com.byteplus.ApiCallback<AssumeRoleResponse> callback)
(asynchronously)
|
com.squareup.okhttp.Call |
assumeRoleCall(AssumeRoleRequest body,
com.byteplus.ProgressResponseBody.ProgressListener progressListener,
com.byteplus.ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for assumeRole
|
com.byteplus.ApiResponse<AssumeRoleResponse> |
assumeRoleWithHttpInfo(@NotNull AssumeRoleRequest body) |
com.byteplus.ApiClient |
getApiClient() |
GetCallerIdentityResponse |
getCallerIdentity(GetCallerIdentityRequest body) |
com.squareup.okhttp.Call |
getCallerIdentityAsync(GetCallerIdentityRequest body,
com.byteplus.ApiCallback<GetCallerIdentityResponse> callback)
(asynchronously)
|
com.squareup.okhttp.Call |
getCallerIdentityCall(GetCallerIdentityRequest body,
com.byteplus.ProgressResponseBody.ProgressListener progressListener,
com.byteplus.ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getCallerIdentity
|
com.byteplus.ApiResponse<GetCallerIdentityResponse> |
getCallerIdentityWithHttpInfo(@NotNull GetCallerIdentityRequest body) |
void |
setApiClient(com.byteplus.ApiClient apiClient) |
public com.byteplus.ApiClient getApiClient()
public void setApiClient(com.byteplus.ApiClient apiClient)
public com.squareup.okhttp.Call assumeRoleCall(AssumeRoleRequest body, com.byteplus.ProgressResponseBody.ProgressListener progressListener, com.byteplus.ProgressRequestBody.ProgressRequestListener progressRequestListener) throws com.byteplus.ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenercom.byteplus.ApiException - If fail to serialize the request body objectpublic AssumeRoleResponse assumeRole(AssumeRoleRequest body) throws com.byteplus.ApiException
body - (required)com.byteplus.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.byteplus.ApiResponse<AssumeRoleResponse> assumeRoleWithHttpInfo(@NotNull @NotNull AssumeRoleRequest body) throws com.byteplus.ApiException
body - (required)com.byteplus.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call assumeRoleAsync(AssumeRoleRequest body, com.byteplus.ApiCallback<AssumeRoleResponse> callback) throws com.byteplus.ApiException
body - (required)callback - The callback to be executed when the API call finishescom.byteplus.ApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getCallerIdentityCall(GetCallerIdentityRequest body, com.byteplus.ProgressResponseBody.ProgressListener progressListener, com.byteplus.ProgressRequestBody.ProgressRequestListener progressRequestListener) throws com.byteplus.ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenercom.byteplus.ApiException - If fail to serialize the request body objectpublic GetCallerIdentityResponse getCallerIdentity(GetCallerIdentityRequest body) throws com.byteplus.ApiException
body - (required)com.byteplus.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.byteplus.ApiResponse<GetCallerIdentityResponse> getCallerIdentityWithHttpInfo(@NotNull @NotNull GetCallerIdentityRequest body) throws com.byteplus.ApiException
body - (required)com.byteplus.ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getCallerIdentityAsync(GetCallerIdentityRequest body, com.byteplus.ApiCallback<GetCallerIdentityResponse> callback) throws com.byteplus.ApiException
body - (required)callback - The callback to be executed when the API call finishescom.byteplus.ApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2026. All rights reserved.