The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::WorkMail::PutAccessControlRule - Arguments for method PutAccessControlRule on Paws::WorkMail

DESCRIPTION

This class represents the parameters used for calling the method PutAccessControlRule on the Amazon WorkMail service. Use the attributes of this class as arguments to method PutAccessControlRule.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAccessControlRule.

SYNOPSIS

    my $workmail = Paws->service('WorkMail');
    my $PutAccessControlRuleResponse = $workmail->PutAccessControlRule(
      Description    => 'MyAccessControlRuleDescription',
      Effect         => 'ALLOW',
      Name           => 'MyAccessControlRuleName',
      OrganizationId => 'MyOrganizationId',
      Actions        => [
        'MyAccessControlRuleAction', ...    # min: 1, max: 64
      ],    # OPTIONAL
      IpRanges => [
        'MyIpRange', ...    # min: 1, max: 18
      ],    # OPTIONAL
      NotActions => [
        'MyAccessControlRuleAction', ...    # min: 1, max: 64
      ],    # OPTIONAL
      NotIpRanges => [
        'MyIpRange', ...    # min: 1, max: 18
      ],    # OPTIONAL
      NotUserIds => [
        'MyWorkMailIdentifier', ...    # min: 12, max: 256
      ],    # OPTIONAL
      UserIds => [
        'MyWorkMailIdentifier', ...    # min: 12, max: 256
      ],    # OPTIONAL
    );

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/workmail/PutAccessControlRule

ATTRIBUTES

Actions => ArrayRef[Str|Undef]

Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

REQUIRED Description => Str

The rule description.

REQUIRED Effect => Str

The rule effect.

Valid values are: "ALLOW", "DENY"

IpRanges => ArrayRef[Str|Undef]

IPv4 CIDR ranges to include in the rule.

REQUIRED Name => Str

The rule name.

NotActions => ArrayRef[Str|Undef]

Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

NotIpRanges => ArrayRef[Str|Undef]

IPv4 CIDR ranges to exclude from the rule.

NotUserIds => ArrayRef[Str|Undef]

User IDs to exclude from the rule.

REQUIRED OrganizationId => Str

The identifier of the organization.

UserIds => ArrayRef[Str|Undef]

User IDs to include in the rule.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutAccessControlRule in Paws::WorkMail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues