@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.
Files changed (131) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +309 -0
  3. package/dist-cjs/NetworkMonitor.js +35 -0
  4. package/dist-cjs/NetworkMonitorClient.js +43 -0
  5. package/dist-cjs/commands/CreateMonitorCommand.js +51 -0
  6. package/dist-cjs/commands/CreateProbeCommand.js +51 -0
  7. package/dist-cjs/commands/DeleteMonitorCommand.js +51 -0
  8. package/dist-cjs/commands/DeleteProbeCommand.js +51 -0
  9. package/dist-cjs/commands/GetMonitorCommand.js +51 -0
  10. package/dist-cjs/commands/GetProbeCommand.js +51 -0
  11. package/dist-cjs/commands/ListMonitorsCommand.js +51 -0
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
  13. package/dist-cjs/commands/TagResourceCommand.js +51 -0
  14. package/dist-cjs/commands/UntagResourceCommand.js +51 -0
  15. package/dist-cjs/commands/UpdateMonitorCommand.js +51 -0
  16. package/dist-cjs/commands/UpdateProbeCommand.js +51 -0
  17. package/dist-cjs/commands/index.js +15 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  20. package/dist-cjs/endpoint/ruleset.js +7 -0
  21. package/dist-cjs/extensionConfiguration.js +2 -0
  22. package/dist-cjs/index.js +12 -0
  23. package/dist-cjs/models/NetworkMonitorServiceException.js +12 -0
  24. package/dist-cjs/models/index.js +4 -0
  25. package/dist-cjs/models/models_0.js +122 -0
  26. package/dist-cjs/pagination/Interfaces.js +2 -0
  27. package/dist-cjs/pagination/ListMonitorsPaginator.js +7 -0
  28. package/dist-cjs/pagination/index.js +5 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +957 -0
  30. package/dist-cjs/runtimeConfig.browser.js +39 -0
  31. package/dist-cjs/runtimeConfig.js +50 -0
  32. package/dist-cjs/runtimeConfig.native.js +15 -0
  33. package/dist-cjs/runtimeConfig.shared.js +24 -0
  34. package/dist-cjs/runtimeExtensions.js +22 -0
  35. package/dist-es/NetworkMonitor.js +31 -0
  36. package/dist-es/NetworkMonitorClient.js +39 -0
  37. package/dist-es/commands/CreateMonitorCommand.js +47 -0
  38. package/dist-es/commands/CreateProbeCommand.js +47 -0
  39. package/dist-es/commands/DeleteMonitorCommand.js +47 -0
  40. package/dist-es/commands/DeleteProbeCommand.js +47 -0
  41. package/dist-es/commands/GetMonitorCommand.js +47 -0
  42. package/dist-es/commands/GetProbeCommand.js +47 -0
  43. package/dist-es/commands/ListMonitorsCommand.js +47 -0
  44. package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
  45. package/dist-es/commands/TagResourceCommand.js +47 -0
  46. package/dist-es/commands/UntagResourceCommand.js +47 -0
  47. package/dist-es/commands/UpdateMonitorCommand.js +47 -0
  48. package/dist-es/commands/UpdateProbeCommand.js +47 -0
  49. package/dist-es/commands/index.js +12 -0
  50. package/dist-es/endpoint/EndpointParameters.js +8 -0
  51. package/dist-es/endpoint/endpointResolver.js +8 -0
  52. package/dist-es/endpoint/ruleset.js +4 -0
  53. package/dist-es/extensionConfiguration.js +1 -0
  54. package/dist-es/index.js +7 -0
  55. package/dist-es/models/NetworkMonitorServiceException.js +8 -0
  56. package/dist-es/models/index.js +1 -0
  57. package/dist-es/models/models_0.js +112 -0
  58. package/dist-es/pagination/Interfaces.js +1 -0
  59. package/dist-es/pagination/ListMonitorsPaginator.js +4 -0
  60. package/dist-es/pagination/index.js +2 -0
  61. package/dist-es/protocols/Aws_restJson1.js +930 -0
  62. package/dist-es/runtimeConfig.browser.js +34 -0
  63. package/dist-es/runtimeConfig.js +45 -0
  64. package/dist-es/runtimeConfig.native.js +11 -0
  65. package/dist-es/runtimeConfig.shared.js +20 -0
  66. package/dist-es/runtimeExtensions.js +18 -0
  67. package/dist-types/NetworkMonitor.d.ts +102 -0
  68. package/dist-types/NetworkMonitorClient.d.ts +189 -0
  69. package/dist-types/commands/CreateMonitorCommand.d.ts +114 -0
  70. package/dist-types/commands/CreateProbeCommand.d.ts +119 -0
  71. package/dist-types/commands/DeleteMonitorCommand.d.ts +86 -0
  72. package/dist-types/commands/DeleteProbeCommand.d.ts +90 -0
  73. package/dist-types/commands/GetMonitorCommand.d.ts +115 -0
  74. package/dist-types/commands/GetProbeCommand.d.ts +103 -0
  75. package/dist-types/commands/ListMonitorsCommand.d.ts +98 -0
  76. package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
  77. package/dist-types/commands/TagResourceCommand.d.ts +92 -0
  78. package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
  79. package/dist-types/commands/UpdateMonitorCommand.d.ts +98 -0
  80. package/dist-types/commands/UpdateProbeCommand.d.ts +111 -0
  81. package/dist-types/commands/index.d.ts +12 -0
  82. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  83. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  84. package/dist-types/endpoint/ruleset.d.ts +2 -0
  85. package/dist-types/extensionConfiguration.d.ts +8 -0
  86. package/dist-types/index.d.ts +23 -0
  87. package/dist-types/models/NetworkMonitorServiceException.d.ts +13 -0
  88. package/dist-types/models/index.d.ts +1 -0
  89. package/dist-types/models/models_0.d.ts +902 -0
  90. package/dist-types/pagination/Interfaces.d.ts +8 -0
  91. package/dist-types/pagination/ListMonitorsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/index.d.ts +2 -0
  93. package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
  94. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  95. package/dist-types/runtimeConfig.d.ts +46 -0
  96. package/dist-types/runtimeConfig.native.d.ts +45 -0
  97. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  98. package/dist-types/runtimeExtensions.d.ts +17 -0
  99. package/dist-types/ts3.4/NetworkMonitor.d.ts +211 -0
  100. package/dist-types/ts3.4/NetworkMonitorClient.d.ts +191 -0
  101. package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +35 -0
  102. package/dist-types/ts3.4/commands/CreateProbeCommand.d.ts +35 -0
  103. package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +35 -0
  104. package/dist-types/ts3.4/commands/DeleteProbeCommand.d.ts +35 -0
  105. package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +35 -0
  106. package/dist-types/ts3.4/commands/GetProbeCommand.d.ts +35 -0
  107. package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +35 -0
  108. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  109. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  110. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  111. package/dist-types/ts3.4/commands/UpdateMonitorCommand.d.ts +35 -0
  112. package/dist-types/ts3.4/commands/UpdateProbeCommand.d.ts +35 -0
  113. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  114. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  115. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  116. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  117. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  118. package/dist-types/ts3.4/index.d.ts +10 -0
  119. package/dist-types/ts3.4/models/NetworkMonitorServiceException.d.ts +8 -0
  120. package/dist-types/ts3.4/models/index.d.ts +1 -0
  121. package/dist-types/ts3.4/models/models_0.d.ts +254 -0
  122. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  123. package/dist-types/ts3.4/pagination/ListMonitorsPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  125. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
  126. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  127. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  128. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  129. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  130. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  131. package/package.json +103 -0
