@aws-sdk/client-networkflowmonitor 3.703.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 (207) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +417 -0
  3. package/dist-cjs/NetworkFlowMonitor.js +61 -0
  4. package/dist-cjs/NetworkFlowMonitorClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateMonitorCommand.js +26 -0
  8. package/dist-cjs/commands/CreateScopeCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteMonitorCommand.js +26 -0
  10. package/dist-cjs/commands/DeleteScopeCommand.js +26 -0
  11. package/dist-cjs/commands/GetMonitorCommand.js +26 -0
  12. package/dist-cjs/commands/GetQueryResultsMonitorTopContributorsCommand.js +26 -0
  13. package/dist-cjs/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.js +26 -0
  14. package/dist-cjs/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.js +26 -0
  15. package/dist-cjs/commands/GetQueryStatusMonitorTopContributorsCommand.js +26 -0
  16. package/dist-cjs/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.js +26 -0
  17. package/dist-cjs/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.js +26 -0
  18. package/dist-cjs/commands/GetScopeCommand.js +26 -0
  19. package/dist-cjs/commands/ListMonitorsCommand.js +26 -0
  20. package/dist-cjs/commands/ListScopesCommand.js +26 -0
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  22. package/dist-cjs/commands/StartQueryMonitorTopContributorsCommand.js +26 -0
  23. package/dist-cjs/commands/StartQueryWorkloadInsightsTopContributorsCommand.js +26 -0
  24. package/dist-cjs/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.js +26 -0
  25. package/dist-cjs/commands/StopQueryMonitorTopContributorsCommand.js +26 -0
  26. package/dist-cjs/commands/StopQueryWorkloadInsightsTopContributorsCommand.js +26 -0
  27. package/dist-cjs/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.js +26 -0
  28. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  29. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  30. package/dist-cjs/commands/UpdateMonitorCommand.js +26 -0
  31. package/dist-cjs/commands/UpdateScopeCommand.js +26 -0
  32. package/dist-cjs/commands/index.js +28 -0
  33. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  34. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  35. package/dist-cjs/endpoint/ruleset.js +7 -0
  36. package/dist-cjs/extensionConfiguration.js +2 -0
  37. package/dist-cjs/index.js +11 -0
  38. package/dist-cjs/models/NetworkFlowMonitorServiceException.js +12 -0
  39. package/dist-cjs/models/index.js +4 -0
  40. package/dist-cjs/models/models_0.js +188 -0
  41. package/dist-cjs/pagination/GetQueryResultsMonitorTopContributorsPaginator.js +7 -0
  42. package/dist-cjs/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.js +7 -0
  43. package/dist-cjs/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.js +7 -0
  44. package/dist-cjs/pagination/Interfaces.js +2 -0
  45. package/dist-cjs/pagination/ListMonitorsPaginator.js +7 -0
  46. package/dist-cjs/pagination/ListScopesPaginator.js +7 -0
  47. package/dist-cjs/pagination/index.js +9 -0
  48. package/dist-cjs/protocols/Aws_restJson1.js +907 -0
  49. package/dist-cjs/runtimeConfig.browser.js +39 -0
  50. package/dist-cjs/runtimeConfig.js +50 -0
  51. package/dist-cjs/runtimeConfig.native.js +15 -0
  52. package/dist-cjs/runtimeConfig.shared.js +34 -0
  53. package/dist-cjs/runtimeExtensions.js +25 -0
  54. package/dist-es/NetworkFlowMonitor.js +57 -0
  55. package/dist-es/NetworkFlowMonitorClient.js +46 -0
  56. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  57. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  58. package/dist-es/commands/CreateMonitorCommand.js +22 -0
  59. package/dist-es/commands/CreateScopeCommand.js +22 -0
  60. package/dist-es/commands/DeleteMonitorCommand.js +22 -0
  61. package/dist-es/commands/DeleteScopeCommand.js +22 -0
  62. package/dist-es/commands/GetMonitorCommand.js +22 -0
  63. package/dist-es/commands/GetQueryResultsMonitorTopContributorsCommand.js +22 -0
  64. package/dist-es/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.js +22 -0
  65. package/dist-es/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.js +22 -0
  66. package/dist-es/commands/GetQueryStatusMonitorTopContributorsCommand.js +22 -0
  67. package/dist-es/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.js +22 -0
  68. package/dist-es/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.js +22 -0
  69. package/dist-es/commands/GetScopeCommand.js +22 -0
  70. package/dist-es/commands/ListMonitorsCommand.js +22 -0
  71. package/dist-es/commands/ListScopesCommand.js +22 -0
  72. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  73. package/dist-es/commands/StartQueryMonitorTopContributorsCommand.js +22 -0
  74. package/dist-es/commands/StartQueryWorkloadInsightsTopContributorsCommand.js +22 -0
  75. package/dist-es/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.js +22 -0
  76. package/dist-es/commands/StopQueryMonitorTopContributorsCommand.js +22 -0
  77. package/dist-es/commands/StopQueryWorkloadInsightsTopContributorsCommand.js +22 -0
  78. package/dist-es/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.js +22 -0
  79. package/dist-es/commands/TagResourceCommand.js +22 -0
  80. package/dist-es/commands/UntagResourceCommand.js +22 -0
  81. package/dist-es/commands/UpdateMonitorCommand.js +22 -0
  82. package/dist-es/commands/UpdateScopeCommand.js +22 -0
  83. package/dist-es/commands/index.js +25 -0
  84. package/dist-es/endpoint/EndpointParameters.js +12 -0
  85. package/dist-es/endpoint/endpointResolver.js +14 -0
  86. package/dist-es/endpoint/ruleset.js +4 -0
  87. package/dist-es/extensionConfiguration.js +1 -0
  88. package/dist-es/index.js +6 -0
  89. package/dist-es/models/NetworkFlowMonitorServiceException.js +8 -0
  90. package/dist-es/models/index.js +1 -0
  91. package/dist-es/models/models_0.js +178 -0
  92. package/dist-es/pagination/GetQueryResultsMonitorTopContributorsPaginator.js +4 -0
  93. package/dist-es/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.js +4 -0
  94. package/dist-es/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.js +4 -0
  95. package/dist-es/pagination/Interfaces.js +1 -0
  96. package/dist-es/pagination/ListMonitorsPaginator.js +4 -0
  97. package/dist-es/pagination/ListScopesPaginator.js +4 -0
  98. package/dist-es/pagination/index.js +6 -0
  99. package/dist-es/protocols/Aws_restJson1.js +854 -0
  100. package/dist-es/runtimeConfig.browser.js +34 -0
  101. package/dist-es/runtimeConfig.js +45 -0
  102. package/dist-es/runtimeConfig.native.js +11 -0
  103. package/dist-es/runtimeConfig.shared.js +30 -0
  104. package/dist-es/runtimeExtensions.js +21 -0
  105. package/dist-types/NetworkFlowMonitor.d.ts +199 -0
  106. package/dist-types/NetworkFlowMonitorClient.d.ts +206 -0
  107. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  108. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  109. package/dist-types/commands/CreateMonitorCommand.d.ts +129 -0
  110. package/dist-types/commands/CreateScopeCommand.d.ts +112 -0
  111. package/dist-types/commands/DeleteMonitorCommand.d.ts +84 -0
  112. package/dist-types/commands/DeleteScopeCommand.d.ts +84 -0
  113. package/dist-types/commands/GetMonitorCommand.d.ts +106 -0
  114. package/dist-types/commands/GetQueryResultsMonitorTopContributorsCommand.d.ts +143 -0
  115. package/dist-types/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.d.ts +112 -0
  116. package/dist-types/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.d.ts +115 -0
  117. package/dist-types/commands/GetQueryStatusMonitorTopContributorsCommand.d.ts +93 -0
  118. package/dist-types/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.d.ts +94 -0
  119. package/dist-types/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.d.ts +95 -0
  120. package/dist-types/commands/GetScopeCommand.d.ts +103 -0
  121. package/dist-types/commands/ListMonitorsCommand.d.ts +93 -0
  122. package/dist-types/commands/ListScopesCommand.d.ts +94 -0
  123. package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
  124. package/dist-types/commands/StartQueryMonitorTopContributorsCommand.d.ts +95 -0
  125. package/dist-types/commands/StartQueryWorkloadInsightsTopContributorsCommand.d.ts +95 -0
  126. package/dist-types/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.d.ts +100 -0
  127. package/dist-types/commands/StopQueryMonitorTopContributorsCommand.d.ts +89 -0
  128. package/dist-types/commands/StopQueryWorkloadInsightsTopContributorsCommand.d.ts +89 -0
  129. package/dist-types/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.d.ts +93 -0
  130. package/dist-types/commands/TagResourceCommand.d.ts +90 -0
  131. package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
  132. package/dist-types/commands/UpdateMonitorCommand.d.ts +130 -0
  133. package/dist-types/commands/UpdateScopeCommand.d.ts +114 -0
  134. package/dist-types/commands/index.d.ts +25 -0
  135. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  136. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  137. package/dist-types/endpoint/ruleset.d.ts +2 -0
  138. package/dist-types/extensionConfiguration.d.ts +9 -0
  139. package/dist-types/index.d.ts +26 -0
  140. package/dist-types/models/NetworkFlowMonitorServiceException.d.ts +14 -0
  141. package/dist-types/models/index.d.ts +1 -0
  142. package/dist-types/models/models_0.d.ts +1904 -0
  143. package/dist-types/pagination/GetQueryResultsMonitorTopContributorsPaginator.d.ts +7 -0
  144. package/dist-types/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.d.ts +7 -0
  145. package/dist-types/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.d.ts +7 -0
  146. package/dist-types/pagination/Interfaces.d.ts +8 -0
  147. package/dist-types/pagination/ListMonitorsPaginator.d.ts +7 -0
  148. package/dist-types/pagination/ListScopesPaginator.d.ts +7 -0
  149. package/dist-types/pagination/index.d.ts +6 -0
  150. package/dist-types/protocols/Aws_restJson1.d.ts +227 -0
  151. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  152. package/dist-types/runtimeConfig.d.ts +48 -0
  153. package/dist-types/runtimeConfig.native.d.ts +47 -0
  154. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  155. package/dist-types/runtimeExtensions.d.ts +17 -0
  156. package/dist-types/ts3.4/NetworkFlowMonitor.d.ts +494 -0
  157. package/dist-types/ts3.4/NetworkFlowMonitorClient.d.ts +271 -0
  158. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  159. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  160. package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +47 -0
  161. package/dist-types/ts3.4/commands/CreateScopeCommand.d.ts +47 -0
  162. package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +47 -0
  163. package/dist-types/ts3.4/commands/DeleteScopeCommand.d.ts +47 -0
  164. package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +47 -0
  165. package/dist-types/ts3.4/commands/GetQueryResultsMonitorTopContributorsCommand.d.ts +51 -0
  166. package/dist-types/ts3.4/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.d.ts +51 -0
  167. package/dist-types/ts3.4/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
  168. package/dist-types/ts3.4/commands/GetQueryStatusMonitorTopContributorsCommand.d.ts +51 -0
  169. package/dist-types/ts3.4/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.d.ts +51 -0
  170. package/dist-types/ts3.4/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
  171. package/dist-types/ts3.4/commands/GetScopeCommand.d.ts +47 -0
  172. package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +47 -0
  173. package/dist-types/ts3.4/commands/ListScopesCommand.d.ts +47 -0
  174. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  175. package/dist-types/ts3.4/commands/StartQueryMonitorTopContributorsCommand.d.ts +51 -0
  176. package/dist-types/ts3.4/commands/StartQueryWorkloadInsightsTopContributorsCommand.d.ts +51 -0
  177. package/dist-types/ts3.4/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
  178. package/dist-types/ts3.4/commands/StopQueryMonitorTopContributorsCommand.d.ts +51 -0
  179. package/dist-types/ts3.4/commands/StopQueryWorkloadInsightsTopContributorsCommand.d.ts +51 -0
  180. package/dist-types/ts3.4/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
  181. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  182. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
  183. package/dist-types/ts3.4/commands/UpdateMonitorCommand.d.ts +47 -0
  184. package/dist-types/ts3.4/commands/UpdateScopeCommand.d.ts +47 -0
  185. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  186. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  187. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  188. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  189. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  190. package/dist-types/ts3.4/index.d.ts +9 -0
  191. package/dist-types/ts3.4/models/NetworkFlowMonitorServiceException.d.ts +9 -0
  192. package/dist-types/ts3.4/models/index.d.ts +1 -0
  193. package/dist-types/ts3.4/models/models_0.d.ts +469 -0
  194. package/dist-types/ts3.4/pagination/GetQueryResultsMonitorTopContributorsPaginator.d.ts +11 -0
  195. package/dist-types/ts3.4/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.d.ts +11 -0
  196. package/dist-types/ts3.4/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.d.ts +11 -0
  197. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  198. package/dist-types/ts3.4/pagination/ListMonitorsPaginator.d.ts +11 -0
  199. package/dist-types/ts3.4/pagination/ListScopesPaginator.d.ts +11 -0
  200. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  201. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +305 -0
  202. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  203. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  204. package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
  205. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  206. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  207. package/package.json +103 -0
@@ -0,0 +1,130 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateMonitorInput, UpdateMonitorOutput } from "../models/models_0";
4
+ import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateMonitorCommand}.
14
+ */
15
+ export interface UpdateMonitorCommandInput extends UpdateMonitorInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateMonitorCommand}.
21
+ */
22
+ export interface UpdateMonitorCommandOutput extends UpdateMonitorOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateMonitorCommand_base: {
25
+ new (input: UpdateMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMonitorCommandInput, UpdateMonitorCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMonitorCommandInput, UpdateMonitorCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update a monitor to add or remove local or remote resources.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NetworkFlowMonitorClient, UpdateMonitorCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
35
+ * // const { NetworkFlowMonitorClient, UpdateMonitorCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
36
+ * const client = new NetworkFlowMonitorClient(config);
37
+ * const input = { // UpdateMonitorInput
38
+ * monitorName: "STRING_VALUE", // required
39
+ * localResourcesToAdd: [ // MonitorLocalResources
40
+ * { // MonitorLocalResource
41
+ * type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet", // required
42
+ * identifier: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * localResourcesToRemove: [
46
+ * {
47
+ * type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet", // required
48
+ * identifier: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * remoteResourcesToAdd: [ // MonitorRemoteResources
52
+ * { // MonitorRemoteResource
53
+ * type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::AWSService", // required
54
+ * identifier: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * remoteResourcesToRemove: [
58
+ * {
59
+ * type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::AWSService", // required
60
+ * identifier: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * clientToken: "STRING_VALUE",
64
+ * };
65
+ * const command = new UpdateMonitorCommand(input);
66
+ * const response = await client.send(command);
67
+ * // { // UpdateMonitorOutput
68
+ * // monitorArn: "STRING_VALUE", // required
69
+ * // monitorName: "STRING_VALUE", // required
70
+ * // monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
71
+ * // localResources: [ // MonitorLocalResources // required
72
+ * // { // MonitorLocalResource
73
+ * // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet", // required
74
+ * // identifier: "STRING_VALUE", // required
75
+ * // },
76
+ * // ],
77
+ * // remoteResources: [ // MonitorRemoteResources // required
78
+ * // { // MonitorRemoteResource
79
+ * // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::AWSService", // required
80
+ * // identifier: "STRING_VALUE", // required
81
+ * // },
82
+ * // ],
83
+ * // createdAt: new Date("TIMESTAMP"), // required
84
+ * // modifiedAt: new Date("TIMESTAMP"), // required
85
+ * // tags: { // TagMap
86
+ * // "<keys>": "STRING_VALUE",
87
+ * // },
88
+ * // };
89
+ *
90
+ * ```
91
+ *
92
+ * @param UpdateMonitorCommandInput - {@link UpdateMonitorCommandInput}
93
+ * @returns {@link UpdateMonitorCommandOutput}
94
+ * @see {@link UpdateMonitorCommandInput} for command's `input` shape.
95
+ * @see {@link UpdateMonitorCommandOutput} for command's `response` shape.
96
+ * @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
97
+ *
98
+ * @throws {@link AccessDeniedException} (client fault)
99
+ * <p>You don't have sufficient permission to perform this action.</p>
100
+ *
101
+ * @throws {@link InternalServerException} (server fault)
102
+ * <p>An internal error occurred.</p>
103
+ *
104
+ * @throws {@link ResourceNotFoundException} (client fault)
105
+ * <p>The request specifies a resource that doesn't exist.</p>
106
+ *
107
+ * @throws {@link ThrottlingException} (client fault)
108
+ * <p>The request was denied due to request throttling.</p>
109
+ *
110
+ * @throws {@link ValidationException} (client fault)
111
+ * <p>Invalid request.</p>
112
+ *
113
+ * @throws {@link NetworkFlowMonitorServiceException}
114
+ * <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
115
+ *
116
+ * @public
117
+ */
118
+ export declare class UpdateMonitorCommand extends UpdateMonitorCommand_base {
119
+ /** @internal type navigation helper, not in runtime. */
120
+ protected static __types: {
121
+ api: {
122
+ input: UpdateMonitorInput;
123
+ output: UpdateMonitorOutput;
124
+ };
125
+ sdk: {
126
+ input: UpdateMonitorCommandInput;
127
+ output: UpdateMonitorCommandOutput;
128
+ };
129
+ };
130
+ }
@@ -0,0 +1,114 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateScopeInput, UpdateScopeOutput } from "../models/models_0";
4
+ import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateScopeCommand}.
14
+ */
15
+ export interface UpdateScopeCommandInput extends UpdateScopeInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateScopeCommand}.
21
+ */
22
+ export interface UpdateScopeCommandOutput extends UpdateScopeOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateScopeCommand_base: {
25
+ new (input: UpdateScopeCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateScopeCommandInput, UpdateScopeCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateScopeCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateScopeCommandInput, UpdateScopeCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update a scope to add or remove resources that you want to be available for Network Flow Monitor to generate metrics for,
31
+ * when you have active agents on those resources sending metrics reports to the Network Flow Monitor backend.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { NetworkFlowMonitorClient, UpdateScopeCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
36
+ * // const { NetworkFlowMonitorClient, UpdateScopeCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
37
+ * const client = new NetworkFlowMonitorClient(config);
38
+ * const input = { // UpdateScopeInput
39
+ * scopeId: "STRING_VALUE", // required
40
+ * resourcesToAdd: [ // TargetResourceList
41
+ * { // TargetResource
42
+ * targetIdentifier: { // TargetIdentifier
43
+ * targetId: { // TargetId Union: only one key present
44
+ * accountId: "STRING_VALUE",
45
+ * },
46
+ * targetType: "ACCOUNT", // required
47
+ * },
48
+ * region: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * resourcesToDelete: [
52
+ * {
53
+ * targetIdentifier: {
54
+ * targetId: {// Union: only one key present
55
+ * accountId: "STRING_VALUE",
56
+ * },
57
+ * targetType: "ACCOUNT", // required
58
+ * },
59
+ * region: "STRING_VALUE", // required
60
+ * },
61
+ * ],
62
+ * };
63
+ * const command = new UpdateScopeCommand(input);
64
+ * const response = await client.send(command);
65
+ * // { // UpdateScopeOutput
66
+ * // scopeId: "STRING_VALUE", // required
67
+ * // status: "SUCCEEDED" || "IN_PROGRESS" || "FAILED", // required
68
+ * // scopeArn: "STRING_VALUE", // required
69
+ * // tags: { // TagMap
70
+ * // "<keys>": "STRING_VALUE",
71
+ * // },
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param UpdateScopeCommandInput - {@link UpdateScopeCommandInput}
77
+ * @returns {@link UpdateScopeCommandOutput}
78
+ * @see {@link UpdateScopeCommandInput} for command's `input` shape.
79
+ * @see {@link UpdateScopeCommandOutput} for command's `response` shape.
80
+ * @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
81
+ *
82
+ * @throws {@link AccessDeniedException} (client fault)
83
+ * <p>You don't have sufficient permission to perform this action.</p>
84
+ *
85
+ * @throws {@link InternalServerException} (server fault)
86
+ * <p>An internal error occurred.</p>
87
+ *
88
+ * @throws {@link ServiceQuotaExceededException} (client fault)
89
+ * <p>The request exceeded a service quota.</p>
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p>The request was denied due to request throttling.</p>
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * <p>Invalid request.</p>
96
+ *
97
+ * @throws {@link NetworkFlowMonitorServiceException}
98
+ * <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
99
+ *
100
+ * @public
101
+ */
102
+ export declare class UpdateScopeCommand extends UpdateScopeCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: UpdateScopeInput;
107
+ output: UpdateScopeOutput;
108
+ };
109
+ sdk: {
110
+ input: UpdateScopeCommandInput;
111
+ output: UpdateScopeCommandOutput;
112
+ };
113
+ };
114
+ }
@@ -0,0 +1,25 @@
1
+ export * from "./CreateMonitorCommand";
2
+ export * from "./CreateScopeCommand";
3
+ export * from "./DeleteMonitorCommand";
4
+ export * from "./DeleteScopeCommand";
5
+ export * from "./GetMonitorCommand";
6
+ export * from "./GetQueryResultsMonitorTopContributorsCommand";
7
+ export * from "./GetQueryResultsWorkloadInsightsTopContributorsCommand";
8
+ export * from "./GetQueryResultsWorkloadInsightsTopContributorsDataCommand";
9
+ export * from "./GetQueryStatusMonitorTopContributorsCommand";
10
+ export * from "./GetQueryStatusWorkloadInsightsTopContributorsCommand";
11
+ export * from "./GetQueryStatusWorkloadInsightsTopContributorsDataCommand";
12
+ export * from "./GetScopeCommand";
13
+ export * from "./ListMonitorsCommand";
14
+ export * from "./ListScopesCommand";
15
+ export * from "./ListTagsForResourceCommand";
16
+ export * from "./StartQueryMonitorTopContributorsCommand";
17
+ export * from "./StartQueryWorkloadInsightsTopContributorsCommand";
18
+ export * from "./StartQueryWorkloadInsightsTopContributorsDataCommand";
19
+ export * from "./StopQueryMonitorTopContributorsCommand";
20
+ export * from "./StopQueryWorkloadInsightsTopContributorsCommand";
21
+ export * from "./StopQueryWorkloadInsightsTopContributorsDataCommand";
22
+ export * from "./TagResourceCommand";
23
+ export * from "./UntagResourceCommand";
24
+ export * from "./UpdateMonitorCommand";
25
+ export * from "./UpdateScopeCommand";
@@ -0,0 +1,34 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | Provider<boolean>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | Provider<string>;
9
+ }
10
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ defaultSigningName: string;
12
+ };
13
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
14
+ defaultSigningName: string;
15
+ };
16
+ export declare const commonParams: {
17
+ readonly UseFIPS: {
18
+ readonly type: "builtInParams";
19
+ readonly name: "useFipsEndpoint";
20
+ };
21
+ readonly Endpoint: {
22
+ readonly type: "builtInParams";
23
+ readonly name: "endpoint";
24
+ };
25
+ readonly Region: {
26
+ readonly type: "builtInParams";
27
+ readonly name: "region";
28
+ };
29
+ };
30
+ export interface EndpointParameters extends __EndpointParameters {
31
+ UseFIPS?: boolean;
32
+ Endpoint?: string;
33
+ Region?: string;
34
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface NetworkFlowMonitorExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * <p>Network Flow Monitor is a feature of Amazon CloudWatch Network Monitoring that provides visibility into the performance of
3
+ * network flows for your Amazon Web Services workloads, between instances in subnets, as well as to and
4
+ * from Amazon Web Services. Lightweight agents that you install on the instances capture performance metrics
5
+ * for your network flows, such as packet loss and latency, and send them to the Network Flow Monitor backend. Then, you can
6
+ * view and analyze metrics from the top contributors for each metric type, to help troubleshoot issues.</p>
7
+ * <p>In addition, when you create a monitor, Network Flow Monitor provides a network health indicator (NHI)
8
+ * that informs you whether there were Amazon Web Services network issues for one or more of the network flows
9
+ * tracked by a monitor, during a time period that you choose. By using this value, you can independently determine
10
+ * if the Amazon Web Services network is impacting your workload during a specific time frame, to help you focus
11
+ * troubleshooting efforts.</p>
12
+ * <p>To learn more about Network Flow Monitor, see the
13
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor.html">Network Flow Monitor User Guide</a>
14
+ * in the Amazon CloudWatch User Guide.</p>
15
+ *
16
+ * @packageDocumentation
17
+ */
18
+ export * from "./NetworkFlowMonitorClient";
19
+ export * from "./NetworkFlowMonitor";
20
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
21
+ export type { RuntimeExtension } from "./runtimeExtensions";
22
+ export type { NetworkFlowMonitorExtensionConfiguration } from "./extensionConfiguration";
23
+ export * from "./commands";
24
+ export * from "./pagination";
25
+ export * from "./models";
26
+ export { NetworkFlowMonitorServiceException } from "./models/NetworkFlowMonitorServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from NetworkFlowMonitor service.
8
+ */
9
+ export declare class NetworkFlowMonitorServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";