Skip to main content

network_analyzer_configurations

Creates, updates, deletes, gets or lists a network_analyzer_configurations resource.

Overview

Namenetwork_analyzer_configurations
TypeResource
Idaws.iotwireless.network_analyzer_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name of the new resource.
descriptionstringThe description of the new resource.
multicast_groupsarrayList of multicast group resources that have been added to the network analyzer configuration.
namestringName of the network analyzer configuration. (pattern: <code>[a-zA-Z0-9-_]+</code>)
trace_contentobjectTrace content for your wireless devices, gateways, and multicast groups.
wireless_devicesarrayList of wireless device resources that have been added to the network analyzer configuration.
wireless_gatewaysarrayList of wireless gateway resources that have been added to the network analyzer configuration.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_network_analyzer_configurationselectconfiguration_name, regionGet network analyzer configuration.
list_network_analyzer_configurationsselectregionmaxResults, nextTokenLists the network analyzer configurations.
create_network_analyzer_configurationinsertregionCreates a new network analyzer configuration.
update_network_analyzer_configurationupdateconfiguration_name, regionUpdate network analyzer configuration.
delete_network_analyzer_configurationdeleteconfiguration_name, regionDeletes a network analyzer configuration.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
configuration_namestring
regionstringAWS region (default: us-east-1)
maxResultsinteger
nextTokenstringTo retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

SELECT examples

Get network analyzer configuration.

SELECT
arn,
description,
multicast_groups,
name,
trace_content,
wireless_devices,
wireless_gateways
FROM aws.iotwireless.network_analyzer_configurations
WHERE configuration_name = '{{ configuration_name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a new network analyzer configuration.

INSERT INTO aws.iotwireless.network_analyzer_configurations (
Name,
TraceContent,
WirelessDevices,
WirelessGateways,
Description,
Tags,
ClientRequestToken,
MulticastGroups,
region
)
SELECT
'{{ Name }}',
'{{ TraceContent }}',
'{{ WirelessDevices }}',
'{{ WirelessGateways }}',
'{{ Description }}',
'{{ Tags }}',
'{{ ClientRequestToken }}',
'{{ MulticastGroups }}',
'{{ region }}'
RETURNING
arn,
name
;

UPDATE examples

Update network analyzer configuration.

UPDATE aws.iotwireless.network_analyzer_configurations
SET
TraceContent = '{{ TraceContent }}',
WirelessDevicesToAdd = '{{ WirelessDevicesToAdd }}',
WirelessDevicesToRemove = '{{ WirelessDevicesToRemove }}',
WirelessGatewaysToAdd = '{{ WirelessGatewaysToAdd }}',
WirelessGatewaysToRemove = '{{ WirelessGatewaysToRemove }}',
Description = '{{ Description }}',
MulticastGroupsToAdd = '{{ MulticastGroupsToAdd }}',
MulticastGroupsToRemove = '{{ MulticastGroupsToRemove }}'
WHERE
configuration_name = '{{ configuration_name }}' --required
AND region = '{{ region }}' --required;

DELETE examples

Deletes a network analyzer configuration.

DELETE FROM aws.iotwireless.network_analyzer_configurations
WHERE configuration_name = '{{ configuration_name }}' --required
AND region = '{{ region }}' --required
;