@aws-sdk/client-aiops 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 +6 -3
- package/dist-es/AIOps.js +5 -1
- package/dist-types/AIOps.d.ts +8 -1
- package/dist-types/ts3.4/AIOps.d.ts +12 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -651,6 +651,8 @@ class UpdateInvestigationGroupCommand extends smithyClient.Command
|
|
|
651
651
|
.build() {
|
|
652
652
|
}
|
|
653
653
|
|
|
654
|
+
const paginateListInvestigationGroups = core.createPaginator(AIOpsClient, ListInvestigationGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
655
|
+
|
|
654
656
|
const commands = {
|
|
655
657
|
CreateInvestigationGroupCommand,
|
|
656
658
|
DeleteInvestigationGroupCommand,
|
|
@@ -664,11 +666,12 @@ const commands = {
|
|
|
664
666
|
UntagResourceCommand,
|
|
665
667
|
UpdateInvestigationGroupCommand,
|
|
666
668
|
};
|
|
669
|
+
const paginators = {
|
|
670
|
+
paginateListInvestigationGroups,
|
|
671
|
+
};
|
|
667
672
|
class AIOps extends AIOpsClient {
|
|
668
673
|
}
|
|
669
|
-
smithyClient.createAggregatedClient(commands, AIOps);
|
|
670
|
-
|
|
671
|
-
const paginateListInvestigationGroups = core.createPaginator(AIOpsClient, ListInvestigationGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
674
|
+
smithyClient.createAggregatedClient(commands, AIOps, { paginators });
|
|
672
675
|
|
|
673
676
|
const EncryptionConfigurationType = {
|
|
674
677
|
AWS_OWNED_KEY: "AWS_OWNED_KEY",
|
package/dist-es/AIOps.js
CHANGED
|
@@ -11,6 +11,7 @@ import { PutInvestigationGroupPolicyCommand, } from "./commands/PutInvestigation
|
|
|
11
11
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
12
12
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
13
13
|
import { UpdateInvestigationGroupCommand, } from "./commands/UpdateInvestigationGroupCommand";
|
|
14
|
+
import { paginateListInvestigationGroups } from "./pagination/ListInvestigationGroupsPaginator";
|
|
14
15
|
const commands = {
|
|
15
16
|
CreateInvestigationGroupCommand,
|
|
16
17
|
DeleteInvestigationGroupCommand,
|
|
@@ -24,6 +25,9 @@ const commands = {
|
|
|
24
25
|
UntagResourceCommand,
|
|
25
26
|
UpdateInvestigationGroupCommand,
|
|
26
27
|
};
|
|
28
|
+
const paginators = {
|
|
29
|
+
paginateListInvestigationGroups,
|
|
30
|
+
};
|
|
27
31
|
export class AIOps extends AIOpsClient {
|
|
28
32
|
}
|
|
29
|
-
createAggregatedClient(commands, AIOps);
|
|
33
|
+
createAggregatedClient(commands, AIOps, { paginators });
|
package/dist-types/AIOps.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 { AIOpsClient } from "./AIOpsClient";
|
|
3
3
|
import { CreateInvestigationGroupCommandInput, CreateInvestigationGroupCommandOutput } from "./commands/CreateInvestigationGroupCommand";
|
|
4
4
|
import { DeleteInvestigationGroupCommandInput, DeleteInvestigationGroupCommandOutput } from "./commands/DeleteInvestigationGroupCommand";
|
|
@@ -79,6 +79,13 @@ export interface AIOps {
|
|
|
79
79
|
updateInvestigationGroup(args: UpdateInvestigationGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInvestigationGroupCommandOutput>;
|
|
80
80
|
updateInvestigationGroup(args: UpdateInvestigationGroupCommandInput, cb: (err: any, data?: UpdateInvestigationGroupCommandOutput) => void): void;
|
|
81
81
|
updateInvestigationGroup(args: UpdateInvestigationGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInvestigationGroupCommandOutput) => void): void;
|
|
82
|
+
/**
|
|
83
|
+
* @see {@link ListInvestigationGroupsCommand}
|
|
84
|
+
* @param args - command input.
|
|
85
|
+
* @param paginationConfig - optional pagination config.
|
|
86
|
+
* @returns AsyncIterable of {@link ListInvestigationGroupsCommandOutput}.
|
|
87
|
+
*/
|
|
88
|
+
paginateListInvestigationGroups(args?: ListInvestigationGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInvestigationGroupsCommandOutput>;
|
|
82
89
|
}
|
|
83
90
|
/**
|
|
84
91
|
* <p>The CloudWatch investigations feature is a generative AI-powered assistant that can help you respond to incidents in your system. It uses generative AI to scan your system's telemetry and quickly surface suggestions that might be related to your issue. These suggestions include metrics, logs, deployment events, and root-cause hypotheses. </p> <p>You can use API actions to create, manage, and delete investigation groups and investigation group policies. To start and manage investigations, you must use the CloudWatch console.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { AIOpsClient } from "./AIOpsClient";
|
|
3
7
|
import {
|
|
4
8
|
CreateInvestigationGroupCommandInput,
|
|
@@ -189,5 +193,12 @@ export interface AIOps {
|
|
|
189
193
|
options: __HttpHandlerOptions,
|
|
190
194
|
cb: (err: any, data?: UpdateInvestigationGroupCommandOutput) => void
|
|
191
195
|
): void;
|
|
196
|
+
paginateListInvestigationGroups(
|
|
197
|
+
args?: ListInvestigationGroupsCommandInput,
|
|
198
|
+
paginationConfig?: Pick<
|
|
199
|
+
PaginationConfiguration,
|
|
200
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
201
|
+
>
|
|
202
|
+
): Paginator<ListInvestigationGroupsCommandOutput>;
|
|
192
203
|
}
|
|
193
204
|
export declare class AIOps extends AIOpsClient implements AIOps {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-aiops",
|
|
3
3
|
"description": "AWS SDK for JavaScript Aiops 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-aiops",
|
|
@@ -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",
|