AWSLogsDescribeAccountPoliciesRequest

Objective-C

@interface AWSLogsDescribeAccountPoliciesRequest

Swift

class AWSLogsDescribeAccountPoliciesRequest
  • If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter.

    If you omit this parameter, only the policy in the current account is returned.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable accountIdentifiers;

    Swift

    var accountIdentifiers: [String]? { get set }
  • Use this parameter to limit the returned policies to only the policy with the name that you specify.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable policyName;

    Swift

    var policyName: String? { get set }
  • Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.

    Declaration

    Objective-C

    @property (nonatomic) AWSLogsPolicyType policyType;

    Swift

    var policyType: AWSLogsPolicyType { get set }