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::IoTSiteWise::UpdateAccessPolicy - Arguments for method UpdateAccessPolicy on Paws::IoTSiteWise

DESCRIPTION

This class represents the parameters used for calling the method UpdateAccessPolicy on the AWS IoT SiteWise service. Use the attributes of this class as arguments to method UpdateAccessPolicy.

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

SYNOPSIS

    my $iotsitewise = Paws->service('IoTSiteWise');
    my $UpdateAccessPolicyResponse = $iotsitewise->UpdateAccessPolicy(
      AccessPolicyId       => 'MyID',
      AccessPolicyIdentity => {
        Group => {
          Id => 'MyIdentityId',    # min: 1, max: 256

        },    # OPTIONAL
        IamRole => {
          Arn => 'MyARN',    # min: 1, max: 1600

        },    # OPTIONAL
        IamUser => {
          Arn => 'MyARN',    # min: 1, max: 1600

        },    # OPTIONAL
        User => {
          Id => 'MyIdentityId',    # min: 1, max: 256

        },    # OPTIONAL
      },
      AccessPolicyPermission => 'ADMINISTRATOR',
      AccessPolicyResource   => {
        Portal => {
          Id => 'MyID',    # min: 36, max: 36

        },    # OPTIONAL
        Project => {
          Id => 'MyID',    # min: 36, max: 36

        },    # OPTIONAL
      },
      ClientToken => 'MyClientToken',    # 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/iotsitewise/UpdateAccessPolicy

ATTRIBUTES

REQUIRED AccessPolicyId => Str

The ID of the access policy.

REQUIRED AccessPolicyIdentity => Paws::IoTSiteWise::Identity

The identity for this access policy. Choose an AWS SSO user, an AWS SSO group, or an IAM user.

REQUIRED AccessPolicyPermission => Str

The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.

Valid values are: "ADMINISTRATOR", "VIEWER"

REQUIRED AccessPolicyResource => Paws::IoTSiteWise::Resource

The AWS IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.

ClientToken => Str

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateAccessPolicy in Paws::IoTSiteWise

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