@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.
Files changed (135) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +293 -0
  3. package/dist-cjs/AIOps.js +33 -0
  4. package/dist-cjs/AIOpsClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateInvestigationGroupCommand.js +26 -0
  8. package/dist-cjs/commands/DeleteInvestigationGroupCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteInvestigationGroupPolicyCommand.js +26 -0
  10. package/dist-cjs/commands/GetInvestigationGroupCommand.js +26 -0
  11. package/dist-cjs/commands/GetInvestigationGroupPolicyCommand.js +26 -0
  12. package/dist-cjs/commands/ListInvestigationGroupsCommand.js +27 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  14. package/dist-cjs/commands/PutInvestigationGroupPolicyCommand.js +26 -0
  15. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  16. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  17. package/dist-cjs/commands/UpdateInvestigationGroupCommand.js +26 -0
  18. package/dist-cjs/commands/index.js +14 -0
  19. package/dist-cjs/endpoint/EndpointParameters.js +17 -0
  20. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  21. package/dist-cjs/endpoint/ruleset.js +7 -0
  22. package/dist-cjs/extensionConfiguration.js +2 -0
  23. package/dist-cjs/index.js +11 -0
  24. package/dist-cjs/models/AIOpsServiceException.js +12 -0
  25. package/dist-cjs/models/index.js +4 -0
  26. package/dist-cjs/models/models_0.js +131 -0
  27. package/dist-cjs/pagination/Interfaces.js +2 -0
  28. package/dist-cjs/pagination/ListInvestigationGroupsPaginator.js +7 -0
  29. package/dist-cjs/pagination/index.js +5 -0
  30. package/dist-cjs/protocols/Aws_restJson1.js +471 -0
  31. package/dist-cjs/runtimeConfig.browser.js +39 -0
  32. package/dist-cjs/runtimeConfig.js +56 -0
  33. package/dist-cjs/runtimeConfig.native.js +15 -0
  34. package/dist-cjs/runtimeConfig.shared.js +34 -0
  35. package/dist-cjs/runtimeExtensions.js +13 -0
  36. package/dist-es/AIOps.js +29 -0
  37. package/dist-es/AIOpsClient.js +48 -0
  38. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  39. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  40. package/dist-es/commands/CreateInvestigationGroupCommand.js +22 -0
  41. package/dist-es/commands/DeleteInvestigationGroupCommand.js +22 -0
  42. package/dist-es/commands/DeleteInvestigationGroupPolicyCommand.js +22 -0
  43. package/dist-es/commands/GetInvestigationGroupCommand.js +22 -0
  44. package/dist-es/commands/GetInvestigationGroupPolicyCommand.js +22 -0
  45. package/dist-es/commands/ListInvestigationGroupsCommand.js +23 -0
  46. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  47. package/dist-es/commands/PutInvestigationGroupPolicyCommand.js +22 -0
  48. package/dist-es/commands/TagResourceCommand.js +22 -0
  49. package/dist-es/commands/UntagResourceCommand.js +22 -0
  50. package/dist-es/commands/UpdateInvestigationGroupCommand.js +22 -0
  51. package/dist-es/commands/index.js +11 -0
  52. package/dist-es/endpoint/EndpointParameters.js +13 -0
  53. package/dist-es/endpoint/endpointResolver.js +14 -0
  54. package/dist-es/endpoint/ruleset.js +4 -0
  55. package/dist-es/extensionConfiguration.js +1 -0
  56. package/dist-es/index.js +6 -0
  57. package/dist-es/models/AIOpsServiceException.js +8 -0
  58. package/dist-es/models/index.js +1 -0
  59. package/dist-es/models/models_0.js +118 -0
  60. package/dist-es/pagination/Interfaces.js +1 -0
  61. package/dist-es/pagination/ListInvestigationGroupsPaginator.js +4 -0
  62. package/dist-es/pagination/index.js +2 -0
  63. package/dist-es/protocols/Aws_restJson1.js +446 -0
  64. package/dist-es/runtimeConfig.browser.js +34 -0
  65. package/dist-es/runtimeConfig.js +51 -0
  66. package/dist-es/runtimeConfig.native.js +11 -0
  67. package/dist-es/runtimeConfig.shared.js +30 -0
  68. package/dist-es/runtimeExtensions.js +9 -0
  69. package/dist-types/AIOps.d.ts +88 -0
  70. package/dist-types/AIOpsClient.d.ts +198 -0
  71. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  72. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  73. package/dist-types/commands/CreateInvestigationGroupCommand.d.ts +114 -0
  74. package/dist-types/commands/DeleteInvestigationGroupCommand.d.ts +91 -0
  75. package/dist-types/commands/DeleteInvestigationGroupPolicyCommand.d.ts +91 -0
  76. package/dist-types/commands/GetInvestigationGroupCommand.d.ts +113 -0
  77. package/dist-types/commands/GetInvestigationGroupPolicyCommand.d.ts +94 -0
  78. package/dist-types/commands/ListInvestigationGroupsCommand.d.ts +100 -0
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +95 -0
  80. package/dist-types/commands/PutInvestigationGroupPolicyCommand.d.ts +94 -0
  81. package/dist-types/commands/TagResourceCommand.d.ts +94 -0
  82. package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
  83. package/dist-types/commands/UpdateInvestigationGroupCommand.d.ts +105 -0
  84. package/dist-types/commands/index.d.ts +11 -0
  85. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  86. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  87. package/dist-types/endpoint/ruleset.d.ts +2 -0
  88. package/dist-types/extensionConfiguration.d.ts +9 -0
  89. package/dist-types/index.d.ts +14 -0
  90. package/dist-types/models/AIOpsServiceException.d.ts +14 -0
  91. package/dist-types/models/index.d.ts +1 -0
  92. package/dist-types/models/models_0.d.ts +505 -0
  93. package/dist-types/pagination/Interfaces.d.ts +8 -0
  94. package/dist-types/pagination/ListInvestigationGroupsPaginator.d.ts +7 -0
  95. package/dist-types/pagination/index.d.ts +2 -0
  96. package/dist-types/protocols/Aws_restJson1.d.ts +101 -0
  97. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  98. package/dist-types/runtimeConfig.d.ts +50 -0
  99. package/dist-types/runtimeConfig.native.d.ts +49 -0
  100. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  101. package/dist-types/runtimeExtensions.d.ts +17 -0
  102. package/dist-types/ts3.4/AIOps.d.ts +193 -0
  103. package/dist-types/ts3.4/AIOpsClient.d.ts +185 -0
  104. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  105. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  106. package/dist-types/ts3.4/commands/CreateInvestigationGroupCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/DeleteInvestigationGroupCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/DeleteInvestigationGroupPolicyCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/GetInvestigationGroupCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/GetInvestigationGroupPolicyCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/ListInvestigationGroupsCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/PutInvestigationGroupPolicyCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  115. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  116. package/dist-types/ts3.4/commands/UpdateInvestigationGroupCommand.d.ts +51 -0
  117. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  118. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +48 -0
  119. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  120. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  121. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  122. package/dist-types/ts3.4/index.d.ts +9 -0
  123. package/dist-types/ts3.4/models/AIOpsServiceException.d.ts +9 -0
  124. package/dist-types/ts3.4/models/index.d.ts +1 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +162 -0
  126. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  127. package/dist-types/ts3.4/pagination/ListInvestigationGroupsPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  129. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +137 -0
  130. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +92 -0
  131. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  132. package/dist-types/ts3.4/runtimeConfig.native.d.ts +96 -0
  133. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  134. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  135. package/package.json +99 -0
