UNPKG

iam-floyd

Version:

AWS IAM policy statement generator with fluent interface

50 lines (49 loc) 2.24 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; /** * Statement provider for service [aws-marketplace-metering-service](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsmarketplacemeteringservice.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class AwsMarketplaceMeteringService extends PolicyStatement { servicePrefix: string; /** * Statement provider for service [aws-marketplace-metering-service](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsmarketplacemeteringservice.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ constructor(sid?: string); /** * Grants permission to post metering records for a set of customers for SaaS applications * * Access Level: Write * * https://docs.aws.amazon.com/marketplace/latest/APIReference/API_marketplace-metering_BatchMeterUsage.html */ toBatchMeterUsage(): this; /** * Grants permission to emit metering records * * Access Level: Write * * https://docs.aws.amazon.com/marketplace/latest/APIReference/API_marketplace-metering_MeterUsage.html */ toMeterUsage(): this; /** * Grants permission to to verify that the customer running your paid software is subscribed to your product on AWS Marketplace, enabling you to guard against unauthorized use. Meters software use per ECS task, per hour, with usage prorated to the second * * Access Level: Write * * https://docs.aws.amazon.com/marketplace/latest/APIReference/API_marketplace-metering_RegisterUsage.html */ toRegisterUsage(): this; /** * Grants permission to resolve a registration token to obtain a CustomerIdentifier and product code * * Access Level: Write * * https://docs.aws.amazon.com/marketplace/latest/APIReference/API_marketplace-metering_ResolveCustomer.html */ toResolveCustomer(): this; protected accessLevelList: AccessLevelList; }