@aws-sdk/client-networkflowmonitor 3.1168.0 → 3.1170.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 (65) hide show
  1. package/README.md +70 -0
  2. package/dist-cjs/index.js +404 -9
  3. package/dist-es/NetworkFlowMonitor.js +26 -0
  4. package/dist-es/commands/CreatePerformanceMonitorCommand.js +4 -0
  5. package/dist-es/commands/DeletePerformanceMonitorCommand.js +4 -0
  6. package/dist-es/commands/GetMonitorScopeSuggestionsCommand.js +4 -0
  7. package/dist-es/commands/GetPerformanceMonitorCommand.js +4 -0
  8. package/dist-es/commands/GetQueryResultsPerformanceMonitorCommand.js +4 -0
  9. package/dist-es/commands/GetQueryStatusPerformanceMonitorCommand.js +4 -0
  10. package/dist-es/commands/ListPerformanceMonitorsCommand.js +4 -0
  11. package/dist-es/commands/StartQueryPerformanceMonitorCommand.js +4 -0
  12. package/dist-es/commands/StopQueryPerformanceMonitorCommand.js +4 -0
  13. package/dist-es/commands/UpdatePerformanceMonitorCommand.js +4 -0
  14. package/dist-es/commands/index.js +10 -0
  15. package/dist-es/models/enums.js +30 -0
  16. package/dist-es/pagination/GetMonitorScopeSuggestionsPaginator.js +4 -0
  17. package/dist-es/pagination/GetQueryResultsPerformanceMonitorPaginator.js +4 -0
  18. package/dist-es/pagination/ListPerformanceMonitorsPaginator.js +4 -0
  19. package/dist-es/pagination/index.js +3 -0
  20. package/dist-es/schemas/schemas_0.js +268 -8
  21. package/dist-types/NetworkFlowMonitor.d.ts +92 -0
  22. package/dist-types/NetworkFlowMonitorClient.d.ts +12 -2
  23. package/dist-types/commands/CreatePerformanceMonitorCommand.d.ts +114 -0
  24. package/dist-types/commands/DeletePerformanceMonitorCommand.d.ts +87 -0
  25. package/dist-types/commands/GetMonitorScopeSuggestionsCommand.d.ts +97 -0
  26. package/dist-types/commands/GetPerformanceMonitorCommand.d.ts +100 -0
  27. package/dist-types/commands/GetQueryResultsMonitorTopContributorsCommand.d.ts +12 -1
  28. package/dist-types/commands/GetQueryResultsPerformanceMonitorCommand.d.ts +103 -0
  29. package/dist-types/commands/GetQueryStatusPerformanceMonitorCommand.d.ts +90 -0
  30. package/dist-types/commands/ListPerformanceMonitorsCommand.d.ts +100 -0
  31. package/dist-types/commands/StartQueryMonitorTopContributorsCommand.d.ts +1 -1
  32. package/dist-types/commands/StartQueryPerformanceMonitorCommand.d.ts +102 -0
  33. package/dist-types/commands/StartQueryWorkloadInsightsTopContributorsCommand.d.ts +1 -1
  34. package/dist-types/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.d.ts +1 -1
  35. package/dist-types/commands/StopQueryPerformanceMonitorCommand.d.ts +88 -0
  36. package/dist-types/commands/UpdatePerformanceMonitorCommand.d.ts +119 -0
  37. package/dist-types/commands/index.d.ts +10 -0
  38. package/dist-types/models/enums.d.ts +78 -0
  39. package/dist-types/models/models_0.d.ts +599 -1
  40. package/dist-types/pagination/GetMonitorScopeSuggestionsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/GetQueryResultsPerformanceMonitorPaginator.d.ts +7 -0
  42. package/dist-types/pagination/ListPerformanceMonitorsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/index.d.ts +3 -0
  44. package/dist-types/schemas/schemas_0.d.ts +38 -0
  45. package/dist-types/ts3.4/NetworkFlowMonitor.d.ts +192 -0
  46. package/dist-types/ts3.4/NetworkFlowMonitorClient.d.ts +60 -0
  47. package/dist-types/ts3.4/commands/CreatePerformanceMonitorCommand.d.ts +39 -0
  48. package/dist-types/ts3.4/commands/DeletePerformanceMonitorCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/GetMonitorScopeSuggestionsCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/GetPerformanceMonitorCommand.d.ts +39 -0
  51. package/dist-types/ts3.4/commands/GetQueryResultsPerformanceMonitorCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/GetQueryStatusPerformanceMonitorCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/ListPerformanceMonitorsCommand.d.ts +39 -0
  54. package/dist-types/ts3.4/commands/StartQueryPerformanceMonitorCommand.d.ts +42 -0
  55. package/dist-types/ts3.4/commands/StopQueryPerformanceMonitorCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/UpdatePerformanceMonitorCommand.d.ts +39 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  58. package/dist-types/ts3.4/models/enums.d.ts +39 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +150 -0
  60. package/dist-types/ts3.4/pagination/GetMonitorScopeSuggestionsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/GetQueryResultsPerformanceMonitorPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/ListPerformanceMonitorsPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  64. package/dist-types/ts3.4/schemas/schemas_0.d.ts +38 -0
  65. package/package.json +1 -1
