@aws-sdk/client-internetmonitor 3.952.0 → 3.954.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 (36) hide show
  1. package/dist-cjs/index.js +273 -189
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CreateMonitorCommand.js +2 -2
  4. package/dist-es/commands/DeleteMonitorCommand.js +2 -2
  5. package/dist-es/commands/GetHealthEventCommand.js +2 -2
  6. package/dist-es/commands/GetInternetEventCommand.js +2 -2
  7. package/dist-es/commands/GetMonitorCommand.js +2 -2
  8. package/dist-es/commands/GetQueryResultsCommand.js +2 -2
  9. package/dist-es/commands/GetQueryStatusCommand.js +2 -2
  10. package/dist-es/commands/ListHealthEventsCommand.js +2 -2
  11. package/dist-es/commands/ListInternetEventsCommand.js +2 -2
  12. package/dist-es/commands/ListMonitorsCommand.js +2 -2
  13. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  14. package/dist-es/commands/StartQueryCommand.js +2 -2
  15. package/dist-es/commands/StopQueryCommand.js +2 -2
  16. package/dist-es/commands/TagResourceCommand.js +2 -2
  17. package/dist-es/commands/UntagResourceCommand.js +2 -2
  18. package/dist-es/commands/UpdateMonitorCommand.js +2 -2
  19. package/dist-es/index.js +1 -0
  20. package/dist-es/runtimeConfig.shared.js +6 -1
  21. package/dist-es/schemas/schemas_0.js +155 -148
  22. package/dist-types/InternetMonitorClient.d.ts +1 -10
  23. package/dist-types/index.d.ts +1 -0
  24. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  25. package/dist-types/runtimeConfig.d.ts +6 -2
  26. package/dist-types/runtimeConfig.native.d.ts +6 -2
  27. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  28. package/dist-types/schemas/schemas_0.d.ts +78 -92
  29. package/dist-types/ts3.4/InternetMonitorClient.d.ts +0 -4
  30. package/dist-types/ts3.4/index.d.ts +1 -0
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  35. package/dist-types/ts3.4/schemas/schemas_0.d.ts +77 -92
  36. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.internetmonitor" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.internetmonitor",
32
+ version: "2021-06-03",
33
+ serviceTarget: "InternetMonitor20210603",
34
+ },
30
35
  serviceId: config?.serviceId ?? "InternetMonitor",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateMonitor } from "../schemas/schemas_0";
4
+ import { CreateMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateMonitorCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "CreateMonitor", {})
13
13
  .n("InternetMonitorClient", "CreateMonitorCommand")
14
- .sc(CreateMonitor)
14
+ .sc(CreateMonitor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteMonitor } from "../schemas/schemas_0";
4
+ import { DeleteMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteMonitorCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "DeleteMonitor", {})
13
13
  .n("InternetMonitorClient", "DeleteMonitorCommand")
14
- .sc(DeleteMonitor)
14
+ .sc(DeleteMonitor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetHealthEvent } from "../schemas/schemas_0";
4
+ import { GetHealthEvent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetHealthEventCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetHealthEventCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "GetHealthEvent", {})
13
13
  .n("InternetMonitorClient", "GetHealthEventCommand")
14
- .sc(GetHealthEvent)
14
+ .sc(GetHealthEvent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetInternetEvent } from "../schemas/schemas_0";
4
+ import { GetInternetEvent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetInternetEventCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetInternetEventCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "GetInternetEvent", {})
13
13
  .n("InternetMonitorClient", "GetInternetEventCommand")
14
- .sc(GetInternetEvent)
14
+ .sc(GetInternetEvent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetMonitor } from "../schemas/schemas_0";
4
+ import { GetMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetMonitorCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "GetMonitor", {})
13
13
  .n("InternetMonitorClient", "GetMonitorCommand")
14
- .sc(GetMonitor)
14
+ .sc(GetMonitor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetQueryResults } from "../schemas/schemas_0";
4
+ import { GetQueryResults$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetQueryResultsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetQueryResultsCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "GetQueryResults", {})
13
13
  .n("InternetMonitorClient", "GetQueryResultsCommand")
14
- .sc(GetQueryResults)
14
+ .sc(GetQueryResults$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetQueryStatus } from "../schemas/schemas_0";
4
+ import { GetQueryStatus$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetQueryStatusCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetQueryStatusCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "GetQueryStatus", {})
13
13
  .n("InternetMonitorClient", "GetQueryStatusCommand")
14
- .sc(GetQueryStatus)
14
+ .sc(GetQueryStatus$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListHealthEvents } from "../schemas/schemas_0";
4
+ import { ListHealthEvents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListHealthEventsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListHealthEventsCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "ListHealthEvents", {})
13
13
  .n("InternetMonitorClient", "ListHealthEventsCommand")
14
- .sc(ListHealthEvents)
14
+ .sc(ListHealthEvents$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListInternetEvents } from "../schemas/schemas_0";
4
+ import { ListInternetEvents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListInternetEventsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListInternetEventsCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "ListInternetEvents", {})
13
13
  .n("InternetMonitorClient", "ListInternetEventsCommand")
14
- .sc(ListInternetEvents)
14
+ .sc(ListInternetEvents$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListMonitors } from "../schemas/schemas_0";
4
+ import { ListMonitors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListMonitorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListMonitorsCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "ListMonitors", {})
13
13
  .n("InternetMonitorClient", "ListMonitorsCommand")
14
- .sc(ListMonitors)
14
+ .sc(ListMonitors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "ListTagsForResource", {})
13
13
  .n("InternetMonitorClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartQuery } from "../schemas/schemas_0";
4
+ import { StartQuery$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartQueryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartQueryCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "StartQuery", {})
13
13
  .n("InternetMonitorClient", "StartQueryCommand")
14
- .sc(StartQuery)
14
+ .sc(StartQuery$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopQuery } from "../schemas/schemas_0";
4
+ import { StopQuery$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopQueryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopQueryCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "StopQuery", {})
13
13
  .n("InternetMonitorClient", "StopQueryCommand")
14
- .sc(StopQuery)
14
+ .sc(StopQuery$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "TagResource", {})
13
13
  .n("InternetMonitorClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "UntagResource", {})
13
13
  .n("InternetMonitorClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateMonitor } from "../schemas/schemas_0";
4
+ import { UpdateMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateMonitorCommand extends $Command
11
11
  })
12
12
  .s("InternetMonitor20210603", "UpdateMonitor", {})
13
13
  .n("InternetMonitorClient", "UpdateMonitorCommand")
14
- .sc(UpdateMonitor)
14
+ .sc(UpdateMonitor$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./InternetMonitorClient";
2
2
  export * from "./InternetMonitor";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.internetmonitor" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.internetmonitor",
29
+ version: "2021-06-03",
30
+ serviceTarget: "InternetMonitor20210603",
31
+ },
27
32
  serviceId: config?.serviceId ?? "InternetMonitor",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,