@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,469 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { NetworkFlowMonitorServiceException as __BaseException } from "./NetworkFlowMonitorServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class ConflictException extends __BaseException {
11
+ readonly name: "ConflictException";
12
+ readonly $fault: "client";
13
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
14
+ }
15
+ export declare const MonitorLocalResourceType: {
16
+ readonly AWS_AZ: "AWS::AvailabilityZone";
17
+ readonly AWS_SUBNET: "AWS::EC2::Subnet";
18
+ readonly AWS_VPC: "AWS::EC2::VPC";
19
+ };
20
+ export type MonitorLocalResourceType =
21
+ (typeof MonitorLocalResourceType)[keyof typeof MonitorLocalResourceType];
22
+ export interface MonitorLocalResource {
23
+ type: MonitorLocalResourceType | undefined;
24
+ identifier: string | undefined;
25
+ }
26
+ export declare const MonitorRemoteResourceType: {
27
+ readonly AWS_AZ: "AWS::AvailabilityZone";
28
+ readonly AWS_SERVICE: "AWS::AWSService";
29
+ readonly AWS_SUBNET: "AWS::EC2::Subnet";
30
+ readonly AWS_VPC: "AWS::EC2::VPC";
31
+ };
32
+ export type MonitorRemoteResourceType =
33
+ (typeof MonitorRemoteResourceType)[keyof typeof MonitorRemoteResourceType];
34
+ export interface MonitorRemoteResource {
35
+ type: MonitorRemoteResourceType | undefined;
36
+ identifier: string | undefined;
37
+ }
38
+ export interface CreateMonitorInput {
39
+ monitorName: string | undefined;
40
+ localResources: MonitorLocalResource[] | undefined;
41
+ remoteResources?: MonitorRemoteResource[] | undefined;
42
+ scopeArn: string | undefined;
43
+ clientToken?: string | undefined;
44
+ tags?: Record<string, string> | undefined;
45
+ }
46
+ export declare const MonitorStatus: {
47
+ readonly ACTIVE: "ACTIVE";
48
+ readonly DELETING: "DELETING";
49
+ readonly ERROR: "ERROR";
50
+ readonly INACTIVE: "INACTIVE";
51
+ readonly PENDING: "PENDING";
52
+ };
53
+ export type MonitorStatus = (typeof MonitorStatus)[keyof typeof MonitorStatus];
54
+ export interface CreateMonitorOutput {
55
+ monitorArn: string | undefined;
56
+ monitorName: string | undefined;
57
+ monitorStatus: MonitorStatus | undefined;
58
+ localResources: MonitorLocalResource[] | undefined;
59
+ remoteResources: MonitorRemoteResource[] | undefined;
60
+ createdAt: Date | undefined;
61
+ modifiedAt: Date | undefined;
62
+ tags?: Record<string, string> | undefined;
63
+ }
64
+ export declare class InternalServerException extends __BaseException {
65
+ readonly name: "InternalServerException";
66
+ readonly $fault: "server";
67
+ $retryable: {};
68
+ constructor(
69
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
70
+ );
71
+ }
72
+ export declare class ServiceQuotaExceededException extends __BaseException {
73
+ readonly name: "ServiceQuotaExceededException";
74
+ readonly $fault: "client";
75
+ constructor(
76
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
77
+ );
78
+ }
79
+ export declare class ThrottlingException extends __BaseException {
80
+ readonly name: "ThrottlingException";
81
+ readonly $fault: "client";
82
+ $retryable: {
83
+ throttling: boolean;
84
+ };
85
+ constructor(
86
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
87
+ );
88
+ }
89
+ export declare class ValidationException extends __BaseException {
90
+ readonly name: "ValidationException";
91
+ readonly $fault: "client";
92
+ constructor(
93
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
94
+ );
95
+ }
96
+ export type TargetId = TargetId.AccountIdMember | TargetId.$UnknownMember;
97
+ export declare namespace TargetId {
98
+ interface AccountIdMember {
99
+ accountId: string;
100
+ $unknown?: never;
101
+ }
102
+ interface $UnknownMember {
103
+ accountId?: never;
104
+ $unknown: [string, any];
105
+ }
106
+ interface Visitor<T> {
107
+ accountId: (value: string) => T;
108
+ _: (name: string, value: any) => T;
109
+ }
110
+ const visit: <T>(value: TargetId, visitor: Visitor<T>) => T;
111
+ }
112
+ export declare const TargetType: {
113
+ readonly ACCOUNT: "ACCOUNT";
114
+ };
115
+ export type TargetType = (typeof TargetType)[keyof typeof TargetType];
116
+ export interface TargetIdentifier {
117
+ targetId: TargetId | undefined;
118
+ targetType: TargetType | undefined;
119
+ }
120
+ export interface TargetResource {
121
+ targetIdentifier: TargetIdentifier | undefined;
122
+ region: string | undefined;
123
+ }
124
+ export interface CreateScopeInput {
125
+ targets: TargetResource[] | undefined;
126
+ clientToken?: string | undefined;
127
+ tags?: Record<string, string> | undefined;
128
+ }
129
+ export declare const ScopeStatus: {
130
+ readonly FAILED: "FAILED";
131
+ readonly IN_PROGRESS: "IN_PROGRESS";
132
+ readonly SUCCEEDED: "SUCCEEDED";
133
+ };
134
+ export type ScopeStatus = (typeof ScopeStatus)[keyof typeof ScopeStatus];
135
+ export interface CreateScopeOutput {
136
+ scopeId: string | undefined;
137
+ status: ScopeStatus | undefined;
138
+ scopeArn: string | undefined;
139
+ tags?: Record<string, string> | undefined;
140
+ }
141
+ export interface DeleteMonitorInput {
142
+ monitorName: string | undefined;
143
+ }
144
+ export interface DeleteMonitorOutput {}
145
+ export declare class ResourceNotFoundException extends __BaseException {
146
+ readonly name: "ResourceNotFoundException";
147
+ readonly $fault: "client";
148
+ constructor(
149
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
150
+ );
151
+ }
152
+ export interface DeleteScopeInput {
153
+ scopeId: string | undefined;
154
+ }
155
+ export interface DeleteScopeOutput {}
156
+ export declare const DestinationCategory: {
157
+ readonly AMAZON_DYNAMODB: "AMAZON_DYNAMODB";
158
+ readonly AMAZON_S3: "AMAZON_S3";
159
+ readonly INTER_AZ: "INTER_AZ";
160
+ readonly INTER_VPC: "INTER_VPC";
161
+ readonly INTRA_AZ: "INTRA_AZ";
162
+ readonly UNCLASSIFIED: "UNCLASSIFIED";
163
+ };
164
+ export type DestinationCategory =
165
+ (typeof DestinationCategory)[keyof typeof DestinationCategory];
166
+ export interface GetMonitorInput {
167
+ monitorName: string | undefined;
168
+ }
169
+ export interface GetMonitorOutput {
170
+ monitorArn: string | undefined;
171
+ monitorName: string | undefined;
172
+ monitorStatus: MonitorStatus | undefined;
173
+ localResources: MonitorLocalResource[] | undefined;
174
+ remoteResources: MonitorRemoteResource[] | undefined;
175
+ createdAt: Date | undefined;
176
+ modifiedAt: Date | undefined;
177
+ tags?: Record<string, string> | undefined;
178
+ }
179
+ export interface GetQueryResultsMonitorTopContributorsInput {
180
+ monitorName: string | undefined;
181
+ queryId: string | undefined;
182
+ nextToken?: string | undefined;
183
+ maxResults?: number | undefined;
184
+ }
185
+ export interface KubernetesMetadata {
186
+ localServiceName?: string | undefined;
187
+ localPodName?: string | undefined;
188
+ localPodNamespace?: string | undefined;
189
+ remoteServiceName?: string | undefined;
190
+ remotePodName?: string | undefined;
191
+ remotePodNamespace?: string | undefined;
192
+ }
193
+ export interface TraversedComponent {
194
+ componentId?: string | undefined;
195
+ componentType?: string | undefined;
196
+ componentArn?: string | undefined;
197
+ serviceName?: string | undefined;
198
+ }
199
+ export interface MonitorTopContributorsRow {
200
+ localIp?: string | undefined;
201
+ snatIp?: string | undefined;
202
+ localInstanceId?: string | undefined;
203
+ localVpcId?: string | undefined;
204
+ localRegion?: string | undefined;
205
+ localAz?: string | undefined;
206
+ localSubnetId?: string | undefined;
207
+ targetPort?: number | undefined;
208
+ destinationCategory?: DestinationCategory | undefined;
209
+ remoteVpcId?: string | undefined;
210
+ remoteRegion?: string | undefined;
211
+ remoteAz?: string | undefined;
212
+ remoteSubnetId?: string | undefined;
213
+ remoteInstanceId?: string | undefined;
214
+ remoteIp?: string | undefined;
215
+ dnatIp?: string | undefined;
216
+ value?: number | undefined;
217
+ traversedConstructs?: TraversedComponent[] | undefined;
218
+ kubernetesMetadata?: KubernetesMetadata | undefined;
219
+ localInstanceArn?: string | undefined;
220
+ localSubnetArn?: string | undefined;
221
+ localVpcArn?: string | undefined;
222
+ remoteInstanceArn?: string | undefined;
223
+ remoteSubnetArn?: string | undefined;
224
+ remoteVpcArn?: string | undefined;
225
+ }
226
+ export declare const MetricUnit: {
227
+ readonly BITS: "Bits";
228
+ readonly BITS_PER_SECOND: "Bits/Second";
229
+ readonly BYTES: "Bytes";
230
+ readonly BYTES_PER_SECOND: "Bytes/Second";
231
+ readonly COUNT: "Count";
232
+ readonly COUNT_PER_SECOND: "Count/Second";
233
+ readonly GIGABITS: "Gigabits";
234
+ readonly GIGABITS_PER_SECOND: "Gigabits/Second";
235
+ readonly GIGABYTES: "Gigabytes";
236
+ readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
237
+ readonly KILOBITS: "Kilobits";
238
+ readonly KILOBITS_PER_SECOND: "Kilobits/Second";
239
+ readonly KILOBYTES: "Kilobytes";
240
+ readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
241
+ readonly MEGABITS: "Megabits";
242
+ readonly MEGABITS_PER_SECOND: "Megabits/Second";
243
+ readonly MEGABYTES: "Megabytes";
244
+ readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
245
+ readonly MICROSECONDS: "Microseconds";
246
+ readonly MILLISECONDS: "Milliseconds";
247
+ readonly NONE: "None";
248
+ readonly PERCENT: "Percent";
249
+ readonly SECONDS: "Seconds";
250
+ readonly TERABITS: "Terabits";
251
+ readonly TERABITS_PER_SECOND: "Terabits/Second";
252
+ readonly TERABYTES: "Terabytes";
253
+ readonly TERABYTES_PER_SECOND: "Terabytes/Second";
254
+ };
255
+ export type MetricUnit = (typeof MetricUnit)[keyof typeof MetricUnit];
256
+ export interface GetQueryResultsMonitorTopContributorsOutput {
257
+ unit?: MetricUnit | undefined;
258
+ topContributors?: MonitorTopContributorsRow[] | undefined;
259
+ nextToken?: string | undefined;
260
+ }
261
+ export interface GetQueryResultsWorkloadInsightsTopContributorsInput {
262
+ scopeId: string | undefined;
263
+ queryId: string | undefined;
264
+ nextToken?: string | undefined;
265
+ maxResults?: number | undefined;
266
+ }
267
+ export interface WorkloadInsightsTopContributorsRow {
268
+ accountId?: string | undefined;
269
+ localSubnetId?: string | undefined;
270
+ localAz?: string | undefined;
271
+ localVpcId?: string | undefined;
272
+ localRegion?: string | undefined;
273
+ remoteIdentifier?: string | undefined;
274
+ value?: number | undefined;
275
+ localSubnetArn?: string | undefined;
276
+ localVpcArn?: string | undefined;
277
+ }
278
+ export interface GetQueryResultsWorkloadInsightsTopContributorsOutput {
279
+ topContributors?: WorkloadInsightsTopContributorsRow[] | undefined;
280
+ nextToken?: string | undefined;
281
+ }
282
+ export interface GetQueryResultsWorkloadInsightsTopContributorsDataInput {
283
+ scopeId: string | undefined;
284
+ queryId: string | undefined;
285
+ nextToken?: string | undefined;
286
+ maxResults?: number | undefined;
287
+ }
288
+ export interface WorkloadInsightsTopContributorsDataPoint {
289
+ timestamps: Date[] | undefined;
290
+ values: number[] | undefined;
291
+ label: string | undefined;
292
+ }
293
+ export interface GetQueryResultsWorkloadInsightsTopContributorsDataOutput {
294
+ unit: MetricUnit | undefined;
295
+ datapoints: WorkloadInsightsTopContributorsDataPoint[] | undefined;
296
+ nextToken?: string | undefined;
297
+ }
298
+ export interface GetQueryStatusMonitorTopContributorsInput {
299
+ monitorName: string | undefined;
300
+ queryId: string | undefined;
301
+ }
302
+ export declare const QueryStatus: {
303
+ readonly CANCELED: "CANCELED";
304
+ readonly FAILED: "FAILED";
305
+ readonly QUEUED: "QUEUED";
306
+ readonly RUNNING: "RUNNING";
307
+ readonly SUCCEEDED: "SUCCEEDED";
308
+ };
309
+ export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
310
+ export interface GetQueryStatusMonitorTopContributorsOutput {
311
+ status: QueryStatus | undefined;
312
+ }
313
+ export interface GetQueryStatusWorkloadInsightsTopContributorsInput {
314
+ scopeId: string | undefined;
315
+ queryId: string | undefined;
316
+ }
317
+ export interface GetQueryStatusWorkloadInsightsTopContributorsOutput {
318
+ status: QueryStatus | undefined;
319
+ }
320
+ export interface GetQueryStatusWorkloadInsightsTopContributorsDataInput {
321
+ scopeId: string | undefined;
322
+ queryId: string | undefined;
323
+ }
324
+ export interface GetQueryStatusWorkloadInsightsTopContributorsDataOutput {
325
+ status: QueryStatus | undefined;
326
+ }
327
+ export interface GetScopeInput {
328
+ scopeId: string | undefined;
329
+ }
330
+ export interface GetScopeOutput {
331
+ scopeId: string | undefined;
332
+ status: ScopeStatus | undefined;
333
+ scopeArn: string | undefined;
334
+ targets: TargetResource[] | undefined;
335
+ tags?: Record<string, string> | undefined;
336
+ }
337
+ export interface ListMonitorsInput {
338
+ nextToken?: string | undefined;
339
+ maxResults?: number | undefined;
340
+ monitorStatus?: MonitorStatus | undefined;
341
+ }
342
+ export interface MonitorSummary {
343
+ monitorArn: string | undefined;
344
+ monitorName: string | undefined;
345
+ monitorStatus: MonitorStatus | undefined;
346
+ }
347
+ export interface ListMonitorsOutput {
348
+ monitors: MonitorSummary[] | undefined;
349
+ nextToken?: string | undefined;
350
+ }
351
+ export interface ListScopesInput {
352
+ nextToken?: string | undefined;
353
+ maxResults?: number | undefined;
354
+ }
355
+ export interface ScopeSummary {
356
+ scopeId: string | undefined;
357
+ status: ScopeStatus | undefined;
358
+ scopeArn: string | undefined;
359
+ }
360
+ export interface ListScopesOutput {
361
+ scopes: ScopeSummary[] | undefined;
362
+ nextToken?: string | undefined;
363
+ }
364
+ export interface ListTagsForResourceInput {
365
+ resourceArn: string | undefined;
366
+ }
367
+ export interface ListTagsForResourceOutput {
368
+ tags?: Record<string, string> | undefined;
369
+ }
370
+ export declare const MonitorMetric: {
371
+ readonly DATA_TRANSFERRED: "DATA_TRANSFERRED";
372
+ readonly RETRANSMISSIONS: "RETRANSMISSIONS";
373
+ readonly ROUND_TRIP_TIME: "ROUND_TRIP_TIME";
374
+ readonly TIMEOUTS: "TIMEOUTS";
375
+ };
376
+ export type MonitorMetric = (typeof MonitorMetric)[keyof typeof MonitorMetric];
377
+ export interface StartQueryMonitorTopContributorsInput {
378
+ monitorName: string | undefined;
379
+ startTime: Date | undefined;
380
+ endTime: Date | undefined;
381
+ metricName: MonitorMetric | undefined;
382
+ destinationCategory: DestinationCategory | undefined;
383
+ limit?: number | undefined;
384
+ }
385
+ export interface StartQueryMonitorTopContributorsOutput {
386
+ queryId: string | undefined;
387
+ }
388
+ export interface StopQueryMonitorTopContributorsInput {
389
+ monitorName: string | undefined;
390
+ queryId: string | undefined;
391
+ }
392
+ export interface StopQueryMonitorTopContributorsOutput {}
393
+ export interface UpdateMonitorInput {
394
+ monitorName: string | undefined;
395
+ localResourcesToAdd?: MonitorLocalResource[] | undefined;
396
+ localResourcesToRemove?: MonitorLocalResource[] | undefined;
397
+ remoteResourcesToAdd?: MonitorRemoteResource[] | undefined;
398
+ remoteResourcesToRemove?: MonitorRemoteResource[] | undefined;
399
+ clientToken?: string | undefined;
400
+ }
401
+ export interface UpdateMonitorOutput {
402
+ monitorArn: string | undefined;
403
+ monitorName: string | undefined;
404
+ monitorStatus: MonitorStatus | undefined;
405
+ localResources: MonitorLocalResource[] | undefined;
406
+ remoteResources: MonitorRemoteResource[] | undefined;
407
+ createdAt: Date | undefined;
408
+ modifiedAt: Date | undefined;
409
+ tags?: Record<string, string> | undefined;
410
+ }
411
+ export declare const WorkloadInsightsMetric: {
412
+ readonly DATA_TRANSFERRED: "DATA_TRANSFERRED";
413
+ readonly RETRANSMISSIONS: "RETRANSMISSIONS";
414
+ readonly TIMEOUTS: "TIMEOUTS";
415
+ };
416
+ export type WorkloadInsightsMetric =
417
+ (typeof WorkloadInsightsMetric)[keyof typeof WorkloadInsightsMetric];
418
+ export interface StartQueryWorkloadInsightsTopContributorsInput {
419
+ scopeId: string | undefined;
420
+ startTime: Date | undefined;
421
+ endTime: Date | undefined;
422
+ metricName: WorkloadInsightsMetric | undefined;
423
+ destinationCategory: DestinationCategory | undefined;
424
+ limit?: number | undefined;
425
+ }
426
+ export interface StartQueryWorkloadInsightsTopContributorsOutput {
427
+ queryId: string | undefined;
428
+ }
429
+ export interface StartQueryWorkloadInsightsTopContributorsDataInput {
430
+ scopeId: string | undefined;
431
+ startTime: Date | undefined;
432
+ endTime: Date | undefined;
433
+ metricName: WorkloadInsightsMetric | undefined;
434
+ destinationCategory: DestinationCategory | undefined;
435
+ }
436
+ export interface StartQueryWorkloadInsightsTopContributorsDataOutput {
437
+ queryId: string | undefined;
438
+ }
439
+ export interface StopQueryWorkloadInsightsTopContributorsInput {
440
+ scopeId: string | undefined;
441
+ queryId: string | undefined;
442
+ }
443
+ export interface StopQueryWorkloadInsightsTopContributorsOutput {}
444
+ export interface StopQueryWorkloadInsightsTopContributorsDataInput {
445
+ scopeId: string | undefined;
446
+ queryId: string | undefined;
447
+ }
448
+ export interface StopQueryWorkloadInsightsTopContributorsDataOutput {}
449
+ export interface UpdateScopeInput {
450
+ scopeId: string | undefined;
451
+ resourcesToAdd?: TargetResource[] | undefined;
452
+ resourcesToDelete?: TargetResource[] | undefined;
453
+ }
454
+ export interface UpdateScopeOutput {
455
+ scopeId: string | undefined;
456
+ status: ScopeStatus | undefined;
457
+ scopeArn: string | undefined;
458
+ tags?: Record<string, string> | undefined;
459
+ }
460
+ export interface TagResourceInput {
461
+ resourceArn: string | undefined;
462
+ tags: Record<string, string> | undefined;
463
+ }
464
+ export interface TagResourceOutput {}
465
+ export interface UntagResourceInput {
466
+ resourceArn: string | undefined;
467
+ tagKeys: string[] | undefined;
468
+ }
469
+ export interface UntagResourceOutput {}
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetQueryResultsMonitorTopContributorsCommandInput,
4
+ GetQueryResultsMonitorTopContributorsCommandOutput,
5
+ } from "../commands/GetQueryResultsMonitorTopContributorsCommand";
6
+ import { NetworkFlowMonitorPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetQueryResultsMonitorTopContributors: (
8
+ config: NetworkFlowMonitorPaginationConfiguration,
9
+ input: GetQueryResultsMonitorTopContributorsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetQueryResultsMonitorTopContributorsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput,
4
+ GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput,
5
+ } from "../commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand";
6
+ import { NetworkFlowMonitorPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetQueryResultsWorkloadInsightsTopContributorsData: (
8
+ config: NetworkFlowMonitorPaginationConfiguration,
9
+ input: GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetQueryResultsWorkloadInsightsTopContributorsCommandInput,
4
+ GetQueryResultsWorkloadInsightsTopContributorsCommandOutput,
5
+ } from "../commands/GetQueryResultsWorkloadInsightsTopContributorsCommand";
6
+ import { NetworkFlowMonitorPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetQueryResultsWorkloadInsightsTopContributors: (
8
+ config: NetworkFlowMonitorPaginationConfiguration,
9
+ input: GetQueryResultsWorkloadInsightsTopContributorsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetQueryResultsWorkloadInsightsTopContributorsCommandOutput>;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { NetworkFlowMonitorClient } from "../NetworkFlowMonitorClient";
3
+ export interface NetworkFlowMonitorPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: NetworkFlowMonitorClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListMonitorsCommandInput,
4
+ ListMonitorsCommandOutput,
5
+ } from "../commands/ListMonitorsCommand";
6
+ import { NetworkFlowMonitorPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListMonitors: (
8
+ config: NetworkFlowMonitorPaginationConfiguration,
9
+ input: ListMonitorsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListMonitorsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListScopesCommandInput,
4
+ ListScopesCommandOutput,
5
+ } from "../commands/ListScopesCommand";
6
+ import { NetworkFlowMonitorPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListScopes: (
8
+ config: NetworkFlowMonitorPaginationConfiguration,
9
+ input: ListScopesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListScopesCommandOutput>;
@@ -0,0 +1,6 @@
1
+ export * from "./GetQueryResultsMonitorTopContributorsPaginator";
2
+ export * from "./GetQueryResultsWorkloadInsightsTopContributorsDataPaginator";
3
+ export * from "./GetQueryResultsWorkloadInsightsTopContributorsPaginator";
4
+ export * from "./Interfaces";
5
+ export * from "./ListMonitorsPaginator";
6
+ export * from "./ListScopesPaginator";