@aws-sdk/client-oam 3.975.0 → 3.978.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +12 -7
- package/dist-es/OAM.js +9 -1
- package/dist-types/OAM.d.ts +22 -1
- package/dist-types/ts3.4/OAM.d.ts +26 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -799,6 +799,12 @@ class UpdateLinkCommand extends smithyClient.Command
|
|
|
799
799
|
.build() {
|
|
800
800
|
}
|
|
801
801
|
|
|
802
|
+
const paginateListAttachedLinks = core.createPaginator(OAMClient, ListAttachedLinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
803
|
+
|
|
804
|
+
const paginateListLinks = core.createPaginator(OAMClient, ListLinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
805
|
+
|
|
806
|
+
const paginateListSinks = core.createPaginator(OAMClient, ListSinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
807
|
+
|
|
802
808
|
const commands = {
|
|
803
809
|
CreateLinkCommand,
|
|
804
810
|
CreateSinkCommand,
|
|
@@ -816,15 +822,14 @@ const commands = {
|
|
|
816
822
|
UntagResourceCommand,
|
|
817
823
|
UpdateLinkCommand,
|
|
818
824
|
};
|
|
825
|
+
const paginators = {
|
|
826
|
+
paginateListAttachedLinks,
|
|
827
|
+
paginateListLinks,
|
|
828
|
+
paginateListSinks,
|
|
829
|
+
};
|
|
819
830
|
class OAM extends OAMClient {
|
|
820
831
|
}
|
|
821
|
-
smithyClient.createAggregatedClient(commands, OAM);
|
|
822
|
-
|
|
823
|
-
const paginateListAttachedLinks = core.createPaginator(OAMClient, ListAttachedLinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
824
|
-
|
|
825
|
-
const paginateListLinks = core.createPaginator(OAMClient, ListLinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
826
|
-
|
|
827
|
-
const paginateListSinks = core.createPaginator(OAMClient, ListSinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
832
|
+
smithyClient.createAggregatedClient(commands, OAM, { paginators });
|
|
828
833
|
|
|
829
834
|
const ResourceType = {
|
|
830
835
|
AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
|
package/dist-es/OAM.js
CHANGED
|
@@ -15,6 +15,9 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
15
15
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
16
16
|
import { UpdateLinkCommand } from "./commands/UpdateLinkCommand";
|
|
17
17
|
import { OAMClient } from "./OAMClient";
|
|
18
|
+
import { paginateListAttachedLinks } from "./pagination/ListAttachedLinksPaginator";
|
|
19
|
+
import { paginateListLinks } from "./pagination/ListLinksPaginator";
|
|
20
|
+
import { paginateListSinks } from "./pagination/ListSinksPaginator";
|
|
18
21
|
const commands = {
|
|
19
22
|
CreateLinkCommand,
|
|
20
23
|
CreateSinkCommand,
|
|
@@ -32,6 +35,11 @@ const commands = {
|
|
|
32
35
|
UntagResourceCommand,
|
|
33
36
|
UpdateLinkCommand,
|
|
34
37
|
};
|
|
38
|
+
const paginators = {
|
|
39
|
+
paginateListAttachedLinks,
|
|
40
|
+
paginateListLinks,
|
|
41
|
+
paginateListSinks,
|
|
42
|
+
};
|
|
35
43
|
export class OAM extends OAMClient {
|
|
36
44
|
}
|
|
37
|
-
createAggregatedClient(commands, OAM);
|
|
45
|
+
createAggregatedClient(commands, OAM, { paginators });
|
package/dist-types/OAM.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateLinkCommandInput, CreateLinkCommandOutput } from "./commands/CreateLinkCommand";
|
|
3
3
|
import { CreateSinkCommandInput, CreateSinkCommandOutput } from "./commands/CreateSinkCommand";
|
|
4
4
|
import { DeleteLinkCommandInput, DeleteLinkCommandOutput } from "./commands/DeleteLinkCommand";
|
|
@@ -108,6 +108,27 @@ export interface OAM {
|
|
|
108
108
|
updateLink(args: UpdateLinkCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLinkCommandOutput>;
|
|
109
109
|
updateLink(args: UpdateLinkCommandInput, cb: (err: any, data?: UpdateLinkCommandOutput) => void): void;
|
|
110
110
|
updateLink(args: UpdateLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLinkCommandOutput) => void): void;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link ListAttachedLinksCommand}
|
|
113
|
+
* @param args - command input.
|
|
114
|
+
* @param paginationConfig - optional pagination config.
|
|
115
|
+
* @returns AsyncIterable of {@link ListAttachedLinksCommandOutput}.
|
|
116
|
+
*/
|
|
117
|
+
paginateListAttachedLinks(args: ListAttachedLinksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAttachedLinksCommandOutput>;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link ListLinksCommand}
|
|
120
|
+
* @param args - command input.
|
|
121
|
+
* @param paginationConfig - optional pagination config.
|
|
122
|
+
* @returns AsyncIterable of {@link ListLinksCommandOutput}.
|
|
123
|
+
*/
|
|
124
|
+
paginateListLinks(args?: ListLinksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLinksCommandOutput>;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link ListSinksCommand}
|
|
127
|
+
* @param args - command input.
|
|
128
|
+
* @param paginationConfig - optional pagination config.
|
|
129
|
+
* @returns AsyncIterable of {@link ListSinksCommandOutput}.
|
|
130
|
+
*/
|
|
131
|
+
paginateListSinks(args?: ListSinksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSinksCommandOutput>;
|
|
111
132
|
}
|
|
112
133
|
/**
|
|
113
134
|
* <p>Use Amazon CloudWatch Observability Access Manager to create and manage links between source accounts and monitoring accounts by using <i>CloudWatch cross-account observability</i>. With CloudWatch cross-account observability, you can monitor and troubleshoot applications that span multiple accounts within a Region. Seamlessly search, visualize, and analyze your metrics, logs, traces, Application Signals services and service level objectives (SLOs), Application Insights applications, and internet monitors in any of the linked accounts without account boundaries.</p> <p>Set up one or more Amazon Web Services accounts as <i>monitoring accounts</i> and link them with multiple <i>source accounts</i>. A monitoring account is a central Amazon Web Services account that can view and interact with 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. Source accounts share their observability data with the monitoring account. The shared observability data can include metrics in Amazon CloudWatch, logs in Amazon CloudWatch Logs, traces in X-Ray, Application Signals services and service level objectives (SLOs), applications in Amazon CloudWatch Application Insights, and internet monitors in CloudWatch Internet Monitor.</p> <p>When you set up a link, you can choose to share the metrics from all namespaces with the monitoring account, or filter to a subset of namespaces. And for CloudWatch Logs, you can choose to share all log groups with the monitoring account, or filter to a subset of log groups. </p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateLinkCommandInput,
|
|
4
8
|
CreateLinkCommandOutput,
|
|
@@ -258,5 +262,26 @@ export interface OAM {
|
|
|
258
262
|
options: __HttpHandlerOptions,
|
|
259
263
|
cb: (err: any, data?: UpdateLinkCommandOutput) => void
|
|
260
264
|
): void;
|
|
265
|
+
paginateListAttachedLinks(
|
|
266
|
+
args: ListAttachedLinksCommandInput,
|
|
267
|
+
paginationConfig?: Pick<
|
|
268
|
+
PaginationConfiguration,
|
|
269
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
270
|
+
>
|
|
271
|
+
): Paginator<ListAttachedLinksCommandOutput>;
|
|
272
|
+
paginateListLinks(
|
|
273
|
+
args?: ListLinksCommandInput,
|
|
274
|
+
paginationConfig?: Pick<
|
|
275
|
+
PaginationConfiguration,
|
|
276
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
277
|
+
>
|
|
278
|
+
): Paginator<ListLinksCommandOutput>;
|
|
279
|
+
paginateListSinks(
|
|
280
|
+
args?: ListSinksCommandInput,
|
|
281
|
+
paginationConfig?: Pick<
|
|
282
|
+
PaginationConfiguration,
|
|
283
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
284
|
+
>
|
|
285
|
+
): Paginator<ListSinksCommandOutput>;
|
|
261
286
|
}
|
|
262
287
|
export declare class OAM extends OAMClient implements OAM {}
|
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.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-oam",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|