@aws-sdk/client-cloudtrail 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.
Files changed (59) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +49 -147
  3. package/dist-es/commands/AddTagsCommand.js +1 -3
  4. package/dist-es/commands/CancelQueryCommand.js +1 -3
  5. package/dist-es/commands/CreateChannelCommand.js +1 -3
  6. package/dist-es/commands/CreateEventDataStoreCommand.js +1 -3
  7. package/dist-es/commands/CreateTrailCommand.js +1 -3
  8. package/dist-es/commands/DeleteChannelCommand.js +1 -3
  9. package/dist-es/commands/DeleteEventDataStoreCommand.js +1 -3
  10. package/dist-es/commands/DeleteResourcePolicyCommand.js +1 -3
  11. package/dist-es/commands/DeleteTrailCommand.js +1 -3
  12. package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +1 -3
  13. package/dist-es/commands/DescribeQueryCommand.js +1 -3
  14. package/dist-es/commands/DescribeTrailsCommand.js +1 -3
  15. package/dist-es/commands/DisableFederationCommand.js +1 -3
  16. package/dist-es/commands/EnableFederationCommand.js +1 -3
  17. package/dist-es/commands/GetChannelCommand.js +1 -3
  18. package/dist-es/commands/GetEventDataStoreCommand.js +1 -3
  19. package/dist-es/commands/GetEventSelectorsCommand.js +1 -3
  20. package/dist-es/commands/GetImportCommand.js +1 -3
  21. package/dist-es/commands/GetInsightSelectorsCommand.js +1 -3
  22. package/dist-es/commands/GetQueryResultsCommand.js +1 -3
  23. package/dist-es/commands/GetResourcePolicyCommand.js +1 -3
  24. package/dist-es/commands/GetTrailCommand.js +1 -3
  25. package/dist-es/commands/GetTrailStatusCommand.js +1 -3
  26. package/dist-es/commands/ListChannelsCommand.js +1 -3
  27. package/dist-es/commands/ListEventDataStoresCommand.js +1 -3
  28. package/dist-es/commands/ListImportFailuresCommand.js +1 -3
  29. package/dist-es/commands/ListImportsCommand.js +1 -3
  30. package/dist-es/commands/ListInsightsMetricDataCommand.js +1 -3
  31. package/dist-es/commands/ListPublicKeysCommand.js +1 -3
  32. package/dist-es/commands/ListQueriesCommand.js +1 -3
  33. package/dist-es/commands/ListTagsCommand.js +1 -3
  34. package/dist-es/commands/ListTrailsCommand.js +1 -3
  35. package/dist-es/commands/LookupEventsCommand.js +1 -3
  36. package/dist-es/commands/PutEventSelectorsCommand.js +1 -3
  37. package/dist-es/commands/PutInsightSelectorsCommand.js +1 -3
  38. package/dist-es/commands/PutResourcePolicyCommand.js +1 -3
  39. package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +1 -3
  40. package/dist-es/commands/RemoveTagsCommand.js +1 -3
  41. package/dist-es/commands/RestoreEventDataStoreCommand.js +1 -3
  42. package/dist-es/commands/StartEventDataStoreIngestionCommand.js +1 -3
  43. package/dist-es/commands/StartImportCommand.js +1 -3
  44. package/dist-es/commands/StartLoggingCommand.js +1 -3
  45. package/dist-es/commands/StartQueryCommand.js +1 -3
  46. package/dist-es/commands/StopEventDataStoreIngestionCommand.js +1 -3
  47. package/dist-es/commands/StopImportCommand.js +1 -3
  48. package/dist-es/commands/StopLoggingCommand.js +1 -3
  49. package/dist-es/commands/UpdateChannelCommand.js +1 -3
  50. package/dist-es/commands/UpdateEventDataStoreCommand.js +1 -3
  51. package/dist-es/commands/UpdateTrailCommand.js +1 -3
  52. package/dist-es/endpoint/endpointResolver.js +7 -3
  53. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  54. package/dist-types/runtimeConfig.d.ts +2 -0
  55. package/dist-types/runtimeConfig.native.d.ts +2 -0
  56. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  57. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  58. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  59. package/package.json +35 -35
@@ -6,9 +6,7 @@ import { de_DeregisterOrganizationDelegatedAdminCommand, se_DeregisterOrganizati
6
6
  export { $Command };
7
7
  export class DeregisterOrganizationDelegatedAdminCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeQueryCommand, se_DescribeQueryCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class DescribeQueryCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeTrailsCommand, se_DescribeTrailsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DescribeTrailsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DisableFederationCommand, se_DisableFederationCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DisableFederationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_EnableFederationCommand, se_EnableFederationCommand } from "../proto
6
6
  export { $Command };
7
7
  export class EnableFederationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetChannelCommand, se_GetChannelCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class GetChannelCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetEventDataStoreCommand, se_GetEventDataStoreCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetEventDataStoreCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetEventSelectorsCommand, se_GetEventSelectorsCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetEventSelectorsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetImportCommand, se_GetImportCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class GetImportCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetInsightSelectorsCommand, se_GetInsightSelectorsCommand } from "..
