@aws-sdk/client-networkmonitor 3.480.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.
- package/LICENSE +201 -0
- package/README.md +309 -0
- package/dist-cjs/NetworkMonitor.js +35 -0
- package/dist-cjs/NetworkMonitorClient.js +43 -0
- package/dist-cjs/commands/CreateMonitorCommand.js +51 -0
- package/dist-cjs/commands/CreateProbeCommand.js +51 -0
- package/dist-cjs/commands/DeleteMonitorCommand.js +51 -0
- package/dist-cjs/commands/DeleteProbeCommand.js +51 -0
- package/dist-cjs/commands/GetMonitorCommand.js +51 -0
- package/dist-cjs/commands/GetProbeCommand.js +51 -0
- package/dist-cjs/commands/ListMonitorsCommand.js +51 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
- package/dist-cjs/commands/TagResourceCommand.js +51 -0
- package/dist-cjs/commands/UntagResourceCommand.js +51 -0
- package/dist-cjs/commands/UpdateMonitorCommand.js +51 -0
- package/dist-cjs/commands/UpdateProbeCommand.js +51 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/NetworkMonitorServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +122 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListMonitorsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +957 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/NetworkMonitor.js +31 -0
- package/dist-es/NetworkMonitorClient.js +39 -0
- package/dist-es/commands/CreateMonitorCommand.js +47 -0
- package/dist-es/commands/CreateProbeCommand.js +47 -0
- package/dist-es/commands/DeleteMonitorCommand.js +47 -0
- package/dist-es/commands/DeleteProbeCommand.js +47 -0
- package/dist-es/commands/GetMonitorCommand.js +47 -0
- package/dist-es/commands/GetProbeCommand.js +47 -0
- package/dist-es/commands/ListMonitorsCommand.js +47 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
- package/dist-es/commands/TagResourceCommand.js +47 -0
- package/dist-es/commands/UntagResourceCommand.js +47 -0
- package/dist-es/commands/UpdateMonitorCommand.js +47 -0
- package/dist-es/commands/UpdateProbeCommand.js +47 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/NetworkMonitorServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +112 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListMonitorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +930 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/NetworkMonitor.d.ts +102 -0
- package/dist-types/NetworkMonitorClient.d.ts +189 -0
- package/dist-types/commands/CreateMonitorCommand.d.ts +114 -0
- package/dist-types/commands/CreateProbeCommand.d.ts +119 -0
- package/dist-types/commands/DeleteMonitorCommand.d.ts +86 -0
- package/dist-types/commands/DeleteProbeCommand.d.ts +90 -0
- package/dist-types/commands/GetMonitorCommand.d.ts +115 -0
- package/dist-types/commands/GetProbeCommand.d.ts +103 -0
- package/dist-types/commands/ListMonitorsCommand.d.ts +98 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
- package/dist-types/commands/TagResourceCommand.d.ts +92 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
- package/dist-types/commands/UpdateMonitorCommand.d.ts +98 -0
- package/dist-types/commands/UpdateProbeCommand.d.ts +111 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +23 -0
- package/dist-types/models/NetworkMonitorServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +902 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListMonitorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/NetworkMonitor.d.ts +211 -0
- package/dist-types/ts3.4/NetworkMonitorClient.d.ts +191 -0
- package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateProbeCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteProbeCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetProbeCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateMonitorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateProbeCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/NetworkMonitorServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +254 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListMonitorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +103 -0
|
@@ -0,0 +1,902 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { NetworkMonitorServiceException as __BaseException } from "./NetworkMonitorServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
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
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const AddressFamily: {
|
|
20
|
+
readonly IPV4: "IPV4";
|
|
21
|
+
readonly IPV6: "IPV6";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>This operation attempted to create a resource that already exists.</p>
|
|
30
|
+
*/
|
|
31
|
+
export declare class ConflictException extends __BaseException {
|
|
32
|
+
readonly name: "ConflictException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const Protocol: {
|
|
44
|
+
readonly ICMP: "ICMP";
|
|
45
|
+
readonly TCP: "TCP";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export type Protocol = (typeof Protocol)[keyof typeof Protocol];
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
* <p>Creates a monitor probe.</p>
|
|
54
|
+
*/
|
|
55
|
+
export interface CreateMonitorProbeInput {
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
* <p>The ARN of the subnet.</p>
|
|
59
|
+
*/
|
|
60
|
+
sourceArn: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* <p>The destination IP address. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
64
|
+
*/
|
|
65
|
+
destination: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* <p>The port associated with the <code>destination</code>. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
69
|
+
*/
|
|
70
|
+
destinationPort?: number;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
|
|
74
|
+
*/
|
|
75
|
+
protocol: Protocol | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
|
|
79
|
+
*/
|
|
80
|
+
packetSize?: number;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* <p>The list of key-value pairs created and assigned to the monitor.</p>
|
|
84
|
+
*/
|
|
85
|
+
probeTags?: Record<string, string>;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export interface CreateMonitorInput {
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* <p>The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 255 characters.</p>
|
|
94
|
+
*/
|
|
95
|
+
monitorName: string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
* <p>Displays a list of all of the probes created for a monitor.</p>
|
|
99
|
+
*/
|
|
100
|
+
probes?: CreateMonitorProbeInput[];
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
* <p>The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either <code>30</code> or <code>60</code>. </p>
|
|
104
|
+
*/
|
|
105
|
+
aggregationPeriod?: number;
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
* <p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>
|
|
109
|
+
*/
|
|
110
|
+
clientToken?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
* <p>The list of key-value pairs created and assigned to the monitor.</p>
|
|
114
|
+
*/
|
|
115
|
+
tags?: Record<string, string>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
* @enum
|
|
120
|
+
*/
|
|
121
|
+
export declare const MonitorState: {
|
|
122
|
+
readonly ACTIVE: "ACTIVE";
|
|
123
|
+
readonly DELETING: "DELETING";
|
|
124
|
+
readonly ERROR: "ERROR";
|
|
125
|
+
readonly INACTIVE: "INACTIVE";
|
|
126
|
+
readonly PENDING: "PENDING";
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export type MonitorState = (typeof MonitorState)[keyof typeof MonitorState];
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export interface CreateMonitorOutput {
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
* <p>The ARN of the monitor.</p>
|
|
139
|
+
*/
|
|
140
|
+
monitorArn: string | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
* <p>The name of the monitor.</p>
|
|
144
|
+
*/
|
|
145
|
+
monitorName: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
* <p>The state of the monitor.</p>
|
|
149
|
+
*/
|
|
150
|
+
state: MonitorState | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
* <p>The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be either <code>30</code> or <code>60</code>. </p>
|
|
154
|
+
*/
|
|
155
|
+
aggregationPeriod?: number;
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
* <p>The list of key-value pairs assigned to the monitor.</p>
|
|
159
|
+
*/
|
|
160
|
+
tags?: Record<string, string>;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
165
|
+
*/
|
|
166
|
+
export declare class InternalServerException extends __BaseException {
|
|
167
|
+
readonly name: "InternalServerException";
|
|
168
|
+
readonly $fault: "server";
|
|
169
|
+
$retryable: {};
|
|
170
|
+
/**
|
|
171
|
+
* @internal
|
|
172
|
+
*/
|
|
173
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
* <p>This request exceeds a service quota.</p>
|
|
178
|
+
*/
|
|
179
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
180
|
+
readonly name: "ServiceQuotaExceededException";
|
|
181
|
+
readonly $fault: "client";
|
|
182
|
+
/**
|
|
183
|
+
* @internal
|
|
184
|
+
*/
|
|
185
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* <p>The request was denied due to request throttling</p>
|
|
190
|
+
*/
|
|
191
|
+
export declare class ThrottlingException extends __BaseException {
|
|
192
|
+
readonly name: "ThrottlingException";
|
|
193
|
+
readonly $fault: "client";
|
|
194
|
+
$retryable: {
|
|
195
|
+
throttling: boolean;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* @internal
|
|
199
|
+
*/
|
|
200
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
* <p>One of the parameters for the request is not valid.</p>
|
|
205
|
+
*/
|
|
206
|
+
export declare class ValidationException extends __BaseException {
|
|
207
|
+
readonly name: "ValidationException";
|
|
208
|
+
readonly $fault: "client";
|
|
209
|
+
/**
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
* <p>Defines a probe when creating a probe or monitor.</p>
|
|
217
|
+
*/
|
|
218
|
+
export interface ProbeInput {
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
* <p>The ARN of the subnet.</p>
|
|
222
|
+
*/
|
|
223
|
+
sourceArn: string | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
* <p>The destination IP address. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
227
|
+
*/
|
|
228
|
+
destination: string | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* @public
|
|
231
|
+
* <p>The port associated with the <code>destination</code>. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
232
|
+
*/
|
|
233
|
+
destinationPort?: number;
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
|
|
237
|
+
*/
|
|
238
|
+
protocol: Protocol | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
|
|
242
|
+
*/
|
|
243
|
+
packetSize?: number;
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
* <p>The list of key-value pairs created and assigned to the monitor.</p>
|
|
247
|
+
*/
|
|
248
|
+
tags?: Record<string, string>;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
export interface CreateProbeInput {
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
* <p>The name of the monitor to associated with the probe. To get a list of available monitors, use <code>ListMonitors</code>.</p>
|
|
257
|
+
*/
|
|
258
|
+
monitorName: string | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* @public
|
|
261
|
+
* <p>Describes the details of an individual probe for a monitor.</p>
|
|
262
|
+
*/
|
|
263
|
+
probe: ProbeInput | undefined;
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
* <p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>
|
|
267
|
+
*/
|
|
268
|
+
clientToken?: string;
|
|
269
|
+
/**
|
|
270
|
+
* @public
|
|
271
|
+
* <p>The list of key-value pairs created and assigned to the probe.</p>
|
|
272
|
+
*/
|
|
273
|
+
tags?: Record<string, string>;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
* @enum
|
|
278
|
+
*/
|
|
279
|
+
export declare const ProbeState: {
|
|
280
|
+
readonly ACTIVE: "ACTIVE";
|
|
281
|
+
readonly DELETED: "DELETED";
|
|
282
|
+
readonly DELETING: "DELETING";
|
|
283
|
+
readonly ERROR: "ERROR";
|
|
284
|
+
readonly INACTIVE: "INACTIVE";
|
|
285
|
+
readonly PENDING: "PENDING";
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
export type ProbeState = (typeof ProbeState)[keyof typeof ProbeState];
|
|
291
|
+
/**
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
export interface CreateProbeOutput {
|
|
295
|
+
/**
|
|
296
|
+
* @public
|
|
297
|
+
* <p>The ID of the probe for which details are returned.</p>
|
|
298
|
+
*/
|
|
299
|
+
probeId?: string;
|
|
300
|
+
/**
|
|
301
|
+
* @public
|
|
302
|
+
* <p>The ARN of the probe.</p>
|
|
303
|
+
*/
|
|
304
|
+
probeArn?: string;
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
* <p>The ARN of the probe.</p>
|
|
308
|
+
*/
|
|
309
|
+
sourceArn: string | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* @public
|
|
312
|
+
* <p>The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.</p>
|
|
313
|
+
*/
|
|
314
|
+
destination: string | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* @public
|
|
317
|
+
* <p>The port associated with the <code>destination</code>. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
318
|
+
*/
|
|
319
|
+
destinationPort?: number;
|
|
320
|
+
/**
|
|
321
|
+
* @public
|
|
322
|
+
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
|
|
323
|
+
*/
|
|
324
|
+
protocol: Protocol | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* @public
|
|
327
|
+
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
|
|
328
|
+
*/
|
|
329
|
+
packetSize?: number;
|
|
330
|
+
/**
|
|
331
|
+
* @public
|
|
332
|
+
* <p>Indicates whether the IP address is <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
333
|
+
*/
|
|
334
|
+
addressFamily?: AddressFamily;
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
* <p>The ID of the source VPC or subnet.</p>
|
|
338
|
+
*/
|
|
339
|
+
vpcId?: string;
|
|
340
|
+
/**
|
|
341
|
+
* @public
|
|
342
|
+
* <p>The state of the probe.</p>
|
|
343
|
+
*/
|
|
344
|
+
state?: ProbeState;
|
|
345
|
+
/**
|
|
346
|
+
* @public
|
|
347
|
+
* <p>The time and date that the probe was created.</p>
|
|
348
|
+
*/
|
|
349
|
+
createdAt?: Date;
|
|
350
|
+
/**
|
|
351
|
+
* @public
|
|
352
|
+
* <p>The time and date when the probe was last modified. </p>
|
|
353
|
+
*/
|
|
354
|
+
modifiedAt?: Date;
|
|
355
|
+
/**
|
|
356
|
+
* @public
|
|
357
|
+
* <p>The list of key-value pairs assigned to the probe.</p>
|
|
358
|
+
*/
|
|
359
|
+
tags?: Record<string, string>;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* @public
|
|
363
|
+
* <p>The specified resource does not exist.</p>
|
|
364
|
+
*/
|
|
365
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
366
|
+
readonly name: "ResourceNotFoundException";
|
|
367
|
+
readonly $fault: "client";
|
|
368
|
+
/**
|
|
369
|
+
* @internal
|
|
370
|
+
*/
|
|
371
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
export interface DeleteMonitorInput {
|
|
377
|
+
/**
|
|
378
|
+
* @public
|
|
379
|
+
* <p>The name of the monitor to delete. Use the <code>ListMonitors</code> action to get a list of your current monitors. </p>
|
|
380
|
+
*/
|
|
381
|
+
monitorName: string | undefined;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
export interface DeleteMonitorOutput {
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
export interface DeleteProbeInput {
|
|
392
|
+
/**
|
|
393
|
+
* @public
|
|
394
|
+
* <p>The name of the monitor to delete. For a list of the available monitors, use the <code>ListMonitors</code> action.</p>
|
|
395
|
+
*/
|
|
396
|
+
monitorName: string | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* @public
|
|
399
|
+
* <p>The ID of the probe to delete. Run <code>GetMonitor</code> to get a lst of all probes and probe IDs associated with the monitor.</p>
|
|
400
|
+
*/
|
|
401
|
+
probeId: string | undefined;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
export interface DeleteProbeOutput {
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
export interface GetMonitorInput {
|
|
412
|
+
/**
|
|
413
|
+
* @public
|
|
414
|
+
* <p>The name of the monitor that details are returned for.</p>
|
|
415
|
+
*/
|
|
416
|
+
monitorName: string | undefined;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* @public
|
|
420
|
+
* <p>Describes information about a monitor probe.</p>
|
|
421
|
+
*/
|
|
422
|
+
export interface Probe {
|
|
423
|
+
/**
|
|
424
|
+
* @public
|
|
425
|
+
* <p>The ID of the probe.</p>
|
|
426
|
+
*/
|
|
427
|
+
probeId?: string;
|
|
428
|
+
/**
|
|
429
|
+
* @public
|
|
430
|
+
* <p>The ARN of the probe.</p>
|
|
431
|
+
*/
|
|
432
|
+
probeArn?: string;
|
|
433
|
+
/**
|
|
434
|
+
* @public
|
|
435
|
+
* <p>The ARN of the probe source subnet.</p>
|
|
436
|
+
*/
|
|
437
|
+
sourceArn: string | undefined;
|
|
438
|
+
/**
|
|
439
|
+
* @public
|
|
440
|
+
* <p>The destination for the probe. This should be either an <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
441
|
+
*/
|
|
442
|
+
destination: string | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* @public
|
|
445
|
+
* <p>The destination port for the probe. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
446
|
+
*/
|
|
447
|
+
destinationPort?: number;
|
|
448
|
+
/**
|
|
449
|
+
* @public
|
|
450
|
+
* <p>The network protocol for the destination. This can be either <code>TCP</code> or <code>ICMP</code>. If the protocol is <code>TCP</code>, then <code>port</code> is also required.</p>
|
|
451
|
+
*/
|
|
452
|
+
protocol: Protocol | undefined;
|
|
453
|
+
/**
|
|
454
|
+
* @public
|
|
455
|
+
* <p>The size of the packets traveling between the <code>source</code> and <code>destination</code>. This must be a number between <code>56</code> and </p>
|
|
456
|
+
*/
|
|
457
|
+
packetSize?: number;
|
|
458
|
+
/**
|
|
459
|
+
* @public
|
|
460
|
+
* <p>The IPv4 or IPv6 address for the probe.</p>
|
|
461
|
+
*/
|
|
462
|
+
addressFamily?: AddressFamily;
|
|
463
|
+
/**
|
|
464
|
+
* @public
|
|
465
|
+
* <p>The ID of the source VPC subnet.</p>
|
|
466
|
+
*/
|
|
467
|
+
vpcId?: string;
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
* <p>The state of the probe.</p>
|
|
471
|
+
*/
|
|
472
|
+
state?: ProbeState;
|
|
473
|
+
/**
|
|
474
|
+
* @public
|
|
475
|
+
* <p>The time and date the probe was created.</p>
|
|
476
|
+
*/
|
|
477
|
+
createdAt?: Date;
|
|
478
|
+
/**
|
|
479
|
+
* @public
|
|
480
|
+
* <p>The time and date that the probe was last modified.</p>
|
|
481
|
+
*/
|
|
482
|
+
modifiedAt?: Date;
|
|
483
|
+
/**
|
|
484
|
+
* @public
|
|
485
|
+
* <p>The list of key-value pairs created and assigned to the probe.</p>
|
|
486
|
+
*/
|
|
487
|
+
tags?: Record<string, string>;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
export interface GetMonitorOutput {
|
|
493
|
+
/**
|
|
494
|
+
* @public
|
|
495
|
+
* <p>The ARN of the selected monitor.</p>
|
|
496
|
+
*/
|
|
497
|
+
monitorArn: string | undefined;
|
|
498
|
+
/**
|
|
499
|
+
* @public
|
|
500
|
+
* <p>The name of the monitor. To get a list of the current monitors and their names, use the <code>ListMonitors</code> action.</p>
|
|
501
|
+
*/
|
|
502
|
+
monitorName: string | undefined;
|
|
503
|
+
/**
|
|
504
|
+
* @public
|
|
505
|
+
* <p>Returns a list of the state of each monitor. </p>
|
|
506
|
+
*/
|
|
507
|
+
state: MonitorState | undefined;
|
|
508
|
+
/**
|
|
509
|
+
* @public
|
|
510
|
+
* <p>The aggregation period for the specified monitor.</p>
|
|
511
|
+
*/
|
|
512
|
+
aggregationPeriod: number | undefined;
|
|
513
|
+
/**
|
|
514
|
+
* @public
|
|
515
|
+
* <p>The list of key-value pairs assigned to the monitor.</p>
|
|
516
|
+
*/
|
|
517
|
+
tags?: Record<string, string>;
|
|
518
|
+
/**
|
|
519
|
+
* @public
|
|
520
|
+
* <p>The details about each probe associated with that monitor. </p>
|
|
521
|
+
*/
|
|
522
|
+
probes?: Probe[];
|
|
523
|
+
/**
|
|
524
|
+
* @public
|
|
525
|
+
* <p>The time and date when the monitor was created.</p>
|
|
526
|
+
*/
|
|
527
|
+
createdAt: Date | undefined;
|
|
528
|
+
/**
|
|
529
|
+
* @public
|
|
530
|
+
* <p>The time and date when the monitor was last modified.</p>
|
|
531
|
+
*/
|
|
532
|
+
modifiedAt: Date | undefined;
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* @public
|
|
536
|
+
*/
|
|
537
|
+
export interface GetProbeInput {
|
|
538
|
+
/**
|
|
539
|
+
* @public
|
|
540
|
+
* <p>The name of the monitor associated with the probe. Run <code>ListMonitors</code> to get a list of monitor names.</p>
|
|
541
|
+
*/
|
|
542
|
+
monitorName: string | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* @public
|
|
545
|
+
* <p>The ID of the probe to get information about. Run <code>GetMonitor</code> action to get a list of probes and probe IDs for the monitor.</p>
|
|
546
|
+
*/
|
|
547
|
+
probeId: string | undefined;
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* @public
|
|
551
|
+
*/
|
|
552
|
+
export interface GetProbeOutput {
|
|
553
|
+
/**
|
|
554
|
+
* @public
|
|
555
|
+
* <p>The ID of the probe for which details are returned.</p>
|
|
556
|
+
*/
|
|
557
|
+
probeId?: string;
|
|
558
|
+
/**
|
|
559
|
+
* @public
|
|
560
|
+
* <p>The ARN of the probe.</p>
|
|
561
|
+
*/
|
|
562
|
+
probeArn?: string;
|
|
563
|
+
/**
|
|
564
|
+
* @public
|
|
565
|
+
* <p>The ARN of the probe.</p>
|
|
566
|
+
*/
|
|
567
|
+
sourceArn: string | undefined;
|
|
568
|
+
/**
|
|
569
|
+
* @public
|
|
570
|
+
* <p>The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.</p>
|
|
571
|
+
*/
|
|
572
|
+
destination: string | undefined;
|
|
573
|
+
/**
|
|
574
|
+
* @public
|
|
575
|
+
* <p>The port associated with the <code>destination</code>. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
576
|
+
*/
|
|
577
|
+
destinationPort?: number;
|
|
578
|
+
/**
|
|
579
|
+
* @public
|
|
580
|
+
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
|
|
581
|
+
*/
|
|
582
|
+
protocol: Protocol | undefined;
|
|
583
|
+
/**
|
|
584
|
+
* @public
|
|
585
|
+
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
|
|
586
|
+
*/
|
|
587
|
+
packetSize?: number;
|
|
588
|
+
/**
|
|
589
|
+
* @public
|
|
590
|
+
* <p>Indicates whether the IP address is <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
591
|
+
*/
|
|
592
|
+
addressFamily?: AddressFamily;
|
|
593
|
+
/**
|
|
594
|
+
* @public
|
|
595
|
+
* <p>The ID of the source VPC or subnet.</p>
|
|
596
|
+
*/
|
|
597
|
+
vpcId?: string;
|
|
598
|
+
/**
|
|
599
|
+
* @public
|
|
600
|
+
* <p>The state of the probe.</p>
|
|
601
|
+
*/
|
|
602
|
+
state?: ProbeState;
|
|
603
|
+
/**
|
|
604
|
+
* @public
|
|
605
|
+
* <p>The time and date that the probe was created.</p>
|
|
606
|
+
*/
|
|
607
|
+
createdAt?: Date;
|
|
608
|
+
/**
|
|
609
|
+
* @public
|
|
610
|
+
* <p>The time and date that the probe was last modified.</p>
|
|
611
|
+
*/
|
|
612
|
+
modifiedAt?: Date;
|
|
613
|
+
/**
|
|
614
|
+
* @public
|
|
615
|
+
* <p>The list of key-value pairs assigned to the probe.</p>
|
|
616
|
+
*/
|
|
617
|
+
tags?: Record<string, string>;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
export interface ListMonitorsInput {
|
|
623
|
+
/**
|
|
624
|
+
* @public
|
|
625
|
+
* <p>The token for the next page of results.</p>
|
|
626
|
+
*/
|
|
627
|
+
nextToken?: string;
|
|
628
|
+
/**
|
|
629
|
+
* @public
|
|
630
|
+
* <p>The maximum number of results to return with a single call.
|
|
631
|
+
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
632
|
+
* <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
|
|
633
|
+
* returned.</p>
|
|
634
|
+
*/
|
|
635
|
+
maxResults?: number;
|
|
636
|
+
/**
|
|
637
|
+
* @public
|
|
638
|
+
* <p>The list of all monitors and their states.</p>
|
|
639
|
+
*/
|
|
640
|
+
state?: string;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* @public
|
|
644
|
+
* <p>Displays summary information about a monitor.</p>
|
|
645
|
+
*/
|
|
646
|
+
export interface MonitorSummary {
|
|
647
|
+
/**
|
|
648
|
+
* @public
|
|
649
|
+
* <p>The ARN of the monitor.</p>
|
|
650
|
+
*/
|
|
651
|
+
monitorArn: string | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* @public
|
|
654
|
+
* <p>The name of the monitor.</p>
|
|
655
|
+
*/
|
|
656
|
+
monitorName: string | undefined;
|
|
657
|
+
/**
|
|
658
|
+
* @public
|
|
659
|
+
* <p>The state of the monitor.</p>
|
|
660
|
+
*/
|
|
661
|
+
state: MonitorState | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* @public
|
|
664
|
+
* <p>The time, in seconds, that metrics are collected and sent to Amazon CloudWatch. Valid values are either <code>30</code> or <code>60</code>.</p>
|
|
665
|
+
*/
|
|
666
|
+
aggregationPeriod?: number;
|
|
667
|
+
/**
|
|
668
|
+
* @public
|
|
669
|
+
* <p>The list of key-value pairs assigned to the monitor.</p>
|
|
670
|
+
*/
|
|
671
|
+
tags?: Record<string, string>;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* @public
|
|
675
|
+
*/
|
|
676
|
+
export interface ListMonitorsOutput {
|
|
677
|
+
/**
|
|
678
|
+
* @public
|
|
679
|
+
* <p>Lists individual details about each of your monitors.</p>
|
|
680
|
+
*/
|
|
681
|
+
monitors: MonitorSummary[] | undefined;
|
|
682
|
+
/**
|
|
683
|
+
* @public
|
|
684
|
+
* <p>The token for the next page of results.</p>
|
|
685
|
+
*/
|
|
686
|
+
nextToken?: string;
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* @public
|
|
690
|
+
*/
|
|
691
|
+
export interface ListTagsForResourceInput {
|
|
692
|
+
/**
|
|
693
|
+
* @public
|
|
694
|
+
* <p>The </p>
|
|
695
|
+
*/
|
|
696
|
+
resourceArn: string | undefined;
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* @public
|
|
700
|
+
*/
|
|
701
|
+
export interface ListTagsForResourceOutput {
|
|
702
|
+
/**
|
|
703
|
+
* @public
|
|
704
|
+
* <p>Lists the tags assigned to the resource.</p>
|
|
705
|
+
*/
|
|
706
|
+
tags?: Record<string, string>;
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
export interface UpdateMonitorInput {
|
|
712
|
+
/**
|
|
713
|
+
* @public
|
|
714
|
+
* <p>The name of the monitor to update. Run <code>ListMonitors</code> to get a list of monitor names.</p>
|
|
715
|
+
*/
|
|
716
|
+
monitorName: string | undefined;
|
|
717
|
+
/**
|
|
718
|
+
* @public
|
|
719
|
+
* <p>The aggregation time, in seconds, to change to. This must be either <code>30</code> or <code>60</code>. </p>
|
|
720
|
+
*/
|
|
721
|
+
aggregationPeriod: number | undefined;
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* @public
|
|
725
|
+
*/
|
|
726
|
+
export interface UpdateMonitorOutput {
|
|
727
|
+
/**
|
|
728
|
+
* @public
|
|
729
|
+
* <p>The ARN of the monitor that was updated.</p>
|
|
730
|
+
*/
|
|
731
|
+
monitorArn: string | undefined;
|
|
732
|
+
/**
|
|
733
|
+
* @public
|
|
734
|
+
* <p>The name of the monitor that was updated.</p>
|
|
735
|
+
*/
|
|
736
|
+
monitorName: string | undefined;
|
|
737
|
+
/**
|
|
738
|
+
* @public
|
|
739
|
+
* <p>The state of the updated monitor.</p>
|
|
740
|
+
*/
|
|
741
|
+
state: MonitorState | undefined;
|
|
742
|
+
/**
|
|
743
|
+
* @public
|
|
744
|
+
* <p>The changed aggregation period.</p>
|
|
745
|
+
*/
|
|
746
|
+
aggregationPeriod?: number;
|
|
747
|
+
/**
|
|
748
|
+
* @public
|
|
749
|
+
* <p>The list of key-value pairs associated with the monitor.</p>
|
|
750
|
+
*/
|
|
751
|
+
tags?: Record<string, string>;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* @public
|
|
755
|
+
*/
|
|
756
|
+
export interface UpdateProbeInput {
|
|
757
|
+
/**
|
|
758
|
+
* @public
|
|
759
|
+
* <p>The name of the monitor that the probe was updated for.</p>
|
|
760
|
+
*/
|
|
761
|
+
monitorName: string | undefined;
|
|
762
|
+
/**
|
|
763
|
+
* @public
|
|
764
|
+
* <p>Run <code>GetMonitor</code> to get a list of probes and probe IDs.</p>
|
|
765
|
+
*/
|
|
766
|
+
probeId: string | undefined;
|
|
767
|
+
/**
|
|
768
|
+
* @public
|
|
769
|
+
* <p>The state of the probe update.</p>
|
|
770
|
+
*/
|
|
771
|
+
state?: ProbeState;
|
|
772
|
+
/**
|
|
773
|
+
* @public
|
|
774
|
+
* <p>The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.</p>
|
|
775
|
+
*/
|
|
776
|
+
destination?: string;
|
|
777
|
+
/**
|
|
778
|
+
* @public
|
|
779
|
+
* <p>The updated port for the probe destination. This is required only if the <code>protocol</code> is <code>TCP</code> and must be a number between <code>1</code> and <code>65536</code>.</p>
|
|
780
|
+
*/
|
|
781
|
+
destinationPort?: number;
|
|
782
|
+
/**
|
|
783
|
+
* @public
|
|
784
|
+
* <p>The updated network protocol for the destination. This can be either <code>TCP</code> or <code>ICMP</code>. If the protocol is <code>TCP</code>, then <code>port</code> is also required.</p>
|
|
785
|
+
*/
|
|
786
|
+
protocol?: Protocol;
|
|
787
|
+
/**
|
|
788
|
+
* @public
|
|
789
|
+
* <p>he updated packets size for network traffic between the source and destination. This must be a number between <code>56</code> and <code>8500</code>.</p>
|
|
790
|
+
*/
|
|
791
|
+
packetSize?: number;
|
|
792
|
+
}
|
|
793
|
+
/**
|
|
794
|
+
* @public
|
|
795
|
+
*/
|
|
796
|
+
export interface UpdateProbeOutput {
|
|
797
|
+
/**
|
|
798
|
+
* @public
|
|
799
|
+
* <p>The updated ID of the probe.</p>
|
|
800
|
+
*/
|
|
801
|
+
probeId?: string;
|
|
802
|
+
/**
|
|
803
|
+
* @public
|
|
804
|
+
* <p>The updated ARN of the probe.</p>
|
|
805
|
+
*/
|
|
806
|
+
probeArn?: string;
|
|
807
|
+
/**
|
|
808
|
+
* @public
|
|
809
|
+
* <p>The updated ARN of the source subnet.</p>
|
|
810
|
+
*/
|
|
811
|
+
sourceArn: string | undefined;
|
|
812
|
+
/**
|
|
813
|
+
* @public
|
|
814
|
+
* <p>The updated destination IP address for the probe.</p>
|
|
815
|
+
*/
|
|
816
|
+
destination: string | undefined;
|
|
817
|
+
/**
|
|
818
|
+
* @public
|
|
819
|
+
* <p>The updated destination port. This will be a number between <code>1</code> and <code>65536</code>.</p>
|
|
820
|
+
*/
|
|
821
|
+
destinationPort?: number;
|
|
822
|
+
/**
|
|
823
|
+
* @public
|
|
824
|
+
* <p>The updated protocol for the probe.</p>
|
|
825
|
+
*/
|
|
826
|
+
protocol: Protocol | undefined;
|
|
827
|
+
/**
|
|
828
|
+
* @public
|
|
829
|
+
* <p>The updated packet size for the probe. </p>
|
|
830
|
+
*/
|
|
831
|
+
packetSize?: number;
|
|
832
|
+
/**
|
|
833
|
+
* @public
|
|
834
|
+
* <p>The updated IP address family. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
835
|
+
*/
|
|
836
|
+
addressFamily?: AddressFamily;
|
|
837
|
+
/**
|
|
838
|
+
* @public
|
|
839
|
+
* <p>The updated ID of the source VPC subnet ID.</p>
|
|
840
|
+
*/
|
|
841
|
+
vpcId?: string;
|
|
842
|
+
/**
|
|
843
|
+
* @public
|
|
844
|
+
* <p>The state of the updated probe.</p>
|
|
845
|
+
*/
|
|
846
|
+
state?: ProbeState;
|
|
847
|
+
/**
|
|
848
|
+
* @public
|
|
849
|
+
* <p>The time and date that the probe was created.</p>
|
|
850
|
+
*/
|
|
851
|
+
createdAt?: Date;
|
|
852
|
+
/**
|
|
853
|
+
* @public
|
|
854
|
+
* <p>The time and date that the probe was last updated.</p>
|
|
855
|
+
*/
|
|
856
|
+
modifiedAt?: Date;
|
|
857
|
+
/**
|
|
858
|
+
* @public
|
|
859
|
+
* <p>Update tags for a probe.</p>
|
|
860
|
+
*/
|
|
861
|
+
tags?: Record<string, string>;
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* @public
|
|
865
|
+
*/
|
|
866
|
+
export interface TagResourceInput {
|
|
867
|
+
/**
|
|
868
|
+
* @public
|
|
869
|
+
* <p>The ARN of the monitor or probe to tag.</p>
|
|
870
|
+
*/
|
|
871
|
+
resourceArn: string | undefined;
|
|
872
|
+
/**
|
|
873
|
+
* @public
|
|
874
|
+
* <p>The list of key-value pairs assigned to the monitor or probe.</p>
|
|
875
|
+
*/
|
|
876
|
+
tags: Record<string, string> | undefined;
|
|
877
|
+
}
|
|
878
|
+
/**
|
|
879
|
+
* @public
|
|
880
|
+
*/
|
|
881
|
+
export interface TagResourceOutput {
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
* @public
|
|
885
|
+
*/
|
|
886
|
+
export interface UntagResourceInput {
|
|
887
|
+
/**
|
|
888
|
+
* @public
|
|
889
|
+
* <p>The ARN of the monitor or probe that the tag should be removed from. </p>
|
|
890
|
+
*/
|
|
891
|
+
resourceArn: string | undefined;
|
|
892
|
+
/**
|
|
893
|
+
* @public
|
|
894
|
+
* <p>The key-value pa</p>
|
|
895
|
+
*/
|
|
896
|
+
tagKeys: string[] | undefined;
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
export interface UntagResourceOutput {
|
|
902
|
+
}
|