@aws-sdk/client-health 3.299.0 → 3.301.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.
@@ -34,6 +34,11 @@ export interface DescribeAffectedAccountsForOrganizationCommandOutput extends De
34
34
  * import { HealthClient, DescribeAffectedAccountsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
35
35
  * // const { HealthClient, DescribeAffectedAccountsForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
36
36
  * const client = new HealthClient(config);
37
+ * const input = { // DescribeAffectedAccountsForOrganizationRequest
38
+ * eventArn: "STRING_VALUE", // required
39
+ * nextToken: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * };
37
42
  * const command = new DescribeAffectedAccountsForOrganizationCommand(input);
38
43
  * const response = await client.send(command);
39
44
  * ```
@@ -43,6 +43,36 @@ export interface DescribeAffectedEntitiesCommandOutput extends DescribeAffectedE
43
43
  * import { HealthClient, DescribeAffectedEntitiesCommand } from "@aws-sdk/client-health"; // ES Modules import
44
44
  * // const { HealthClient, DescribeAffectedEntitiesCommand } = require("@aws-sdk/client-health"); // CommonJS import
45
45
  * const client = new HealthClient(config);
46
+ * const input = { // DescribeAffectedEntitiesRequest
47
+ * filter: { // EntityFilter
48
+ * eventArns: [ // eventArnList // required
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * entityArns: [ // entityArnList
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * entityValues: [ // entityValueList
55
+ * "STRING_VALUE",
56
+ * ],
57
+ * lastUpdatedTimes: [ // dateTimeRangeList
58
+ * { // DateTimeRange
59
+ * from: new Date("TIMESTAMP"),
60
+ * to: new Date("TIMESTAMP"),
61
+ * },
62
+ * ],
63
+ * tags: [ // tagFilter
64
+ * { // tagSet
65
+ * "<keys>": "STRING_VALUE",
66
+ * },
67
+ * ],
68
+ * statusCodes: [ // entityStatusCodeList
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * },
72
+ * locale: "STRING_VALUE",
73
+ * nextToken: "STRING_VALUE",
74
+ * maxResults: Number("int"),
75
+ * };
46
76
  * const command = new DescribeAffectedEntitiesCommand(input);
47
77
  * const response = await client.send(command);
48
78
  * ```
@@ -45,6 +45,17 @@ export interface DescribeAffectedEntitiesForOrganizationCommandOutput extends De
45
45
  * import { HealthClient, DescribeAffectedEntitiesForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
46
46
  * // const { HealthClient, DescribeAffectedEntitiesForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
47
47
  * const client = new HealthClient(config);
48
+ * const input = { // DescribeAffectedEntitiesForOrganizationRequest
49
+ * organizationEntityFilters: [ // OrganizationEntityFiltersList // required
50
+ * { // EventAccountFilter
51
+ * eventArn: "STRING_VALUE", // required
52
+ * awsAccountId: "STRING_VALUE",
53
+ * },
54
+ * ],
55
+ * locale: "STRING_VALUE",
56
+ * nextToken: "STRING_VALUE",
57
+ * maxResults: Number("int"),
58
+ * };
48
59
  * const command = new DescribeAffectedEntitiesForOrganizationCommand(input);
49
60
  * const response = await client.send(command);
50
61
  * ```
@@ -26,6 +26,11 @@ export interface DescribeEntityAggregatesCommandOutput extends DescribeEntityAgg
26
26
  * import { HealthClient, DescribeEntityAggregatesCommand } from "@aws-sdk/client-health"; // ES Modules import
27
27
  * // const { HealthClient, DescribeEntityAggregatesCommand } = require("@aws-sdk/client-health"); // CommonJS import
28
28
  * const client = new HealthClient(config);
29
+ * const input = { // DescribeEntityAggregatesRequest
30
+ * eventArns: [ // EventArnsList
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new DescribeEntityAggregatesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -31,6 +31,63 @@ export interface DescribeEventAggregatesCommandOutput extends DescribeEventAggre
31
31
  * import { HealthClient, DescribeEventAggregatesCommand } from "@aws-sdk/client-health"; // ES Modules import
32
32
  * // const { HealthClient, DescribeEventAggregatesCommand } = require("@aws-sdk/client-health"); // CommonJS import
33
33
  * const client = new HealthClient(config);
34
+ * const input = { // DescribeEventAggregatesRequest
35
+ * filter: { // EventFilter
36
+ * eventArns: [ // eventArnList
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * eventTypeCodes: [ // eventTypeList2
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * services: [ // serviceList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * regions: [ // regionList
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * availabilityZones: [ // availabilityZones
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * startTimes: [ // dateTimeRangeList
52
+ * { // DateTimeRange
53
+ * from: new Date("TIMESTAMP"),
54
+ * to: new Date("TIMESTAMP"),
55
+ * },
56
+ * ],
57
+ * endTimes: [
58
+ * {
59
+ * from: new Date("TIMESTAMP"),
60
+ * to: new Date("TIMESTAMP"),
61
+ * },
62
+ * ],
63
+ * lastUpdatedTimes: [
64
+ * {
65
+ * from: new Date("TIMESTAMP"),
66
+ * to: new Date("TIMESTAMP"),
67
+ * },
68
+ * ],
69
+ * entityArns: [ // entityArnList
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * entityValues: [ // entityValueList
73
+ * "STRING_VALUE",
74
+ * ],
75
+ * eventTypeCategories: [ // eventTypeCategoryList2
76
+ * "STRING_VALUE",
77
+ * ],
78
+ * tags: [ // tagFilter
79
+ * { // tagSet
80
+ * "<keys>": "STRING_VALUE",
81
+ * },
82
+ * ],
83
+ * eventStatusCodes: [ // eventStatusCodeList
84
+ * "STRING_VALUE",
85
+ * ],
86
+ * },
87
+ * aggregateField: "STRING_VALUE", // required
88
+ * maxResults: Number("int"),
89
+ * nextToken: "STRING_VALUE",
90
+ * };
34
91
  * const command = new DescribeEventAggregatesCommand(input);
35
92
  * const response = await client.send(command);
36
93
  * ```
@@ -35,6 +35,12 @@ export interface DescribeEventDetailsCommandOutput extends DescribeEventDetailsR
35
35
  * import { HealthClient, DescribeEventDetailsCommand } from "@aws-sdk/client-health"; // ES Modules import
36
36
  * // const { HealthClient, DescribeEventDetailsCommand } = require("@aws-sdk/client-health"); // CommonJS import
37
37
  * const client = new HealthClient(config);
38
+ * const input = { // DescribeEventDetailsRequest
39
+ * eventArns: [ // eventArnList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * locale: "STRING_VALUE",
43
+ * };
38
44
  * const command = new DescribeEventDetailsCommand(input);
39
45
  * const response = await client.send(command);
40
46
  * ```
@@ -58,6 +58,15 @@ export interface DescribeEventDetailsForOrganizationCommandOutput extends Descri
58
58
  * import { HealthClient, DescribeEventDetailsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
59
59
  * // const { HealthClient, DescribeEventDetailsForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
60
60
  * const client = new HealthClient(config);
61
+ * const input = { // DescribeEventDetailsForOrganizationRequest
62
+ * organizationEventDetailFilters: [ // OrganizationEventDetailFiltersList // required
63
+ * { // EventAccountFilter
64
+ * eventArn: "STRING_VALUE", // required
65
+ * awsAccountId: "STRING_VALUE",
66
+ * },
67
+ * ],
68
+ * locale: "STRING_VALUE",
69
+ * };
61
70
  * const command = new DescribeEventDetailsForOrganizationCommand(input);
62
71
  * const response = await client.send(command);
63
72
  * ```
@@ -33,6 +33,22 @@ export interface DescribeEventTypesCommandOutput extends DescribeEventTypesRespo
33
33
  * import { HealthClient, DescribeEventTypesCommand } from "@aws-sdk/client-health"; // ES Modules import
34
34
  * // const { HealthClient, DescribeEventTypesCommand } = require("@aws-sdk/client-health"); // CommonJS import
35
35
  * const client = new HealthClient(config);
36
+ * const input = { // DescribeEventTypesRequest
37
+ * filter: { // EventTypeFilter
38
+ * eventTypeCodes: [ // EventTypeCodeList
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * services: [ // serviceList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * eventTypeCategories: [ // EventTypeCategoryList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * locale: "STRING_VALUE",
49
+ * nextToken: "STRING_VALUE",
50
+ * maxResults: Number("int"),
51
+ * };
36
52
  * const command = new DescribeEventTypesCommand(input);
37
53
  * const response = await client.send(command);
38
54
  * ```
@@ -48,6 +48,63 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M
48
48
  * import { HealthClient, DescribeEventsCommand } from "@aws-sdk/client-health"; // ES Modules import
49
49
  * // const { HealthClient, DescribeEventsCommand } = require("@aws-sdk/client-health"); // CommonJS import
50
50
  * const client = new HealthClient(config);
51
+ * const input = { // DescribeEventsRequest
52
+ * filter: { // EventFilter
53
+ * eventArns: [ // eventArnList
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * eventTypeCodes: [ // eventTypeList2
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * services: [ // serviceList
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * regions: [ // regionList
63
+ * "STRING_VALUE",
64
+ * ],
65
+ * availabilityZones: [ // availabilityZones
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * startTimes: [ // dateTimeRangeList
69
+ * { // DateTimeRange
70
+ * from: new Date("TIMESTAMP"),
71
+ * to: new Date("TIMESTAMP"),
72
+ * },
73
+ * ],
74
+ * endTimes: [
75
+ * {
76
+ * from: new Date("TIMESTAMP"),
77
+ * to: new Date("TIMESTAMP"),
78
+ * },
79
+ * ],
80
+ * lastUpdatedTimes: [
81
+ * {
82
+ * from: new Date("TIMESTAMP"),
83
+ * to: new Date("TIMESTAMP"),
84
+ * },
85
+ * ],
86
+ * entityArns: [ // entityArnList
87
+ * "STRING_VALUE",
88
+ * ],
89
+ * entityValues: [ // entityValueList
90
+ * "STRING_VALUE",
91
+ * ],
92
+ * eventTypeCategories: [ // eventTypeCategoryList2
93
+ * "STRING_VALUE",
94
+ * ],
95
+ * tags: [ // tagFilter
96
+ * { // tagSet
97
+ * "<keys>": "STRING_VALUE",
98
+ * },
99
+ * ],
100
+ * eventStatusCodes: [ // eventStatusCodeList
101
+ * "STRING_VALUE",
102
+ * ],
103
+ * },
104
+ * nextToken: "STRING_VALUE",
105
+ * maxResults: Number("int"),
106
+ * locale: "STRING_VALUE",
107
+ * };
51
108
  * const command = new DescribeEventsCommand(input);
52
109
  * const response = await client.send(command);
53
110
  * ```
@@ -57,6 +57,49 @@ export interface DescribeEventsForOrganizationCommandOutput extends DescribeEven
57
57
  * import { HealthClient, DescribeEventsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
58
58
  * // const { HealthClient, DescribeEventsForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
59
59
  * const client = new HealthClient(config);
60
+ * const input = { // DescribeEventsForOrganizationRequest
61
+ * filter: { // OrganizationEventFilter
62
+ * eventTypeCodes: [ // eventTypeList2
63
+ * "STRING_VALUE",
64
+ * ],
65
+ * awsAccountIds: [ // awsAccountIdsList
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * services: [ // serviceList
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * regions: [ // regionList
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * startTime: { // DateTimeRange
75
+ * from: new Date("TIMESTAMP"),
76
+ * to: new Date("TIMESTAMP"),
77
+ * },
78
+ * endTime: {
79
+ * from: new Date("TIMESTAMP"),
80
+ * to: new Date("TIMESTAMP"),
81
+ * },
82
+ * lastUpdatedTime: {
83
+ * from: new Date("TIMESTAMP"),
84
+ * to: new Date("TIMESTAMP"),
85
+ * },
86
+ * entityArns: [ // entityArnList
87
+ * "STRING_VALUE",
88
+ * ],
89
+ * entityValues: [ // entityValueList
90
+ * "STRING_VALUE",
91
+ * ],
92
+ * eventTypeCategories: [ // eventTypeCategoryList2
93
+ * "STRING_VALUE",
94
+ * ],
95
+ * eventStatusCodes: [ // eventStatusCodeList
96
+ * "STRING_VALUE",
97
+ * ],
98
+ * },
99
+ * nextToken: "STRING_VALUE",
100
+ * maxResults: Number("int"),
101
+ * locale: "STRING_VALUE",
102
+ * };
60
103
  * const command = new DescribeEventsForOrganizationCommand(input);
61
104
  * const response = await client.send(command);
62
105
  * ```
@@ -29,6 +29,7 @@ export interface DescribeHealthServiceStatusForOrganizationCommandOutput extends
29
29
  * import { HealthClient, DescribeHealthServiceStatusForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
30
30
  * // const { HealthClient, DescribeHealthServiceStatusForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
31
31
  * const client = new HealthClient(config);
32
+ * const input = {};
32
33
  * const command = new DescribeHealthServiceStatusForOrganizationCommand(input);
33
34
  * const response = await client.send(command);
34
35
  * ```
@@ -39,6 +39,7 @@ export interface DisableHealthServiceAccessForOrganizationCommandOutput extends
39
39
  * import { HealthClient, DisableHealthServiceAccessForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
40
40
  * // const { HealthClient, DisableHealthServiceAccessForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
41
41
  * const client = new HealthClient(config);
42
+ * const input = {};
42
43
  * const command = new DisableHealthServiceAccessForOrganizationCommand(input);
43
44
  * const response = await client.send(command);
44
45
  * ```
@@ -47,6 +47,7 @@ export interface EnableHealthServiceAccessForOrganizationCommandOutput extends _
47
47
  * import { HealthClient, EnableHealthServiceAccessForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
48
48
  * // const { HealthClient, EnableHealthServiceAccessForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
49
49
  * const client = new HealthClient(config);
50
+ * const input = {};
50
51
  * const command = new EnableHealthServiceAccessForOrganizationCommand(input);
51
52
  * const response = await client.send(command);
52
53
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-health",
3
3
  "description": "AWS SDK for JavaScript Health Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },