| Package | Description |
|---|---|
| com.amazonaws.services.logs |
You can use Amazon CloudWatch Logs to monitor, store, and access your log files from EC2 instances, CloudTrail, and
other sources.
|
| com.amazonaws.services.logs.model |
| Modifier and Type | Method and Description |
|---|---|
Future<PutAccountPolicyResult> |
AWSLogsAsyncClient.putAccountPolicyAsync(PutAccountPolicyRequest request,
AsyncHandler<PutAccountPolicyRequest,PutAccountPolicyResult> asyncHandler) |
Future<PutAccountPolicyResult> |
AbstractAWSLogsAsync.putAccountPolicyAsync(PutAccountPolicyRequest request,
AsyncHandler<PutAccountPolicyRequest,PutAccountPolicyResult> asyncHandler) |
Future<PutAccountPolicyResult> |
AWSLogsAsync.putAccountPolicyAsync(PutAccountPolicyRequest putAccountPolicyRequest,
AsyncHandler<PutAccountPolicyRequest,PutAccountPolicyResult> asyncHandler)
Creates an account-level data protection policy that applies to all log groups in the account.
|
| Modifier and Type | Method and Description |
|---|---|
PutAccountPolicyRequest |
PutAccountPolicyRequest.clone() |
PutAccountPolicyRequest |
PutAccountPolicyRequest.withPolicyDocument(String policyDocument)
Specify the data protection policy, in JSON.
|
PutAccountPolicyRequest |
PutAccountPolicyRequest.withPolicyName(String policyName)
A name for the policy.
|
PutAccountPolicyRequest |
PutAccountPolicyRequest.withPolicyType(PolicyType policyType)
Currently the only valid value for this parameter is
DATA_PROTECTION_POLICY. |
PutAccountPolicyRequest |
PutAccountPolicyRequest.withPolicyType(String policyType)
Currently the only valid value for this parameter is
DATA_PROTECTION_POLICY. |
PutAccountPolicyRequest |
PutAccountPolicyRequest.withScope(Scope scope)
Currently the only valid value for this parameter is
ALL, which specifies that the data protection
policy applies to all log groups in the account. |
PutAccountPolicyRequest |
PutAccountPolicyRequest.withScope(String scope)
Currently the only valid value for this parameter is
ALL, which specifies that the data protection
policy applies to all log groups in the account. |
Copyright © 2023. All rights reserved.