@aws-sdk/client-oam 3.556.0 → 3.564.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-cjs/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -0
- package/dist-types/OAM.d.ts +9 -9
- package/dist-types/OAMClient.d.ts +9 -9
- package/dist-types/commands/CreateLinkCommand.d.ts +24 -6
- package/dist-types/commands/CreateSinkCommand.d.ts +5 -5
- package/dist-types/commands/DeleteLinkCommand.d.ts +1 -1
- package/dist-types/commands/GetLinkCommand.d.ts +8 -0
- package/dist-types/commands/GetSinkPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListLinksCommand.d.ts +1 -1
- package/dist-types/commands/PutSinkPolicyCommand.d.ts +4 -4
- package/dist-types/commands/TagResourceCommand.d.ts +9 -9
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateLinkCommand.d.ts +20 -2
- package/dist-types/index.d.ts +9 -9
- package/dist-types/models/models_0.d.ts +197 -25
- package/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/package.json +2 -3
package/dist-cjs/index.js
CHANGED
|
@@ -394,6 +394,7 @@ var se_CreateLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
394
394
|
body = JSON.stringify(
|
|
395
395
|
(0, import_smithy_client.take)(input, {
|
|
396
396
|
LabelTemplate: [],
|
|
397
|
+
LinkConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
397
398
|
ResourceTypes: (_) => (0, import_smithy_client._json)(_),
|
|
398
399
|
SinkIdentifier: [],
|
|
399
400
|
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
@@ -608,6 +609,7 @@ var se_UpdateLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
608
609
|
body = JSON.stringify(
|
|
609
610
|
(0, import_smithy_client.take)(input, {
|
|
610
611
|
Identifier: [],
|
|
612
|
+
LinkConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
611
613
|
ResourceTypes: (_) => (0, import_smithy_client._json)(_)
|
|
612
614
|
})
|
|
613
615
|
);
|
|
@@ -627,6 +629,7 @@ var de_CreateLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
627
629
|
Id: import_smithy_client.expectString,
|
|
628
630
|
Label: import_smithy_client.expectString,
|
|
629
631
|
LabelTemplate: import_smithy_client.expectString,
|
|
632
|
+
LinkConfiguration: import_smithy_client._json,
|
|
630
633
|
ResourceTypes: import_smithy_client._json,
|
|
631
634
|
SinkArn: import_smithy_client.expectString,
|
|
632
635
|
Tags: import_smithy_client._json
|
|
@@ -684,6 +687,7 @@ var de_GetLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
684
687
|
Id: import_smithy_client.expectString,
|
|
685
688
|
Label: import_smithy_client.expectString,
|
|
686
689
|
LabelTemplate: import_smithy_client.expectString,
|
|
690
|
+
LinkConfiguration: import_smithy_client._json,
|
|
687
691
|
ResourceTypes: import_smithy_client._json,
|
|
688
692
|
SinkArn: import_smithy_client.expectString,
|
|
689
693
|
Tags: import_smithy_client._json
|
|
@@ -832,6 +836,7 @@ var de_UpdateLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
832
836
|
Id: import_smithy_client.expectString,
|
|
833
837
|
Label: import_smithy_client.expectString,
|
|
834
838
|
LabelTemplate: import_smithy_client.expectString,
|
|
839
|
+
LinkConfiguration: import_smithy_client._json,
|
|
835
840
|
ResourceTypes: import_smithy_client._json,
|
|
836
841
|
SinkArn: import_smithy_client.expectString,
|
|
837
842
|
Tags: import_smithy_client._json
|
|
@@ -12,6 +12,7 @@ export const se_CreateLinkCommand = async (input, context) => {
|
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
14
|
LabelTemplate: [],
|
|
15
|
+
LinkConfiguration: (_) => _json(_),
|
|
15
16
|
ResourceTypes: (_) => _json(_),
|
|
16
17
|
SinkIdentifier: [],
|
|
17
18
|
Tags: (_) => _json(_),
|
|
@@ -202,6 +203,7 @@ export const se_UpdateLinkCommand = async (input, context) => {
|
|
|
202
203
|
let body;
|
|
203
204
|
body = JSON.stringify(take(input, {
|
|
204
205
|
Identifier: [],
|
|
206
|
+
LinkConfiguration: (_) => _json(_),
|
|
205
207
|
ResourceTypes: (_) => _json(_),
|
|
206
208
|
}));
|
|
207
209
|
b.m("POST").h(headers).b(body);
|
|
@@ -220,6 +222,7 @@ export const de_CreateLinkCommand = async (output, context) => {
|
|
|
220
222
|
Id: __expectString,
|
|
221
223
|
Label: __expectString,
|
|
222
224
|
LabelTemplate: __expectString,
|
|
225
|
+
LinkConfiguration: _json,
|
|
223
226
|
ResourceTypes: _json,
|
|
224
227
|
SinkArn: __expectString,
|
|
225
228
|
Tags: _json,
|
|
@@ -277,6 +280,7 @@ export const de_GetLinkCommand = async (output, context) => {
|
|
|
277
280
|
Id: __expectString,
|
|
278
281
|
Label: __expectString,
|
|
279
282
|
LabelTemplate: __expectString,
|
|
283
|
+
LinkConfiguration: _json,
|
|
280
284
|
ResourceTypes: _json,
|
|
281
285
|
SinkArn: __expectString,
|
|
282
286
|
Tags: _json,
|
|
@@ -425,6 +429,7 @@ export const de_UpdateLinkCommand = async (output, context) => {
|
|
|
425
429
|
Id: __expectString,
|
|
426
430
|
Label: __expectString,
|
|
427
431
|
LabelTemplate: __expectString,
|
|
432
|
+
LinkConfiguration: _json,
|
|
428
433
|
ResourceTypes: _json,
|
|
429
434
|
SinkArn: __expectString,
|
|
430
435
|
Tags: _json,
|
package/dist-types/OAM.d.ts
CHANGED
|
@@ -111,16 +111,16 @@ export interface OAM {
|
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
113
|
* <p>Use Amazon CloudWatch Observability Access Manager to create and manage links between source accounts and
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
114
|
+
* monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
115
|
+
* CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
116
|
+
* multiple accounts within a Region. Seamlessly search, visualize, and analyze your metrics,
|
|
117
|
+
* logs, traces, and Application Insights applications in any of the linked accounts without account boundaries.</p>
|
|
118
118
|
* <p>Set up one or more Amazon Web Services accounts as <i>monitoring
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
119
|
+
* accounts</i> and link them with multiple <i>source accounts</i>. A
|
|
120
|
+
* monitoring account is a central Amazon Web Services account that can view and interact with
|
|
121
|
+
* observability data generated from source accounts. A source account is an individual Amazon Web Services account that generates observability data for the resources that reside in it.
|
|
122
|
+
* Source accounts share their observability data with the monitoring account. The shared
|
|
123
|
+
* observability data can include metrics in Amazon CloudWatch, logs in Amazon CloudWatch Logs, traces in X-Ray, and applications in Amazon CloudWatch Application Insights.</p>
|
|
124
124
|
* @public
|
|
125
125
|
*/
|
|
126
126
|
export declare class OAM extends OAMClient implements OAM {
|
|
@@ -167,16 +167,16 @@ export interface OAMClientResolvedConfig extends OAMClientResolvedConfigType {
|
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
169
|
* <p>Use Amazon CloudWatch Observability Access Manager to create and manage links between source accounts and
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
170
|
+
* monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
171
|
+
* CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
172
|
+
* multiple accounts within a Region. Seamlessly search, visualize, and analyze your metrics,
|
|
173
|
+
* logs, traces, and Application Insights applications in any of the linked accounts without account boundaries.</p>
|
|
174
174
|
* <p>Set up one or more Amazon Web Services accounts as <i>monitoring
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
175
|
+
* accounts</i> and link them with multiple <i>source accounts</i>. A
|
|
176
|
+
* monitoring account is a central Amazon Web Services account that can view and interact with
|
|
177
|
+
* observability data generated from source accounts. A source account is an individual Amazon Web Services account that generates observability data for the resources that reside in it.
|
|
178
|
+
* Source accounts share their observability data with the monitoring account. The shared
|
|
179
|
+
* observability data can include metrics in Amazon CloudWatch, logs in Amazon CloudWatch Logs, traces in X-Ray, and applications in Amazon CloudWatch Application Insights.</p>
|
|
180
180
|
* @public
|
|
181
181
|
*/
|
|
182
182
|
export declare class OAMClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OAMClientResolvedConfig> {
|
|
@@ -26,14 +26,16 @@ declare const CreateLinkCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Creates a link between a source account and a sink that you have created in a monitoring account
|
|
29
|
+
* <p>Creates a link between a source account and a sink that you have created in a monitoring account. After the link is created,
|
|
30
|
+
* data is sent from the source account to the monitoring account. When you create a link, you can optionally specify filters
|
|
31
|
+
* that specify which metric namespaces and which log groups are shared from the source account to the monitoring account.</p>
|
|
30
32
|
* <p>Before you create a link, you must create a sink in the monitoring account and create a
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
33
|
+
* sink policy in that account. The sink policy must permit the source account to link to it. You
|
|
34
|
+
* can grant permission to source accounts by granting permission to an entire organization or to
|
|
35
|
+
* individual accounts.</p>
|
|
34
36
|
* <p>For more information, see
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
+
* <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_CreateSink.html">CreateSink</a> and
|
|
38
|
+
* <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_PutSinkPolicy.html">PutSinkPolicy</a>.</p>
|
|
37
39
|
* <p>Each monitoring account can be linked to as many as 100,000 source accounts.</p>
|
|
38
40
|
* <p>Each source account can be linked to as many as five monitoring accounts.</p>
|
|
39
41
|
* @example
|
|
@@ -51,6 +53,14 @@ declare const CreateLinkCommand_base: {
|
|
|
51
53
|
* Tags: { // TagMapInput
|
|
52
54
|
* "<keys>": "STRING_VALUE",
|
|
53
55
|
* },
|
|
56
|
+
* LinkConfiguration: { // LinkConfiguration
|
|
57
|
+
* LogGroupConfiguration: { // LogGroupConfiguration
|
|
58
|
+
* Filter: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* MetricConfiguration: { // MetricConfiguration
|
|
61
|
+
* Filter: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
54
64
|
* };
|
|
55
65
|
* const command = new CreateLinkCommand(input);
|
|
56
66
|
* const response = await client.send(command);
|
|
@@ -66,6 +76,14 @@ declare const CreateLinkCommand_base: {
|
|
|
66
76
|
* // Tags: { // TagMapOutput
|
|
67
77
|
* // "<keys>": "STRING_VALUE",
|
|
68
78
|
* // },
|
|
79
|
+
* // LinkConfiguration: { // LinkConfiguration
|
|
80
|
+
* // LogGroupConfiguration: { // LogGroupConfiguration
|
|
81
|
+
* // Filter: "STRING_VALUE", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // MetricConfiguration: { // MetricConfiguration
|
|
84
|
+
* // Filter: "STRING_VALUE", // required
|
|
85
|
+
* // },
|
|
86
|
+
* // },
|
|
69
87
|
* // };
|
|
70
88
|
*
|
|
71
89
|
* ```
|
|
@@ -27,12 +27,12 @@ declare const CreateSinkCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Use this to create a <i>sink</i> in the current account, so that it can be
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that
|
|
31
|
+
* represents an attachment point in a monitoring account. Source accounts can link to the sink
|
|
32
|
+
* to send observability data.</p>
|
|
33
33
|
* <p>After you create a sink, you must create a sink policy that allows source accounts to attach to it.
|
|
34
|
-
*
|
|
35
|
-
* <p>Each account can contain one sink. If you delete a sink, you can then create a new one in that
|
|
34
|
+
* For more information, see <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_PutSinkPolicy.html">PutSinkPolicy</a>.</p>
|
|
35
|
+
* <p>Each account can contain one sink per Region. If you delete a sink, you can then create a new one in that Region.</p>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
38
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const DeleteLinkCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Deletes a link between a monitoring account sink and a source account. You must run this operation
|
|
30
|
-
*
|
|
30
|
+
* in the source account.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -51,6 +51,14 @@ declare const GetLinkCommand_base: {
|
|
|
51
51
|
* // Tags: { // TagMapOutput
|
|
52
52
|
* // "<keys>": "STRING_VALUE",
|
|
53
53
|
* // },
|
|
54
|
+
* // LinkConfiguration: { // LinkConfiguration
|
|
55
|
+
* // LogGroupConfiguration: { // LogGroupConfiguration
|
|
56
|
+
* // Filter: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // MetricConfiguration: { // MetricConfiguration
|
|
59
|
+
* // Filter: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
54
62
|
* // };
|
|
55
63
|
*
|
|
56
64
|
* ```
|
|
@@ -27,7 +27,7 @@ declare const GetSinkPolicyCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Returns the current sink policy attached to this sink. The sink policy specifies what
|
|
30
|
-
*
|
|
30
|
+
* accounts can attach to this sink as source accounts, and what types of data they can share.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const ListLinksCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Use this operation in a source account to return a list of links to monitoring account sinks that
|
|
30
|
-
*
|
|
30
|
+
* this source account has.</p>
|
|
31
31
|
* <p>To find a list of links for one monitoring account sink, use <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListAttachedLinks.html">ListAttachedLinks</a> from within the monitoring account.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,15 +27,15 @@ declare const PutSinkPolicyCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Creates or updates the resource policy that grants permissions to source
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* accounts to link to the monitoring account sink. When you create a sink policy, you can grant
|
|
31
|
+
* permissions to all accounts in an organization or to individual accounts.</p>
|
|
32
32
|
* <p>You can also use a sink policy to limit the types of data that is shared. The three types that
|
|
33
|
-
*
|
|
33
|
+
* you can allow or deny are:</p>
|
|
34
34
|
* <ul>
|
|
35
35
|
* <li>
|
|
36
36
|
* <p>
|
|
37
37
|
* <b>Metrics</b> - Specify with
|
|
38
|
-
*
|
|
38
|
+
* <code>AWS::CloudWatch::Metric</code>
|
|
39
39
|
* </p>
|
|
40
40
|
* </li>
|
|
41
41
|
* <li>
|
|
@@ -27,21 +27,21 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Assigns one or more tags (key-value pairs) to the specified resource.
|
|
30
|
-
*
|
|
30
|
+
* Both sinks and links can be tagged. </p>
|
|
31
31
|
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* permissions by granting a user
|
|
33
|
+
* permission to access or change only resources with certain tag values.</p>
|
|
34
34
|
* <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.</p>
|
|
35
35
|
* <p>You can use the <code>TagResource</code> action with a resource that already has tags. If you specify a new tag key for the alarm,
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* this tag is appended to the list of tags associated
|
|
37
|
+
* with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces
|
|
38
|
+
* the previous value for that tag.</p>
|
|
39
39
|
* <p>You can associate as many as 50 tags with a resource.</p>
|
|
40
40
|
* <important>
|
|
41
41
|
* <p>Unlike tagging permissions in other Amazon Web Services services, to tag or untag links and
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
42
|
+
* sinks you must have the <code>oam:ResourceTag</code> permission. The
|
|
43
|
+
* <code>iam:ResourceTag</code> permission does not allow you to tag and untag links and
|
|
44
|
+
* sinks.</p>
|
|
45
45
|
* </important>
|
|
46
46
|
* @example
|
|
47
47
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -29,9 +29,9 @@ declare const UntagResourceCommand_base: {
|
|
|
29
29
|
* <p>Removes one or more tags from the specified resource.</p>
|
|
30
30
|
* <important>
|
|
31
31
|
* <p>Unlike tagging permissions in other Amazon Web Services services, to tag or untag links and
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
32
|
+
* sinks you must have the <code>oam:ResourceTag</code> permission. The
|
|
33
|
+
* <code>iam:TagResource</code> permission does not allow you to tag and untag links and
|
|
34
|
+
* sinks.</p>
|
|
35
35
|
* </important>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,9 +27,11 @@ declare const UpdateLinkCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Use this operation to change what types of data are shared from a source account to its linked
|
|
30
|
-
*
|
|
30
|
+
* monitoring account sink. You can't change the sink or change the monitoring account with this operation.</p>
|
|
31
|
+
* <p>When you update a link, you can optionally specify filters
|
|
32
|
+
* that specify which metric namespaces and which log groups are shared from the source account to the monitoring account.</p>
|
|
31
33
|
* <p>To update the list of tags associated with the sink, use
|
|
32
|
-
*
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_TagResource.html">TagResource</a>.</p>
|
|
33
35
|
* @example
|
|
34
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
37
|
* ```javascript
|
|
@@ -41,6 +43,14 @@ declare const UpdateLinkCommand_base: {
|
|
|
41
43
|
* ResourceTypes: [ // ResourceTypesInput // required
|
|
42
44
|
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application" || "AWS::InternetMonitor::Monitor",
|
|
43
45
|
* ],
|
|
46
|
+
* LinkConfiguration: { // LinkConfiguration
|
|
47
|
+
* LogGroupConfiguration: { // LogGroupConfiguration
|
|
48
|
+
* Filter: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* MetricConfiguration: { // MetricConfiguration
|
|
51
|
+
* Filter: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
44
54
|
* };
|
|
45
55
|
* const command = new UpdateLinkCommand(input);
|
|
46
56
|
* const response = await client.send(command);
|
|
@@ -56,6 +66,14 @@ declare const UpdateLinkCommand_base: {
|
|
|
56
66
|
* // Tags: { // TagMapOutput
|
|
57
67
|
* // "<keys>": "STRING_VALUE",
|
|
58
68
|
* // },
|
|
69
|
+
* // LinkConfiguration: { // LinkConfiguration
|
|
70
|
+
* // LogGroupConfiguration: { // LogGroupConfiguration
|
|
71
|
+
* // Filter: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // MetricConfiguration: { // MetricConfiguration
|
|
74
|
+
* // Filter: "STRING_VALUE", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
59
77
|
* // };
|
|
60
78
|
*
|
|
61
79
|
* ```
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* <p>Use Amazon CloudWatch Observability Access Manager to create and manage links between source accounts and
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
3
|
+
* monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
4
|
+
* CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
5
|
+
* multiple accounts within a Region. Seamlessly search, visualize, and analyze your metrics,
|
|
6
|
+
* logs, traces, and Application Insights applications in any of the linked accounts without account boundaries.</p>
|
|
7
7
|
* <p>Set up one or more Amazon Web Services accounts as <i>monitoring
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
8
|
+
* accounts</i> and link them with multiple <i>source accounts</i>. A
|
|
9
|
+
* monitoring account is a central Amazon Web Services account that can view and interact with
|
|
10
|
+
* observability data generated from source accounts. A source account is an individual Amazon Web Services account that generates observability data for the resources that reside in it.
|
|
11
|
+
* Source accounts share their observability data with the monitoring account. The shared
|
|
12
|
+
* observability data can include metrics in Amazon CloudWatch, logs in Amazon CloudWatch Logs, traces in X-Ray, and applications in Amazon CloudWatch Application Insights.</p>
|
|
13
13
|
*
|
|
14
14
|
* @packageDocumentation
|
|
15
15
|
*/
|
|
@@ -18,6 +18,148 @@ export declare class ConflictException extends __BaseException {
|
|
|
18
18
|
*/
|
|
19
19
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* <p>This structure contains the <code>Filter</code> parameter which you can use to specify which log groups are to
|
|
23
|
+
* share log events from this source account to the monitoring account.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export interface LogGroupConfiguration {
|
|
27
|
+
/**
|
|
28
|
+
* <p>Use this field to specify which log groups are to share their log events with the monitoring account. Use the term <code>LogGroupName</code> and one or
|
|
29
|
+
* more of the following operands. Use single quotation marks (') around log group names. The matching of log group names is case sensitive.
|
|
30
|
+
* Each filter has a limit of five conditional operands. Conditional operands are <code>AND</code> and <code>OR</code>.</p>
|
|
31
|
+
* <ul>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>
|
|
34
|
+
* <code>=</code> and <code>!=</code>
|
|
35
|
+
* </p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* <code>AND</code>
|
|
40
|
+
* </p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>OR</code>
|
|
45
|
+
* </p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <code>LIKE</code> and <code>NOT LIKE</code>. These can be used only as prefix searches. Include a <code>%</code> at the end
|
|
50
|
+
* of the string that you want to search for and include.</p>
|
|
51
|
+
* </li>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>
|
|
54
|
+
* <code>IN</code> and <code>NOT IN</code>, using parentheses <code>( )</code>
|
|
55
|
+
* </p>
|
|
56
|
+
* </li>
|
|
57
|
+
* </ul>
|
|
58
|
+
* <p>Examples:</p>
|
|
59
|
+
* <ul>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p>
|
|
62
|
+
* <code>LogGroupName IN ('This-Log-Group', 'Other-Log-Group')</code> includes only the log groups with names <code>This-Log-Group</code> and
|
|
63
|
+
* <code>Other-Log-Group</code>.</p>
|
|
64
|
+
* </li>
|
|
65
|
+
* <li>
|
|
66
|
+
* <p>
|
|
67
|
+
* <code>LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')</code> includes all log groups except the log groups with names <code>Private-Log-Group</code> and
|
|
68
|
+
* <code>Private-Log-Group-2</code>.</p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>
|
|
72
|
+
* <code>LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'</code> includes all log groups that have names that start with <code>aws/lambda/</code> or
|
|
73
|
+
* <code>AWSLogs</code>.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* </ul>
|
|
76
|
+
* <note>
|
|
77
|
+
* <p>If you are updating a link that uses filters, you can specify <code>*</code> as the only value for the
|
|
78
|
+
* <code>filter</code> parameter to delete the filter and share all log groups with the monitoring account.</p>
|
|
79
|
+
* </note>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
Filter: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* <p>This structure contains the <code>Filter</code> parameter which you can use to specify which metric namespaces are to
|
|
86
|
+
* be shared from this source account to the monitoring account.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export interface MetricConfiguration {
|
|
90
|
+
/**
|
|
91
|
+
* <p>Use this field to specify which metrics are to be shared with the monitoring account. Use the term <code>Namespace</code> and one or
|
|
92
|
+
* more of the following operands. Use single quotation marks (') around namespace names. The matching of namespace names is case sensitive.
|
|
93
|
+
* Each filter has a limit of five conditional operands. Conditional operands are <code>AND</code> and <code>OR</code>.</p>
|
|
94
|
+
* <ul>
|
|
95
|
+
* <li>
|
|
96
|
+
* <p>
|
|
97
|
+
* <code>=</code> and <code>!=</code>
|
|
98
|
+
* </p>
|
|
99
|
+
* </li>
|
|
100
|
+
* <li>
|
|
101
|
+
* <p>
|
|
102
|
+
* <code>AND</code>
|
|
103
|
+
* </p>
|
|
104
|
+
* </li>
|
|
105
|
+
* <li>
|
|
106
|
+
* <p>
|
|
107
|
+
* <code>OR</code>
|
|
108
|
+
* </p>
|
|
109
|
+
* </li>
|
|
110
|
+
* <li>
|
|
111
|
+
* <p>
|
|
112
|
+
* <code>LIKE</code> and <code>NOT LIKE</code>. These can be used only as prefix searches. Include a <code>%</code> at the end
|
|
113
|
+
* of the string that you want to search for and include.</p>
|
|
114
|
+
* </li>
|
|
115
|
+
* <li>
|
|
116
|
+
* <p>
|
|
117
|
+
* <code>IN</code> and <code>NOT IN</code>, using parentheses <code>( )</code>
|
|
118
|
+
* </p>
|
|
119
|
+
* </li>
|
|
120
|
+
* </ul>
|
|
121
|
+
* <p>Examples:</p>
|
|
122
|
+
* <ul>
|
|
123
|
+
* <li>
|
|
124
|
+
* <p>
|
|
125
|
+
* <code>Namespace NOT LIKE 'AWS/%'</code> includes only namespaces that don't start with <code>AWS/</code>, such as custom namespaces.</p>
|
|
126
|
+
* </li>
|
|
127
|
+
* <li>
|
|
128
|
+
* <p>
|
|
129
|
+
* <code>Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')</code> includes only the metrics in the EC2, Elastic Load Balancing, and Amazon S3 namespaces. </p>
|
|
130
|
+
* </li>
|
|
131
|
+
* <li>
|
|
132
|
+
* <p>
|
|
133
|
+
* <code>Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'</code> includes only the EC2 namespace and your custom namespaces.</p>
|
|
134
|
+
* </li>
|
|
135
|
+
* </ul>
|
|
136
|
+
* <note>
|
|
137
|
+
* <p>If you are updating a link that uses filters, you can specify <code>*</code> as the only value for the
|
|
138
|
+
* <code>filter</code> parameter to delete the filter and share all metric namespaces with the monitoring account.</p>
|
|
139
|
+
* </note>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
Filter: string | undefined;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* <p>Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from
|
|
146
|
+
* the source account to the monitoring account.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export interface LinkConfiguration {
|
|
150
|
+
/**
|
|
151
|
+
* <p>Use this structure to filter which log groups are to send log events from
|
|
152
|
+
* the source account to the monitoring account.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
LogGroupConfiguration?: LogGroupConfiguration;
|
|
156
|
+
/**
|
|
157
|
+
* <p>Use this structure to filter which metric namespaces are to be shared from
|
|
158
|
+
* the source account to the monitoring account.</p>
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
MetricConfiguration?: MetricConfiguration;
|
|
162
|
+
}
|
|
21
163
|
/**
|
|
22
164
|
* @public
|
|
23
165
|
* @enum
|
|
@@ -39,7 +181,7 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
|
39
181
|
export interface CreateLinkInput {
|
|
40
182
|
/**
|
|
41
183
|
* <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
|
-
*
|
|
184
|
+
* account.</p>
|
|
43
185
|
* <p>You can use a custom label or use the following variables:</p>
|
|
44
186
|
* <ul>
|
|
45
187
|
* <li>
|
|
@@ -60,27 +202,33 @@ export interface CreateLinkInput {
|
|
|
60
202
|
LabelTemplate: string | undefined;
|
|
61
203
|
/**
|
|
62
204
|
* <p>An array of strings that define which types of data that the source account shares with the monitoring
|
|
63
|
-
*
|
|
205
|
+
* account.</p>
|
|
64
206
|
* @public
|
|
65
207
|
*/
|
|
66
208
|
ResourceTypes: ResourceType[] | undefined;
|
|
67
209
|
/**
|
|
68
210
|
* <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
211
|
* <p>For more information about sinks, see
|
|
70
|
-
*
|
|
212
|
+
* <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_CreateSink.html">CreateSink</a>.</p>
|
|
71
213
|
* @public
|
|
72
214
|
*/
|
|
73
215
|
SinkIdentifier: string | undefined;
|
|
74
216
|
/**
|
|
75
217
|
* <p>Assigns one or more tags (key-value pairs) to the link. </p>
|
|
76
218
|
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
77
|
-
*
|
|
78
|
-
*
|
|
219
|
+
* permissions by granting a user
|
|
220
|
+
* permission to access or change only resources with certain tag values.</p>
|
|
79
221
|
* <p>For more information about using tags to control access, see
|
|
80
|
-
*
|
|
222
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
|
|
81
223
|
* @public
|
|
82
224
|
*/
|
|
83
225
|
Tags?: Record<string, string>;
|
|
226
|
+
/**
|
|
227
|
+
* <p>Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from
|
|
228
|
+
* the source account to the monitoring account.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
LinkConfiguration?: LinkConfiguration;
|
|
84
232
|
}
|
|
85
233
|
/**
|
|
86
234
|
* @public
|
|
@@ -98,7 +246,7 @@ export interface CreateLinkOutput {
|
|
|
98
246
|
Id?: string;
|
|
99
247
|
/**
|
|
100
248
|
* <p>The label that you assigned to this link. If the <code>labelTemplate</code> includes variables,
|
|
101
|
-
*
|
|
249
|
+
* this field displays the variables resolved to their actual values.</p>
|
|
102
250
|
* @public
|
|
103
251
|
*/
|
|
104
252
|
Label?: string;
|
|
@@ -122,6 +270,12 @@ export interface CreateLinkOutput {
|
|
|
122
270
|
* @public
|
|
123
271
|
*/
|
|
124
272
|
Tags?: Record<string, string>;
|
|
273
|
+
/**
|
|
274
|
+
* <p>This structure includes filters that specify which metric namespaces and which log groups are shared from
|
|
275
|
+
* the source account to the monitoring account.</p>
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
LinkConfiguration?: LinkConfiguration;
|
|
125
279
|
}
|
|
126
280
|
/**
|
|
127
281
|
* <p>Unexpected error while processing the request. Retry the request.</p>
|
|
@@ -205,10 +359,10 @@ export interface CreateSinkInput {
|
|
|
205
359
|
/**
|
|
206
360
|
* <p>Assigns one or more tags (key-value pairs) to the link. </p>
|
|
207
361
|
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
208
|
-
*
|
|
209
|
-
*
|
|
362
|
+
* permissions by granting a user
|
|
363
|
+
* permission to access or change only resources with certain tag values.</p>
|
|
210
364
|
* <p>For more information about using tags to control access, see
|
|
211
|
-
*
|
|
365
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Controlling access to Amazon Web Services resources using tags</a>.</p>
|
|
212
366
|
* @public
|
|
213
367
|
*/
|
|
214
368
|
Tags?: Record<string, string>;
|
|
@@ -335,6 +489,12 @@ export interface GetLinkOutput {
|
|
|
335
489
|
* @public
|
|
336
490
|
*/
|
|
337
491
|
Tags?: Record<string, string>;
|
|
492
|
+
/**
|
|
493
|
+
* <p>This structure includes filters that specify which metric namespaces and which log groups are shared from
|
|
494
|
+
* the source account to the monitoring account.</p>
|
|
495
|
+
* @public
|
|
496
|
+
*/
|
|
497
|
+
LinkConfiguration?: LinkConfiguration;
|
|
338
498
|
}
|
|
339
499
|
/**
|
|
340
500
|
* @public
|
|
@@ -423,7 +583,7 @@ export interface ListAttachedLinksInput {
|
|
|
423
583
|
}
|
|
424
584
|
/**
|
|
425
585
|
* <p>A structure that contains information about one link attached to this monitoring
|
|
426
|
-
*
|
|
586
|
+
* account sink.</p>
|
|
427
587
|
* @public
|
|
428
588
|
*/
|
|
429
589
|
export interface ListAttachedLinksItem {
|
|
@@ -577,20 +737,20 @@ export interface ListTagsForResourceInput {
|
|
|
577
737
|
/**
|
|
578
738
|
* <p>The ARN of the resource that you want to view tags for.</p>
|
|
579
739
|
* <p>The ARN format of a sink is
|
|
580
|
-
*
|
|
740
|
+
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
|
|
581
741
|
* </code>
|
|
582
742
|
* </p>
|
|
583
743
|
* <p>The ARN format of a link is
|
|
584
|
-
*
|
|
744
|
+
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:link/<i>link-id</i>
|
|
585
745
|
* </code>
|
|
586
746
|
* </p>
|
|
587
747
|
* <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
|
|
588
|
-
*
|
|
748
|
+
* resources and operations</a>.</p>
|
|
589
749
|
* <important>
|
|
590
750
|
* <p>Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
*
|
|
751
|
+
* for links or sinks you must have the <code>oam:RequestTag</code> permission. The
|
|
752
|
+
* <code>aws:ReguestTag</code> permission does not allow you to tag and untag links and
|
|
753
|
+
* sinks.</p>
|
|
594
754
|
* </important>
|
|
595
755
|
* @public
|
|
596
756
|
*/
|
|
@@ -630,7 +790,7 @@ export interface PutSinkPolicyInput {
|
|
|
630
790
|
SinkIdentifier: string | undefined;
|
|
631
791
|
/**
|
|
632
792
|
* <p>The JSON policy to use. If you are updating an existing policy, the entire existing policy is
|
|
633
|
-
*
|
|
793
|
+
* replaced by what you specify here.</p>
|
|
634
794
|
* <p>The policy must be in JSON string format with quotation marks escaped and no newlines.</p>
|
|
635
795
|
* <p>For examples of different types of policies, see the <b>Examples</b> section on this page.</p>
|
|
636
796
|
* @public
|
|
@@ -664,15 +824,15 @@ export interface TagResourceInput {
|
|
|
664
824
|
/**
|
|
665
825
|
* <p>The ARN of the resource that you're adding tags to.</p>
|
|
666
826
|
* <p>The ARN format of a sink is
|
|
667
|
-
*
|
|
827
|
+
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
|
|
668
828
|
* </code>
|
|
669
829
|
* </p>
|
|
670
830
|
* <p>The ARN format of a link is
|
|
671
|
-
*
|
|
831
|
+
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:link/<i>link-id</i>
|
|
672
832
|
* </code>
|
|
673
833
|
* </p>
|
|
674
834
|
* <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
|
-
*
|
|
835
|
+
* resources and operations</a>.</p>
|
|
676
836
|
* @public
|
|
677
837
|
*/
|
|
678
838
|
ResourceArn: string | undefined;
|
|
@@ -707,15 +867,15 @@ export interface UntagResourceInput {
|
|
|
707
867
|
/**
|
|
708
868
|
* <p>The ARN of the resource that you're removing tags from.</p>
|
|
709
869
|
* <p>The ARN format of a sink is
|
|
710
|
-
*
|
|
870
|
+
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
|
|
711
871
|
* </code>
|
|
712
872
|
* </p>
|
|
713
873
|
* <p>The ARN format of a link is
|
|
714
|
-
*
|
|
874
|
+
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:link/<i>link-id</i>
|
|
715
875
|
* </code>
|
|
716
876
|
* </p>
|
|
717
877
|
* <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
|
-
*
|
|
878
|
+
* resources and operations</a>.</p>
|
|
719
879
|
* @public
|
|
720
880
|
*/
|
|
721
881
|
ResourceArn: string | undefined;
|
|
@@ -741,11 +901,17 @@ export interface UpdateLinkInput {
|
|
|
741
901
|
Identifier: string | undefined;
|
|
742
902
|
/**
|
|
743
903
|
* <p>An array of strings that define which types of data that the source account will send to the monitoring
|
|
744
|
-
*
|
|
904
|
+
* account.</p>
|
|
745
905
|
* <p>Your input here replaces the current set of data types that are shared.</p>
|
|
746
906
|
* @public
|
|
747
907
|
*/
|
|
748
908
|
ResourceTypes: ResourceType[] | undefined;
|
|
909
|
+
/**
|
|
910
|
+
* <p>Use this structure to filter which metric namespaces and which log groups are to be shared from
|
|
911
|
+
* the source account to the monitoring account.</p>
|
|
912
|
+
* @public
|
|
913
|
+
*/
|
|
914
|
+
LinkConfiguration?: LinkConfiguration;
|
|
749
915
|
}
|
|
750
916
|
/**
|
|
751
917
|
* @public
|
|
@@ -786,4 +952,10 @@ export interface UpdateLinkOutput {
|
|
|
786
952
|
* @public
|
|
787
953
|
*/
|
|
788
954
|
Tags?: Record<string, string>;
|
|
955
|
+
/**
|
|
956
|
+
* <p>This structure includes filters that specify which metric namespaces and which log groups are shared from
|
|
957
|
+
* the source account to the monitoring account.</p>
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
960
|
+
LinkConfiguration?: LinkConfiguration;
|
|
789
961
|
}
|
|
@@ -7,6 +7,16 @@ export declare class ConflictException extends __BaseException {
|
|
|
7
7
|
amznErrorType?: string;
|
|
8
8
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
9
9
|
}
|
|
10
|
+
export interface LogGroupConfiguration {
|
|
11
|
+
Filter: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface MetricConfiguration {
|
|
14
|
+
Filter: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface LinkConfiguration {
|
|
17
|
+
LogGroupConfiguration?: LogGroupConfiguration;
|
|
18
|
+
MetricConfiguration?: MetricConfiguration;
|
|
19
|
+
}
|
|
10
20
|
export declare const ResourceType: {
|
|
11
21
|
readonly AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application";
|
|
12
22
|
readonly AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric";
|
|
@@ -20,6 +30,7 @@ export interface CreateLinkInput {
|
|
|
20
30
|
ResourceTypes: ResourceType[] | undefined;
|
|
21
31
|
SinkIdentifier: string | undefined;
|
|
22
32
|
Tags?: Record<string, string>;
|
|
33
|
+
LinkConfiguration?: LinkConfiguration;
|
|
23
34
|
}
|
|
24
35
|
export interface CreateLinkOutput {
|
|
25
36
|
Arn?: string;
|
|
@@ -29,6 +40,7 @@ export interface CreateLinkOutput {
|
|
|
29
40
|
ResourceTypes?: string[];
|
|
30
41
|
SinkArn?: string;
|
|
31
42
|
Tags?: Record<string, string>;
|
|
43
|
+
LinkConfiguration?: LinkConfiguration;
|
|
32
44
|
}
|
|
33
45
|
export declare class InternalServiceFault extends __BaseException {
|
|
34
46
|
readonly name: "InternalServiceFault";
|
|
@@ -105,6 +117,7 @@ export interface GetLinkOutput {
|
|
|
105
117
|
ResourceTypes?: string[];
|
|
106
118
|
SinkArn?: string;
|
|
107
119
|
Tags?: Record<string, string>;
|
|
120
|
+
LinkConfiguration?: LinkConfiguration;
|
|
108
121
|
}
|
|
109
122
|
export interface GetSinkInput {
|
|
110
123
|
Identifier: string | undefined;
|
|
@@ -209,6 +222,7 @@ export interface UntagResourceOutput {}
|
|
|
209
222
|
export interface UpdateLinkInput {
|
|
210
223
|
Identifier: string | undefined;
|
|
211
224
|
ResourceTypes: ResourceType[] | undefined;
|
|
225
|
+
LinkConfiguration?: LinkConfiguration;
|
|
212
226
|
}
|
|
213
227
|
export interface UpdateLinkOutput {
|
|
214
228
|
Arn?: string;
|
|
@@ -218,4 +232,5 @@ export interface UpdateLinkOutput {
|
|
|
218
232
|
ResourceTypes?: string[];
|
|
219
233
|
SinkArn?: string;
|
|
220
234
|
Tags?: Record<string, string>;
|
|
235
|
+
LinkConfiguration?: LinkConfiguration;
|
|
221
236
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-oam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Oam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.564.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-oam",
|
|
@@ -20,9 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.556.0",
|
|
24
23
|
"@aws-sdk/core": "3.556.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.564.0",
|
|
26
25
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
26
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
27
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|