@aws-sdk/client-oam 3.421.0 → 3.424.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 +2 -3
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/OAM.d.ts +3 -4
- package/dist-types/OAMClient.d.ts +3 -4
- package/dist-types/commands/CreateLinkCommand.d.ts +5 -5
- package/dist-types/commands/CreateSinkCommand.d.ts +2 -2
- package/dist-types/commands/GetLinkCommand.d.ts +1 -1
- package/dist-types/commands/GetSinkCommand.d.ts +1 -1
- package/dist-types/commands/ListAttachedLinksCommand.d.ts +2 -2
- package/dist-types/commands/ListLinksCommand.d.ts +1 -1
- package/dist-types/commands/PutSinkPolicyCommand.d.ts +8 -3
- package/dist-types/commands/TagResourceCommand.d.ts +5 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLinkCommand.d.ts +2 -2
- package/dist-types/index.d.ts +3 -4
- package/dist-types/models/models_0.d.ts +21 -20
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -10,14 +10,13 @@ AWS SDK for JavaScript OAM Client for Node.js, Browser and React Native.
|
|
|
10
10
|
monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
11
11
|
CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
12
12
|
multiple accounts within a Region. Seamlessly search, visualize, and analyze your metrics,
|
|
13
|
-
logs, and
|
|
14
|
-
|
|
13
|
+
logs, traces, and Application Insights applications in any of the linked accounts without account boundaries.</p>
|
|
15
14
|
<p>Set up one or more Amazon Web Services accounts as <i>monitoring
|
|
16
15
|
accounts</i> and link them with multiple <i>source accounts</i>. A
|
|
17
16
|
monitoring account is a central Amazon Web Services account that can view and interact with
|
|
18
17
|
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.
|
|
19
18
|
Source accounts share their observability data with the monitoring account. The shared
|
|
20
|
-
observability data can include metrics in Amazon CloudWatch, logs in Amazon CloudWatch Logs,
|
|
19
|
+
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>
|
|
21
20
|
|
|
22
21
|
## Installing
|
|
23
22
|
|
|
@@ -18,6 +18,7 @@ class ConflictException extends OAMServiceException_1.OAMServiceException {
|
|
|
18
18
|
}
|
|
19
19
|
exports.ConflictException = ConflictException;
|
|
20
20
|
exports.ResourceType = {
|
|
21
|
+
AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
|
|
21
22
|
AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric",
|
|
22
23
|
AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup",
|
|
23
24
|
AWS_XRAY_TRACE: "AWS::XRay::Trace",
|
|
@@ -14,6 +14,7 @@ export class ConflictException extends __BaseException {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
export const ResourceType = {
|
|
17
|
+
AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
|
|
17
18
|
AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric",
|
|
18
19
|
AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup",
|
|
19
20
|
AWS_XRAY_TRACE: "AWS::XRay::Trace",
|
package/dist-types/OAM.d.ts
CHANGED
|
@@ -113,14 +113,13 @@ export interface OAM {
|
|
|
113
113
|
* monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
114
114
|
* CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
115
115
|
* multiple accounts within a Region. Seamlessly search, visualize, and analyze your metrics,
|
|
116
|
-
* logs, and
|
|
117
|
-
*
|
|
118
|
-
* <p>Set up one or more Amazon Web Services accounts as <i>monitoring
|
|
116
|
+
* logs, traces, and Application Insights applications in any of the linked accounts without account boundaries.</p>
|
|
117
|
+
* <p>Set up one or more Amazon Web Services accounts as <i>monitoring
|
|
119
118
|
* accounts</i> and link them with multiple <i>source accounts</i>. A
|
|
120
119
|
* monitoring account is a central Amazon Web Services account that can view and interact with
|
|
121
120
|
* 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
121
|
* 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,
|
|
122
|
+
* 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
123
|
*/
|
|
125
124
|
export declare class OAM extends OAMClient implements OAM {
|
|
126
125
|
}
|
|
@@ -169,14 +169,13 @@ export interface OAMClientResolvedConfig extends OAMClientResolvedConfigType {
|
|
|
169
169
|
* monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
170
170
|
* CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
171
171
|
* multiple accounts within a Region. Seamlessly search, visualize, and analyze your metrics,
|
|
172
|
-
* logs, and
|
|
173
|
-
*
|
|
174
|
-
* <p>Set up one or more Amazon Web Services accounts as <i>monitoring
|
|
172
|
+
* logs, traces, and Application Insights applications in any of the linked accounts without account boundaries.</p>
|
|
173
|
+
* <p>Set up one or more Amazon Web Services accounts as <i>monitoring
|
|
175
174
|
* accounts</i> and link them with multiple <i>source accounts</i>. A
|
|
176
175
|
* monitoring account is a central Amazon Web Services account that can view and interact with
|
|
177
176
|
* 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
177
|
* 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,
|
|
178
|
+
* 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
179
|
*/
|
|
181
180
|
export declare class OAMClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OAMClientResolvedConfig> {
|
|
182
181
|
/**
|
|
@@ -24,15 +24,15 @@ export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBea
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Creates a link between a source account and a sink that you have created in a monitoring account.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Before you create a link, you must create a sink in the monitoring account and create a
|
|
28
28
|
* sink policy in that account. The sink policy must permit the source account to link to it. You
|
|
29
29
|
* can grant permission to source accounts by granting permission to an entire organization or to
|
|
30
30
|
* individual accounts.</p>
|
|
31
|
-
*
|
|
31
|
+
* <p>For more information, see
|
|
32
32
|
* <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_CreateSink.html">CreateSink</a> and
|
|
33
33
|
* <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_PutSinkPolicy.html">PutSinkPolicy</a>.</p>
|
|
34
|
-
*
|
|
35
|
-
*
|
|
34
|
+
* <p>Each monitoring account can be linked to as many as 100,000 source accounts.</p>
|
|
35
|
+
* <p>Each source account can be linked to as many as five monitoring accounts.</p>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
38
|
* ```javascript
|
|
@@ -42,7 +42,7 @@ export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBea
|
|
|
42
42
|
* const input = { // CreateLinkInput
|
|
43
43
|
* LabelTemplate: "STRING_VALUE", // required
|
|
44
44
|
* ResourceTypes: [ // ResourceTypesInput // required
|
|
45
|
-
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace",
|
|
45
|
+
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application",
|
|
46
46
|
* ],
|
|
47
47
|
* SinkIdentifier: "STRING_VALUE", // required
|
|
48
48
|
* Tags: { // TagMapInput
|
|
@@ -27,9 +27,9 @@ export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBea
|
|
|
27
27
|
* used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that
|
|
28
28
|
* represents an attachment point in a monitoring account. Source accounts can link to the sink
|
|
29
29
|
* to send observability data.</p>
|
|
30
|
-
*
|
|
30
|
+
* <p>After you create a sink, you must create a sink policy that allows source accounts to attach to it.
|
|
31
31
|
* For more information, see <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_PutSinkPolicy.html">PutSinkPolicy</a>.</p>
|
|
32
|
-
*
|
|
32
|
+
* <p>Each account can contain one sink. If you delete a sink, you can then create a new one in that account.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ export interface GetLinkCommandOutput extends GetLinkOutput, __MetadataBearer {
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Returns complete information about one link.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>To use this operation, provide the link ARN. To retrieve a list of link ARNs, use <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListLinks.html">ListLinks</a>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ export interface GetSinkCommandOutput extends GetSinkOutput, __MetadataBearer {
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Returns complete information about one monitoring account sink.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>To use this operation, provide the sink ARN. To retrieve a list of sink ARNs, use <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html">ListSinks</a>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,8 +24,8 @@ export interface ListAttachedLinksCommandOutput extends ListAttachedLinksOutput,
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Returns a list of source account links that are linked to this monitoring account sink.</p>
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* <p>To use this operation, provide the sink ARN. To retrieve a list of sink ARNs, use <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html">ListSinks</a>.</p>
|
|
28
|
+
* <p>To find a list of links for one source account, use <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListLinks.html">ListLinks</a>.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -25,7 +25,7 @@ export interface ListLinksCommandOutput extends ListLinksOutput, __MetadataBeare
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Use this operation in a source account to return a list of links to monitoring account sinks that
|
|
27
27
|
* this source account has.</p>
|
|
28
|
-
*
|
|
28
|
+
* <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>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -26,9 +26,9 @@ export interface PutSinkPolicyCommandOutput extends PutSinkPolicyOutput, __Metad
|
|
|
26
26
|
* <p>Creates or updates the resource policy that grants permissions to source
|
|
27
27
|
* accounts to link to the monitoring account sink. When you create a sink policy, you can grant
|
|
28
28
|
* permissions to all accounts in an organization or to individual accounts.</p>
|
|
29
|
-
*
|
|
29
|
+
* <p>You can also use a sink policy to limit the types of data that is shared. The three types that
|
|
30
30
|
* you can allow or deny are:</p>
|
|
31
|
-
*
|
|
31
|
+
* <ul>
|
|
32
32
|
* <li>
|
|
33
33
|
* <p>
|
|
34
34
|
* <b>Metrics</b> - Specify with
|
|
@@ -45,8 +45,13 @@ export interface PutSinkPolicyCommandOutput extends PutSinkPolicyOutput, __Metad
|
|
|
45
45
|
* <b>Traces</b> - Specify with <code>AWS::XRay::Trace</code>
|
|
46
46
|
* </p>
|
|
47
47
|
* </li>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>
|
|
50
|
+
* <b>Application Insights - Applications</b> - Specify with <code>AWS::ApplicationInsights::Application</code>
|
|
51
|
+
* </p>
|
|
52
|
+
* </li>
|
|
48
53
|
* </ul>
|
|
49
|
-
*
|
|
54
|
+
* <p>See the examples in this section to see how to specify permitted source accounts and data types.</p>
|
|
50
55
|
* @example
|
|
51
56
|
* Use a bare-bones client and the command you need to make an API call.
|
|
52
57
|
* ```javascript
|
|
@@ -25,16 +25,16 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Assigns one or more tags (key-value pairs) to the specified resource.
|
|
27
27
|
* Both sinks and links can be tagged. </p>
|
|
28
|
-
*
|
|
28
|
+
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
29
29
|
* permissions by granting a user
|
|
30
30
|
* permission to access or change only resources with certain tag values.</p>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
31
|
+
* <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.</p>
|
|
32
|
+
* <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,
|
|
33
33
|
* this tag is appended to the list of tags associated
|
|
34
34
|
* with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces
|
|
35
35
|
* the previous value for that tag.</p>
|
|
36
|
-
*
|
|
37
|
-
*
|
|
36
|
+
* <p>You can associate as many as 50 tags with a resource.</p>
|
|
37
|
+
* <important>
|
|
38
38
|
* <p>Unlike tagging permissions in other Amazon Web Services services, to tag or untag links and
|
|
39
39
|
* sinks you must have the <code>oam:ResourceTag</code> permission. The
|
|
40
40
|
* <code>iam:ResourceTag</code> permission does not allow you to tag and untag links and
|
|
@@ -24,7 +24,7 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Removes one or more tags from the specified resource.</p>
|
|
27
|
-
*
|
|
27
|
+
* <important>
|
|
28
28
|
* <p>Unlike tagging permissions in other Amazon Web Services services, to tag or untag links and
|
|
29
29
|
* sinks you must have the <code>oam:ResourceTag</code> permission. The
|
|
30
30
|
* <code>iam:TagResource</code> permission does not allow you to tag and untag links and
|
|
@@ -25,7 +25,7 @@ export interface UpdateLinkCommandOutput extends UpdateLinkOutput, __MetadataBea
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Use this operation to change what types of data are shared from a source account to its linked
|
|
27
27
|
* monitoring account sink. You can't change the sink or change the monitoring account with this operation.</p>
|
|
28
|
-
*
|
|
28
|
+
* <p>To update the list of tags associated with the sink, use
|
|
29
29
|
* <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_TagResource.html">TagResource</a>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -36,7 +36,7 @@ export interface UpdateLinkCommandOutput extends UpdateLinkOutput, __MetadataBea
|
|
|
36
36
|
* const input = { // UpdateLinkInput
|
|
37
37
|
* Identifier: "STRING_VALUE", // required
|
|
38
38
|
* ResourceTypes: [ // ResourceTypesInput // required
|
|
39
|
-
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace",
|
|
39
|
+
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application",
|
|
40
40
|
* ],
|
|
41
41
|
* };
|
|
42
42
|
* const command = new UpdateLinkCommand(input);
|
package/dist-types/index.d.ts
CHANGED
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
* monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
4
4
|
* CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
5
5
|
* multiple accounts within a Region. Seamlessly search, visualize, and analyze your metrics,
|
|
6
|
-
* logs, and
|
|
7
|
-
*
|
|
8
|
-
* <p>Set up one or more Amazon Web Services accounts as <i>monitoring
|
|
6
|
+
* logs, traces, and Application Insights applications in any of the linked accounts without account boundaries.</p>
|
|
7
|
+
* <p>Set up one or more Amazon Web Services accounts as <i>monitoring
|
|
9
8
|
* accounts</i> and link them with multiple <i>source accounts</i>. A
|
|
10
9
|
* monitoring account is a central Amazon Web Services account that can view and interact with
|
|
11
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.
|
|
12
11
|
* Source accounts share their observability data with the monitoring account. The shared
|
|
13
|
-
* observability data can include metrics in Amazon CloudWatch, logs in Amazon CloudWatch Logs,
|
|
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>
|
|
14
13
|
*
|
|
15
14
|
* @packageDocumentation
|
|
16
15
|
*/
|
|
@@ -23,6 +23,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
23
23
|
* @enum
|
|
24
24
|
*/
|
|
25
25
|
export declare const ResourceType: {
|
|
26
|
+
readonly AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application";
|
|
26
27
|
readonly AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric";
|
|
27
28
|
readonly AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup";
|
|
28
29
|
readonly AWS_XRAY_TRACE: "AWS::XRay::Trace";
|
|
@@ -39,8 +40,8 @@ export interface CreateLinkInput {
|
|
|
39
40
|
* @public
|
|
40
41
|
* <p>Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring
|
|
41
42
|
* account.</p>
|
|
42
|
-
*
|
|
43
|
-
*
|
|
43
|
+
* <p>You can use a custom label or use the following variables:</p>
|
|
44
|
+
* <ul>
|
|
44
45
|
* <li>
|
|
45
46
|
* <p>
|
|
46
47
|
* <code>$AccountName</code> is the name of the account</p>
|
|
@@ -65,17 +66,17 @@ export interface CreateLinkInput {
|
|
|
65
66
|
/**
|
|
66
67
|
* @public
|
|
67
68
|
* <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>
|
|
68
|
-
*
|
|
69
|
+
* <p>For more information about sinks, see
|
|
69
70
|
* <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_CreateSink.html">CreateSink</a>.</p>
|
|
70
71
|
*/
|
|
71
72
|
SinkIdentifier: string | undefined;
|
|
72
73
|
/**
|
|
73
74
|
* @public
|
|
74
75
|
* <p>Assigns one or more tags (key-value pairs) to the link. </p>
|
|
75
|
-
*
|
|
76
|
+
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
76
77
|
* permissions by granting a user
|
|
77
78
|
* permission to access or change only resources with certain tag values.</p>
|
|
78
|
-
*
|
|
79
|
+
* <p>For more information about using tags to control access, see
|
|
79
80
|
* <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
81
|
*/
|
|
81
82
|
Tags?: Record<string, string>;
|
|
@@ -203,10 +204,10 @@ export interface CreateSinkInput {
|
|
|
203
204
|
/**
|
|
204
205
|
* @public
|
|
205
206
|
* <p>Assigns one or more tags (key-value pairs) to the link. </p>
|
|
206
|
-
*
|
|
207
|
+
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
207
208
|
* permissions by granting a user
|
|
208
209
|
* permission to access or change only resources with certain tag values.</p>
|
|
209
|
-
*
|
|
210
|
+
* <p>For more information about using tags to control access, see
|
|
210
211
|
* <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
212
|
*/
|
|
212
213
|
Tags?: Record<string, string>;
|
|
@@ -575,17 +576,17 @@ export interface ListTagsForResourceInput {
|
|
|
575
576
|
/**
|
|
576
577
|
* @public
|
|
577
578
|
* <p>The ARN of the resource that you want to view tags for.</p>
|
|
578
|
-
*
|
|
579
|
+
* <p>The ARN format of a sink is
|
|
579
580
|
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
|
|
580
581
|
* </code>
|
|
581
582
|
* </p>
|
|
582
|
-
*
|
|
583
|
+
* <p>The ARN format of a link is
|
|
583
584
|
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:link/<i>link-id</i>
|
|
584
585
|
* </code>
|
|
585
586
|
* </p>
|
|
586
|
-
*
|
|
587
|
+
* <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
|
|
587
588
|
* resources and operations</a>.</p>
|
|
588
|
-
*
|
|
589
|
+
* <important>
|
|
589
590
|
* <p>Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags
|
|
590
591
|
* for links or sinks you must have the <code>oam:RequestTag</code> permission. The
|
|
591
592
|
* <code>aws:ReguestTag</code> permission does not allow you to tag and untag links and
|
|
@@ -630,8 +631,8 @@ export interface PutSinkPolicyInput {
|
|
|
630
631
|
* @public
|
|
631
632
|
* <p>The JSON policy to use. If you are updating an existing policy, the entire existing policy is
|
|
632
633
|
* replaced by what you specify here.</p>
|
|
633
|
-
*
|
|
634
|
-
*
|
|
634
|
+
* <p>The policy must be in JSON string format with quotation marks escaped and no newlines.</p>
|
|
635
|
+
* <p>For examples of different types of policies, see the <b>Examples</b> section on this page.</p>
|
|
635
636
|
*/
|
|
636
637
|
Policy: string | undefined;
|
|
637
638
|
}
|
|
@@ -662,15 +663,15 @@ export interface TagResourceInput {
|
|
|
662
663
|
/**
|
|
663
664
|
* @public
|
|
664
665
|
* <p>The ARN of the resource that you're adding tags to.</p>
|
|
665
|
-
*
|
|
666
|
+
* <p>The ARN format of a sink is
|
|
666
667
|
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
|
|
667
668
|
* </code>
|
|
668
669
|
* </p>
|
|
669
|
-
*
|
|
670
|
+
* <p>The ARN format of a link is
|
|
670
671
|
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:link/<i>link-id</i>
|
|
671
672
|
* </code>
|
|
672
673
|
* </p>
|
|
673
|
-
*
|
|
674
|
+
* <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
|
|
674
675
|
* resources and operations</a>.</p>
|
|
675
676
|
*/
|
|
676
677
|
ResourceArn: string | undefined;
|
|
@@ -705,15 +706,15 @@ export interface UntagResourceInput {
|
|
|
705
706
|
/**
|
|
706
707
|
* @public
|
|
707
708
|
* <p>The ARN of the resource that you're removing tags from.</p>
|
|
708
|
-
*
|
|
709
|
+
* <p>The ARN format of a sink is
|
|
709
710
|
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:sink/<i>sink-id</i>
|
|
710
711
|
* </code>
|
|
711
712
|
* </p>
|
|
712
|
-
*
|
|
713
|
+
* <p>The ARN format of a link is
|
|
713
714
|
* <code>arn:aws:oam:<i>Region</i>:<i>account-id</i>:link/<i>link-id</i>
|
|
714
715
|
* </code>
|
|
715
716
|
* </p>
|
|
716
|
-
*
|
|
717
|
+
* <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
|
|
717
718
|
* resources and operations</a>.</p>
|
|
718
719
|
*/
|
|
719
720
|
ResourceArn: string | undefined;
|
|
@@ -741,7 +742,7 @@ export interface UpdateLinkInput {
|
|
|
741
742
|
* @public
|
|
742
743
|
* <p>An array of strings that define which types of data that the source account will send to the monitoring
|
|
743
744
|
* account.</p>
|
|
744
|
-
*
|
|
745
|
+
* <p>Your input here replaces the current set of data types that are shared.</p>
|
|
745
746
|
*/
|
|
746
747
|
ResourceTypes: (ResourceType | string)[] | undefined;
|
|
747
748
|
}
|
|
@@ -8,6 +8,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
8
8
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
9
9
|
}
|
|
10
10
|
export declare const ResourceType: {
|
|
11
|
+
readonly AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application";
|
|
11
12
|
readonly AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric";
|
|
12
13
|
readonly AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup";
|
|
13
14
|
readonly AWS_XRAY_TRACE: "AWS::XRay::Trace";
|
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.424.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.423.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.423.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|