@aws-sdk/client-iot 3.696.0 → 3.699.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/README.md +64 -0
- package/dist-cjs/index.js +555 -0
- package/dist-es/IoT.js +16 -0
- package/dist-es/commands/CreateCommandCommand.js +22 -0
- package/dist-es/commands/DeleteCommandCommand.js +22 -0
- package/dist-es/commands/DeleteCommandExecutionCommand.js +22 -0
- package/dist-es/commands/GetCommandCommand.js +22 -0
- package/dist-es/commands/GetCommandExecutionCommand.js +22 -0
- package/dist-es/commands/ListCommandExecutionsCommand.js +22 -0
- package/dist-es/commands/ListCommandsCommand.js +22 -0
- package/dist-es/commands/UpdateCommandCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/pagination/ListCommandExecutionsPaginator.js +4 -0
- package/dist-es/pagination/ListCommandsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +387 -0
- package/dist-types/IoT.d.ts +58 -0
- package/dist-types/IoTClient.d.ts +10 -2
- package/dist-types/commands/AssociateSbomWithPackageVersionCommand.d.ts +2 -2
- package/dist-types/commands/AssociateTargetsWithJobCommand.d.ts +4 -3
- package/dist-types/commands/CreateCommandCommand.d.ts +127 -0
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreatePackageCommand.d.ts +2 -2
- package/dist-types/commands/CreatePackageVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAuditSuppressionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCommandCommand.d.ts +84 -0
- package/dist-types/commands/DeleteCommandExecutionCommand.d.ts +87 -0
- package/dist-types/commands/DeleteJobCommand.d.ts +6 -7
- package/dist-types/commands/DisassociateSbomFromPackageVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetCommandCommand.d.ts +121 -0
- package/dist-types/commands/GetCommandExecutionCommand.d.ts +117 -0
- package/dist-types/commands/ListCommandExecutionsCommand.d.ts +116 -0
- package/dist-types/commands/ListCommandsCommand.d.ts +96 -0
- package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +2 -1
- package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListDimensionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListFleetMetricsCommand.d.ts +1 -1
- package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
- package/dist-types/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
- package/dist-types/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +1 -2
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCommandCommand.d.ts +94 -0
- package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageVersionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +332 -236
- package/dist-types/models/models_1.d.ts +880 -784
- package/dist-types/models/models_2.d.ts +671 -11
- package/dist-types/pagination/ListCommandExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCommandsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/IoT.d.ts +138 -0
- package/dist-types/ts3.4/IoTClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateCommandCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateTopicRuleDestinationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteAccountAuditConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAuditSuppressionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCommandCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteCommandExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCommandCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetCommandExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCommandExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCommandsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDimensionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDomainConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFleetMetricsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCommandCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +39 -21
- package/dist-types/ts3.4/models/models_1.d.ts +148 -129
- package/dist-types/ts3.4/models/models_2.d.ts +147 -1
- package/dist-types/ts3.4/pagination/ListCommandExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCommandsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -67,6 +67,8 @@ __export(src_exports, {
|
|
|
67
67
|
CertificateStatus: () => CertificateStatus,
|
|
68
68
|
CertificateValidationException: () => CertificateValidationException,
|
|
69
69
|
ClearDefaultAuthorizerCommand: () => ClearDefaultAuthorizerCommand,
|
|
70
|
+
CommandExecutionStatus: () => CommandExecutionStatus,
|
|
71
|
+
CommandNamespace: () => CommandNamespace,
|
|
70
72
|
ComparisonOperator: () => ComparisonOperator,
|
|
71
73
|
ConfidenceLevel: () => ConfidenceLevel,
|
|
72
74
|
ConfirmTopicRuleDestinationCommand: () => ConfirmTopicRuleDestinationCommand,
|
|
@@ -77,6 +79,7 @@ __export(src_exports, {
|
|
|
77
79
|
CreateBillingGroupCommand: () => CreateBillingGroupCommand,
|
|
78
80
|
CreateCertificateFromCsrCommand: () => CreateCertificateFromCsrCommand,
|
|
79
81
|
CreateCertificateProviderCommand: () => CreateCertificateProviderCommand,
|
|
82
|
+
CreateCommandCommand: () => CreateCommandCommand,
|
|
80
83
|
CreateCustomMetricCommand: () => CreateCustomMetricCommand,
|
|
81
84
|
CreateDimensionCommand: () => CreateDimensionCommand,
|
|
82
85
|
CreateDomainConfigurationCommand: () => CreateDomainConfigurationCommand,
|
|
@@ -118,6 +121,8 @@ __export(src_exports, {
|
|
|
118
121
|
DeleteCACertificateCommand: () => DeleteCACertificateCommand,
|
|
119
122
|
DeleteCertificateCommand: () => DeleteCertificateCommand,
|
|
120
123
|
DeleteCertificateProviderCommand: () => DeleteCertificateProviderCommand,
|
|
124
|
+
DeleteCommandCommand: () => DeleteCommandCommand,
|
|
125
|
+
DeleteCommandExecutionCommand: () => DeleteCommandExecutionCommand,
|
|
121
126
|
DeleteConflictException: () => DeleteConflictException,
|
|
122
127
|
DeleteCustomMetricCommand: () => DeleteCustomMetricCommand,
|
|
123
128
|
DeleteDimensionCommand: () => DeleteDimensionCommand,
|
|
@@ -204,6 +209,8 @@ __export(src_exports, {
|
|
|
204
209
|
GetBehaviorModelTrainingSummariesCommand: () => GetBehaviorModelTrainingSummariesCommand,
|
|
205
210
|
GetBucketsAggregationCommand: () => GetBucketsAggregationCommand,
|
|
206
211
|
GetCardinalityCommand: () => GetCardinalityCommand,
|
|
212
|
+
GetCommandCommand: () => GetCommandCommand,
|
|
213
|
+
GetCommandExecutionCommand: () => GetCommandExecutionCommand,
|
|
207
214
|
GetEffectivePoliciesCommand: () => GetEffectivePoliciesCommand,
|
|
208
215
|
GetIndexingConfigurationCommand: () => GetIndexingConfigurationCommand,
|
|
209
216
|
GetJobDocumentCommand: () => GetJobDocumentCommand,
|
|
@@ -254,6 +261,8 @@ __export(src_exports, {
|
|
|
254
261
|
ListCertificateProvidersCommand: () => ListCertificateProvidersCommand,
|
|
255
262
|
ListCertificatesByCACommand: () => ListCertificatesByCACommand,
|
|
256
263
|
ListCertificatesCommand: () => ListCertificatesCommand,
|
|
264
|
+
ListCommandExecutionsCommand: () => ListCommandExecutionsCommand,
|
|
265
|
+
ListCommandsCommand: () => ListCommandsCommand,
|
|
257
266
|
ListCustomMetricsCommand: () => ListCustomMetricsCommand,
|
|
258
267
|
ListDetectMitigationActionsExecutionsCommand: () => ListDetectMitigationActionsExecutionsCommand,
|
|
259
268
|
ListDetectMitigationActionsTasksCommand: () => ListDetectMitigationActionsTasksCommand,
|
|
@@ -346,6 +355,7 @@ __export(src_exports, {
|
|
|
346
355
|
SetLoggingOptionsCommand: () => SetLoggingOptionsCommand,
|
|
347
356
|
SetV2LoggingLevelCommand: () => SetV2LoggingLevelCommand,
|
|
348
357
|
SetV2LoggingOptionsCommand: () => SetV2LoggingOptionsCommand,
|
|
358
|
+
SortOrder: () => SortOrder,
|
|
349
359
|
SqlParseException: () => SqlParseException,
|
|
350
360
|
StartAuditMitigationActionsTaskCommand: () => StartAuditMitigationActionsTaskCommand,
|
|
351
361
|
StartDetectMitigationActionsTaskCommand: () => StartDetectMitigationActionsTaskCommand,
|
|
@@ -378,6 +388,7 @@ __export(src_exports, {
|
|
|
378
388
|
UpdateCACertificateCommand: () => UpdateCACertificateCommand,
|
|
379
389
|
UpdateCertificateCommand: () => UpdateCertificateCommand,
|
|
380
390
|
UpdateCertificateProviderCommand: () => UpdateCertificateProviderCommand,
|
|
391
|
+
UpdateCommandCommand: () => UpdateCommandCommand,
|
|
381
392
|
UpdateCustomMetricCommand: () => UpdateCustomMetricCommand,
|
|
382
393
|
UpdateDimensionCommand: () => UpdateDimensionCommand,
|
|
383
394
|
UpdateDomainConfigurationCommand: () => UpdateDomainConfigurationCommand,
|
|
@@ -422,6 +433,8 @@ __export(src_exports, {
|
|
|
422
433
|
paginateListCACertificates: () => paginateListCACertificates,
|
|
423
434
|
paginateListCertificates: () => paginateListCertificates,
|
|
424
435
|
paginateListCertificatesByCA: () => paginateListCertificatesByCA,
|
|
436
|
+
paginateListCommandExecutions: () => paginateListCommandExecutions,
|
|
437
|
+
paginateListCommands: () => paginateListCommands,
|
|
425
438
|
paginateListCustomMetrics: () => paginateListCustomMetrics,
|
|
426
439
|
paginateListDetectMitigationActionsExecutions: () => paginateListDetectMitigationActionsExecutions,
|
|
427
440
|
paginateListDetectMitigationActionsTasks: () => paginateListDetectMitigationActionsTasks,
|
|
@@ -1112,6 +1125,10 @@ var ResourceAlreadyExistsException = _ResourceAlreadyExistsException;
|
|
|
1112
1125
|
var CertificateProviderOperation = {
|
|
1113
1126
|
CreateCertificateFromCsr: "CreateCertificateFromCsr"
|
|
1114
1127
|
};
|
|
1128
|
+
var CommandNamespace = {
|
|
1129
|
+
AWSIoT: "AWS-IoT",
|
|
1130
|
+
AWSIoTFleetWise: "AWS-IoT-FleetWise"
|
|
1131
|
+
};
|
|
1115
1132
|
var CustomMetricType = {
|
|
1116
1133
|
IP_ADDRESS_LIST: "ip-address-list",
|
|
1117
1134
|
NUMBER: "number",
|
|
@@ -1520,6 +1537,14 @@ var ModelStatus = {
|
|
|
1520
1537
|
EXPIRED: "EXPIRED",
|
|
1521
1538
|
PENDING_BUILD: "PENDING_BUILD"
|
|
1522
1539
|
};
|
|
1540
|
+
var CommandExecutionStatus = {
|
|
1541
|
+
CREATED: "CREATED",
|
|
1542
|
+
FAILED: "FAILED",
|
|
1543
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1544
|
+
REJECTED: "REJECTED",
|
|
1545
|
+
SUCCEEDED: "SUCCEEDED",
|
|
1546
|
+
TIMED_OUT: "TIMED_OUT"
|
|
1547
|
+
};
|
|
1523
1548
|
var FieldType = {
|
|
1524
1549
|
BOOLEAN: "Boolean",
|
|
1525
1550
|
NUMBER: "Number",
|
|
@@ -1572,6 +1597,10 @@ var BehaviorCriteriaType = {
|
|
|
1572
1597
|
STATIC: "STATIC",
|
|
1573
1598
|
STATISTICAL: "STATISTICAL"
|
|
1574
1599
|
};
|
|
1600
|
+
var SortOrder = {
|
|
1601
|
+
Ascending: "ASCENDING",
|
|
1602
|
+
Descending: "DESCENDING"
|
|
1603
|
+
};
|
|
1575
1604
|
var DetectMitigationActionExecutionStatus = {
|
|
1576
1605
|
FAILED: "FAILED",
|
|
1577
1606
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -2058,6 +2087,28 @@ var se_CreateCertificateProviderCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
2058
2087
|
b.m("POST").h(headers).b(body);
|
|
2059
2088
|
return b.build();
|
|
2060
2089
|
}, "se_CreateCertificateProviderCommand");
|
|
2090
|
+
var se_CreateCommandCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2091
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2092
|
+
const headers = {
|
|
2093
|
+
"content-type": "application/json"
|
|
2094
|
+
};
|
|
2095
|
+
b.bp("/commands/{commandId}");
|
|
2096
|
+
b.p("commandId", () => input.commandId, "{commandId}", false);
|
|
2097
|
+
let body;
|
|
2098
|
+
body = JSON.stringify(
|
|
2099
|
+
(0, import_smithy_client.take)(input, {
|
|
2100
|
+
description: [],
|
|
2101
|
+
displayName: [],
|
|
2102
|
+
mandatoryParameters: (_) => se_CommandParameterList(_, context),
|
|
2103
|
+
namespace: [],
|
|
2104
|
+
payload: (_) => se_CommandPayload(_, context),
|
|
2105
|
+
roleArn: [],
|
|
2106
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
2107
|
+
})
|
|
2108
|
+
);
|
|
2109
|
+
b.m("PUT").h(headers).b(body);
|
|
2110
|
+
return b.build();
|
|
2111
|
+
}, "se_CreateCommandCommand");
|
|
2061
2112
|
var se_CreateCustomMetricCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2062
2113
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2063
2114
|
const headers = {
|
|
@@ -2654,6 +2705,27 @@ var se_DeleteCertificateProviderCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
2654
2705
|
b.m("DELETE").h(headers).b(body);
|
|
2655
2706
|
return b.build();
|
|
2656
2707
|
}, "se_DeleteCertificateProviderCommand");
|
|
2708
|
+
var se_DeleteCommandCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2709
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2710
|
+
const headers = {};
|
|
2711
|
+
b.bp("/commands/{commandId}");
|
|
2712
|
+
b.p("commandId", () => input.commandId, "{commandId}", false);
|
|
2713
|
+
let body;
|
|
2714
|
+
b.m("DELETE").h(headers).b(body);
|
|
2715
|
+
return b.build();
|
|
2716
|
+
}, "se_DeleteCommandCommand");
|
|
2717
|
+
var se_DeleteCommandExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2718
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2719
|
+
const headers = {};
|
|
2720
|
+
b.bp("/command-executions/{executionId}");
|
|
2721
|
+
b.p("executionId", () => input.executionId, "{executionId}", false);
|
|
2722
|
+
const query = (0, import_smithy_client.map)({
|
|
2723
|
+
[_tA]: [, (0, import_smithy_client.expectNonNull)(input[_tA], `targetArn`)]
|
|
2724
|
+
});
|
|
2725
|
+
let body;
|
|
2726
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
2727
|
+
return b.build();
|
|
2728
|
+
}, "se_DeleteCommandExecutionCommand");
|
|
2657
2729
|
var se_DeleteCustomMetricCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2658
2730
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2659
2731
|
const headers = {};
|
|
@@ -3407,6 +3479,28 @@ var se_GetCardinalityCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
3407
3479
|
b.m("POST").h(headers).b(body);
|
|
3408
3480
|
return b.build();
|
|
3409
3481
|
}, "se_GetCardinalityCommand");
|
|
3482
|
+
var se_GetCommandCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3483
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
3484
|
+
const headers = {};
|
|
3485
|
+
b.bp("/commands/{commandId}");
|
|
3486
|
+
b.p("commandId", () => input.commandId, "{commandId}", false);
|
|
3487
|
+
let body;
|
|
3488
|
+
b.m("GET").h(headers).b(body);
|
|
3489
|
+
return b.build();
|
|
3490
|
+
}, "se_GetCommandCommand");
|
|
3491
|
+
var se_GetCommandExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3492
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
3493
|
+
const headers = {};
|
|
3494
|
+
b.bp("/command-executions/{executionId}");
|
|
3495
|
+
b.p("executionId", () => input.executionId, "{executionId}", false);
|
|
3496
|
+
const query = (0, import_smithy_client.map)({
|
|
3497
|
+
[_tA]: [, (0, import_smithy_client.expectNonNull)(input[_tA], `targetArn`)],
|
|
3498
|
+
[_iR]: [() => input.includeResult !== void 0, () => input[_iR].toString()]
|
|
3499
|
+
});
|
|
3500
|
+
let body;
|
|
3501
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
3502
|
+
return b.build();
|
|
3503
|
+
}, "se_GetCommandExecutionCommand");
|
|
3410
3504
|
var se_GetEffectivePoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3411
3505
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
3412
3506
|
const headers = {
|
|
@@ -3780,6 +3874,46 @@ var se_ListCertificatesByCACommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
3780
3874
|
b.m("GET").h(headers).q(query).b(body);
|
|
3781
3875
|
return b.build();
|
|
3782
3876
|
}, "se_ListCertificatesByCACommand");
|
|
3877
|
+
var se_ListCommandExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3878
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
3879
|
+
const headers = {
|
|
3880
|
+
"content-type": "application/json"
|
|
3881
|
+
};
|
|
3882
|
+
b.bp("/command-executions");
|
|
3883
|
+
const query = (0, import_smithy_client.map)({
|
|
3884
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
3885
|
+
[_nT]: [, input[_nT]]
|
|
3886
|
+
});
|
|
3887
|
+
let body;
|
|
3888
|
+
body = JSON.stringify(
|
|
3889
|
+
(0, import_smithy_client.take)(input, {
|
|
3890
|
+
commandArn: [],
|
|
3891
|
+
completedTimeFilter: (_) => (0, import_smithy_client._json)(_),
|
|
3892
|
+
namespace: [],
|
|
3893
|
+
sortOrder: [],
|
|
3894
|
+
startedTimeFilter: (_) => (0, import_smithy_client._json)(_),
|
|
3895
|
+
status: [],
|
|
3896
|
+
targetArn: []
|
|
3897
|
+
})
|
|
3898
|
+
);
|
|
3899
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
3900
|
+
return b.build();
|
|
3901
|
+
}, "se_ListCommandExecutionsCommand");
|
|
3902
|
+
var se_ListCommandsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3903
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
3904
|
+
const headers = {};
|
|
3905
|
+
b.bp("/commands");
|
|
3906
|
+
const query = (0, import_smithy_client.map)({
|
|
3907
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
3908
|
+
[_nT]: [, input[_nT]],
|
|
3909
|
+
[_n]: [, input[_n]],
|
|
3910
|
+
[_cPN]: [, input[_cPN]],
|
|
3911
|
+
[_sO]: [, input[_sO]]
|
|
3912
|
+
});
|
|
3913
|
+
let body;
|
|
3914
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
3915
|
+
return b.build();
|
|
3916
|
+
}, "se_ListCommandsCommand");
|
|
3783
3917
|
var se_ListCustomMetricsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3784
3918
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
3785
3919
|
const headers = {};
|
|
@@ -5014,6 +5148,24 @@ var se_UpdateCertificateProviderCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
5014
5148
|
b.m("PUT").h(headers).b(body);
|
|
5015
5149
|
return b.build();
|
|
5016
5150
|
}, "se_UpdateCertificateProviderCommand");
|
|
5151
|
+
var se_UpdateCommandCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
5152
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
5153
|
+
const headers = {
|
|
5154
|
+
"content-type": "application/json"
|
|
5155
|
+
};
|
|
5156
|
+
b.bp("/commands/{commandId}");
|
|
5157
|
+
b.p("commandId", () => input.commandId, "{commandId}", false);
|
|
5158
|
+
let body;
|
|
5159
|
+
body = JSON.stringify(
|
|
5160
|
+
(0, import_smithy_client.take)(input, {
|
|
5161
|
+
deprecated: [],
|
|
5162
|
+
description: [],
|
|
5163
|
+
displayName: []
|
|
5164
|
+
})
|
|
5165
|
+
);
|
|
5166
|
+
b.m("PATCH").h(headers).b(body);
|
|
5167
|
+
return b.build();
|
|
5168
|
+
}, "se_UpdateCommandCommand");
|
|
5017
5169
|
var se_UpdateCustomMetricCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
5018
5170
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
5019
5171
|
const headers = {
|
|
@@ -5713,6 +5865,21 @@ var de_CreateCertificateProviderCommand = /* @__PURE__ */ __name(async (output,
|
|
|
5713
5865
|
Object.assign(contents, doc);
|
|
5714
5866
|
return contents;
|
|
5715
5867
|
}, "de_CreateCertificateProviderCommand");
|
|
5868
|
+
var de_CreateCommandCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5869
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5870
|
+
return de_CommandError(output, context);
|
|
5871
|
+
}
|
|
5872
|
+
const contents = (0, import_smithy_client.map)({
|
|
5873
|
+
$metadata: deserializeMetadata(output)
|
|
5874
|
+
});
|
|
5875
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
5876
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
5877
|
+
commandArn: import_smithy_client.expectString,
|
|
5878
|
+
commandId: import_smithy_client.expectString
|
|
5879
|
+
});
|
|
5880
|
+
Object.assign(contents, doc);
|
|
5881
|
+
return contents;
|
|
5882
|
+
}, "de_CreateCommandCommand");
|
|
5716
5883
|
var de_CreateCustomMetricCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5717
5884
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5718
5885
|
return de_CommandError(output, context);
|
|
@@ -6196,6 +6363,29 @@ var de_DeleteCertificateProviderCommand = /* @__PURE__ */ __name(async (output,
|
|
|
6196
6363
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6197
6364
|
return contents;
|
|
6198
6365
|
}, "de_DeleteCertificateProviderCommand");
|
|
6366
|
+
var de_DeleteCommandCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6367
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6368
|
+
return de_CommandError(output, context);
|
|
6369
|
+
}
|
|
6370
|
+
const contents = (0, import_smithy_client.map)({
|
|
6371
|
+
$metadata: deserializeMetadata(output)
|
|
6372
|
+
});
|
|
6373
|
+
(0, import_smithy_client.map)(contents, {
|
|
6374
|
+
statusCode: [, output.statusCode]
|
|
6375
|
+
});
|
|
6376
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6377
|
+
return contents;
|
|
6378
|
+
}, "de_DeleteCommandCommand");
|
|
6379
|
+
var de_DeleteCommandExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6380
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6381
|
+
return de_CommandError(output, context);
|
|
6382
|
+
}
|
|
6383
|
+
const contents = (0, import_smithy_client.map)({
|
|
6384
|
+
$metadata: deserializeMetadata(output)
|
|
6385
|
+
});
|
|
6386
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
6387
|
+
return contents;
|
|
6388
|
+
}, "de_DeleteCommandExecutionCommand");
|
|
6199
6389
|
var de_DeleteCustomMetricCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
6200
6390
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6201
6391
|
return de_CommandError(output, context);
|
|
@@ -7218,6 +7408,57 @@ var de_GetCardinalityCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
7218
7408
|
Object.assign(contents, doc);
|
|
7219
7409
|
return contents;
|
|
7220
7410
|
}, "de_GetCardinalityCommand");
|
|
7411
|
+
var de_GetCommandCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7412
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7413
|
+
return de_CommandError(output, context);
|
|
7414
|
+
}
|
|
7415
|
+
const contents = (0, import_smithy_client.map)({
|
|
7416
|
+
$metadata: deserializeMetadata(output)
|
|
7417
|
+
});
|
|
7418
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
7419
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
7420
|
+
commandArn: import_smithy_client.expectString,
|
|
7421
|
+
commandId: import_smithy_client.expectString,
|
|
7422
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
7423
|
+
deprecated: import_smithy_client.expectBoolean,
|
|
7424
|
+
description: import_smithy_client.expectString,
|
|
7425
|
+
displayName: import_smithy_client.expectString,
|
|
7426
|
+
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
7427
|
+
mandatoryParameters: (_) => de_CommandParameterList(_, context),
|
|
7428
|
+
namespace: import_smithy_client.expectString,
|
|
7429
|
+
payload: (_) => de_CommandPayload(_, context),
|
|
7430
|
+
pendingDeletion: import_smithy_client.expectBoolean,
|
|
7431
|
+
roleArn: import_smithy_client.expectString
|
|
7432
|
+
});
|
|
7433
|
+
Object.assign(contents, doc);
|
|
7434
|
+
return contents;
|
|
7435
|
+
}, "de_GetCommandCommand");
|
|
7436
|
+
var de_GetCommandExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7437
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7438
|
+
return de_CommandError(output, context);
|
|
7439
|
+
}
|
|
7440
|
+
const contents = (0, import_smithy_client.map)({
|
|
7441
|
+
$metadata: deserializeMetadata(output)
|
|
7442
|
+
});
|
|
7443
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
7444
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
7445
|
+
commandArn: import_smithy_client.expectString,
|
|
7446
|
+
completedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
7447
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
7448
|
+
executionId: import_smithy_client.expectString,
|
|
7449
|
+
executionTimeoutSeconds: import_smithy_client.expectLong,
|
|
7450
|
+
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
7451
|
+
parameters: (_) => de_CommandExecutionParameterMap(_, context),
|
|
7452
|
+
result: (_) => de_CommandExecutionResultMap(_, context),
|
|
7453
|
+
startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
7454
|
+
status: import_smithy_client.expectString,
|
|
7455
|
+
statusReason: import_smithy_client._json,
|
|
7456
|
+
targetArn: import_smithy_client.expectString,
|
|
7457
|
+
timeToLive: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
7458
|
+
});
|
|
7459
|
+
Object.assign(contents, doc);
|
|
7460
|
+
return contents;
|
|
7461
|
+
}, "de_GetCommandExecutionCommand");
|
|
7221
7462
|
var de_GetEffectivePoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7222
7463
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7223
7464
|
return de_CommandError(output, context);
|
|
@@ -7672,6 +7913,36 @@ var de_ListCertificatesByCACommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
7672
7913
|
Object.assign(contents, doc);
|
|
7673
7914
|
return contents;
|
|
7674
7915
|
}, "de_ListCertificatesByCACommand");
|
|
7916
|
+
var de_ListCommandExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7917
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7918
|
+
return de_CommandError(output, context);
|
|
7919
|
+
}
|
|
7920
|
+
const contents = (0, import_smithy_client.map)({
|
|
7921
|
+
$metadata: deserializeMetadata(output)
|
|
7922
|
+
});
|
|
7923
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
7924
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
7925
|
+
commandExecutions: (_) => de_CommandExecutionSummaryList(_, context),
|
|
7926
|
+
nextToken: import_smithy_client.expectString
|
|
7927
|
+
});
|
|
7928
|
+
Object.assign(contents, doc);
|
|
7929
|
+
return contents;
|
|
7930
|
+
}, "de_ListCommandExecutionsCommand");
|
|
7931
|
+
var de_ListCommandsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7932
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7933
|
+
return de_CommandError(output, context);
|
|
7934
|
+
}
|
|
7935
|
+
const contents = (0, import_smithy_client.map)({
|
|
7936
|
+
$metadata: deserializeMetadata(output)
|
|
7937
|
+
});
|
|
7938
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
7939
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
7940
|
+
commands: (_) => de_CommandSummaryList(_, context),
|
|
7941
|
+
nextToken: import_smithy_client.expectString
|
|
7942
|
+
});
|
|
7943
|
+
Object.assign(contents, doc);
|
|
7944
|
+
return contents;
|
|
7945
|
+
}, "de_ListCommandsCommand");
|
|
7675
7946
|
var de_ListCustomMetricsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
7676
7947
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7677
7948
|
return de_CommandError(output, context);
|
|
@@ -8819,6 +9090,24 @@ var de_UpdateCertificateProviderCommand = /* @__PURE__ */ __name(async (output,
|
|
|
8819
9090
|
Object.assign(contents, doc);
|
|
8820
9091
|
return contents;
|
|
8821
9092
|
}, "de_UpdateCertificateProviderCommand");
|
|
9093
|
+
var de_UpdateCommandCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
9094
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
9095
|
+
return de_CommandError(output, context);
|
|
9096
|
+
}
|
|
9097
|
+
const contents = (0, import_smithy_client.map)({
|
|
9098
|
+
$metadata: deserializeMetadata(output)
|
|
9099
|
+
});
|
|
9100
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
9101
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
9102
|
+
commandId: import_smithy_client.expectString,
|
|
9103
|
+
deprecated: import_smithy_client.expectBoolean,
|
|
9104
|
+
description: import_smithy_client.expectString,
|
|
9105
|
+
displayName: import_smithy_client.expectString,
|
|
9106
|
+
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
9107
|
+
});
|
|
9108
|
+
Object.assign(contents, doc);
|
|
9109
|
+
return contents;
|
|
9110
|
+
}, "de_UpdateCommandCommand");
|
|
8822
9111
|
var de_UpdateCustomMetricCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
8823
9112
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8824
9113
|
return de_CommandError(output, context);
|
|
@@ -9755,6 +10044,36 @@ var se_CodeSigningSignature = /* @__PURE__ */ __name((input, context) => {
|
|
|
9755
10044
|
inlineDocument: context.base64Encoder
|
|
9756
10045
|
});
|
|
9757
10046
|
}, "se_CodeSigningSignature");
|
|
10047
|
+
var se_CommandParameter = /* @__PURE__ */ __name((input, context) => {
|
|
10048
|
+
return (0, import_smithy_client.take)(input, {
|
|
10049
|
+
defaultValue: (_) => se_CommandParameterValue(_, context),
|
|
10050
|
+
description: [],
|
|
10051
|
+
name: [],
|
|
10052
|
+
value: (_) => se_CommandParameterValue(_, context)
|
|
10053
|
+
});
|
|
10054
|
+
}, "se_CommandParameter");
|
|
10055
|
+
var se_CommandParameterList = /* @__PURE__ */ __name((input, context) => {
|
|
10056
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
10057
|
+
return se_CommandParameter(entry, context);
|
|
10058
|
+
});
|
|
10059
|
+
}, "se_CommandParameterList");
|
|
10060
|
+
var se_CommandParameterValue = /* @__PURE__ */ __name((input, context) => {
|
|
10061
|
+
return (0, import_smithy_client.take)(input, {
|
|
10062
|
+
B: [],
|
|
10063
|
+
BIN: context.base64Encoder,
|
|
10064
|
+
D: import_smithy_client.serializeFloat,
|
|
10065
|
+
I: [],
|
|
10066
|
+
L: [],
|
|
10067
|
+
S: [],
|
|
10068
|
+
UL: []
|
|
10069
|
+
});
|
|
10070
|
+
}, "se_CommandParameterValue");
|
|
10071
|
+
var se_CommandPayload = /* @__PURE__ */ __name((input, context) => {
|
|
10072
|
+
return (0, import_smithy_client.take)(input, {
|
|
10073
|
+
content: context.base64Encoder,
|
|
10074
|
+
contentType: []
|
|
10075
|
+
});
|
|
10076
|
+
}, "se_CommandPayload");
|
|
9758
10077
|
var se_CustomCodeSigning = /* @__PURE__ */ __name((input, context) => {
|
|
9759
10078
|
return (0, import_smithy_client.take)(input, {
|
|
9760
10079
|
certificateChain: import_smithy_client._json,
|
|
@@ -10087,6 +10406,96 @@ var de_CodeSigningSignature = /* @__PURE__ */ __name((output, context) => {
|
|
|
10087
10406
|
inlineDocument: context.base64Decoder
|
|
10088
10407
|
});
|
|
10089
10408
|
}, "de_CodeSigningSignature");
|
|
10409
|
+
var de_CommandExecutionParameterMap = /* @__PURE__ */ __name((output, context) => {
|
|
10410
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
10411
|
+
if (value === null) {
|
|
10412
|
+
return acc;
|
|
10413
|
+
}
|
|
10414
|
+
acc[key] = de_CommandParameterValue(value, context);
|
|
10415
|
+
return acc;
|
|
10416
|
+
}, {});
|
|
10417
|
+
}, "de_CommandExecutionParameterMap");
|
|
10418
|
+
var de_CommandExecutionResult = /* @__PURE__ */ __name((output, context) => {
|
|
10419
|
+
return (0, import_smithy_client.take)(output, {
|
|
10420
|
+
B: import_smithy_client.expectBoolean,
|
|
10421
|
+
BIN: context.base64Decoder,
|
|
10422
|
+
S: import_smithy_client.expectString
|
|
10423
|
+
});
|
|
10424
|
+
}, "de_CommandExecutionResult");
|
|
10425
|
+
var de_CommandExecutionResultMap = /* @__PURE__ */ __name((output, context) => {
|
|
10426
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
10427
|
+
if (value === null) {
|
|
10428
|
+
return acc;
|
|
10429
|
+
}
|
|
10430
|
+
acc[key] = de_CommandExecutionResult(value, context);
|
|
10431
|
+
return acc;
|
|
10432
|
+
}, {});
|
|
10433
|
+
}, "de_CommandExecutionResultMap");
|
|
10434
|
+
var de_CommandExecutionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
10435
|
+
return (0, import_smithy_client.take)(output, {
|
|
10436
|
+
commandArn: import_smithy_client.expectString,
|
|
10437
|
+
completedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10438
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10439
|
+
executionId: import_smithy_client.expectString,
|
|
10440
|
+
startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10441
|
+
status: import_smithy_client.expectString,
|
|
10442
|
+
targetArn: import_smithy_client.expectString
|
|
10443
|
+
});
|
|
10444
|
+
}, "de_CommandExecutionSummary");
|
|
10445
|
+
var de_CommandExecutionSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
10446
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
10447
|
+
return de_CommandExecutionSummary(entry, context);
|
|
10448
|
+
});
|
|
10449
|
+
return retVal;
|
|
10450
|
+
}, "de_CommandExecutionSummaryList");
|
|
10451
|
+
var de_CommandParameter = /* @__PURE__ */ __name((output, context) => {
|
|
10452
|
+
return (0, import_smithy_client.take)(output, {
|
|
10453
|
+
defaultValue: (_) => de_CommandParameterValue(_, context),
|
|
10454
|
+
description: import_smithy_client.expectString,
|
|
10455
|
+
name: import_smithy_client.expectString,
|
|
10456
|
+
value: (_) => de_CommandParameterValue(_, context)
|
|
10457
|
+
});
|
|
10458
|
+
}, "de_CommandParameter");
|
|
10459
|
+
var de_CommandParameterList = /* @__PURE__ */ __name((output, context) => {
|
|
10460
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
10461
|
+
return de_CommandParameter(entry, context);
|
|
10462
|
+
});
|
|
10463
|
+
return retVal;
|
|
10464
|
+
}, "de_CommandParameterList");
|
|
10465
|
+
var de_CommandParameterValue = /* @__PURE__ */ __name((output, context) => {
|
|
10466
|
+
return (0, import_smithy_client.take)(output, {
|
|
10467
|
+
B: import_smithy_client.expectBoolean,
|
|
10468
|
+
BIN: context.base64Decoder,
|
|
10469
|
+
D: import_smithy_client.limitedParseDouble,
|
|
10470
|
+
I: import_smithy_client.expectInt32,
|
|
10471
|
+
L: import_smithy_client.expectLong,
|
|
10472
|
+
S: import_smithy_client.expectString,
|
|
10473
|
+
UL: import_smithy_client.expectString
|
|
10474
|
+
});
|
|
10475
|
+
}, "de_CommandParameterValue");
|
|
10476
|
+
var de_CommandPayload = /* @__PURE__ */ __name((output, context) => {
|
|
10477
|
+
return (0, import_smithy_client.take)(output, {
|
|
10478
|
+
content: context.base64Decoder,
|
|
10479
|
+
contentType: import_smithy_client.expectString
|
|
10480
|
+
});
|
|
10481
|
+
}, "de_CommandPayload");
|
|
10482
|
+
var de_CommandSummary = /* @__PURE__ */ __name((output, context) => {
|
|
10483
|
+
return (0, import_smithy_client.take)(output, {
|
|
10484
|
+
commandArn: import_smithy_client.expectString,
|
|
10485
|
+
commandId: import_smithy_client.expectString,
|
|
10486
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10487
|
+
deprecated: import_smithy_client.expectBoolean,
|
|
10488
|
+
displayName: import_smithy_client.expectString,
|
|
10489
|
+
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10490
|
+
pendingDeletion: import_smithy_client.expectBoolean
|
|
10491
|
+
});
|
|
10492
|
+
}, "de_CommandSummary");
|
|
10493
|
+
var de_CommandSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
10494
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
10495
|
+
return de_CommandSummary(entry, context);
|
|
10496
|
+
});
|
|
10497
|
+
return retVal;
|
|
10498
|
+
}, "de_CommandSummaryList");
|
|
10090
10499
|
var de_CustomCodeSigning = /* @__PURE__ */ __name((output, context) => {
|
|
10091
10500
|
return (0, import_smithy_client.take)(output, {
|
|
10092
10501
|
certificateChain: import_smithy_client._json,
|
|
@@ -10617,6 +11026,7 @@ var _aV = "attributeValue";
|
|
|
10617
11026
|
var _bCT = "behaviorCriteriaType";
|
|
10618
11027
|
var _bS = "beforeSubstitution";
|
|
10619
11028
|
var _cI = "clientId";
|
|
11029
|
+
var _cPN = "commandParameterName";
|
|
10620
11030
|
var _cT = "clientToken";
|
|
10621
11031
|
var _dN = "dimensionName";
|
|
10622
11032
|
var _dS = "deleteStream";
|
|
@@ -10631,11 +11041,13 @@ var _fD = "forceDelete";
|
|
|
10631
11041
|
var _fDAWSJ = "forceDeleteAWSJob";
|
|
10632
11042
|
var _fI = "findingId";
|
|
10633
11043
|
var _iAO = "isAscendingOrder";
|
|
11044
|
+
var _iR = "includeResult";
|
|
10634
11045
|
var _jI = "jobId";
|
|
10635
11046
|
var _lSA = "listSuppressedAlerts";
|
|
10636
11047
|
var _m = "marker";
|
|
10637
11048
|
var _mN = "metricName";
|
|
10638
11049
|
var _mR = "maxResults";
|
|
11050
|
+
var _n = "namespace";
|
|
10639
11051
|
var _nARS = "newAutoRegistrationStatus";
|
|
10640
11052
|
var _nI = "namespaceId";
|
|
10641
11053
|
var _nPF = "namePrefixFilter";
|
|
@@ -10653,11 +11065,13 @@ var _rT = "reportType";
|
|
|
10653
11065
|
var _s = "status";
|
|
10654
11066
|
var _sAA = "setAsActive";
|
|
10655
11067
|
var _sAD = "setAsDefault";
|
|
11068
|
+
var _sO = "sortOrder";
|
|
10656
11069
|
var _sPN = "securityProfileName";
|
|
10657
11070
|
var _sPTA = "securityProfileTargetArn";
|
|
10658
11071
|
var _sT = "startTime";
|
|
10659
11072
|
var _sTe = "serviceType";
|
|
10660
11073
|
var _t = "tags";
|
|
11074
|
+
var _tA = "targetArn";
|
|
10661
11075
|
var _tAA = "targetAwsAccount";
|
|
10662
11076
|
var _tGI = "thingGroupId";
|
|
10663
11077
|
var _tGN = "thingGroupName";
|
|
@@ -10987,6 +11401,20 @@ var _CreateCertificateProviderCommand = class _CreateCertificateProviderCommand
|
|
|
10987
11401
|
__name(_CreateCertificateProviderCommand, "CreateCertificateProviderCommand");
|
|
10988
11402
|
var CreateCertificateProviderCommand = _CreateCertificateProviderCommand;
|
|
10989
11403
|
|
|
11404
|
+
// src/commands/CreateCommandCommand.ts
|
|
11405
|
+
|
|
11406
|
+
|
|
11407
|
+
|
|
11408
|
+
var _CreateCommandCommand = class _CreateCommandCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
11409
|
+
return [
|
|
11410
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
11411
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
11412
|
+
];
|
|
11413
|
+
}).s("AWSIotService", "CreateCommand", {}).n("IoTClient", "CreateCommandCommand").f(void 0, void 0).ser(se_CreateCommandCommand).de(de_CreateCommandCommand).build() {
|
|
11414
|
+
};
|
|
11415
|
+
__name(_CreateCommandCommand, "CreateCommandCommand");
|
|
11416
|
+
var CreateCommandCommand = _CreateCommandCommand;
|
|
11417
|
+
|
|
10990
11418
|
// src/commands/CreateCustomMetricCommand.ts
|
|
10991
11419
|
|
|
10992
11420
|
|
|
@@ -11449,6 +11877,34 @@ var _DeleteCertificateProviderCommand = class _DeleteCertificateProviderCommand
|
|
|
11449
11877
|
__name(_DeleteCertificateProviderCommand, "DeleteCertificateProviderCommand");
|
|
11450
11878
|
var DeleteCertificateProviderCommand = _DeleteCertificateProviderCommand;
|
|
11451
11879
|
|
|
11880
|
+
// src/commands/DeleteCommandCommand.ts
|
|
11881
|
+
|
|
11882
|
+
|
|
11883
|
+
|
|
11884
|
+
var _DeleteCommandCommand = class _DeleteCommandCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
11885
|
+
return [
|
|
11886
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
11887
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
11888
|
+
];
|
|
11889
|
+
}).s("AWSIotService", "DeleteCommand", {}).n("IoTClient", "DeleteCommandCommand").f(void 0, void 0).ser(se_DeleteCommandCommand).de(de_DeleteCommandCommand).build() {
|
|
11890
|
+
};
|
|
11891
|
+
__name(_DeleteCommandCommand, "DeleteCommandCommand");
|
|
11892
|
+
var DeleteCommandCommand = _DeleteCommandCommand;
|
|
11893
|
+
|
|
11894
|
+
// src/commands/DeleteCommandExecutionCommand.ts
|
|
11895
|
+
|
|
11896
|
+
|
|
11897
|
+
|
|
11898
|
+
var _DeleteCommandExecutionCommand = class _DeleteCommandExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
11899
|
+
return [
|
|
11900
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
11901
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
11902
|
+
];
|
|
11903
|
+
}).s("AWSIotService", "DeleteCommandExecution", {}).n("IoTClient", "DeleteCommandExecutionCommand").f(void 0, void 0).ser(se_DeleteCommandExecutionCommand).de(de_DeleteCommandExecutionCommand).build() {
|
|
11904
|
+
};
|
|
11905
|
+
__name(_DeleteCommandExecutionCommand, "DeleteCommandExecutionCommand");
|
|
11906
|
+
var DeleteCommandExecutionCommand = _DeleteCommandExecutionCommand;
|
|
11907
|
+
|
|
11452
11908
|
// src/commands/DeleteCustomMetricCommand.ts
|
|
11453
11909
|
|
|
11454
11910
|
|
|
@@ -12457,6 +12913,34 @@ var _GetCardinalityCommand = class _GetCardinalityCommand extends import_smithy_
|
|
|
12457
12913
|
__name(_GetCardinalityCommand, "GetCardinalityCommand");
|
|
12458
12914
|
var GetCardinalityCommand = _GetCardinalityCommand;
|
|
12459
12915
|
|
|
12916
|
+
// src/commands/GetCommandCommand.ts
|
|
12917
|
+
|
|
12918
|
+
|
|
12919
|
+
|
|
12920
|
+
var _GetCommandCommand = class _GetCommandCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
12921
|
+
return [
|
|
12922
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12923
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
12924
|
+
];
|
|
12925
|
+
}).s("AWSIotService", "GetCommand", {}).n("IoTClient", "GetCommandCommand").f(void 0, void 0).ser(se_GetCommandCommand).de(de_GetCommandCommand).build() {
|
|
12926
|
+
};
|
|
12927
|
+
__name(_GetCommandCommand, "GetCommandCommand");
|
|
12928
|
+
var GetCommandCommand = _GetCommandCommand;
|
|
12929
|
+
|
|
12930
|
+
// src/commands/GetCommandExecutionCommand.ts
|
|
12931
|
+
|
|
12932
|
+
|
|
12933
|
+
|
|
12934
|
+
var _GetCommandExecutionCommand = class _GetCommandExecutionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
12935
|
+
return [
|
|
12936
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12937
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
12938
|
+
];
|
|
12939
|
+
}).s("AWSIotService", "GetCommandExecution", {}).n("IoTClient", "GetCommandExecutionCommand").f(void 0, void 0).ser(se_GetCommandExecutionCommand).de(de_GetCommandExecutionCommand).build() {
|
|
12940
|
+
};
|
|
12941
|
+
__name(_GetCommandExecutionCommand, "GetCommandExecutionCommand");
|
|
12942
|
+
var GetCommandExecutionCommand = _GetCommandExecutionCommand;
|
|
12943
|
+
|
|
12460
12944
|
// src/commands/GetEffectivePoliciesCommand.ts
|
|
12461
12945
|
|
|
12462
12946
|
|
|
@@ -12863,6 +13347,34 @@ var _ListCertificatesCommand = class _ListCertificatesCommand extends import_smi
|
|
|
12863
13347
|
__name(_ListCertificatesCommand, "ListCertificatesCommand");
|
|
12864
13348
|
var ListCertificatesCommand = _ListCertificatesCommand;
|
|
12865
13349
|
|
|
13350
|
+
// src/commands/ListCommandExecutionsCommand.ts
|
|
13351
|
+
|
|
13352
|
+
|
|
13353
|
+
|
|
13354
|
+
var _ListCommandExecutionsCommand = class _ListCommandExecutionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
13355
|
+
return [
|
|
13356
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
13357
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
13358
|
+
];
|
|
13359
|
+
}).s("AWSIotService", "ListCommandExecutions", {}).n("IoTClient", "ListCommandExecutionsCommand").f(void 0, void 0).ser(se_ListCommandExecutionsCommand).de(de_ListCommandExecutionsCommand).build() {
|
|
13360
|
+
};
|
|
13361
|
+
__name(_ListCommandExecutionsCommand, "ListCommandExecutionsCommand");
|
|
13362
|
+
var ListCommandExecutionsCommand = _ListCommandExecutionsCommand;
|
|
13363
|
+
|
|
13364
|
+
// src/commands/ListCommandsCommand.ts
|
|
13365
|
+
|
|
13366
|
+
|
|
13367
|
+
|
|
13368
|
+
var _ListCommandsCommand = class _ListCommandsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
13369
|
+
return [
|
|
13370
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
13371
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
13372
|
+
];
|
|
13373
|
+
}).s("AWSIotService", "ListCommands", {}).n("IoTClient", "ListCommandsCommand").f(void 0, void 0).ser(se_ListCommandsCommand).de(de_ListCommandsCommand).build() {
|
|
13374
|
+
};
|
|
13375
|
+
__name(_ListCommandsCommand, "ListCommandsCommand");
|
|
13376
|
+
var ListCommandsCommand = _ListCommandsCommand;
|
|
13377
|
+
|
|
12866
13378
|
// src/commands/ListCustomMetricsCommand.ts
|
|
12867
13379
|
|
|
12868
13380
|
|
|
@@ -14011,6 +14523,20 @@ var _UpdateCertificateProviderCommand = class _UpdateCertificateProviderCommand
|
|
|
14011
14523
|
__name(_UpdateCertificateProviderCommand, "UpdateCertificateProviderCommand");
|
|
14012
14524
|
var UpdateCertificateProviderCommand = _UpdateCertificateProviderCommand;
|
|
14013
14525
|
|
|
14526
|
+
// src/commands/UpdateCommandCommand.ts
|
|
14527
|
+
|
|
14528
|
+
|
|
14529
|
+
|
|
14530
|
+
var _UpdateCommandCommand = class _UpdateCommandCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
14531
|
+
return [
|
|
14532
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
14533
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
14534
|
+
];
|
|
14535
|
+
}).s("AWSIotService", "UpdateCommand", {}).n("IoTClient", "UpdateCommandCommand").f(void 0, void 0).ser(se_UpdateCommandCommand).de(de_UpdateCommandCommand).build() {
|
|
14536
|
+
};
|
|
14537
|
+
__name(_UpdateCommandCommand, "UpdateCommandCommand");
|
|
14538
|
+
var UpdateCommandCommand = _UpdateCommandCommand;
|
|
14539
|
+
|
|
14014
14540
|
// src/commands/UpdateCustomMetricCommand.ts
|
|
14015
14541
|
|
|
14016
14542
|
|
|
@@ -14357,6 +14883,7 @@ var commands = {
|
|
|
14357
14883
|
CreateBillingGroupCommand,
|
|
14358
14884
|
CreateCertificateFromCsrCommand,
|
|
14359
14885
|
CreateCertificateProviderCommand,
|
|
14886
|
+
CreateCommandCommand,
|
|
14360
14887
|
CreateCustomMetricCommand,
|
|
14361
14888
|
CreateDimensionCommand,
|
|
14362
14889
|
CreateDomainConfigurationCommand,
|
|
@@ -14390,6 +14917,8 @@ var commands = {
|
|
|
14390
14917
|
DeleteCACertificateCommand,
|
|
14391
14918
|
DeleteCertificateCommand,
|
|
14392
14919
|
DeleteCertificateProviderCommand,
|
|
14920
|
+
DeleteCommandCommand,
|
|
14921
|
+
DeleteCommandExecutionCommand,
|
|
14393
14922
|
DeleteCustomMetricCommand,
|
|
14394
14923
|
DeleteDimensionCommand,
|
|
14395
14924
|
DeleteDomainConfigurationCommand,
|
|
@@ -14462,6 +14991,8 @@ var commands = {
|
|
|
14462
14991
|
GetBehaviorModelTrainingSummariesCommand,
|
|
14463
14992
|
GetBucketsAggregationCommand,
|
|
14464
14993
|
GetCardinalityCommand,
|
|
14994
|
+
GetCommandCommand,
|
|
14995
|
+
GetCommandExecutionCommand,
|
|
14465
14996
|
GetEffectivePoliciesCommand,
|
|
14466
14997
|
GetIndexingConfigurationCommand,
|
|
14467
14998
|
GetJobDocumentCommand,
|
|
@@ -14491,6 +15022,8 @@ var commands = {
|
|
|
14491
15022
|
ListCertificateProvidersCommand,
|
|
14492
15023
|
ListCertificatesCommand,
|
|
14493
15024
|
ListCertificatesByCACommand,
|
|
15025
|
+
ListCommandExecutionsCommand,
|
|
15026
|
+
ListCommandsCommand,
|
|
14494
15027
|
ListCustomMetricsCommand,
|
|
14495
15028
|
ListDetectMitigationActionsExecutionsCommand,
|
|
14496
15029
|
ListDetectMitigationActionsTasksCommand,
|
|
@@ -14573,6 +15106,7 @@ var commands = {
|
|
|
14573
15106
|
UpdateCACertificateCommand,
|
|
14574
15107
|
UpdateCertificateCommand,
|
|
14575
15108
|
UpdateCertificateProviderCommand,
|
|
15109
|
+
UpdateCommandCommand,
|
|
14576
15110
|
UpdateCustomMetricCommand,
|
|
14577
15111
|
UpdateDimensionCommand,
|
|
14578
15112
|
UpdateDomainConfigurationCommand,
|
|
@@ -14655,6 +15189,14 @@ var paginateListCertificatesByCA = (0, import_core.createPaginator)(IoTClient, L
|
|
|
14655
15189
|
|
|
14656
15190
|
var paginateListCertificates = (0, import_core.createPaginator)(IoTClient, ListCertificatesCommand, "marker", "nextMarker", "pageSize");
|
|
14657
15191
|
|
|
15192
|
+
// src/pagination/ListCommandExecutionsPaginator.ts
|
|
15193
|
+
|
|
15194
|
+
var paginateListCommandExecutions = (0, import_core.createPaginator)(IoTClient, ListCommandExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
15195
|
+
|
|
15196
|
+
// src/pagination/ListCommandsPaginator.ts
|
|
15197
|
+
|
|
15198
|
+
var paginateListCommands = (0, import_core.createPaginator)(IoTClient, ListCommandsCommand, "nextToken", "nextToken", "maxResults");
|
|
15199
|
+
|
|
14658
15200
|
// src/pagination/ListCustomMetricsPaginator.ts
|
|
14659
15201
|
|
|
14660
15202
|
var paginateListCustomMetrics = (0, import_core.createPaginator)(IoTClient, ListCustomMetricsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -14880,6 +15422,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
14880
15422
|
CreateBillingGroupCommand,
|
|
14881
15423
|
CreateCertificateFromCsrCommand,
|
|
14882
15424
|
CreateCertificateProviderCommand,
|
|
15425
|
+
CreateCommandCommand,
|
|
14883
15426
|
CreateCustomMetricCommand,
|
|
14884
15427
|
CreateDimensionCommand,
|
|
14885
15428
|
CreateDomainConfigurationCommand,
|
|
@@ -14913,6 +15456,8 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
14913
15456
|
DeleteCACertificateCommand,
|
|
14914
15457
|
DeleteCertificateCommand,
|
|
14915
15458
|
DeleteCertificateProviderCommand,
|
|
15459
|
+
DeleteCommandCommand,
|
|
15460
|
+
DeleteCommandExecutionCommand,
|
|
14916
15461
|
DeleteCustomMetricCommand,
|
|
14917
15462
|
DeleteDimensionCommand,
|
|
14918
15463
|
DeleteDomainConfigurationCommand,
|
|
@@ -14985,6 +15530,8 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
14985
15530
|
GetBehaviorModelTrainingSummariesCommand,
|
|
14986
15531
|
GetBucketsAggregationCommand,
|
|
14987
15532
|
GetCardinalityCommand,
|
|
15533
|
+
GetCommandCommand,
|
|
15534
|
+
GetCommandExecutionCommand,
|
|
14988
15535
|
GetEffectivePoliciesCommand,
|
|
14989
15536
|
GetIndexingConfigurationCommand,
|
|
14990
15537
|
GetJobDocumentCommand,
|
|
@@ -15014,6 +15561,8 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15014
15561
|
ListCertificateProvidersCommand,
|
|
15015
15562
|
ListCertificatesByCACommand,
|
|
15016
15563
|
ListCertificatesCommand,
|
|
15564
|
+
ListCommandExecutionsCommand,
|
|
15565
|
+
ListCommandsCommand,
|
|
15017
15566
|
ListCustomMetricsCommand,
|
|
15018
15567
|
ListDetectMitigationActionsExecutionsCommand,
|
|
15019
15568
|
ListDetectMitigationActionsTasksCommand,
|
|
@@ -15096,6 +15645,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15096
15645
|
UpdateCACertificateCommand,
|
|
15097
15646
|
UpdateCertificateCommand,
|
|
15098
15647
|
UpdateCertificateProviderCommand,
|
|
15648
|
+
UpdateCommandCommand,
|
|
15099
15649
|
UpdateCustomMetricCommand,
|
|
15100
15650
|
UpdateDimensionCommand,
|
|
15101
15651
|
UpdateDomainConfigurationCommand,
|
|
@@ -15132,6 +15682,8 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15132
15682
|
paginateListCACertificates,
|
|
15133
15683
|
paginateListCertificatesByCA,
|
|
15134
15684
|
paginateListCertificates,
|
|
15685
|
+
paginateListCommandExecutions,
|
|
15686
|
+
paginateListCommands,
|
|
15135
15687
|
paginateListCustomMetrics,
|
|
15136
15688
|
paginateListDetectMitigationActionsExecutions,
|
|
15137
15689
|
paginateListDetectMitigationActionsTasks,
|
|
@@ -15228,6 +15780,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15228
15780
|
InternalException,
|
|
15229
15781
|
ResourceAlreadyExistsException,
|
|
15230
15782
|
CertificateProviderOperation,
|
|
15783
|
+
CommandNamespace,
|
|
15231
15784
|
CustomMetricType,
|
|
15232
15785
|
DimensionType,
|
|
15233
15786
|
CertificateValidationException,
|
|
@@ -15279,6 +15832,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15279
15832
|
DynamicGroupStatus,
|
|
15280
15833
|
Status,
|
|
15281
15834
|
ModelStatus,
|
|
15835
|
+
CommandExecutionStatus,
|
|
15282
15836
|
FieldType,
|
|
15283
15837
|
ThingGroupIndexingMode,
|
|
15284
15838
|
DeviceDefenderIndexingMode,
|
|
@@ -15288,6 +15842,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15288
15842
|
ThingIndexingMode,
|
|
15289
15843
|
NotConfiguredException,
|
|
15290
15844
|
BehaviorCriteriaType,
|
|
15845
|
+
SortOrder,
|
|
15291
15846
|
DetectMitigationActionExecutionStatus,
|
|
15292
15847
|
GetPackageResponseFilterSensitiveLog,
|
|
15293
15848
|
GetPackageVersionResponseFilterSensitiveLog,
|