@aws-sdk/client-iot 3.662.0 → 3.665.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/dist-cjs/index.js +44 -18
- package/dist-cjs/runtimeConfig.js +1 -0
- package/dist-es/models/models_0.js +13 -12
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +11 -2
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/commands/AssociateSbomWithPackageVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateBillingGroupCommand.d.ts +3 -1
- package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +5 -0
- package/dist-types/commands/CreateRoleAliasCommand.d.ts +8 -0
- package/dist-types/commands/CreateThingTypeCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +5 -0
- package/dist-types/commands/DisassociateSbomFromPackageVersionCommand.d.ts +1 -1
- package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +2 -1
- package/dist-types/commands/ListMetricValuesCommand.d.ts +1 -2
- package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +5 -0
- package/dist-types/commands/UpdateRoleAliasCommand.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +119 -42
- package/dist-types/models/models_1.d.ts +110 -78
- package/dist-types/models/models_2.d.ts +153 -4
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteBillingGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListMetricValuesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +23 -12
- package/dist-types/ts3.4/models/models_1.d.ts +18 -20
- package/dist-types/ts3.4/models/models_2.d.ts +26 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -28,6 +28,7 @@ __export(src_exports, {
|
|
|
28
28
|
AddThingToThingGroupCommand: () => AddThingToThingGroupCommand,
|
|
29
29
|
AggregationTypeName: () => AggregationTypeName,
|
|
30
30
|
AlertTargetType: () => AlertTargetType,
|
|
31
|
+
ApplicationProtocol: () => ApplicationProtocol,
|
|
31
32
|
AssetPropertyVariant: () => AssetPropertyVariant,
|
|
32
33
|
AssociateSbomWithPackageVersionCommand: () => AssociateSbomWithPackageVersionCommand,
|
|
33
34
|
AssociateTargetsWithJobCommand: () => AssociateTargetsWithJobCommand,
|
|
@@ -44,6 +45,7 @@ __export(src_exports, {
|
|
|
44
45
|
AuditTaskStatus: () => AuditTaskStatus,
|
|
45
46
|
AuditTaskType: () => AuditTaskType,
|
|
46
47
|
AuthDecision: () => AuthDecision,
|
|
48
|
+
AuthenticationType: () => AuthenticationType,
|
|
47
49
|
AuthorizerStatus: () => AuthorizerStatus,
|
|
48
50
|
AutoRegistrationStatus: () => AutoRegistrationStatus,
|
|
49
51
|
AwsJobAbortCriteriaAbortAction: () => AwsJobAbortCriteriaAbortAction,
|
|
@@ -835,6 +837,12 @@ var AggregationTypeName = {
|
|
|
835
837
|
var AlertTargetType = {
|
|
836
838
|
SNS: "SNS"
|
|
837
839
|
};
|
|
840
|
+
var ApplicationProtocol = {
|
|
841
|
+
DEFAULT: "DEFAULT",
|
|
842
|
+
HTTPS: "HTTPS",
|
|
843
|
+
MQTT_WSS: "MQTT_WSS",
|
|
844
|
+
SECURE_MQTT: "SECURE_MQTT"
|
|
845
|
+
};
|
|
838
846
|
var SbomValidationStatus = {
|
|
839
847
|
FAILED: "FAILED",
|
|
840
848
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -1006,6 +1014,13 @@ var AuthDecision = {
|
|
|
1006
1014
|
EXPLICIT_DENY: "EXPLICIT_DENY",
|
|
1007
1015
|
IMPLICIT_DENY: "IMPLICIT_DENY"
|
|
1008
1016
|
};
|
|
1017
|
+
var AuthenticationType = {
|
|
1018
|
+
AWS_SIGV4: "AWS_SIGV4",
|
|
1019
|
+
AWS_X509: "AWS_X509",
|
|
1020
|
+
CUSTOM_AUTH: "CUSTOM_AUTH",
|
|
1021
|
+
CUSTOM_AUTH_X509: "CUSTOM_AUTH_X509",
|
|
1022
|
+
DEFAULT: "DEFAULT"
|
|
1023
|
+
};
|
|
1009
1024
|
var AuthorizerStatus = {
|
|
1010
1025
|
ACTIVE: "ACTIVE",
|
|
1011
1026
|
INACTIVE: "INACTIVE"
|
|
@@ -1342,23 +1357,6 @@ var _DeleteConflictException = class _DeleteConflictException extends IoTService
|
|
|
1342
1357
|
};
|
|
1343
1358
|
__name(_DeleteConflictException, "DeleteConflictException");
|
|
1344
1359
|
var DeleteConflictException = _DeleteConflictException;
|
|
1345
|
-
var _CertificateStateException = class _CertificateStateException extends IoTServiceException {
|
|
1346
|
-
/**
|
|
1347
|
-
* @internal
|
|
1348
|
-
*/
|
|
1349
|
-
constructor(opts) {
|
|
1350
|
-
super({
|
|
1351
|
-
name: "CertificateStateException",
|
|
1352
|
-
$fault: "client",
|
|
1353
|
-
...opts
|
|
1354
|
-
});
|
|
1355
|
-
this.name = "CertificateStateException";
|
|
1356
|
-
this.$fault = "client";
|
|
1357
|
-
Object.setPrototypeOf(this, _CertificateStateException.prototype);
|
|
1358
|
-
}
|
|
1359
|
-
};
|
|
1360
|
-
__name(_CertificateStateException, "CertificateStateException");
|
|
1361
|
-
var CertificateStateException = _CertificateStateException;
|
|
1362
1360
|
var KeyPairFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1363
1361
|
...obj,
|
|
1364
1362
|
...obj.PrivateKey && { PrivateKey: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1393,6 +1391,23 @@ var CreateProvisioningClaimResponseFilterSensitiveLog = /* @__PURE__ */ __name((
|
|
|
1393
1391
|
|
|
1394
1392
|
// src/models/models_1.ts
|
|
1395
1393
|
|
|
1394
|
+
var _CertificateStateException = class _CertificateStateException extends IoTServiceException {
|
|
1395
|
+
/**
|
|
1396
|
+
* @internal
|
|
1397
|
+
*/
|
|
1398
|
+
constructor(opts) {
|
|
1399
|
+
super({
|
|
1400
|
+
name: "CertificateStateException",
|
|
1401
|
+
$fault: "client",
|
|
1402
|
+
...opts
|
|
1403
|
+
});
|
|
1404
|
+
this.name = "CertificateStateException";
|
|
1405
|
+
this.$fault = "client";
|
|
1406
|
+
Object.setPrototypeOf(this, _CertificateStateException.prototype);
|
|
1407
|
+
}
|
|
1408
|
+
};
|
|
1409
|
+
__name(_CertificateStateException, "CertificateStateException");
|
|
1410
|
+
var CertificateStateException = _CertificateStateException;
|
|
1396
1411
|
var LogTargetType = {
|
|
1397
1412
|
CLIENT_ID: "CLIENT_ID",
|
|
1398
1413
|
DEFAULT: "DEFAULT",
|
|
@@ -2078,7 +2093,10 @@ var se_CreateDomainConfigurationCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
2078
2093
|
let body;
|
|
2079
2094
|
body = JSON.stringify(
|
|
2080
2095
|
(0, import_smithy_client.take)(input, {
|
|
2096
|
+
applicationProtocol: [],
|
|
2097
|
+
authenticationType: [],
|
|
2081
2098
|
authorizerConfig: (_) => (0, import_smithy_client._json)(_),
|
|
2099
|
+
clientCertificateConfig: (_) => (0, import_smithy_client._json)(_),
|
|
2082
2100
|
domainName: [],
|
|
2083
2101
|
serverCertificateArns: (_) => (0, import_smithy_client._json)(_),
|
|
2084
2102
|
serverCertificateConfig: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -4996,7 +5014,10 @@ var se_UpdateDomainConfigurationCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
4996
5014
|
let body;
|
|
4997
5015
|
body = JSON.stringify(
|
|
4998
5016
|
(0, import_smithy_client.take)(input, {
|
|
5017
|
+
applicationProtocol: [],
|
|
5018
|
+
authenticationType: [],
|
|
4999
5019
|
authorizerConfig: (_) => (0, import_smithy_client._json)(_),
|
|
5020
|
+
clientCertificateConfig: (_) => (0, import_smithy_client._json)(_),
|
|
5000
5021
|
domainConfigurationStatus: [],
|
|
5001
5022
|
removeAuthorizerConfig: [],
|
|
5002
5023
|
serverCertificateConfig: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -6640,7 +6661,10 @@ var de_DescribeDomainConfigurationCommand = /* @__PURE__ */ __name(async (output
|
|
|
6640
6661
|
});
|
|
6641
6662
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
6642
6663
|
const doc = (0, import_smithy_client.take)(data, {
|
|
6664
|
+
applicationProtocol: import_smithy_client.expectString,
|
|
6665
|
+
authenticationType: import_smithy_client.expectString,
|
|
6643
6666
|
authorizerConfig: import_smithy_client._json,
|
|
6667
|
+
clientCertificateConfig: import_smithy_client._json,
|
|
6644
6668
|
domainConfigurationArn: import_smithy_client.expectString,
|
|
6645
6669
|
domainConfigurationName: import_smithy_client.expectString,
|
|
6646
6670
|
domainConfigurationStatus: import_smithy_client.expectString,
|
|
@@ -15020,6 +15044,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15020
15044
|
VerificationState,
|
|
15021
15045
|
AggregationTypeName,
|
|
15022
15046
|
AlertTargetType,
|
|
15047
|
+
ApplicationProtocol,
|
|
15023
15048
|
SbomValidationStatus,
|
|
15024
15049
|
ConflictException,
|
|
15025
15050
|
InternalServerException,
|
|
@@ -15037,6 +15062,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15037
15062
|
AuditTaskStatus,
|
|
15038
15063
|
AuditTaskType,
|
|
15039
15064
|
AuthDecision,
|
|
15065
|
+
AuthenticationType,
|
|
15040
15066
|
AuthorizerStatus,
|
|
15041
15067
|
AutoRegistrationStatus,
|
|
15042
15068
|
InvalidStateTransitionException,
|
|
@@ -15071,7 +15097,6 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15071
15097
|
SqlParseException,
|
|
15072
15098
|
TopicRuleDestinationStatus,
|
|
15073
15099
|
DeleteConflictException,
|
|
15074
|
-
CertificateStateException,
|
|
15075
15100
|
KeyPairFilterSensitiveLog,
|
|
15076
15101
|
CreateKeysAndCertificateResponseFilterSensitiveLog,
|
|
15077
15102
|
CreatePackageRequestFilterSensitiveLog,
|
|
@@ -15079,6 +15104,7 @@ var paginateListViolationEvents = (0, import_core.createPaginator)(IoTClient, Li
|
|
|
15079
15104
|
CreatePackageVersionRequestFilterSensitiveLog,
|
|
15080
15105
|
CreatePackageVersionResponseFilterSensitiveLog,
|
|
15081
15106
|
CreateProvisioningClaimResponseFilterSensitiveLog,
|
|
15107
|
+
CertificateStateException,
|
|
15082
15108
|
LogTargetType,
|
|
15083
15109
|
CertificateMode,
|
|
15084
15110
|
CACertificateStatus,
|
|
@@ -44,6 +44,7 @@ const getRuntimeConfig = (config) => {
|
|
|
44
44
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
45
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
|
47
48
|
};
|
|
48
49
|
};
|
|
49
50
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -166,6 +166,12 @@ export const AggregationTypeName = {
|
|
|
166
166
|
export const AlertTargetType = {
|
|
167
167
|
SNS: "SNS",
|
|
168
168
|
};
|
|
169
|
+
export const ApplicationProtocol = {
|
|
170
|
+
DEFAULT: "DEFAULT",
|
|
171
|
+
HTTPS: "HTTPS",
|
|
172
|
+
MQTT_WSS: "MQTT_WSS",
|
|
173
|
+
SECURE_MQTT: "SECURE_MQTT",
|
|
174
|
+
};
|
|
169
175
|
export const SbomValidationStatus = {
|
|
170
176
|
FAILED: "FAILED",
|
|
171
177
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -307,6 +313,13 @@ export const AuthDecision = {
|
|
|
307
313
|
EXPLICIT_DENY: "EXPLICIT_DENY",
|
|
308
314
|
IMPLICIT_DENY: "IMPLICIT_DENY",
|
|
309
315
|
};
|
|
316
|
+
export const AuthenticationType = {
|
|
317
|
+
AWS_SIGV4: "AWS_SIGV4",
|
|
318
|
+
AWS_X509: "AWS_X509",
|
|
319
|
+
CUSTOM_AUTH: "CUSTOM_AUTH",
|
|
320
|
+
CUSTOM_AUTH_X509: "CUSTOM_AUTH_X509",
|
|
321
|
+
DEFAULT: "DEFAULT",
|
|
322
|
+
};
|
|
310
323
|
export const AuthorizerStatus = {
|
|
311
324
|
ACTIVE: "ACTIVE",
|
|
312
325
|
INACTIVE: "INACTIVE",
|
|
@@ -583,18 +596,6 @@ export class DeleteConflictException extends __BaseException {
|
|
|
583
596
|
Object.setPrototypeOf(this, DeleteConflictException.prototype);
|
|
584
597
|
}
|
|
585
598
|
}
|
|
586
|
-
export class CertificateStateException extends __BaseException {
|
|
587
|
-
constructor(opts) {
|
|
588
|
-
super({
|
|
589
|
-
name: "CertificateStateException",
|
|
590
|
-
$fault: "client",
|
|
591
|
-
...opts,
|
|
592
|
-
});
|
|
593
|
-
this.name = "CertificateStateException";
|
|
594
|
-
this.$fault = "client";
|
|
595
|
-
Object.setPrototypeOf(this, CertificateStateException.prototype);
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
599
|
export const KeyPairFilterSensitiveLog = (obj) => ({
|
|
599
600
|
...obj,
|
|
600
601
|
...(obj.PrivateKey && { PrivateKey: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
|
+
export class CertificateStateException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "CertificateStateException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "CertificateStateException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, CertificateStateException.prototype);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
3
15
|
export const LogTargetType = {
|
|
4
16
|
CLIENT_ID: "CLIENT_ID",
|
|
5
17
|
DEFAULT: "DEFAULT",
|
|
@@ -3,8 +3,8 @@ import { requestBuilder as rb } from "@smithy/core";
|
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { IoTServiceException as __BaseException } from "../models/IoTServiceException";
|
|
6
|
-
import {
|
|
7
|
-
import { NotConfiguredException, } from "../models/models_1";
|
|
6
|
+
import { CertificateValidationException, ConflictException, ConflictingResourceUpdateException, DeleteConflictException, IndexNotReadyException, InternalException, InternalFailureException, InternalServerException, InvalidAggregationException, InvalidQueryException, InvalidRequestException, InvalidStateTransitionException, LimitExceededException, MalformedPolicyException, ResourceAlreadyExistsException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, SqlParseException, ThrottlingException, TransferAlreadyCompletedException, UnauthorizedException, ValidationException, VersionConflictException, VersionsLimitExceededException, } from "../models/models_0";
|
|
7
|
+
import { CertificateStateException, NotConfiguredException, } from "../models/models_1";
|
|
8
8
|
import { CertificateConflictException, InvalidResponseException, RegistrationCodeValidationException, ResourceRegistrationFailureException, TaskAlreadyExistsException, TransferConflictException, } from "../models/models_2";
|
|
9
9
|
export const se_AcceptCertificateTransferCommand = async (input, context) => {
|
|
10
10
|
const b = rb(input, context);
|
|
@@ -354,7 +354,10 @@ export const se_CreateDomainConfigurationCommand = async (input, context) => {
|
|
|
354
354
|
b.p("domainConfigurationName", () => input.domainConfigurationName, "{domainConfigurationName}", false);
|
|
355
355
|
let body;
|
|
356
356
|
body = JSON.stringify(take(input, {
|
|
357
|
+
applicationProtocol: [],
|
|
358
|
+
authenticationType: [],
|
|
357
359
|
authorizerConfig: (_) => _json(_),
|
|
360
|
+
clientCertificateConfig: (_) => _json(_),
|
|
358
361
|
domainName: [],
|
|
359
362
|
serverCertificateArns: (_) => _json(_),
|
|
360
363
|
serverCertificateConfig: (_) => _json(_),
|
|
@@ -3150,7 +3153,10 @@ export const se_UpdateDomainConfigurationCommand = async (input, context) => {
|
|
|
3150
3153
|
b.p("domainConfigurationName", () => input.domainConfigurationName, "{domainConfigurationName}", false);
|
|
3151
3154
|
let body;
|
|
3152
3155
|
body = JSON.stringify(take(input, {
|
|
3156
|
+
applicationProtocol: [],
|
|
3157
|
+
authenticationType: [],
|
|
3153
3158
|
authorizerConfig: (_) => _json(_),
|
|
3159
|
+
clientCertificateConfig: (_) => _json(_),
|
|
3154
3160
|
domainConfigurationStatus: [],
|
|
3155
3161
|
removeAuthorizerConfig: [],
|
|
3156
3162
|
serverCertificateConfig: (_) => _json(_),
|
|
@@ -4755,7 +4761,10 @@ export const de_DescribeDomainConfigurationCommand = async (output, context) =>
|
|
|
4755
4761
|
});
|
|
4756
4762
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4757
4763
|
const doc = take(data, {
|
|
4764
|
+
applicationProtocol: __expectString,
|
|
4765
|
+
authenticationType: __expectString,
|
|
4758
4766
|
authorizerConfig: _json,
|
|
4767
|
+
clientCertificateConfig: _json,
|
|
4759
4768
|
domainConfigurationArn: __expectString,
|
|
4760
4769
|
domainConfigurationName: __expectString,
|
|
4761
4770
|
domainConfigurationStatus: __expectString,
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
4
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -40,5 +40,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
40
40
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
41
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
42
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
43
44
|
};
|
|
44
45
|
};
|
|
@@ -27,7 +27,7 @@ declare const AssociateSbomWithPackageVersionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Associates
|
|
30
|
+
* <p>Associates the selected software bill of materials (SBOM) with a specific software package version.</p>
|
|
31
31
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">AssociateSbomWithPackageVersion</a> action.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,7 +27,9 @@ declare const CreateBillingGroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a billing group
|
|
30
|
+
* <p>Creates a billing group. If this call is made multiple times using
|
|
31
|
+
* the same billing group name and configuration, the call will succeed. If this call is made with
|
|
32
|
+
* the same billing group name but different configuration a <code>ResourceAlreadyExistsException</code> is thrown.</p>
|
|
31
33
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CreateBillingGroup</a> action.</p>
|
|
32
34
|
* @example
|
|
33
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -59,6 +59,11 @@ declare const CreateDomainConfigurationCommand_base: {
|
|
|
59
59
|
* serverCertificateConfig: { // ServerCertificateConfig
|
|
60
60
|
* enableOCSPCheck: true || false,
|
|
61
61
|
* },
|
|
62
|
+
* authenticationType: "CUSTOM_AUTH_X509" || "CUSTOM_AUTH" || "AWS_X509" || "AWS_SIGV4" || "DEFAULT",
|
|
63
|
+
* applicationProtocol: "SECURE_MQTT" || "MQTT_WSS" || "HTTPS" || "DEFAULT",
|
|
64
|
+
* clientCertificateConfig: { // ClientCertificateConfig
|
|
65
|
+
* clientCertificateCallbackArn: "STRING_VALUE",
|
|
66
|
+
* },
|
|
62
67
|
* };
|
|
63
68
|
* const command = new CreateDomainConfigurationCommand(input);
|
|
64
69
|
* const response = await client.send(command);
|
|
@@ -29,6 +29,14 @@ declare const CreateRoleAliasCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a role alias.</p>
|
|
31
31
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CreateRoleAlias</a> action.</p>
|
|
32
|
+
* <important>
|
|
33
|
+
* <p>The value of <a href="https://docs.aws.amazon.com/iot/latest/apireference/API_CreateRoleAlias.html#iot-CreateRoleAlias-request-credentialDurationSeconds">
|
|
34
|
+
* <code>credentialDurationSeconds</code>
|
|
35
|
+
* </a> must be less than or equal to the maximum session
|
|
36
|
+
* duration of the IAM role that the role alias references. For more information, see
|
|
37
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-managingrole-editing-api.html#roles-modify_max-session-duration-api">
|
|
38
|
+
* Modifying a role maximum session duration (Amazon Web Services API)</a> from the Amazon Web Services Identity and Access Management User Guide.</p>
|
|
39
|
+
* </important>
|
|
32
40
|
* @example
|
|
33
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
42
|
* ```javascript
|
|
@@ -27,7 +27,10 @@ declare const CreateThingTypeCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new thing type
|
|
30
|
+
* <p>Creates a new thing type. If this call is made multiple times using
|
|
31
|
+
* the same thing type name and configuration, the call will succeed. If this call is made with
|
|
32
|
+
* the same thing type name but different configuration a <code>ResourceAlreadyExistsException</code> is thrown.
|
|
33
|
+
* </p>
|
|
31
34
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">CreateThingType</a> action.</p>
|
|
32
35
|
* @example
|
|
33
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { DeleteBillingGroupRequest, DeleteBillingGroupResponse } from "../models/
|
|
4
|
+
import { DeleteBillingGroupRequest, DeleteBillingGroupResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -65,6 +65,11 @@ declare const DescribeDomainConfigurationCommand_base: {
|
|
|
65
65
|
* // serverCertificateConfig: { // ServerCertificateConfig
|
|
66
66
|
* // enableOCSPCheck: true || false,
|
|
67
67
|
* // },
|
|
68
|
+
* // authenticationType: "CUSTOM_AUTH_X509" || "CUSTOM_AUTH" || "AWS_X509" || "AWS_SIGV4" || "DEFAULT",
|
|
69
|
+
* // applicationProtocol: "SECURE_MQTT" || "MQTT_WSS" || "HTTPS" || "DEFAULT",
|
|
70
|
+
* // clientCertificateConfig: { // ClientCertificateConfig
|
|
71
|
+
* // clientCertificateCallbackArn: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
68
73
|
* // };
|
|
69
74
|
*
|
|
70
75
|
* ```
|
|
@@ -27,7 +27,7 @@ declare const DisassociateSbomFromPackageVersionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Disassociates
|
|
30
|
+
* <p>Disassociates the selected software bill of materials (SBOM) from a specific software package version.</p>
|
|
31
31
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DisassociateSbomWithPackageVersion</a> action.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListManagedJobTemplatesRequest
|
|
4
|
+
import { ListManagedJobTemplatesRequest } from "../models/models_1";
|
|
5
|
+
import { ListManagedJobTemplatesResponse } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
|
|
4
|
-
import { ListMetricValuesRequest } from "../models/
|
|
5
|
-
import { ListMetricValuesResponse } from "../models/models_2";
|
|
4
|
+
import { ListMetricValuesRequest, ListMetricValuesResponse } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -50,6 +50,11 @@ declare const UpdateDomainConfigurationCommand_base: {
|
|
|
50
50
|
* serverCertificateConfig: { // ServerCertificateConfig
|
|
51
51
|
* enableOCSPCheck: true || false,
|
|
52
52
|
* },
|
|
53
|
+
* authenticationType: "CUSTOM_AUTH_X509" || "CUSTOM_AUTH" || "AWS_X509" || "AWS_SIGV4" || "DEFAULT",
|
|
54
|
+
* applicationProtocol: "SECURE_MQTT" || "MQTT_WSS" || "HTTPS" || "DEFAULT",
|
|
55
|
+
* clientCertificateConfig: { // ClientCertificateConfig
|
|
56
|
+
* clientCertificateCallbackArn: "STRING_VALUE",
|
|
57
|
+
* },
|
|
53
58
|
* };
|
|
54
59
|
* const command = new UpdateDomainConfigurationCommand(input);
|
|
55
60
|
* const response = await client.send(command);
|
|
@@ -29,6 +29,14 @@ declare const UpdateRoleAliasCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Updates a role alias.</p>
|
|
31
31
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdateRoleAlias</a> action.</p>
|
|
32
|
+
* <important>
|
|
33
|
+
* <p>The value of <a href="https://docs.aws.amazon.com/iot/latest/apireference/API_UpdateRoleAlias.html#iot-UpdateRoleAlias-request-credentialDurationSeconds">
|
|
34
|
+
* <code>credentialDurationSeconds</code>
|
|
35
|
+
* </a> must be less than or equal to the
|
|
36
|
+
* maximum session duration of the IAM role that the role alias references. For more
|
|
37
|
+
* information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-managingrole-editing-api.html#roles-modify_max-session-duration-api"> Modifying a role maximum session duration (Amazon Web Services API)</a> from the Amazon Web Services
|
|
38
|
+
* Identity and Access Management User Guide.</p>
|
|
39
|
+
* </important>
|
|
32
40
|
* @example
|
|
33
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
42
|
* ```javascript
|