@aws-sdk/client-health 3.1169.0 → 3.1171.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/README.md +86 -2
- package/dist-cjs/index.js +392 -40
- package/dist-es/Health.js +28 -0
- package/dist-es/commands/ConfigureTagsCommand.js +4 -0
- package/dist-es/commands/ConfigureTagsForOrganizationCommand.js +4 -0
- package/dist-es/commands/DescribeTagKeysCommand.js +4 -0
- package/dist-es/commands/DescribeTagKeysForOrganizationCommand.js +4 -0
- package/dist-es/commands/DescribeTagsCommand.js +4 -0
- package/dist-es/commands/DescribeTagsForOrganizationCommand.js +4 -0
- package/dist-es/commands/DescribeTagsOnboardingStatusCommand.js +4 -0
- package/dist-es/commands/DescribeTagsOnboardingStatusForOrganizationCommand.js +4 -0
- package/dist-es/commands/DisableTagsCommand.js +4 -0
- package/dist-es/commands/DisableTagsForOrganizationCommand.js +4 -0
- package/dist-es/commands/EnableTagsCommand.js +4 -0
- package/dist-es/commands/EnableTagsForOrganizationCommand.js +4 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/enums.js +19 -0
- package/dist-es/pagination/DescribeTagsForOrganizationPaginator.js +4 -0
- package/dist-es/pagination/DescribeTagsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +295 -41
- package/dist-types/Health.d.ts +111 -3
- package/dist-types/HealthClient.d.ts +17 -5
- package/dist-types/commands/ConfigureTagsCommand.d.ts +83 -0
- package/dist-types/commands/ConfigureTagsForOrganizationCommand.d.ts +81 -0
- package/dist-types/commands/DescribeAffectedAccountsForOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAffectedEntitiesCommand.d.ts +11 -5
- package/dist-types/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +11 -0
- package/dist-types/commands/DescribeEntityAggregatesCommand.d.ts +7 -0
- package/dist-types/commands/DescribeEntityAggregatesForOrganizationCommand.d.ts +7 -0
- package/dist-types/commands/DescribeEventAggregatesCommand.d.ts +5 -5
- package/dist-types/commands/DescribeEventsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeEventsForOrganizationCommand.d.ts +5 -0
- package/dist-types/commands/DescribeTagKeysCommand.d.ts +75 -0
- package/dist-types/commands/DescribeTagKeysForOrganizationCommand.d.ts +75 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +82 -0
- package/dist-types/commands/DescribeTagsForOrganizationCommand.d.ts +87 -0
- package/dist-types/commands/DescribeTagsOnboardingStatusCommand.d.ts +69 -0
- package/dist-types/commands/DescribeTagsOnboardingStatusForOrganizationCommand.d.ts +69 -0
- package/dist-types/commands/DisableTagsCommand.d.ts +66 -0
- package/dist-types/commands/DisableTagsForOrganizationCommand.d.ts +66 -0
- package/dist-types/commands/EnableHealthServiceAccessForOrganizationCommand.d.ts +2 -2
- package/dist-types/commands/EnableTagsCommand.d.ts +66 -0
- package/dist-types/commands/EnableTagsForOrganizationCommand.d.ts +66 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/enums.d.ts +59 -0
- package/dist-types/models/models_0.d.ts +382 -8
- package/dist-types/pagination/DescribeTagsForOrganizationPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeTagsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +34 -0
- package/dist-types/ts3.4/Health.d.ts +222 -0
- package/dist-types/ts3.4/HealthClient.d.ts +68 -2
- package/dist-types/ts3.4/commands/ConfigureTagsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ConfigureTagsForOrganizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTagKeysCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeTagKeysForOrganizationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeTagsForOrganizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTagsOnboardingStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeTagsOnboardingStatusForOrganizationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DisableTagsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DisableTagsForOrganizationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/EnableTagsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/EnableTagsForOrganizationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/enums.d.ts +25 -0
- package/dist-types/ts3.4/models/models_0.d.ts +97 -2
- package/dist-types/ts3.4/pagination/DescribeTagsForOrganizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeTagsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +34 -0
- package/package.json +1 -1
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
import type { EntityStatusCode, EventActionability, EventAggregateField, EventPersona, EventScopeCode, EventStatusCode, EventTypeActionability, EventTypeCategory, EventTypePersona } from "./enums";
|
|
1
|
+
import type { AccountTagType, EntityStatusCode, EventActionability, EventAggregateField, EventPersona, EventScopeCode, EventStatusCode, EventTypeActionability, EventTypeCategory, EventTypePersona, OrganizationTagType, TagKeyStatus, TagsOnboardingStatus, TagsOnboardingStatusForOrganization } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
* <p>An entity representing an affected account, including its account ID and associated tags.</p>
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface AccountEntity {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The 12-digit Amazon Web Services account numbers that contains the affected entities.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
accountId?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>A map of tag key-value pairs attached to the affected account.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
accountTags?: Record<string, string> | undefined;
|
|
17
|
+
}
|
|
2
18
|
/**
|
|
3
19
|
* <p>The number of entities in an account that are impacted by a specific event aggregated by the entity status codes.</p>
|
|
4
20
|
* @public
|
|
@@ -20,6 +36,51 @@ export interface AccountEntityAggregate {
|
|
|
20
36
|
*/
|
|
21
37
|
statuses?: Partial<Record<EntityStatusCode, number>> | undefined;
|
|
22
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>A tag key-value pair associated with a resource in an account.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export interface AccountTag {
|
|
44
|
+
/**
|
|
45
|
+
* <p>The tag key.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
key?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The tag value.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
value?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The type of tag (resource tag or account tag).</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
type?: AccountTagType | undefined;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* <p>A filter for narrowing down affected accounts in an organization event.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export interface AffectedAccountFilter {
|
|
65
|
+
/**
|
|
66
|
+
* <p>The unique identifier for the event. The event ARN has the
|
|
67
|
+
* <code>arn:aws:health:<i>event-region</i>::event/<i>SERVICE</i>/<i>EVENT_TYPE_CODE</i>/<i>EVENT_TYPE_PLUS_ID</i>
|
|
68
|
+
* </code>
|
|
69
|
+
* format.</p>
|
|
70
|
+
* <p>For example, an event ARN might look like the following:</p>
|
|
71
|
+
* <p>
|
|
72
|
+
* <code>arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456</code>
|
|
73
|
+
* </p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
eventArn?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>A map of tag keys to lists of tag values. A tag matches when its key is in the map and its value is one of the values listed for that key. Matching is case sensitive, and the filter matches when at least one key in the map matches.</p>
|
|
79
|
+
* <p>An account is returned when its own tags, or the tags of one of its affected resources, match.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
tags?: Record<string, string[]> | undefined;
|
|
83
|
+
}
|
|
23
84
|
/**
|
|
24
85
|
* <p>Information about an entity that is affected by a Health event.</p>
|
|
25
86
|
* @public
|
|
@@ -71,7 +132,17 @@ export interface AffectedEntity {
|
|
|
71
132
|
*/
|
|
72
133
|
statusCode?: EntityStatusCode | undefined;
|
|
73
134
|
/**
|
|
74
|
-
* <p>A map of
|
|
135
|
+
* <p>A map of resource tag key-value pairs attached to the affected entity.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
resourceTags?: Record<string, string> | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* <p>A map of account tag key-value pairs attached to the affected entity.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
accountTags?: Record<string, string> | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* <p>A map of resource tag key-value pairs attached to the affected entity.</p>
|
|
75
146
|
* <note>
|
|
76
147
|
* <p>Currently, the <code>tags</code> property isn't supported.</p>
|
|
77
148
|
* </note>
|
|
@@ -84,6 +155,83 @@ export interface AffectedEntity {
|
|
|
84
155
|
*/
|
|
85
156
|
entityMetadata?: Record<string, string> | undefined;
|
|
86
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* <p>A resource tag key configured for Health event tracking.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
export interface ResourceTagKey {
|
|
163
|
+
/**
|
|
164
|
+
* <p>The tag key name.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
key?: string | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* <p>Whether this tag key is enabled for EventBridge notifications.</p>
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
enabledForEventBridge?: boolean | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* <p>The current status of the tag key configuration.</p>
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
status?: TagKeyStatus | undefined;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export interface ConfigureTagsRequest {
|
|
183
|
+
/**
|
|
184
|
+
* <p>The list of resource tag keys to configure for Health event tracking.</p>
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
tagKeys: ResourceTagKey[] | undefined;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export interface ConfigureTagsResponse {
|
|
193
|
+
/**
|
|
194
|
+
* <p>The list of resource tag keys that were successfully configured.</p>
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
configuredTagKeys?: ResourceTagKey[] | undefined;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* <p>A tag key configured for an organization.</p>
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
export interface TagKeyForOrganization {
|
|
204
|
+
/**
|
|
205
|
+
* <p>The tag key name.</p>
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
key?: string | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* <p>Whether this tag key is enabled for EventBridge notifications.</p>
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
enabledForEventBridge?: boolean | undefined;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
export interface ConfigureTagsForOrganizationRequest {
|
|
219
|
+
/**
|
|
220
|
+
* <p>The list of tag keys to configure for Health event tracking across the organization.</p>
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
tagKeys: TagKeyForOrganization[] | undefined;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
export interface ConfigureTagsForOrganizationResponse {
|
|
229
|
+
/**
|
|
230
|
+
* <p>The list of tag keys that were successfully configured for the organization.</p>
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
configuredTagKeys?: TagKeyForOrganization[] | undefined;
|
|
234
|
+
}
|
|
87
235
|
/**
|
|
88
236
|
* @public
|
|
89
237
|
*/
|
|
@@ -113,6 +261,11 @@ export interface DescribeAffectedAccountsForOrganizationRequest {
|
|
|
113
261
|
* @public
|
|
114
262
|
*/
|
|
115
263
|
maxResults?: number | undefined;
|
|
264
|
+
/**
|
|
265
|
+
* <p>Values to narrow the results returned.</p>
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
filter?: AffectedAccountFilter | undefined;
|
|
116
269
|
}
|
|
117
270
|
/**
|
|
118
271
|
* @public
|
|
@@ -123,6 +276,11 @@ export interface DescribeAffectedAccountsForOrganizationResponse {
|
|
|
123
276
|
* @public
|
|
124
277
|
*/
|
|
125
278
|
affectedAccounts?: string[] | undefined;
|
|
279
|
+
/**
|
|
280
|
+
* <p>The list of affected account entities, including account IDs and their associated tags.</p>
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
affectedAccountEntities?: AccountEntity[] | undefined;
|
|
126
284
|
/**
|
|
127
285
|
* <p>This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.</p>
|
|
128
286
|
* <ul>
|
|
@@ -204,13 +362,13 @@ export interface EntityFilter {
|
|
|
204
362
|
*/
|
|
205
363
|
lastUpdatedTimes?: DateTimeRange[] | undefined;
|
|
206
364
|
/**
|
|
207
|
-
* <p>A map of
|
|
365
|
+
* <p>A map of resource tag key-value pairs to filter affected entities.</p>
|
|
208
366
|
* <note>
|
|
209
367
|
* <p>Currently, the <code>tags</code> property isn't supported.</p>
|
|
210
368
|
* </note>
|
|
211
369
|
* @public
|
|
212
370
|
*/
|
|
213
|
-
tags?: Record<string, string
|
|
371
|
+
tags?: Record<string, string[]> | undefined;
|
|
214
372
|
/**
|
|
215
373
|
* <p>A list of entity status codes (<code>IMPAIRED</code>, <code>UNIMPAIRED</code>, or
|
|
216
374
|
* <code>UNKNOWN</code>).</p>
|
|
@@ -291,6 +449,12 @@ export interface EntityAccountFilter {
|
|
|
291
449
|
* @public
|
|
292
450
|
*/
|
|
293
451
|
statusCodes?: EntityStatusCode[] | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* <p>A map of tag keys to lists of tag values. A tag matches when its key is in the map and its value is one of the values listed for that key. Matching is case sensitive, and the filter matches when at least one key in the map matches.</p>
|
|
454
|
+
* <p>An entity is returned when the tags of the resource, or of the account it belongs to, match. When you specify several filters in <code>organizationEntityAccountFilters</code>, the tags must be identical in every filter.</p>
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
tags?: Record<string, string[]> | undefined;
|
|
294
458
|
}
|
|
295
459
|
/**
|
|
296
460
|
* <p>The values used to filter results from the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html">DescribeEventDetailsForOrganization</a> and <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html">DescribeAffectedEntitiesForOrganization</a> operations.</p>
|
|
@@ -415,6 +579,18 @@ export interface DescribeAffectedEntitiesForOrganizationResponse {
|
|
|
415
579
|
*/
|
|
416
580
|
nextToken?: string | undefined;
|
|
417
581
|
}
|
|
582
|
+
/**
|
|
583
|
+
* <p>A filter for narrowing down the entity aggregates returned by DescribeEntityAggregates.</p>
|
|
584
|
+
* @public
|
|
585
|
+
*/
|
|
586
|
+
export interface EntityAggregateFilter {
|
|
587
|
+
/**
|
|
588
|
+
* <p>A map of tag keys to lists of tag values. A tag matches when its key is in the map and its value is one of the values listed for that key. Matching is case sensitive, and the filter matches when at least one key in the map matches.</p>
|
|
589
|
+
* <p>Only entities whose tags match are included in the aggregates.</p>
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
tags?: Record<string, string[]> | undefined;
|
|
593
|
+
}
|
|
418
594
|
/**
|
|
419
595
|
* @public
|
|
420
596
|
*/
|
|
@@ -425,6 +601,11 @@ export interface DescribeEntityAggregatesRequest {
|
|
|
425
601
|
* @public
|
|
426
602
|
*/
|
|
427
603
|
eventArns?: string[] | undefined;
|
|
604
|
+
/**
|
|
605
|
+
* <p>Values to narrow the results returned.</p>
|
|
606
|
+
* @public
|
|
607
|
+
*/
|
|
608
|
+
filter?: EntityAggregateFilter | undefined;
|
|
428
609
|
}
|
|
429
610
|
/**
|
|
430
611
|
* <p>The number of entities that are affected by one or more events. Returned by the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEntityAggregates.html">DescribeEntityAggregates</a> operation.</p>
|
|
@@ -464,6 +645,18 @@ export interface DescribeEntityAggregatesResponse {
|
|
|
464
645
|
*/
|
|
465
646
|
entityAggregates?: EntityAggregate[] | undefined;
|
|
466
647
|
}
|
|
648
|
+
/**
|
|
649
|
+
* <p>A filter for narrowing down the entity aggregates returned by DescribeEntityAggregatesForOrganization.</p>
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
export interface OrganizationEntityAggregateFilter {
|
|
653
|
+
/**
|
|
654
|
+
* <p>A map of tag keys to lists of tag values. A tag matches when its key is in the map and its value is one of the values listed for that key. Matching is case sensitive, and the filter matches when at least one key in the map matches.</p>
|
|
655
|
+
* <p>Only entities whose tags match are included in the aggregates.</p>
|
|
656
|
+
* @public
|
|
657
|
+
*/
|
|
658
|
+
tags?: Record<string, string[]> | undefined;
|
|
659
|
+
}
|
|
467
660
|
/**
|
|
468
661
|
* @public
|
|
469
662
|
*/
|
|
@@ -479,6 +672,11 @@ export interface DescribeEntityAggregatesForOrganizationRequest {
|
|
|
479
672
|
* @public
|
|
480
673
|
*/
|
|
481
674
|
awsAccountIds?: string[] | undefined;
|
|
675
|
+
/**
|
|
676
|
+
* <p>Values to narrow the results returned.</p>
|
|
677
|
+
* @public
|
|
678
|
+
*/
|
|
679
|
+
filter?: OrganizationEntityAggregateFilter | undefined;
|
|
482
680
|
}
|
|
483
681
|
/**
|
|
484
682
|
* <p>The aggregate results of entities affected by the specified event in your organization.
|
|
@@ -591,13 +789,13 @@ export interface EventFilter {
|
|
|
591
789
|
*/
|
|
592
790
|
eventTypeCategories?: EventTypeCategory[] | undefined;
|
|
593
791
|
/**
|
|
594
|
-
* <p>A map of
|
|
792
|
+
* <p>A map of resource tag key-value pairs to filter affected entities.</p>
|
|
595
793
|
* <note>
|
|
596
794
|
* <p>Currently, the <code>tags</code> property isn't supported.</p>
|
|
597
795
|
* </note>
|
|
598
796
|
* @public
|
|
599
797
|
*/
|
|
600
|
-
tags?: Record<string, string
|
|
798
|
+
tags?: Record<string, string[]> | undefined;
|
|
601
799
|
/**
|
|
602
800
|
* <p>A list of event status codes.</p>
|
|
603
801
|
* @public
|
|
@@ -941,7 +1139,7 @@ export interface OrganizationEventDetailsErrorItem {
|
|
|
941
1139
|
* </li>
|
|
942
1140
|
* <li>
|
|
943
1141
|
* <p>Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the
|
|
944
|
-
* Health API. You must have either a Business
|
|
1142
|
+
* Health API. You must have either a Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan.</p>
|
|
945
1143
|
* </li>
|
|
946
1144
|
* </ul>
|
|
947
1145
|
* @public
|
|
@@ -1147,6 +1345,12 @@ export interface OrganizationEventFilter {
|
|
|
1147
1345
|
* @public
|
|
1148
1346
|
*/
|
|
1149
1347
|
personas?: EventPersona[] | undefined;
|
|
1348
|
+
/**
|
|
1349
|
+
* <p>A map of tag keys to lists of tag values. A tag matches when its key is in the map and its value is one of the values listed for that key. Matching is case sensitive, and the filter matches when at least one key in the map matches.</p>
|
|
1350
|
+
* <p>An event is returned when one of its affected accounts, or one of the entities of those accounts, has tags that match.</p>
|
|
1351
|
+
* @public
|
|
1352
|
+
*/
|
|
1353
|
+
tags?: Record<string, string[]> | undefined;
|
|
1150
1354
|
}
|
|
1151
1355
|
/**
|
|
1152
1356
|
* @public
|
|
@@ -1466,7 +1670,7 @@ export interface DescribeServiceLifecycleRequest {
|
|
|
1466
1670
|
*/
|
|
1467
1671
|
nextToken?: string | undefined;
|
|
1468
1672
|
/**
|
|
1469
|
-
* <p>The maximum number of items to return in one batch, between
|
|
1673
|
+
* <p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p>
|
|
1470
1674
|
* @public
|
|
1471
1675
|
*/
|
|
1472
1676
|
maxResults?: number | undefined;
|
|
@@ -1551,3 +1755,173 @@ export interface DescribeServiceLifecycleResponse {
|
|
|
1551
1755
|
*/
|
|
1552
1756
|
nextToken?: string | undefined;
|
|
1553
1757
|
}
|
|
1758
|
+
/**
|
|
1759
|
+
* @public
|
|
1760
|
+
*/
|
|
1761
|
+
export interface DescribeTagKeysResponse {
|
|
1762
|
+
/**
|
|
1763
|
+
* <p>The list of configured resource tag keys and their status.</p>
|
|
1764
|
+
* @public
|
|
1765
|
+
*/
|
|
1766
|
+
keys?: ResourceTagKey[] | undefined;
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* <p>A tag key configured for Health event tracking across an organization.</p>
|
|
1770
|
+
* @public
|
|
1771
|
+
*/
|
|
1772
|
+
export interface OrganizationTagKey {
|
|
1773
|
+
/**
|
|
1774
|
+
* <p>The tag key name.</p>
|
|
1775
|
+
* @public
|
|
1776
|
+
*/
|
|
1777
|
+
key?: string | undefined;
|
|
1778
|
+
/**
|
|
1779
|
+
* <p>Whether this tag key is enabled for EventBridge notifications.</p>
|
|
1780
|
+
* @public
|
|
1781
|
+
*/
|
|
1782
|
+
enabledForEventBridge?: boolean | undefined;
|
|
1783
|
+
/**
|
|
1784
|
+
* <p>The current status of the tag key configuration.</p>
|
|
1785
|
+
* @public
|
|
1786
|
+
*/
|
|
1787
|
+
status?: TagKeyStatus | undefined;
|
|
1788
|
+
}
|
|
1789
|
+
/**
|
|
1790
|
+
* @public
|
|
1791
|
+
*/
|
|
1792
|
+
export interface DescribeTagKeysForOrganizationResponse {
|
|
1793
|
+
/**
|
|
1794
|
+
* <p>The list of configured tag keys for the organization and their status.</p>
|
|
1795
|
+
* @public
|
|
1796
|
+
*/
|
|
1797
|
+
keys?: OrganizationTagKey[] | undefined;
|
|
1798
|
+
}
|
|
1799
|
+
/**
|
|
1800
|
+
* @public
|
|
1801
|
+
*/
|
|
1802
|
+
export interface DescribeTagsRequest {
|
|
1803
|
+
/**
|
|
1804
|
+
* <p>If the results of a search are large, only a portion of the
|
|
1805
|
+
* results are returned, and a <code>nextToken</code> pagination token is returned in the response. To
|
|
1806
|
+
* retrieve the next batch of results, reissue the search request and include the returned token.
|
|
1807
|
+
* When all results have been returned, the response does not contain a pagination token value.</p>
|
|
1808
|
+
* @public
|
|
1809
|
+
*/
|
|
1810
|
+
nextToken?: string | undefined;
|
|
1811
|
+
/**
|
|
1812
|
+
* <p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p>
|
|
1813
|
+
* @public
|
|
1814
|
+
*/
|
|
1815
|
+
maxResults?: number | undefined;
|
|
1816
|
+
}
|
|
1817
|
+
/**
|
|
1818
|
+
* @public
|
|
1819
|
+
*/
|
|
1820
|
+
export interface DescribeTagsResponse {
|
|
1821
|
+
/**
|
|
1822
|
+
* <p>The list of resource tags associated with Health events.</p>
|
|
1823
|
+
* @public
|
|
1824
|
+
*/
|
|
1825
|
+
tags?: AccountTag[] | undefined;
|
|
1826
|
+
/**
|
|
1827
|
+
* <p>If the results of a search are large, only a portion of the
|
|
1828
|
+
* results are returned, and a <code>nextToken</code> pagination token is returned in the response. To
|
|
1829
|
+
* retrieve the next batch of results, reissue the search request and include the returned token.
|
|
1830
|
+
* When all results have been returned, the response does not contain a pagination token value.</p>
|
|
1831
|
+
* @public
|
|
1832
|
+
*/
|
|
1833
|
+
nextToken?: string | undefined;
|
|
1834
|
+
}
|
|
1835
|
+
/**
|
|
1836
|
+
* <p>A filter for narrowing down the tags returned by DescribeTagsForOrganization.</p>
|
|
1837
|
+
* @public
|
|
1838
|
+
*/
|
|
1839
|
+
export interface DescribeTagsForOrganizationFilter {
|
|
1840
|
+
/**
|
|
1841
|
+
* <p>The types of tags to include in the results.</p>
|
|
1842
|
+
* @public
|
|
1843
|
+
*/
|
|
1844
|
+
tagTypes?: OrganizationTagType[] | undefined;
|
|
1845
|
+
}
|
|
1846
|
+
/**
|
|
1847
|
+
* @public
|
|
1848
|
+
*/
|
|
1849
|
+
export interface DescribeTagsForOrganizationRequest {
|
|
1850
|
+
/**
|
|
1851
|
+
* <p>Values to narrow the results returned.</p>
|
|
1852
|
+
* @public
|
|
1853
|
+
*/
|
|
1854
|
+
filter?: DescribeTagsForOrganizationFilter | undefined;
|
|
1855
|
+
/**
|
|
1856
|
+
* <p>If the results of a search are large, only a portion of the
|
|
1857
|
+
* results are returned, and a <code>nextToken</code> pagination token is returned in the response. To
|
|
1858
|
+
* retrieve the next batch of results, reissue the search request and include the returned token.
|
|
1859
|
+
* When all results have been returned, the response does not contain a pagination token value.</p>
|
|
1860
|
+
* @public
|
|
1861
|
+
*/
|
|
1862
|
+
nextToken?: string | undefined;
|
|
1863
|
+
/**
|
|
1864
|
+
* <p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p>
|
|
1865
|
+
* @public
|
|
1866
|
+
*/
|
|
1867
|
+
maxResults?: number | undefined;
|
|
1868
|
+
}
|
|
1869
|
+
/**
|
|
1870
|
+
* <p>A tag key-value pair associated with a resource across an organization.</p>
|
|
1871
|
+
* @public
|
|
1872
|
+
*/
|
|
1873
|
+
export interface OrganizationTag {
|
|
1874
|
+
/**
|
|
1875
|
+
* <p>The tag key.</p>
|
|
1876
|
+
* @public
|
|
1877
|
+
*/
|
|
1878
|
+
key?: string | undefined;
|
|
1879
|
+
/**
|
|
1880
|
+
* <p>The tag value.</p>
|
|
1881
|
+
* @public
|
|
1882
|
+
*/
|
|
1883
|
+
value?: string | undefined;
|
|
1884
|
+
/**
|
|
1885
|
+
* <p>The type of organization tag.</p>
|
|
1886
|
+
* @public
|
|
1887
|
+
*/
|
|
1888
|
+
type?: OrganizationTagType | undefined;
|
|
1889
|
+
}
|
|
1890
|
+
/**
|
|
1891
|
+
* @public
|
|
1892
|
+
*/
|
|
1893
|
+
export interface DescribeTagsForOrganizationResponse {
|
|
1894
|
+
/**
|
|
1895
|
+
* <p>The list of tags associated with Health events across the organization.</p>
|
|
1896
|
+
* @public
|
|
1897
|
+
*/
|
|
1898
|
+
tags?: OrganizationTag[] | undefined;
|
|
1899
|
+
/**
|
|
1900
|
+
* <p>If the results of a search are large, only a portion of the
|
|
1901
|
+
* results are returned, and a <code>nextToken</code> pagination token is returned in the response. To
|
|
1902
|
+
* retrieve the next batch of results, reissue the search request and include the returned token.
|
|
1903
|
+
* When all results have been returned, the response does not contain a pagination token value.</p>
|
|
1904
|
+
* @public
|
|
1905
|
+
*/
|
|
1906
|
+
nextToken?: string | undefined;
|
|
1907
|
+
}
|
|
1908
|
+
/**
|
|
1909
|
+
* @public
|
|
1910
|
+
*/
|
|
1911
|
+
export interface DescribeTagsOnboardingStatusResponse {
|
|
1912
|
+
/**
|
|
1913
|
+
* <p>The current onboarding status of the tags feature for the account.</p>
|
|
1914
|
+
* @public
|
|
1915
|
+
*/
|
|
1916
|
+
status?: TagsOnboardingStatus | undefined;
|
|
1917
|
+
}
|
|
1918
|
+
/**
|
|
1919
|
+
* @public
|
|
1920
|
+
*/
|
|
1921
|
+
export interface DescribeTagsOnboardingStatusForOrganizationResponse {
|
|
1922
|
+
/**
|
|
1923
|
+
* <p>The current onboarding status of the tags feature for the organization.</p>
|
|
1924
|
+
* @public
|
|
1925
|
+
*/
|
|
1926
|
+
status?: TagsOnboardingStatusForOrganization | undefined;
|
|
1927
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeTagsForOrganizationCommandInput, DescribeTagsForOrganizationCommandOutput } from "../commands/DescribeTagsForOrganizationCommand";
|
|
3
|
+
import type { HealthPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateDescribeTagsForOrganization: (config: HealthPaginationConfiguration, input: DescribeTagsForOrganizationCommandInput, ...rest: any[]) => Paginator<DescribeTagsForOrganizationCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "../commands/DescribeTagsCommand";
|
|
3
|
+
import type { HealthPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateDescribeTags: (config: HealthPaginationConfiguration, input: DescribeTagsCommandInput, ...rest: any[]) => Paginator<DescribeTagsCommandOutput>;
|
|
@@ -7,3 +7,5 @@ export * from "./DescribeEventsPaginator";
|
|
|
7
7
|
export * from "./DescribeEventsForOrganizationPaginator";
|
|
8
8
|
export * from "./DescribeEventTypesPaginator";
|
|
9
9
|
export * from "./DescribeServiceLifecyclePaginator";
|
|
10
|
+
export * from "./DescribeTagsPaginator";
|
|
11
|
+
export * from "./DescribeTagsForOrganizationPaginator";
|
|
@@ -10,8 +10,15 @@ export declare var UnsupportedLocale$: StaticErrorSchema;
|
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
12
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
13
|
+
export declare var AccountEntity$: StaticStructureSchema;
|
|
13
14
|
export declare var AccountEntityAggregate$: StaticStructureSchema;
|
|
15
|
+
export declare var AccountTag$: StaticStructureSchema;
|
|
16
|
+
export declare var AffectedAccountFilter$: StaticStructureSchema;
|
|
14
17
|
export declare var AffectedEntity$: StaticStructureSchema;
|
|
18
|
+
export declare var ConfigureTagsForOrganizationRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var ConfigureTagsForOrganizationResponse$: StaticStructureSchema;
|
|
20
|
+
export declare var ConfigureTagsRequest$: StaticStructureSchema;
|
|
21
|
+
export declare var ConfigureTagsResponse$: StaticStructureSchema;
|
|
15
22
|
export declare var DateTimeRange$: StaticStructureSchema;
|
|
16
23
|
export declare var DescribeAffectedAccountsForOrganizationRequest$: StaticStructureSchema;
|
|
17
24
|
export declare var DescribeAffectedAccountsForOrganizationResponse$: StaticStructureSchema;
|
|
@@ -38,8 +45,18 @@ export declare var DescribeEventTypesResponse$: StaticStructureSchema;
|
|
|
38
45
|
export declare var DescribeHealthServiceStatusForOrganizationResponse$: StaticStructureSchema;
|
|
39
46
|
export declare var DescribeServiceLifecycleRequest$: StaticStructureSchema;
|
|
40
47
|
export declare var DescribeServiceLifecycleResponse$: StaticStructureSchema;
|
|
48
|
+
export declare var DescribeTagKeysForOrganizationResponse$: StaticStructureSchema;
|
|
49
|
+
export declare var DescribeTagKeysResponse$: StaticStructureSchema;
|
|
50
|
+
export declare var DescribeTagsForOrganizationFilter$: StaticStructureSchema;
|
|
51
|
+
export declare var DescribeTagsForOrganizationRequest$: StaticStructureSchema;
|
|
52
|
+
export declare var DescribeTagsForOrganizationResponse$: StaticStructureSchema;
|
|
53
|
+
export declare var DescribeTagsOnboardingStatusForOrganizationResponse$: StaticStructureSchema;
|
|
54
|
+
export declare var DescribeTagsOnboardingStatusResponse$: StaticStructureSchema;
|
|
55
|
+
export declare var DescribeTagsRequest$: StaticStructureSchema;
|
|
56
|
+
export declare var DescribeTagsResponse$: StaticStructureSchema;
|
|
41
57
|
export declare var EntityAccountFilter$: StaticStructureSchema;
|
|
42
58
|
export declare var EntityAggregate$: StaticStructureSchema;
|
|
59
|
+
export declare var EntityAggregateFilter$: StaticStructureSchema;
|
|
43
60
|
export declare var EntityFilter$: StaticStructureSchema;
|
|
44
61
|
export declare var Event$: StaticStructureSchema;
|
|
45
62
|
export declare var EventAccountFilter$: StaticStructureSchema;
|
|
@@ -53,12 +70,19 @@ export declare var EventTypeFilter$: StaticStructureSchema;
|
|
|
53
70
|
export declare var LifecycleEvent$: StaticStructureSchema;
|
|
54
71
|
export declare var OrganizationAffectedEntitiesErrorItem$: StaticStructureSchema;
|
|
55
72
|
export declare var OrganizationEntityAggregate$: StaticStructureSchema;
|
|
73
|
+
export declare var OrganizationEntityAggregateFilter$: StaticStructureSchema;
|
|
56
74
|
export declare var OrganizationEvent$: StaticStructureSchema;
|
|
57
75
|
export declare var OrganizationEventDetails$: StaticStructureSchema;
|
|
58
76
|
export declare var OrganizationEventDetailsErrorItem$: StaticStructureSchema;
|
|
59
77
|
export declare var OrganizationEventFilter$: StaticStructureSchema;
|
|
78
|
+
export declare var OrganizationTag$: StaticStructureSchema;
|
|
79
|
+
export declare var OrganizationTagKey$: StaticStructureSchema;
|
|
80
|
+
export declare var ResourceTagKey$: StaticStructureSchema;
|
|
60
81
|
export declare var ServiceLifecycle$: StaticStructureSchema;
|
|
61
82
|
export declare var ServiceLifecycleFilter$: StaticStructureSchema;
|
|
83
|
+
export declare var TagKeyForOrganization$: StaticStructureSchema;
|
|
84
|
+
export declare var ConfigureTags$: StaticOperationSchema;
|
|
85
|
+
export declare var ConfigureTagsForOrganization$: StaticOperationSchema;
|
|
62
86
|
export declare var DescribeAffectedAccountsForOrganization$: StaticOperationSchema;
|
|
63
87
|
export declare var DescribeAffectedEntities$: StaticOperationSchema;
|
|
64
88
|
export declare var DescribeAffectedEntitiesForOrganization$: StaticOperationSchema;
|
|
@@ -72,5 +96,15 @@ export declare var DescribeEventsForOrganization$: StaticOperationSchema;
|
|
|
72
96
|
export declare var DescribeEventTypes$: StaticOperationSchema;
|
|
73
97
|
export declare var DescribeHealthServiceStatusForOrganization$: StaticOperationSchema;
|
|
74
98
|
export declare var DescribeServiceLifecycle$: StaticOperationSchema;
|
|
99
|
+
export declare var DescribeTagKeys$: StaticOperationSchema;
|
|
100
|
+
export declare var DescribeTagKeysForOrganization$: StaticOperationSchema;
|
|
101
|
+
export declare var DescribeTags$: StaticOperationSchema;
|
|
102
|
+
export declare var DescribeTagsForOrganization$: StaticOperationSchema;
|
|
103
|
+
export declare var DescribeTagsOnboardingStatus$: StaticOperationSchema;
|
|
104
|
+
export declare var DescribeTagsOnboardingStatusForOrganization$: StaticOperationSchema;
|
|
75
105
|
export declare var DisableHealthServiceAccessForOrganization$: StaticOperationSchema;
|
|
106
|
+
export declare var DisableTags$: StaticOperationSchema;
|
|
107
|
+
export declare var DisableTagsForOrganization$: StaticOperationSchema;
|
|
76
108
|
export declare var EnableHealthServiceAccessForOrganization$: StaticOperationSchema;
|
|
109
|
+
export declare var EnableTags$: StaticOperationSchema;
|
|
110
|
+
export declare var EnableTagsForOrganization$: StaticOperationSchema;
|