@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,1904 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { NetworkFlowMonitorServiceException as __BaseException } from "./NetworkFlowMonitorServiceException";
3
+ /**
4
+ * <p>You don't have sufficient permission to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>The requested resource is in use.</p>
17
+ * @public
18
+ */
19
+ export declare class ConflictException extends __BaseException {
20
+ readonly name: "ConflictException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
26
+ }
27
+ /**
28
+ * @public
29
+ * @enum
30
+ */
31
+ export declare const MonitorLocalResourceType: {
32
+ readonly AWS_AZ: "AWS::AvailabilityZone";
33
+ readonly AWS_SUBNET: "AWS::EC2::Subnet";
34
+ readonly AWS_VPC: "AWS::EC2::VPC";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type MonitorLocalResourceType = (typeof MonitorLocalResourceType)[keyof typeof MonitorLocalResourceType];
40
+ /**
41
+ * <p>A local resource is the host where the agent is installed. Local resources can be a
42
+ * a subnet, a VPC, or an Availability Zone.</p>
43
+ * @public
44
+ */
45
+ export interface MonitorLocalResource {
46
+ /**
47
+ * <p>The type of the local resource. Valid values are <code>AWS::EC2::VPC</code>
48
+ * <code>AWS::AvailabilityZone</code> or <code>AWS::EC2::Subnet</code>.</p>
49
+ * @public
50
+ */
51
+ type: MonitorLocalResourceType | undefined;
52
+ /**
53
+ * <p>The identifier of the local resource, such as an ARN.</p>
54
+ * @public
55
+ */
56
+ identifier: string | undefined;
57
+ }
58
+ /**
59
+ * @public
60
+ * @enum
61
+ */
62
+ export declare const MonitorRemoteResourceType: {
63
+ readonly AWS_AZ: "AWS::AvailabilityZone";
64
+ readonly AWS_SERVICE: "AWS::AWSService";
65
+ readonly AWS_SUBNET: "AWS::EC2::Subnet";
66
+ readonly AWS_VPC: "AWS::EC2::VPC";
67
+ };
68
+ /**
69
+ * @public
70
+ */
71
+ export type MonitorRemoteResourceType = (typeof MonitorRemoteResourceType)[keyof typeof MonitorRemoteResourceType];
72
+ /**
73
+ * <p>A remote resource is the other endpoint in a network flow. That is, one endpoint
74
+ * is the local resource and the other is the remote resource. Remote resources can be a
75
+ * a subnet, a VPC, an Availability Zone, or an Amazon Web Services service. </p>
76
+ * @public
77
+ */
78
+ export interface MonitorRemoteResource {
79
+ /**
80
+ * <p>The type of the remote resource. Valid values are <code>AWS::EC2::VPC</code>
81
+ * <code>AWS::AvailabilityZone</code>, <code>AWS::EC2::Subnet</code>, or
82
+ * <code>AWS::AWSService</code>.</p>
83
+ * @public
84
+ */
85
+ type: MonitorRemoteResourceType | undefined;
86
+ /**
87
+ * <p>The identifier of the remote resource, such as an ARN.</p>
88
+ * @public
89
+ */
90
+ identifier: string | undefined;
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface CreateMonitorInput {
96
+ /**
97
+ * <p>The name of the monitor. </p>
98
+ * @public
99
+ */
100
+ monitorName: string | undefined;
101
+ /**
102
+ * <p>The local resources to monitor. A local resource, in a bi-directional flow of a workload,
103
+ * is the host where the agent is installed. For example, if a workload consists of an interaction
104
+ * between a web service and a backend database (for example, Amazon Relational Database Service (RDS)),
105
+ * the EC2 instance hosting the web service, which also runs the agent, is the local resource.</p>
106
+ * @public
107
+ */
108
+ localResources: MonitorLocalResource[] | undefined;
109
+ /**
110
+ * <p>The remote resources to monitor. A remote resource is the other endpoint in the bi-directional
111
+ * flow of a workload, with a local resource. For example, Amazon Relational Database Service (RDS) can be a remote resource.</p>
112
+ * @public
113
+ */
114
+ remoteResources?: MonitorRemoteResource[] | undefined;
115
+ /**
116
+ * <p>The Amazon Resource Name (ARN) of the scope for the monitor.</p>
117
+ * @public
118
+ */
119
+ scopeArn: string | undefined;
120
+ /**
121
+ * <p>A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for
122
+ * other API requests.</p>
123
+ * @public
124
+ */
125
+ clientToken?: string | undefined;
126
+ /**
127
+ * <p>The tags for a monitor. You can add a maximum of 200 tags.</p>
128
+ * @public
129
+ */
130
+ tags?: Record<string, string> | undefined;
131
+ }
132
+ /**
133
+ * @public
134
+ * @enum
135
+ */
136
+ export declare const MonitorStatus: {
137
+ readonly ACTIVE: "ACTIVE";
138
+ readonly DELETING: "DELETING";
139
+ readonly ERROR: "ERROR";
140
+ readonly INACTIVE: "INACTIVE";
141
+ readonly PENDING: "PENDING";
142
+ };
143
+ /**
144
+ * @public
145
+ */
146
+ export type MonitorStatus = (typeof MonitorStatus)[keyof typeof MonitorStatus];
147
+ /**
148
+ * @public
149
+ */
150
+ export interface CreateMonitorOutput {
151
+ /**
152
+ * <p>The Amazon Resource Name (ARN) of the monitor.</p>
153
+ * @public
154
+ */
155
+ monitorArn: string | undefined;
156
+ /**
157
+ * <p>The name of the monitor. </p>
158
+ * @public
159
+ */
160
+ monitorName: string | undefined;
161
+ /**
162
+ * <p>The status of a monitor. The status can be one of the following</p>
163
+ * <ul>
164
+ * <li>
165
+ * <p>
166
+ * <code>PENDING</code>: The monitor is in the process of being created.</p>
167
+ * </li>
168
+ * <li>
169
+ * <p>
170
+ * <code>ACTIVE</code>: The monitor is active.</p>
171
+ * </li>
172
+ * <li>
173
+ * <p>
174
+ * <code>INACTIVE</code>: The monitor is inactive.</p>
175
+ * </li>
176
+ * <li>
177
+ * <p>
178
+ * <code>ERROR</code>: Monitor creation failed due to an error.</p>
179
+ * </li>
180
+ * <li>
181
+ * <p>
182
+ * <code>DELETING</code>: The monitor is in the process of being deleted.</p>
183
+ * </li>
184
+ * </ul>
185
+ * @public
186
+ */
187
+ monitorStatus: MonitorStatus | undefined;
188
+ /**
189
+ * <p>The local resources to monitor. A local resource, in a bi-directional flow of a workload,
190
+ * is the host where the agent is installed. </p>
191
+ * @public
192
+ */
193
+ localResources: MonitorLocalResource[] | undefined;
194
+ /**
195
+ * <p>The remote resources to monitor. A remote resource is the other endpoint in the bi-directional
196
+ * flow of a workload, with a local resource. For example, Amazon Relational Database Service (RDS) can
197
+ * be a remote resource. The remote resource is identified by its ARN or an identifier.</p>
198
+ * @public
199
+ */
200
+ remoteResources: MonitorRemoteResource[] | undefined;
201
+ /**
202
+ * <p>The date and time when the monitor was created.</p>
203
+ * @public
204
+ */
205
+ createdAt: Date | undefined;
206
+ /**
207
+ * <p>The last date and time that the monitor was modified.</p>
208
+ * @public
209
+ */
210
+ modifiedAt: Date | undefined;
211
+ /**
212
+ * <p>The tags for a monitor.</p>
213
+ * @public
214
+ */
215
+ tags?: Record<string, string> | undefined;
216
+ }
217
+ /**
218
+ * <p>An internal error occurred.</p>
219
+ * @public
220
+ */
221
+ export declare class InternalServerException extends __BaseException {
222
+ readonly name: "InternalServerException";
223
+ readonly $fault: "server";
224
+ $retryable: {};
225
+ /**
226
+ * @internal
227
+ */
228
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
229
+ }
230
+ /**
231
+ * <p>The request exceeded a service quota.</p>
232
+ * @public
233
+ */
234
+ export declare class ServiceQuotaExceededException extends __BaseException {
235
+ readonly name: "ServiceQuotaExceededException";
236
+ readonly $fault: "client";
237
+ /**
238
+ * @internal
239
+ */
240
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
241
+ }
242
+ /**
243
+ * <p>The request was denied due to request throttling.</p>
244
+ * @public
245
+ */
246
+ export declare class ThrottlingException extends __BaseException {
247
+ readonly name: "ThrottlingException";
248
+ readonly $fault: "client";
249
+ $retryable: {
250
+ throttling: boolean;
251
+ };
252
+ /**
253
+ * @internal
254
+ */
255
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
256
+ }
257
+ /**
258
+ * <p>Invalid request.</p>
259
+ * @public
260
+ */
261
+ export declare class ValidationException extends __BaseException {
262
+ readonly name: "ValidationException";
263
+ readonly $fault: "client";
264
+ /**
265
+ * @internal
266
+ */
267
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
268
+ }
269
+ /**
270
+ * <p>A target ID is an internally-generated identifier for a target.
271
+ * A target allows you to identify all the resources in a Network Flow Monitor scope. Currently,
272
+ * a target is always an Amazon Web Services account.</p>
273
+ * @public
274
+ */
275
+ export type TargetId = TargetId.AccountIdMember | TargetId.$UnknownMember;
276
+ /**
277
+ * @public
278
+ */
279
+ export declare namespace TargetId {
280
+ /**
281
+ * <p>The identifier for the account for a target.</p>
282
+ * @public
283
+ */
284
+ interface AccountIdMember {
285
+ accountId: string;
286
+ $unknown?: never;
287
+ }
288
+ /**
289
+ * @public
290
+ */
291
+ interface $UnknownMember {
292
+ accountId?: never;
293
+ $unknown: [string, any];
294
+ }
295
+ interface Visitor<T> {
296
+ accountId: (value: string) => T;
297
+ _: (name: string, value: any) => T;
298
+ }
299
+ const visit: <T>(value: TargetId, visitor: Visitor<T>) => T;
300
+ }
301
+ /**
302
+ * @public
303
+ * @enum
304
+ */
305
+ export declare const TargetType: {
306
+ readonly ACCOUNT: "ACCOUNT";
307
+ };
308
+ /**
309
+ * @public
310
+ */
311
+ export type TargetType = (typeof TargetType)[keyof typeof TargetType];
312
+ /**
313
+ * <p>A target identifier is a pair of identifying information for a resource that
314
+ * is included in a target. A target identifier includes the target ID and
315
+ * the target type.</p>
316
+ * @public
317
+ */
318
+ export interface TargetIdentifier {
319
+ /**
320
+ * <p>The identifier for a target.</p>
321
+ * @public
322
+ */
323
+ targetId: TargetId | undefined;
324
+ /**
325
+ * <p>The type of a target. A target type is currently always <code>ACCOUNT</code>
326
+ * because a target is currently a single Amazon Web Services account.</p>
327
+ * @public
328
+ */
329
+ targetType: TargetType | undefined;
330
+ }
331
+ /**
332
+ * <p>A target resource in a scope. The resource is identified by a Region and
333
+ * a target identifier, which includes a target ID and a target type.</p>
334
+ * @public
335
+ */
336
+ export interface TargetResource {
337
+ /**
338
+ * <p>A target identifier is a pair of identifying information for a resource that
339
+ * is included in a target. A target identifier includes the target ID and
340
+ * the target type.</p>
341
+ * @public
342
+ */
343
+ targetIdentifier: TargetIdentifier | undefined;
344
+ /**
345
+ * <p>The Amazon Web Services Region where the target resource is located.</p>
346
+ * @public
347
+ */
348
+ region: string | undefined;
349
+ }
350
+ /**
351
+ * @public
352
+ */
353
+ export interface CreateScopeInput {
354
+ /**
355
+ * <p>The targets to define the scope to be monitored. Currently, a target is an Amazon Web Services account.</p>
356
+ * @public
357
+ */
358
+ targets: TargetResource[] | undefined;
359
+ /**
360
+ * <p>A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent
361
+ * API request. Don't reuse the same client token for other API requests.</p>
362
+ * @public
363
+ */
364
+ clientToken?: string | undefined;
365
+ /**
366
+ * <p>The tags for a scope. You can add a maximum of 200 tags.</p>
367
+ * @public
368
+ */
369
+ tags?: Record<string, string> | undefined;
370
+ }
371
+ /**
372
+ * @public
373
+ * @enum
374
+ */
375
+ export declare const ScopeStatus: {
376
+ readonly FAILED: "FAILED";
377
+ readonly IN_PROGRESS: "IN_PROGRESS";
378
+ readonly SUCCEEDED: "SUCCEEDED";
379
+ };
380
+ /**
381
+ * @public
382
+ */
383
+ export type ScopeStatus = (typeof ScopeStatus)[keyof typeof ScopeStatus];
384
+ /**
385
+ * @public
386
+ */
387
+ export interface CreateScopeOutput {
388
+ /**
389
+ * <p>The identifier for the scope that includes the resources you want to get metrics for.
390
+ * A scope ID is an internally-generated identifier that includes all the resources
391
+ * for a specific root account.</p>
392
+ * @public
393
+ */
394
+ scopeId: string | undefined;
395
+ /**
396
+ * <p>The status for a call to create a scope. The status can be one of the following:
397
+ * <code>SUCCEEDED</code>, <code>IN_PROGRESS</code>, or <code>FAILED</code>.</p>
398
+ * @public
399
+ */
400
+ status: ScopeStatus | undefined;
401
+ /**
402
+ * <p>The Amazon Resource Name (ARN) of the scope.</p>
403
+ * @public
404
+ */
405
+ scopeArn: string | undefined;
406
+ /**
407
+ * <p>The tags for a scope.</p>
408
+ * @public
409
+ */
410
+ tags?: Record<string, string> | undefined;
411
+ }
412
+ /**
413
+ * @public
414
+ */
415
+ export interface DeleteMonitorInput {
416
+ /**
417
+ * <p>The name of the monitor to delete.</p>
418
+ * @public
419
+ */
420
+ monitorName: string | undefined;
421
+ }
422
+ /**
423
+ * @public
424
+ */
425
+ export interface DeleteMonitorOutput {
426
+ }
427
+ /**
428
+ * <p>The request specifies a resource that doesn't exist.</p>
429
+ * @public
430
+ */
431
+ export declare class ResourceNotFoundException extends __BaseException {
432
+ readonly name: "ResourceNotFoundException";
433
+ readonly $fault: "client";
434
+ /**
435
+ * @internal
436
+ */
437
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
438
+ }
439
+ /**
440
+ * @public
441
+ */
442
+ export interface DeleteScopeInput {
443
+ /**
444
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
445
+ * A scope ID is an internally-generated identifier that includes all the resources
446
+ * for a specific root account.</p>
447
+ * @public
448
+ */
449
+ scopeId: string | undefined;
450
+ }
451
+ /**
452
+ * @public
453
+ */
454
+ export interface DeleteScopeOutput {
455
+ }
456
+ /**
457
+ * @public
458
+ * @enum
459
+ */
460
+ export declare const DestinationCategory: {
461
+ readonly AMAZON_DYNAMODB: "AMAZON_DYNAMODB";
462
+ readonly AMAZON_S3: "AMAZON_S3";
463
+ readonly INTER_AZ: "INTER_AZ";
464
+ readonly INTER_VPC: "INTER_VPC";
465
+ readonly INTRA_AZ: "INTRA_AZ";
466
+ readonly UNCLASSIFIED: "UNCLASSIFIED";
467
+ };
468
+ /**
469
+ * @public
470
+ */
471
+ export type DestinationCategory = (typeof DestinationCategory)[keyof typeof DestinationCategory];
472
+ /**
473
+ * @public
474
+ */
475
+ export interface GetMonitorInput {
476
+ /**
477
+ * <p>The name of the monitor.</p>
478
+ * @public
479
+ */
480
+ monitorName: string | undefined;
481
+ }
482
+ /**
483
+ * @public
484
+ */
485
+ export interface GetMonitorOutput {
486
+ /**
487
+ * <p>The Amazon Resource Name (ARN) of the monitor.</p>
488
+ * @public
489
+ */
490
+ monitorArn: string | undefined;
491
+ /**
492
+ * <p>The name of the monitor.</p>
493
+ * @public
494
+ */
495
+ monitorName: string | undefined;
496
+ /**
497
+ * <p>The status of a monitor. The status can be one of the following</p>
498
+ * <ul>
499
+ * <li>
500
+ * <p>
501
+ * <code>PENDING</code>: The monitor is in the process of being created.</p>
502
+ * </li>
503
+ * <li>
504
+ * <p>
505
+ * <code>ACTIVE</code>: The monitor is active.</p>
506
+ * </li>
507
+ * <li>
508
+ * <p>
509
+ * <code>INACTIVE</code>: The monitor is inactive.</p>
510
+ * </li>
511
+ * <li>
512
+ * <p>
513
+ * <code>ERROR</code>: Monitor creation failed due to an error.</p>
514
+ * </li>
515
+ * <li>
516
+ * <p>
517
+ * <code>DELETING</code>: The monitor is in the process of being deleted.</p>
518
+ * </li>
519
+ * </ul>
520
+ * @public
521
+ */
522
+ monitorStatus: MonitorStatus | undefined;
523
+ /**
524
+ * <p>The local resources for this monitor.</p>
525
+ * @public
526
+ */
527
+ localResources: MonitorLocalResource[] | undefined;
528
+ /**
529
+ * <p>The remote resources for this monitor.</p>
530
+ * @public
531
+ */
532
+ remoteResources: MonitorRemoteResource[] | undefined;
533
+ /**
534
+ * <p>The date and time when the monitor was created.</p>
535
+ * @public
536
+ */
537
+ createdAt: Date | undefined;
538
+ /**
539
+ * <p>The date and time when the monitor was last modified.</p>
540
+ * @public
541
+ */
542
+ modifiedAt: Date | undefined;
543
+ /**
544
+ * <p>The tags for a monitor.</p>
545
+ * @public
546
+ */
547
+ tags?: Record<string, string> | undefined;
548
+ }
549
+ /**
550
+ * @public
551
+ */
552
+ export interface GetQueryResultsMonitorTopContributorsInput {
553
+ /**
554
+ * <p>The name of the monitor.</p>
555
+ * @public
556
+ */
557
+ monitorName: string | undefined;
558
+ /**
559
+ * <p>The identifier for the query. A query ID is an internally-generated
560
+ * identifier for a specific query returned from an API call to start a query.</p>
561
+ * @public
562
+ */
563
+ queryId: string | undefined;
564
+ /**
565
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
566
+ * @public
567
+ */
568
+ nextToken?: string | undefined;
569
+ /**
570
+ * <p>The number of query results that you want to return with this call.</p>
571
+ * @public
572
+ */
573
+ maxResults?: number | undefined;
574
+ }
575
+ /**
576
+ * <p>Meta data about Kubernetes resources.</p>
577
+ * @public
578
+ */
579
+ export interface KubernetesMetadata {
580
+ /**
581
+ * <p>The service name for a local resource.</p>
582
+ * @public
583
+ */
584
+ localServiceName?: string | undefined;
585
+ /**
586
+ * <p>The name of the pod for a local resource.</p>
587
+ * @public
588
+ */
589
+ localPodName?: string | undefined;
590
+ /**
591
+ * <p>The namespace of the pod for a local resource.</p>
592
+ * @public
593
+ */
594
+ localPodNamespace?: string | undefined;
595
+ /**
596
+ * <p>The service name for a remote resource.</p>
597
+ * @public
598
+ */
599
+ remoteServiceName?: string | undefined;
600
+ /**
601
+ * <p>The name of the pod for a remote resource.</p>
602
+ * @public
603
+ */
604
+ remotePodName?: string | undefined;
605
+ /**
606
+ * <p>The namespace of the pod for a remote resource.</p>
607
+ * @public
608
+ */
609
+ remotePodNamespace?: string | undefined;
610
+ }
611
+ /**
612
+ * <p>A section of the network that a network flow has traveled through.</p>
613
+ * @public
614
+ */
615
+ export interface TraversedComponent {
616
+ /**
617
+ * <p>The identifier for the traversed component.</p>
618
+ * @public
619
+ */
620
+ componentId?: string | undefined;
621
+ /**
622
+ * <p>The type of component that was traversed.</p>
623
+ * @public
624
+ */
625
+ componentType?: string | undefined;
626
+ /**
627
+ * <p>The Amazon Resource Name (ARN) of a tranversed component.</p>
628
+ * @public
629
+ */
630
+ componentArn?: string | undefined;
631
+ /**
632
+ * <p>The service name for the traversed component.</p>
633
+ * @public
634
+ */
635
+ serviceName?: string | undefined;
636
+ }
637
+ /**
638
+ * <p>A set of information for a top contributor network flow in a monitor.
639
+ * In a monitor, Network Flow Monitor returns information about the network flows for top
640
+ * contributors for each metric. Top contributors are network flows with
641
+ * the top values for each metric type.</p>
642
+ * @public
643
+ */
644
+ export interface MonitorTopContributorsRow {
645
+ /**
646
+ * <p>The IP address of the local resource for a top contributor network flow.</p>
647
+ * @public
648
+ */
649
+ localIp?: string | undefined;
650
+ /**
651
+ * <p>The secure network address translation (SNAT) IP address for a top contributor network flow.</p>
652
+ * @public
653
+ */
654
+ snatIp?: string | undefined;
655
+ /**
656
+ * <p>The instance identifier for the local resource for a top contributor network flow.</p>
657
+ * @public
658
+ */
659
+ localInstanceId?: string | undefined;
660
+ /**
661
+ * <p>The VPC ID for a top contributor network flow for the local resource.</p>
662
+ * @public
663
+ */
664
+ localVpcId?: string | undefined;
665
+ /**
666
+ * <p>The Amazon Web Services Region for the local resource for a top contributor network flow.</p>
667
+ * @public
668
+ */
669
+ localRegion?: string | undefined;
670
+ /**
671
+ * <p>The Availability Zone for the local resource for a top contributor network flow.</p>
672
+ * @public
673
+ */
674
+ localAz?: string | undefined;
675
+ /**
676
+ * <p>The subnet ID for the local resource for a top contributor network flow.</p>
677
+ * @public
678
+ */
679
+ localSubnetId?: string | undefined;
680
+ /**
681
+ * <p>The target port.</p>
682
+ * @public
683
+ */
684
+ targetPort?: number | undefined;
685
+ /**
686
+ * <p>The destination category for a top contributors row. Destination categories can be one of the following: </p>
687
+ * <ul>
688
+ * <li>
689
+ * <p>
690
+ * <code>INTRA_AZ</code>: Top contributor network flows within a single Availability Zone</p>
691
+ * </li>
692
+ * <li>
693
+ * <p>
694
+ * <code>INTER_AZ</code>: Top contributor network flows between Availability Zones</p>
695
+ * </li>
696
+ * <li>
697
+ * <p>
698
+ * <code>INTER_VPC</code>: Top contributor network flows between VPCs</p>
699
+ * </li>
700
+ * <li>
701
+ * <p>
702
+ * <code>AWS_SERVICES</code>: Top contributor network flows to or from Amazon Web Services services</p>
703
+ * </li>
704
+ * <li>
705
+ * <p>
706
+ * <code>UNCLASSIFIED</code>: Top contributor network flows that do not have a bucket classification</p>
707
+ * </li>
708
+ * </ul>
709
+ * @public
710
+ */
711
+ destinationCategory?: DestinationCategory | undefined;
712
+ /**
713
+ * <p>The VPC ID for a top contributor network flow for the remote resource.</p>
714
+ * @public
715
+ */
716
+ remoteVpcId?: string | undefined;
717
+ /**
718
+ * <p>The Amazon Web Services Region for the remote resource for a top contributor network flow.</p>
719
+ * @public
720
+ */
721
+ remoteRegion?: string | undefined;
722
+ /**
723
+ * <p>The Availability Zone for the remote resource for a top contributor network flow.</p>
724
+ * @public
725
+ */
726
+ remoteAz?: string | undefined;
727
+ /**
728
+ * <p>The subnet ID for the remote resource for a top contributor network flow.</p>
729
+ * @public
730
+ */
731
+ remoteSubnetId?: string | undefined;
732
+ /**
733
+ * <p>The instance identifier for the remote resource for a top contributor network flow.</p>
734
+ * @public
735
+ */
736
+ remoteInstanceId?: string | undefined;
737
+ /**
738
+ * <p>The IP address of the remote resource for a top contributor network flow.</p>
739
+ * @public
740
+ */
741
+ remoteIp?: string | undefined;
742
+ /**
743
+ * <p>The destination network address translation (DNAT) IP address for a top contributor network flow.</p>
744
+ * @public
745
+ */
746
+ dnatIp?: string | undefined;
747
+ /**
748
+ * <p>The value of the metric for a top contributor network flow.</p>
749
+ * @public
750
+ */
751
+ value?: number | undefined;
752
+ /**
753
+ * <p>The constructs traversed by a network flow.</p>
754
+ * @public
755
+ */
756
+ traversedConstructs?: TraversedComponent[] | undefined;
757
+ /**
758
+ * <p>Meta data about Kubernetes resources.</p>
759
+ * @public
760
+ */
761
+ kubernetesMetadata?: KubernetesMetadata | undefined;
762
+ /**
763
+ * <p>The Amazon Resource Name (ARN) of a local resource.</p>
764
+ * @public
765
+ */
766
+ localInstanceArn?: string | undefined;
767
+ /**
768
+ * <p>The Amazon Resource Name (ARN) of a local subnet.</p>
769
+ * @public
770
+ */
771
+ localSubnetArn?: string | undefined;
772
+ /**
773
+ * <p>The Amazon Resource Name (ARN) of a local VPC.</p>
774
+ * @public
775
+ */
776
+ localVpcArn?: string | undefined;
777
+ /**
778
+ * <p>The Amazon Resource Name (ARN) of a remote resource.</p>
779
+ * @public
780
+ */
781
+ remoteInstanceArn?: string | undefined;
782
+ /**
783
+ * <p>The Amazon Resource Name (ARN) of a remote subnet.</p>
784
+ * @public
785
+ */
786
+ remoteSubnetArn?: string | undefined;
787
+ /**
788
+ * <p>The Amazon Resource Name (ARN) of a remote VPC.</p>
789
+ * @public
790
+ */
791
+ remoteVpcArn?: string | undefined;
792
+ }
793
+ /**
794
+ * @public
795
+ * @enum
796
+ */
797
+ export declare const MetricUnit: {
798
+ readonly BITS: "Bits";
799
+ readonly BITS_PER_SECOND: "Bits/Second";
800
+ readonly BYTES: "Bytes";
801
+ readonly BYTES_PER_SECOND: "Bytes/Second";
802
+ readonly COUNT: "Count";
803
+ readonly COUNT_PER_SECOND: "Count/Second";
804
+ readonly GIGABITS: "Gigabits";
805
+ readonly GIGABITS_PER_SECOND: "Gigabits/Second";
806
+ readonly GIGABYTES: "Gigabytes";
807
+ readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
808
+ readonly KILOBITS: "Kilobits";
809
+ readonly KILOBITS_PER_SECOND: "Kilobits/Second";
810
+ readonly KILOBYTES: "Kilobytes";
811
+ readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
812
+ readonly MEGABITS: "Megabits";
813
+ readonly MEGABITS_PER_SECOND: "Megabits/Second";
814
+ readonly MEGABYTES: "Megabytes";
815
+ readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
816
+ readonly MICROSECONDS: "Microseconds";
817
+ readonly MILLISECONDS: "Milliseconds";
818
+ readonly NONE: "None";
819
+ readonly PERCENT: "Percent";
820
+ readonly SECONDS: "Seconds";
821
+ readonly TERABITS: "Terabits";
822
+ readonly TERABITS_PER_SECOND: "Terabits/Second";
823
+ readonly TERABYTES: "Terabytes";
824
+ readonly TERABYTES_PER_SECOND: "Terabytes/Second";
825
+ };
826
+ /**
827
+ * @public
828
+ */
829
+ export type MetricUnit = (typeof MetricUnit)[keyof typeof MetricUnit];
830
+ /**
831
+ * @public
832
+ */
833
+ export interface GetQueryResultsMonitorTopContributorsOutput {
834
+ /**
835
+ * <p>The units for a metric returned by the query.</p>
836
+ * @public
837
+ */
838
+ unit?: MetricUnit | undefined;
839
+ /**
840
+ * <p>The top contributor network flows overall for a specific metric type, for example, the
841
+ * number of retransmissions.</p>
842
+ * @public
843
+ */
844
+ topContributors?: MonitorTopContributorsRow[] | undefined;
845
+ /**
846
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
847
+ * @public
848
+ */
849
+ nextToken?: string | undefined;
850
+ }
851
+ /**
852
+ * @public
853
+ */
854
+ export interface GetQueryResultsWorkloadInsightsTopContributorsInput {
855
+ /**
856
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
857
+ * A scope ID is an internally-generated identifier that includes all the resources
858
+ * for a specific root account.</p>
859
+ * @public
860
+ */
861
+ scopeId: string | undefined;
862
+ /**
863
+ * <p>The identifier for the query. A query ID is an internally-generated
864
+ * identifier for a specific query returned from an API call to start a query.</p>
865
+ * @public
866
+ */
867
+ queryId: string | undefined;
868
+ /**
869
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
870
+ * @public
871
+ */
872
+ nextToken?: string | undefined;
873
+ /**
874
+ * <p>The number of query results that you want to return with this call.</p>
875
+ * @public
876
+ */
877
+ maxResults?: number | undefined;
878
+ }
879
+ /**
880
+ * <p>A row for a top contributor for a scope.</p>
881
+ * @public
882
+ */
883
+ export interface WorkloadInsightsTopContributorsRow {
884
+ /**
885
+ * <p>The account ID for a specific row of data.</p>
886
+ * @public
887
+ */
888
+ accountId?: string | undefined;
889
+ /**
890
+ * <p>The subnet identifier for the local resource.</p>
891
+ * @public
892
+ */
893
+ localSubnetId?: string | undefined;
894
+ /**
895
+ * <p>The identifier for the Availability Zone where the local resource is located.</p>
896
+ * @public
897
+ */
898
+ localAz?: string | undefined;
899
+ /**
900
+ * <p>The identifier for the VPC for the local resource.</p>
901
+ * @public
902
+ */
903
+ localVpcId?: string | undefined;
904
+ /**
905
+ * <p>The Amazon Web Services Region where the local resource is located.</p>
906
+ * @public
907
+ */
908
+ localRegion?: string | undefined;
909
+ /**
910
+ * <p>The identifier of a remote resource.</p>
911
+ * @public
912
+ */
913
+ remoteIdentifier?: string | undefined;
914
+ /**
915
+ * <p>The value for a metric.</p>
916
+ * @public
917
+ */
918
+ value?: number | undefined;
919
+ /**
920
+ * <p>The Amazon Resource Name (ARN) of a local subnet.</p>
921
+ * @public
922
+ */
923
+ localSubnetArn?: string | undefined;
924
+ /**
925
+ * <p>The Amazon Resource Name (ARN) of a local VPC.</p>
926
+ * @public
927
+ */
928
+ localVpcArn?: string | undefined;
929
+ }
930
+ /**
931
+ * @public
932
+ */
933
+ export interface GetQueryResultsWorkloadInsightsTopContributorsOutput {
934
+ /**
935
+ * <p>The top contributor network flows overall for a specific metric type, for example, the
936
+ * number of retransmissions.</p>
937
+ * @public
938
+ */
939
+ topContributors?: WorkloadInsightsTopContributorsRow[] | undefined;
940
+ /**
941
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
942
+ * @public
943
+ */
944
+ nextToken?: string | undefined;
945
+ }
946
+ /**
947
+ * @public
948
+ */
949
+ export interface GetQueryResultsWorkloadInsightsTopContributorsDataInput {
950
+ /**
951
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
952
+ * A scope ID is an internally-generated identifier that includes all the resources
953
+ * for a specific root account.</p>
954
+ * @public
955
+ */
956
+ scopeId: string | undefined;
957
+ /**
958
+ * <p>The identifier for the query. A query ID is an internally-generated
959
+ * identifier for a specific query returned from an API call to start a query.</p>
960
+ * @public
961
+ */
962
+ queryId: string | undefined;
963
+ /**
964
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
965
+ * @public
966
+ */
967
+ nextToken?: string | undefined;
968
+ /**
969
+ * <p>The number of query results that you want to return with this call.</p>
970
+ * @public
971
+ */
972
+ maxResults?: number | undefined;
973
+ }
974
+ /**
975
+ * <p>A data point for a top contributor network flow in a scope.
976
+ * Network Flow Monitor returns information about the network flows with the top values
977
+ * for each metric type, which are called top contributors.</p>
978
+ * @public
979
+ */
980
+ export interface WorkloadInsightsTopContributorsDataPoint {
981
+ /**
982
+ * <p>An array of the timestamps for the data point.</p>
983
+ * @public
984
+ */
985
+ timestamps: Date[] | undefined;
986
+ /**
987
+ * <p>The values for the data point.</p>
988
+ * @public
989
+ */
990
+ values: number[] | undefined;
991
+ /**
992
+ * <p>The label identifying the data point.</p>
993
+ * @public
994
+ */
995
+ label: string | undefined;
996
+ }
997
+ /**
998
+ * @public
999
+ */
1000
+ export interface GetQueryResultsWorkloadInsightsTopContributorsDataOutput {
1001
+ /**
1002
+ * <p>The units for a metric returned by the query.</p>
1003
+ * @public
1004
+ */
1005
+ unit: MetricUnit | undefined;
1006
+ /**
1007
+ * <p>The datapoints returned by the query.</p>
1008
+ * @public
1009
+ */
1010
+ datapoints: WorkloadInsightsTopContributorsDataPoint[] | undefined;
1011
+ /**
1012
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
1013
+ * @public
1014
+ */
1015
+ nextToken?: string | undefined;
1016
+ }
1017
+ /**
1018
+ * @public
1019
+ */
1020
+ export interface GetQueryStatusMonitorTopContributorsInput {
1021
+ /**
1022
+ * <p>The name of the monitor.</p>
1023
+ * @public
1024
+ */
1025
+ monitorName: string | undefined;
1026
+ /**
1027
+ * <p>The identifier for the query. A query ID is an internally-generated
1028
+ * identifier for a specific query returned from an API call to start a query.</p>
1029
+ * @public
1030
+ */
1031
+ queryId: string | undefined;
1032
+ }
1033
+ /**
1034
+ * @public
1035
+ * @enum
1036
+ */
1037
+ export declare const QueryStatus: {
1038
+ readonly CANCELED: "CANCELED";
1039
+ readonly FAILED: "FAILED";
1040
+ readonly QUEUED: "QUEUED";
1041
+ readonly RUNNING: "RUNNING";
1042
+ readonly SUCCEEDED: "SUCCEEDED";
1043
+ };
1044
+ /**
1045
+ * @public
1046
+ */
1047
+ export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
1048
+ /**
1049
+ * @public
1050
+ */
1051
+ export interface GetQueryStatusMonitorTopContributorsOutput {
1052
+ /**
1053
+ * <p>When you run a query, use this call to check the status of the query to make sure that the query
1054
+ * has <code>SUCCEEDED</code> before you review the results.</p>
1055
+ * <ul>
1056
+ * <li>
1057
+ * <p>
1058
+ * <code>QUEUED</code>: The query is scheduled to run.</p>
1059
+ * </li>
1060
+ * <li>
1061
+ * <p>
1062
+ * <code>RUNNING</code>: The query is in progress but not complete.</p>
1063
+ * </li>
1064
+ * <li>
1065
+ * <p>
1066
+ * <code>SUCCEEDED</code>: The query completed sucessfully.</p>
1067
+ * </li>
1068
+ * <li>
1069
+ * <p>
1070
+ * <code>FAILED</code>: The query failed due to an error.</p>
1071
+ * </li>
1072
+ * <li>
1073
+ * <p>
1074
+ * <code>CANCELED</code>: The query was canceled.</p>
1075
+ * </li>
1076
+ * </ul>
1077
+ * @public
1078
+ */
1079
+ status: QueryStatus | undefined;
1080
+ }
1081
+ /**
1082
+ * @public
1083
+ */
1084
+ export interface GetQueryStatusWorkloadInsightsTopContributorsInput {
1085
+ /**
1086
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1087
+ * A scope ID is an internally-generated identifier that includes all the resources
1088
+ * for a specific root account.</p>
1089
+ * @public
1090
+ */
1091
+ scopeId: string | undefined;
1092
+ /**
1093
+ * <p>The identifier for the query. A query ID is an internally-generated
1094
+ * identifier for a specific query returned from an API call to start a query.</p>
1095
+ * @public
1096
+ */
1097
+ queryId: string | undefined;
1098
+ }
1099
+ /**
1100
+ * @public
1101
+ */
1102
+ export interface GetQueryStatusWorkloadInsightsTopContributorsOutput {
1103
+ /**
1104
+ * <p>When you run a query, use this call to check the status of the query to make sure that the query
1105
+ * has <code>SUCCEEDED</code> before you review the results.</p>
1106
+ * <ul>
1107
+ * <li>
1108
+ * <p>
1109
+ * <code>QUEUED</code>: The query is scheduled to run.</p>
1110
+ * </li>
1111
+ * <li>
1112
+ * <p>
1113
+ * <code>RUNNING</code>: The query is in progress but not complete.</p>
1114
+ * </li>
1115
+ * <li>
1116
+ * <p>
1117
+ * <code>SUCCEEDED</code>: The query completed sucessfully.</p>
1118
+ * </li>
1119
+ * <li>
1120
+ * <p>
1121
+ * <code>FAILED</code>: The query failed due to an error.</p>
1122
+ * </li>
1123
+ * <li>
1124
+ * <p>
1125
+ * <code>CANCELED</code>: The query was canceled.</p>
1126
+ * </li>
1127
+ * </ul>
1128
+ * @public
1129
+ */
1130
+ status: QueryStatus | undefined;
1131
+ }
1132
+ /**
1133
+ * @public
1134
+ */
1135
+ export interface GetQueryStatusWorkloadInsightsTopContributorsDataInput {
1136
+ /**
1137
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1138
+ * A scope ID is an internally-generated identifier that includes all the resources
1139
+ * for a specific root account. A scope ID is returned from a <code>CreateScope</code> API call.</p>
1140
+ * @public
1141
+ */
1142
+ scopeId: string | undefined;
1143
+ /**
1144
+ * <p>The identifier for the query. A query ID is an internally-generated
1145
+ * identifier for a specific query returned from an API call to start a query.</p>
1146
+ * @public
1147
+ */
1148
+ queryId: string | undefined;
1149
+ }
1150
+ /**
1151
+ * @public
1152
+ */
1153
+ export interface GetQueryStatusWorkloadInsightsTopContributorsDataOutput {
1154
+ /**
1155
+ * <p>The status of a query for top contributors data.</p>
1156
+ * <ul>
1157
+ * <li>
1158
+ * <p>
1159
+ * <code>QUEUED</code>: The query is scheduled to run.</p>
1160
+ * </li>
1161
+ * <li>
1162
+ * <p>
1163
+ * <code>RUNNING</code>: The query is in progress but not complete.</p>
1164
+ * </li>
1165
+ * <li>
1166
+ * <p>
1167
+ * <code>SUCCEEDED</code>: The query completed sucessfully.</p>
1168
+ * </li>
1169
+ * <li>
1170
+ * <p>
1171
+ * <code>FAILED</code>: The query failed due to an error.</p>
1172
+ * </li>
1173
+ * <li>
1174
+ * <p>
1175
+ * <code>CANCELED</code>: The query was canceled.</p>
1176
+ * </li>
1177
+ * </ul>
1178
+ * @public
1179
+ */
1180
+ status: QueryStatus | undefined;
1181
+ }
1182
+ /**
1183
+ * @public
1184
+ */
1185
+ export interface GetScopeInput {
1186
+ /**
1187
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1188
+ * A scope ID is an internally-generated identifier that includes all the resources
1189
+ * for a specific root account. A scope ID is returned from a <code>CreateScope</code> API call.</p>
1190
+ * @public
1191
+ */
1192
+ scopeId: string | undefined;
1193
+ }
1194
+ /**
1195
+ * @public
1196
+ */
1197
+ export interface GetScopeOutput {
1198
+ /**
1199
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1200
+ * A scope ID is an internally-generated identifier that includes all the resources
1201
+ * for a specific root account. A scope ID is returned from a <code>CreateScope</code> API call.</p>
1202
+ * @public
1203
+ */
1204
+ scopeId: string | undefined;
1205
+ /**
1206
+ * <p>The status of a scope. The status can be one of the following:
1207
+ * <code>SUCCEEDED</code>, <code>IN_PROGRESS</code>, or <code>FAILED</code>.</p>
1208
+ * @public
1209
+ */
1210
+ status: ScopeStatus | undefined;
1211
+ /**
1212
+ * <p>The Amazon Resource Name (ARN) of the scope.</p>
1213
+ * @public
1214
+ */
1215
+ scopeArn: string | undefined;
1216
+ /**
1217
+ * <p>The targets for a scope</p>
1218
+ * @public
1219
+ */
1220
+ targets: TargetResource[] | undefined;
1221
+ /**
1222
+ * <p>The tags for a scope.</p>
1223
+ * @public
1224
+ */
1225
+ tags?: Record<string, string> | undefined;
1226
+ }
1227
+ /**
1228
+ * @public
1229
+ */
1230
+ export interface ListMonitorsInput {
1231
+ /**
1232
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
1233
+ * @public
1234
+ */
1235
+ nextToken?: string | undefined;
1236
+ /**
1237
+ * <p>The number of query results that you want to return with this call.</p>
1238
+ * @public
1239
+ */
1240
+ maxResults?: number | undefined;
1241
+ /**
1242
+ * <p>The status of a monitor. The status can be one of the following</p>
1243
+ * <ul>
1244
+ * <li>
1245
+ * <p>
1246
+ * <code>PENDING</code>: The monitor is in the process of being created.</p>
1247
+ * </li>
1248
+ * <li>
1249
+ * <p>
1250
+ * <code>ACTIVE</code>: The monitor is active.</p>
1251
+ * </li>
1252
+ * <li>
1253
+ * <p>
1254
+ * <code>INACTIVE</code>: The monitor is inactive.</p>
1255
+ * </li>
1256
+ * <li>
1257
+ * <p>
1258
+ * <code>ERROR</code>: Monitor creation failed due to an error.</p>
1259
+ * </li>
1260
+ * <li>
1261
+ * <p>
1262
+ * <code>DELETING</code>: The monitor is in the process of being deleted.</p>
1263
+ * </li>
1264
+ * </ul>
1265
+ * @public
1266
+ */
1267
+ monitorStatus?: MonitorStatus | undefined;
1268
+ }
1269
+ /**
1270
+ * <p>A summary of information about a monitor, includ the ARN, the name, and the status.</p>
1271
+ * @public
1272
+ */
1273
+ export interface MonitorSummary {
1274
+ /**
1275
+ * <p>The Amazon Resource Name (ARN) of the monitor.</p>
1276
+ * @public
1277
+ */
1278
+ monitorArn: string | undefined;
1279
+ /**
1280
+ * <p>The name of the monitor.</p>
1281
+ * @public
1282
+ */
1283
+ monitorName: string | undefined;
1284
+ /**
1285
+ * <p>The status of a monitor. The status can be one of the following</p>
1286
+ * <ul>
1287
+ * <li>
1288
+ * <p>
1289
+ * <code>PENDING</code>: The monitor is in the process of being created.</p>
1290
+ * </li>
1291
+ * <li>
1292
+ * <p>
1293
+ * <code>ACTIVE</code>: The monitor is active.</p>
1294
+ * </li>
1295
+ * <li>
1296
+ * <p>
1297
+ * <code>INACTIVE</code>: The monitor is inactive.</p>
1298
+ * </li>
1299
+ * <li>
1300
+ * <p>
1301
+ * <code>ERROR</code>: Monitor creation failed due to an error.</p>
1302
+ * </li>
1303
+ * <li>
1304
+ * <p>
1305
+ * <code>DELETING</code>: The monitor is in the process of being deleted.</p>
1306
+ * </li>
1307
+ * </ul>
1308
+ * @public
1309
+ */
1310
+ monitorStatus: MonitorStatus | undefined;
1311
+ }
1312
+ /**
1313
+ * @public
1314
+ */
1315
+ export interface ListMonitorsOutput {
1316
+ /**
1317
+ * <p>The monitors that are in an account.</p>
1318
+ * @public
1319
+ */
1320
+ monitors: MonitorSummary[] | undefined;
1321
+ /**
1322
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
1323
+ * @public
1324
+ */
1325
+ nextToken?: string | undefined;
1326
+ }
1327
+ /**
1328
+ * @public
1329
+ */
1330
+ export interface ListScopesInput {
1331
+ /**
1332
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
1333
+ * @public
1334
+ */
1335
+ nextToken?: string | undefined;
1336
+ /**
1337
+ * <p>The number of query results that you want to return with this call.</p>
1338
+ * @public
1339
+ */
1340
+ maxResults?: number | undefined;
1341
+ }
1342
+ /**
1343
+ * <p>A summary of information about a scope, including the ARN, target ID, and
1344
+ * Amazon Web Services Region.</p>
1345
+ * @public
1346
+ */
1347
+ export interface ScopeSummary {
1348
+ /**
1349
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1350
+ * A scope ID is an internally-generated identifier that includes all the resources
1351
+ * for a specific root account.</p>
1352
+ * @public
1353
+ */
1354
+ scopeId: string | undefined;
1355
+ /**
1356
+ * <p>The status of a scope. The status can be one of the following, depending on the
1357
+ * state of scope creation: <code>SUCCEEDED</code>, <code>IN_PROGRESS</code>, or <code>FAILED</code>.</p>
1358
+ * @public
1359
+ */
1360
+ status: ScopeStatus | undefined;
1361
+ /**
1362
+ * <p>The Amazon Resource Name (ARN) of the scope.</p>
1363
+ * @public
1364
+ */
1365
+ scopeArn: string | undefined;
1366
+ }
1367
+ /**
1368
+ * @public
1369
+ */
1370
+ export interface ListScopesOutput {
1371
+ /**
1372
+ * <p>The scopes returned by the call.</p>
1373
+ * @public
1374
+ */
1375
+ scopes: ScopeSummary[] | undefined;
1376
+ /**
1377
+ * <p>The token for the next set of results. You receive this token from a previous call.</p>
1378
+ * @public
1379
+ */
1380
+ nextToken?: string | undefined;
1381
+ }
1382
+ /**
1383
+ * @public
1384
+ */
1385
+ export interface ListTagsForResourceInput {
1386
+ /**
1387
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
1388
+ * @public
1389
+ */
1390
+ resourceArn: string | undefined;
1391
+ }
1392
+ /**
1393
+ * @public
1394
+ */
1395
+ export interface ListTagsForResourceOutput {
1396
+ /**
1397
+ * <p>The tags for a resource.</p>
1398
+ * @public
1399
+ */
1400
+ tags?: Record<string, string> | undefined;
1401
+ }
1402
+ /**
1403
+ * @public
1404
+ * @enum
1405
+ */
1406
+ export declare const MonitorMetric: {
1407
+ readonly DATA_TRANSFERRED: "DATA_TRANSFERRED";
1408
+ readonly RETRANSMISSIONS: "RETRANSMISSIONS";
1409
+ readonly ROUND_TRIP_TIME: "ROUND_TRIP_TIME";
1410
+ readonly TIMEOUTS: "TIMEOUTS";
1411
+ };
1412
+ /**
1413
+ * @public
1414
+ */
1415
+ export type MonitorMetric = (typeof MonitorMetric)[keyof typeof MonitorMetric];
1416
+ /**
1417
+ * @public
1418
+ */
1419
+ export interface StartQueryMonitorTopContributorsInput {
1420
+ /**
1421
+ * <p>The name of the monitor.</p>
1422
+ * @public
1423
+ */
1424
+ monitorName: string | undefined;
1425
+ /**
1426
+ * <p>The timestamp that is the date and time beginning of the period that you want to retrieve
1427
+ * results for with your query.</p>
1428
+ * @public
1429
+ */
1430
+ startTime: Date | undefined;
1431
+ /**
1432
+ * <p>The timestamp that is the date and time end of the period that you want to retrieve
1433
+ * results for with your query.</p>
1434
+ * @public
1435
+ */
1436
+ endTime: Date | undefined;
1437
+ /**
1438
+ * <p>The metric that you want to query top contributors for. That is, you can specify this metric to
1439
+ * return the top contributor network flows, for this type of metric, for a monitor and (optionally) within
1440
+ * a specific category, such as network flows between Availability Zones.</p>
1441
+ * @public
1442
+ */
1443
+ metricName: MonitorMetric | undefined;
1444
+ /**
1445
+ * <p>The category that you want to query top contributors for, for a specific monitor. Destination
1446
+ * categories can be one of the following: </p>
1447
+ * <ul>
1448
+ * <li>
1449
+ * <p>
1450
+ * <code>INTRA_AZ</code>: Top contributor network flows within a single Availability Zone</p>
1451
+ * </li>
1452
+ * <li>
1453
+ * <p>
1454
+ * <code>INTER_AZ</code>: Top contributor network flows between Availability Zones</p>
1455
+ * </li>
1456
+ * <li>
1457
+ * <p>
1458
+ * <code>INTER_VPC</code>: Top contributor network flows between VPCs</p>
1459
+ * </li>
1460
+ * <li>
1461
+ * <p>
1462
+ * <code>AWS_SERVICES</code>: Top contributor network flows to or from Amazon Web Services services</p>
1463
+ * </li>
1464
+ * <li>
1465
+ * <p>
1466
+ * <code>UNCLASSIFIED</code>: Top contributor network flows that do not have a bucket classification</p>
1467
+ * </li>
1468
+ * </ul>
1469
+ * @public
1470
+ */
1471
+ destinationCategory: DestinationCategory | undefined;
1472
+ /**
1473
+ * <p>The maximum number of top contributors to return.</p>
1474
+ * @public
1475
+ */
1476
+ limit?: number | undefined;
1477
+ }
1478
+ /**
1479
+ * @public
1480
+ */
1481
+ export interface StartQueryMonitorTopContributorsOutput {
1482
+ /**
1483
+ * <p>The identifier for the query. A query ID is an internally-generated
1484
+ * identifier for a specific query returned from an API call to start a query.</p>
1485
+ * @public
1486
+ */
1487
+ queryId: string | undefined;
1488
+ }
1489
+ /**
1490
+ * @public
1491
+ */
1492
+ export interface StopQueryMonitorTopContributorsInput {
1493
+ /**
1494
+ * <p>The name of the monitor.</p>
1495
+ * @public
1496
+ */
1497
+ monitorName: string | undefined;
1498
+ /**
1499
+ * <p>The identifier for the query. A query ID is an internally-generated
1500
+ * identifier for a specific query returned from an API call to start a query.</p>
1501
+ * @public
1502
+ */
1503
+ queryId: string | undefined;
1504
+ }
1505
+ /**
1506
+ * @public
1507
+ */
1508
+ export interface StopQueryMonitorTopContributorsOutput {
1509
+ }
1510
+ /**
1511
+ * @public
1512
+ */
1513
+ export interface UpdateMonitorInput {
1514
+ /**
1515
+ * <p>The name of the monitor.</p>
1516
+ * @public
1517
+ */
1518
+ monitorName: string | undefined;
1519
+ /**
1520
+ * <p>The local resources to add, as an array of resources with identifiers and types.</p>
1521
+ * @public
1522
+ */
1523
+ localResourcesToAdd?: MonitorLocalResource[] | undefined;
1524
+ /**
1525
+ * <p>The local resources to remove, as an array of resources with identifiers and types.</p>
1526
+ * @public
1527
+ */
1528
+ localResourcesToRemove?: MonitorLocalResource[] | undefined;
1529
+ /**
1530
+ * <p>The remove resources to add, as an array of resources with identifiers and types.</p>
1531
+ * @public
1532
+ */
1533
+ remoteResourcesToAdd?: MonitorRemoteResource[] | undefined;
1534
+ /**
1535
+ * <p>The remove resources to remove, as an array of resources with identifiers and types.</p>
1536
+ * @public
1537
+ */
1538
+ remoteResourcesToRemove?: MonitorRemoteResource[] | undefined;
1539
+ /**
1540
+ * <p>A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for
1541
+ * other API requests.</p>
1542
+ * @public
1543
+ */
1544
+ clientToken?: string | undefined;
1545
+ }
1546
+ /**
1547
+ * @public
1548
+ */
1549
+ export interface UpdateMonitorOutput {
1550
+ /**
1551
+ * <p>The Amazon Resource Name (ARN) of the monitor.</p>
1552
+ * @public
1553
+ */
1554
+ monitorArn: string | undefined;
1555
+ /**
1556
+ * <p>The name of the monitor.</p>
1557
+ * @public
1558
+ */
1559
+ monitorName: string | undefined;
1560
+ /**
1561
+ * <p>The status of a monitor. The status can be one of the following</p>
1562
+ * <ul>
1563
+ * <li>
1564
+ * <p>
1565
+ * <code>PENDING</code>: The monitor is in the process of being created.</p>
1566
+ * </li>
1567
+ * <li>
1568
+ * <p>
1569
+ * <code>ACTIVE</code>: The monitor is active.</p>
1570
+ * </li>
1571
+ * <li>
1572
+ * <p>
1573
+ * <code>INACTIVE</code>: The monitor is inactive.</p>
1574
+ * </li>
1575
+ * <li>
1576
+ * <p>
1577
+ * <code>ERROR</code>: Monitor creation failed due to an error.</p>
1578
+ * </li>
1579
+ * <li>
1580
+ * <p>
1581
+ * <code>DELETING</code>: The monitor is in the process of being deleted.</p>
1582
+ * </li>
1583
+ * </ul>
1584
+ * @public
1585
+ */
1586
+ monitorStatus: MonitorStatus | undefined;
1587
+ /**
1588
+ * <p>The local resources updated for a monitor, as an array of resources with identifiers and types.</p>
1589
+ * @public
1590
+ */
1591
+ localResources: MonitorLocalResource[] | undefined;
1592
+ /**
1593
+ * <p>The remote resources updated for a monitor, as an array of resources with identifiers and types.</p>
1594
+ * @public
1595
+ */
1596
+ remoteResources: MonitorRemoteResource[] | undefined;
1597
+ /**
1598
+ * <p>The date and time when the monitor was created.</p>
1599
+ * @public
1600
+ */
1601
+ createdAt: Date | undefined;
1602
+ /**
1603
+ * <p>The last date and time that the monitor was modified.</p>
1604
+ * @public
1605
+ */
1606
+ modifiedAt: Date | undefined;
1607
+ /**
1608
+ * <p>The tags for a monitor.</p>
1609
+ * @public
1610
+ */
1611
+ tags?: Record<string, string> | undefined;
1612
+ }
1613
+ /**
1614
+ * @public
1615
+ * @enum
1616
+ */
1617
+ export declare const WorkloadInsightsMetric: {
1618
+ readonly DATA_TRANSFERRED: "DATA_TRANSFERRED";
1619
+ readonly RETRANSMISSIONS: "RETRANSMISSIONS";
1620
+ readonly TIMEOUTS: "TIMEOUTS";
1621
+ };
1622
+ /**
1623
+ * @public
1624
+ */
1625
+ export type WorkloadInsightsMetric = (typeof WorkloadInsightsMetric)[keyof typeof WorkloadInsightsMetric];
1626
+ /**
1627
+ * @public
1628
+ */
1629
+ export interface StartQueryWorkloadInsightsTopContributorsInput {
1630
+ /**
1631
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1632
+ * A scope ID is an internally-generated identifier that includes all the resources
1633
+ * for a specific root account. A scope ID is returned from a <code>CreateScope</code> API call.</p>
1634
+ * @public
1635
+ */
1636
+ scopeId: string | undefined;
1637
+ /**
1638
+ * <p>The timestamp that is the date and time beginning of the period that you want to retrieve
1639
+ * results for with your query.</p>
1640
+ * @public
1641
+ */
1642
+ startTime: Date | undefined;
1643
+ /**
1644
+ * <p>The timestamp that is the date and time end of the period that you want to retrieve
1645
+ * results for with your query.</p>
1646
+ * @public
1647
+ */
1648
+ endTime: Date | undefined;
1649
+ /**
1650
+ * <p>The metric that you want to query top contributors for. That is, you can specify this metric to
1651
+ * return the top contributor network flows, for this type of metric, for a monitor and (optionally)
1652
+ * within a specific category, such as network flows between Availability Zones.</p>
1653
+ * @public
1654
+ */
1655
+ metricName: WorkloadInsightsMetric | undefined;
1656
+ /**
1657
+ * <p>The destination category for a top contributors row. Destination categories can be one of the following: </p>
1658
+ * <ul>
1659
+ * <li>
1660
+ * <p>
1661
+ * <code>INTRA_AZ</code>: Top contributor network flows within a single Availability Zone</p>
1662
+ * </li>
1663
+ * <li>
1664
+ * <p>
1665
+ * <code>INTER_AZ</code>: Top contributor network flows between Availability Zones</p>
1666
+ * </li>
1667
+ * <li>
1668
+ * <p>
1669
+ * <code>INTER_VPC</code>: Top contributor network flows between VPCs</p>
1670
+ * </li>
1671
+ * <li>
1672
+ * <p>
1673
+ * <code>AWS_SERVICES</code>: Top contributor network flows to or from Amazon Web Services services</p>
1674
+ * </li>
1675
+ * <li>
1676
+ * <p>
1677
+ * <code>UNCLASSIFIED</code>: Top contributor network flows that do not have a bucket classification</p>
1678
+ * </li>
1679
+ * </ul>
1680
+ * @public
1681
+ */
1682
+ destinationCategory: DestinationCategory | undefined;
1683
+ /**
1684
+ * <p>The maximum number of top contributors to return.</p>
1685
+ * @public
1686
+ */
1687
+ limit?: number | undefined;
1688
+ }
1689
+ /**
1690
+ * @public
1691
+ */
1692
+ export interface StartQueryWorkloadInsightsTopContributorsOutput {
1693
+ /**
1694
+ * <p>The identifier for the query. A query ID is an internally-generated
1695
+ * identifier for a specific query returned from an API call to start a query.</p>
1696
+ * @public
1697
+ */
1698
+ queryId: string | undefined;
1699
+ }
1700
+ /**
1701
+ * @public
1702
+ */
1703
+ export interface StartQueryWorkloadInsightsTopContributorsDataInput {
1704
+ /**
1705
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1706
+ * A scope ID is an internally-generated identifier that includes all the resources
1707
+ * for a specific root account.</p>
1708
+ * @public
1709
+ */
1710
+ scopeId: string | undefined;
1711
+ /**
1712
+ * <p>The timestamp that is the date and time beginning of the period that you want to retrieve
1713
+ * results for with your query.</p>
1714
+ * @public
1715
+ */
1716
+ startTime: Date | undefined;
1717
+ /**
1718
+ * <p>The timestamp that is the date and time end of the period that you want to retrieve
1719
+ * results for with your query.</p>
1720
+ * @public
1721
+ */
1722
+ endTime: Date | undefined;
1723
+ /**
1724
+ * <p>The metric that you want to query top contributors for. That is, you can specify this metric to
1725
+ * return the top contributor network flows, for this type of metric, for a monitor and (optionally)
1726
+ * within a specific category, such as network flows between Availability Zones.</p>
1727
+ * @public
1728
+ */
1729
+ metricName: WorkloadInsightsMetric | undefined;
1730
+ /**
1731
+ * <p>The destination category for a top contributors. Destination categories can be one of the following: </p>
1732
+ * <ul>
1733
+ * <li>
1734
+ * <p>
1735
+ * <code>INTRA_AZ</code>: Top contributor network flows within a single Availability Zone</p>
1736
+ * </li>
1737
+ * <li>
1738
+ * <p>
1739
+ * <code>INTER_AZ</code>: Top contributor network flows between Availability Zones</p>
1740
+ * </li>
1741
+ * <li>
1742
+ * <p>
1743
+ * <code>INTER_VPC</code>: Top contributor network flows between VPCs</p>
1744
+ * </li>
1745
+ * <li>
1746
+ * <p>
1747
+ * <code>AWS_SERVICES</code>: Top contributor network flows to or from Amazon Web Services services</p>
1748
+ * </li>
1749
+ * <li>
1750
+ * <p>
1751
+ * <code>UNCLASSIFIED</code>: Top contributor network flows that do not have a bucket classification</p>
1752
+ * </li>
1753
+ * </ul>
1754
+ * @public
1755
+ */
1756
+ destinationCategory: DestinationCategory | undefined;
1757
+ }
1758
+ /**
1759
+ * @public
1760
+ */
1761
+ export interface StartQueryWorkloadInsightsTopContributorsDataOutput {
1762
+ /**
1763
+ * <p>The identifier for the query. A query ID is an internally-generated
1764
+ * identifier for a specific query returned from an API call to start a query.</p>
1765
+ * @public
1766
+ */
1767
+ queryId: string | undefined;
1768
+ }
1769
+ /**
1770
+ * @public
1771
+ */
1772
+ export interface StopQueryWorkloadInsightsTopContributorsInput {
1773
+ /**
1774
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1775
+ * A scope ID is an internally-generated identifier that includes all the resources
1776
+ * for a specific root account.</p>
1777
+ * @public
1778
+ */
1779
+ scopeId: string | undefined;
1780
+ /**
1781
+ * <p>The identifier for the query. A query ID is an internally-generated
1782
+ * identifier for a specific query returned from an API call to start a query.</p>
1783
+ * @public
1784
+ */
1785
+ queryId: string | undefined;
1786
+ }
1787
+ /**
1788
+ * @public
1789
+ */
1790
+ export interface StopQueryWorkloadInsightsTopContributorsOutput {
1791
+ }
1792
+ /**
1793
+ * @public
1794
+ */
1795
+ export interface StopQueryWorkloadInsightsTopContributorsDataInput {
1796
+ /**
1797
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1798
+ * A scope ID is an internally-generated identifier that includes all the resources
1799
+ * for a specific root account.</p>
1800
+ * @public
1801
+ */
1802
+ scopeId: string | undefined;
1803
+ /**
1804
+ * <p>The identifier for the query. A query ID is an internally-generated
1805
+ * identifier for a specific query returned from an API call to start a query.</p>
1806
+ * @public
1807
+ */
1808
+ queryId: string | undefined;
1809
+ }
1810
+ /**
1811
+ * @public
1812
+ */
1813
+ export interface StopQueryWorkloadInsightsTopContributorsDataOutput {
1814
+ }
1815
+ /**
1816
+ * @public
1817
+ */
1818
+ export interface UpdateScopeInput {
1819
+ /**
1820
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1821
+ * A scope ID is an internally-generated identifier that includes all the resources
1822
+ * for a specific root account.</p>
1823
+ * @public
1824
+ */
1825
+ scopeId: string | undefined;
1826
+ /**
1827
+ * <p>A list of resources to add to a scope.</p>
1828
+ * @public
1829
+ */
1830
+ resourcesToAdd?: TargetResource[] | undefined;
1831
+ /**
1832
+ * <p>A list of resources to delete from a scope.</p>
1833
+ * @public
1834
+ */
1835
+ resourcesToDelete?: TargetResource[] | undefined;
1836
+ }
1837
+ /**
1838
+ * @public
1839
+ */
1840
+ export interface UpdateScopeOutput {
1841
+ /**
1842
+ * <p>The identifier for the scope that includes the resources you want to get data results for.
1843
+ * A scope ID is an internally-generated identifier that includes all the resources
1844
+ * for a specific root account.</p>
1845
+ * @public
1846
+ */
1847
+ scopeId: string | undefined;
1848
+ /**
1849
+ * <p>The status for a call to update a scope. The status can be one of the following:
1850
+ * <code>SUCCEEDED</code>, <code>IN_PROGRESS</code>, or <code>FAILED</code>.</p>
1851
+ * @public
1852
+ */
1853
+ status: ScopeStatus | undefined;
1854
+ /**
1855
+ * <p>The Amazon Resource Name (ARN) of the scope.</p>
1856
+ * @public
1857
+ */
1858
+ scopeArn: string | undefined;
1859
+ /**
1860
+ * <p>The tags for a scope.</p>
1861
+ * @public
1862
+ */
1863
+ tags?: Record<string, string> | undefined;
1864
+ }
1865
+ /**
1866
+ * @public
1867
+ */
1868
+ export interface TagResourceInput {
1869
+ /**
1870
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
1871
+ * @public
1872
+ */
1873
+ resourceArn: string | undefined;
1874
+ /**
1875
+ * <p>The tags for a resource.</p>
1876
+ * @public
1877
+ */
1878
+ tags: Record<string, string> | undefined;
1879
+ }
1880
+ /**
1881
+ * @public
1882
+ */
1883
+ export interface TagResourceOutput {
1884
+ }
1885
+ /**
1886
+ * @public
1887
+ */
1888
+ export interface UntagResourceInput {
1889
+ /**
1890
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
1891
+ * @public
1892
+ */
1893
+ resourceArn: string | undefined;
1894
+ /**
1895
+ * <p>Keys that you specified when you tagged a resource.</p>
1896
+ * @public
1897
+ */
1898
+ tagKeys: string[] | undefined;
1899
+ }
1900
+ /**
1901
+ * @public
1902
+ */
1903
+ export interface UntagResourceOutput {
1904
+ }