@aws-sdk/client-internetmonitor 3.540.0 → 3.549.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/dist-cjs/index.js CHANGED
@@ -525,8 +525,11 @@ var se_GetHealthEventCommand = /* @__PURE__ */ __name(async (input, context) =>
525
525
  b.bp("/v20210603/Monitors/{MonitorName}/HealthEvents/{EventId}");
526
526
  b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
527
527
  b.p("EventId", () => input.EventId, "{EventId}", false);
528
+ const query = (0, import_smithy_client.map)({
529
+ [_LAI]: [, input[_LAI]]
530
+ });
528
531
  let body;
529
- b.m("GET").h(headers).b(body);
532
+ b.m("GET").h(headers).q(query).b(body);
530
533
  return b.build();
531
534
  }, "se_GetHealthEventCommand");
532
535
  var se_GetMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -534,8 +537,11 @@ var se_GetMonitorCommand = /* @__PURE__ */ __name(async (input, context) => {
534
537
  const headers = {};
535
538
  b.bp("/v20210603/Monitors/{MonitorName}");
536
539
  b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
540
+ const query = (0, import_smithy_client.map)({
541
+ [_LAI]: [, input[_LAI]]
542
+ });
537
543
  let body;
538
- b.m("GET").h(headers).b(body);
544
+ b.m("GET").h(headers).q(query).b(body);
539
545
  return b.build();
540
546
  }, "se_GetMonitorCommand");
541
547
  var se_GetQueryResultsCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -572,7 +578,8 @@ var se_ListHealthEventsCommand = /* @__PURE__ */ __name(async (input, context) =
572
578
  [_ET]: [() => input.EndTime !== void 0, () => (input[_ET].toISOString().split(".")[0] + "Z").toString()],
573
579
  [_NT]: [, input[_NT]],
574
580
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
575
- [_ES]: [, input[_ES]]
581
+ [_ES]: [, input[_ES]],
582
+ [_LAI]: [, input[_LAI]]
576
583
  });
577
584
  let body;
578
585
  b.m("GET").h(headers).q(query).b(body);
@@ -585,7 +592,8 @@ var se_ListMonitorsCommand = /* @__PURE__ */ __name(async (input, context) => {
585
592
  const query = (0, import_smithy_client.map)({
586
593
  [_NT]: [, input[_NT]],
587
594
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
588
- [_MS]: [, input[_MS]]
595
+ [_MS]: [, input[_MS]],
596
+ [_ILA]: [() => input.IncludeLinkedAccounts !== void 0, () => input[_ILA].toString()]
589
597
  });
590
598
  let body;
591
599
  b.m("GET").h(headers).q(query).b(body);
@@ -612,6 +620,7 @@ var se_StartQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
612
620
  (0, import_smithy_client.take)(input, {
613
621
  EndTime: (_) => _.toISOString().split(".")[0] + "Z",
614
622
  FilterParameters: (_) => (0, import_smithy_client._json)(_),
623
+ LinkedAccountId: [],
615
624
  QueryType: [],
616
625
  StartTime: (_) => _.toISOString().split(".")[0] + "Z"
617
626
  })
@@ -1196,6 +1205,8 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1196
1205
  }), "deserializeMetadata");
1197
1206
  var _ES = "EventStatus";
1198
1207
  var _ET = "EndTime";
1208
+ var _ILA = "IncludeLinkedAccounts";
1209
+ var _LAI = "LinkedAccountId";
1199
1210
  var _MR = "MaxResults";
1200
1211
  var _MS = "MonitorStatus";
1201
1212
  var _NT = "NextToken";
@@ -39,8 +39,11 @@ export const se_GetHealthEventCommand = async (input, context) => {
39
39
  b.bp("/v20210603/Monitors/{MonitorName}/HealthEvents/{EventId}");
40
40
  b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
41
41
  b.p("EventId", () => input.EventId, "{EventId}", false);
42
+ const query = map({
43
+ [_LAI]: [, input[_LAI]],
44
+ });
42
45
  let body;
43
- b.m("GET").h(headers).b(body);
46
+ b.m("GET").h(headers).q(query).b(body);
44
47
  return b.build();
45
48
  };