@@ -0,0 +1,93 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
5
+ import { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the tags assigned to this resource.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NetworkMonitorClient, ListTagsForResourceCommand } from "@aws-sdk/client-networkmonitor"; // ES Modules import
31
+ * // const { NetworkMonitorClient, ListTagsForResourceCommand } = require("@aws-sdk/client-networkmonitor"); // CommonJS import
32
+ * const client = new NetworkMonitorClient(config);
33
+ * const input = { // ListTagsForResourceInput
34
+ * resourceArn: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new ListTagsForResourceCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // ListTagsForResourceOutput
39
+ * // tags: { // TagMap
40
+ * // "<keys>": "STRING_VALUE",
41
+ * // },
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
47
+ * @returns {@link ListTagsForResourceCommandOutput}
48
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
49
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
50
+ * @see {@link NetworkMonitorClientResolvedConfig | config} for NetworkMonitorClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You do not have sufficient access to perform this action.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>This operation attempted to create a resource that already exists.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The specified resource does not exist.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>One of the parameters for the request is not valid.</p>
69
+ *
70
+ * @throws {@link NetworkMonitorServiceException}
71
+ * <p>Base exception class for all service exceptions from NetworkMonitor service.</p>
72
+ *
73
+ */
74
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, NetworkMonitorClientResolvedConfig> {
75
+ readonly input: ListTagsForResourceCommandInput;
76
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
+ /**
78
+ * @public
79
+ */
80
+ constructor(input: ListTagsForResourceCommandInput);
81
+ /**
82
+ * @internal
83
+ */
84
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NetworkMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
85
+ /**
86
+ * @internal
87
+ */
88
+ private serialize;
89
+ /**
90
+ * @internal
91
+ */
92
+ private deserialize;
93
+ }
@@ -0,0 +1,92 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { TagResourceInput, TagResourceOutput } from "../models/models_0";
5
+ import { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Adds key-value pairs to a monitor or probe.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NetworkMonitorClient, TagResourceCommand } from "@aws-sdk/client-networkmonitor"; // ES Modules import
31
+ * // const { NetworkMonitorClient, TagResourceCommand } = require("@aws-sdk/client-networkmonitor"); // CommonJS import
32
+ * const client = new NetworkMonitorClient(config);
33
+ * const input = { // TagResourceInput
34
+ * resourceArn: "STRING_VALUE", // required
35
+ * tags: { // TagMap // required
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * };
39
+ * const command = new TagResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
46
+ * @returns {@link TagResourceCommandOutput}
47
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
48
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
49
+ * @see {@link NetworkMonitorClientResolvedConfig | config} for NetworkMonitorClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>You do not have sufficient access to perform this action.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>This operation attempted to create a resource that already exists.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The specified resource does not exist.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was denied due to request throttling</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>One of the parameters for the request is not valid.</p>
68
+ *
69
+ * @throws {@link NetworkMonitorServiceException}
70
+ * <p>Base exception class for all service exceptions from NetworkMonitor service.</p>
71
+ *
72
+ */
73
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, NetworkMonitorClientResolvedConfig> {
74
+ readonly input: TagResourceCommandInput;
75
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
79
+ constructor(input: TagResourceCommandInput);
80
+ /**
81
+ * @internal
82
+ */
83
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NetworkMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
87
+ private serialize;
88
+ /**
89
+ * @internal
90
+ */
91
+ private deserialize;
92
+ }
@@ -0,0 +1,92 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
5
+ import { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Removes a key-value pair from a monitor or probe.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NetworkMonitorClient, UntagResourceCommand } from "@aws-sdk/client-networkmonitor"; // ES Modules import
31
+ * // const { NetworkMonitorClient, UntagResourceCommand } = require("@aws-sdk/client-networkmonitor"); // CommonJS import
32
+ * const client = new NetworkMonitorClient(config);
33
+ * const input = { // UntagResourceInput
34
+ * resourceArn: "STRING_VALUE", // required
35
+ * tagKeys: [ // TagKeyList // required
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * };
39
+ * const command = new UntagResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
46
+ * @returns {@link UntagResourceCommandOutput}
47
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
48
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
49
+ * @see {@link NetworkMonitorClientResolvedConfig | config} for NetworkMonitorClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>You do not have sufficient access to perform this action.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>This operation attempted to create a resource that already exists.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The specified resource does not exist.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was denied due to request throttling</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>One of the parameters for the request is not valid.</p>
68
+ *
69
+ * @throws {@link NetworkMonitorServiceException}
70
+ * <p>Base exception class for all service exceptions from NetworkMonitor service.</p>
71
+ *
72
+ */
73
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, NetworkMonitorClientResolvedConfig> {
74
+ readonly input: UntagResourceCommandInput;
75
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
79
+ constructor(input: UntagResourceCommandInput);
80
+ /**
81
+ * @internal
82
+ */
83
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NetworkMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
87
+ private serialize;
88
+ /**
89
+ * @internal
90
+ */
91
+ private deserialize;
92
+ }
@@ -0,0 +1,98 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { UpdateMonitorInput, UpdateMonitorOutput } from "../models/models_0";
5
+ import { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateMonitorCommand}.
14
+ */
15
+ export interface UpdateMonitorCommandInput extends UpdateMonitorInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateMonitorCommand}.
21
+ */
22
+ export interface UpdateMonitorCommandOutput extends UpdateMonitorOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates the <code>aggregationPeriod</code> for a monitor. Monitors support an <code>aggregationPeriod</code> of either <code>30</code> or <code>60</code> seconds.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NetworkMonitorClient, UpdateMonitorCommand } from "@aws-sdk/client-networkmonitor"; // ES Modules import
31
+ * // const { NetworkMonitorClient, UpdateMonitorCommand } = require("@aws-sdk/client-networkmonitor"); // CommonJS import
32
+ * const client = new NetworkMonitorClient(config);
33
+ * const input = { // UpdateMonitorInput
34
+ * monitorName: "STRING_VALUE", // required
35
+ * aggregationPeriod: Number("long"), // required
36
+ * };
37
+ * const command = new UpdateMonitorCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // UpdateMonitorOutput
40
+ * // monitorArn: "STRING_VALUE", // required
41
+ * // monitorName: "STRING_VALUE", // required
42
+ * // state: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
43
+ * // aggregationPeriod: Number("long"),
44
+ * // tags: { // TagMap
45
+ * // "<keys>": "STRING_VALUE",
46
+ * // },
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param UpdateMonitorCommandInput - {@link UpdateMonitorCommandInput}
52
+ * @returns {@link UpdateMonitorCommandOutput}
53
+ * @see {@link UpdateMonitorCommandInput} for command's `input` shape.
54
+ * @see {@link UpdateMonitorCommandOutput} for command's `response` shape.
55
+ * @see {@link NetworkMonitorClientResolvedConfig | config} for NetworkMonitorClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>You do not have sufficient access to perform this action.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The specified resource does not exist.</p>
65
+ *
66
+ * @throws {@link ServiceQuotaExceededException} (client fault)
67
+ * <p>This request exceeds a service quota.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The request was denied due to request throttling</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>One of the parameters for the request is not valid.</p>
74
+ *
75
+ * @throws {@link NetworkMonitorServiceException}
76
+ * <p>Base exception class for all service exceptions from NetworkMonitor service.</p>
77
+ *
78
+ */
79
+ export declare class UpdateMonitorCommand extends $Command<UpdateMonitorCommandInput, UpdateMonitorCommandOutput, NetworkMonitorClientResolvedConfig> {
80
+ readonly input: UpdateMonitorCommandInput;
81
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
85
+ constructor(input: UpdateMonitorCommandInput);
86
+ /**
87
+ * @internal
88
+ */
89
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NetworkMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateMonitorCommandInput, UpdateMonitorCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
93
+ private serialize;
94
+ /**
95
+ * @internal
96
+ */
97
+ private deserialize;
98
+ }
@@ -0,0 +1,111 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { UpdateProbeInput, UpdateProbeOutput } from "../models/models_0";
5
+ import { NetworkMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkMonitorClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateProbeCommand}.
14
+ */
15
+ export interface UpdateProbeCommandInput extends UpdateProbeInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateProbeCommand}.
21
+ */
22
+ export interface UpdateProbeCommandOutput extends UpdateProbeOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates a monitor probe. This action requires both the <code>monitorName</code> and <code>probeId</code> parameters. Run <code>ListMonitors</code> to get a list of monitor names. Run <code>GetMonitor</code> to get a list of probes and probe IDs. </p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NetworkMonitorClient, UpdateProbeCommand } from "@aws-sdk/client-networkmonitor"; // ES Modules import
31
+ * // const { NetworkMonitorClient, UpdateProbeCommand } = require("@aws-sdk/client-networkmonitor"); // CommonJS import
32
+ * const client = new NetworkMonitorClient(config);
33
+ * const input = { // UpdateProbeInput
34
+ * monitorName: "STRING_VALUE", // required
35
+ * probeId: "STRING_VALUE", // required
36
+ * state: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING" || "DELETED",
37
+ * destination: "STRING_VALUE",
38
+ * destinationPort: Number("int"),
39
+ * protocol: "TCP" || "ICMP",
40
+ * packetSize: Number("int"),
41
+ * };
42
+ * const command = new UpdateProbeCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // UpdateProbeOutput
45
+ * // probeId: "STRING_VALUE",
46
+ * // probeArn: "STRING_VALUE",
47
+ * // sourceArn: "STRING_VALUE", // required
48
+ * // destination: "STRING_VALUE", // required
49
+ * // destinationPort: Number("int"),
50
+ * // protocol: "TCP" || "ICMP", // required
51
+ * // packetSize: Number("int"),
52
+ * // addressFamily: "IPV4" || "IPV6",
53
+ * // vpcId: "STRING_VALUE",
54
+ * // state: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING" || "DELETED",
55
+ * // createdAt: new Date("TIMESTAMP"),
56
+ * // modifiedAt: new Date("TIMESTAMP"),
57
+ * // tags: { // TagMap
58
+ * // "<keys>": "STRING_VALUE",
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param UpdateProbeCommandInput - {@link UpdateProbeCommandInput}
65
+ * @returns {@link UpdateProbeCommandOutput}
66
+ * @see {@link UpdateProbeCommandInput} for command's `input` shape.
67
+ * @see {@link UpdateProbeCommandOutput} for command's `response` shape.
68
+ * @see {@link NetworkMonitorClientResolvedConfig | config} for NetworkMonitorClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You do not have sufficient access to perform this action.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The specified resource does not exist.</p>
78
+ *
79
+ * @throws {@link ServiceQuotaExceededException} (client fault)
80
+ * <p>This request exceeds a service quota.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>The request was denied due to request throttling</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>One of the parameters for the request is not valid.</p>
87
+ *
88
+ * @throws {@link NetworkMonitorServiceException}
89
+ * <p>Base exception class for all service exceptions from NetworkMonitor service.</p>
90
+ *
91
+ */
92
+ export declare class UpdateProbeCommand extends $Command<UpdateProbeCommandInput, UpdateProbeCommandOutput, NetworkMonitorClientResolvedConfig> {
93
+ readonly input: UpdateProbeCommandInput;
94
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
+ /**
96
+ * @public
97
+ */
98
+ constructor(input: UpdateProbeCommandInput);
99
+ /**
100
+ * @internal
101
+ */
102
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NetworkMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateProbeCommandInput, UpdateProbeCommandOutput>;
103
+ /**
104
+ * @internal
105
+ */
106
+ private serialize;
107
+ /**
108
+ * @internal
109
+ */
110
+ private deserialize;
111
+ }
@@ -0,0 +1,12 @@
1
+ export * from "./CreateMonitorCommand";
2
+ export * from "./CreateProbeCommand";
3
+ export * from "./DeleteMonitorCommand";
4
+ export * from "./DeleteProbeCommand";
5
+ export * from "./GetMonitorCommand";
6
+ export * from "./GetProbeCommand";
7
+ export * from "./ListMonitorsCommand";
8
+ export * from "./ListTagsForResourceCommand";
9
+ export * from "./TagResourceCommand";
10
+ export * from "./UntagResourceCommand";
11
+ export * from "./UpdateMonitorCommand";
12
+ export * from "./UpdateProbeCommand";
@@ -0,0 +1,22 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
+ defaultSigningName: string;
16
+ };
17
+ export interface EndpointParameters extends __EndpointParameters {
18
+ Region?: string;
19
+ UseDualStack?: boolean;
20
+ UseFIPS?: boolean;
21
+ Endpoint?: string;
22
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface NetworkMonitorExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * <p>Amazon CloudWatch Network Monitor is an Amazon Web Services active network monitoring
3
+ * service that identifies if a network issues exists within the Amazon Web Services network
4
+ * or your own company network. Within Network Monitor you'll choose the source VPCs and
5
+ * subnets from the Amazon Web Services network in which you operate and then you'll choose
6
+ * the destination IP addresses from your on-premises network. From these sources and
7
+ * destinations, Network Monitor creates a monitor containing all the possible source and
8
+ * destination combinations, each of which is called a probe, within a single monitor.
9
+ * These probes then monitor network traffic to help you identify where network issues might be affecting your traffic.</p>
10
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/what-is-network-monitor.html">Using Amazon CloudWatch Network Monitor</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
11
+ *
12
+ * @packageDocumentation
13
+ */
14
+ export * from "./NetworkMonitorClient";
15
+ export * from "./NetworkMonitor";
16
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
17
+ export { RuntimeExtension } from "./runtimeExtensions";
18
+ export { NetworkMonitorExtensionConfiguration } from "./extensionConfiguration";
19
+ export * from "./commands";
20
+ export * from "./pagination";
21
+ export * from "./models";
22
+ import "@aws-sdk/util-endpoints";
23
+ export { NetworkMonitorServiceException } from "./models/NetworkMonitorServiceException";
@@ -0,0 +1,13 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
3
+ /**
4
+ * @public
5
+ *
6
+ * Base exception class for all service exceptions from NetworkMonitor service.
7
+ */
8
+ export declare class NetworkMonitorServiceException extends __ServiceException {
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(options: __ServiceExceptionOptions);
13
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";