@aws-sdk/client-oam 3.533.0 → 3.535.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-types/OAM.d.ts +3 -1
- package/dist-types/OAMClient.d.ts +1 -1
- package/dist-types/commands/CreateLinkCommand.d.ts +2 -1
- package/dist-types/commands/CreateSinkCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLinkCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSinkCommand.d.ts +2 -1
- package/dist-types/commands/GetLinkCommand.d.ts +2 -1
- package/dist-types/commands/GetSinkCommand.d.ts +2 -1
- package/dist-types/commands/GetSinkPolicyCommand.d.ts +2 -1
- package/dist-types/commands/ListAttachedLinksCommand.d.ts +2 -1
- package/dist-types/commands/ListLinksCommand.d.ts +2 -1
- package/dist-types/commands/ListSinksCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PutSinkPolicyCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLinkCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +97 -97
- package/dist-types/ts3.4/OAM.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateSinkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteSinkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetSinkCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetSinkPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAttachedLinksCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSinksCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutSinkPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { OAMServiceException as __BaseException } from "./OAMServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>A resource was in an inconsistent state during an update or a deletion.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class ConflictException extends __BaseException {
|
|
8
8
|
readonly name: "ConflictException";
|
|
9
9
|
readonly $fault: "client";
|
|
10
10
|
Message?: string;
|
|
11
11
|
/**
|
|
12
|
-
* @public
|
|
13
12
|
* <p>The name of the exception.</p>
|
|
13
|
+
* @public
|
|
14
14
|
*/
|
|
15
15
|
amznErrorType?: string;
|
|
16
16
|
/**
|
|
@@ -37,7 +37,6 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
|
37
37
|
*/
|
|
38
38
|
export interface CreateLinkInput {
|
|
39
39
|
/**
|
|
40
|
-
* @public
|
|
41
40
|
* <p>Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring
|
|
42
41
|
* account.</p>
|
|
43
42
|
* <p>You can use a custom label or use the following variables:</p>
|
|
@@ -55,29 +54,30 @@ export interface CreateLinkInput {
|
|
|
55
54
|
* <code>$AccountEmailNoDomain</code> is the email address of the account without the domain name</p>
|
|
56
55
|
* </li>
|
|
57
56
|
* </ul>
|
|
57
|
+
* @public
|
|
58
58
|
*/
|
|
59
59
|
LabelTemplate: string | undefined;
|
|
60
60
|
/**
|
|
61
|
-
* @public
|
|
62
61
|
* <p>An array of strings that define which types of data that the source account shares with the monitoring
|
|
63
62
|
* account.</p>
|
|
63
|
+
* @public
|
|
64
64
|
*/
|
|
65
65
|
ResourceTypes: ResourceType[] | undefined;
|
|
66
66
|
/**
|
|
67
|
-
* @public
|
|
68
67
|
* <p>The ARN of the sink to use to create this link. You can use <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html">ListSinks</a> to find the ARNs of sinks.</p>
|
|
69
68
|
* <p>For more information about sinks, see
|
|
70
69
|
* <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_CreateSink.html">CreateSink</a>.</p>
|
|
70
|
+
* @public
|
|
71
71
|
*/
|
|
72
72
|
SinkIdentifier: string | undefined;
|
|
73
73
|
/**
|
|
74
|
-
* @public
|
|
75
74
|
* <p>Assigns one or more tags (key-value pairs) to the link. </p>
|
|
76
75
|
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
77
76
|
* permissions by granting a user
|
|
78
77
|
* permission to access or change only resources with certain tag values.</p>
|
|
79
78
|
* <p>For more information about using tags to control access, see
|
|
80
79
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
|
|
80
|
+
* @public
|
|
81
81
|
*/
|
|
82
82
|
Tags?: Record<string, string>;
|
|
83
83
|
}
|
|
@@ -86,53 +86,53 @@ export interface CreateLinkInput {
|
|
|
86
86
|
*/
|
|
87
87
|
export interface CreateLinkOutput {
|
|
88
88
|
/**
|
|
89
|
-
* @public
|
|
90
89
|
* <p>The ARN of the link that is newly created.</p>
|
|
90
|
+
* @public
|
|
91
91
|
*/
|
|
92
92
|
Arn?: string;
|
|
93
93
|
/**
|
|
94
|
-
* @public
|
|
95
94
|
* <p>The random ID string that Amazon Web Services generated as part of the link ARN.</p>
|
|
95
|
+
* @public
|
|
96
96
|
*/
|
|
97
97
|
Id?: string;
|
|
98
98
|
/**
|
|
99
|
-
* @public
|
|
100
99
|
* <p>The label that you assigned to this link. If the <code>labelTemplate</code> includes variables,
|
|
101
100
|
* this field displays the variables resolved to their actual values.</p>
|
|
101
|
+
* @public
|
|
102
102
|
*/
|
|
103
103
|
Label?: string;
|
|
104
104
|
/**
|
|
105
|
-
* @public
|
|
106
105
|
* <p>The exact label template that you specified, with the variables not resolved.</p>
|
|
106
|
+
* @public
|
|
107
107
|
*/
|
|
108
108
|
LabelTemplate?: string;
|
|
109
109
|
/**
|
|
110
|
-
* @public
|
|
111
110
|
* <p>The resource types supported by this link.</p>
|
|
111
|
+
* @public
|
|
112
112
|
*/
|
|
113
113
|
ResourceTypes?: string[];
|
|
114
114
|
/**
|
|
115
|
-
* @public
|
|
116
115
|
* <p>The ARN of the sink that is used for this link.</p>
|
|
116
|
+
* @public
|
|
117
117
|
*/
|
|
118
118
|
SinkArn?: string;
|
|
119
119
|
/**
|
|
120
|
-
* @public
|
|
121
120
|
* <p>The tags assigned to the link.</p>
|
|
121
|
+
* @public
|
|
122
122
|
*/
|
|
123
123
|
Tags?: Record<string, string>;
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
|
-
* @public
|
|
127
126
|
* <p>Unexpected error while processing the request. Retry the request.</p>
|
|
127
|
+
* @public
|
|
128
128
|
*/
|
|
129
129
|
export declare class InternalServiceFault extends __BaseException {
|
|
130
130
|
readonly name: "InternalServiceFault";
|
|
131
131
|
readonly $fault: "server";
|
|
132
132
|
Message?: string;
|
|
133
133
|
/**
|
|
134
|
-
* @public
|
|
135
134
|
* <p>The name of the exception.</p>
|
|
135
|
+
* @public
|
|
136
136
|
*/
|
|
137
137
|
amznErrorType?: string;
|
|
138
138
|
/**
|
|
@@ -141,15 +141,15 @@ export declare class InternalServiceFault extends __BaseException {
|
|
|
141
141
|
constructor(opts: __ExceptionOptionType<InternalServiceFault, __BaseException>);
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
144
|
-
* @public
|
|
145
144
|
* <p>A parameter is specified incorrectly.</p>
|
|
145
|
+
* @public
|
|
146
146
|
*/
|
|
147
147
|
export declare class InvalidParameterException extends __BaseException {
|
|
148
148
|
readonly name: "InvalidParameterException";
|
|
149
149
|
readonly $fault: "client";
|
|
150
150
|
/**
|
|
151
|
-
* @public
|
|
152
151
|
* <p>The name of the exception.</p>
|
|
152
|
+
* @public
|
|
153
153
|
*/
|
|
154
154
|
amznErrorType?: string;
|
|
155
155
|
/**
|
|
@@ -158,15 +158,15 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
158
158
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
|
-
* @public
|
|
162
161
|
* <p>A required parameter is missing from the request.</p>
|
|
162
|
+
* @public
|
|
163
163
|
*/
|
|
164
164
|
export declare class MissingRequiredParameterException extends __BaseException {
|
|
165
165
|
readonly name: "MissingRequiredParameterException";
|
|
166
166
|
readonly $fault: "client";
|
|
167
167
|
/**
|
|
168
|
-
* @public
|
|
169
168
|
* <p>The name of the exception.</p>
|
|
169
|
+
* @public
|
|
170
170
|
*/
|
|
171
171
|
amznErrorType?: string;
|
|
172
172
|
/**
|
|
@@ -175,16 +175,16 @@ export declare class MissingRequiredParameterException extends __BaseException {
|
|
|
175
175
|
constructor(opts: __ExceptionOptionType<MissingRequiredParameterException, __BaseException>);
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
178
|
-
* @public
|
|
179
178
|
* <p>The request would cause a service quota to be exceeded.</p>
|
|
179
|
+
* @public
|
|
180
180
|
*/
|
|
181
181
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
182
182
|
readonly name: "ServiceQuotaExceededException";
|
|
183
183
|
readonly $fault: "client";
|
|
184
184
|
Message?: string;
|
|
185
185
|
/**
|
|
186
|
-
* @public
|
|
187
186
|
* <p>The name of the exception.</p>
|
|
187
|
+
* @public
|
|
188
188
|
*/
|
|
189
189
|
amznErrorType?: string;
|
|
190
190
|
/**
|
|
@@ -197,18 +197,18 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
197
197
|
*/
|
|
198
198
|
export interface CreateSinkInput {
|
|
199
199
|
/**
|
|
200
|
-
* @public
|
|
201
200
|
* <p>A name for the sink.</p>
|
|
201
|
+
* @public
|
|
202
202
|
*/
|
|
203
203
|
Name: string | undefined;
|
|
204
204
|
/**
|
|
205
|
-
* @public
|
|
206
205
|
* <p>Assigns one or more tags (key-value pairs) to the link. </p>
|
|
207
206
|
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
208
207
|
* permissions by granting a user
|
|
209
208
|
* permission to access or change only resources with certain tag values.</p>
|
|
210
209
|
* <p>For more information about using tags to control access, see
|
|
211
210
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
|
|
211
|
+
* @public
|
|
212
212
|
*/
|
|
213
213
|
Tags?: Record<string, string>;
|
|
214
214
|
}
|
|
@@ -217,23 +217,23 @@ export interface CreateSinkInput {
|
|
|
217
217
|
*/
|
|
218
218
|
export interface CreateSinkOutput {
|
|
219
219
|
/**
|
|
220
|
-
* @public
|
|
221
220
|
* <p>The ARN of the sink that is newly created.</p>
|
|
221
|
+
* @public
|
|
222
222
|
*/
|
|
223
223
|
Arn?: string;
|
|
224
224
|
/**
|
|
225
|
-
* @public
|
|
226
225
|
* <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
|
|
226
|
+
* @public
|
|
227
227
|
*/
|
|
228
228
|
Id?: string;
|
|
229
229
|
/**
|
|
230
|
-
* @public
|
|
231
230
|
* <p>The name of the sink.</p>
|
|
231
|
+
* @public
|
|
232
232
|
*/
|
|
233
233
|
Name?: string;
|
|
234
234
|
/**
|
|
235
|
-
* @public
|
|
236
235
|
* <p>The tags assigned to the sink.</p>
|
|
236
|
+
* @public
|
|
237
237
|
*/
|
|
238
238
|
Tags?: Record<string, string>;
|
|
239
239
|
}
|
|
@@ -242,8 +242,8 @@ export interface CreateSinkOutput {
|
|
|
242
242
|
*/
|
|
243
243
|
export interface DeleteLinkInput {
|
|
244
244
|
/**
|
|
245
|
-
* @public
|
|
246
245
|
* <p>The ARN of the link to delete.</p>
|
|
246
|
+
* @public
|
|
247
247
|
*/
|
|
248
248
|
Identifier: string | undefined;
|
|
249
249
|
}
|
|
@@ -253,16 +253,16 @@ export interface DeleteLinkInput {
|
|
|
253
253
|
export interface DeleteLinkOutput {
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
|
-
* @public
|
|
257
256
|
* <p>The request references a resource that does not exist.</p>
|
|
257
|
+
* @public
|
|
258
258
|
*/
|
|
259
259
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
260
260
|
readonly name: "ResourceNotFoundException";
|
|
261
261
|
readonly $fault: "client";
|
|
262
262
|
Message?: string;
|
|
263
263
|
/**
|
|
264
|
-
* @public
|
|
265
264
|
* <p>The name of the exception.</p>
|
|
265
|
+
* @public
|
|
266
266
|
*/
|
|
267
267
|
amznErrorType?: string;
|
|
268
268
|
/**
|
|
@@ -275,8 +275,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
275
275
|
*/
|
|
276
276
|
export interface DeleteSinkInput {
|
|
277
277
|
/**
|
|
278
|
-
* @public
|
|
279
278
|
* <p>The ARN of the sink to delete.</p>
|
|
279
|
+
* @public
|
|
280
280
|
*/
|
|
281
281
|
Identifier: string | undefined;
|
|
282
282
|
}
|
|
@@ -290,8 +290,8 @@ export interface DeleteSinkOutput {
|
|
|
290
290
|
*/
|
|
291
291
|
export interface GetLinkInput {
|
|
292
292
|
/**
|
|
293
|
-
* @public
|
|
294
293
|
* <p>The ARN of the link to retrieve information for.</p>
|
|
294
|
+
* @public
|
|
295
295
|
*/
|
|
296
296
|
Identifier: string | undefined;
|
|
297
297
|
}
|
|
@@ -300,38 +300,38 @@ export interface GetLinkInput {
|
|
|
300
300
|
*/
|
|
301
301
|
export interface GetLinkOutput {
|
|
302
302
|
/**
|
|
303
|
-
* @public
|
|
304
303
|
* <p>The ARN of the link.</p>
|
|
304
|
+
* @public
|
|
305
305
|
*/
|
|
306
306
|
Arn?: string;
|
|
307
307
|
/**
|
|
308
|
-
* @public
|
|
309
308
|
* <p>The random ID string that Amazon Web Services generated as part of the link ARN.</p>
|
|
309
|
+
* @public
|
|
310
310
|
*/
|
|
311
311
|
Id?: string;
|
|
312
312
|
/**
|
|
313
|
-
* @public
|
|
314
313
|
* <p>The label that you assigned to this link, with the variables resolved to their actual values.</p>
|
|
314
|
+
* @public
|
|
315
315
|
*/
|
|
316
316
|
Label?: string;
|
|
317
317
|
/**
|
|
318
|
-
* @public
|
|
319
318
|
* <p>The exact label template that was specified when the link was created, with the template variables not resolved.</p>
|
|
319
|
+
* @public
|
|
320
320
|
*/
|
|
321
321
|
LabelTemplate?: string;
|
|
322
322
|
/**
|
|
323
|
-
* @public
|
|
324
323
|
* <p>The resource types supported by this link.</p>
|
|
324
|
+
* @public
|
|
325
325
|
*/
|
|
326
326
|
ResourceTypes?: string[];
|
|
327
327
|
/**
|
|
328
|
-
* @public
|
|
329
328
|
* <p>The ARN of the sink that is used for this link.</p>
|
|
329
|
+
* @public
|
|
330
330
|
*/
|
|
331
331
|
SinkArn?: string;
|
|
332
332
|
/**
|
|
333
|
-
* @public
|
|
334
333
|
* <p>The tags assigned to the link.</p>
|
|
334
|
+
* @public
|
|
335
335
|
*/
|
|
336
336
|
Tags?: Record<string, string>;
|
|
337
337
|
}
|
|
@@ -340,8 +340,8 @@ export interface GetLinkOutput {
|
|
|
340
340
|
*/
|
|
341
341
|
export interface GetSinkInput {
|
|
342
342
|
/**
|
|
343
|
-
* @public
|
|
344
343
|
* <p>The ARN of the sink to retrieve information for.</p>
|
|
344
|
+
* @public
|
|
345
345
|
*/
|
|
346
346
|
Identifier: string | undefined;
|
|
347
347
|
}
|
|
@@ -350,23 +350,23 @@ export interface GetSinkInput {
|
|
|
350
350
|
*/
|
|
351
351
|
export interface GetSinkOutput {
|
|
352
352
|
/**
|
|
353
|
-
* @public
|
|
354
353
|
* <p>The ARN of the sink.</p>
|
|
354
|
+
* @public
|
|
355
355
|
*/
|
|
356
356
|
Arn?: string;
|
|
357
357
|
/**
|
|
358
|
-
* @public
|
|
359
358
|
* <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
|
|
359
|
+
* @public
|
|
360
360
|
*/
|
|
361
361
|
Id?: string;
|
|
362
362
|
/**
|
|
363
|
-
* @public
|
|
364
363
|
* <p>The name of the sink.</p>
|
|
364
|
+
* @public
|
|
365
365
|
*/
|
|
366
366
|
Name?: string;
|
|
367
367
|
/**
|
|
368
|
-
* @public
|
|
369
368
|
* <p>The tags assigned to the sink.</p>
|
|
369
|
+
* @public
|
|
370
370
|
*/
|
|
371
371
|
Tags?: Record<string, string>;
|
|
372
372
|
}
|
|
@@ -375,8 +375,8 @@ export interface GetSinkOutput {
|
|
|
375
375
|
*/
|
|
376
376
|
export interface GetSinkPolicyInput {
|
|
377
377
|
/**
|
|
378
|
-
* @public
|
|
379
378
|
* <p>The ARN of the sink to retrieve the policy of.</p>
|
|
379
|
+
* @public
|
|
380
380
|
*/
|
|
381
381
|
SinkIdentifier: string | undefined;
|
|
382
382
|
}
|
|
@@ -385,18 +385,18 @@ export interface GetSinkPolicyInput {
|
|
|
385
385
|
*/
|
|
386
386
|
export interface GetSinkPolicyOutput {
|
|
387
387
|
/**
|
|
388
|
-
* @public
|
|
389
388
|
* <p>The ARN of the sink.</p>
|
|
389
|
+
* @public
|
|
390
390
|
*/
|
|
391
391
|
SinkArn?: string;
|
|
392
392
|
/**
|
|
393
|
-
* @public
|
|
394
393
|
* <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
|
|
394
|
+
* @public
|
|
395
395
|
*/
|
|
396
396
|
SinkId?: string;
|
|
397
397
|
/**
|
|
398
|
-
* @public
|
|
399
398
|
* <p>The policy that you specified, in JSON format.</p>
|
|
399
|
+
* @public
|
|
400
400
|
*/
|
|
401
401
|
Policy?: string;
|
|
402
402
|
}
|
|
@@ -405,40 +405,40 @@ export interface GetSinkPolicyOutput {
|
|
|
405
405
|
*/
|
|
406
406
|
export interface ListAttachedLinksInput {
|
|
407
407
|
/**
|
|
408
|
-
* @public
|
|
409
408
|
* <p>Limits the number of returned links to the specified number.</p>
|
|
409
|
+
* @public
|
|
410
410
|
*/
|
|
411
411
|
MaxResults?: number;
|
|
412
412
|
/**
|
|
413
|
-
* @public
|
|
414
413
|
* <p>The token for the next set of items to return. You received this token from a previous call.</p>
|
|
414
|
+
* @public
|
|
415
415
|
*/
|
|
416
416
|
NextToken?: string;
|
|
417
417
|
/**
|
|
418
|
-
* @public
|
|
419
418
|
* <p>The ARN of the sink that you want to retrieve links for.</p>
|
|
419
|
+
* @public
|
|
420
420
|
*/
|
|
421
421
|
SinkIdentifier: string | undefined;
|
|
422
422
|
}
|
|
423
423
|
/**
|
|
424
|
-
* @public
|
|
425
424
|
* <p>A structure that contains information about one link attached to this monitoring
|
|
426
425
|
* account sink.</p>
|
|
426
|
+
* @public
|
|
427
427
|
*/
|
|
428
428
|
export interface ListAttachedLinksItem {
|
|
429
429
|
/**
|
|
430
|
-
* @public
|
|
431
430
|
* <p>The label that was assigned to this link at creation, with the variables resolved to their actual values.</p>
|
|
431
|
+
* @public
|
|
432
432
|
*/
|
|
433
433
|
Label?: string;
|
|
434
434
|
/**
|
|
435
|
-
* @public
|
|
436
435
|
* <p>The ARN of the link.</p>
|
|
436
|
+
* @public
|
|
437
437
|
*/
|
|
438
438
|
LinkArn?: string;
|
|
439
439
|
/**
|
|
440
|
-
* @public
|
|
441
440
|
* <p>The resource types supported by this link.</p>
|
|
441
|
+
* @public
|
|
442
442
|
*/
|
|
443
443
|
ResourceTypes?: string[];
|
|
444
444
|
}
|
|
@@ -447,13 +447,13 @@ export interface ListAttachedLinksItem {
|
|
|
447
447
|
*/
|
|
448
448
|
export interface ListAttachedLinksOutput {
|
|
449
449
|
/**
|
|
450
|
-
* @public
|
|
451
450
|
* <p>An array of structures that contain the information about the attached links.</p>
|
|
451
|
+
* @public
|
|
452
452
|
*/
|
|
453
453
|
Items: ListAttachedLinksItem[] | undefined;
|
|
454
454
|
/**
|
|
455
|
-
* @public
|
|
456
455
|
* <p>The token to use when requesting the next set of links.</p>
|
|
456
|
+
* @public
|
|
457
457
|
*/
|
|
458
458
|
NextToken?: string;
|
|
459
459
|
}
|
|
@@ -462,44 +462,44 @@ export interface ListAttachedLinksOutput {
|
|
|
462
462
|
*/
|
|
463
463
|
export interface ListLinksInput {
|
|
464
464
|
/**
|
|
465
|
-
* @public
|
|
466
465
|
* <p>Limits the number of returned links to the specified number.</p>
|
|
466
|
+
* @public
|
|
467
467
|
*/
|
|
468
468
|
MaxResults?: number;
|
|
469
469
|
/**
|
|
470
|
-
* @public
|
|
471
470
|
* <p>The token for the next set of items to return. You received this token from a previous call.</p>
|
|
471
|
+
* @public
|
|
472
472
|
*/
|
|
473
473
|
NextToken?: string;
|
|
474
474
|
}
|
|
475
475
|
/**
|
|
476
|
-
* @public
|
|
477
476
|
* <p>A structure that contains information about one of this source account's links to a monitoring account.</p>
|
|
477
|
+
* @public
|
|
478
478
|
*/
|
|
479
479
|
export interface ListLinksItem {
|
|
480
480
|
/**
|
|
481
|
-
* @public
|
|
482
481
|
* <p>The ARN of the link.</p>
|
|
482
|
+
* @public
|
|
483
483
|
*/
|
|
484
484
|
Arn?: string;
|
|
485
485
|
/**
|
|
486
|
-
* @public
|
|
487
486
|
* <p>The random ID string that Amazon Web Services generated as part of the link ARN.</p>
|
|
487
|
+
* @public
|
|
488
488
|
*/
|
|
489
489
|
Id?: string;
|
|
490
490
|
/**
|
|
491
|
-
* @public
|
|
492
491
|
* <p>The label that was assigned to this link at creation, with the variables resolved to their actual values.</p>
|
|
492
|
+
* @public
|
|
493
493
|
*/
|
|
494
494
|
Label?: string;
|
|
495
495
|
/**
|
|
496
|
-
* @public
|
|
497
496
|
* <p>The resource types supported by this link.</p>
|
|
497
|
+
* @public
|
|
498
498
|
*/
|
|
499
499
|
ResourceTypes?: string[];
|
|
500
500
|
/**
|
|
501
|
-
* @public
|
|
502
501
|
* <p>The ARN of the sink that this link is attached to.</p>
|
|
502
|
+
* @public
|
|
503
503
|
*/
|
|
504
504
|
SinkArn?: string;
|
|
505
505
|
}
|
|
@@ -508,13 +508,13 @@ export interface ListLinksItem {
|
|
|
508
508
|
*/
|
|
509
509
|
export interface ListLinksOutput {
|
|
510
510
|
/**
|
|
511
|
-
* @public
|
|
512
511
|
* <p>An array of structures that contain the information about the returned links.</p>
|
|
512
|
+
* @public
|
|
513
513
|
*/
|
|
514
514
|
Items: ListLinksItem[] | undefined;
|
|
515
515
|
/**
|
|
516
|
-
* @public
|
|
517
516
|
* <p>The token to use when requesting the next set of links.</p>
|
|
517
|
+
* @public
|
|
518
518
|
*/
|
|
519
519
|
NextToken?: string;
|
|
520
520
|
}
|
|
@@ -523,34 +523,34 @@ export interface ListLinksOutput {
|
|
|
523
523
|
*/
|
|
524
524
|
export interface ListSinksInput {
|
|
525
525
|
/**
|
|
526
|
-
* @public
|
|
527
526
|
* <p>Limits the number of returned links to the specified number.</p>
|
|
527
|
+
* @public
|
|
528
528
|
*/
|
|
529
529
|
MaxResults?: number;
|
|
530
530
|
/**
|
|
531
|
-
* @public
|
|
532
531
|
* <p>The token for the next set of items to return. You received this token from a previous call.</p>
|
|
532
|
+
* @public
|
|
533
533
|
*/
|
|
534
534
|
NextToken?: string;
|
|
535
535
|
}
|
|
536
536
|
/**
|
|
537
|
-
* @public
|
|
538
537
|
* <p>A structure that contains information about one of this monitoring account's sinks.</p>
|
|
538
|
+
* @public
|
|
539
539
|
*/
|
|
540
540
|
export interface ListSinksItem {
|
|
541
541
|
/**
|
|
542
|
-
* @public
|
|
543
542
|
* <p>The ARN of the sink.</p>
|
|
543
|
+
* @public
|
|
544
544
|
*/
|
|
545
545
|
Arn?: string;
|
|
546
546
|
/**
|
|
547
|
-
* @public
|
|
548
547
|
* <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
|
|
548
|
+
* @public
|
|
549
549
|
*/
|
|
550
550
|
Id?: string;
|
|
551
551
|
/**
|
|
552
|
-
* @public
|
|
553
552
|
* <p>The name of the sink.</p>
|
|
553
|
+
* @public
|
|
554
554
|
*/
|
|
555
555
|
Name?: string;
|
|
556
556
|
}
|
|
@@ -559,13 +559,13 @@ export interface ListSinksItem {
|
|
|
559
559
|
*/
|
|
560
560
|
export interface ListSinksOutput {
|
|
561
561
|
/**
|
|
562
|
-
* @public
|
|
563
562
|
* <p>An array of structures that contain the information about the returned sinks.</p>
|
|
563
|
+
* @public
|
|
564
564
|
*/
|
|
565
565
|
Items: ListSinksItem[] | undefined;
|
|
566
566
|
/**
|
|
567
|
-
* @public
|
|
568
567
|
* <p>The token to use when requesting the next set of sinks.</p>
|
|
568
|
+
* @public
|
|
569
569
|
*/
|
|
570
570
|
NextToken?: string;
|
|
571
571
|
}
|
|
@@ -574,7 +574,6 @@ export interface ListSinksOutput {
|
|
|
574
574
|
*/
|
|
575
575
|
export interface ListTagsForResourceInput {
|
|
576
576
|
/**
|
|
577
|
-
* @public
|
|
578
577
|
* <p>The ARN of the resource that you want to view tags for.</p>
|
|
579
578
|
* <p>The ARN format of a sink is
|
|
580
579
|
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
|
|
@@ -592,6 +591,7 @@ export interface ListTagsForResourceInput {
|
|
|
592
591
|
* <code>aws:ReguestTag</code> permission does not allow you to tag and untag links and
|
|
593
592
|
* sinks.</p>
|
|
594
593
|
* </important>
|
|
594
|
+
* @public
|
|
595
595
|
*/
|
|
596
596
|
ResourceArn: string | undefined;
|
|
597
597
|
}
|
|
@@ -600,14 +600,14 @@ export interface ListTagsForResourceInput {
|
|
|
600
600
|
*/
|
|
601
601
|
export interface ListTagsForResourceOutput {
|
|
602
602
|
/**
|
|
603
|
-
* @public
|
|
604
603
|
* <p>The list of tags associated with the requested resource.></p>
|
|
604
|
+
* @public
|
|
605
605
|
*/
|
|
606
606
|
Tags?: Record<string, string>;
|
|
607
607
|
}
|
|
608
608
|
/**
|
|
609
|
-
* @public
|
|
610
609
|
* <p>The value of a parameter in the request caused an error.</p>
|
|
610
|
+
* @public
|
|
611
611
|
*/
|
|
612
612
|
export declare class ValidationException extends __BaseException {
|
|
613
613
|
readonly name: "ValidationException";
|
|
@@ -623,16 +623,16 @@ export declare class ValidationException extends __BaseException {
|
|
|
623
623
|
*/
|
|
624
624
|
export interface PutSinkPolicyInput {
|
|
625
625
|
/**
|
|
626
|
-
* @public
|
|
627
626
|
* <p>The ARN of the sink to attach this policy to.</p>
|
|
627
|
+
* @public
|
|
628
628
|
*/
|
|
629
629
|
SinkIdentifier: string | undefined;
|
|
630
630
|
/**
|
|
631
|
-
* @public
|
|
632
631
|
* <p>The JSON policy to use. If you are updating an existing policy, the entire existing policy is
|
|
633
632
|
* replaced by what you specify here.</p>
|
|
634
633
|
* <p>The policy must be in JSON string format with quotation marks escaped and no newlines.</p>
|
|
635
634
|
* <p>For examples of different types of policies, see the <b>Examples</b> section on this page.</p>
|
|
635
|
+
* @public
|
|
636
636
|
*/
|
|
637
637
|
Policy: string | undefined;
|
|
638
638
|
}
|
|
@@ -641,18 +641,18 @@ export interface PutSinkPolicyInput {
|
|
|
641
641
|
*/
|
|
642
642
|
export interface PutSinkPolicyOutput {
|
|
643
643
|
/**
|
|
644
|
-
* @public
|
|
645
644
|
* <p>The ARN of the sink.</p>
|
|
645
|
+
* @public
|
|
646
646
|
*/
|
|
647
647
|
SinkArn?: string;
|
|
648
648
|
/**
|
|
649
|
-
* @public
|
|
650
649
|
* <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
|
|
650
|
+
* @public
|
|
651
651
|
*/
|
|
652
652
|
SinkId?: string;
|
|
653
653
|
/**
|
|
654
|
-
* @public
|
|
655
654
|
* <p>The policy that you specified.</p>
|
|
655
|
+
* @public
|
|
656
656
|
*/
|
|
657
657
|
Policy?: string;
|
|
658
658
|
}
|
|
@@ -661,7 +661,6 @@ export interface PutSinkPolicyOutput {
|
|
|
661
661
|
*/
|
|
662
662
|
export interface TagResourceInput {
|
|
663
663
|
/**
|
|
664
|
-
* @public
|
|
665
664
|
* <p>The ARN of the resource that you're adding tags to.</p>
|
|
666
665
|
* <p>The ARN format of a sink is
|
|
667
666
|
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
|
|
@@ -673,11 +672,12 @@ export interface TagResourceInput {
|
|
|
673
672
|
* </p>
|
|
674
673
|
* <p>For more information about ARN format, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html">CloudWatch Logs
|
|
675
674
|
* resources and operations</a>.</p>
|
|
675
|
+
* @public
|
|
676
676
|
*/
|
|
677
677
|
ResourceArn: string | undefined;
|
|
678
678
|
/**
|
|
679
|
-
* @public
|
|
680
679
|
* <p>The list of key-value pairs to associate with the resource.</p>
|
|
680
|
+
* @public
|
|
681
681
|
*/
|
|
682
682
|
Tags: Record<string, string> | undefined;
|
|
683
683
|
}
|
|
@@ -687,8 +687,8 @@ export interface TagResourceInput {
|
|
|
687
687
|
export interface TagResourceOutput {
|
|
688
688
|
}
|
|
689
689
|
/**
|
|
690
|
-
* @public
|
|
691
690
|
* <p>A resource can have no more than 50 tags.</p>
|
|
691
|
+
* @public
|
|
692
692
|
*/
|
|
693
693
|
export declare class TooManyTagsException extends __BaseException {
|
|
694
694
|
readonly name: "TooManyTagsException";
|
|
@@ -704,7 +704,6 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
704
704
|
*/
|
|
705
705
|
export interface UntagResourceInput {
|
|
706
706
|
/**
|
|
707
|
-
* @public
|
|
708
707
|
* <p>The ARN of the resource that you're removing tags from.</p>
|
|
709
708
|
* <p>The ARN format of a sink is
|
|
710
709
|
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
|
|
@@ -716,11 +715,12 @@ export interface UntagResourceInput {
|
|
|
716
715
|
* </p>
|
|
717
716
|
* <p>For more information about ARN format, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html">CloudWatch Logs
|
|
718
717
|
* resources and operations</a>.</p>
|
|
718
|
+
* @public
|
|
719
719
|
*/
|
|
720
720
|
ResourceArn: string | undefined;
|
|
721
721
|
/**
|
|
722
|
-
* @public
|
|
723
722
|
* <p>The list of tag keys to remove from the resource.</p>
|
|
723
|
+
* @public
|
|
724
724
|
*/
|
|
725
725
|
TagKeys: string[] | undefined;
|
|
726
726
|
}
|
|
@@ -734,15 +734,15 @@ export interface UntagResourceOutput {
|
|
|
734
734
|
*/
|
|
735
735
|
export interface UpdateLinkInput {
|
|
736
736
|
/**
|
|
737
|
-
* @public
|
|
738
737
|
* <p>The ARN of the link that you want to update.</p>
|
|
738
|
+
* @public
|
|
739
739
|
*/
|
|
740
740
|
Identifier: string | undefined;
|
|
741
741
|
/**
|
|
742
|
-
* @public
|
|
743
742
|
* <p>An array of strings that define which types of data that the source account will send to the monitoring
|
|
744
743
|
* account.</p>
|
|
745
744
|
* <p>Your input here replaces the current set of data types that are shared.</p>
|
|
745
|
+
* @public
|
|
746
746
|
*/
|
|
747
747
|
ResourceTypes: ResourceType[] | undefined;
|
|
748
748
|
}
|
|
@@ -751,38 +751,38 @@ export interface UpdateLinkInput {
|
|
|
751
751
|
*/
|
|
752
752
|
export interface UpdateLinkOutput {
|
|
753
753
|
/**
|
|
754
|
-
* @public
|
|
755
754
|
* <p>The ARN of the link that you have updated.</p>
|
|
755
|
+
* @public
|
|
756
756
|
*/
|
|
757
757
|
Arn?: string;
|
|
758
758
|
/**
|
|
759
|
-
* @public
|
|
760
759
|
* <p>The random ID string that Amazon Web Services generated as part of the sink ARN.</p>
|
|
760
|
+
* @public
|
|
761
761
|
*/
|
|
762
762
|
Id?: string;
|
|
763
763
|
/**
|
|
764
|
-
* @public
|
|
765
764
|
* <p>The label assigned to this link, with the variables resolved to their actual values.</p>
|
|
765
|
+
* @public
|
|
766
766
|
*/
|
|
767
767
|
Label?: string;
|
|
768
768
|
/**
|
|
769
|
-
* @public
|
|
770
769
|
* <p>The exact label template that was specified when the link was created, with the template variables not resolved.</p>
|
|
770
|
+
* @public
|
|
771
771
|
*/
|
|
772
772
|
LabelTemplate?: string;
|
|
773
773
|
/**
|
|
774
|
-
* @public
|
|
775
774
|
* <p>The resource types now supported by this link.</p>
|
|
775
|
+
* @public
|
|
776
776
|
*/
|
|
777
777
|
ResourceTypes?: string[];
|
|
778
778
|
/**
|
|
779
|
-
* @public
|
|
780
779
|
* <p>The ARN of the sink that is used for this link.</p>
|
|
780
|
+
* @public
|
|
781
781
|
*/
|
|
782
782
|
SinkArn?: string;
|
|
783
783
|
/**
|
|
784
|
-
* @public
|
|
785
784
|
* <p>The tags assigned to the link.</p>
|
|
785
|
+
* @public
|
|
786
786
|
*/
|
|
787
787
|
Tags?: Record<string, string>;
|
|
788
788
|
}
|