@aws-sdk/client-health 3.952.0 → 3.953.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 (34) hide show
  1. package/dist-cjs/index.js +211 -142
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/DescribeAffectedAccountsForOrganizationCommand.js +2 -2
  4. package/dist-es/commands/DescribeAffectedEntitiesCommand.js +2 -2
  5. package/dist-es/commands/DescribeAffectedEntitiesForOrganizationCommand.js +2 -2
  6. package/dist-es/commands/DescribeEntityAggregatesCommand.js +2 -2
  7. package/dist-es/commands/DescribeEntityAggregatesForOrganizationCommand.js +2 -2
  8. package/dist-es/commands/DescribeEventAggregatesCommand.js +2 -2
  9. package/dist-es/commands/DescribeEventDetailsCommand.js +2 -2
  10. package/dist-es/commands/DescribeEventDetailsForOrganizationCommand.js +2 -2
  11. package/dist-es/commands/DescribeEventTypesCommand.js +2 -2
  12. package/dist-es/commands/DescribeEventsCommand.js +2 -2
  13. package/dist-es/commands/DescribeEventsForOrganizationCommand.js +2 -2
  14. package/dist-es/commands/DescribeHealthServiceStatusForOrganizationCommand.js +2 -2
  15. package/dist-es/commands/DisableHealthServiceAccessForOrganizationCommand.js +2 -2
  16. package/dist-es/commands/EnableHealthServiceAccessForOrganizationCommand.js +2 -2
  17. package/dist-es/index.js +1 -0
  18. package/dist-es/runtimeConfig.shared.js +6 -6
  19. package/dist-es/schemas/schemas_0.js +156 -149
  20. package/dist-types/HealthClient.d.ts +1 -10
  21. package/dist-types/index.d.ts +1 -0
  22. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  23. package/dist-types/runtimeConfig.d.ts +6 -2
  24. package/dist-types/runtimeConfig.native.d.ts +6 -2
  25. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  26. package/dist-types/schemas/schemas_0.d.ts +63 -107
  27. package/dist-types/ts3.4/HealthClient.d.ts +0 -4
  28. package/dist-types/ts3.4/index.d.ts +1 -0
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +62 -107
  34. package/package.json +34 -34
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_1Protocol({
31
- defaultNamespace: "com.amazonaws.health",
32
- serviceTarget: "AWSHealth_20160804",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.health",
32
+ version: "2016-08-04",
33
+ serviceTarget: "AWSHealth_20160804",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Health",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
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 { DescribeAffectedAccountsForOrganization } from "../schemas/schemas_0";
4
+ import { DescribeAffectedAccountsForOrganization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeAffectedAccountsForOrganizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeAffectedAccountsForOrganizationCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeAffectedAccountsForOrganization", {})
13
13
  .n("HealthClient", "DescribeAffectedAccountsForOrganizationCommand")
14
- .sc(DescribeAffectedAccountsForOrganization)
14
+ .sc(DescribeAffectedAccountsForOrganization$)
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 { DescribeAffectedEntities } from "../schemas/schemas_0";
4
+ import { DescribeAffectedEntities$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeAffectedEntitiesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeAffectedEntitiesCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeAffectedEntities", {})
13
13
  .n("HealthClient", "DescribeAffectedEntitiesCommand")
14
- .sc(DescribeAffectedEntities)
14
+ .sc(DescribeAffectedEntities$)
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 { DescribeAffectedEntitiesForOrganization } from "../schemas/schemas_0";
4
+ import { DescribeAffectedEntitiesForOrganization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeAffectedEntitiesForOrganizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeAffectedEntitiesForOrganizationCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeAffectedEntitiesForOrganization", {})
13
13
  .n("HealthClient", "DescribeAffectedEntitiesForOrganizationCommand")
14
- .sc(DescribeAffectedEntitiesForOrganization)
14
+ .sc(DescribeAffectedEntitiesForOrganization$)
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 { DescribeEntityAggregates } from "../schemas/schemas_0";
4
+ import { DescribeEntityAggregates$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEntityAggregatesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEntityAggregatesCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeEntityAggregates", {})
13
13
  .n("HealthClient", "DescribeEntityAggregatesCommand")
14
- .sc(DescribeEntityAggregates)
14
+ .sc(DescribeEntityAggregates$)
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 { DescribeEntityAggregatesForOrganization } from "../schemas/schemas_0";
4
+ import { DescribeEntityAggregatesForOrganization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEntityAggregatesForOrganizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEntityAggregatesForOrganizationCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeEntityAggregatesForOrganization", {})
13
13
  .n("HealthClient", "DescribeEntityAggregatesForOrganizationCommand")
14
- .sc(DescribeEntityAggregatesForOrganization)
14
+ .sc(DescribeEntityAggregatesForOrganization$)
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 { DescribeEventAggregates } from "../schemas/schemas_0";
4
+ import { DescribeEventAggregates$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEventAggregatesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEventAggregatesCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeEventAggregates", {})
13
13
  .n("HealthClient", "DescribeEventAggregatesCommand")
14
- .sc(DescribeEventAggregates)
14
+ .sc(DescribeEventAggregates$)
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 { DescribeEventDetails } from "../schemas/schemas_0";
4
+ import { DescribeEventDetails$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEventDetailsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEventDetailsCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeEventDetails", {})
13
13
  .n("HealthClient", "DescribeEventDetailsCommand")
14
- .sc(DescribeEventDetails)
14
+ .sc(DescribeEventDetails$)
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 { DescribeEventDetailsForOrganization } from "../schemas/schemas_0";
4
+ import { DescribeEventDetailsForOrganization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEventDetailsForOrganizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEventDetailsForOrganizationCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeEventDetailsForOrganization", {})
13
13
  .n("HealthClient", "DescribeEventDetailsForOrganizationCommand")
14
- .sc(DescribeEventDetailsForOrganization)
14
+ .sc(DescribeEventDetailsForOrganization$)
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 { DescribeEventTypes } from "../schemas/schemas_0";
4
+ import { DescribeEventTypes$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEventTypesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEventTypesCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeEventTypes", {})
13
13
  .n("HealthClient", "DescribeEventTypesCommand")
14
- .sc(DescribeEventTypes)
14
+ .sc(DescribeEventTypes$)
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 { DescribeEvents } from "../schemas/schemas_0";
4
+ import { DescribeEvents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEventsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEventsCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeEvents", {})
13
13
  .n("HealthClient", "DescribeEventsCommand")
14
- .sc(DescribeEvents)
14
+ .sc(DescribeEvents$)
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 { DescribeEventsForOrganization } from "../schemas/schemas_0";
4
+ import { DescribeEventsForOrganization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeEventsForOrganizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeEventsForOrganizationCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeEventsForOrganization", {})
13
13
  .n("HealthClient", "DescribeEventsForOrganizationCommand")
14
- .sc(DescribeEventsForOrganization)
14
+ .sc(DescribeEventsForOrganization$)
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 { DescribeHealthServiceStatusForOrganization } from "../schemas/schemas_0";
4
+ import { DescribeHealthServiceStatusForOrganization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeHealthServiceStatusForOrganizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeHealthServiceStatusForOrganizationCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DescribeHealthServiceStatusForOrganization", {})
13
13
  .n("HealthClient", "DescribeHealthServiceStatusForOrganizationCommand")
14
- .sc(DescribeHealthServiceStatusForOrganization)
14
+ .sc(DescribeHealthServiceStatusForOrganization$)
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 { DisableHealthServiceAccessForOrganization } from "../schemas/schemas_0";
4
+ import { DisableHealthServiceAccessForOrganization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisableHealthServiceAccessForOrganizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisableHealthServiceAccessForOrganizationCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "DisableHealthServiceAccessForOrganization", {})
13
13
  .n("HealthClient", "DisableHealthServiceAccessForOrganizationCommand")
14
- .sc(DisableHealthServiceAccessForOrganization)
14
+ .sc(DisableHealthServiceAccessForOrganization$)
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 { EnableHealthServiceAccessForOrganization } from "../schemas/schemas_0";
4
+ import { EnableHealthServiceAccessForOrganization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class EnableHealthServiceAccessForOrganizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class EnableHealthServiceAccessForOrganizationCommand extends $Command
11
11
  })
12
12
  .s("AWSHealth_20160804", "EnableHealthServiceAccessForOrganization", {})
13
13
  .n("HealthClient", "EnableHealthServiceAccessForOrganizationCommand")
14
- .sc(EnableHealthServiceAccessForOrganization)
14
+ .sc(EnableHealthServiceAccessForOrganization$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./HealthClient";
2
2
  export * from "./Health";
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,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.health",
29
- serviceTarget: "AWSHealth_20160804",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.health",
29
+ version: "2016-08-04",
30
+ serviceTarget: "AWSHealth_20160804",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Health",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,