@aws-sdk/client-iot-wireless 3.645.0 → 3.650.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/endpoint/endpointResolver.js +6 -2
- package/dist-cjs/index.js +112 -336
- package/dist-es/commands/AssociateAwsAccountWithPartnerAccountCommand.js +1 -3
- package/dist-es/commands/AssociateMulticastGroupWithFuotaTaskCommand.js +1 -3
- package/dist-es/commands/AssociateWirelessDeviceWithFuotaTaskCommand.js +1 -3
- package/dist-es/commands/AssociateWirelessDeviceWithMulticastGroupCommand.js +1 -3
- package/dist-es/commands/AssociateWirelessDeviceWithThingCommand.js +1 -3
- package/dist-es/commands/AssociateWirelessGatewayWithCertificateCommand.js +1 -3
- package/dist-es/commands/AssociateWirelessGatewayWithThingCommand.js +1 -3
- package/dist-es/commands/CancelMulticastGroupSessionCommand.js +1 -3
- package/dist-es/commands/CreateDestinationCommand.js +1 -3
- package/dist-es/commands/CreateDeviceProfileCommand.js +1 -3
- package/dist-es/commands/CreateFuotaTaskCommand.js +1 -3
- package/dist-es/commands/CreateMulticastGroupCommand.js +1 -3
- package/dist-es/commands/CreateNetworkAnalyzerConfigurationCommand.js +1 -3
- package/dist-es/commands/CreateServiceProfileCommand.js +1 -3
- package/dist-es/commands/CreateWirelessDeviceCommand.js +1 -3
- package/dist-es/commands/CreateWirelessGatewayCommand.js +1 -3
- package/dist-es/commands/CreateWirelessGatewayTaskCommand.js +1 -3
- package/dist-es/commands/CreateWirelessGatewayTaskDefinitionCommand.js +1 -3
- package/dist-es/commands/DeleteDestinationCommand.js +1 -3
- package/dist-es/commands/DeleteDeviceProfileCommand.js +1 -3
- package/dist-es/commands/DeleteFuotaTaskCommand.js +1 -3
- package/dist-es/commands/DeleteMulticastGroupCommand.js +1 -3
- package/dist-es/commands/DeleteNetworkAnalyzerConfigurationCommand.js +1 -3
- package/dist-es/commands/DeleteQueuedMessagesCommand.js +1 -3
- package/dist-es/commands/DeleteServiceProfileCommand.js +1 -3
- package/dist-es/commands/DeleteWirelessDeviceCommand.js +1 -3
- package/dist-es/commands/DeleteWirelessDeviceImportTaskCommand.js +1 -3
- package/dist-es/commands/DeleteWirelessGatewayCommand.js +1 -3
- package/dist-es/commands/DeleteWirelessGatewayTaskCommand.js +1 -3
- package/dist-es/commands/DeleteWirelessGatewayTaskDefinitionCommand.js +1 -3
- package/dist-es/commands/DeregisterWirelessDeviceCommand.js +1 -3
- package/dist-es/commands/DisassociateAwsAccountFromPartnerAccountCommand.js +1 -3
- package/dist-es/commands/DisassociateMulticastGroupFromFuotaTaskCommand.js +1 -3
- package/dist-es/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.js +1 -3
- package/dist-es/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.js +1 -3
- package/dist-es/commands/DisassociateWirelessDeviceFromThingCommand.js +1 -3
- package/dist-es/commands/DisassociateWirelessGatewayFromCertificateCommand.js +1 -3
- package/dist-es/commands/DisassociateWirelessGatewayFromThingCommand.js +1 -3
- package/dist-es/commands/GetDestinationCommand.js +1 -3
- package/dist-es/commands/GetDeviceProfileCommand.js +1 -3
- package/dist-es/commands/GetEventConfigurationByResourceTypesCommand.js +1 -3
- package/dist-es/commands/GetFuotaTaskCommand.js +1 -3
- package/dist-es/commands/GetLogLevelsByResourceTypesCommand.js +1 -3
- package/dist-es/commands/GetMetricConfigurationCommand.js +1 -3
- package/dist-es/commands/GetMetricsCommand.js +1 -3
- package/dist-es/commands/GetMulticastGroupCommand.js +1 -3
- package/dist-es/commands/GetMulticastGroupSessionCommand.js +1 -3
- package/dist-es/commands/GetNetworkAnalyzerConfigurationCommand.js +1 -3
- package/dist-es/commands/GetPartnerAccountCommand.js +1 -3
- package/dist-es/commands/GetPositionCommand.js +1 -3
- package/dist-es/commands/GetPositionConfigurationCommand.js +1 -3
- package/dist-es/commands/GetPositionEstimateCommand.js +1 -3
- package/dist-es/commands/GetResourceEventConfigurationCommand.js +1 -3
- package/dist-es/commands/GetResourceLogLevelCommand.js +1 -3
- package/dist-es/commands/GetResourcePositionCommand.js +1 -3
- package/dist-es/commands/GetServiceEndpointCommand.js +1 -3
- package/dist-es/commands/GetServiceProfileCommand.js +1 -3
- package/dist-es/commands/GetWirelessDeviceCommand.js +1 -3
- package/dist-es/commands/GetWirelessDeviceImportTaskCommand.js +1 -3
- package/dist-es/commands/GetWirelessDeviceStatisticsCommand.js +1 -3
- package/dist-es/commands/GetWirelessGatewayCertificateCommand.js +1 -3
- package/dist-es/commands/GetWirelessGatewayCommand.js +1 -3
- package/dist-es/commands/GetWirelessGatewayFirmwareInformationCommand.js +1 -3
- package/dist-es/commands/GetWirelessGatewayStatisticsCommand.js +1 -3
- package/dist-es/commands/GetWirelessGatewayTaskCommand.js +1 -3
- package/dist-es/commands/GetWirelessGatewayTaskDefinitionCommand.js +1 -3
- package/dist-es/commands/ListDestinationsCommand.js +1 -3
- package/dist-es/commands/ListDeviceProfilesCommand.js +1 -3
- package/dist-es/commands/ListDevicesForWirelessDeviceImportTaskCommand.js +1 -3
- package/dist-es/commands/ListEventConfigurationsCommand.js +1 -3
- package/dist-es/commands/ListFuotaTasksCommand.js +1 -3
- package/dist-es/commands/ListMulticastGroupsByFuotaTaskCommand.js +1 -3
- package/dist-es/commands/ListMulticastGroupsCommand.js +1 -3
- package/dist-es/commands/ListNetworkAnalyzerConfigurationsCommand.js +1 -3
- package/dist-es/commands/ListPartnerAccountsCommand.js +1 -3
- package/dist-es/commands/ListPositionConfigurationsCommand.js +1 -3
- package/dist-es/commands/ListQueuedMessagesCommand.js +1 -3
- package/dist-es/commands/ListServiceProfilesCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/ListWirelessDeviceImportTasksCommand.js +1 -3
- package/dist-es/commands/ListWirelessDevicesCommand.js +1 -3
- package/dist-es/commands/ListWirelessGatewayTaskDefinitionsCommand.js +1 -3
- package/dist-es/commands/ListWirelessGatewaysCommand.js +1 -3
- package/dist-es/commands/PutPositionConfigurationCommand.js +1 -3
- package/dist-es/commands/PutResourceLogLevelCommand.js +1 -3
- package/dist-es/commands/ResetAllResourceLogLevelsCommand.js +1 -3
- package/dist-es/commands/ResetResourceLogLevelCommand.js +1 -3
- package/dist-es/commands/SendDataToMulticastGroupCommand.js +1 -3
- package/dist-es/commands/SendDataToWirelessDeviceCommand.js +1 -3
- package/dist-es/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.js +1 -3
- package/dist-es/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.js +1 -3
- package/dist-es/commands/StartFuotaTaskCommand.js +1 -3
- package/dist-es/commands/StartMulticastGroupSessionCommand.js +1 -3
- package/dist-es/commands/StartSingleWirelessDeviceImportTaskCommand.js +1 -3
- package/dist-es/commands/StartWirelessDeviceImportTaskCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/TestWirelessDeviceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateDestinationCommand.js +1 -3
- package/dist-es/commands/UpdateEventConfigurationByResourceTypesCommand.js +1 -3
- package/dist-es/commands/UpdateFuotaTaskCommand.js +1 -3
- package/dist-es/commands/UpdateLogLevelsByResourceTypesCommand.js +1 -3
- package/dist-es/commands/UpdateMetricConfigurationCommand.js +1 -3
- package/dist-es/commands/UpdateMulticastGroupCommand.js +1 -3
- package/dist-es/commands/UpdateNetworkAnalyzerConfigurationCommand.js +1 -3
- package/dist-es/commands/UpdatePartnerAccountCommand.js +1 -3
- package/dist-es/commands/UpdatePositionCommand.js +1 -3
- package/dist-es/commands/UpdateResourceEventConfigurationCommand.js +1 -3
- package/dist-es/commands/UpdateResourcePositionCommand.js +1 -3
- package/dist-es/commands/UpdateWirelessDeviceCommand.js +1 -3
- package/dist-es/commands/UpdateWirelessDeviceImportTaskCommand.js +1 -3
- package/dist-es/commands/UpdateWirelessGatewayCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +36 -36
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|