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, setRegion
public SsmClient(Credential credential, String region)
public SsmClient(Credential credential, String region, ClientProfile profile)
public CreateSecretResponse CreateSecret(CreateSecretRequest req) throws TencentCloudSDKException
req
- CreateSecretRequestTencentCloudSDKException
public DeleteSecretResponse DeleteSecret(DeleteSecretRequest req) throws TencentCloudSDKException
req
- DeleteSecretRequestTencentCloudSDKException
public DeleteSecretVersionResponse DeleteSecretVersion(DeleteSecretVersionRequest req) throws TencentCloudSDKException
req
- DeleteSecretVersionRequestTencentCloudSDKException
public DescribeSecretResponse DescribeSecret(DescribeSecretRequest req) throws TencentCloudSDKException
req
- DescribeSecretRequestTencentCloudSDKException
public DisableSecretResponse DisableSecret(DisableSecretRequest req) throws TencentCloudSDKException
req
- DisableSecretRequestTencentCloudSDKException
public EnableSecretResponse EnableSecret(EnableSecretRequest req) throws TencentCloudSDKException
req
- EnableSecretRequestTencentCloudSDKException
public GetRegionsResponse GetRegions(GetRegionsRequest req) throws TencentCloudSDKException
req
- GetRegionsRequestTencentCloudSDKException
public GetSecretValueResponse GetSecretValue(GetSecretValueRequest req) throws TencentCloudSDKException
req
- GetSecretValueRequestTencentCloudSDKException
public GetServiceStatusResponse GetServiceStatus(GetServiceStatusRequest req) throws TencentCloudSDKException
req
- GetServiceStatusRequestTencentCloudSDKException
public ListSecretVersionIdsResponse ListSecretVersionIds(ListSecretVersionIdsRequest req) throws TencentCloudSDKException
req
- ListSecretVersionIdsRequestTencentCloudSDKException
public ListSecretsResponse ListSecrets(ListSecretsRequest req) throws TencentCloudSDKException
req
- ListSecretsRequestTencentCloudSDKException
public PutSecretValueResponse PutSecretValue(PutSecretValueRequest req) throws TencentCloudSDKException
req
- PutSecretValueRequestTencentCloudSDKException
public RestoreSecretResponse RestoreSecret(RestoreSecretRequest req) throws TencentCloudSDKException
req
- RestoreSecretRequestTencentCloudSDKException
public UpdateDescriptionResponse UpdateDescription(UpdateDescriptionRequest req) throws TencentCloudSDKException
req
- UpdateDescriptionRequestTencentCloudSDKException
public UpdateSecretResponse UpdateSecret(UpdateSecretRequest req) throws TencentCloudSDKException
req
- UpdateSecretRequestTencentCloudSDKException
Copyright © 2021. All rights reserved.