This repository was archived by the owner on Jul 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { DynamoDBClient , GetItemCommand } from '@aws-sdk/client-dynamodb'
1+ import type { DynamoDBClient } from '@aws-sdk/client-dynamodb'
2+ import { GetItemCommand } from '@aws-sdk/client-dynamodb'
23import { unmarshall } from '@aws-sdk/util-dynamodb'
34import type { Static } from '@sinclair/typebox'
45import { ErrorType , type ErrorInfo } from '../api/ErrorInfo.js'
Original file line number Diff line number Diff line change 1- import { DescribeEndpointCommand , IoTClient } from '@aws-sdk/client-iot'
1+ import type { IoTClient } from '@aws-sdk/client-iot'
2+ import { DescribeEndpointCommand } from '@aws-sdk/client-iot'
23
34export const getIotEndpoint = async ( iot : IoTClient ) : Promise < string > =>
45 iot
Original file line number Diff line number Diff line change 1- import { DynamoDBClient , GetItemCommand } from '@aws-sdk/client-dynamodb'
1+ import type { DynamoDBClient } from '@aws-sdk/client-dynamodb'
2+ import { GetItemCommand } from '@aws-sdk/client-dynamodb'
23import { ErrorType , type ErrorInfo } from '../api/ErrorInfo.js'
34import type { Cell } from '../geolocation/Cell.js'
45import type { Location } from '../geolocation/Location.js'
Original file line number Diff line number Diff line change 1+ import type { IoTClient } from '@aws-sdk/client-iot'
12import {
23 DescribeCACertificateCommand ,
3- IoTClient ,
44 ListCACertificatesCommand ,
55} from '@aws-sdk/client-iot'
66import { paginate } from '../../util/paginate.js'
Original file line number Diff line number Diff line change 1- import {
2- CloudFormationClient ,
3- DescribeStacksCommand ,
4- } from '@aws-sdk/client-cloudformation'
1+ import type { CloudFormationClient } from '@aws-sdk/client-cloudformation'
2+ import { DescribeStacksCommand } from '@aws-sdk/client-cloudformation'
3+ import type { IoTClient , EventType } from '@aws-sdk/client-iot'
54import {
65 GetRegistrationCodeCommand ,
7- IoTClient ,
86 RegisterCACertificateCommand ,
97 UpdateEventConfigurationsCommand ,
108 type Tag ,
11- EventType ,
129 type Configuration ,
1310} from '@aws-sdk/client-iot'
1411import { toObject } from '@nordicsemiconductor/cloudformation-helpers'
Original file line number Diff line number Diff line change @@ -6,10 +6,9 @@ import {
66import { Type } from '@sinclair/typebox'
77import type { World } from '../run-features.js'
88import { matchChoice , matchString } from './util.js'
9+ import type { AttributeValue , DynamoDBClient } from '@aws-sdk/client-dynamodb'
910import {
10- AttributeValue ,
1111 DeleteItemCommand ,
12- DynamoDBClient ,
1312 PutItemCommand ,
1413 QueryCommand ,
1514} from '@aws-sdk/client-dynamodb'
Original file line number Diff line number Diff line change 1- import { SendMessageCommand , SQSClient } from '@aws-sdk/client-sqs'
1+ import type { SQSClient } from '@aws-sdk/client-sqs'
2+ import { SendMessageCommand } from '@aws-sdk/client-sqs'
23import { ErrorType , type ErrorInfo } from '../api/ErrorInfo.js'
34
45export const queueJob =
Original file line number Diff line number Diff line change 1+ import type { TimestreamWriteClient } from '@aws-sdk/client-timestream-write'
12import {
2- TimestreamWriteClient ,
33 WriteRecordsCommand ,
44 type _Record ,
55} from '@aws-sdk/client-timestream-write'
Original file line number Diff line number Diff line change 1- import { DynamoDBClient , GetItemCommand } from '@aws-sdk/client-dynamodb'
1+ import type { DynamoDBClient } from '@aws-sdk/client-dynamodb'
2+ import { GetItemCommand } from '@aws-sdk/client-dynamodb'
23import { unmarshall } from '@aws-sdk/util-dynamodb'
34import { ErrorType , type ErrorInfo } from '../api/ErrorInfo.js'
45import type { Location } from '../geolocation/Location.js'
Original file line number Diff line number Diff line change 1- import { DynamoDBClient , GetItemCommand } from '@aws-sdk/client-dynamodb'
1+ import type { DynamoDBClient } from '@aws-sdk/client-dynamodb'
2+ import { GetItemCommand } from '@aws-sdk/client-dynamodb'
23import { unmarshall } from '@aws-sdk/util-dynamodb'
34import type { Static } from '@sinclair/typebox'
45import { URL } from 'url'
You can’t perform that action at this time.
0 commit comments