@aws-sdk/client-oam 3.533.0 → 3.540.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/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/OAM.d.ts +3 -1
- package/dist-types/OAMClient.d.ts +1 -1
- package/dist-types/commands/CreateLinkCommand.d.ts +2 -1
- package/dist-types/commands/CreateSinkCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLinkCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSinkCommand.d.ts +2 -1
- package/dist-types/commands/GetLinkCommand.d.ts +2 -1
- package/dist-types/commands/GetSinkCommand.d.ts +2 -1
- package/dist-types/commands/GetSinkPolicyCommand.d.ts +2 -1
- package/dist-types/commands/ListAttachedLinksCommand.d.ts +2 -1
- package/dist-types/commands/ListLinksCommand.d.ts +2 -1
- package/dist-types/commands/ListSinksCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/PutSinkPolicyCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLinkCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +97 -97
- package/dist-types/ts3.4/OAM.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateSinkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteSinkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetSinkCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetSinkPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAttachedLinksCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSinksCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutSinkPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +40 -40
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1292,9 +1292,6 @@ var paginateListLinks = (0, import_core.createPaginator)(OAMClient, ListLinksCom
|
|
|
1292
1292
|
// src/pagination/ListSinksPaginator.ts
|
|
1293
1293
|
|
|
1294
1294
|
var paginateListSinks = (0, import_core.createPaginator)(OAMClient, ListSinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1295
|
-
|
|
1296
|
-
// src/index.ts
|
|
1297
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1298
1295
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1299
1296
|
|
|
1300
1297
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
package/dist-types/OAM.d.ts
CHANGED
|
@@ -67,12 +67,14 @@ export interface OAM {
|
|
|
67
67
|
/**
|
|
68
68
|
* @see {@link ListLinksCommand}
|
|
69
69
|
*/
|
|
70
|
+
listLinks(): Promise<ListLinksCommandOutput>;
|
|
70
71
|
listLinks(args: ListLinksCommandInput, options?: __HttpHandlerOptions): Promise<ListLinksCommandOutput>;
|
|
71
72
|
listLinks(args: ListLinksCommandInput, cb: (err: any, data?: ListLinksCommandOutput) => void): void;
|
|
72
73
|
listLinks(args: ListLinksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLinksCommandOutput) => void): void;
|
|
73
74
|
/**
|
|
74
75
|
* @see {@link ListSinksCommand}
|
|
75
76
|
*/
|
|
77
|
+
listSinks(): Promise<ListSinksCommandOutput>;
|
|
76
78
|
listSinks(args: ListSinksCommandInput, options?: __HttpHandlerOptions): Promise<ListSinksCommandOutput>;
|
|
77
79
|
listSinks(args: ListSinksCommandInput, cb: (err: any, data?: ListSinksCommandOutput) => void): void;
|
|
78
80
|
listSinks(args: ListSinksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSinksCommandOutput) => void): void;
|
|
@@ -108,7 +110,6 @@ export interface OAM {
|
|
|
108
110
|
updateLink(args: UpdateLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLinkCommandOutput) => void): void;
|
|
109
111
|
}
|
|
110
112
|
/**
|
|
111
|
-
* @public
|
|
112
113
|
* <p>Use Amazon CloudWatch Observability Access Manager to create and manage links between source accounts and
|
|
113
114
|
* monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
114
115
|
* CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
@@ -120,6 +121,7 @@ export interface OAM {
|
|
|
120
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.
|
|
121
122
|
* Source accounts share their observability data with the monitoring account. The shared
|
|
122
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
|
+
* @public
|
|
123
125
|
*/
|
|
124
126
|
export declare class OAM extends OAMClient implements OAM {
|
|
125
127
|
}
|
|
@@ -166,7 +166,6 @@ export type OAMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
|
|
|
166
166
|
export interface OAMClientResolvedConfig extends OAMClientResolvedConfigType {
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
* @public
|
|
170
169
|
* <p>Use Amazon CloudWatch Observability Access Manager to create and manage links between source accounts and
|
|
171
170
|
* monitoring accounts by using <i>CloudWatch cross-account observability</i>. With
|
|
172
171
|
* CloudWatch cross-account observability, you can monitor and troubleshoot applications that span
|
|
@@ -178,6 +177,7 @@ export interface OAMClientResolvedConfig extends OAMClientResolvedConfigType {
|
|
|
178
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.
|
|
179
178
|
* Source accounts share their observability data with the monitoring account. The shared
|
|
180
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
|
+
* @public
|
|
181
181
|
*/
|
|
182
182
|
export declare class OAMClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OAMClientResolvedConfig> {
|
|
183
183
|
/**
|
|
@@ -22,10 +22,10 @@ export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBea
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateLinkCommand_base: {
|
|
24
24
|
new (input: CreateLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLinkCommandInput, CreateLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLinkCommandInput, CreateLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates a link between a source account and a sink that you have created in a monitoring account.</p>
|
|
30
30
|
* <p>Before you create a link, you must create a sink in the monitoring account and create a
|
|
31
31
|
* sink policy in that account. The sink policy must permit the source account to link to it. You
|
|
@@ -94,6 +94,7 @@ declare const CreateLinkCommand_base: {
|
|
|
94
94
|
* @throws {@link OAMServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
96
96
|
*
|
|
97
|
+
* @public
|
|
97
98
|
*/
|
|
98
99
|
export declare class CreateLinkCommand extends CreateLinkCommand_base {
|
|
99
100
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBea
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateSinkCommand_base: {
|
|
24
24
|
new (input: CreateSinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSinkCommandInput, CreateSinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateSinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSinkCommandInput, CreateSinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Use this to create a <i>sink</i> in the current account, so that it can be
|
|
30
30
|
* used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that
|
|
31
31
|
* represents an attachment point in a monitoring account. Source accounts can link to the sink
|
|
@@ -82,6 +82,7 @@ declare const CreateSinkCommand_base: {
|
|
|
82
82
|
* @throws {@link OAMServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
84
84
|
*
|
|
85
|
+
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class CreateSinkCommand extends CreateSinkCommand_base {
|
|
87
88
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteLinkCommandOutput extends DeleteLinkOutput, __MetadataBea
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteLinkCommand_base: {
|
|
24
24
|
new (input: DeleteLinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLinkCommandInput, DeleteLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteLinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLinkCommandInput, DeleteLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
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
|
|
@@ -64,6 +64,7 @@ declare const DeleteLinkCommand_base: {
|
|
|
64
64
|
* @throws {@link OAMServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
66
66
|
*
|
|
67
|
+
* @public
|
|
67
68
|
*/
|
|
68
69
|
export declare class DeleteLinkCommand extends DeleteLinkCommand_base {
|
|
69
70
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteSinkCommandOutput extends DeleteSinkOutput, __MetadataBea
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteSinkCommand_base: {
|
|
24
24
|
new (input: DeleteSinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSinkCommandInput, DeleteSinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteSinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSinkCommandInput, DeleteSinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes a sink. You must delete all links to a sink before you can delete that sink.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -66,6 +66,7 @@ declare const DeleteSinkCommand_base: {
|
|
|
66
66
|
* @throws {@link OAMServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
68
68
|
*
|
|
69
|
+
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class DeleteSinkCommand extends DeleteSinkCommand_base {
|
|
71
72
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetLinkCommandOutput extends GetLinkOutput, __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetLinkCommand_base: {
|
|
24
24
|
new (input: GetLinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetLinkCommandInput, GetLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetLinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetLinkCommandInput, GetLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns complete information about one link.</p>
|
|
30
30
|
* <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>
|
|
31
31
|
* @example
|
|
@@ -76,6 +76,7 @@ declare const GetLinkCommand_base: {
|
|
|
76
76
|
* @throws {@link OAMServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
78
78
|
*
|
|
79
|
+
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class GetLinkCommand extends GetLinkCommand_base {
|
|
81
82
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetSinkCommandOutput extends GetSinkOutput, __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetSinkCommand_base: {
|
|
24
24
|
new (input: GetSinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetSinkCommandInput, GetSinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetSinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetSinkCommandInput, GetSinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns complete information about one monitoring account sink.</p>
|
|
30
30
|
* <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>
|
|
31
31
|
* @example
|
|
@@ -71,6 +71,7 @@ declare const GetSinkCommand_base: {
|
|
|
71
71
|
* @throws {@link OAMServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
73
73
|
*
|
|
74
|
+
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class GetSinkCommand extends GetSinkCommand_base {
|
|
76
77
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetSinkPolicyCommandOutput extends GetSinkPolicyOutput, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetSinkPolicyCommand_base: {
|
|
24
24
|
new (input: GetSinkPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetSinkPolicyCommandInput, GetSinkPolicyCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetSinkPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetSinkPolicyCommandInput, GetSinkPolicyCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
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
|
|
@@ -68,6 +68,7 @@ declare const GetSinkPolicyCommand_base: {
|
|
|
68
68
|
* @throws {@link OAMServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
70
70
|
*
|
|
71
|
+
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class GetSinkPolicyCommand extends GetSinkPolicyCommand_base {
|
|
73
74
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListAttachedLinksCommandOutput extends ListAttachedLinksOutput,
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListAttachedLinksCommand_base: {
|
|
24
24
|
new (input: ListAttachedLinksCommandInput): import("@smithy/smithy-client").CommandImpl<ListAttachedLinksCommandInput, ListAttachedLinksCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListAttachedLinksCommandInput): import("@smithy/smithy-client").CommandImpl<ListAttachedLinksCommandInput, ListAttachedLinksCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns a list of source account links that are linked to this monitoring account sink.</p>
|
|
30
30
|
* <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>
|
|
31
31
|
* <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>
|
|
@@ -78,6 +78,7 @@ declare const ListAttachedLinksCommand_base: {
|
|
|
78
78
|
* @throws {@link OAMServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
80
80
|
*
|
|
81
|
+
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class ListAttachedLinksCommand extends ListAttachedLinksCommand_base {
|
|
83
84
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListLinksCommandOutput extends ListLinksOutput, __MetadataBeare
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListLinksCommand_base: {
|
|
24
24
|
new (input: ListLinksCommandInput): import("@smithy/smithy-client").CommandImpl<ListLinksCommandInput, ListLinksCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListLinksCommandInput]): import("@smithy/smithy-client").CommandImpl<ListLinksCommandInput, ListLinksCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
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>
|
|
@@ -76,6 +76,7 @@ declare const ListLinksCommand_base: {
|
|
|
76
76
|
* @throws {@link OAMServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
78
78
|
*
|
|
79
|
+
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class ListLinksCommand extends ListLinksCommand_base {
|
|
81
82
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListSinksCommandOutput extends ListSinksOutput, __MetadataBeare
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListSinksCommand_base: {
|
|
24
24
|
new (input: ListSinksCommandInput): import("@smithy/smithy-client").CommandImpl<ListSinksCommandInput, ListSinksCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListSinksCommandInput]): import("@smithy/smithy-client").CommandImpl<ListSinksCommandInput, ListSinksCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Use this operation in a monitoring account to return the list of sinks created in that account.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -70,6 +70,7 @@ declare const ListSinksCommand_base: {
|
|
|
70
70
|
* @throws {@link OAMServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
72
72
|
*
|
|
73
|
+
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class ListSinksCommand extends ListSinksCommand_base {
|
|
75
76
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListTagsForResourceCommand_base: {
|
|
24
24
|
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Displays the tags associated with a resource. Both sinks and links support tagging.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -61,6 +61,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
61
61
|
* @throws {@link OAMServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
63
63
|
*
|
|
64
|
+
* @public
|
|
64
65
|
*/
|
|
65
66
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
66
67
|
}
|
|
@@ -22,10 +22,10 @@ export interface PutSinkPolicyCommandOutput extends PutSinkPolicyOutput, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const PutSinkPolicyCommand_base: {
|
|
24
24
|
new (input: PutSinkPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutSinkPolicyCommandInput, PutSinkPolicyCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: PutSinkPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutSinkPolicyCommandInput, PutSinkPolicyCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Creates or updates the resource policy that grants permissions to source
|
|
30
30
|
* accounts to link to the monitoring account sink. When you create a sink policy, you can grant
|
|
31
31
|
* permissions to all accounts in an organization or to individual accounts.</p>
|
|
@@ -96,6 +96,7 @@ declare const PutSinkPolicyCommand_base: {
|
|
|
96
96
|
* @throws {@link OAMServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
98
98
|
*
|
|
99
|
+
* @public
|
|
99
100
|
*/
|
|
100
101
|
export declare class PutSinkPolicyCommand extends PutSinkPolicyCommand_base {
|
|
101
102
|
}
|
|
@@ -22,10 +22,10 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
22
22
|
}
|
|
23
23
|
declare const TagResourceCommand_base: {
|
|
24
24
|
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
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
|
|
@@ -79,6 +79,7 @@ declare const TagResourceCommand_base: {
|
|
|
79
79
|
* @throws {@link OAMServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
81
81
|
*
|
|
82
|
+
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
84
85
|
}
|
|
@@ -22,10 +22,10 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const UntagResourceCommand_base: {
|
|
24
24
|
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
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
|
|
@@ -66,6 +66,7 @@ declare const UntagResourceCommand_base: {
|
|
|
66
66
|
* @throws {@link OAMServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
68
68
|
*
|
|
69
|
+
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
71
72
|
}
|
|
@@ -22,10 +22,10 @@ export interface UpdateLinkCommandOutput extends UpdateLinkOutput, __MetadataBea
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdateLinkCommand_base: {
|
|
24
24
|
new (input: UpdateLinkCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLinkCommandInput, UpdateLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateLinkCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateLinkCommandInput, UpdateLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
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
31
|
* <p>To update the list of tags associated with the sink, use
|
|
@@ -81,6 +81,7 @@ declare const UpdateLinkCommand_base: {
|
|
|
81
81
|
* @throws {@link OAMServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from OAM service.</p>
|
|
83
83
|
*
|
|
84
|
+
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class UpdateLinkCommand extends UpdateLinkCommand_base {
|
|
86
87
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -21,5 +21,4 @@ export { OAMExtensionConfiguration } from "./extensionConfiguration";
|
|
|
21
21
|
export * from "./commands";
|
|
22
22
|
export * from "./pagination";
|
|
23
23
|
export * from "./models";
|
|
24
|
-
import "@aws-sdk/util-endpoints";
|
|
25
24
|
export { OAMServiceException } from "./models/OAMServiceException";
|