![]() |
![]()
| ![]() |
![]()
NAMEPaws::IoTSiteWise::UpdateAccessPolicy - Arguments for method UpdateAccessPolicy on Paws::IoTSiteWise DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED AccessPolicyId => StrThe ID of the access policy. REQUIRED AccessPolicyIdentity => Paws::IoTSiteWise::IdentityThe identity for this access policy. Choose an AWS SSO user, an AWS SSO group, or an IAM user. REQUIRED AccessPolicyPermission => StrThe 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::ResourceThe AWS IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project. ClientToken => StrA 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 ALSOThis class forms part of Paws, documenting arguments for method UpdateAccessPolicy in Paws::IoTSiteWise BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|