@aws-sdk/client-iot 3.42.0 → 3.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/IoT.js +30 -0
- package/dist-cjs/commands/DescribeManagedJobTemplateCommand.js +36 -0
- package/dist-cjs/commands/ListManagedJobTemplatesCommand.js +36 -0
- package/dist-cjs/commands/ListThingTypesCommand.js +1 -2
- package/dist-cjs/commands/ListThingsCommand.js +2 -1
- package/dist-cjs/commands/ListThingsInBillingGroupCommand.js +3 -3
- package/dist-cjs/commands/ListThingsInThingGroupCommand.js +3 -3
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_1.js +47 -47
- package/dist-cjs/models/models_2.js +45 -3
- package/dist-cjs/protocols/Aws_restJson1.js +325 -9
- package/dist-es/IoT.js +30 -0
- package/dist-es/commands/DescribeManagedJobTemplateCommand.js +39 -0
- package/dist-es/commands/ListManagedJobTemplatesCommand.js +39 -0
- package/dist-es/commands/ListThingTypesCommand.js +1 -2
- package/dist-es/commands/ListThingsCommand.js +2 -1
- package/dist-es/commands/ListThingsInBillingGroupCommand.js +1 -1
- package/dist-es/commands/ListThingsInThingGroupCommand.js +1 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_1.js +28 -28
- package/dist-es/models/models_2.js +28 -0
- package/dist-es/protocols/Aws_restJson1.js +350 -2
- package/dist-types/IoT.d.ts +24 -3
- package/dist-types/IoTClient.d.ts +4 -2
- package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +3 -2
- package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +35 -0
- package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +35 -0
- package/dist-types/commands/ListThingTypesCommand.d.ts +1 -2
- package/dist-types/commands/ListThingsCommand.d.ts +2 -1
- package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +4 -1
- package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +11 -3
- package/dist-types/models/models_1.d.ts +188 -164
- package/dist-types/models/models_2.d.ts +159 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/IoT.d.ts +10 -0
- package/dist-types/ts3.4/IoTClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeManagedJobTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListThingTypesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListThingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThingsInThingGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +100 -89
- package/dist-types/ts3.4/models/models_2.d.ts +89 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +2 -2
|
@@ -1654,6 +1654,14 @@ export interface Job {
|
|
|
1654
1654
|
* <p>The ARN of the job template used to create the job.</p>
|
|
1655
1655
|
*/
|
|
1656
1656
|
jobTemplateArn?: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* <p>A key-value map that pairs the patterns that need to be replaced in a managed
|
|
1659
|
+
* template job document schema. You can use the description of each key as a guidance
|
|
1660
|
+
* to specify the inputs during runtime when creating a job.</p>
|
|
1661
|
+
*/
|
|
1662
|
+
documentParameters?: {
|
|
1663
|
+
[key: string]: string;
|
|
1664
|
+
};
|
|
1657
1665
|
}
|
|
1658
1666
|
export declare namespace Job {
|
|
1659
1667
|
/**
|
|
@@ -1863,6 +1871,113 @@ export declare namespace DescribeJobTemplateResponse {
|
|
|
1863
1871
|
*/
|
|
1864
1872
|
const filterSensitiveLog: (obj: DescribeJobTemplateResponse) => any;
|
|
1865
1873
|
}
|
|
1874
|
+
export interface DescribeManagedJobTemplateRequest {
|
|
1875
|
+
/**
|
|
1876
|
+
* <p>The unique name of a managed job template, which is required.</p>
|
|
1877
|
+
*/
|
|
1878
|
+
templateName: string | undefined;
|
|
1879
|
+
/**
|
|
1880
|
+
* <p>An optional parameter to specify version of a managed template. If not specified, the
|
|
1881
|
+
* pre-defined default version is returned.</p>
|
|
1882
|
+
*/
|
|
1883
|
+
templateVersion?: string;
|
|
1884
|
+
}
|
|
1885
|
+
export declare namespace DescribeManagedJobTemplateRequest {
|
|
1886
|
+
/**
|
|
1887
|
+
* @internal
|
|
1888
|
+
*/
|
|
1889
|
+
const filterSensitiveLog: (obj: DescribeManagedJobTemplateRequest) => any;
|
|
1890
|
+
}
|
|
1891
|
+
/**
|
|
1892
|
+
* <p>A map of key-value pairs containing the patterns that need to be replaced in a managed
|
|
1893
|
+
* template job document schema. You can use the description of each key as a guidance to specify
|
|
1894
|
+
* the inputs during runtime when creating a job.</p>
|
|
1895
|
+
*/
|
|
1896
|
+
export interface DocumentParameter {
|
|
1897
|
+
/**
|
|
1898
|
+
* <p>Key of the map field containing the patterns that need to be replaced in a managed
|
|
1899
|
+
* template job document schema.</p>
|
|
1900
|
+
*/
|
|
1901
|
+
key?: string;
|
|
1902
|
+
/**
|
|
1903
|
+
* <p>Description of the map field containing the patterns that need to be replaced in a
|
|
1904
|
+
* managed template job document schema.</p>
|
|
1905
|
+
*/
|
|
1906
|
+
description?: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* <p>A regular expression of the patterns that need to be replaced in a managed template
|
|
1909
|
+
* job document schema.</p>
|
|
1910
|
+
*/
|
|
1911
|
+
regex?: string;
|
|
1912
|
+
/**
|
|
1913
|
+
* <p>An example illustrating a pattern that need to be replaced in a managed template
|
|
1914
|
+
* job document schema.</p>
|
|
1915
|
+
*/
|
|
1916
|
+
example?: string;
|
|
1917
|
+
/**
|
|
1918
|
+
* <p>Specifies whether a pattern that needs to be replaced in a managed template job document
|
|
1919
|
+
* schema is optional or required.</p>
|
|
1920
|
+
*/
|
|
1921
|
+
optional?: boolean;
|
|
1922
|
+
}
|
|
1923
|
+
export declare namespace DocumentParameter {
|
|
1924
|
+
/**
|
|
1925
|
+
* @internal
|
|
1926
|
+
*/
|
|
1927
|
+
const filterSensitiveLog: (obj: DocumentParameter) => any;
|
|
1928
|
+
}
|
|
1929
|
+
export interface DescribeManagedJobTemplateResponse {
|
|
1930
|
+
/**
|
|
1931
|
+
* <p>The unique name of a managed template, such as <code>AWS-Reboot</code>.</p>
|
|
1932
|
+
*/
|
|
1933
|
+
templateName?: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* <p>The unique Amazon Resource Name (ARN) of the managed template.</p>
|
|
1936
|
+
*/
|
|
1937
|
+
templateArn?: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* <p>The unique description of a managed template.</p>
|
|
1940
|
+
*/
|
|
1941
|
+
description?: string;
|
|
1942
|
+
/**
|
|
1943
|
+
* <p>The version for a managed template.</p>
|
|
1944
|
+
*/
|
|
1945
|
+
templateVersion?: string;
|
|
1946
|
+
/**
|
|
1947
|
+
* <p>A list of environments that are supported with the managed job template.</p>
|
|
1948
|
+
*/
|
|
1949
|
+
environments?: string[];
|
|
1950
|
+
/**
|
|
1951
|
+
* <p>A map of key-value pairs that you can use as guidance to specify the inputs for creating
|
|
1952
|
+
* a job from a managed template.</p>
|
|
1953
|
+
*/
|
|
1954
|
+
documentParameters?: DocumentParameter[];
|
|
1955
|
+
/**
|
|
1956
|
+
* <p>The document schema for a managed job template.</p>
|
|
1957
|
+
*/
|
|
1958
|
+
document?: string;
|
|
1959
|
+
}
|
|
1960
|
+
export declare namespace DescribeManagedJobTemplateResponse {
|
|
1961
|
+
/**
|
|
1962
|
+
* @internal
|
|
1963
|
+
*/
|
|
1964
|
+
const filterSensitiveLog: (obj: DescribeManagedJobTemplateResponse) => any;
|
|
1965
|
+
}
|
|
1966
|
+
/**
|
|
1967
|
+
* <p>Internal error from the service that indicates an unexpected error or that the service
|
|
1968
|
+
* is unavailable.</p>
|
|
1969
|
+
*/
|
|
1970
|
+
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
1971
|
+
name: "InternalServerException";
|
|
1972
|
+
$fault: "server";
|
|
1973
|
+
message?: string;
|
|
1974
|
+
}
|
|
1975
|
+
export declare namespace InternalServerException {
|
|
1976
|
+
/**
|
|
1977
|
+
* @internal
|
|
1978
|
+
*/
|
|
1979
|
+
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
1980
|
+
}
|
|
1866
1981
|
export interface DescribeMitigationActionRequest {
|
|
1867
1982
|
/**
|
|
1868
1983
|
* <p>The friendly name that uniquely identifies the mitigation action.</p>
|
|
@@ -2919,8 +3034,7 @@ export declare namespace Bucket {
|
|
|
2919
3034
|
}
|
|
2920
3035
|
export interface GetBucketsAggregationResponse {
|
|
2921
3036
|
/**
|
|
2922
|
-
* <p>The total number of
|
|
2923
|
-
* the Aggregation field targeted in the request.</p>
|
|
3037
|
+
* <p>The total number of things that fit the query string criteria.</p>
|
|
2924
3038
|
*/
|
|
2925
3039
|
totalCount?: number;
|
|
2926
3040
|
/**
|
|
@@ -3573,12 +3687,13 @@ export declare namespace GetStatisticsRequest {
|
|
|
3573
3687
|
const filterSensitiveLog: (obj: GetStatisticsRequest) => any;
|
|
3574
3688
|
}
|
|
3575
3689
|
/**
|
|
3576
|
-
* <p>A map of key-value pairs for all supported statistics.
|
|
3577
|
-
*
|
|
3690
|
+
* <p>A map of key-value pairs for all supported statistics. For issues with missing or unexpected values for this API,
|
|
3691
|
+
* consult <a href="https://docs.aws.amazon.com/iot/latest/developerguide/fleet-indexing-troubleshooting.html">
|
|
3692
|
+
* Fleet indexing troubleshooting guide</a>.</p>
|
|
3578
3693
|
*/
|
|
3579
3694
|
export interface Statistics {
|
|
3580
3695
|
/**
|
|
3581
|
-
* <p>The count of things that match the query.</p>
|
|
3696
|
+
* <p>The count of things that match the query string criteria and contain a valid aggregation field value.</p>
|
|
3582
3697
|
*/
|
|
3583
3698
|
count?: number;
|
|
3584
3699
|
/**
|
|
@@ -5183,6 +5298,74 @@ export declare namespace ListJobTemplatesResponse {
|
|
|
5183
5298
|
*/
|
|
5184
5299
|
const filterSensitiveLog: (obj: ListJobTemplatesResponse) => any;
|
|
5185
5300
|
}
|
|
5301
|
+
export interface ListManagedJobTemplatesRequest {
|
|
5302
|
+
/**
|
|
5303
|
+
* <p>An optional parameter for template name. If specified, only the versions of the
|
|
5304
|
+
* managed job templates that have the specified template name will be returned.</p>
|
|
5305
|
+
*/
|
|
5306
|
+
templateName?: string;
|
|
5307
|
+
/**
|
|
5308
|
+
* <p>Maximum number of entries that can be returned.</p>
|
|
5309
|
+
*/
|
|
5310
|
+
maxResults?: number;
|
|
5311
|
+
/**
|
|
5312
|
+
* <p>The token to retrieve the next set of results.</p>
|
|
5313
|
+
*/
|
|
5314
|
+
nextToken?: string;
|
|
5315
|
+
}
|
|
5316
|
+
export declare namespace ListManagedJobTemplatesRequest {
|
|
5317
|
+
/**
|
|
5318
|
+
* @internal
|
|
5319
|
+
*/
|
|
5320
|
+
const filterSensitiveLog: (obj: ListManagedJobTemplatesRequest) => any;
|
|
5321
|
+
}
|
|
5322
|
+
/**
|
|
5323
|
+
* <p>An object that contains information about the managed template.</p>
|
|
5324
|
+
*/
|
|
5325
|
+
export interface ManagedJobTemplateSummary {
|
|
5326
|
+
/**
|
|
5327
|
+
* <p>The Amazon Resource Name (ARN) for a managed template.</p>
|
|
5328
|
+
*/
|
|
5329
|
+
templateArn?: string;
|
|
5330
|
+
/**
|
|
5331
|
+
* <p>The unique Name for a managed template.</p>
|
|
5332
|
+
*/
|
|
5333
|
+
templateName?: string;
|
|
5334
|
+
/**
|
|
5335
|
+
* <p>The description for a managed template.</p>
|
|
5336
|
+
*/
|
|
5337
|
+
description?: string;
|
|
5338
|
+
/**
|
|
5339
|
+
* <p>A list of environments that are supported with the managed job template.</p>
|
|
5340
|
+
*/
|
|
5341
|
+
environments?: string[];
|
|
5342
|
+
/**
|
|
5343
|
+
* <p>The version for a managed template.</p>
|
|
5344
|
+
*/
|
|
5345
|
+
templateVersion?: string;
|
|
5346
|
+
}
|
|
5347
|
+
export declare namespace ManagedJobTemplateSummary {
|
|
5348
|
+
/**
|
|
5349
|
+
* @internal
|
|
5350
|
+
*/
|
|
5351
|
+
const filterSensitiveLog: (obj: ManagedJobTemplateSummary) => any;
|
|
5352
|
+
}
|
|
5353
|
+
export interface ListManagedJobTemplatesResponse {
|
|
5354
|
+
/**
|
|
5355
|
+
* <p>A list of managed job templates that are returned.</p>
|
|
5356
|
+
*/
|
|
5357
|
+
managedJobTemplates?: ManagedJobTemplateSummary[];
|
|
5358
|
+
/**
|
|
5359
|
+
* <p>The token to retrieve the next set of results.</p>
|
|
5360
|
+
*/
|
|
5361
|
+
nextToken?: string;
|
|
5362
|
+
}
|
|
5363
|
+
export declare namespace ListManagedJobTemplatesResponse {
|
|
5364
|
+
/**
|
|
5365
|
+
* @internal
|
|
5366
|
+
*/
|
|
5367
|
+
const filterSensitiveLog: (obj: ListManagedJobTemplatesResponse) => any;
|
|
5368
|
+
}
|
|
5186
5369
|
export interface ListMitigationActionsRequest {
|
|
5187
5370
|
/**
|
|
5188
5371
|
* <p>Specify a value to limit the result to mitigation actions with a specific action type.</p>
|
|
@@ -6413,162 +6596,3 @@ export declare namespace ListThingsRequest {
|
|
|
6413
6596
|
*/
|
|
6414
6597
|
const filterSensitiveLog: (obj: ListThingsRequest) => any;
|
|
6415
6598
|
}
|
|
6416
|
-
/**
|
|
6417
|
-
* <p>The properties of the thing, including thing name, thing type name, and a list of thing
|
|
6418
|
-
* attributes.</p>
|
|
6419
|
-
*/
|
|
6420
|
-
export interface ThingAttribute {
|
|
6421
|
-
/**
|
|
6422
|
-
* <p>The name of the thing.</p>
|
|
6423
|
-
*/
|
|
6424
|
-
thingName?: string;
|
|
6425
|
-
/**
|
|
6426
|
-
* <p>The name of the thing type, if the thing has been associated with a type.</p>
|
|
6427
|
-
*/
|
|
6428
|
-
thingTypeName?: string;
|
|
6429
|
-
/**
|
|
6430
|
-
* <p>The thing ARN.</p>
|
|
6431
|
-
*/
|
|
6432
|
-
thingArn?: string;
|
|
6433
|
-
/**
|
|
6434
|
-
* <p>A list of thing attributes which are name-value pairs.</p>
|
|
6435
|
-
*/
|
|
6436
|
-
attributes?: {
|
|
6437
|
-
[key: string]: string;
|
|
6438
|
-
};
|
|
6439
|
-
/**
|
|
6440
|
-
* <p>The version of the thing record in the registry.</p>
|
|
6441
|
-
*/
|
|
6442
|
-
version?: number;
|
|
6443
|
-
}
|
|
6444
|
-
export declare namespace ThingAttribute {
|
|
6445
|
-
/**
|
|
6446
|
-
* @internal
|
|
6447
|
-
*/
|
|
6448
|
-
const filterSensitiveLog: (obj: ThingAttribute) => any;
|
|
6449
|
-
}
|
|
6450
|
-
/**
|
|
6451
|
-
* <p>The output from the ListThings operation.</p>
|
|
6452
|
-
*/
|
|
6453
|
-
export interface ListThingsResponse {
|
|
6454
|
-
/**
|
|
6455
|
-
* <p>The things.</p>
|
|
6456
|
-
*/
|
|
6457
|
-
things?: ThingAttribute[];
|
|
6458
|
-
/**
|
|
6459
|
-
* <p>The token to use to get the next set of results. Will not be returned if operation has returned all results.</p>
|
|
6460
|
-
*/
|
|
6461
|
-
nextToken?: string;
|
|
6462
|
-
}
|
|
6463
|
-
export declare namespace ListThingsResponse {
|
|
6464
|
-
/**
|
|
6465
|
-
* @internal
|
|
6466
|
-
*/
|
|
6467
|
-
const filterSensitiveLog: (obj: ListThingsResponse) => any;
|
|
6468
|
-
}
|
|
6469
|
-
export interface ListThingsInBillingGroupRequest {
|
|
6470
|
-
/**
|
|
6471
|
-
* <p>The name of the billing group.</p>
|
|
6472
|
-
*/
|
|
6473
|
-
billingGroupName: string | undefined;
|
|
6474
|
-
/**
|
|
6475
|
-
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
6476
|
-
* value from a previous response; otherwise <b>null</b> to receive
|
|
6477
|
-
* the first set of results.</p>
|
|
6478
|
-
*/
|
|
6479
|
-
nextToken?: string;
|
|
6480
|
-
/**
|
|
6481
|
-
* <p>The maximum number of results to return per request.</p>
|
|
6482
|
-
*/
|
|
6483
|
-
maxResults?: number;
|
|
6484
|
-
}
|
|
6485
|
-
export declare namespace ListThingsInBillingGroupRequest {
|
|
6486
|
-
/**
|
|
6487
|
-
* @internal
|
|
6488
|
-
*/
|
|
6489
|
-
const filterSensitiveLog: (obj: ListThingsInBillingGroupRequest) => any;
|
|
6490
|
-
}
|
|
6491
|
-
export interface ListThingsInBillingGroupResponse {
|
|
6492
|
-
/**
|
|
6493
|
-
* <p>A list of things in the billing group.</p>
|
|
6494
|
-
*/
|
|
6495
|
-
things?: string[];
|
|
6496
|
-
/**
|
|
6497
|
-
* <p>The token to use to get the next set of results. Will not be returned if operation has returned all results.</p>
|
|
6498
|
-
*/
|
|
6499
|
-
nextToken?: string;
|
|
6500
|
-
}
|
|
6501
|
-
export declare namespace ListThingsInBillingGroupResponse {
|
|
6502
|
-
/**
|
|
6503
|
-
* @internal
|
|
6504
|
-
*/
|
|
6505
|
-
const filterSensitiveLog: (obj: ListThingsInBillingGroupResponse) => any;
|
|
6506
|
-
}
|
|
6507
|
-
export interface ListThingsInThingGroupRequest {
|
|
6508
|
-
/**
|
|
6509
|
-
* <p>The thing group name.</p>
|
|
6510
|
-
*/
|
|
6511
|
-
thingGroupName: string | undefined;
|
|
6512
|
-
/**
|
|
6513
|
-
* <p>When true, list things in this thing group and in all child groups as
|
|
6514
|
-
* well.</p>
|
|
6515
|
-
*/
|
|
6516
|
-
recursive?: boolean;
|
|
6517
|
-
/**
|
|
6518
|
-
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
6519
|
-
* value from a previous response; otherwise <b>null</b> to receive
|
|
6520
|
-
* the first set of results.</p>
|
|
6521
|
-
*/
|
|
6522
|
-
nextToken?: string;
|
|
6523
|
-
/**
|
|
6524
|
-
* <p>The maximum number of results to return at one time.</p>
|
|
6525
|
-
*/
|
|
6526
|
-
maxResults?: number;
|
|
6527
|
-
}
|
|
6528
|
-
export declare namespace ListThingsInThingGroupRequest {
|
|
6529
|
-
/**
|
|
6530
|
-
* @internal
|
|
6531
|
-
*/
|
|
6532
|
-
const filterSensitiveLog: (obj: ListThingsInThingGroupRequest) => any;
|
|
6533
|
-
}
|
|
6534
|
-
export interface ListThingsInThingGroupResponse {
|
|
6535
|
-
/**
|
|
6536
|
-
* <p>The things in the specified thing group.</p>
|
|
6537
|
-
*/
|
|
6538
|
-
things?: string[];
|
|
6539
|
-
/**
|
|
6540
|
-
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
6541
|
-
*/
|
|
6542
|
-
nextToken?: string;
|
|
6543
|
-
}
|
|
6544
|
-
export declare namespace ListThingsInThingGroupResponse {
|
|
6545
|
-
/**
|
|
6546
|
-
* @internal
|
|
6547
|
-
*/
|
|
6548
|
-
const filterSensitiveLog: (obj: ListThingsInThingGroupResponse) => any;
|
|
6549
|
-
}
|
|
6550
|
-
/**
|
|
6551
|
-
* <p>The input for the ListThingTypes operation.</p>
|
|
6552
|
-
*/
|
|
6553
|
-
export interface ListThingTypesRequest {
|
|
6554
|
-
/**
|
|
6555
|
-
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
6556
|
-
* value from a previous response; otherwise <b>null</b> to receive
|
|
6557
|
-
* the first set of results.</p>
|
|
6558
|
-
*/
|
|
6559
|
-
nextToken?: string;
|
|
6560
|
-
/**
|
|
6561
|
-
* <p>The maximum number of results to return in this operation.</p>
|
|
6562
|
-
*/
|
|
6563
|
-
maxResults?: number;
|
|
6564
|
-
/**
|
|
6565
|
-
* <p>The name of the thing type.</p>
|
|
6566
|
-
*/
|
|
6567
|
-
thingTypeName?: string;
|
|
6568
|
-
}
|
|
6569
|
-
export declare namespace ListThingTypesRequest {
|
|
6570
|
-
/**
|
|
6571
|
-
* @internal
|
|
6572
|
-
*/
|
|
6573
|
-
const filterSensitiveLog: (obj: ListThingTypesRequest) => any;
|
|
6574
|
-
}
|
|
@@ -1,6 +1,165 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
2
|
import { AbortConfig, AggregationType, AlertTarget, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRolloutConfig, LogLevel, MetricToRetain, MetricValue, MitigationActionParams, PresignedUrlConfig, ProvisioningHook, ResourceIdentifier, StreamFile, Tag, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
3
3
|
import { BehaviorCriteriaType, CACertificateStatus, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, LogTargetType, RegistrationConfig, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, ViolationEventOccurrenceRange } from "./models_1";
|
|
4
|
+
/**
|
|
5
|
+
* <p>The properties of the thing, including thing name, thing type name, and a list of thing
|
|
6
|
+
* attributes.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface ThingAttribute {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The name of the thing.</p>
|
|
11
|
+
*/
|
|
12
|
+
thingName?: string;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The name of the thing type, if the thing has been associated with a type.</p>
|
|
15
|
+
*/
|
|
16
|
+
thingTypeName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The thing ARN.</p>
|
|
19
|
+
*/
|
|
20
|
+
thingArn?: string;
|
|
21
|
+
/**
|
|
22
|
+
* <p>A list of thing attributes which are name-value pairs.</p>
|
|
23
|
+
*/
|
|
24
|
+
attributes?: {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* <p>The version of the thing record in the registry.</p>
|
|
29
|
+
*/
|
|
30
|
+
version?: number;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace ThingAttribute {
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
const filterSensitiveLog: (obj: ThingAttribute) => any;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* <p>The output from the ListThings operation.</p>
|
|
40
|
+
*/
|
|
41
|
+
export interface ListThingsResponse {
|
|
42
|
+
/**
|
|
43
|
+
* <p>The things.</p>
|
|
44
|
+
*/
|
|
45
|
+
things?: ThingAttribute[];
|
|
46
|
+
/**
|
|
47
|
+
* <p>The token to use to get the next set of results. Will not be returned if operation has returned all results.</p>
|
|
48
|
+
*/
|
|
49
|
+
nextToken?: string;
|
|
50
|
+
}
|
|
51
|
+
export declare namespace ListThingsResponse {
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
const filterSensitiveLog: (obj: ListThingsResponse) => any;
|
|
56
|
+
}
|
|
57
|
+
export interface ListThingsInBillingGroupRequest {
|
|
58
|
+
/**
|
|
59
|
+
* <p>The name of the billing group.</p>
|
|
60
|
+
*/
|
|
61
|
+
billingGroupName: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
64
|
+
* value from a previous response; otherwise <b>null</b> to receive
|
|
65
|
+
* the first set of results.</p>
|
|
66
|
+
*/
|
|
67
|
+
nextToken?: string;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The maximum number of results to return per request.</p>
|
|
70
|
+
*/
|
|
71
|
+
maxResults?: number;
|
|
72
|
+
}
|
|
73
|
+
export declare namespace ListThingsInBillingGroupRequest {
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
const filterSensitiveLog: (obj: ListThingsInBillingGroupRequest) => any;
|
|
78
|
+
}
|
|
79
|
+
export interface ListThingsInBillingGroupResponse {
|
|
80
|
+
/**
|
|
81
|
+
* <p>A list of things in the billing group.</p>
|
|
82
|
+
*/
|
|
83
|
+
things?: string[];
|
|
84
|
+
/**
|
|
85
|
+
* <p>The token to use to get the next set of results. Will not be returned if operation has returned all results.</p>
|
|
86
|
+
*/
|
|
87
|
+
nextToken?: string;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace ListThingsInBillingGroupResponse {
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
const filterSensitiveLog: (obj: ListThingsInBillingGroupResponse) => any;
|
|
94
|
+
}
|
|
95
|
+
export interface ListThingsInThingGroupRequest {
|
|
96
|
+
/**
|
|
97
|
+
* <p>The thing group name.</p>
|
|
98
|
+
*/
|
|
99
|
+
thingGroupName: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>When true, list things in this thing group and in all child groups as
|
|
102
|
+
* well.</p>
|
|
103
|
+
*/
|
|
104
|
+
recursive?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
107
|
+
* value from a previous response; otherwise <b>null</b> to receive
|
|
108
|
+
* the first set of results.</p>
|
|
109
|
+
*/
|
|
110
|
+
nextToken?: string;
|
|
111
|
+
/**
|
|
112
|
+
* <p>The maximum number of results to return at one time.</p>
|
|
113
|
+
*/
|
|
114
|
+
maxResults?: number;
|
|
115
|
+
}
|
|
116
|
+
export declare namespace ListThingsInThingGroupRequest {
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
const filterSensitiveLog: (obj: ListThingsInThingGroupRequest) => any;
|
|
121
|
+
}
|
|
122
|
+
export interface ListThingsInThingGroupResponse {
|
|
123
|
+
/**
|
|
124
|
+
* <p>The things in the specified thing group.</p>
|
|
125
|
+
*/
|
|
126
|
+
things?: string[];
|
|
127
|
+
/**
|
|
128
|
+
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
129
|
+
*/
|
|
130
|
+
nextToken?: string;
|
|
131
|
+
}
|
|
132
|
+
export declare namespace ListThingsInThingGroupResponse {
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
const filterSensitiveLog: (obj: ListThingsInThingGroupResponse) => any;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* <p>The input for the ListThingTypes operation.</p>
|
|
140
|
+
*/
|
|
141
|
+
export interface ListThingTypesRequest {
|
|
142
|
+
/**
|
|
143
|
+
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
144
|
+
* value from a previous response; otherwise <b>null</b> to receive
|
|
145
|
+
* the first set of results.</p>
|
|
146
|
+
*/
|
|
147
|
+
nextToken?: string;
|
|
148
|
+
/**
|
|
149
|
+
* <p>The maximum number of results to return in this operation.</p>
|
|
150
|
+
*/
|
|
151
|
+
maxResults?: number;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The name of the thing type.</p>
|
|
154
|
+
*/
|
|
155
|
+
thingTypeName?: string;
|
|
156
|
+
}
|
|
157
|
+
export declare namespace ListThingTypesRequest {
|
|
158
|
+
/**
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
161
|
+
const filterSensitiveLog: (obj: ListThingTypesRequest) => any;
|
|
162
|
+
}
|
|
4
163
|
/**
|
|
5
164
|
* <p>The definition of the thing type, including thing type name and description.</p>
|
|
6
165
|
*/
|
|
@@ -97,6 +97,7 @@ import { DescribeIndexCommandInput, DescribeIndexCommandOutput } from "../comman
|
|
|
97
97
|
import { DescribeJobCommandInput, DescribeJobCommandOutput } from "../commands/DescribeJobCommand";
|
|
98
98
|
import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "../commands/DescribeJobExecutionCommand";
|
|
99
99
|
import { DescribeJobTemplateCommandInput, DescribeJobTemplateCommandOutput } from "../commands/DescribeJobTemplateCommand";
|
|
100
|
+
import { DescribeManagedJobTemplateCommandInput, DescribeManagedJobTemplateCommandOutput } from "../commands/DescribeManagedJobTemplateCommand";
|
|
100
101
|
import { DescribeMitigationActionCommandInput, DescribeMitigationActionCommandOutput } from "../commands/DescribeMitigationActionCommand";
|
|
101
102
|
import { DescribeProvisioningTemplateCommandInput, DescribeProvisioningTemplateCommandOutput } from "../commands/DescribeProvisioningTemplateCommand";
|
|
102
103
|
import { DescribeProvisioningTemplateVersionCommandInput, DescribeProvisioningTemplateVersionCommandOutput } from "../commands/DescribeProvisioningTemplateVersionCommand";
|
|
@@ -153,6 +154,7 @@ import { ListJobExecutionsForJobCommandInput, ListJobExecutionsForJobCommandOutp
|
|
|
153
154
|
import { ListJobExecutionsForThingCommandInput, ListJobExecutionsForThingCommandOutput } from "../commands/ListJobExecutionsForThingCommand";
|
|
154
155
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
|
|
155
156
|
import { ListJobTemplatesCommandInput, ListJobTemplatesCommandOutput } from "../commands/ListJobTemplatesCommand";
|
|
157
|
+
import { ListManagedJobTemplatesCommandInput, ListManagedJobTemplatesCommandOutput } from "../commands/ListManagedJobTemplatesCommand";
|
|
156
158
|
import { ListMitigationActionsCommandInput, ListMitigationActionsCommandOutput } from "../commands/ListMitigationActionsCommand";
|
|
157
159
|
import { ListOTAUpdatesCommandInput, ListOTAUpdatesCommandOutput } from "../commands/ListOTAUpdatesCommand";
|
|
158
160
|
import { ListOutgoingCertificatesCommandInput, ListOutgoingCertificatesCommandOutput } from "../commands/ListOutgoingCertificatesCommand";
|
|
@@ -331,6 +333,7 @@ export declare const serializeAws_restJson1DescribeIndexCommand: (input: Describ
|
|
|
331
333
|
export declare const serializeAws_restJson1DescribeJobCommand: (input: DescribeJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
332
334
|
export declare const serializeAws_restJson1DescribeJobExecutionCommand: (input: DescribeJobExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
333
335
|
export declare const serializeAws_restJson1DescribeJobTemplateCommand: (input: DescribeJobTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
336
|
+
export declare const serializeAws_restJson1DescribeManagedJobTemplateCommand: (input: DescribeManagedJobTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
334
337
|
export declare const serializeAws_restJson1DescribeMitigationActionCommand: (input: DescribeMitigationActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
335
338
|
export declare const serializeAws_restJson1DescribeProvisioningTemplateCommand: (input: DescribeProvisioningTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
336
339
|
export declare const serializeAws_restJson1DescribeProvisioningTemplateVersionCommand: (input: DescribeProvisioningTemplateVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -387,6 +390,7 @@ export declare const serializeAws_restJson1ListJobExecutionsForJobCommand: (inpu
|
|
|
387
390
|
export declare const serializeAws_restJson1ListJobExecutionsForThingCommand: (input: ListJobExecutionsForThingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
388
391
|
export declare const serializeAws_restJson1ListJobsCommand: (input: ListJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
389
392
|
export declare const serializeAws_restJson1ListJobTemplatesCommand: (input: ListJobTemplatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
393
|
+
export declare const serializeAws_restJson1ListManagedJobTemplatesCommand: (input: ListManagedJobTemplatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
390
394
|
export declare const serializeAws_restJson1ListMitigationActionsCommand: (input: ListMitigationActionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
391
395
|
export declare const serializeAws_restJson1ListOTAUpdatesCommand: (input: ListOTAUpdatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
392
396
|
export declare const serializeAws_restJson1ListOutgoingCertificatesCommand: (input: ListOutgoingCertificatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -565,6 +569,7 @@ export declare const deserializeAws_restJson1DescribeIndexCommand: (output: __Ht
|
|
|
565
569
|
export declare const deserializeAws_restJson1DescribeJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobCommandOutput>;
|
|
566
570
|
export declare const deserializeAws_restJson1DescribeJobExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobExecutionCommandOutput>;
|
|
567
571
|
export declare const deserializeAws_restJson1DescribeJobTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobTemplateCommandOutput>;
|
|
572
|
+
export declare const deserializeAws_restJson1DescribeManagedJobTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeManagedJobTemplateCommandOutput>;
|
|
568
573
|
export declare const deserializeAws_restJson1DescribeMitigationActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeMitigationActionCommandOutput>;
|
|
569
574
|
export declare const deserializeAws_restJson1DescribeProvisioningTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeProvisioningTemplateCommandOutput>;
|
|
570
575
|
export declare const deserializeAws_restJson1DescribeProvisioningTemplateVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeProvisioningTemplateVersionCommandOutput>;
|
|
@@ -621,6 +626,7 @@ export declare const deserializeAws_restJson1ListJobExecutionsForJobCommand: (ou
|
|
|
621
626
|
export declare const deserializeAws_restJson1ListJobExecutionsForThingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListJobExecutionsForThingCommandOutput>;
|
|
622
627
|
export declare const deserializeAws_restJson1ListJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListJobsCommandOutput>;
|
|
623
628
|
export declare const deserializeAws_restJson1ListJobTemplatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListJobTemplatesCommandOutput>;
|
|
629
|
+
export declare const deserializeAws_restJson1ListManagedJobTemplatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListManagedJobTemplatesCommandOutput>;
|
|
624
630
|
export declare const deserializeAws_restJson1ListMitigationActionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMitigationActionsCommandOutput>;
|
|
625
631
|
export declare const deserializeAws_restJson1ListOTAUpdatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOTAUpdatesCommandOutput>;
|
|
626
632
|
export declare const deserializeAws_restJson1ListOutgoingCertificatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOutgoingCertificatesCommandOutput>;
|
|
@@ -96,6 +96,7 @@ import { DescribeIndexCommandInput, DescribeIndexCommandOutput } from "./command
|
|
|
96
96
|
import { DescribeJobCommandInput, DescribeJobCommandOutput } from "./commands/DescribeJobCommand";
|
|
97
97
|
import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
|
|
98
98
|
import { DescribeJobTemplateCommandInput, DescribeJobTemplateCommandOutput } from "./commands/DescribeJobTemplateCommand";
|
|
99
|
+
import { DescribeManagedJobTemplateCommandInput, DescribeManagedJobTemplateCommandOutput } from "./commands/DescribeManagedJobTemplateCommand";
|
|
99
100
|
import { DescribeMitigationActionCommandInput, DescribeMitigationActionCommandOutput } from "./commands/DescribeMitigationActionCommand";
|
|
100
101
|
import { DescribeProvisioningTemplateCommandInput, DescribeProvisioningTemplateCommandOutput } from "./commands/DescribeProvisioningTemplateCommand";
|
|
101
102
|
import { DescribeProvisioningTemplateVersionCommandInput, DescribeProvisioningTemplateVersionCommandOutput } from "./commands/DescribeProvisioningTemplateVersionCommand";
|
|
@@ -152,6 +153,7 @@ import { ListJobExecutionsForJobCommandInput, ListJobExecutionsForJobCommandOutp
|
|
|
152
153
|
import { ListJobExecutionsForThingCommandInput, ListJobExecutionsForThingCommandOutput } from "./commands/ListJobExecutionsForThingCommand";
|
|
153
154
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
154
155
|
import { ListJobTemplatesCommandInput, ListJobTemplatesCommandOutput } from "./commands/ListJobTemplatesCommand";
|
|
156
|
+
import { ListManagedJobTemplatesCommandInput, ListManagedJobTemplatesCommandOutput } from "./commands/ListManagedJobTemplatesCommand";
|
|
155
157
|
import { ListMitigationActionsCommandInput, ListMitigationActionsCommandOutput } from "./commands/ListMitigationActionsCommand";
|
|
156
158
|
import { ListOTAUpdatesCommandInput, ListOTAUpdatesCommandOutput } from "./commands/ListOTAUpdatesCommand";
|
|
157
159
|
import { ListOutgoingCertificatesCommandInput, ListOutgoingCertificatesCommandOutput } from "./commands/ListOutgoingCertificatesCommand";
|
|
@@ -625,6 +627,10 @@ export declare class IoT extends IoTClient {
|
|
|
625
627
|
describeJobTemplate(args: DescribeJobTemplateCommandInput, cb: (err: any, data?: DescribeJobTemplateCommandOutput) => void): void;
|
|
626
628
|
describeJobTemplate(args: DescribeJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobTemplateCommandOutput) => void): void;
|
|
627
629
|
|
|
630
|
+
describeManagedJobTemplate(args: DescribeManagedJobTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeManagedJobTemplateCommandOutput>;
|
|
631
|
+
describeManagedJobTemplate(args: DescribeManagedJobTemplateCommandInput, cb: (err: any, data?: DescribeManagedJobTemplateCommandOutput) => void): void;
|
|
632
|
+
describeManagedJobTemplate(args: DescribeManagedJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeManagedJobTemplateCommandOutput) => void): void;
|
|
633
|
+
|
|
628
634
|
describeMitigationAction(args: DescribeMitigationActionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMitigationActionCommandOutput>;
|
|
629
635
|
describeMitigationAction(args: DescribeMitigationActionCommandInput, cb: (err: any, data?: DescribeMitigationActionCommandOutput) => void): void;
|
|
630
636
|
describeMitigationAction(args: DescribeMitigationActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMitigationActionCommandOutput) => void): void;
|
|
@@ -849,6 +855,10 @@ export declare class IoT extends IoTClient {
|
|
|
849
855
|
listJobTemplates(args: ListJobTemplatesCommandInput, cb: (err: any, data?: ListJobTemplatesCommandOutput) => void): void;
|
|
850
856
|
listJobTemplates(args: ListJobTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobTemplatesCommandOutput) => void): void;
|
|
851
857
|
|
|
858
|
+
listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedJobTemplatesCommandOutput>;
|
|
859
|
+
listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, cb: (err: any, data?: ListManagedJobTemplatesCommandOutput) => void): void;
|
|
860
|
+
listManagedJobTemplates(args: ListManagedJobTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedJobTemplatesCommandOutput) => void): void;
|
|
861
|
+
|
|
852
862
|
listMitigationActions(args: ListMitigationActionsCommandInput, options?: __HttpHandlerOptions): Promise<ListMitigationActionsCommandOutput>;
|
|
853
863
|
listMitigationActions(args: ListMitigationActionsCommandInput, cb: (err: any, data?: ListMitigationActionsCommandOutput) => void): void;
|
|
854
864
|
listMitigationActions(args: ListMitigationActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMitigationActionsCommandOutput) => void): void;
|