6
6
  export { $Command };
7
7
  export class GetInsightSelectorsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetQueryResultsCommand, se_GetQueryResultsCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class GetQueryResultsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetTrailCommand, se_GetTrailCommand } from "../protocols/Aws_json1_1
6
6
  export { $Command };
7
7
  export class GetTrailCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetTrailStatusCommand, se_GetTrailStatusCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class GetTrailStatusCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class ListChannelsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListEventDataStoresCommand, se_ListEventDataStoresCommand } from "..
6
6
  export { $Command };
7
7
  export class ListEventDataStoresCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListImportFailuresCommand, se_ListImportFailuresCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListImportFailuresCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListImportsCommand, se_ListImportsCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ListImportsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListInsightsMetricDataCommand, se_ListInsightsMetricDataCommand } fr
6
6
  export { $Command };
7
7
  export class ListInsightsMetricDataCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListPublicKeysCommand, se_ListPublicKeysCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListPublicKeysCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListQueriesCommand, se_ListQueriesCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ListQueriesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_json1_1
6
6
  export { $Command };
7
7
  export class ListTagsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTrailsCommand, se_ListTrailsCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class ListTrailsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_LookupEventsCommand, se_LookupEventsCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class LookupEventsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PutEventSelectorsCommand, se_PutEventSelectorsCommand } from "../pro
6
6
  export { $Command };
7
7
  export class PutEventSelectorsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PutInsightSelectorsCommand, se_PutInsightSelectorsCommand } from "..
6
6
  export { $Command };
7
7
  export class PutInsightSelectorsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class PutResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RegisterOrganizationDelegatedAdminCommand, se_RegisterOrganizationDe
6
6
  export { $Command };
7
7
  export class RegisterOrganizationDelegatedAdminCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RemoveTagsCommand, se_RemoveTagsCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class RemoveTagsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RestoreEventDataStoreCommand, se_RestoreEventDataStoreCommand } from
6
6
  export { $Command };
7
7
  export class RestoreEventDataStoreCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StartEventDataStoreIngestionCommand, se_StartEventDataStoreIngestion
6
6
  export { $Command };
7
7
  export class StartEventDataStoreIngestionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StartImportCommand, se_StartImportCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class StartImportCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StartLoggingCommand, se_StartLoggingCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class StartLoggingCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StartQueryCommand, se_StartQueryCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class StartQueryCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StopEventDataStoreIngestionCommand, se_StopEventDataStoreIngestionCo
6
6
  export { $Command };
7
7
  export class StopEventDataStoreIngestionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StopImportCommand, se_StopImportCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class StopImportCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StopLoggingCommand, se_StopLoggingCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class StopLoggingCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UpdateChannelCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateEventDataStoreCommand, se_UpdateEventDataStoreCommand } from "
6
6
  export { $Command };
7
7
  export class UpdateEventDataStoreCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateTrailCommand, se_UpdateTrailCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class UpdateTrailCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudTrailHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudTrailHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
10
11
  urlParser: import("@smithy/types").UrlParser;
11
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
13
  streamCollector: import("@smithy/types").StreamCollector;
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
33
34
  logger?: import("@smithy/types").Logger | undefined;
34
35
  }) => import("@smithy/types").EndpointV2;
35
36
  tls?: boolean | undefined;
37
+ serviceConfiguredEndpoint?: undefined;
36
38
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
37
39
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudTrailHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
23
23
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
25
  apiVersion: string;
26
+ cacheMiddleware?: boolean | undefined;
26
27
  urlParser: import("@smithy/types").UrlParser;
27
28
  base64Decoder: import("@smithy/types").Decoder;
28
29
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
61
62
  }
62
63
  ) => import("@smithy/types").EndpointV2;
63
64
  tls?: boolean | undefined;
65
+ serviceConfiguredEndpoint?: undefined;
64
66
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
65
67
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudTrailHttpAuthSchemeProvider;
66
68
  credentials?:
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
27
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  apiVersion: string;
30
+ cacheMiddleware?: boolean | undefined;
30
31
  urlParser: import("@smithy/types").UrlParser;
31
32
  base64Decoder: import("@smithy/types").Decoder;
32
33
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
65
66
  }
66
67
  ) => import("@smithy/types").EndpointV2;
67
68
  tls?: boolean | undefined;
69
+ serviceConfiguredEndpoint?: undefined;
68
70
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
69
71
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudTrailHttpAuthSchemeProvider;
70
72
  credentials?:
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
+ cacheMiddleware?: boolean | undefined;
12
13
  urlParser: import("@smithy/types").UrlParser;
13
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
55
56
  }
56
57
  ) => import("@smithy/types").EndpointV2;
57
58
  tls?: boolean | undefined;
59
+ serviceConfiguredEndpoint?: undefined;
58
60
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
59
61
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudTrailHttpAuthSchemeProvider;
60
62
  credentials?: