iam-floyd
Version:
AWS IAM policy statement generator with fluent interface
1,416 lines • 163 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Iotwireless = void 0;
const shared_1 = require("../../shared");
/**
* Statement provider for service [iotwireless](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotwireless.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
class Iotwireless extends shared_1.PolicyStatement {
/**
* Statement provider for service [iotwireless](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotwireless.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
constructor(sid) {
super(sid);
this.servicePrefix = 'iotwireless';
this.accessLevelList = {
Write: [
'AssociateAwsAccountWithPartnerAccount',
'AssociateMulticastGroupWithFuotaTask',
'AssociateWirelessDeviceWithFuotaTask',
'AssociateWirelessDeviceWithMulticastGroup',
'AssociateWirelessDeviceWithThing',
'AssociateWirelessGatewayWithCertificate',
'AssociateWirelessGatewayWithThing',
'CancelMulticastGroupSession',
'CreateDestination',
'CreateDeviceProfile',
'CreateFuotaTask',
'CreateMulticastGroup',
'CreateNetworkAnalyzerConfiguration',
'CreateServiceProfile',
'CreateWirelessDevice',
'CreateWirelessGateway',
'CreateWirelessGatewayTask',
'CreateWirelessGatewayTaskDefinition',
'DeleteDestination',
'DeleteDeviceProfile',
'DeleteFuotaTask',
'DeleteMulticastGroup',
'DeleteNetworkAnalyzerConfiguration',
'DeleteQueuedMessages',
'DeleteServiceProfile',
'DeleteWirelessDevice',
'DeleteWirelessDeviceImportTask',
'DeleteWirelessGateway',
'DeleteWirelessGatewayTask',
'DeleteWirelessGatewayTaskDefinition',
'DeregisterWirelessDevice',
'DisassociateAwsAccountFromPartnerAccount',
'DisassociateMulticastGroupFromFuotaTask',
'DisassociateWirelessDeviceFromFuotaTask',
'DisassociateWirelessDeviceFromMulticastGroup',
'DisassociateWirelessDeviceFromThing',
'DisassociateWirelessGatewayFromCertificate',
'DisassociateWirelessGatewayFromThing',
'PutPositionConfiguration',
'PutResourceLogLevel',
'ResetAllResourceLogLevels',
'ResetResourceLogLevel',
'SendDataToMulticastGroup',
'SendDataToWirelessDevice',
'StartBulkAssociateWirelessDeviceWithMulticastGroup',
'StartBulkDisassociateWirelessDeviceFromMulticastGroup',
'StartFuotaTask',
'StartMulticastGroupSession',
'StartNetworkAnalyzerStream',
'StartSingleWirelessDeviceImportTask',
'StartWirelessDeviceImportTask',
'TestWirelessDevice',
'UpdateDestination',
'UpdateEventConfigurationByResourceTypes',
'UpdateFuotaTask',
'UpdateLogLevelsByResourceTypes',
'UpdateMetricConfiguration',
'UpdateMulticastGroup',
'UpdateNetworkAnalyzerConfiguration',
'UpdatePartnerAccount',
'UpdatePosition',
'UpdateResourceEventConfiguration',
'UpdateResourcePosition',
'UpdateWirelessDevice',
'UpdateWirelessDeviceImportTask',
'UpdateWirelessGateway'
],
Read: [
'GetDestination',
'GetDeviceProfile',
'GetEventConfigurationByResourceTypes',
'GetFuotaTask',
'GetLogLevelsByResourceTypes',
'GetMetricConfiguration',
'GetMetrics',
'GetMulticastGroup',
'GetMulticastGroupSession',
'GetNetworkAnalyzerConfiguration',
'GetPartnerAccount',
'GetPosition',
'GetPositionConfiguration',
'GetPositionEstimate',
'GetResourceEventConfiguration',
'GetResourceLogLevel',
'GetResourcePosition',
'GetServiceEndpoint',
'GetServiceProfile',
'GetWirelessDevice',
'GetWirelessDeviceImportTask',
'GetWirelessDeviceStatistics',
'GetWirelessGateway',
'GetWirelessGatewayCertificate',
'GetWirelessGatewayFirmwareInformation',
'GetWirelessGatewayStatistics',
'GetWirelessGatewayTask',
'GetWirelessGatewayTaskDefinition',
'ListDestinations',
'ListDeviceProfiles',
'ListDevicesForWirelessDeviceImportTask',
'ListEventConfigurations',
'ListFuotaTasks',
'ListMulticastGroups',
'ListMulticastGroupsByFuotaTask',
'ListNetworkAnalyzerConfigurations',
'ListPartnerAccounts',
'ListPositionConfigurations',
'ListQueuedMessages',
'ListServiceProfiles',
'ListTagsForResource',
'ListWirelessDeviceImportTasks',
'ListWirelessDevices',
'ListWirelessGatewayTaskDefinitions',
'ListWirelessGateways'
],
Tagging: [
'TagResource',
'UntagResource'
]
};
}
/**
* Grants permission to link partner accounts with AWS account
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_AssociateAwsAccountWithPartnerAccount.html
*/
toAssociateAwsAccountWithPartnerAccount() {
return this.to('AssociateAwsAccountWithPartnerAccount');
}
/**
* Grants permission to associate the MulticastGroup with FuotaTask
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_AssociateMulticastGroupWithFuotaTask.html
*/
toAssociateMulticastGroupWithFuotaTask() {
return this.to('AssociateMulticastGroupWithFuotaTask');
}
/**
* Grants permission to associate the wireless device with FuotaTask
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_AssociateWirelessDeviceWithFuotaTask.html
*/
toAssociateWirelessDeviceWithFuotaTask() {
return this.to('AssociateWirelessDeviceWithFuotaTask');
}
/**
* Grants permission to associate the WirelessDevice with MulticastGroup
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_AssociateWirelessDeviceWithMulticastGroup.html
*/
toAssociateWirelessDeviceWithMulticastGroup() {
return this.to('AssociateWirelessDeviceWithMulticastGroup');
}
/**
* Grants permission to associate the wireless device with AWS IoT thing for a given wirelessDeviceId
*
* Access Level: Write
*
* Dependent actions:
* - iot:DescribeThing
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_AssociateWirelessDeviceWithThing.html
*/
toAssociateWirelessDeviceWithThing() {
return this.to('AssociateWirelessDeviceWithThing');
}
/**
* Grants permission to associate a WirelessGateway with the IoT Core Identity certificate
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_AssociateWirelessGatewayWithCertificate.html
*/
toAssociateWirelessGatewayWithCertificate() {
return this.to('AssociateWirelessGatewayWithCertificate');
}
/**
* Grants permission to associate the wireless gateway with AWS IoT thing for a given wirelessGatewayId
*
* Access Level: Write
*
* Dependent actions:
* - iot:DescribeThing
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_AssociateWirelessGatewayWithThing.html
*/
toAssociateWirelessGatewayWithThing() {
return this.to('AssociateWirelessGatewayWithThing');
}
/**
* Grants permission to cancel the MulticastGroup session
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CancelMulticastGroupSession.html
*/
toCancelMulticastGroupSession() {
return this.to('CancelMulticastGroupSession');
}
/**
* Grants permission to create a Destination resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateDestination.html
*/
toCreateDestination() {
return this.to('CreateDestination');
}
/**
* Grants permission to create a DeviceProfile resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateDeviceProfile.html
*/
toCreateDeviceProfile() {
return this.to('CreateDeviceProfile');
}
/**
* Grants permission to create a FuotaTask resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateFuotaTask.html
*/
toCreateFuotaTask() {
return this.to('CreateFuotaTask');
}
/**
* Grants permission to create a MulticastGroup resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateMulticastGroup.html
*/
toCreateMulticastGroup() {
return this.to('CreateMulticastGroup');
}
/**
* Grants permission to create a NetworkAnalyzerConfiguration resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateNetworkAnalyzerConfiguration.html
*/
toCreateNetworkAnalyzerConfiguration() {
return this.to('CreateNetworkAnalyzerConfiguration');
}
/**
* Grants permission to create a ServiceProfile resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateServiceProfile.html
*/
toCreateServiceProfile() {
return this.to('CreateServiceProfile');
}
/**
* Grants permission to create a WirelessDevice resource with given Destination
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateWirelessDevice.html
*/
toCreateWirelessDevice() {
return this.to('CreateWirelessDevice');
}
/**
* Grants permission to create a WirelessGateway resource
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateWirelessGateway.html
*/
toCreateWirelessGateway() {
return this.to('CreateWirelessGateway');
}
/**
* Grants permission to create a task for a given WirelessGateway
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateWirelessGatewayTask.html
*/
toCreateWirelessGatewayTask() {
return this.to('CreateWirelessGatewayTask');
}
/**
* Grants permission to create a WirelessGateway task definition
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateWirelessGatewayTaskDefinition.html
*/
toCreateWirelessGatewayTaskDefinition() {
return this.to('CreateWirelessGatewayTaskDefinition');
}
/**
* Grants permission to delete a Destination
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteDestination.html
*/
toDeleteDestination() {
return this.to('DeleteDestination');
}
/**
* Grants permission to delete a DeviceProfile
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteDeviceProfile.html
*/
toDeleteDeviceProfile() {
return this.to('DeleteDeviceProfile');
}
/**
* Grants permission to delete the FuotaTask
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteFuotaTask.html
*/
toDeleteFuotaTask() {
return this.to('DeleteFuotaTask');
}
/**
* Grants permission to delete the MulticastGroup
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteMulticastGroup.html
*/
toDeleteMulticastGroup() {
return this.to('DeleteMulticastGroup');
}
/**
* Grants permission to delete the NetworkAnalyzerConfiguration
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteNetworkAnalyzerConfiguration.html
*/
toDeleteNetworkAnalyzerConfiguration() {
return this.to('DeleteNetworkAnalyzerConfiguration');
}
/**
* Grants permission to delete QueuedMessages
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteQueuedMessages.html
*/
toDeleteQueuedMessages() {
return this.to('DeleteQueuedMessages');
}
/**
* Grants permission to delete a ServiceProfile
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteServiceProfile.html
*/
toDeleteServiceProfile() {
return this.to('DeleteServiceProfile');
}
/**
* Grants permission to delete a WirelessDevice
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteWirelessDevice.html
*/
toDeleteWirelessDevice() {
return this.to('DeleteWirelessDevice');
}
/**
* Grants permission to delete the wireless device import task
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteWirelessDeviceImportTask.html
*/
toDeleteWirelessDeviceImportTask() {
return this.to('DeleteWirelessDeviceImportTask');
}
/**
* Grants permission to delete a WirelessGateway
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteWirelessGateway.html
*/
toDeleteWirelessGateway() {
return this.to('DeleteWirelessGateway');
}
/**
* Grants permission to delete task for a given WirelessGateway
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteWirelessGatewayTask.html
*/
toDeleteWirelessGatewayTask() {
return this.to('DeleteWirelessGatewayTask');
}
/**
* Grants permission to delete a WirelessGateway task definition
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeleteWirelessGatewayTaskDefinition.html
*/
toDeleteWirelessGatewayTaskDefinition() {
return this.to('DeleteWirelessGatewayTaskDefinition');
}
/**
* Grants permission to deregister wireless device
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DeregisterWirelessDevice.html
*/
toDeregisterWirelessDevice() {
return this.to('DeregisterWirelessDevice');
}
/**
* Grants permission to disassociate an AWS account from a partner account
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DisassociateAwsAccountFromPartnerAccount.html
*/
toDisassociateAwsAccountFromPartnerAccount() {
return this.to('DisassociateAwsAccountFromPartnerAccount');
}
/**
* Grants permission to disassociate the MulticastGroup from FuotaTask
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DisassociateMulticastGroupFromFuotaTask.html
*/
toDisassociateMulticastGroupFromFuotaTask() {
return this.to('DisassociateMulticastGroupFromFuotaTask');
}
/**
* Grants permission to disassociate the wireless device from FuotaTask
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DisassociateWirelessDeviceFromFuotaTask.html
*/
toDisassociateWirelessDeviceFromFuotaTask() {
return this.to('DisassociateWirelessDeviceFromFuotaTask');
}
/**
* Grants permission to disassociate the wireless device from MulticastGroup
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DisassociateWirelessDeviceFromMulticastGroup.html
*/
toDisassociateWirelessDeviceFromMulticastGroup() {
return this.to('DisassociateWirelessDeviceFromMulticastGroup');
}
/**
* Grants permission to disassociate a wireless device from a AWS IoT thing
*
* Access Level: Write
*
* Dependent actions:
* - iot:DescribeThing
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DisassociateWirelessDeviceFromThing.html
*/
toDisassociateWirelessDeviceFromThing() {
return this.to('DisassociateWirelessDeviceFromThing');
}
/**
* Grants permission to disassociate a WirelessGateway from a IoT Core Identity certificate
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DisassociateWirelessGatewayFromCertificate.html
*/
toDisassociateWirelessGatewayFromCertificate() {
return this.to('DisassociateWirelessGatewayFromCertificate');
}
/**
* Grants permission to disassociate a WirelessGateway from a IoT Core thing
*
* Access Level: Write
*
* Dependent actions:
* - iot:DescribeThing
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_DisassociateWirelessGatewayFromThing.html
*/
toDisassociateWirelessGatewayFromThing() {
return this.to('DisassociateWirelessGatewayFromThing');
}
/**
* Grants permission to get the Destination
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetDestination.html
*/
toGetDestination() {
return this.to('GetDestination');
}
/**
* Grants permission to get the DeviceProfile
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetDeviceProfile.html
*/
toGetDeviceProfile() {
return this.to('GetDeviceProfile');
}
/**
* Grants permission to get event configuration by resource types
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetEventConfigurationByResourceTypes.html
*/
toGetEventConfigurationByResourceTypes() {
return this.to('GetEventConfigurationByResourceTypes');
}
/**
* Grants permission to get the FuotaTask
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetFuotaTask.html
*/
toGetFuotaTask() {
return this.to('GetFuotaTask');
}
/**
* Grants permission to get log levels by resource types
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetLogLevelsByResourceTypes.html
*/
toGetLogLevelsByResourceTypes() {
return this.to('GetLogLevelsByResourceTypes');
}
/**
* Grants permission to get metric configuration
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetMetricConfiguration.html
*/
toGetMetricConfiguration() {
return this.to('GetMetricConfiguration');
}
/**
* Grants permission to get metrics
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetMetrics.html
*/
toGetMetrics() {
return this.to('GetMetrics');
}
/**
* Grants permission to get the MulticastGroup
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetMulticastGroup.html
*/
toGetMulticastGroup() {
return this.to('GetMulticastGroup');
}
/**
* Grants permission to get the MulticastGroup session
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetMulticastGroupSession.html
*/
toGetMulticastGroupSession() {
return this.to('GetMulticastGroupSession');
}
/**
* Grants permission to get the NetworkAnalyzerConfiguration
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetNetworkAnalyzerConfiguration.html
*/
toGetNetworkAnalyzerConfiguration() {
return this.to('GetNetworkAnalyzerConfiguration');
}
/**
* Grants permission to get the associated PartnerAccount
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetPartnerAccount.html
*/
toGetPartnerAccount() {
return this.to('GetPartnerAccount');
}
/**
* Grants permission to get position for a given resource
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetPosition.html
*/
toGetPosition() {
return this.to('GetPosition');
}
/**
* Grants permission to get position configuration for a given resource
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetPositionConfiguration.html
*/
toGetPositionConfiguration() {
return this.to('GetPositionConfiguration');
}
/**
* Grants permission to get position estimate
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetPositionEstimate.html
*/
toGetPositionEstimate() {
return this.to('GetPositionEstimate');
}
/**
* Grants permission to get an event configuration for an identifier
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourceEventConfiguration.html
*/
toGetResourceEventConfiguration() {
return this.to('GetResourceEventConfiguration');
}
/**
* Grants permission to get resource log level
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourceLogLevel.html
*/
toGetResourceLogLevel() {
return this.to('GetResourceLogLevel');
}
/**
* Grants permission to get position for a given resource
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetResourcePosition.html
*/
toGetResourcePosition() {
return this.to('GetResourcePosition');
}
/**
* Grants permission to retrieve the customer account specific endpoint for CUPS protocol connection or LoRaWAN Network Server (LNS) protocol connection, and optionally server trust certificate in PEM format
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetServiceEndpoint.html
*/
toGetServiceEndpoint() {
return this.to('GetServiceEndpoint');
}
/**
* Grants permission to get the ServiceProfile
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetServiceProfile.html
*/
toGetServiceProfile() {
return this.to('GetServiceProfile');
}
/**
* Grants permission to get the WirelessDevice
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetWirelessDevice.html
*/
toGetWirelessDevice() {
return this.to('GetWirelessDevice');
}
/**
* Grants permission to get the wireless device import task
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetWirelessDeviceImportTask.html
*/
toGetWirelessDeviceImportTask() {
return this.to('GetWirelessDeviceImportTask');
}
/**
* Grants permission to get statistics info for a given WirelessDevice
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetWirelessDeviceStatistics.html
*/
toGetWirelessDeviceStatistics() {
return this.to('GetWirelessDeviceStatistics');
}
/**
* Grants permission to get the WirelessGateway
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetWirelessGateway.html
*/
toGetWirelessGateway() {
return this.to('GetWirelessGateway');
}
/**
* Grants permission to get the IoT Core Identity certificate id associated with the WirelessGateway
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetWirelessGatewayCertificate.html
*/
toGetWirelessGatewayCertificate() {
return this.to('GetWirelessGatewayCertificate');
}
/**
* Grants permission to get Current firmware version and other information for the WirelessGateway
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetWirelessGatewayFirmwareInformation.html
*/
toGetWirelessGatewayFirmwareInformation() {
return this.to('GetWirelessGatewayFirmwareInformation');
}
/**
* Grants permission to get statistics info for a given WirelessGateway
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetWirelessGatewayStatistics.html
*/
toGetWirelessGatewayStatistics() {
return this.to('GetWirelessGatewayStatistics');
}
/**
* Grants permission to get the task for a given WirelessGateway
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetWirelessGatewayTask.html
*/
toGetWirelessGatewayTask() {
return this.to('GetWirelessGatewayTask');
}
/**
* Grants permission to get the given WirelessGateway task definition
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_GetWirelessGatewayTaskDefinition.html
*/
toGetWirelessGatewayTaskDefinition() {
return this.to('GetWirelessGatewayTaskDefinition');
}
/**
* Grants permission to list information of available Destinations based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListDestinations.html
*/
toListDestinations() {
return this.to('ListDestinations');
}
/**
* Grants permission to list information of available DeviceProfiles based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListDeviceProfiles.html
*/
toListDeviceProfiles() {
return this.to('ListDeviceProfiles');
}
/**
* Grants permission to list information of devices by wireless device import task based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListDevicesForWirelessDeviceImportTask.html
*/
toListDevicesForWirelessDeviceImportTask() {
return this.to('ListDevicesForWirelessDeviceImportTask');
}
/**
* Grants permission to list information of available event configurations based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListEventConfigurations.html
*/
toListEventConfigurations() {
return this.to('ListEventConfigurations');
}
/**
* Grants permission to list information of available FuotaTasks based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListFuotaTasks.html
*/
toListFuotaTasks() {
return this.to('ListFuotaTasks');
}
/**
* Grants permission to list information of available MulticastGroups based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListMulticastGroups.html
*/
toListMulticastGroups() {
return this.to('ListMulticastGroups');
}
/**
* Grants permission to list information of available MulticastGroups by FuotaTask based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListMulticastGroupsByFuotaTask.html
*/
toListMulticastGroupsByFuotaTask() {
return this.to('ListMulticastGroupsByFuotaTask');
}
/**
* Grants permission to list information of available NetworkAnalyzerConfigurations based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListNetworkAnalyzerConfigurations.html
*/
toListNetworkAnalyzerConfigurations() {
return this.to('ListNetworkAnalyzerConfigurations');
}
/**
* Grants permission to list the available partner accounts
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListPartnerAccounts.html
*/
toListPartnerAccounts() {
return this.to('ListPartnerAccounts');
}
/**
* Grants permission to list information of available position configurations based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListPositionConfigurations.html
*/
toListPositionConfigurations() {
return this.to('ListPositionConfigurations');
}
/**
* Grants permission to list the Queued Messages
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListQueuedMessages.html
*/
toListQueuedMessages() {
return this.to('ListQueuedMessages');
}
/**
* Grants permission to list information of available ServiceProfiles based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListServiceProfiles.html
*/
toListServiceProfiles() {
return this.to('ListServiceProfiles');
}
/**
* Grants permission to list all tags for a given resource
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListTagsForResource.html
*/
toListTagsForResource() {
return this.to('ListTagsForResource');
}
/**
* Grants permission to list wireless device import tasks information of based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListWirelessDeviceImportTasks.html
*/
toListWirelessDeviceImportTasks() {
return this.to('ListWirelessDeviceImportTasks');
}
/**
* Grants permission to list information of available WirelessDevices based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListWirelessDevices.html
*/
toListWirelessDevices() {
return this.to('ListWirelessDevices');
}
/**
* Grants permission to list information of available WirelessGateway task definitions based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListWirelessGatewayTaskDefinitions.html
*/
toListWirelessGatewayTaskDefinitions() {
return this.to('ListWirelessGatewayTaskDefinitions');
}
/**
* Grants permission to list information of available WirelessGateways based on the AWS account
*
* Access Level: Read
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ListWirelessGateways.html
*/
toListWirelessGateways() {
return this.to('ListWirelessGateways');
}
/**
* Grants permission to put position configuration for a given resource
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_PutPositionConfiguration.html
*/
toPutPositionConfiguration() {
return this.to('PutPositionConfiguration');
}
/**
* Grants permission to put resource log level
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_PutResourceLogLevel.html
*/
toPutResourceLogLevel() {
return this.to('PutResourceLogLevel');
}
/**
* Grants permission to reset all resource log levels
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ResetAllResourceLogLevels.html
*/
toResetAllResourceLogLevels() {
return this.to('ResetAllResourceLogLevels');
}
/**
* Grants permission to reset resource log level
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_ResetResourceLogLevel.html
*/
toResetResourceLogLevel() {
return this.to('ResetResourceLogLevel');
}
/**
* Grants permission to send data to the MulticastGroup
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_SendDataToMulticastGroup.html
*/
toSendDataToMulticastGroup() {
return this.to('SendDataToMulticastGroup');
}
/**
* Grants permission to send the decrypted application data frame to the target device
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_SendDataToWirelessDevice.html
*/
toSendDataToWirelessDevice() {
return this.to('SendDataToWirelessDevice');
}
/**
* Grants permission to associate the WirelessDevices with MulticastGroup
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_StartBulkAssociateWirelessDeviceWithMulticastGroup.html
*/
toStartBulkAssociateWirelessDeviceWithMulticastGroup() {
return this.to('StartBulkAssociateWirelessDeviceWithMulticastGroup');
}
/**
* Grants permission to bulk disassociate the WirelessDevices from MulticastGroup
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_StartBulkDisassociateWirelessDeviceFromMulticastGroup.html
*/
toStartBulkDisassociateWirelessDeviceFromMulticastGroup() {
return this.to('StartBulkDisassociateWirelessDeviceFromMulticastGroup');
}
/**
* Grants permission to start the FuotaTask
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_StartFuotaTask.html
*/
toStartFuotaTask() {
return this.to('StartFuotaTask');
}
/**
* Grants permission to start the MulticastGroup session
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_StartMulticastGroupSession.html
*/
toStartMulticastGroupSession() {
return this.to('StartMulticastGroupSession');
}
/**
* Grants permission to start NetworkAnalyzer stream
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-network-analyzer-api.html
*/
toStartNetworkAnalyzerStream() {
return this.to('StartNetworkAnalyzerStream');
}
/**
* Grants permission to start the single wireless device import task
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_StartSingleWirelessDeviceImportTask.html
*/
toStartSingleWirelessDeviceImportTask() {
return this.to('StartSingleWirelessDeviceImportTask');
}
/**
* Grants permission to start the wireless device import task
*
* Access Level: Write
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_StartWirelessDeviceImportTask.html
*/
toStartWirelessDeviceImportTask() {
return this.to('StartWirelessDeviceImportTask');
}
/**
* Grants permission to tag a given resource
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsRequestTag()
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_TagResource.html
*/
toTagResource() {
return this.to('TagResource');
}
/**
* Grants permission to simulate a provisioned device to send an uplink data with payload of 'Hello'
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_TestWirelessDevice.html
*/
toTestWirelessDevice() {
return this.to('TestWirelessDevice');
}
/**
* Grants permission to remove the given tags from the resource
*
* Access Level: Tagging
*
* Possible conditions:
* - .ifAwsTagKeys()
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UntagResource.html
*/
toUntagResource() {
return this.to('UntagResource');
}
/**
* Grants permission to update a Destination resource
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateDestination.html
*/
toUpdateDestination() {
return this.to('UpdateDestination');
}
/**
* Grants permission to update event configuration by resource types
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateEventConfigurationByResourceTypes.html
*/
toUpdateEventConfigurationByResourceTypes() {
return this.to('UpdateEventConfigurationByResourceTypes');
}
/**
* Grants permission to update the FuotaTask
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateFuotaTask.html
*/
toUpdateFuotaTask() {
return this.to('UpdateFuotaTask');
}
/**
* Grants permission to update log levels by resource types
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateLogLevelsByResourceTypes.html
*/
toUpdateLogLevelsByResourceTypes() {
return this.to('UpdateLogLevelsByResourceTypes');
}
/**
* Grants permission to update metric configuration
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateMetricConfiguration.html
*/
toUpdateMetricConfiguration() {
return this.to('UpdateMetricConfiguration');
}
/**
* Grants permission to update the MulticastGroup
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateMulticastGroup.html
*/
toUpdateMulticastGroup() {
return this.to('UpdateMulticastGroup');
}
/**
* Grants permission to update the NetworkAnalyzerConfiguration
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateNetworkAnalyzerConfiguration.html
*/
toUpdateNetworkAnalyzerConfiguration() {
return this.to('UpdateNetworkAnalyzerConfiguration');
}
/**
* Grants permission to update a partner account
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdatePartnerAccount.html
*/
toUpdatePartnerAccount() {
return this.to('UpdatePartnerAccount');
}
/**
* Grants permission to update position for a given resource
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdatePosition.html
*/
toUpdatePosition() {
return this.to('UpdatePosition');
}
/**
* Grants permission to update an event configuration for an identifier
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateResourceEventConfiguration.html
*/
toUpdateResourceEventConfiguration() {
return this.to('UpdateResourceEventConfiguration');
}
/**
* Grants permission to update position for a given resource
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateResourcePosition.html
*/
toUpdateResourcePosition() {
return this.to('UpdateResourcePosition');
}
/**
* Grants permission to update a WirelessDevice resource
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateWirelessDevice.html
*/
toUpdateWirelessDevice() {
return this.to('UpdateWirelessDevice');
}
/**
* Grants permission to update a wireless device import task
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateWirelessDeviceImportTask.html
*/
toUpdateWirelessDeviceImportTask() {
return this.to('UpdateWirelessDeviceImportTask');
}
/**
* Grants permission to update a WirelessGateway resource
*
* Access Level: Write
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_UpdateWirelessGateway.html
*/
toUpdateWirelessGateway() {
return this.to('UpdateWirelessGateway');
}
/**
* Adds a resource of type WirelessDevice to the statement
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateWirelessDevice.html
*
* @param wirelessDeviceId - Identifier for the wirelessDeviceId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onWirelessDevice(wirelessDeviceId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:iotwireless:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:WirelessDevice/${wirelessDeviceId}`);
}
/**
* Adds a resource of type WirelessGateway to the statement
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateWirelessGateway.html
*
* @param wirelessGatewayId - Identifier for the wirelessGatewayId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onWirelessGateway(wirelessGatewayId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:iotwireless:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:WirelessGateway/${wirelessGatewayId}`);
}
/**
* Adds a resource of type DeviceProfile to the statement
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateDeviceProfile.html
*
* @param deviceProfileId - Identifier for the deviceProfileId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onDeviceProfile(deviceProfileId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:iotwireless:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:DeviceProfile/${deviceProfileId}`);
}
/**
* Adds a resource of type ServiceProfile to the statement
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateServiceProfile.html
*
* @param serviceProfileId - Identifier for the serviceProfileId.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onServiceProfile(serviceProfileId, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartition}:iotwireless:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:ServiceProfile/${serviceProfileId}`);
}
/**
* Adds a resource of type Destination to the statement
*
* https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_CreateDestination.html
*
* @param destinationName - Identifier for the destinationName.
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*
* Possible conditions:
* - .ifAwsResourceTag()
*/
onDestination(destinationName, account, region, partition) {
return this.on(`arn:${partition ?? this.defaultPartiti