@aws-sdk/client-oam 3.296.0 → 3.298.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/commands/CreateLinkCommand.js +2 -3
- package/dist-cjs/commands/CreateSinkCommand.js +2 -3
- package/dist-cjs/commands/DeleteLinkCommand.js +2 -3
- package/dist-cjs/commands/DeleteSinkCommand.js +2 -3
- package/dist-cjs/commands/GetLinkCommand.js +2 -3
- package/dist-cjs/commands/GetSinkCommand.js +2 -3
- package/dist-cjs/commands/GetSinkPolicyCommand.js +2 -3
- package/dist-cjs/commands/ListAttachedLinksCommand.js +2 -3
- package/dist-cjs/commands/ListLinksCommand.js +2 -3
- package/dist-cjs/commands/ListSinksCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/PutSinkPolicyCommand.js +2 -3
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/commands/UpdateLinkCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -133
- package/dist-es/commands/CreateLinkCommand.js +2 -3
- package/dist-es/commands/CreateSinkCommand.js +2 -3
- package/dist-es/commands/DeleteLinkCommand.js +2 -3
- package/dist-es/commands/DeleteSinkCommand.js +2 -3
- package/dist-es/commands/GetLinkCommand.js +2 -3
- package/dist-es/commands/GetSinkCommand.js +2 -3
- package/dist-es/commands/GetSinkPolicyCommand.js +2 -3
- package/dist-es/commands/ListAttachedLinksCommand.js +2 -3
- package/dist-es/commands/ListLinksCommand.js +2 -3
- package/dist-es/commands/ListSinksCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/PutSinkPolicyCommand.js +2 -3
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/commands/UpdateLinkCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -99
- package/dist-types/OAM.d.ts +16 -0
- package/dist-types/OAMClient.d.ts +24 -4
- package/dist-types/commands/CreateLinkCommand.d.ts +16 -0
- package/dist-types/commands/CreateSinkCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLinkCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSinkCommand.d.ts +16 -0
- package/dist-types/commands/GetLinkCommand.d.ts +16 -0
- package/dist-types/commands/GetSinkCommand.d.ts +16 -0
- package/dist-types/commands/GetSinkPolicyCommand.d.ts +16 -0
- package/dist-types/commands/ListAttachedLinksCommand.d.ts +16 -0
- package/dist-types/commands/ListLinksCommand.d.ts +16 -0
- package/dist-types/commands/ListSinksCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PutSinkPolicyCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateLinkCommand.d.ts +16 -0
- package/dist-types/models/OAMServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +104 -132
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAttachedLinksPaginator.d.ts +3 -0
- package/dist-types/pagination/ListLinksPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSinksPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -95
- package/package.json +4 -3
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class ListTagsForResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PutSinkPolicyInputFilterSensitiveLog, PutSinkPolicyOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1PutSinkPolicyCommand, serializeAws_restJson1PutSinkPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class PutSinkPolicyCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class PutSinkPolicyCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { TagResourceInputFilterSensitiveLog, TagResourceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class TagResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class TagResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UntagResourceInputFilterSensitiveLog, UntagResourceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class UntagResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class UntagResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateLinkInputFilterSensitiveLog, UpdateLinkOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateLinkCommand, serializeAws_restJson1UpdateLinkCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class UpdateLinkCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class UpdateLinkCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -113,102 +113,3 @@ export class TooManyTagsException extends __BaseException {
|
|
|
113
113
|
this.Message = opts.Message;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
export const CreateLinkInputFilterSensitiveLog = (obj) => ({
|
|
117
|
-
...obj,
|
|
118
|
-
});
|
|
119
|
-
export const CreateLinkOutputFilterSensitiveLog = (obj) => ({
|
|
120
|
-
...obj,
|
|
121
|
-
});
|
|
122
|
-
export const CreateSinkInputFilterSensitiveLog = (obj) => ({
|
|
123
|
-
...obj,
|
|
124
|
-
});
|
|
125
|
-
export const CreateSinkOutputFilterSensitiveLog = (obj) => ({
|
|
126
|
-
...obj,
|
|
127
|
-
});
|
|
128
|
-
export const DeleteLinkInputFilterSensitiveLog = (obj) => ({
|
|
129
|
-
...obj,
|
|
130
|
-
});
|
|
131
|
-
export const DeleteLinkOutputFilterSensitiveLog = (obj) => ({
|
|
132
|
-
...obj,
|
|
133
|
-
});
|
|
134
|
-
export const DeleteSinkInputFilterSensitiveLog = (obj) => ({
|
|
135
|
-
...obj,
|
|
136
|
-
});
|
|
137
|
-
export const DeleteSinkOutputFilterSensitiveLog = (obj) => ({
|
|
138
|
-
...obj,
|
|
139
|
-
});
|
|
140
|
-
export const GetLinkInputFilterSensitiveLog = (obj) => ({
|
|
141
|
-
...obj,
|
|
142
|
-
});
|
|
143
|
-
export const GetLinkOutputFilterSensitiveLog = (obj) => ({
|
|
144
|
-
...obj,
|
|
145
|
-
});
|
|
146
|
-
export const GetSinkInputFilterSensitiveLog = (obj) => ({
|
|
147
|
-
...obj,
|
|
148
|
-
});
|
|
149
|
-
export const GetSinkOutputFilterSensitiveLog = (obj) => ({
|
|
150
|
-
...obj,
|
|
151
|
-
});
|
|
152
|
-
export const GetSinkPolicyInputFilterSensitiveLog = (obj) => ({
|
|
153
|
-
...obj,
|
|
154
|
-
});
|
|
155
|
-
export const GetSinkPolicyOutputFilterSensitiveLog = (obj) => ({
|
|
156
|
-
...obj,
|
|
157
|
-
});
|
|
158
|
-
export const ListAttachedLinksInputFilterSensitiveLog = (obj) => ({
|
|
159
|
-
...obj,
|
|
160
|
-
});
|
|
161
|
-
export const ListAttachedLinksItemFilterSensitiveLog = (obj) => ({
|
|
162
|
-
...obj,
|
|
163
|
-
});
|
|
164
|
-
export const ListAttachedLinksOutputFilterSensitiveLog = (obj) => ({
|
|
165
|
-
...obj,
|
|
166
|
-
});
|
|
167
|
-
export const ListLinksInputFilterSensitiveLog = (obj) => ({
|
|
168
|
-
...obj,
|
|
169
|
-
});
|
|
170
|
-
export const ListLinksItemFilterSensitiveLog = (obj) => ({
|
|
171
|
-
...obj,
|
|
172
|
-
});
|
|
173
|
-
export const ListLinksOutputFilterSensitiveLog = (obj) => ({
|
|
174
|
-
...obj,
|
|
175
|
-
});
|
|
176
|
-
export const ListSinksInputFilterSensitiveLog = (obj) => ({
|
|
177
|
-
...obj,
|
|
178
|
-
});
|
|
179
|
-
export const ListSinksItemFilterSensitiveLog = (obj) => ({
|
|
180
|
-
...obj,
|
|
181
|
-
});
|
|
182
|
-
export const ListSinksOutputFilterSensitiveLog = (obj) => ({
|
|
183
|
-
...obj,
|
|
184
|
-
});
|
|
185
|
-
export const ListTagsForResourceInputFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
});
|
|
188
|
-
export const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
|
|
189
|
-
...obj,
|
|
190
|
-
});
|
|
191
|
-
export const PutSinkPolicyInputFilterSensitiveLog = (obj) => ({
|
|
192
|
-
...obj,
|
|
193
|
-
});
|
|
194
|
-
export const PutSinkPolicyOutputFilterSensitiveLog = (obj) => ({
|
|
195
|
-
...obj,
|
|
196
|
-
});
|
|
197
|
-
export const TagResourceInputFilterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
});
|
|
200
|
-
export const TagResourceOutputFilterSensitiveLog = (obj) => ({
|
|
201
|
-
...obj,
|
|
202
|
-
});
|
|
203
|
-
export const UntagResourceInputFilterSensitiveLog = (obj) => ({
|
|
204
|
-
...obj,
|
|
205
|
-
});
|
|
206
|
-
export const UntagResourceOutputFilterSensitiveLog = (obj) => ({
|
|
207
|
-
...obj,
|
|
208
|
-
});
|
|
209
|
-
export const UpdateLinkInputFilterSensitiveLog = (obj) => ({
|
|
210
|
-
...obj,
|
|
211
|
-
});
|
|
212
|
-
export const UpdateLinkOutputFilterSensitiveLog = (obj) => ({
|
|
213
|
-
...obj,
|
|
214
|
-
});
|
package/dist-types/OAM.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
16
16
|
import { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "./commands/UpdateLinkCommand";
|
|
17
17
|
import { OAMClient } from "./OAMClient";
|
|
18
18
|
/**
|
|
19
|
+
* @public
|
|
19
20
|
* <p>Use Amazon CloudWatch Observability Access Manager to create and manage links between source accounts and
|
|
20
21
|
* monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
21
22
|
* CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
@@ -31,6 +32,7 @@ import { OAMClient } from "./OAMClient";
|
|
|
31
32
|
*/
|
|
32
33
|
export declare class OAM extends OAMClient {
|
|
33
34
|
/**
|
|
35
|
+
* @public
|
|
34
36
|
* <p>Creates a link between a source account and a sink that you have created in a monitoring account.</p>
|
|
35
37
|
* <p>Before you create a link, you must create a sink in the monitoring account and create a
|
|
36
38
|
* sink policy in that account. The sink policy must permit the source account to link to it. You
|
|
@@ -46,6 +48,7 @@ export declare class OAM extends OAMClient {
|
|
|
46
48
|
createLink(args: CreateLinkCommandInput, cb: (err: any, data?: CreateLinkCommandOutput) => void): void;
|
|
47
49
|
createLink(args: CreateLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLinkCommandOutput) => void): void;
|
|
48
50
|
/**
|
|
51
|
+
* @public
|
|
49
52
|
* <p>Use this to create a <i>sink</i> in the current account, so that it can be
|
|
50
53
|
* used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that
|
|
51
54
|
* represents an attachment point in a monitoring account. Source accounts can link to the sink
|
|
@@ -58,6 +61,7 @@ export declare class OAM extends OAMClient {
|
|
|
58
61
|
createSink(args: CreateSinkCommandInput, cb: (err: any, data?: CreateSinkCommandOutput) => void): void;
|
|
59
62
|
createSink(args: CreateSinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSinkCommandOutput) => void): void;
|
|
60
63
|
/**
|
|
64
|
+
* @public
|
|
61
65
|
* <p>Deletes a link between a monitoring account sink and a source account. You must run this operation
|
|
62
66
|
* in the source account.</p>
|
|
63
67
|
*/
|
|
@@ -65,12 +69,14 @@ export declare class OAM extends OAMClient {
|
|
|
65
69
|
deleteLink(args: DeleteLinkCommandInput, cb: (err: any, data?: DeleteLinkCommandOutput) => void): void;
|
|
66
70
|
deleteLink(args: DeleteLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLinkCommandOutput) => void): void;
|
|
67
71
|
/**
|
|
72
|
+
* @public
|
|
68
73
|
* <p>Deletes a sink. You must delete all links to a sink before you can delete that sink.</p>
|
|
69
74
|
*/
|
|
70
75
|
deleteSink(args: DeleteSinkCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSinkCommandOutput>;
|
|
71
76
|
deleteSink(args: DeleteSinkCommandInput, cb: (err: any, data?: DeleteSinkCommandOutput) => void): void;
|
|
72
77
|
deleteSink(args: DeleteSinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSinkCommandOutput) => void): void;
|
|
73
78
|
/**
|
|
79
|
+
* @public
|
|
74
80
|
* <p>Returns complete information about one link.</p>
|
|
75
81
|
* <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>
|
|
76
82
|
*/
|
|
@@ -78,6 +84,7 @@ export declare class OAM extends OAMClient {
|
|
|
78
84
|
getLink(args: GetLinkCommandInput, cb: (err: any, data?: GetLinkCommandOutput) => void): void;
|
|
79
85
|
getLink(args: GetLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLinkCommandOutput) => void): void;
|
|
80
86
|
/**
|
|
87
|
+
* @public
|
|
81
88
|
* <p>Returns complete information about one monitoring account sink.</p>
|
|
82
89
|
* <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>
|
|
83
90
|
*/
|
|
@@ -85,6 +92,7 @@ export declare class OAM extends OAMClient {
|
|
|
85
92
|
getSink(args: GetSinkCommandInput, cb: (err: any, data?: GetSinkCommandOutput) => void): void;
|
|
86
93
|
getSink(args: GetSinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSinkCommandOutput) => void): void;
|
|
87
94
|
/**
|
|
95
|
+
* @public
|
|
88
96
|
* <p>Returns the current sink policy attached to this sink. The sink policy specifies what
|
|
89
97
|
* accounts can attach to this sink as source accounts, and what types of data they can share.</p>
|
|
90
98
|
*/
|
|
@@ -92,6 +100,7 @@ export declare class OAM extends OAMClient {
|
|
|
92
100
|
getSinkPolicy(args: GetSinkPolicyCommandInput, cb: (err: any, data?: GetSinkPolicyCommandOutput) => void): void;
|
|
93
101
|
getSinkPolicy(args: GetSinkPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSinkPolicyCommandOutput) => void): void;
|
|
94
102
|
/**
|
|
103
|
+
* @public
|
|
95
104
|
* <p>Returns a list of source account links that are linked to this monitoring account sink.</p>
|
|
96
105
|
* <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>
|
|
97
106
|
* <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>
|
|
@@ -100,6 +109,7 @@ export declare class OAM extends OAMClient {
|
|
|
100
109
|
listAttachedLinks(args: ListAttachedLinksCommandInput, cb: (err: any, data?: ListAttachedLinksCommandOutput) => void): void;
|
|
101
110
|
listAttachedLinks(args: ListAttachedLinksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttachedLinksCommandOutput) => void): void;
|
|
102
111
|
/**
|
|
112
|
+
* @public
|
|
103
113
|
* <p>Use this operation in a source account to return a list of links to monitoring account sinks that
|
|
104
114
|
* this source account has.</p>
|
|
105
115
|
* <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>
|
|
@@ -108,18 +118,21 @@ export declare class OAM extends OAMClient {
|
|
|
108
118
|
listLinks(args: ListLinksCommandInput, cb: (err: any, data?: ListLinksCommandOutput) => void): void;
|
|
109
119
|
listLinks(args: ListLinksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLinksCommandOutput) => void): void;
|
|
110
120
|
/**
|
|
121
|
+
* @public
|
|
111
122
|
* <p>Use this operation in a monitoring account to return the list of sinks created in that account.</p>
|
|
112
123
|
*/
|
|
113
124
|
listSinks(args: ListSinksCommandInput, options?: __HttpHandlerOptions): Promise<ListSinksCommandOutput>;
|
|
114
125
|
listSinks(args: ListSinksCommandInput, cb: (err: any, data?: ListSinksCommandOutput) => void): void;
|
|
115
126
|
listSinks(args: ListSinksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSinksCommandOutput) => void): void;
|
|
116
127
|
/**
|
|
128
|
+
* @public
|
|
117
129
|
* <p>Displays the tags associated with a resource. Both sinks and links support tagging.</p>
|
|
118
130
|
*/
|
|
119
131
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
120
132
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
121
133
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
122
134
|
/**
|
|
135
|
+
* @public
|
|
123
136
|
* <p>Creates or updates the resource policy that grants permissions to source
|
|
124
137
|
* accounts to link to the monitoring account sink. When you create a sink policy, you can grant
|
|
125
138
|
* permissions to all accounts in an organization or to individual accounts.</p>
|
|
@@ -149,6 +162,7 @@ export declare class OAM extends OAMClient {
|
|
|
149
162
|
putSinkPolicy(args: PutSinkPolicyCommandInput, cb: (err: any, data?: PutSinkPolicyCommandOutput) => void): void;
|
|
150
163
|
putSinkPolicy(args: PutSinkPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSinkPolicyCommandOutput) => void): void;
|
|
151
164
|
/**
|
|
165
|
+
* @public
|
|
152
166
|
* <p>Assigns one or more tags (key-value pairs) to the specified resource.
|
|
153
167
|
* Both sinks and links can be tagged. </p>
|
|
154
168
|
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
@@ -171,6 +185,7 @@ export declare class OAM extends OAMClient {
|
|
|
171
185
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
172
186
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
173
187
|
/**
|
|
188
|
+
* @public
|
|
174
189
|
* <p>Removes one or more tags from the specified resource.</p>
|
|
175
190
|
* <important>
|
|
176
191
|
* <p>Unlike tagging permissions in other Amazon Web Services services, to tag or untag links and
|
|
@@ -183,6 +198,7 @@ export declare class OAM extends OAMClient {
|
|
|
183
198
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
184
199
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
185
200
|
/**
|
|
201
|
+
* @public
|
|
186
202
|
* <p>Use this operation to change what types of data are shared from a source account to its linked
|
|
187
203
|
* monitoring account sink. You can't change the sink or change the monitoring account with this operation.</p>
|
|
188
204
|
* <p>To update the list of tags associated with the sink, use
|
|
@@ -23,15 +23,24 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
23
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
24
24
|
import { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "./commands/UpdateLinkCommand";
|
|
25
25
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
26
29
|
export type ServiceInputTypes = CreateLinkCommandInput | CreateSinkCommandInput | DeleteLinkCommandInput | DeleteSinkCommandInput | GetLinkCommandInput | GetSinkCommandInput | GetSinkPolicyCommandInput | ListAttachedLinksCommandInput | ListLinksCommandInput | ListSinksCommandInput | ListTagsForResourceCommandInput | PutSinkPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLinkCommandInput;
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
27
33
|
export type ServiceOutputTypes = CreateLinkCommandOutput | CreateSinkCommandOutput | DeleteLinkCommandOutput | DeleteSinkCommandOutput | GetLinkCommandOutput | GetSinkCommandOutput | GetSinkPolicyCommandOutput | ListAttachedLinksCommandOutput | ListLinksCommandOutput | ListSinksCommandOutput | ListTagsForResourceCommandOutput | PutSinkPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLinkCommandOutput;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
28
37
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
29
38
|
/**
|
|
30
39
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
31
40
|
*/
|
|
32
41
|
requestHandler?: __HttpHandler;
|
|
33
42
|
/**
|
|
34
|
-
* A constructor for a class implementing the {@link
|
|
43
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
35
44
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
36
45
|
* @internal
|
|
37
46
|
*/
|
|
@@ -121,23 +130,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
121
130
|
*/
|
|
122
131
|
logger?: __Logger;
|
|
123
132
|
/**
|
|
124
|
-
* The {@link
|
|
133
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
125
134
|
*/
|
|
126
135
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
127
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
128
140
|
type OAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
129
141
|
/**
|
|
130
|
-
*
|
|
142
|
+
* @public
|
|
143
|
+
*
|
|
144
|
+
* The configuration interface of OAMClient class constructor that set the region, credentials and other options.
|
|
131
145
|
*/
|
|
132
146
|
export interface OAMClientConfig extends OAMClientConfigType {
|
|
133
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
134
151
|
type OAMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
135
152
|
/**
|
|
136
|
-
*
|
|
153
|
+
* @public
|
|
154
|
+
*
|
|
155
|
+
* The resolved configuration interface of OAMClient class. This is resolved and normalized from the {@link OAMClientConfig | constructor configuration interface}.
|
|
137
156
|
*/
|
|
138
157
|
export interface OAMClientResolvedConfig extends OAMClientResolvedConfigType {
|
|
139
158
|
}
|
|
140
159
|
/**
|
|
160
|
+
* @public
|
|
141
161
|
* <p>Use Amazon CloudWatch Observability Access Manager to create and manage links between source accounts and
|
|
142
162
|
* monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
143
163
|
* CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CreateLinkInput, CreateLinkOutput } from "../models/models_0";
|
|
5
5
|
import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateLinkCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateLinkCommandInput extends CreateLinkInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateLinkCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a link between a source account and a sink that you have created in a monitoring account.</p>
|
|
18
23
|
* <p>Before you create a link, you must create a sink in the monitoring account and create a
|
|
19
24
|
* sink policy in that account. The sink policy must permit the source account to link to it. You
|
|
@@ -34,6 +39,8 @@ export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBea
|
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
36
41
|
*
|
|
42
|
+
* @param CreateLinkCommandInput - {@link CreateLinkCommandInput}
|
|
43
|
+
* @returns {@link CreateLinkCommandOutput}
|
|
37
44
|
* @see {@link CreateLinkCommandInput} for command's `input` shape.
|
|
38
45
|
* @see {@link CreateLinkCommandOutput} for command's `response` shape.
|
|
39
46
|
* @see {@link OAMClientResolvedConfig | config} for OAMClient's `config` shape.
|
|
@@ -58,11 +65,20 @@ export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBea
|
|
|
58
65
|
export declare class CreateLinkCommand extends $Command<CreateLinkCommandInput, CreateLinkCommandOutput, OAMClientResolvedConfig> {
|
|
59
66
|
readonly input: CreateLinkCommandInput;
|
|
60
67
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
61
71
|
constructor(input: CreateLinkCommandInput);
|
|
62
72
|
/**
|
|
63
73
|
* @internal
|
|
64
74
|
*/
|
|
65
75
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLinkCommandInput, CreateLinkCommandOutput>;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
66
79
|
private serialize;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
67
83
|
private deserialize;
|
|
68
84
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CreateSinkInput, CreateSinkOutput } from "../models/models_0";
|
|
5
5
|
import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateSinkCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateSinkCommandInput extends CreateSinkInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateSinkCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Use this to create a <i>sink</i> in the current account, so that it can be
|
|
18
23
|
* used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that
|
|
19
24
|
* represents an attachment point in a monitoring account. Source accounts can link to the sink
|
|
@@ -31,6 +36,8 @@ export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBea
|
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
39
|
+
* @param CreateSinkCommandInput - {@link CreateSinkCommandInput}
|
|
40
|
+
* @returns {@link CreateSinkCommandOutput}
|
|
34
41
|
* @see {@link CreateSinkCommandInput} for command's `input` shape.
|
|
35
42
|
* @see {@link CreateSinkCommandOutput} for command's `response` shape.
|
|
36
43
|
* @see {@link OAMClientResolvedConfig | config} for OAMClient's `config` shape.
|
|
@@ -55,11 +62,20 @@ export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBea
|
|
|
55
62
|
export declare class CreateSinkCommand extends $Command<CreateSinkCommandInput, CreateSinkCommandOutput, OAMClientResolvedConfig> {
|
|
56
63
|
readonly input: CreateSinkCommandInput;
|
|
57
64
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
58
68
|
constructor(input: CreateSinkCommandInput);
|
|
59
69
|
/**
|
|
60
70
|
* @internal
|
|
61
71
|
*/
|
|
62
72
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSinkCommandInput, CreateSinkCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
63
76
|
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
64
80
|
private deserialize;
|
|
65
81
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DeleteLinkInput, DeleteLinkOutput } from "../models/models_0";
|
|
5
5
|
import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteLinkCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteLinkCommandInput extends DeleteLinkInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteLinkCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteLinkCommandOutput extends DeleteLinkOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes a link between a monitoring account sink and a source account. You must run this operation
|
|
18
23
|
* in the source account.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface DeleteLinkCommandOutput extends DeleteLinkOutput, __MetadataBea
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param DeleteLinkCommandInput - {@link DeleteLinkCommandInput}
|
|
35
|
+
* @returns {@link DeleteLinkCommandOutput}
|
|
29
36
|
* @see {@link DeleteLinkCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link DeleteLinkCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link OAMClientResolvedConfig | config} for OAMClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface DeleteLinkCommandOutput extends DeleteLinkOutput, __MetadataBea
|
|
|
47
54
|
export declare class DeleteLinkCommand extends $Command<DeleteLinkCommandInput, DeleteLinkCommandOutput, OAMClientResolvedConfig> {
|
|
48
55
|
readonly input: DeleteLinkCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: DeleteLinkCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLinkCommandInput, DeleteLinkCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DeleteSinkInput, DeleteSinkOutput } from "../models/models_0";
|
|
5
5
|
import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteSinkCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteSinkCommandInput extends DeleteSinkInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteSinkCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteSinkCommandOutput extends DeleteSinkOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes a sink. You must delete all links to a sink before you can delete that sink.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DeleteSinkCommandOutput extends DeleteSinkOutput, __MetadataBea
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DeleteSinkCommandInput - {@link DeleteSinkCommandInput}
|
|
34
|
+
* @returns {@link DeleteSinkCommandOutput}
|
|
28
35
|
* @see {@link DeleteSinkCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DeleteSinkCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link OAMClientResolvedConfig | config} for OAMClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface DeleteSinkCommandOutput extends DeleteSinkOutput, __MetadataBea
|
|
|
49
56
|
export declare class DeleteSinkCommand extends $Command<DeleteSinkCommandInput, DeleteSinkCommandOutput, OAMClientResolvedConfig> {
|
|
50
57
|
readonly input: DeleteSinkCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: DeleteSinkCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSinkCommandInput, DeleteSinkCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetLinkInput, GetLinkOutput } from "../models/models_0";
|
|
5
5
|
import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetLinkCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetLinkCommandInput extends GetLinkInput {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetLinkCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetLinkCommandOutput extends GetLinkOutput, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns complete information about one link.</p>
|
|
18
23
|
* <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>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface GetLinkCommandOutput extends GetLinkOutput, __MetadataBearer {
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param GetLinkCommandInput - {@link GetLinkCommandInput}
|
|
35
|
+
* @returns {@link GetLinkCommandOutput}
|
|
29
36
|
* @see {@link GetLinkCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link GetLinkCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link OAMClientResolvedConfig | config} for OAMClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface GetLinkCommandOutput extends GetLinkOutput, __MetadataBearer {
|
|
|
47
54
|
export declare class GetLinkCommand extends $Command<GetLinkCommandInput, GetLinkCommandOutput, OAMClientResolvedConfig> {
|
|
48
55
|
readonly input: GetLinkCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: GetLinkCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLinkCommandInput, GetLinkCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|