Skip to content

Commit

Permalink
feat(client-iot-wireless): AWS IoT Wireless release support for sidew…
Browse files Browse the repository at this point in the history
…alk data reliability.
  • Loading branch information
awstools committed Aug 8, 2022
1 parent b44a924 commit 962583c
Show file tree
Hide file tree
Showing 5 changed files with 316 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
UpdateMulticastGroupRequestFilterSensitiveLog,
UpdateMulticastGroupResponse,
UpdateMulticastGroupResponseFilterSensitiveLog,
} from "../models/models_0";
} from "../models/models_1";
import {
deserializeAws_restJson1UpdateMulticastGroupCommand,
serializeAws_restJson1UpdateMulticastGroupCommand,
Expand Down
121 changes: 83 additions & 38 deletions clients/client-iot-wireless/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,16 @@ export interface LoRaWANServiceProfile {
* <p>The AddGWMetaData value.</p>
*/
AddGwMetadata?: boolean;

/**
* <p>The DrMin value.</p>
*/
DrMin?: number;

/**
* <p>The DrMax value.</p>
*/
DrMax?: number;
}

export interface CreateServiceProfileRequest {
Expand Down Expand Up @@ -1693,6 +1703,25 @@ export interface JoinEventConfiguration {
WirelessDeviceIdEventTopic?: EventNotificationTopicStatus | string;
}

/**
* <p>Message delivery status event configuration object for enabling and disabling relevant
* topics.</p>
*/
export interface MessageDeliveryStatusEventConfiguration {
/**
* <p>
* <code>SidewalkEventNotificationConfigurations</code> object, which is the event configuration
* object for Sidewalk-related event topics.</p>
*/
Sidewalk?: SidewalkEventNotificationConfigurations;

/**
* <p>Enum to denote whether the wireless device id device registration state event topic is enabled
* or disabled.</p>
*/
WirelessDeviceIdEventTopic?: EventNotificationTopicStatus | string;
}

/**
* <p>Proximity event configuration object for enabling and disabling relevant topics.</p>
*/
Expand Down Expand Up @@ -1731,6 +1760,11 @@ export interface EventNotificationItemConfigurations {
* <p>Connection status event configuration for an event configuration item.</p>
*/
ConnectionStatus?: ConnectionStatusEventConfiguration;

/**
* <p>Message delivery status event configuration for an event configuration item.</p>
*/
MessageDeliveryStatus?: MessageDeliveryStatusEventConfiguration;
}

export enum IdentifierType {
Expand Down Expand Up @@ -1909,6 +1943,17 @@ export interface JoinResourceTypeEventConfiguration {
LoRaWAN?: LoRaWANJoinResourceTypeEventConfiguration;
}

/**
* <p>Message delivery status resource type event configuration object for enabling or disabling
* relevant topic.</p>
*/
export interface MessageDeliveryStatusResourceTypeEventConfiguration {
/**
* <p>Sidewalk resource type event configuration object for enabling or disabling topic.</p>
*/
Sidewalk?: SidewalkResourceTypeEventConfiguration;
}

/**
* <p>Proximity resource type event configuration object for enabling or disabling topic.</p>
*/
Expand Down Expand Up @@ -1939,6 +1984,11 @@ export interface GetEventConfigurationByResourceTypesResponse {
* <p>Resource type event configuration for the connection status event.</p>
*/
ConnectionStatus?: ConnectionStatusResourceTypeEventConfiguration;

/**
* <p>Resource type event configuration object for the message delivery status event.</p>
*/
MessageDeliveryStatus?: MessageDeliveryStatusResourceTypeEventConfiguration;
}

export interface GetFuotaTaskRequest {
Expand Down Expand Up @@ -2482,6 +2532,11 @@ export interface GetResourceEventConfigurationResponse {
* <p>Event configuration for the connection status event.</p>
*/
ConnectionStatus?: ConnectionStatusEventConfiguration;

/**
* <p>Event configuration for the message delivery status event.</p>
*/
MessageDeliveryStatus?: MessageDeliveryStatusEventConfiguration;
}

export interface GetResourceLogLevelRequest {
Expand Down Expand Up @@ -3884,6 +3939,11 @@ export interface SidewalkSendDataToDevice {
* <p>Sidewalk device message type. Default value is <code>CUSTOM_COMMAND_ID_NOTIFY</code>.</p>
*/
MessageType?: MessageType | string;

/**
* <p>The duration of time in seconds for which you want to retry sending the ACK.</p>
*/
AckModeRetryDurationSecs?: number;
}

/**
Expand Down Expand Up @@ -4124,6 +4184,11 @@ export interface UpdateEventConfigurationByResourceTypesRequest {
* <p>Connection status resource type event configuration object for enabling and disabling wireless gateway topic.</p>
*/
ConnectionStatus?: ConnectionStatusResourceTypeEventConfiguration;

/**
* <p>Message delivery status resource type event configuration object for enabling and disabling wireless device topic.</p>
*/
MessageDeliveryStatus?: MessageDeliveryStatusResourceTypeEventConfiguration;
}

export interface UpdateEventConfigurationByResourceTypesResponse {}
Expand Down Expand Up @@ -4182,30 +4247,6 @@ export interface UpdateLogLevelsByResourceTypesRequest {

export interface UpdateLogLevelsByResourceTypesResponse {}

export interface UpdateMulticastGroupRequest {
/**
* <p>The ID of the multicast group.</p>
*/
Id: string | undefined;

/**
* <p>The name of the multicast group.</p>
*/
Name?: string;

/**
* <p>The description of the new resource.</p>
*/
Description?: string;

/**
* <p>The LoRaWAN information that is to be used with the multicast group.</p>
*/
LoRaWAN?: LoRaWANMulticast;
}

export interface UpdateMulticastGroupResponse {}

/**
* @internal
*/
Expand Down Expand Up @@ -5055,6 +5096,15 @@ export const JoinEventConfigurationFilterSensitiveLog = (obj: JoinEventConfigura
...obj,
});

/**
* @internal
*/
export const MessageDeliveryStatusEventConfigurationFilterSensitiveLog = (
obj: MessageDeliveryStatusEventConfiguration
): any => ({
...obj,
});

/**
* @internal
*/
Expand Down Expand Up @@ -5138,6 +5188,15 @@ export const JoinResourceTypeEventConfigurationFilterSensitiveLog = (obj: JoinRe
...obj,
});

/**
* @internal
*/
export const MessageDeliveryStatusResourceTypeEventConfigurationFilterSensitiveLog = (
obj: MessageDeliveryStatusResourceTypeEventConfiguration
): any => ({
...obj,
});

/**
* @internal
*/
Expand Down Expand Up @@ -6182,17 +6241,3 @@ export const UpdateLogLevelsByResourceTypesResponseFilterSensitiveLog = (
): any => ({
...obj,
});

/**
* @internal
*/
export const UpdateMulticastGroupRequestFilterSensitiveLog = (obj: UpdateMulticastGroupRequest): any => ({
...obj,
});

/**
* @internal
*/
export const UpdateMulticastGroupResponseFilterSensitiveLog = (obj: UpdateMulticastGroupResponse): any => ({
...obj,
});
45 changes: 45 additions & 0 deletions clients/client-iot-wireless/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,39 @@ import {
EventNotificationPartnerType,
IdentifierType,
JoinEventConfiguration,
LoRaWANMulticast,
MessageDeliveryStatusEventConfiguration,
PartnerType,
Positioning,
PositionResourceType,
ProximityEventConfiguration,
TraceContent,
} from "./models_0";

export interface UpdateMulticastGroupRequest {
/**
* <p>The ID of the multicast group.</p>
*/
Id: string | undefined;

/**
* <p>The name of the multicast group.</p>
*/
Name?: string;

/**
* <p>The description of the new resource.</p>
*/
Description?: string;

/**
* <p>The LoRaWAN information that is to be used with the multicast group.</p>
*/
LoRaWAN?: LoRaWANMulticast;
}

export interface UpdateMulticastGroupResponse {}

export interface UpdateNetworkAnalyzerConfigurationRequest {
/**
* <p>Name of the network analyzer configuration.</p>
Expand Down Expand Up @@ -141,6 +167,11 @@ export interface UpdateResourceEventConfigurationRequest {
* <p>Event configuration for the connection status event.</p>
*/
ConnectionStatus?: ConnectionStatusEventConfiguration;

/**
* <p>Event configuration for the message delivery status event.</p>
*/
MessageDeliveryStatus?: MessageDeliveryStatusEventConfiguration;
}

export interface UpdateResourceEventConfigurationResponse {}
Expand Down Expand Up @@ -263,6 +294,20 @@ export interface UpdateWirelessGatewayRequest {

export interface UpdateWirelessGatewayResponse {}

/**
* @internal
*/
export const UpdateMulticastGroupRequestFilterSensitiveLog = (obj: UpdateMulticastGroupRequest): any => ({
...obj,
});

/**
* @internal
*/
export const UpdateMulticastGroupResponseFilterSensitiveLog = (obj: UpdateMulticastGroupResponse): any => ({
...obj,
});

/**
* @internal
*/
Expand Down
Loading

0 comments on commit 962583c

Please sign in to comment.