46
49
  export const se_GetMonitorCommand = async (input, context) => {
@@ -48,8 +51,11 @@ export const se_GetMonitorCommand = async (input, context) => {
48
51
  const headers = {};
49
52
  b.bp("/v20210603/Monitors/{MonitorName}");
50
53
  b.p("MonitorName", () => input.MonitorName, "{MonitorName}", false);
54
+ const query = map({
55
+ [_LAI]: [, input[_LAI]],
56
+ });
51
57
  let body;
52
- b.m("GET").h(headers).b(body);
58
+ b.m("GET").h(headers).q(query).b(body);
53
59
  return b.build();
54
60
  };
55
61
  export const se_GetQueryResultsCommand = async (input, context) => {
@@ -87,6 +93,7 @@ export const se_ListHealthEventsCommand = async (input, context) => {
87
93
  [_NT]: [, input[_NT]],
88
94
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
89
95
  [_ES]: [, input[_ES]],
96
+ [_LAI]: [, input[_LAI]],
90
97
  });
91
98
  let body;
92
99
  b.m("GET").h(headers).q(query).b(body);
@@ -100,6 +107,7 @@ export const se_ListMonitorsCommand = async (input, context) => {
100
107
  [_NT]: [, input[_NT]],
101
108
  [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
102
109
  [_MS]: [, input[_MS]],
110
+ [_ILA]: [() => input.IncludeLinkedAccounts !== void 0, () => input[_ILA].toString()],
103
111
  });
104
112
  let body;
105
113
  b.m("GET").h(headers).q(query).b(body);
@@ -125,6 +133,7 @@ export const se_StartQueryCommand = async (input, context) => {
125
133
  body = JSON.stringify(take(input, {
126
134
  EndTime: (_) => _.toISOString().split(".")[0] + "Z",
127
135
  FilterParameters: (_) => _json(_),
136
+ LinkedAccountId: [],
128
137
  QueryType: [],
129
138
  StartTime: (_) => _.toISOString().split(".")[0] + "Z",
130
139
  }));
@@ -714,6 +723,8 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
714
723
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
715
724
  const _ES = "EventStatus";
716
725
  const _ET = "EndTime";
726
+ const _ILA = "IncludeLinkedAccounts";
727
+ const _LAI = "LinkedAccountId";
717
728
  const _MR = "MaxResults";
718
729
  const _MS = "MonitorStatus";
719
730
  const _NT = "NextToken";
@@ -40,6 +40,7 @@ declare const GetHealthEventCommand_base: {
40
40
  * const input = { // GetHealthEventInput
41
41
  * MonitorName: "STRING_VALUE", // required
42
42
  * EventId: "STRING_VALUE", // required
43
+ * LinkedAccountId: "STRING_VALUE",
43
44
  * };
44
45
  * const command = new GetHealthEventCommand(input);
45
46
  * const response = await client.send(command);
@@ -36,6 +36,7 @@ declare const GetMonitorCommand_base: {
36
36
  * const client = new InternetMonitorClient(config);
37
37
  * const input = { // GetMonitorInput
38
38
  * MonitorName: "STRING_VALUE", // required
39
+ * LinkedAccountId: "STRING_VALUE",
39
40
  * };
40
41
  * const command = new GetMonitorCommand(input);
41
42
  * const response = await client.send(command);
@@ -44,6 +44,7 @@ declare const ListHealthEventsCommand_base: {
44
44
  * NextToken: "STRING_VALUE",
45
45
  * MaxResults: Number("int"),
46
46
  * EventStatus: "STRING_VALUE",
47
+ * LinkedAccountId: "STRING_VALUE",
47
48
  * };
48
49
  * const command = new ListHealthEventsCommand(input);
49
50
  * const response = await client.send(command);
@@ -37,6 +37,7 @@ declare const ListMonitorsCommand_base: {
37
37
  * NextToken: "STRING_VALUE",
38
38
  * MaxResults: Number("int"),
39
39
  * MonitorStatus: "STRING_VALUE",
40
+ * IncludeLinkedAccounts: true || false,
40
41
  * };
41
42
  * const command = new ListMonitorsCommand(input);
42
43
  * const response = await client.send(command);
@@ -52,6 +52,7 @@ declare const StartQueryCommand_base: {
52
52
  * ],
53
53
  * },
54
54
  * ],
55
+ * LinkedAccountId: "STRING_VALUE",
55
56
  * };
56
57
  * const command = new StartQueryCommand(input);
57
58
  * const response = await client.send(command);
@@ -427,6 +427,11 @@ export interface GetHealthEventInput {
427
427
  * @public
428
428
  */
429
429
  EventId: string | undefined;
430
+ /**
431
+ * <p>TBD </p>
432
+ * @public
433
+ */
434
+ LinkedAccountId?: string;
430
435
  }
431
436
  /**
432
437
  * <p>An internet service provider (ISP) or network in Amazon CloudWatch Internet Monitor.</p>
@@ -763,6 +768,11 @@ export interface GetMonitorInput {
763
768
  * @public
764
769
  */
765
770
  MonitorName: string | undefined;
771
+ /**
772
+ * <p>TBD </p>
773
+ * @public
774
+ */
775
+ LinkedAccountId?: string;
766
776
  }
