@aws-sdk/client-cloudtrail 3.413.0 → 3.418.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 (97) hide show
  1. package/dist-cjs/commands/AddTagsCommand.js +5 -0
  2. package/dist-cjs/commands/CancelQueryCommand.js +5 -0
  3. package/dist-cjs/commands/CreateChannelCommand.js +5 -0
  4. package/dist-cjs/commands/CreateEventDataStoreCommand.js +5 -0
  5. package/dist-cjs/commands/CreateTrailCommand.js +5 -0
  6. package/dist-cjs/commands/DeleteChannelCommand.js +5 -0
  7. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +5 -0
  8. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +5 -0
  9. package/dist-cjs/commands/DeleteTrailCommand.js +5 -0
  10. package/dist-cjs/commands/DeregisterOrganizationDelegatedAdminCommand.js +5 -0
  11. package/dist-cjs/commands/DescribeQueryCommand.js +5 -0
  12. package/dist-cjs/commands/DescribeTrailsCommand.js +5 -0
  13. package/dist-cjs/commands/GetChannelCommand.js +5 -0
  14. package/dist-cjs/commands/GetEventDataStoreCommand.js +5 -0
  15. package/dist-cjs/commands/GetEventSelectorsCommand.js +5 -0
  16. package/dist-cjs/commands/GetImportCommand.js +5 -0
  17. package/dist-cjs/commands/GetInsightSelectorsCommand.js +5 -0
  18. package/dist-cjs/commands/GetQueryResultsCommand.js +5 -0
  19. package/dist-cjs/commands/GetResourcePolicyCommand.js +5 -0
  20. package/dist-cjs/commands/GetTrailCommand.js +5 -0
  21. package/dist-cjs/commands/GetTrailStatusCommand.js +5 -0
  22. package/dist-cjs/commands/ListChannelsCommand.js +5 -0
  23. package/dist-cjs/commands/ListEventDataStoresCommand.js +5 -0
  24. package/dist-cjs/commands/ListImportFailuresCommand.js +5 -0
  25. package/dist-cjs/commands/ListImportsCommand.js +5 -0
  26. package/dist-cjs/commands/ListPublicKeysCommand.js +5 -0
  27. package/dist-cjs/commands/ListQueriesCommand.js +5 -0
  28. package/dist-cjs/commands/ListTagsCommand.js +5 -0
  29. package/dist-cjs/commands/ListTrailsCommand.js +5 -0
  30. package/dist-cjs/commands/LookupEventsCommand.js +5 -0
  31. package/dist-cjs/commands/PutEventSelectorsCommand.js +5 -0
  32. package/dist-cjs/commands/PutInsightSelectorsCommand.js +5 -0
  33. package/dist-cjs/commands/PutResourcePolicyCommand.js +5 -0
  34. package/dist-cjs/commands/RegisterOrganizationDelegatedAdminCommand.js +5 -0
  35. package/dist-cjs/commands/RemoveTagsCommand.js +5 -0
  36. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +5 -0
  37. package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +5 -0
  38. package/dist-cjs/commands/StartImportCommand.js +5 -0
  39. package/dist-cjs/commands/StartLoggingCommand.js +5 -0
  40. package/dist-cjs/commands/StartQueryCommand.js +5 -0
  41. package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +5 -0
  42. package/dist-cjs/commands/StopImportCommand.js +5 -0
  43. package/dist-cjs/commands/StopLoggingCommand.js +5 -0
  44. package/dist-cjs/commands/UpdateChannelCommand.js +5 -0
  45. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +5 -0
  46. package/dist-cjs/commands/UpdateTrailCommand.js +5 -0
  47. package/dist-cjs/runtimeExtensions.js +3 -0
  48. package/dist-es/commands/AddTagsCommand.js +5 -0
  49. package/dist-es/commands/CancelQueryCommand.js +5 -0
  50. package/dist-es/commands/CreateChannelCommand.js +5 -0
  51. package/dist-es/commands/CreateEventDataStoreCommand.js +5 -0
  52. package/dist-es/commands/CreateTrailCommand.js +5 -0
  53. package/dist-es/commands/DeleteChannelCommand.js +5 -0
  54. package/dist-es/commands/DeleteEventDataStoreCommand.js +5 -0
  55. package/dist-es/commands/DeleteResourcePolicyCommand.js +5 -0
  56. package/dist-es/commands/DeleteTrailCommand.js +5 -0
  57. package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +5 -0
  58. package/dist-es/commands/DescribeQueryCommand.js +5 -0
  59. package/dist-es/commands/DescribeTrailsCommand.js +5 -0
  60. package/dist-es/commands/GetChannelCommand.js +5 -0
  61. package/dist-es/commands/GetEventDataStoreCommand.js +5 -0
  62. package/dist-es/commands/GetEventSelectorsCommand.js +5 -0
  63. package/dist-es/commands/GetImportCommand.js +5 -0
  64. package/dist-es/commands/GetInsightSelectorsCommand.js +5 -0
  65. package/dist-es/commands/GetQueryResultsCommand.js +5 -0
  66. package/dist-es/commands/GetResourcePolicyCommand.js +5 -0
  67. package/dist-es/commands/GetTrailCommand.js +5 -0
  68. package/dist-es/commands/GetTrailStatusCommand.js +5 -0
  69. package/dist-es/commands/ListChannelsCommand.js +5 -0
  70. package/dist-es/commands/ListEventDataStoresCommand.js +5 -0
  71. package/dist-es/commands/ListImportFailuresCommand.js +5 -0
  72. package/dist-es/commands/ListImportsCommand.js +5 -0
  73. package/dist-es/commands/ListPublicKeysCommand.js +5 -0
  74. package/dist-es/commands/ListQueriesCommand.js +5 -0
  75. package/dist-es/commands/ListTagsCommand.js +5 -0
  76. package/dist-es/commands/ListTrailsCommand.js +5 -0
  77. package/dist-es/commands/LookupEventsCommand.js +5 -0
  78. package/dist-es/commands/PutEventSelectorsCommand.js +5 -0
  79. package/dist-es/commands/PutInsightSelectorsCommand.js +5 -0
  80. package/dist-es/commands/PutResourcePolicyCommand.js +5 -0
  81. package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +5 -0
  82. package/dist-es/commands/RemoveTagsCommand.js +5 -0
  83. package/dist-es/commands/RestoreEventDataStoreCommand.js +5 -0
  84. package/dist-es/commands/StartEventDataStoreIngestionCommand.js +5 -0
  85. package/dist-es/commands/StartImportCommand.js +5 -0
  86. package/dist-es/commands/StartLoggingCommand.js +5 -0
  87. package/dist-es/commands/StartQueryCommand.js +5 -0
  88. package/dist-es/commands/StopEventDataStoreIngestionCommand.js +5 -0
  89. package/dist-es/commands/StopImportCommand.js +5 -0
  90. package/dist-es/commands/StopLoggingCommand.js +5 -0
  91. package/dist-es/commands/UpdateChannelCommand.js +5 -0
  92. package/dist-es/commands/UpdateEventDataStoreCommand.js +5 -0
  93. package/dist-es/commands/UpdateTrailCommand.js +5 -0
  94. package/dist-es/runtimeExtensions.js +3 -0
  95. package/dist-types/extensionConfiguration.d.ts +2 -1
  96. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  97. package/package.json +31 -30
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetQueryResultsCommand, se_GetQueryResultsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class GetQueryResultsCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetQueryResultsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "GetQueryResults",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class GetResourcePolicyCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetResourcePolicyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "GetResourcePolicy",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetTrailCommand, se_GetTrailCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class GetTrailCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetTrailCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "GetTrail",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetTrailStatusCommand, se_GetTrailStatusCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class GetTrailStatusCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetTrailStatusCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "GetTrailStatus",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListChannelsCommand, se_ListChannelsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListChannelsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListChannelsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "ListChannels",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListEventDataStoresCommand, se_ListEventDataStoresCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListEventDataStoresCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListEventDataStoresCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "ListEventDataStores",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListImportFailuresCommand, se_ListImportFailuresCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListImportFailuresCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListImportFailuresCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "ListImportFailures",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListImportsCommand, se_ListImportsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListImportsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListImportsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "ListImports",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListPublicKeysCommand, se_ListPublicKeysCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListPublicKeysCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListPublicKeysCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "ListPublicKeys",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListQueriesCommand, se_ListQueriesCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListQueriesCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListQueriesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "ListQueries",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListTagsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTagsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "ListTags",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListTrailsCommand, se_ListTrailsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class ListTrailsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTrailsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "ListTrails",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_LookupEventsCommand, se_LookupEventsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class LookupEventsCommand extends $Command {
@@ -29,6 +30,10 @@ export class LookupEventsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "LookupEvents",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutEventSelectorsCommand, se_PutEventSelectorsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutEventSelectorsCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutEventSelectorsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "PutEventSelectors",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutInsightSelectorsCommand, se_PutInsightSelectorsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutInsightSelectorsCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutInsightSelectorsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "PutInsightSelectors",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class PutResourcePolicyCommand extends $Command {
@@ -29,6 +30,10 @@ export class PutResourcePolicyCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "PutResourcePolicy",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_RegisterOrganizationDelegatedAdminCommand, se_RegisterOrganizationDelegatedAdminCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class RegisterOrganizationDelegatedAdminCommand extends $Command {
@@ -29,6 +30,10 @@ export class RegisterOrganizationDelegatedAdminCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "RegisterOrganizationDelegatedAdmin",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_RemoveTagsCommand, se_RemoveTagsCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class RemoveTagsCommand extends $Command {
@@ -29,6 +30,10 @@ export class RemoveTagsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "RemoveTags",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_RestoreEventDataStoreCommand, se_RestoreEventDataStoreCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class RestoreEventDataStoreCommand extends $Command {
@@ -29,6 +30,10 @@ export class RestoreEventDataStoreCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "RestoreEventDataStore",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StartEventDataStoreIngestionCommand, se_StartEventDataStoreIngestionCommand, } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StartEventDataStoreIngestionCommand extends $Command {
@@ -29,6 +30,10 @@ export class StartEventDataStoreIngestionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "StartEventDataStoreIngestion",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StartImportCommand, se_StartImportCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StartImportCommand extends $Command {
@@ -29,6 +30,10 @@ export class StartImportCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "StartImport",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StartLoggingCommand, se_StartLoggingCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StartLoggingCommand extends $Command {
@@ -29,6 +30,10 @@ export class StartLoggingCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "StartLogging",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StartQueryCommand, se_StartQueryCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StartQueryCommand extends $Command {
@@ -29,6 +30,10 @@ export class StartQueryCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "StartQuery",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StopEventDataStoreIngestionCommand, se_StopEventDataStoreIngestionCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StopEventDataStoreIngestionCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopEventDataStoreIngestionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "StopEventDataStoreIngestion",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StopImportCommand, se_StopImportCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StopImportCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopImportCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "StopImport",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_StopLoggingCommand, se_StopLoggingCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class StopLoggingCommand extends $Command {
@@ -29,6 +30,10 @@ export class StopLoggingCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "StopLogging",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateChannelCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateChannelCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "UpdateChannel",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateEventDataStoreCommand, se_UpdateEventDataStoreCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateEventDataStoreCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateEventDataStoreCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "UpdateEventDataStore",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateTrailCommand, se_UpdateTrailCommand } from "../protocols/Aws_json1_1";
5
6
  export { $Command };
6
7
  export class UpdateTrailCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateTrailCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "CloudTrail_20131101",
35
+ operation: "UpdateTrail",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,14 +1,17 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
1
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
2
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
3
4
  const asPartial = (t) => t;
4
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
5
6
  const extensionConfiguration = {
7
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
6
8
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
9
  ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
8
10
  };
9
11
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
10
12
  return {
11
13
  ...runtimeConfig,
14
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
12
15
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
16
  ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
14
17
  };
@@ -1,7 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface CloudTrailExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface CloudTrailExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
7
8
  }
@@ -1,5 +1,7 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  export interface CloudTrailExtensionConfiguration
4
5
  extends HttpHandlerExtensionConfiguration,
5
- DefaultExtensionConfiguration {}
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}