public class SsmClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION| Constructor and Description |
|---|
SsmClient(Credential credential,
String region) |
SsmClient(Credential credential,
String region,
ClientProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
CreateSecretResponse |
CreateSecret(CreateSecretRequest req)
This API is used to create a KMS-encrypted Secret.
|
DeleteSecretResponse |
DeleteSecret(DeleteSecretRequest req)
This API is used to delete a Secret.
|
DeleteSecretVersionResponse |
DeleteSecretVersion(DeleteSecretVersionRequest req)
This API is used to delete a version of a Secret.
|
DescribeSecretResponse |
DescribeSecret(DescribeSecretRequest req)
This API is used to obtain the detailed attribute information of a Secret.
|
DisableSecretResponse |
DisableSecret(DisableSecretRequest req)
This API is used to disable a Secret and will change its status to `Disabled`.
|
EnableSecretResponse |
EnableSecret(EnableSecretRequest req)
This API is used to enable a Secret and will change its status to `Enabled`.
|
GetRegionsResponse |
GetRegions(GetRegionsRequest req)
This API is used to obtain the list of regions displayed on Console.
|
GetSecretValueResponse |
GetSecretValue(GetSecretValueRequest req)
This API is used to obtain the plaintext of a specified Secret and version.
|
GetServiceStatusResponse |
GetServiceStatus(GetServiceStatusRequest req)
This API is used to obtain the SecretsManager service status of a user.
|
ListSecretsResponse |
ListSecrets(ListSecretsRequest req)
This API is used to obtain the detailed information list of all Secrets.
|
ListSecretVersionIdsResponse |
ListSecretVersionIds(ListSecretVersionIdsRequest req)
This API is used to obtain list of versions of a Secret.
|
PutSecretValueResponse |
PutSecretValue(PutSecretValueRequest req)
This API is used to add a new version to a specified Secret.
|
RestoreSecretResponse |
RestoreSecret(RestoreSecretRequest req)
This API is used to restore a `PendingDelete` Secret, canceling its scheduled deletion.
|
UpdateDescriptionResponse |
UpdateDescription(UpdateDescriptionRequest req)
This API is used to update the description of a Secret.
|
UpdateSecretResponse |
UpdateSecret(UpdateSecretRequest req)
This API is used to update the name and version ID of a Secret.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegionpublic SsmClient(Credential credential, String region)
public SsmClient(Credential credential, String region, ClientProfile profile)
public CreateSecretResponse CreateSecret(CreateSecretRequest req) throws TencentCloudSDKException
req - CreateSecretRequestTencentCloudSDKExceptionpublic DeleteSecretResponse DeleteSecret(DeleteSecretRequest req) throws TencentCloudSDKException
req - DeleteSecretRequestTencentCloudSDKExceptionpublic DeleteSecretVersionResponse DeleteSecretVersion(DeleteSecretVersionRequest req) throws TencentCloudSDKException
req - DeleteSecretVersionRequestTencentCloudSDKExceptionpublic DescribeSecretResponse DescribeSecret(DescribeSecretRequest req) throws TencentCloudSDKException
req - DescribeSecretRequestTencentCloudSDKExceptionpublic DisableSecretResponse DisableSecret(DisableSecretRequest req) throws TencentCloudSDKException
req - DisableSecretRequestTencentCloudSDKExceptionpublic EnableSecretResponse EnableSecret(EnableSecretRequest req) throws TencentCloudSDKException
req - EnableSecretRequestTencentCloudSDKExceptionpublic GetRegionsResponse GetRegions(GetRegionsRequest req) throws TencentCloudSDKException
req - GetRegionsRequestTencentCloudSDKExceptionpublic GetSecretValueResponse GetSecretValue(GetSecretValueRequest req) throws TencentCloudSDKException
req - GetSecretValueRequestTencentCloudSDKExceptionpublic GetServiceStatusResponse GetServiceStatus(GetServiceStatusRequest req) throws TencentCloudSDKException
req - GetServiceStatusRequestTencentCloudSDKExceptionpublic ListSecretVersionIdsResponse ListSecretVersionIds(ListSecretVersionIdsRequest req) throws TencentCloudSDKException
req - ListSecretVersionIdsRequestTencentCloudSDKExceptionpublic ListSecretsResponse ListSecrets(ListSecretsRequest req) throws TencentCloudSDKException
req - ListSecretsRequestTencentCloudSDKExceptionpublic PutSecretValueResponse PutSecretValue(PutSecretValueRequest req) throws TencentCloudSDKException
req - PutSecretValueRequestTencentCloudSDKExceptionpublic RestoreSecretResponse RestoreSecret(RestoreSecretRequest req) throws TencentCloudSDKException
req - RestoreSecretRequestTencentCloudSDKExceptionpublic UpdateDescriptionResponse UpdateDescription(UpdateDescriptionRequest req) throws TencentCloudSDKException
req - UpdateDescriptionRequestTencentCloudSDKExceptionpublic UpdateSecretResponse UpdateSecret(UpdateSecretRequest req) throws TencentCloudSDKException
req - UpdateSecretRequestTencentCloudSDKExceptionCopyright © 2021. All rights reserved.