@@ -0,0 +1,50 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { AIOpsClientConfig } from "./AIOpsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: AIOpsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
+ apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
22
+ urlParser: import("@smithy/types").UrlParser;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: Uint8Array | string) => string;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
+ disableHostPrefix: boolean;
28
+ serviceId: string;
29
+ profile?: string;
30
+ logger: import("@smithy/types").Logger;
31
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ customUserAgent?: string | import("@smithy/types").UserAgent;
33
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
35
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
36
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
+ logger?: import("@smithy/types").Logger;
38
+ }) => import("@smithy/types").EndpointV2;
39
+ tls?: boolean;
40
+ serviceConfiguredEndpoint?: never;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
42
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AIOpsHttpAuthSchemeProvider;
44
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
45
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
46
+ signingEscapePath?: boolean;
47
+ systemClockOffset?: number;
48
+ signingRegion?: string;
49
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
50
+ };
@@ -0,0 +1,50 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { AIOpsClientConfig } from "./AIOpsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: AIOpsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
+ maxAttempts: number | import("@smithy/types").Provider<number>;
14
+ region: string | import("@smithy/types").Provider<string>;
15
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
16
+ retryMode: string | import("@smithy/types").Provider<string>;
17
+ sha256: import("@smithy/types").HashConstructor;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
+ apiVersion: string;
23
+ cacheMiddleware?: boolean | undefined;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ base64Decoder: import("@smithy/types").Decoder;
26
+ base64Encoder: (_input: Uint8Array | string) => string;
27
+ utf8Decoder: import("@smithy/types").Decoder;
28
+ utf8Encoder: (input: Uint8Array | string) => string;
29
+ disableHostPrefix: boolean;
30
+ serviceId: string;
31
+ profile?: string;
32
+ logger: import("@smithy/types").Logger;
33
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ customUserAgent?: string | import("@smithy/types").UserAgent;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
37
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
38
+ logger?: import("@smithy/types").Logger;
39
+ }) => import("@smithy/types").EndpointV2;
40
+ tls?: boolean;
41
+ serviceConfiguredEndpoint?: never;
42
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AIOpsHttpAuthSchemeProvider;
44
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
45
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
46
+ signingEscapePath?: boolean;
47
+ systemClockOffset?: number;
48
+ signingRegion?: string;
49
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
50
+ };
@@ -0,0 +1,49 @@
1
+ import { AIOpsClientConfig } from "./AIOpsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: AIOpsClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: Uint8Array | string) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: Uint8Array | string) => string;
18
+ disableHostPrefix: boolean;
19
+ serviceId: string;
20
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string;
24
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
+ maxAttempts: number | import("@smithy/types").Provider<number>;
27
+ retryMode: string | import("@smithy/types").Provider<string>;
28
+ logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
+ customUserAgent?: string | import("@smithy/types").UserAgent;
32
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean;
39
+ serviceConfiguredEndpoint?: never;
40
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
41
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AIOpsHttpAuthSchemeProvider;
43
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
44
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
45
+ signingEscapePath?: boolean;
46
+ systemClockOffset?: number;
47
+ signingRegion?: string;
48
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
49
+ };
@@ -0,0 +1,21 @@
1
+ import { AIOpsClientConfig } from "./AIOpsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: AIOpsClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: Uint8Array | string) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AIOpsHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: Uint8Array | string) => string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { AIOpsExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: AIOpsExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,193 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { AIOpsClient } from "./AIOpsClient";
3
+ import {
4
+ CreateInvestigationGroupCommandInput,
5
+ CreateInvestigationGroupCommandOutput,
6
+ } from "./commands/CreateInvestigationGroupCommand";
7
+ import {
8
+ DeleteInvestigationGroupCommandInput,
9
+ DeleteInvestigationGroupCommandOutput,
10
+ } from "./commands/DeleteInvestigationGroupCommand";
11
+ import {
12
+ DeleteInvestigationGroupPolicyCommandInput,
13
+ DeleteInvestigationGroupPolicyCommandOutput,
14
+ } from "./commands/DeleteInvestigationGroupPolicyCommand";
15
+ import {
16
+ GetInvestigationGroupCommandInput,
17
+ GetInvestigationGroupCommandOutput,
18
+ } from "./commands/GetInvestigationGroupCommand";
19
+ import {
20
+ GetInvestigationGroupPolicyCommandInput,
21
+ GetInvestigationGroupPolicyCommandOutput,
22
+ } from "./commands/GetInvestigationGroupPolicyCommand";
23
+ import {
24
+ ListInvestigationGroupsCommandInput,
25
+ ListInvestigationGroupsCommandOutput,
26
+ } from "./commands/ListInvestigationGroupsCommand";
27
+ import {
28
+ ListTagsForResourceCommandInput,
29
+ ListTagsForResourceCommandOutput,
30
+ } from "./commands/ListTagsForResourceCommand";
31
+ import {
32
+ PutInvestigationGroupPolicyCommandInput,
33
+ PutInvestigationGroupPolicyCommandOutput,
34
+ } from "./commands/PutInvestigationGroupPolicyCommand";
35
+ import {
36
+ TagResourceCommandInput,
37
+ TagResourceCommandOutput,
38
+ } from "./commands/TagResourceCommand";
39
+ import {
40
+ UntagResourceCommandInput,
41
+ UntagResourceCommandOutput,
42
+ } from "./commands/UntagResourceCommand";
43
+ import {
44
+ UpdateInvestigationGroupCommandInput,
45
+ UpdateInvestigationGroupCommandOutput,
46
+ } from "./commands/UpdateInvestigationGroupCommand";
47
+ export interface AIOps {
48
+ createInvestigationGroup(
49
+ args: CreateInvestigationGroupCommandInput,
50
+ options?: __HttpHandlerOptions
51
+ ): Promise<CreateInvestigationGroupCommandOutput>;
52
+ createInvestigationGroup(
53
+ args: CreateInvestigationGroupCommandInput,
54
+ cb: (err: any, data?: CreateInvestigationGroupCommandOutput) => void
55
+ ): void;
56
+ createInvestigationGroup(
57
+ args: CreateInvestigationGroupCommandInput,
58
+ options: __HttpHandlerOptions,
59
+ cb: (err: any, data?: CreateInvestigationGroupCommandOutput) => void
60
+ ): void;
61
+ deleteInvestigationGroup(
62
+ args: DeleteInvestigationGroupCommandInput,
63
+ options?: __HttpHandlerOptions
64
+ ): Promise<DeleteInvestigationGroupCommandOutput>;
65
+ deleteInvestigationGroup(
66
+ args: DeleteInvestigationGroupCommandInput,
67
+ cb: (err: any, data?: DeleteInvestigationGroupCommandOutput) => void
68
+ ): void;
69
+ deleteInvestigationGroup(
70
+ args: DeleteInvestigationGroupCommandInput,
71
+ options: __HttpHandlerOptions,
72
+ cb: (err: any, data?: DeleteInvestigationGroupCommandOutput) => void
73
+ ): void;
74
+ deleteInvestigationGroupPolicy(
75
+ args: DeleteInvestigationGroupPolicyCommandInput,
76
+ options?: __HttpHandlerOptions
77
+ ): Promise<DeleteInvestigationGroupPolicyCommandOutput>;
78
+ deleteInvestigationGroupPolicy(
79
+ args: DeleteInvestigationGroupPolicyCommandInput,
80
+ cb: (err: any, data?: DeleteInvestigationGroupPolicyCommandOutput) => void
81
+ ): void;
82
+ deleteInvestigationGroupPolicy(
83
+ args: DeleteInvestigationGroupPolicyCommandInput,
84
+ options: __HttpHandlerOptions,
85
+ cb: (err: any, data?: DeleteInvestigationGroupPolicyCommandOutput) => void
86
+ ): void;
87
+ getInvestigationGroup(
88
+ args: GetInvestigationGroupCommandInput,
89
+ options?: __HttpHandlerOptions
90
+ ): Promise<GetInvestigationGroupCommandOutput>;
91
+ getInvestigationGroup(
92
+ args: GetInvestigationGroupCommandInput,
93
+ cb: (err: any, data?: GetInvestigationGroupCommandOutput) => void
94
+ ): void;
95
+ getInvestigationGroup(
96
+ args: GetInvestigationGroupCommandInput,
97
+ options: __HttpHandlerOptions,
98
+ cb: (err: any, data?: GetInvestigationGroupCommandOutput) => void
99
+ ): void;
100
+ getInvestigationGroupPolicy(
101
+ args: GetInvestigationGroupPolicyCommandInput,
102
+ options?: __HttpHandlerOptions
103
+ ): Promise<GetInvestigationGroupPolicyCommandOutput>;
104
+ getInvestigationGroupPolicy(
105
+ args: GetInvestigationGroupPolicyCommandInput,
106
+ cb: (err: any, data?: GetInvestigationGroupPolicyCommandOutput) => void
107
+ ): void;
108
+ getInvestigationGroupPolicy(
109
+ args: GetInvestigationGroupPolicyCommandInput,
110
+ options: __HttpHandlerOptions,
111
+ cb: (err: any, data?: GetInvestigationGroupPolicyCommandOutput) => void
112
+ ): void;
113
+ listInvestigationGroups(): Promise<ListInvestigationGroupsCommandOutput>;
114
+ listInvestigationGroups(
115
+ args: ListInvestigationGroupsCommandInput,
116
+ options?: __HttpHandlerOptions
117
+ ): Promise<ListInvestigationGroupsCommandOutput>;
118
+ listInvestigationGroups(
119
+ args: ListInvestigationGroupsCommandInput,
120
+ cb: (err: any, data?: ListInvestigationGroupsCommandOutput) => void
121
+ ): void;
122
+ listInvestigationGroups(
123
+ args: ListInvestigationGroupsCommandInput,
124
+ options: __HttpHandlerOptions,
125
+ cb: (err: any, data?: ListInvestigationGroupsCommandOutput) => void
126
+ ): void;
127
+ listTagsForResource(
128
+ args: ListTagsForResourceCommandInput,
129
+ options?: __HttpHandlerOptions
130
+ ): Promise<ListTagsForResourceCommandOutput>;
131
+ listTagsForResource(
132
+ args: ListTagsForResourceCommandInput,
133
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
134
+ ): void;
135
+ listTagsForResource(
136
+ args: ListTagsForResourceCommandInput,
137
+ options: __HttpHandlerOptions,
138
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
139
+ ): void;
140
+ putInvestigationGroupPolicy(
141
+ args: PutInvestigationGroupPolicyCommandInput,
142
+ options?: __HttpHandlerOptions
143
+ ): Promise<PutInvestigationGroupPolicyCommandOutput>;
144
+ putInvestigationGroupPolicy(
145
+ args: PutInvestigationGroupPolicyCommandInput,
146
+ cb: (err: any, data?: PutInvestigationGroupPolicyCommandOutput) => void
147
+ ): void;
148
+ putInvestigationGroupPolicy(
149
+ args: PutInvestigationGroupPolicyCommandInput,
150
+ options: __HttpHandlerOptions,
151
+ cb: (err: any, data?: PutInvestigationGroupPolicyCommandOutput) => void
152
+ ): void;
153
+ tagResource(
154
+ args: TagResourceCommandInput,
155
+ options?: __HttpHandlerOptions
156
+ ): Promise<TagResourceCommandOutput>;
157
+ tagResource(
158
+ args: TagResourceCommandInput,
159
+ cb: (err: any, data?: TagResourceCommandOutput) => void
160
+ ): void;
161
+ tagResource(
162
+ args: TagResourceCommandInput,
163
+ options: __HttpHandlerOptions,
164
+ cb: (err: any, data?: TagResourceCommandOutput) => void
165
+ ): void;
166
+ untagResource(
167
+ args: UntagResourceCommandInput,
168
+ options?: __HttpHandlerOptions
169
+ ): Promise<UntagResourceCommandOutput>;
170
+ untagResource(
171
+ args: UntagResourceCommandInput,
172
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
173
+ ): void;
174
+ untagResource(
175
+ args: UntagResourceCommandInput,
176
+ options: __HttpHandlerOptions,
177
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
178
+ ): void;
179
+ updateInvestigationGroup(
180
+ args: UpdateInvestigationGroupCommandInput,
181
+ options?: __HttpHandlerOptions
182
+ ): Promise<UpdateInvestigationGroupCommandOutput>;
183
+ updateInvestigationGroup(
184
+ args: UpdateInvestigationGroupCommandInput,
185
+ cb: (err: any, data?: UpdateInvestigationGroupCommandOutput) => void
186
+ ): void;
187
+ updateInvestigationGroup(
188
+ args: UpdateInvestigationGroupCommandInput,
189
+ options: __HttpHandlerOptions,
190
+ cb: (err: any, data?: UpdateInvestigationGroupCommandOutput) => void
191
+ ): void;
192
+ }
193
+ export declare class AIOps extends AIOpsClient implements AIOps {}
@@ -0,0 +1,185 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ CreateInvestigationGroupCommandInput,
50
+ CreateInvestigationGroupCommandOutput,
51
+ } from "./commands/CreateInvestigationGroupCommand";
52
+ import {
53
+ DeleteInvestigationGroupCommandInput,
54
+ DeleteInvestigationGroupCommandOutput,
55
+ } from "./commands/DeleteInvestigationGroupCommand";
56
+ import {
57
+ DeleteInvestigationGroupPolicyCommandInput,
58
+ DeleteInvestigationGroupPolicyCommandOutput,
59
+ } from "./commands/DeleteInvestigationGroupPolicyCommand";
60
+ import {
61
+ GetInvestigationGroupCommandInput,
62
+ GetInvestigationGroupCommandOutput,
63
+ } from "./commands/GetInvestigationGroupCommand";
64
+ import {
65
+ GetInvestigationGroupPolicyCommandInput,
66
+ GetInvestigationGroupPolicyCommandOutput,
67
+ } from "./commands/GetInvestigationGroupPolicyCommand";
68
+ import {
69
+ ListInvestigationGroupsCommandInput,
70
+ ListInvestigationGroupsCommandOutput,
71
+ } from "./commands/ListInvestigationGroupsCommand";
72
+ import {
73
+ ListTagsForResourceCommandInput,
74
+ ListTagsForResourceCommandOutput,
75
+ } from "./commands/ListTagsForResourceCommand";
76
+ import {
77
+ PutInvestigationGroupPolicyCommandInput,
78
+ PutInvestigationGroupPolicyCommandOutput,
79
+ } from "./commands/PutInvestigationGroupPolicyCommand";
80
+ import {
81
+ TagResourceCommandInput,
82
+ TagResourceCommandOutput,
83
+ } from "./commands/TagResourceCommand";
84
+ import {
85
+ UntagResourceCommandInput,
86
+ UntagResourceCommandOutput,
87
+ } from "./commands/UntagResourceCommand";
88
+ import {
89
+ UpdateInvestigationGroupCommandInput,
90
+ UpdateInvestigationGroupCommandOutput,
91
+ } from "./commands/UpdateInvestigationGroupCommand";
92
+ import {
93
+ ClientInputEndpointParameters,
94
+ ClientResolvedEndpointParameters,
95
+ EndpointParameters,
96
+ } from "./endpoint/EndpointParameters";
97
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
98
+ export { __Client };
99
+ export type ServiceInputTypes =
100
+ | CreateInvestigationGroupCommandInput
101
+ | DeleteInvestigationGroupCommandInput
102
+ | DeleteInvestigationGroupPolicyCommandInput
103
+ | GetInvestigationGroupCommandInput
104
+ | GetInvestigationGroupPolicyCommandInput
105
+ | ListInvestigationGroupsCommandInput
106
+ | ListTagsForResourceCommandInput
107
+ | PutInvestigationGroupPolicyCommandInput
108
+ | TagResourceCommandInput
109
+ | UntagResourceCommandInput
110
+ | UpdateInvestigationGroupCommandInput;
111
+ export type ServiceOutputTypes =
112
+ | CreateInvestigationGroupCommandOutput
113
+ | DeleteInvestigationGroupCommandOutput
114
+ | DeleteInvestigationGroupPolicyCommandOutput
115
+ | GetInvestigationGroupCommandOutput
116
+ | GetInvestigationGroupPolicyCommandOutput
117
+ | ListInvestigationGroupsCommandOutput
118
+ | ListTagsForResourceCommandOutput
119
+ | PutInvestigationGroupPolicyCommandOutput
120
+ | TagResourceCommandOutput
121
+ | UntagResourceCommandOutput
122
+ | UpdateInvestigationGroupCommandOutput;
123
+ export interface ClientDefaults
124
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
125
+ requestHandler?: __HttpHandlerUserInput;
126
+ sha256?: __ChecksumConstructor | __HashConstructor;
127
+ urlParser?: __UrlParser;
128
+ bodyLengthChecker?: __BodyLengthCalculator;
129
+ streamCollector?: __StreamCollector;
130
+ base64Decoder?: __Decoder;
131
+ base64Encoder?: __Encoder;
132
+ utf8Decoder?: __Decoder;
133
+ utf8Encoder?: __Encoder;
134
+ runtime?: string;
135
+ disableHostPrefix?: boolean;
136
+ serviceId?: string;
137
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
138
+ useFipsEndpoint?: boolean | __Provider<boolean>;
139
+ region?: string | __Provider<string>;
140
+ profile?: string;
141
+ defaultUserAgentProvider?: Provider<__UserAgent>;
142
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
143
+ maxAttempts?: number | __Provider<number>;
144
+ retryMode?: string | __Provider<string>;
145
+ logger?: __Logger;
146
+ extensions?: RuntimeExtension[];
147
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
148
+ }
149
+ export type AIOpsClientConfigType = Partial<
150
+ __SmithyConfiguration<__HttpHandlerOptions>
151
+ > &
152
+ ClientDefaults &
153
+ UserAgentInputConfig &
154
+ RetryInputConfig &
155
+ RegionInputConfig &
156
+ HostHeaderInputConfig &
157
+ EndpointInputConfig<EndpointParameters> &
158
+ HttpAuthSchemeInputConfig &
159
+ ClientInputEndpointParameters;
160
+ export interface AIOpsClientConfig extends AIOpsClientConfigType {}
161
+ export type AIOpsClientResolvedConfigType =
162
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
163
+ Required<ClientDefaults> &
164
+ RuntimeExtensionsConfig &
165
+ UserAgentResolvedConfig &
166
+ RetryResolvedConfig &
167
+ RegionResolvedConfig &
168
+ HostHeaderResolvedConfig &
169
+ EndpointResolvedConfig<EndpointParameters> &
170
+ HttpAuthSchemeResolvedConfig &
171
+ ClientResolvedEndpointParameters;
172
+ export interface AIOpsClientResolvedConfig
173
+ extends AIOpsClientResolvedConfigType {}
174
+ export declare class AIOpsClient extends __Client<
175
+ __HttpHandlerOptions,
176
+ ServiceInputTypes,
177
+ ServiceOutputTypes,
178
+ AIOpsClientResolvedConfig
179
+ > {
180
+ readonly config: AIOpsClientResolvedConfig;
181
+ constructor(
182
+ ...[configuration]: __CheckOptionalClientConfig<AIOpsClientConfig>
183
+ );
184
+ destroy(): void;
185
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { AIOpsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: AIOpsHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): AIOpsHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: AIOpsHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,47 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { AIOpsClientResolvedConfig } from "../AIOpsClient";
15
+ export interface AIOpsHttpAuthSchemeParameters
16
+ extends HttpAuthSchemeParameters {
17
+ region?: string;
18
+ }
19
+ export interface AIOpsHttpAuthSchemeParametersProvider
20
+ extends HttpAuthSchemeParametersProvider<
21
+ AIOpsClientResolvedConfig,
22
+ HandlerExecutionContext,
23
+ AIOpsHttpAuthSchemeParameters,
24
+ object
25
+ > {}
26
+ export declare const defaultAIOpsHttpAuthSchemeParametersProvider: (
27
+ config: AIOpsClientResolvedConfig,
28
+ context: HandlerExecutionContext,
29
+ input: object
30
+ ) => Promise<AIOpsHttpAuthSchemeParameters>;
31
+ export interface AIOpsHttpAuthSchemeProvider
32
+ extends HttpAuthSchemeProvider<AIOpsHttpAuthSchemeParameters> {}
33
+ export declare const defaultAIOpsHttpAuthSchemeProvider: AIOpsHttpAuthSchemeProvider;
34
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ authSchemePreference?: string[] | Provider<string[]>;
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ httpAuthSchemeProvider?: AIOpsHttpAuthSchemeProvider;
38
+ }
39
+ export interface HttpAuthSchemeResolvedConfig
40
+ extends AwsSdkSigV4AuthResolvedConfig {
41
+ readonly authSchemePreference: Provider<string[]>;
42
+ readonly httpAuthSchemes: HttpAuthScheme[];
43
+ readonly httpAuthSchemeProvider: AIOpsHttpAuthSchemeProvider;
44
+ }
45
+ export declare const resolveHttpAuthSchemeConfig: <T>(
46
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
47
+ ) => T & HttpAuthSchemeResolvedConfig;