Skip to main content

service_profiles

Creates, updates, deletes or gets a service_profile resource or lists service_profiles in a region

Overview

Nameservice_profiles
TypeResource
DescriptionAn example resource schema demonstrating some basic constructs and validation rules.
Idaws.iotwireless.service_profiles

Fields

NameDatatypeDescription
namestringName of service profile
lo_ra_wanobjectLoRaWAN supports all LoRa specific attributes for service profile for CreateServiceProfile operation
tagsarrayA list of key-value pairs that contain metadata for the service profile.
arnstringService profile Arn. Returned after successful create.
idstringService profile Id. Returned after successful create.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERT, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all service_profiles in a region.

SELECT
region,
name,
lo_ra_wan,
tags,
arn,
id
FROM aws.iotwireless.service_profiles
WHERE region = 'us-east-1';

Gets all properties from an individual service_profile.

SELECT
region,
name,
lo_ra_wan,
tags,
arn,
id
FROM aws.iotwireless.service_profiles
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

INSERT example

Use the following StackQL query and manifest file to create a new service_profile resource, using stack-deploy.

/*+ create */
INSERT INTO aws.iotwireless.service_profiles (
,
region
)
SELECT
'{{ }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.iotwireless.service_profiles
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';

Permissions

To operate on the service_profiles resource, the following permissions are required:

Create

iotwireless:CreateServiceProfile,
iotwireless:TagResource,
iotwireless:ListTagsForResource

Read

iotwireless:GetServiceProfile,
iotwireless:ListTagsForResource

Delete

iotwireless:DeleteServiceProfile

List

iotwireless:ListServiceProfiles,
iotwireless:ListTagsForResource