@aws-sdk/client-aiops 3.832.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/LICENSE +201 -0
- package/README.md +293 -0
- package/dist-cjs/AIOps.js +33 -0
- package/dist-cjs/AIOpsClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateInvestigationGroupCommand.js +26 -0
- package/dist-cjs/commands/DeleteInvestigationGroupCommand.js +26 -0
- package/dist-cjs/commands/DeleteInvestigationGroupPolicyCommand.js +26 -0
- package/dist-cjs/commands/GetInvestigationGroupCommand.js +26 -0
- package/dist-cjs/commands/GetInvestigationGroupPolicyCommand.js +26 -0
- package/dist-cjs/commands/ListInvestigationGroupsCommand.js +27 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/PutInvestigationGroupPolicyCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateInvestigationGroupCommand.js +26 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/endpoint/EndpointParameters.js +17 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/AIOpsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +131 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListInvestigationGroupsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +471 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/AIOps.js +29 -0
- package/dist-es/AIOpsClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateInvestigationGroupCommand.js +22 -0
- package/dist-es/commands/DeleteInvestigationGroupCommand.js +22 -0
- package/dist-es/commands/DeleteInvestigationGroupPolicyCommand.js +22 -0
- package/dist-es/commands/GetInvestigationGroupCommand.js +22 -0
- package/dist-es/commands/GetInvestigationGroupPolicyCommand.js +22 -0
- package/dist-es/commands/ListInvestigationGroupsCommand.js +23 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/PutInvestigationGroupPolicyCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateInvestigationGroupCommand.js +22 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/AIOpsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +118 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListInvestigationGroupsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +446 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/AIOps.d.ts +88 -0
- package/dist-types/AIOpsClient.d.ts +198 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateInvestigationGroupCommand.d.ts +114 -0
- package/dist-types/commands/DeleteInvestigationGroupCommand.d.ts +91 -0
- package/dist-types/commands/DeleteInvestigationGroupPolicyCommand.d.ts +91 -0
- package/dist-types/commands/GetInvestigationGroupCommand.d.ts +113 -0
- package/dist-types/commands/GetInvestigationGroupPolicyCommand.d.ts +94 -0
- package/dist-types/commands/ListInvestigationGroupsCommand.d.ts +100 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +95 -0
- package/dist-types/commands/PutInvestigationGroupPolicyCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UpdateInvestigationGroupCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/AIOpsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +505 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListInvestigationGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +101 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/AIOps.d.ts +193 -0
- package/dist-types/ts3.4/AIOpsClient.d.ts +185 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateInvestigationGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteInvestigationGroupCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteInvestigationGroupPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetInvestigationGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetInvestigationGroupPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInvestigationGroupsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutInvestigationGroupPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateInvestigationGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +48 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/AIOpsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +162 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListInvestigationGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +137 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +92 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +99 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { AIOpsClient } from "./AIOpsClient";
|
|
3
|
+
import { CreateInvestigationGroupCommandInput, CreateInvestigationGroupCommandOutput } from "./commands/CreateInvestigationGroupCommand";
|
|
4
|
+
import { DeleteInvestigationGroupCommandInput, DeleteInvestigationGroupCommandOutput } from "./commands/DeleteInvestigationGroupCommand";
|
|
5
|
+
import { DeleteInvestigationGroupPolicyCommandInput, DeleteInvestigationGroupPolicyCommandOutput } from "./commands/DeleteInvestigationGroupPolicyCommand";
|
|
6
|
+
import { GetInvestigationGroupCommandInput, GetInvestigationGroupCommandOutput } from "./commands/GetInvestigationGroupCommand";
|
|
7
|
+
import { GetInvestigationGroupPolicyCommandInput, GetInvestigationGroupPolicyCommandOutput } from "./commands/GetInvestigationGroupPolicyCommand";
|
|
8
|
+
import { ListInvestigationGroupsCommandInput, ListInvestigationGroupsCommandOutput } from "./commands/ListInvestigationGroupsCommand";
|
|
9
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
10
|
+
import { PutInvestigationGroupPolicyCommandInput, PutInvestigationGroupPolicyCommandOutput } from "./commands/PutInvestigationGroupPolicyCommand";
|
|
11
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
12
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
13
|
+
import { UpdateInvestigationGroupCommandInput, UpdateInvestigationGroupCommandOutput } from "./commands/UpdateInvestigationGroupCommand";
|
|
14
|
+
export interface AIOps {
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link CreateInvestigationGroupCommand}
|
|
17
|
+
*/
|
|
18
|
+
createInvestigationGroup(args: CreateInvestigationGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateInvestigationGroupCommandOutput>;
|
|
19
|
+
createInvestigationGroup(args: CreateInvestigationGroupCommandInput, cb: (err: any, data?: CreateInvestigationGroupCommandOutput) => void): void;
|
|
20
|
+
createInvestigationGroup(args: CreateInvestigationGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateInvestigationGroupCommandOutput) => void): void;
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link DeleteInvestigationGroupCommand}
|
|
23
|
+
*/
|
|
24
|
+
deleteInvestigationGroup(args: DeleteInvestigationGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInvestigationGroupCommandOutput>;
|
|
25
|
+
deleteInvestigationGroup(args: DeleteInvestigationGroupCommandInput, cb: (err: any, data?: DeleteInvestigationGroupCommandOutput) => void): void;
|
|
26
|
+
deleteInvestigationGroup(args: DeleteInvestigationGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInvestigationGroupCommandOutput) => void): void;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link DeleteInvestigationGroupPolicyCommand}
|
|
29
|
+
*/
|
|
30
|
+
deleteInvestigationGroupPolicy(args: DeleteInvestigationGroupPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInvestigationGroupPolicyCommandOutput>;
|
|
31
|
+
deleteInvestigationGroupPolicy(args: DeleteInvestigationGroupPolicyCommandInput, cb: (err: any, data?: DeleteInvestigationGroupPolicyCommandOutput) => void): void;
|
|
32
|
+
deleteInvestigationGroupPolicy(args: DeleteInvestigationGroupPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInvestigationGroupPolicyCommandOutput) => void): void;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link GetInvestigationGroupCommand}
|
|
35
|
+
*/
|
|
36
|
+
getInvestigationGroup(args: GetInvestigationGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetInvestigationGroupCommandOutput>;
|
|
37
|
+
getInvestigationGroup(args: GetInvestigationGroupCommandInput, cb: (err: any, data?: GetInvestigationGroupCommandOutput) => void): void;
|
|
38
|
+
getInvestigationGroup(args: GetInvestigationGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInvestigationGroupCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link GetInvestigationGroupPolicyCommand}
|
|
41
|
+
*/
|
|
42
|
+
getInvestigationGroupPolicy(args: GetInvestigationGroupPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetInvestigationGroupPolicyCommandOutput>;
|
|
43
|
+
getInvestigationGroupPolicy(args: GetInvestigationGroupPolicyCommandInput, cb: (err: any, data?: GetInvestigationGroupPolicyCommandOutput) => void): void;
|
|
44
|
+
getInvestigationGroupPolicy(args: GetInvestigationGroupPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInvestigationGroupPolicyCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link ListInvestigationGroupsCommand}
|
|
47
|
+
*/
|
|
48
|
+
listInvestigationGroups(): Promise<ListInvestigationGroupsCommandOutput>;
|
|
49
|
+
listInvestigationGroups(args: ListInvestigationGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvestigationGroupsCommandOutput>;
|
|
50
|
+
listInvestigationGroups(args: ListInvestigationGroupsCommandInput, cb: (err: any, data?: ListInvestigationGroupsCommandOutput) => void): void;
|
|
51
|
+
listInvestigationGroups(args: ListInvestigationGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInvestigationGroupsCommandOutput) => void): void;
|
|
52
|
+
/**
|
|
53
|
+
* @see {@link ListTagsForResourceCommand}
|
|
54
|
+
*/
|
|
55
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
56
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
57
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
58
|
+
/**
|
|
59
|
+
* @see {@link PutInvestigationGroupPolicyCommand}
|
|
60
|
+
*/
|
|
61
|
+
putInvestigationGroupPolicy(args: PutInvestigationGroupPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutInvestigationGroupPolicyCommandOutput>;
|
|
62
|
+
putInvestigationGroupPolicy(args: PutInvestigationGroupPolicyCommandInput, cb: (err: any, data?: PutInvestigationGroupPolicyCommandOutput) => void): void;
|
|
63
|
+
putInvestigationGroupPolicy(args: PutInvestigationGroupPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInvestigationGroupPolicyCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link TagResourceCommand}
|
|
66
|
+
*/
|
|
67
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
68
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
69
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
70
|
+
/**
|
|
71
|
+
* @see {@link UntagResourceCommand}
|
|
72
|
+
*/
|
|
73
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
74
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
75
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
76
|
+
/**
|
|
77
|
+
* @see {@link UpdateInvestigationGroupCommand}
|
|
78
|
+
*/
|
|
79
|
+
updateInvestigationGroup(args: UpdateInvestigationGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInvestigationGroupCommandOutput>;
|
|
80
|
+
updateInvestigationGroup(args: UpdateInvestigationGroupCommandInput, cb: (err: any, data?: UpdateInvestigationGroupCommandOutput) => void): void;
|
|
81
|
+
updateInvestigationGroup(args: UpdateInvestigationGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInvestigationGroupCommandOutput) => void): void;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* <p>The Amazon Q Developer operational 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>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class AIOps extends AIOpsClient implements AIOps {
|
|
88
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { CreateInvestigationGroupCommandInput, CreateInvestigationGroupCommandOutput } from "./commands/CreateInvestigationGroupCommand";
|
|
11
|
+
import { DeleteInvestigationGroupCommandInput, DeleteInvestigationGroupCommandOutput } from "./commands/DeleteInvestigationGroupCommand";
|
|
12
|
+
import { DeleteInvestigationGroupPolicyCommandInput, DeleteInvestigationGroupPolicyCommandOutput } from "./commands/DeleteInvestigationGroupPolicyCommand";
|
|
13
|
+
import { GetInvestigationGroupCommandInput, GetInvestigationGroupCommandOutput } from "./commands/GetInvestigationGroupCommand";
|
|
14
|
+
import { GetInvestigationGroupPolicyCommandInput, GetInvestigationGroupPolicyCommandOutput } from "./commands/GetInvestigationGroupPolicyCommand";
|
|
15
|
+
import { ListInvestigationGroupsCommandInput, ListInvestigationGroupsCommandOutput } from "./commands/ListInvestigationGroupsCommand";
|
|
16
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
17
|
+
import { PutInvestigationGroupPolicyCommandInput, PutInvestigationGroupPolicyCommandOutput } from "./commands/PutInvestigationGroupPolicyCommand";
|
|
18
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
19
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
20
|
+
import { UpdateInvestigationGroupCommandInput, UpdateInvestigationGroupCommandOutput } from "./commands/UpdateInvestigationGroupCommand";
|
|
21
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
22
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
23
|
+
export { __Client };
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type ServiceInputTypes = CreateInvestigationGroupCommandInput | DeleteInvestigationGroupCommandInput | DeleteInvestigationGroupPolicyCommandInput | GetInvestigationGroupCommandInput | GetInvestigationGroupPolicyCommandInput | ListInvestigationGroupsCommandInput | ListTagsForResourceCommandInput | PutInvestigationGroupPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateInvestigationGroupCommandInput;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type ServiceOutputTypes = CreateInvestigationGroupCommandOutput | DeleteInvestigationGroupCommandOutput | DeleteInvestigationGroupPolicyCommandOutput | GetInvestigationGroupCommandOutput | GetInvestigationGroupPolicyCommandOutput | ListInvestigationGroupsCommandOutput | ListTagsForResourceCommandOutput | PutInvestigationGroupPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateInvestigationGroupCommandOutput;
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
36
|
+
/**
|
|
37
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
38
|
+
*/
|
|
39
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
40
|
+
/**
|
|
41
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
42
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
46
|
+
/**
|
|
47
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
urlParser?: __UrlParser;
|
|
51
|
+
/**
|
|
52
|
+
* A function that can calculate the length of a request body.
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
56
|
+
/**
|
|
57
|
+
* A function that converts a stream into an array of bytes.
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
streamCollector?: __StreamCollector;
|
|
61
|
+
/**
|
|
62
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
base64Decoder?: __Decoder;
|
|
66
|
+
/**
|
|
67
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
base64Encoder?: __Encoder;
|
|
71
|
+
/**
|
|
72
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
utf8Decoder?: __Decoder;
|
|
76
|
+
/**
|
|
77
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
utf8Encoder?: __Encoder;
|
|
81
|
+
/**
|
|
82
|
+
* The runtime environment.
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
runtime?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
88
|
+
* trait of an operation.
|
|
89
|
+
*/
|
|
90
|
+
disableHostPrefix?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Unique service identifier.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
serviceId?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
98
|
+
*/
|
|
99
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
100
|
+
/**
|
|
101
|
+
* Enables FIPS compatible endpoints.
|
|
102
|
+
*/
|
|
103
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* The AWS region to which this client will send requests
|
|
106
|
+
*/
|
|
107
|
+
region?: string | __Provider<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Setting a client profile is similar to setting a value for the
|
|
110
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
111
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
112
|
+
*
|
|
113
|
+
* When set, and only for environments where an AWS configuration
|
|
114
|
+
* file exists, fields configurable by this file will be retrieved
|
|
115
|
+
* from the specified profile within that file.
|
|
116
|
+
* Conflicting code configuration and environment variables will
|
|
117
|
+
* still have higher priority.
|
|
118
|
+
*
|
|
119
|
+
* For client credential resolution that involves checking the AWS
|
|
120
|
+
* configuration file, the client's profile (this value) will be
|
|
121
|
+
* used unless a different profile is set in the credential
|
|
122
|
+
* provider options.
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
profile?: string;
|
|
126
|
+
/**
|
|
127
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
131
|
+
/**
|
|
132
|
+
* Default credentials provider; Not available in browser runtime.
|
|
133
|
+
* @deprecated
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
137
|
+
/**
|
|
138
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
139
|
+
*/
|
|
140
|
+
maxAttempts?: number | __Provider<number>;
|
|
141
|
+
/**
|
|
142
|
+
* Specifies which retry algorithm to use.
|
|
143
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
144
|
+
*
|
|
145
|
+
*/
|
|
146
|
+
retryMode?: string | __Provider<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Optional logger for logging debug/info/warn/error.
|
|
149
|
+
*/
|
|
150
|
+
logger?: __Logger;
|
|
151
|
+
/**
|
|
152
|
+
* Optional extensions
|
|
153
|
+
*/
|
|
154
|
+
extensions?: RuntimeExtension[];
|
|
155
|
+
/**
|
|
156
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
157
|
+
*/
|
|
158
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export type AIOpsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
*
|
|
167
|
+
* The configuration interface of AIOpsClient class constructor that set the region, credentials and other options.
|
|
168
|
+
*/
|
|
169
|
+
export interface AIOpsClientConfig extends AIOpsClientConfigType {
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
export type AIOpsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*
|
|
178
|
+
* The resolved configuration interface of AIOpsClient class. This is resolved and normalized from the {@link AIOpsClientConfig | constructor configuration interface}.
|
|
179
|
+
*/
|
|
180
|
+
export interface AIOpsClientResolvedConfig extends AIOpsClientResolvedConfigType {
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* <p>The Amazon Q Developer operational 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>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export declare class AIOpsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AIOpsClientResolvedConfig> {
|
|
187
|
+
/**
|
|
188
|
+
* The resolved configuration of AIOpsClient class. This is resolved and normalized from the {@link AIOpsClientConfig | constructor configuration interface}.
|
|
189
|
+
*/
|
|
190
|
+
readonly config: AIOpsClientResolvedConfig;
|
|
191
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<AIOpsClientConfig>);
|
|
192
|
+
/**
|
|
193
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
194
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
195
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
196
|
+
*/
|
|
197
|
+
destroy(): void;
|
|
198
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { AIOpsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: AIOpsHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): AIOpsHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: AIOpsHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { AIOpsClientResolvedConfig } from "../AIOpsClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface AIOpsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface AIOpsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<AIOpsClientResolvedConfig, HandlerExecutionContext, AIOpsHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultAIOpsHttpAuthSchemeParametersProvider: (config: AIOpsClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<AIOpsHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface AIOpsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<AIOpsHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultAIOpsHttpAuthSchemeProvider: AIOpsHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: AIOpsHttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: AIOpsHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AIOpsClient";
|
|
4
|
+
import { CreateInvestigationGroupInput, CreateInvestigationGroupOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateInvestigationGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateInvestigationGroupCommandInput extends CreateInvestigationGroupInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateInvestigationGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateInvestigationGroupCommandOutput extends CreateInvestigationGroupOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateInvestigationGroupCommand_base: {
|
|
25
|
+
new (input: CreateInvestigationGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInvestigationGroupCommandInput, CreateInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateInvestigationGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInvestigationGroupCommandInput, CreateInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an <i>investigation group</i> in your account. Creating an investigation group is a one-time setup task for each Region in your account. It is a necessary task to be able to perform investigations.</p> <p>Settings in the investigation group help you centrally manage the common properties of your investigations, such as the following:</p> <ul> <li> <p>Who can access the investigations</p> </li> <li> <p>Whether investigation data is encrypted with a customer managed Key Management Service key.</p> </li> <li> <p>How long investigations and their data are retained by default.</p> </li> </ul> <p>Currently, you can have one investigation group in each Region in your account. Each investigation in a Region is a part of the investigation group in that Region</p> <p>To create an investigation group and set up Amazon Q Developer operational investigations, you must be signed in to an IAM principal that has the either the <code>AIOpsConsoleAdminPolicy</code> or the <code>AdministratorAccess</code> IAM policy attached, or to an account that has similar permissions.</p> <important> <p>You can configure CloudWatch alarms to start investigations and add events to investigations. If you create your investigation group with <code>CreateInvestigationGroup</code> and you want to enable alarms to do this, you must use <a href="https://docs.aws.amazon.com/operationalinvestigations/latest/AmazonQDeveloperOperationalInvestigationsAPIReference/API_PutInvestigationGroupPolicy.html">PutInvestigationGroupPolicy</a> to create a resource policy that grants this permission to CloudWatch alarms. </p> <p>For more information about configuring CloudWatch alarms to work with Amazon Q Developer operational investigations, see </p> </important>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { AIOpsClient, CreateInvestigationGroupCommand } from "@aws-sdk/client-aiops"; // ES Modules import
|
|
35
|
+
* // const { AIOpsClient, CreateInvestigationGroupCommand } = require("@aws-sdk/client-aiops"); // CommonJS import
|
|
36
|
+
* const client = new AIOpsClient(config);
|
|
37
|
+
* const input = { // CreateInvestigationGroupInput
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* roleArn: "STRING_VALUE", // required
|
|
40
|
+
* encryptionConfiguration: { // EncryptionConfiguration
|
|
41
|
+
* type: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KMS_KEY",
|
|
42
|
+
* kmsKeyId: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* retentionInDays: Number("long"),
|
|
45
|
+
* tags: { // Tags
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* tagKeyBoundaries: [ // TagKeyBoundaries
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* chatbotNotificationChannel: { // ChatbotNotificationChannel
|
|
52
|
+
* "<keys>": [ // ChatConfigurationArns
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* isCloudTrailEventHistoryEnabled: true || false,
|
|
57
|
+
* };
|
|
58
|
+
* const command = new CreateInvestigationGroupCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // CreateInvestigationGroupOutput
|
|
61
|
+
* // arn: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param CreateInvestigationGroupCommandInput - {@link CreateInvestigationGroupCommandInput}
|
|
67
|
+
* @returns {@link CreateInvestigationGroupCommandOutput}
|
|
68
|
+
* @see {@link CreateInvestigationGroupCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link CreateInvestigationGroupCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link AIOpsClientResolvedConfig | config} for AIOpsClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ConflictException} (client fault)
|
|
76
|
+
* <p>This operation couldn't be completed because of a conflict in resource states.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>An internal server error occurred. You can try again later.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The specified resource doesn't exist.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
85
|
+
* <p>This request exceeds a service quota.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <p>The request was throttled because of quota limits. You can try again later.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ValidationException} (client fault)
|
|
91
|
+
* <p>This operation or its parameters aren't formatted correctly.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
94
|
+
* <p>Access id denied for this operation, or this operation is not valid for the specified resource.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link AIOpsServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from AIOps service.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class CreateInvestigationGroupCommand extends CreateInvestigationGroupCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: CreateInvestigationGroupInput;
|
|
107
|
+
output: CreateInvestigationGroupOutput;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: CreateInvestigationGroupCommandInput;
|
|
111
|
+
output: CreateInvestigationGroupCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AIOpsClient";
|
|
4
|
+
import { DeleteInvestigationGroupRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteInvestigationGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteInvestigationGroupCommandInput extends DeleteInvestigationGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteInvestigationGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteInvestigationGroupCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteInvestigationGroupCommand_base: {
|
|
25
|
+
new (input: DeleteInvestigationGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInvestigationGroupCommandInput, DeleteInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteInvestigationGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInvestigationGroupCommandInput, DeleteInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified investigation group from your account. You can currently have one investigation group per Region in your account. After you delete an investigation group, you can later create a new investigation group in the same Region.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { AIOpsClient, DeleteInvestigationGroupCommand } from "@aws-sdk/client-aiops"; // ES Modules import
|
|
35
|
+
* // const { AIOpsClient, DeleteInvestigationGroupCommand } = require("@aws-sdk/client-aiops"); // CommonJS import
|
|
36
|
+
* const client = new AIOpsClient(config);
|
|
37
|
+
* const input = { // DeleteInvestigationGroupRequest
|
|
38
|
+
* identifier: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteInvestigationGroupCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteInvestigationGroupCommandInput - {@link DeleteInvestigationGroupCommandInput}
|
|
47
|
+
* @returns {@link DeleteInvestigationGroupCommandOutput}
|
|
48
|
+
* @see {@link DeleteInvestigationGroupCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteInvestigationGroupCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link AIOpsClientResolvedConfig | config} for AIOpsClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>An internal server error occurred. You can try again later.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The specified resource doesn't exist.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
+
* <p>The request was throttled because of quota limits. You can try again later.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConflictException} (client fault)
|
|
65
|
+
* <p>This operation couldn't be completed because of a conflict in resource states.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
68
|
+
* <p>Access id denied for this operation, or this operation is not valid for the specified resource.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>This operation or its parameters aren't formatted correctly.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AIOpsServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from AIOps service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class DeleteInvestigationGroupCommand extends DeleteInvestigationGroupCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: DeleteInvestigationGroupRequest;
|
|
84
|
+
output: {};
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: DeleteInvestigationGroupCommandInput;
|
|
88
|
+
output: DeleteInvestigationGroupCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|