@@ -0,0 +1,119 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdatePerformanceMonitorInput, UpdatePerformanceMonitorOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdatePerformanceMonitorCommand}.
11
+ */
12
+ export interface UpdatePerformanceMonitorCommandInput extends UpdatePerformanceMonitorInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdatePerformanceMonitorCommand}.
18
+ */
19
+ export interface UpdatePerformanceMonitorCommandOutput extends UpdatePerformanceMonitorOutput, __MetadataBearer {
20
+ }
21
+ declare const UpdatePerformanceMonitorCommand_base: {
22
+ new (input: UpdatePerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<UpdatePerformanceMonitorCommandInput, UpdatePerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdatePerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<UpdatePerformanceMonitorCommandInput, UpdatePerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Update a performance monitor, to add or remove the resources that the monitor tracks network performance for.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkFlowMonitorClient, UpdatePerformanceMonitorCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
32
+ * // const { NetworkFlowMonitorClient, UpdatePerformanceMonitorCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
33
+ * // import type { NetworkFlowMonitorClientConfig } from "@aws-sdk/client-networkflowmonitor";
34
+ * const config = {}; // type is NetworkFlowMonitorClientConfig
35
+ * const client = new NetworkFlowMonitorClient(config);
36
+ * const input = { // UpdatePerformanceMonitorInput
37
+ * monitorName: "STRING_VALUE", // required
38
+ * targetsToAdd: [ // PerformanceMonitorTargets
39
+ * { // PerformanceMonitorTarget
40
+ * type: "AWS::EC2::VPC", // required
41
+ * identifier: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * targetsToRemove: [
45
+ * {
46
+ * type: "AWS::EC2::VPC", // required
47
+ * identifier: "STRING_VALUE", // required
48
+ * },
49
+ * ],
50
+ * clientToken: "STRING_VALUE",
51
+ * };
52
+ * const command = new UpdatePerformanceMonitorCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // UpdatePerformanceMonitorOutput
55
+ * // monitorArn: "STRING_VALUE", // required
56
+ * // monitorName: "STRING_VALUE", // required
57
+ * // monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
58
+ * // monitorType: "VPC", // required
59
+ * // targets: [ // PerformanceMonitorTargets // required
60
+ * // { // PerformanceMonitorTarget
61
+ * // type: "AWS::EC2::VPC", // required
62
+ * // identifier: "STRING_VALUE", // required
63
+ * // },
64
+ * // ],
65
+ * // createdAt: new Date("TIMESTAMP"), // required
66
+ * // modifiedAt: new Date("TIMESTAMP"), // required
67
+ * // tags: { // TagMap
68
+ * // "<keys>": "STRING_VALUE",
69
+ * // },
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param UpdatePerformanceMonitorCommandInput - {@link UpdatePerformanceMonitorCommandInput}
75
+ * @returns {@link UpdatePerformanceMonitorCommandOutput}
76
+ * @see {@link UpdatePerformanceMonitorCommandInput} for command's `input` shape.
77
+ * @see {@link UpdatePerformanceMonitorCommandOutput} for command's `response` shape.
78
+ * @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
79
+ *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * <p>You don't have sufficient permission to perform this action.</p>
82
+ *
83
+ * @throws {@link ConflictException} (client fault)
84
+ * <p>The requested resource is in use.</p>
85
+ *
86
+ * @throws {@link InternalServerException} (server fault)
87
+ * <p>An internal error occurred.</p>
88
+ *
89
+ * @throws {@link ResourceNotFoundException} (client fault)
90
+ * <p>The request specifies a resource that doesn't exist.</p>
91
+ *
92
+ * @throws {@link ServiceQuotaExceededException} (client fault)
93
+ * <p>The request exceeded a service quota.</p>
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * <p>The request was denied due to request throttling.</p>
97
+ *
98
+ * @throws {@link ValidationException} (client fault)
99
+ * <p>Invalid request.</p>
100
+ *
101
+ * @throws {@link NetworkFlowMonitorServiceException}
102
+ * <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
103
+ *
104
+ *
105
+ * @public
106
+ */
107
+ export declare class UpdatePerformanceMonitorCommand extends UpdatePerformanceMonitorCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: UpdatePerformanceMonitorInput;
112
+ output: UpdatePerformanceMonitorOutput;
113
+ };
114
+ sdk: {
115
+ input: UpdatePerformanceMonitorCommandInput;
116
+ output: UpdatePerformanceMonitorCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -1,25 +1,35 @@
1
1
  export * from "./CreateMonitorCommand";
2
+ export * from "./CreatePerformanceMonitorCommand";
2
3
  export * from "./CreateScopeCommand";
3
4
  export * from "./DeleteMonitorCommand";
5
+ export * from "./DeletePerformanceMonitorCommand";
4
6
  export * from "./DeleteScopeCommand";
5
7
  export * from "./GetMonitorCommand";
8
+ export * from "./GetMonitorScopeSuggestionsCommand";
9
+ export * from "./GetPerformanceMonitorCommand";
6
10
  export * from "./GetQueryResultsMonitorTopContributorsCommand";
11
+ export * from "./GetQueryResultsPerformanceMonitorCommand";
7
12
  export * from "./GetQueryResultsWorkloadInsightsTopContributorsCommand";
8
13
  export * from "./GetQueryResultsWorkloadInsightsTopContributorsDataCommand";
9
14
  export * from "./GetQueryStatusMonitorTopContributorsCommand";
15
+ export * from "./GetQueryStatusPerformanceMonitorCommand";
10
16
  export * from "./GetQueryStatusWorkloadInsightsTopContributorsCommand";
11
17
  export * from "./GetQueryStatusWorkloadInsightsTopContributorsDataCommand";
12
18
  export * from "./GetScopeCommand";
13
19
  export * from "./ListMonitorsCommand";
20
+ export * from "./ListPerformanceMonitorsCommand";
14
21
  export * from "./ListScopesCommand";
15
22
  export * from "./ListTagsForResourceCommand";
16
23
  export * from "./StartQueryMonitorTopContributorsCommand";
24
+ export * from "./StartQueryPerformanceMonitorCommand";
17
25
  export * from "./StartQueryWorkloadInsightsTopContributorsCommand";
18
26
  export * from "./StartQueryWorkloadInsightsTopContributorsDataCommand";
19
27
  export * from "./StopQueryMonitorTopContributorsCommand";
28
+ export * from "./StopQueryPerformanceMonitorCommand";
20
29
  export * from "./StopQueryWorkloadInsightsTopContributorsCommand";
21
30
  export * from "./StopQueryWorkloadInsightsTopContributorsDataCommand";
22
31
  export * from "./TagResourceCommand";
23
32
  export * from "./UntagResourceCommand";
24
33
  export * from "./UpdateMonitorCommand";
34
+ export * from "./UpdatePerformanceMonitorCommand";
25
35
  export * from "./UpdateScopeCommand";
@@ -1,3 +1,16 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const OrgMembershipStatus: {
6
+ readonly IN_ORG: "IN_ORG";
7
+ readonly NOT_IN_ORG: "NOT_IN_ORG";
8
+ readonly UNKNOWN: "UNKNOWN";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type OrgMembershipStatus = (typeof OrgMembershipStatus)[keyof typeof OrgMembershipStatus];
1
14
  /**
2
15
  * @public
3
16
  * @enum
@@ -43,6 +56,28 @@ export declare const MonitorStatus: {
43
56
  * @public
44
57
  */
45
58
  export type MonitorStatus = (typeof MonitorStatus)[keyof typeof MonitorStatus];
59
+ /**
60
+ * @public
61
+ * @enum
62
+ */
63
+ export declare const PerformanceMonitorTargetType: {
64
+ readonly AWS_VPC: "AWS::EC2::VPC";
65
+ };
66
+ /**
67
+ * @public
68
+ */
69
+ export type PerformanceMonitorTargetType = (typeof PerformanceMonitorTargetType)[keyof typeof PerformanceMonitorTargetType];
70
+ /**
71
+ * @public
72
+ * @enum
73
+ */
74
+ export declare const PerformanceMonitorType: {
75
+ readonly VPC: "VPC";
76
+ };
77
+ /**
78
+ * @public
79
+ */
80
+ export type PerformanceMonitorType = (typeof PerformanceMonitorType)[keyof typeof PerformanceMonitorType];
46
81
  /**
47
82
  * @public
48
83
  * @enum
@@ -76,16 +111,48 @@ export type ScopeStatus = (typeof ScopeStatus)[keyof typeof ScopeStatus];
76
111
  export declare const DestinationCategory: {
77
112
  readonly AMAZON_DYNAMODB: "AMAZON_DYNAMODB";
78
113
  readonly AMAZON_S3: "AMAZON_S3";
114
+ readonly AWS_SERVICE: "AWS_SERVICE";
115
+ readonly INTERNET: "INTERNET";
79
116
  readonly INTER_AZ: "INTER_AZ";
80
117
  readonly INTER_REGION: "INTER_REGION";
81
118
  readonly INTER_VPC: "INTER_VPC";
82
119
  readonly INTRA_AZ: "INTRA_AZ";
120
+ readonly LOCAL_ZONE: "LOCAL_ZONE";
121
+ readonly TRANSIT_GATEWAY: "TRANSIT_GATEWAY";
83
122
  readonly UNCLASSIFIED: "UNCLASSIFIED";
84
123
  };
85
124
  /**
86
125
  * @public
87
126
  */
88
127
  export type DestinationCategory = (typeof DestinationCategory)[keyof typeof DestinationCategory];
128
+ /**
129
+ * @public
130
+ * @enum
131
+ */
132
+ export declare const FilterOperator: {
133
+ readonly CONTAINS: "CONTAINS";
134
+ readonly EQUALS: "EQUALS";
135
+ readonly IN: "IN";
136
+ readonly NOT_EQUALS: "NOT_EQUALS";
137
+ };
138
+ /**
139
+ * @public
140
+ */
141
+ export type FilterOperator = (typeof FilterOperator)[keyof typeof FilterOperator];
142
+ /**
143
+ * @public
144
+ * @enum
145
+ */
146
+ export declare const ScopeCoverageStatus: {
147
+ readonly COMPLETE: "COMPLETE";
148
+ readonly INCOMPLETE: "INCOMPLETE";
149
+ readonly PENDING: "PENDING";
150
+ readonly STALE: "STALE";
151
+ };
152
+ /**
153
+ * @public
154
+ */
155
+ export type ScopeCoverageStatus = (typeof ScopeCoverageStatus)[keyof typeof ScopeCoverageStatus];
89
156
  /**
90
157
  * @public
91
158
  * @enum
@@ -152,6 +219,17 @@ export declare const MonitorMetric: {
152
219
  * @public
153
220
  */
154
221
  export type MonitorMetric = (typeof MonitorMetric)[keyof typeof MonitorMetric];
222
+ /**
223
+ * @public
224
+ * @enum
225
+ */
226
+ export declare const PerformanceMonitorQueryType: {
227
+ readonly TOP_PATHS: "TOP_PATHS";
228
+ };
229
+ /**
230
+ * @public
231
+ */
232
+ export type PerformanceMonitorQueryType = (typeof PerformanceMonitorQueryType)[keyof typeof PerformanceMonitorQueryType];
155
233
  /**
156
234
  * @public
157
235
  * @enum