767
777
  /**
768
778
  * @public
@@ -1065,6 +1075,11 @@ export interface ListHealthEventsInput {
1065
1075
  * @public
1066
1076
  */
1067
1077
  EventStatus?: HealthEventStatus;
1078
+ /**
1079
+ * <p>TBD </p>
1080
+ * @public
1081
+ */
1082
+ LinkedAccountId?: string;
1068
1083
  }
1069
1084
  /**
1070
1085
  * @public
@@ -1162,6 +1177,11 @@ export interface ListMonitorsInput {
1162
1177
  * @public
1163
1178
  */
1164
1179
  MonitorStatus?: string;
1180
+ /**
1181
+ * <p>TBD </p>
1182
+ * @public
1183
+ */
1184
+ IncludeLinkedAccounts?: boolean;
1165
1185
  }
1166
1186
  /**
1167
1187
  * <p>The description of and information about a monitor in Amazon CloudWatch Internet Monitor. </p>
@@ -1271,6 +1291,11 @@ export interface StartQueryInput {
1271
1291
  * @public
1272
1292
  */
1273
1293
  FilterParameters?: FilterParameter[];
1294
+ /**
1295
+ * <p>TBD </p>
1296
+ * @public
1297
+ */
1298
+ LinkedAccountId?: string;
1274
1299
  }
1275
1300
  /**
1276
1301
  * @public
@@ -126,6 +126,7 @@ export interface FilterParameter {
126
126
  export interface GetHealthEventInput {
127
127
  MonitorName: string | undefined;
128
128
  EventId: string | undefined;
129
+ LinkedAccountId?: string;
129
130
  }
130
131
  export interface Network {
131
132
  ASName: string | undefined;
@@ -203,6 +204,7 @@ export interface GetHealthEventOutput {
203
204
  }
204
205
  export interface GetMonitorInput {
205
206
  MonitorName: string | undefined;
207
+ LinkedAccountId?: string;
206
208
  }
207
209
  export declare const MonitorProcessingStatusCode: {
208
210
  readonly COLLECTING_DATA: "COLLECTING_DATA";
@@ -279,6 +281,7 @@ export interface ListHealthEventsInput {
279
281
  NextToken?: string;
280
282
  MaxResults?: number;
281
283
  EventStatus?: HealthEventStatus;
284
+ LinkedAccountId?: string;
282
285
  }
283
286
  export interface ListHealthEventsOutput {
284
287
  HealthEvents: HealthEvent[] | undefined;
@@ -317,6 +320,7 @@ export interface ListMonitorsInput {
317
320
  NextToken?: string;
318
321
  MaxResults?: number;
319
322
  MonitorStatus?: string;
323
+ IncludeLinkedAccounts?: boolean;
320
324
  }
321
325
  export interface Monitor {
322
326
  MonitorName: string | undefined;
@@ -340,6 +344,7 @@ export interface StartQueryInput {
340
344
  EndTime: Date | undefined;
341
345
  QueryType: QueryType | undefined;
342
346
  FilterParameters?: FilterParameter[];
347
+ LinkedAccountId?: string;
343
348
  }
344
349
  export interface StartQueryOutput {
345
350
  QueryId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-internetmonitor",
3
3
  "description": "AWS SDK for JavaScript Internetmonitor Client for Node.js, Browser and React Native",
4
- "version": "3.540.0",
4
+ "version": "3.549.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-internetmonitor",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.540.0",
24
- "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.540.0",
23
+ "@aws-sdk/client-sts": "3.549.0",
24
+ "@aws-sdk/core": "3.549.0",
25
+ "@aws-sdk/credential-provider-node": "3.549.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
@@ -33,13 +33,13 @@
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",
36
- "@smithy/core": "^1.4.0",
36
+ "@smithy/core": "^1.4.1",
37
37
  "@smithy/fetch-http-handler": "^2.5.0",
38
38
  "@smithy/hash-node": "^2.2.0",
39
39
  "@smithy/invalid-dependency": "^2.2.0",
40
40
  "@smithy/middleware-content-length": "^2.2.0",
41
41
  "@smithy/middleware-endpoint": "^2.5.0",
42
- "@smithy/middleware-retry": "^2.2.0",
42
+ "@smithy/middleware-retry": "^2.3.0",
43
43
  "@smithy/middleware-serde": "^2.3.0",
44
44
  "@smithy/middleware-stack": "^2.2.0",
45
45
  "@smithy/node-config-provider": "^2.3.0",