@aws-sdk/client-iot 3.1018.0 → 3.1020.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/auth/httpAuthSchemeProvider.js +2 -2
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-es/IoT.js +11 -11
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-types/IoT.d.ts +272 -272
- package/dist-types/IoTClient.d.ts +275 -275
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +2 -2
- package/dist-types/models/models_2.d.ts +3 -3
- package/dist-types/pagination/GetBehaviorModelTrainingSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListActiveViolationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAttachedPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuditFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuditMitigationActionsExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuditMitigationActionsTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuditSuppressionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuditTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuthorizersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBillingGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCACertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCertificatesByCAPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCommandExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCommandsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomMetricsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDetectMitigationActionsExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDetectMitigationActionsTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDimensionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDomainConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFleetMetricsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIndicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobExecutionsForJobPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobExecutionsForThingPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListManagedJobTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMetricValuesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMitigationActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOTAUpdatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOutgoingCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPackageVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPackagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPolicyPrincipalsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPrincipalPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPrincipalThingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPrincipalThingsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListProvisioningTemplateVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProvisioningTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRelatedResourcesForAuditFindingPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRoleAliasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSbomValidationResultsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScheduledAuditsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityProfilesForTargetPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStreamsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/pagination/ListTargetsForPolicyPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTargetsForSecurityProfilePaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingGroupsForThingPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingPrincipalsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingPrincipalsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListThingRegistrationTaskReportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingRegistrationTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingsInBillingGroupPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingsInThingGroupPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTopicRuleDestinationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTopicRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListV2LoggingLevelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListViolationEventsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/IoTClient.d.ts +2 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +23 -23
- package/dist-types/ts3.4/models/models_2.d.ts +13 -13
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +13 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultIoTHttpAuthSchemeProvider = exports.defaultIoTHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
6
|
const defaultIoTHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
@@ -38,7 +38,7 @@ const defaultIoTHttpAuthSchemeProvider = (authParameters) => {
|
|
|
38
38
|
};
|
|
39
39
|
exports.defaultIoTHttpAuthSchemeProvider = defaultIoTHttpAuthSchemeProvider;
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
|
-
const config_0 = (0,
|
|
41
|
+
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
43
|
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
-
const
|
|
6
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
7
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
9
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
9
10
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
@@ -21,7 +22,7 @@ const getRuntimeConfig = (config) => {
|
|
|
21
22
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
22
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
23
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
24
|
-
(0,
|
|
25
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
25
26
|
const loaderConfig = {
|
|
26
27
|
profile: config?.profile,
|
|
27
28
|
logger: clientSharedValues.logger,
|
|
@@ -31,7 +32,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
32
|
...config,
|
|
32
33
|
runtime: "node",
|
|
33
34
|
defaultsMode,
|
|
34
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(
|
|
35
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
36
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
37
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
38
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -23,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
{
|
|
24
24
|
schemeId: "aws.auth#sigv4",
|
|
25
25
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
26
|
-
signer: new
|
|
26
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
27
|
},
|
|
28
28
|
],
|
|
29
29
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
package/dist-es/IoT.js
CHANGED
|
@@ -43,7 +43,7 @@ import { CreateRoleAliasCommand, } from "./commands/CreateRoleAliasCommand";
|
|
|
43
43
|
import { CreateScheduledAuditCommand, } from "./commands/CreateScheduledAuditCommand";
|
|
44
44
|
import { CreateSecurityProfileCommand, } from "./commands/CreateSecurityProfileCommand";
|
|
45
45
|
import { CreateStreamCommand, } from "./commands/CreateStreamCommand";
|
|
46
|
-
import { CreateThingCommand } from "./commands/CreateThingCommand";
|
|
46
|
+
import { CreateThingCommand, } from "./commands/CreateThingCommand";
|
|
47
47
|
import { CreateThingGroupCommand, } from "./commands/CreateThingGroupCommand";
|
|
48
48
|
import { CreateThingTypeCommand, } from "./commands/CreateThingTypeCommand";
|
|
49
49
|
import { CreateTopicRuleCommand, } from "./commands/CreateTopicRuleCommand";
|
|
@@ -78,7 +78,7 @@ import { DeleteRoleAliasCommand, } from "./commands/DeleteRoleAliasCommand";
|
|
|
78
78
|
import { DeleteScheduledAuditCommand, } from "./commands/DeleteScheduledAuditCommand";
|
|
79
79
|
import { DeleteSecurityProfileCommand, } from "./commands/DeleteSecurityProfileCommand";
|
|
80
80
|
import { DeleteStreamCommand, } from "./commands/DeleteStreamCommand";
|
|
81
|
-
import { DeleteThingCommand } from "./commands/DeleteThingCommand";
|
|
81
|
+
import { DeleteThingCommand, } from "./commands/DeleteThingCommand";
|
|
82
82
|
import { DeleteThingGroupCommand, } from "./commands/DeleteThingGroupCommand";
|
|
83
83
|
import { DeleteThingTypeCommand, } from "./commands/DeleteThingTypeCommand";
|
|
84
84
|
import { DeleteTopicRuleCommand, } from "./commands/DeleteTopicRuleCommand";
|
|
@@ -105,7 +105,7 @@ import { DescribeEndpointCommand, } from "./commands/DescribeEndpointCommand";
|
|
|
105
105
|
import { DescribeEventConfigurationsCommand, } from "./commands/DescribeEventConfigurationsCommand";
|
|
106
106
|
import { DescribeFleetMetricCommand, } from "./commands/DescribeFleetMetricCommand";
|
|
107
107
|
import { DescribeIndexCommand, } from "./commands/DescribeIndexCommand";
|
|
108
|
-
import { DescribeJobCommand } from "./commands/DescribeJobCommand";
|
|
108
|
+
import { DescribeJobCommand, } from "./commands/DescribeJobCommand";
|
|
109
109
|
import { DescribeJobExecutionCommand, } from "./commands/DescribeJobExecutionCommand";
|
|
110
110
|
import { DescribeJobTemplateCommand, } from "./commands/DescribeJobTemplateCommand";
|
|
111
111
|
import { DescribeManagedJobTemplateCommand, } from "./commands/DescribeManagedJobTemplateCommand";
|
|
@@ -130,14 +130,14 @@ import { EnableTopicRuleCommand, } from "./commands/EnableTopicRuleCommand";
|
|
|
130
130
|
import { GetBehaviorModelTrainingSummariesCommand, } from "./commands/GetBehaviorModelTrainingSummariesCommand";
|
|
131
131
|
import { GetBucketsAggregationCommand, } from "./commands/GetBucketsAggregationCommand";
|
|
132
132
|
import { GetCardinalityCommand, } from "./commands/GetCardinalityCommand";
|
|
133
|
-
import { GetCommandCommand } from "./commands/GetCommandCommand";
|
|
133
|
+
import { GetCommandCommand, } from "./commands/GetCommandCommand";
|
|
134
134
|
import { GetCommandExecutionCommand, } from "./commands/GetCommandExecutionCommand";
|
|
135
135
|
import { GetEffectivePoliciesCommand, } from "./commands/GetEffectivePoliciesCommand";
|
|
136
136
|
import { GetIndexingConfigurationCommand, } from "./commands/GetIndexingConfigurationCommand";
|
|
137
137
|
import { GetJobDocumentCommand, } from "./commands/GetJobDocumentCommand";
|
|
138
138
|
import { GetLoggingOptionsCommand, } from "./commands/GetLoggingOptionsCommand";
|
|
139
139
|
import { GetOTAUpdateCommand, } from "./commands/GetOTAUpdateCommand";
|
|
140
|
-
import { GetPackageCommand } from "./commands/GetPackageCommand";
|
|
140
|
+
import { GetPackageCommand, } from "./commands/GetPackageCommand";
|
|
141
141
|
import { GetPackageConfigurationCommand, } from "./commands/GetPackageConfigurationCommand";
|
|
142
142
|
import { GetPackageVersionCommand, } from "./commands/GetPackageVersionCommand";
|
|
143
143
|
import { GetPercentilesCommand, } from "./commands/GetPercentilesCommand";
|
|
@@ -170,7 +170,7 @@ import { ListDetectMitigationActionsTasksCommand, } from "./commands/ListDetectM
|
|
|
170
170
|
import { ListDimensionsCommand, } from "./commands/ListDimensionsCommand";
|
|
171
171
|
import { ListDomainConfigurationsCommand, } from "./commands/ListDomainConfigurationsCommand";
|
|
172
172
|
import { ListFleetMetricsCommand, } from "./commands/ListFleetMetricsCommand";
|
|
173
|
-
import { ListIndicesCommand } from "./commands/ListIndicesCommand";
|
|
173
|
+
import { ListIndicesCommand, } from "./commands/ListIndicesCommand";
|
|
174
174
|
import { ListJobExecutionsForJobCommand, } from "./commands/ListJobExecutionsForJobCommand";
|
|
175
175
|
import { ListJobExecutionsForThingCommand, } from "./commands/ListJobExecutionsForThingCommand";
|
|
176
176
|
import { ListJobsCommand } from "./commands/ListJobsCommand";
|
|
@@ -196,7 +196,7 @@ import { ListSbomValidationResultsCommand, } from "./commands/ListSbomValidation
|
|
|
196
196
|
import { ListScheduledAuditsCommand, } from "./commands/ListScheduledAuditsCommand";
|
|
197
197
|
import { ListSecurityProfilesCommand, } from "./commands/ListSecurityProfilesCommand";
|
|
198
198
|
import { ListSecurityProfilesForTargetCommand, } from "./commands/ListSecurityProfilesForTargetCommand";
|
|
199
|
-
import { ListStreamsCommand } from "./commands/ListStreamsCommand";
|
|
199
|
+
import { ListStreamsCommand, } from "./commands/ListStreamsCommand";
|
|
200
200
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
201
201
|
import { ListTargetsForPolicyCommand, } from "./commands/ListTargetsForPolicyCommand";
|
|
202
202
|
import { ListTargetsForSecurityProfileCommand, } from "./commands/ListTargetsForSecurityProfileCommand";
|
|
@@ -206,7 +206,7 @@ import { ListThingPrincipalsCommand, } from "./commands/ListThingPrincipalsComma
|
|
|
206
206
|
import { ListThingPrincipalsV2Command, } from "./commands/ListThingPrincipalsV2Command";
|
|
207
207
|
import { ListThingRegistrationTaskReportsCommand, } from "./commands/ListThingRegistrationTaskReportsCommand";
|
|
208
208
|
import { ListThingRegistrationTasksCommand, } from "./commands/ListThingRegistrationTasksCommand";
|
|
209
|
-
import { ListThingsCommand } from "./commands/ListThingsCommand";
|
|
209
|
+
import { ListThingsCommand, } from "./commands/ListThingsCommand";
|
|
210
210
|
import { ListThingsInBillingGroupCommand, } from "./commands/ListThingsInBillingGroupCommand";
|
|
211
211
|
import { ListThingsInThingGroupCommand, } from "./commands/ListThingsInThingGroupCommand";
|
|
212
212
|
import { ListThingTypesCommand, } from "./commands/ListThingTypesCommand";
|
|
@@ -223,7 +223,7 @@ import { RejectCertificateTransferCommand, } from "./commands/RejectCertificateT
|
|
|
223
223
|
import { RemoveThingFromBillingGroupCommand, } from "./commands/RemoveThingFromBillingGroupCommand";
|
|
224
224
|
import { RemoveThingFromThingGroupCommand, } from "./commands/RemoveThingFromThingGroupCommand";
|
|
225
225
|
import { ReplaceTopicRuleCommand, } from "./commands/ReplaceTopicRuleCommand";
|
|
226
|
-
import { SearchIndexCommand } from "./commands/SearchIndexCommand";
|
|
226
|
+
import { SearchIndexCommand, } from "./commands/SearchIndexCommand";
|
|
227
227
|
import { SetDefaultAuthorizerCommand, } from "./commands/SetDefaultAuthorizerCommand";
|
|
228
228
|
import { SetDefaultPolicyVersionCommand, } from "./commands/SetDefaultPolicyVersionCommand";
|
|
229
229
|
import { SetLoggingOptionsCommand, } from "./commands/SetLoggingOptionsCommand";
|
|
@@ -234,7 +234,7 @@ import { StartDetectMitigationActionsTaskCommand, } from "./commands/StartDetect
|
|
|
234
234
|
import { StartOnDemandAuditTaskCommand, } from "./commands/StartOnDemandAuditTaskCommand";
|
|
235
235
|
import { StartThingRegistrationTaskCommand, } from "./commands/StartThingRegistrationTaskCommand";
|
|
236
236
|
import { StopThingRegistrationTaskCommand, } from "./commands/StopThingRegistrationTaskCommand";
|
|
237
|
-
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
237
|
+
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
238
238
|
import { TestAuthorizationCommand, } from "./commands/TestAuthorizationCommand";
|
|
239
239
|
import { TestInvokeAuthorizerCommand, } from "./commands/TestInvokeAuthorizerCommand";
|
|
240
240
|
import { TransferCertificateCommand, } from "./commands/TransferCertificateCommand";
|
|
@@ -265,7 +265,7 @@ import { UpdateRoleAliasCommand, } from "./commands/UpdateRoleAliasCommand";
|
|
|
265
265
|
import { UpdateScheduledAuditCommand, } from "./commands/UpdateScheduledAuditCommand";
|
|
266
266
|
import { UpdateSecurityProfileCommand, } from "./commands/UpdateSecurityProfileCommand";
|
|
267
267
|
import { UpdateStreamCommand, } from "./commands/UpdateStreamCommand";
|
|
268
|
-
import { UpdateThingCommand } from "./commands/UpdateThingCommand";
|
|
268
|
+
import { UpdateThingCommand, } from "./commands/UpdateThingCommand";
|
|
269
269
|
import { UpdateThingGroupCommand, } from "./commands/UpdateThingGroupCommand";
|
|
270
270
|
import { UpdateThingGroupsForThingCommand, } from "./commands/UpdateThingGroupsForThingCommand";
|
|
271
271
|
import { UpdateThingTypeCommand, } from "./commands/UpdateThingTypeCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
3
3
|
export const defaultIoTHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
3
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
5
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
6
|
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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
4
|
import { parseUrl } from "@smithy/url-parser";
|