@aws-sdk/client-iot 3.509.0 → 3.511.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 +3 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCustomMetricCommand.d.ts +1 -2
- package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +5 -1
- package/dist-types/commands/GetRegistrationCodeCommand.d.ts +3 -0
- package/dist-types/commands/ListOutgoingCertificatesCommand.d.ts +1 -2
- package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +19 -12
- package/dist-types/models/models_1.d.ts +18 -23
- package/dist-types/models/models_2.d.ts +28 -1
- package/dist-types/ts3.4/commands/DeleteCustomMetricCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListOutgoingCertificatesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +4 -3
- package/dist-types/ts3.4/models/models_1.d.ts +5 -5
- package/dist-types/ts3.4/models/models_2.d.ts +7 -0
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -1989,6 +1989,7 @@ var se_CreateDomainConfigurationCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
1989
1989
|
authorizerConfig: (_) => (0, import_smithy_client._json)(_),
|
|
1990
1990
|
domainName: [],
|
|
1991
1991
|
serverCertificateArns: (_) => (0, import_smithy_client._json)(_),
|
|
1992
|
+
serverCertificateConfig: (_) => (0, import_smithy_client._json)(_),
|
|
1992
1993
|
serviceType: [],
|
|
1993
1994
|
tags: (_) => (0, import_smithy_client._json)(_),
|
|
1994
1995
|
tlsConfig: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -4927,6 +4928,7 @@ var se_UpdateDomainConfigurationCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
4927
4928
|
authorizerConfig: (_) => (0, import_smithy_client._json)(_),
|
|
4928
4929
|
domainConfigurationStatus: [],
|
|
4929
4930
|
removeAuthorizerConfig: [],
|
|
4931
|
+
serverCertificateConfig: (_) => (0, import_smithy_client._json)(_),
|
|
4930
4932
|
tlsConfig: (_) => (0, import_smithy_client._json)(_)
|
|
4931
4933
|
})
|
|
4932
4934
|
);
|
|
@@ -6555,6 +6557,7 @@ var de_DescribeDomainConfigurationCommand = /* @__PURE__ */ __name(async (output
|
|
|
6555
6557
|
domainName: import_smithy_client.expectString,
|
|
6556
6558
|
domainType: import_smithy_client.expectString,
|
|
6557
6559
|
lastStatusChangeDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
6560
|
+
serverCertificateConfig: import_smithy_client._json,
|
|
6558
6561
|
serverCertificates: import_smithy_client._json,
|
|
6559
6562
|
serviceType: import_smithy_client.expectString,
|
|
6560
6563
|
tlsConfig: import_smithy_client._json
|
|
@@ -341,6 +341,7 @@ export const se_CreateDomainConfigurationCommand = async (input, context) => {
|
|
|
341
341
|
authorizerConfig: (_) => _json(_),
|
|
342
342
|
domainName: [],
|
|
343
343
|
serverCertificateArns: (_) => _json(_),
|
|
344
|
+
serverCertificateConfig: (_) => _json(_),
|
|
344
345
|
serviceType: [],
|
|
345
346
|
tags: (_) => _json(_),
|
|
346
347
|
tlsConfig: (_) => _json(_),
|
|
@@ -3157,6 +3158,7 @@ export const se_UpdateDomainConfigurationCommand = async (input, context) => {
|
|
|
3157
3158
|
authorizerConfig: (_) => _json(_),
|
|
3158
3159
|
domainConfigurationStatus: [],
|
|
3159
3160
|
removeAuthorizerConfig: [],
|
|
3161
|
+
serverCertificateConfig: (_) => _json(_),
|
|
3160
3162
|
tlsConfig: (_) => _json(_),
|
|
3161
3163
|
}));
|
|
3162
3164
|
b.m("PUT").h(headers).b(body);
|
|
@@ -4746,6 +4748,7 @@ export const de_DescribeDomainConfigurationCommand = async (output, context) =>
|
|
|
4746
4748
|
domainName: __expectString,
|
|
4747
4749
|
domainType: __expectString,
|
|
4748
4750
|
lastStatusChangeDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4751
|
+
serverCertificateConfig: _json,
|
|
4749
4752
|
serverCertificates: _json,
|
|
4750
4753
|
serviceType: __expectString,
|
|
4751
4754
|
tlsConfig: _json,
|
|
@@ -55,6 +55,9 @@ declare const CreateDomainConfigurationCommand_base: {
|
|
|
55
55
|
* tlsConfig: { // TlsConfig
|
|
56
56
|
* securityPolicy: "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
|
+
* serverCertificateConfig: { // ServerCertificateConfig
|
|
59
|
+
* enableOCSPCheck: true || false,
|
|
60
|
+
* },
|
|
58
61
|
* };
|
|
59
62
|
* const command = new CreateDomainConfigurationCommand(input);
|
|
60
63
|
* const response = await client.send(command);
|
|
@@ -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 { DeleteCustomMetricRequest } from "../models/
|
|
5
|
-
import { DeleteCustomMetricResponse } from "../models/models_1";
|
|
4
|
+
import { DeleteCustomMetricRequest, DeleteCustomMetricResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -61,6 +61,9 @@ declare const DescribeDomainConfigurationCommand_base: {
|
|
|
61
61
|
* // tlsConfig: { // TlsConfig
|
|
62
62
|
* // securityPolicy: "STRING_VALUE",
|
|
63
63
|
* // },
|
|
64
|
+
* // serverCertificateConfig: { // ServerCertificateConfig
|
|
65
|
+
* // enableOCSPCheck: true || false,
|
|
66
|
+
* // },
|
|
64
67
|
* // };
|
|
65
68
|
*
|
|
66
69
|
* ```
|
|
@@ -26,7 +26,11 @@ declare const DescribeEndpointCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Returns a unique endpoint specific to the Amazon Web Services account making the
|
|
29
|
+
* <p>Returns or creates a unique endpoint specific to the Amazon Web Services account making the
|
|
30
|
+
* call.</p>
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>The first time <code>DescribeEndpoint</code> is called, an endpoint is created. All subsequent calls to <code>DescribeEndpoint</code> return the same endpoint.</p>
|
|
33
|
+
* </note>
|
|
30
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">DescribeEndpoint</a> action.</p>
|
|
31
35
|
* @example
|
|
32
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,6 +27,9 @@ declare const GetRegistrationCodeCommand_base: {
|
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
29
|
* <p>Gets a registration code used to register a CA certificate with IoT.</p>
|
|
30
|
+
* <p>IoT will create a registration code as part of this API call if the registration
|
|
31
|
+
* code doesn't exist or has been deleted. If you already have a registration code, this API
|
|
32
|
+
* call will return the same registration code.</p>
|
|
30
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">GetRegistrationCode</a> action.</p>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -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 { ListOutgoingCertificatesRequest } from "../models/
|
|
5
|
-
import { ListOutgoingCertificatesResponse } from "../models/models_2";
|
|
4
|
+
import { ListOutgoingCertificatesRequest, ListOutgoingCertificatesResponse } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -46,6 +46,9 @@ declare const UpdateDomainConfigurationCommand_base: {
|
|
|
46
46
|
* tlsConfig: { // TlsConfig
|
|
47
47
|
* securityPolicy: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
|
+
* serverCertificateConfig: { // ServerCertificateConfig
|
|
50
|
+
* enableOCSPCheck: true || false,
|
|
51
|
+
* },
|
|
49
52
|
* };
|
|
50
53
|
* const command = new UpdateDomainConfigurationCommand(input);
|
|
51
54
|
* const response = await client.send(command);
|
|
@@ -3658,6 +3658,20 @@ export declare class CertificateValidationException extends __BaseException {
|
|
|
3658
3658
|
*/
|
|
3659
3659
|
constructor(opts: __ExceptionOptionType<CertificateValidationException, __BaseException>);
|
|
3660
3660
|
}
|
|
3661
|
+
/**
|
|
3662
|
+
* @public
|
|
3663
|
+
* <p>The server certificate configuration.</p>
|
|
3664
|
+
*/
|
|
3665
|
+
export interface ServerCertificateConfig {
|
|
3666
|
+
/**
|
|
3667
|
+
* @public
|
|
3668
|
+
* <p>A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server
|
|
3669
|
+
* certificate check is enabled or not.</p>
|
|
3670
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-domain-ocsp-config.html">Configuring OCSP server-certificate stapling in domain
|
|
3671
|
+
* configuration</a> from Amazon Web Services IoT Core Developer Guide.</p>
|
|
3672
|
+
*/
|
|
3673
|
+
enableOCSPCheck?: boolean;
|
|
3674
|
+
}
|
|
3661
3675
|
/**
|
|
3662
3676
|
* @public
|
|
3663
3677
|
* @enum
|
|
@@ -3740,6 +3754,11 @@ export interface CreateDomainConfigurationRequest {
|
|
|
3740
3754
|
* <p>An object that specifies the TLS configuration for a domain.</p>
|
|
3741
3755
|
*/
|
|
3742
3756
|
tlsConfig?: TlsConfig;
|
|
3757
|
+
/**
|
|
3758
|
+
* @public
|
|
3759
|
+
* <p>The server certificate configuration.</p>
|
|
3760
|
+
*/
|
|
3761
|
+
serverCertificateConfig?: ServerCertificateConfig;
|
|
3743
3762
|
}
|
|
3744
3763
|
/**
|
|
3745
3764
|
* @public
|
|
@@ -6609,18 +6628,6 @@ export interface DeleteCertificateProviderRequest {
|
|
|
6609
6628
|
*/
|
|
6610
6629
|
export interface DeleteCertificateProviderResponse {
|
|
6611
6630
|
}
|
|
6612
|
-
/**
|
|
6613
|
-
* @public
|
|
6614
|
-
*/
|
|
6615
|
-
export interface DeleteCustomMetricRequest {
|
|
6616
|
-
/**
|
|
6617
|
-
* @public
|
|
6618
|
-
* <p>
|
|
6619
|
-
* The name of the custom metric.
|
|
6620
|
-
* </p>
|
|
6621
|
-
*/
|
|
6622
|
-
metricName: string | undefined;
|
|
6623
|
-
}
|
|
6624
6631
|
/**
|
|
6625
6632
|
* @internal
|
|
6626
6633
|
*/
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
|
-
import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AlertTargetType, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CertificateProviderOperation, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MaintenanceWindow, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, PackageVersionStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, SchedulingConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
3
|
+
import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AlertTargetType, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, AuditMitigationActionsExecutionStatus, AuditMitigationActionsTaskMetadata, AuditMitigationActionsTaskStatus, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuditSuppression, AuditTaskMetadata, AuditTaskStatus, AuditTaskType, AuthorizerConfig, AuthorizerDescription, AuthorizerStatus, AuthorizerSummary, AutoRegistrationStatus, AwsJobExecutionsRolloutConfig, AwsJobPresignedUrlConfig, Behavior, BillingGroupProperties, CertificateProviderOperation, CustomMetricType, DayOfWeek, DimensionType, DimensionValueOperator, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MaintenanceWindow, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, OTAUpdateFile, OTAUpdateStatus, PackageVersionStatus, Policy, PresignedUrlConfig, Protocol, ProvisioningHook, ResourceIdentifier, SchedulingConfig, ServerCertificateConfig, ServiceType, StreamFile, TargetSelection, TaskStatisticsForAuditCheck, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestination, VerificationState } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteCustomMetricRequest {
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
* <p>
|
|
11
|
+
* The name of the custom metric.
|
|
12
|
+
* </p>
|
|
13
|
+
*/
|
|
14
|
+
metricName: string | undefined;
|
|
15
|
+
}
|
|
4
16
|
/**
|
|
5
17
|
* @public
|
|
6
18
|
*/
|
|
@@ -1687,6 +1699,11 @@ export interface DescribeDomainConfigurationResponse {
|
|
|
1687
1699
|
* <p>An object that specifies the TLS configuration for a domain.</p>
|
|
1688
1700
|
*/
|
|
1689
1701
|
tlsConfig?: TlsConfig;
|
|
1702
|
+
/**
|
|
1703
|
+
* @public
|
|
1704
|
+
* <p>The server certificate configuration.</p>
|
|
1705
|
+
*/
|
|
1706
|
+
serverCertificateConfig?: ServerCertificateConfig;
|
|
1690
1707
|
}
|
|
1691
1708
|
/**
|
|
1692
1709
|
* @public
|
|
@@ -6504,28 +6521,6 @@ export interface ListOTAUpdatesResponse {
|
|
|
6504
6521
|
*/
|
|
6505
6522
|
nextToken?: string;
|
|
6506
6523
|
}
|
|
6507
|
-
/**
|
|
6508
|
-
* @public
|
|
6509
|
-
* <p>The input to the ListOutgoingCertificates operation.</p>
|
|
6510
|
-
*/
|
|
6511
|
-
export interface ListOutgoingCertificatesRequest {
|
|
6512
|
-
/**
|
|
6513
|
-
* @public
|
|
6514
|
-
* <p>The result page size.</p>
|
|
6515
|
-
*/
|
|
6516
|
-
pageSize?: number;
|
|
6517
|
-
/**
|
|
6518
|
-
* @public
|
|
6519
|
-
* <p>The marker for the next set of results.</p>
|
|
6520
|
-
*/
|
|
6521
|
-
marker?: string;
|
|
6522
|
-
/**
|
|
6523
|
-
* @public
|
|
6524
|
-
* <p>Specifies the order for results. If True, the results are returned in ascending
|
|
6525
|
-
* order, based on the creation date.</p>
|
|
6526
|
-
*/
|
|
6527
|
-
ascendingOrder?: boolean;
|
|
6528
|
-
}
|
|
6529
6524
|
/**
|
|
6530
6525
|
* @internal
|
|
6531
6526
|
*/
|
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { IoTServiceException as __BaseException } from "./IoTServiceException";
|
|
3
|
-
import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CertificateProviderOperation, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, PackageVersionStatus, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, StreamFile, Tag, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
3
|
+
import { AbortConfig, AggregationType, AlertTarget, AlertTargetType, AttributePayload, AuditCheckConfiguration, AuditFrequency, AuditMitigationActionsTaskTarget, AuditNotificationTarget, AuditNotificationType, AuthInfo, AuthorizerConfig, AuthorizerStatus, AuthResult, AutoRegistrationStatus, Behavior, BillingGroupProperties, CertificateProviderOperation, CustomMetricType, DayOfWeek, DimensionType, FleetMetricUnit, JobExecutionsRetryConfig, JobExecutionsRolloutConfig, LogLevel, MetricsExportConfig, MetricToRetain, MetricValue, MitigationActionParams, PackageVersionStatus, Policy, PresignedUrlConfig, ProvisioningHook, RelatedResource, ResourceIdentifier, ServerCertificateConfig, StreamFile, Tag, TemplateType, ThingGroupProperties, ThingTypeProperties, TimeoutConfig, TlsConfig, TopicRuleDestinationStatus, TopicRulePayload, VerificationState, ViolationEventAdditionalInfo } from "./models_0";
|
|
4
4
|
import { BehaviorCriteriaType, CACertificateStatus, CertificateMode, CertificateStatus, Configuration, DetectMitigationActionsTaskTarget, DomainConfigurationStatus, EventType, GroupNameAndArn, LogTargetType, RegistrationConfig, Status, ThingGroupIndexingConfiguration, ThingIndexingConfiguration, ThingTypeMetadata, VersionUpdateByJobsConfig, ViolationEventOccurrenceRange } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* <p>The input to the ListOutgoingCertificates operation.</p>
|
|
8
|
+
*/
|
|
9
|
+
export interface ListOutgoingCertificatesRequest {
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
* <p>The result page size.</p>
|
|
13
|
+
*/
|
|
14
|
+
pageSize?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* <p>The marker for the next set of results.</p>
|
|
18
|
+
*/
|
|
19
|
+
marker?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Specifies the order for results. If True, the results are returned in ascending
|
|
23
|
+
* order, based on the creation date.</p>
|
|
24
|
+
*/
|
|
25
|
+
ascendingOrder?: boolean;
|
|
26
|
+
}
|
|
5
27
|
/**
|
|
6
28
|
* @public
|
|
7
29
|
* <p>A certificate that has been transferred but not yet accepted.</p>
|
|
@@ -3312,6 +3334,11 @@ export interface UpdateDomainConfigurationRequest {
|
|
|
3312
3334
|
* <p>An object that specifies the TLS configuration for a domain.</p>
|
|
3313
3335
|
*/
|
|
3314
3336
|
tlsConfig?: TlsConfig;
|
|
3337
|
+
/**
|
|
3338
|
+
* @public
|
|
3339
|
+
* <p>The server certificate configuration.</p>
|
|
3340
|
+
*/
|
|
3341
|
+
serverCertificateConfig?: ServerCertificateConfig;
|
|
3315
3342
|
}
|
|
3316
3343
|
/**
|
|
3317
3344
|
* @public
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../IoTClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DeleteCustomMetricRequest,
|
|
10
|
+
DeleteCustomMetricResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer, $Command };
|
|
11
13
|
export interface DeleteCustomMetricCommandInput
|
|
12
14
|
extends DeleteCustomMetricRequest {}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../IoTClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
ListOutgoingCertificatesRequest,
|
|
10
|
+
ListOutgoingCertificatesResponse,
|
|
11
|
+
} from "../models/models_2";
|
|
10
12
|
export { __MetadataBearer, $Command };
|
|
11
13
|
export interface ListOutgoingCertificatesCommandInput
|
|
12
14
|
extends ListOutgoingCertificatesRequest {}
|
|
@@ -976,6 +976,9 @@ export declare class CertificateValidationException extends __BaseException {
|
|
|
976
976
|
opts: __ExceptionOptionType<CertificateValidationException, __BaseException>
|
|
977
977
|
);
|
|
978
978
|
}
|
|
979
|
+
export interface ServerCertificateConfig {
|
|
980
|
+
enableOCSPCheck?: boolean;
|
|
981
|
+
}
|
|
979
982
|
export declare const ServiceType: {
|
|
980
983
|
readonly CREDENTIAL_PROVIDER: "CREDENTIAL_PROVIDER";
|
|
981
984
|
readonly DATA: "DATA";
|
|
@@ -994,6 +997,7 @@ export interface CreateDomainConfigurationRequest {
|
|
|
994
997
|
serviceType?: ServiceType;
|
|
995
998
|
tags?: Tag[];
|
|
996
999
|
tlsConfig?: TlsConfig;
|
|
1000
|
+
serverCertificateConfig?: ServerCertificateConfig;
|
|
997
1001
|
}
|
|
998
1002
|
export interface CreateDomainConfigurationResponse {
|
|
999
1003
|
domainConfigurationName?: string;
|
|
@@ -1743,9 +1747,6 @@ export interface DeleteCertificateProviderRequest {
|
|
|
1743
1747
|
certificateProviderName: string | undefined;
|
|
1744
1748
|
}
|
|
1745
1749
|
export interface DeleteCertificateProviderResponse {}
|
|
1746
|
-
export interface DeleteCustomMetricRequest {
|
|
1747
|
-
metricName: string | undefined;
|
|
1748
|
-
}
|
|
1749
1750
|
export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
|
|
1750
1751
|
export declare const CreateKeysAndCertificateResponseFilterSensitiveLog: (
|
|
1751
1752
|
obj: CreateKeysAndCertificateResponse
|
|
@@ -54,6 +54,7 @@ import {
|
|
|
54
54
|
ProvisioningHook,
|
|
55
55
|
ResourceIdentifier,
|
|
56
56
|
SchedulingConfig,
|
|
57
|
+
ServerCertificateConfig,
|
|
57
58
|
ServiceType,
|
|
58
59
|
StreamFile,
|
|
59
60
|
TargetSelection,
|
|
@@ -66,6 +67,9 @@ import {
|
|
|
66
67
|
TopicRuleDestination,
|
|
67
68
|
VerificationState,
|
|
68
69
|
} from "./models_0";
|
|
70
|
+
export interface DeleteCustomMetricRequest {
|
|
71
|
+
metricName: string | undefined;
|
|
72
|
+
}
|
|
69
73
|
export interface DeleteCustomMetricResponse {}
|
|
70
74
|
export interface DeleteDimensionRequest {
|
|
71
75
|
name: string | undefined;
|
|
@@ -471,6 +475,7 @@ export interface DescribeDomainConfigurationResponse {
|
|
|
471
475
|
domainType?: DomainType;
|
|
472
476
|
lastStatusChangeDate?: Date;
|
|
473
477
|
tlsConfig?: TlsConfig;
|
|
478
|
+
serverCertificateConfig?: ServerCertificateConfig;
|
|
474
479
|
}
|
|
475
480
|
export interface DescribeEndpointRequest {
|
|
476
481
|
endpointType?: string;
|
|
@@ -1584,11 +1589,6 @@ export interface ListOTAUpdatesResponse {
|
|
|
1584
1589
|
otaUpdates?: OTAUpdateSummary[];
|
|
1585
1590
|
nextToken?: string;
|
|
1586
1591
|
}
|
|
1587
|
-
export interface ListOutgoingCertificatesRequest {
|
|
1588
|
-
pageSize?: number;
|
|
1589
|
-
marker?: string;
|
|
1590
|
-
ascendingOrder?: boolean;
|
|
1591
|
-
}
|
|
1592
1592
|
export declare const GetPackageResponseFilterSensitiveLog: (
|
|
1593
1593
|
obj: GetPackageResponse
|
|
1594
1594
|
) => any;
|
|
@@ -36,6 +36,7 @@ import {
|
|
|
36
36
|
ProvisioningHook,
|
|
37
37
|
RelatedResource,
|
|
38
38
|
ResourceIdentifier,
|
|
39
|
+
ServerCertificateConfig,
|
|
39
40
|
StreamFile,
|
|
40
41
|
Tag,
|
|
41
42
|
TemplateType,
|
|
@@ -67,6 +68,11 @@ import {
|
|
|
67
68
|
VersionUpdateByJobsConfig,
|
|
68
69
|
ViolationEventOccurrenceRange,
|
|
69
70
|
} from "./models_1";
|
|
71
|
+
export interface ListOutgoingCertificatesRequest {
|
|
72
|
+
pageSize?: number;
|
|
73
|
+
marker?: string;
|
|
74
|
+
ascendingOrder?: boolean;
|
|
75
|
+
}
|
|
70
76
|
export interface OutgoingCertificate {
|
|
71
77
|
certificateArn?: string;
|
|
72
78
|
certificateId?: string;
|
|
@@ -854,6 +860,7 @@ export interface UpdateDomainConfigurationRequest {
|
|
|
854
860
|
domainConfigurationStatus?: DomainConfigurationStatus;
|
|
855
861
|
removeAuthorizerConfig?: boolean;
|
|
856
862
|
tlsConfig?: TlsConfig;
|
|
863
|
+
serverCertificateConfig?: ServerCertificateConfig;
|
|
857
864
|
}
|
|
858
865
|
export interface UpdateDomainConfigurationResponse {
|
|
859
866
|
domainConfigurationName?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.511.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iot",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.511.0",
|
|
24
|
+
"@aws-sdk/core": "3.511.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.511.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.511.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.511.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.511.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.511.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.511.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.511.0",
|
|
32
|
+
"@aws-sdk/types": "3.511.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.511.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.511.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.511.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.1.1",
|
|
37
37
|
"@smithy/core": "^1.3.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.4.1",
|