@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,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 { DeleteInvestigationGroupPolicyOutput, DeleteInvestigationGroupPolicyRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteInvestigationGroupPolicyCommand}.
14
+ */
15
+ export interface DeleteInvestigationGroupPolicyCommandInput extends DeleteInvestigationGroupPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteInvestigationGroupPolicyCommand}.
21
+ */
22
+ export interface DeleteInvestigationGroupPolicyCommandOutput extends DeleteInvestigationGroupPolicyOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteInvestigationGroupPolicyCommand_base: {
25
+ new (input: DeleteInvestigationGroupPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInvestigationGroupPolicyCommandInput, DeleteInvestigationGroupPolicyCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteInvestigationGroupPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInvestigationGroupPolicyCommandInput, DeleteInvestigationGroupPolicyCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes the IAM resource policy from being associated with the investigation group that you specify.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AIOpsClient, DeleteInvestigationGroupPolicyCommand } from "@aws-sdk/client-aiops"; // ES Modules import
35
+ * // const { AIOpsClient, DeleteInvestigationGroupPolicyCommand } = require("@aws-sdk/client-aiops"); // CommonJS import
36
+ * const client = new AIOpsClient(config);
37
+ * const input = { // DeleteInvestigationGroupPolicyRequest
38
+ * identifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteInvestigationGroupPolicyCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteInvestigationGroupPolicyCommandInput - {@link DeleteInvestigationGroupPolicyCommandInput}
47
+ * @returns {@link DeleteInvestigationGroupPolicyCommandOutput}
48
+ * @see {@link DeleteInvestigationGroupPolicyCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteInvestigationGroupPolicyCommandOutput} 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 ValidationException} (client fault)
65
+ * <p>This operation or its parameters aren't formatted correctly.</p>
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p>This operation couldn't be completed because of a conflict in resource states.</p>
69
+ *
70
+ * @throws {@link ForbiddenException} (client fault)
71
+ * <p>Access id denied for this operation, or this operation is not valid for the specified resource.</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 DeleteInvestigationGroupPolicyCommand extends DeleteInvestigationGroupPolicyCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: DeleteInvestigationGroupPolicyRequest;
84
+ output: {};
85
+ };
86
+ sdk: {
87
+ input: DeleteInvestigationGroupPolicyCommandInput;
88
+ output: DeleteInvestigationGroupPolicyCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,113 @@
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 { GetInvestigationGroupRequest, GetInvestigationGroupResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetInvestigationGroupCommand}.
14
+ */
15
+ export interface GetInvestigationGroupCommandInput extends GetInvestigationGroupRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetInvestigationGroupCommand}.
21
+ */
22
+ export interface GetInvestigationGroupCommandOutput extends GetInvestigationGroupResponse, __MetadataBearer {
23
+ }
24
+ declare const GetInvestigationGroupCommand_base: {
25
+ new (input: GetInvestigationGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetInvestigationGroupCommandInput, GetInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetInvestigationGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetInvestigationGroupCommandInput, GetInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the configuration information for the specified investigation group.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AIOpsClient, GetInvestigationGroupCommand } from "@aws-sdk/client-aiops"; // ES Modules import
35
+ * // const { AIOpsClient, GetInvestigationGroupCommand } = require("@aws-sdk/client-aiops"); // CommonJS import
36
+ * const client = new AIOpsClient(config);
37
+ * const input = { // GetInvestigationGroupRequest
38
+ * identifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetInvestigationGroupCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetInvestigationGroupResponse
43
+ * // createdBy: "STRING_VALUE",
44
+ * // createdAt: new Date("TIMESTAMP"),
45
+ * // lastModifiedBy: "STRING_VALUE",
46
+ * // lastModifiedAt: new Date("TIMESTAMP"),
47
+ * // name: "STRING_VALUE",
48
+ * // arn: "STRING_VALUE",
49
+ * // roleArn: "STRING_VALUE",
50
+ * // encryptionConfiguration: { // EncryptionConfiguration
51
+ * // type: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KMS_KEY",
52
+ * // kmsKeyId: "STRING_VALUE",
53
+ * // },
54
+ * // retentionInDays: Number("long"),
55
+ * // chatbotNotificationChannel: { // ChatbotNotificationChannel
56
+ * // "<keys>": [ // ChatConfigurationArns
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // },
60
+ * // tagKeyBoundaries: [ // TagKeyBoundaries
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // isCloudTrailEventHistoryEnabled: true || false,
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param GetInvestigationGroupCommandInput - {@link GetInvestigationGroupCommandInput}
69
+ * @returns {@link GetInvestigationGroupCommandOutput}
70
+ * @see {@link GetInvestigationGroupCommandInput} for command's `input` shape.
71
+ * @see {@link GetInvestigationGroupCommandOutput} for command's `response` shape.
72
+ * @see {@link AIOpsClientResolvedConfig | config} for AIOpsClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>You don't have sufficient permissions to perform this action.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>An internal server error occurred. You can try again later.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>The specified resource doesn't exist.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>The request was throttled because of quota limits. You can try again later.</p>
85
+ *
86
+ * @throws {@link ConflictException} (client fault)
87
+ * <p>This operation couldn't be completed because of a conflict in resource states.</p>
88
+ *
89
+ * @throws {@link ForbiddenException} (client fault)
90
+ * <p>Access id denied for this operation, or this operation is not valid for the specified resource.</p>
91
+ *
92
+ * @throws {@link ValidationException} (client fault)
93
+ * <p>This operation or its parameters aren't formatted correctly.</p>
94
+ *
95
+ * @throws {@link AIOpsServiceException}
96
+ * <p>Base exception class for all service exceptions from AIOps service.</p>
97
+ *
98
+ *
99
+ * @public
100
+ */
101
+ export declare class GetInvestigationGroupCommand extends GetInvestigationGroupCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: GetInvestigationGroupRequest;
106
+ output: GetInvestigationGroupResponse;
107
+ };
108
+ sdk: {
109
+ input: GetInvestigationGroupCommandInput;
110
+ output: GetInvestigationGroupCommandOutput;
111
+ };
112
+ };
113
+ }
@@ -0,0 +1,94 @@
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 { GetInvestigationGroupPolicyRequest, GetInvestigationGroupPolicyResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetInvestigationGroupPolicyCommand}.
14
+ */
15
+ export interface GetInvestigationGroupPolicyCommandInput extends GetInvestigationGroupPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetInvestigationGroupPolicyCommand}.
21
+ */
22
+ export interface GetInvestigationGroupPolicyCommandOutput extends GetInvestigationGroupPolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const GetInvestigationGroupPolicyCommand_base: {
25
+ new (input: GetInvestigationGroupPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetInvestigationGroupPolicyCommandInput, GetInvestigationGroupPolicyCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetInvestigationGroupPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetInvestigationGroupPolicyCommandInput, GetInvestigationGroupPolicyCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the IAM resource policy that is associated with the specified investigation group.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AIOpsClient, GetInvestigationGroupPolicyCommand } from "@aws-sdk/client-aiops"; // ES Modules import
35
+ * // const { AIOpsClient, GetInvestigationGroupPolicyCommand } = require("@aws-sdk/client-aiops"); // CommonJS import
36
+ * const client = new AIOpsClient(config);
37
+ * const input = { // GetInvestigationGroupPolicyRequest
38
+ * identifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetInvestigationGroupPolicyCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetInvestigationGroupPolicyResponse
43
+ * // investigationGroupArn: "STRING_VALUE",
44
+ * // policy: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param GetInvestigationGroupPolicyCommandInput - {@link GetInvestigationGroupPolicyCommandInput}
50
+ * @returns {@link GetInvestigationGroupPolicyCommandOutput}
51
+ * @see {@link GetInvestigationGroupPolicyCommandInput} for command's `input` shape.
52
+ * @see {@link GetInvestigationGroupPolicyCommandOutput} for command's `response` shape.
53
+ * @see {@link AIOpsClientResolvedConfig | config} for AIOpsClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You don't have sufficient permissions to perform this action.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>An internal server error occurred. You can try again later.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The specified resource doesn't exist.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was throttled because of quota limits. You can try again later.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>This operation or its parameters aren't formatted correctly.</p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>This operation couldn't be completed because of a conflict in resource states.</p>
72
+ *
73
+ * @throws {@link ForbiddenException} (client fault)
74
+ * <p>Access id denied for this operation, or this operation is not valid for the specified resource.</p>
75
+ *
76
+ * @throws {@link AIOpsServiceException}
77
+ * <p>Base exception class for all service exceptions from AIOps service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class GetInvestigationGroupPolicyCommand extends GetInvestigationGroupPolicyCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: GetInvestigationGroupPolicyRequest;
87
+ output: GetInvestigationGroupPolicyResponse;
88
+ };
89
+ sdk: {
90
+ input: GetInvestigationGroupPolicyCommandInput;
91
+ output: GetInvestigationGroupPolicyCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,100 @@
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 { ListInvestigationGroupsInput, ListInvestigationGroupsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListInvestigationGroupsCommand}.
14
+ */
15
+ export interface ListInvestigationGroupsCommandInput extends ListInvestigationGroupsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListInvestigationGroupsCommand}.
21
+ */
22
+ export interface ListInvestigationGroupsCommandOutput extends ListInvestigationGroupsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListInvestigationGroupsCommand_base: {
25
+ new (input: ListInvestigationGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInvestigationGroupsCommandInput, ListInvestigationGroupsCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListInvestigationGroupsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListInvestigationGroupsCommandInput, ListInvestigationGroupsCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the ARN and name of each investigation group in the account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AIOpsClient, ListInvestigationGroupsCommand } from "@aws-sdk/client-aiops"; // ES Modules import
35
+ * // const { AIOpsClient, ListInvestigationGroupsCommand } = require("@aws-sdk/client-aiops"); // CommonJS import
36
+ * const client = new AIOpsClient(config);
37
+ * const input = { // ListInvestigationGroupsInput
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * };
41
+ * const command = new ListInvestigationGroupsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListInvestigationGroupsOutput
44
+ * // nextToken: "STRING_VALUE",
45
+ * // investigationGroups: [ // InvestigationGroups
46
+ * // { // ListInvestigationGroupsModel
47
+ * // arn: "STRING_VALUE",
48
+ * // name: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param ListInvestigationGroupsCommandInput - {@link ListInvestigationGroupsCommandInput}
56
+ * @returns {@link ListInvestigationGroupsCommandOutput}
57
+ * @see {@link ListInvestigationGroupsCommandInput} for command's `input` shape.
58
+ * @see {@link ListInvestigationGroupsCommandOutput} for command's `response` shape.
59
+ * @see {@link AIOpsClientResolvedConfig | config} for AIOpsClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You don't have sufficient permissions to perform this action.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>An internal server error occurred. You can try again later.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was throttled because of quota limits. You can try again later.</p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <p>This operation couldn't be completed because of a conflict in resource states.</p>
72
+ *
73
+ * @throws {@link ForbiddenException} (client fault)
74
+ * <p>Access id denied for this operation, or this operation is not valid for the specified resource.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The specified resource doesn't exist.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>This operation or its parameters aren't formatted correctly.</p>
81
+ *
82
+ * @throws {@link AIOpsServiceException}
83
+ * <p>Base exception class for all service exceptions from AIOps service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListInvestigationGroupsCommand extends ListInvestigationGroupsCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ListInvestigationGroupsInput;
93
+ output: ListInvestigationGroupsOutput;
94
+ };
95
+ sdk: {
96
+ input: ListInvestigationGroupsCommandInput;
97
+ output: ListInvestigationGroupsCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,95 @@
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 { ListTagsForResourceOutput, ListTagsForResourceRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Displays the tags associated with a Amazon Q Developer operational investigations resource. Currently, investigation groups support tagging.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AIOpsClient, ListTagsForResourceCommand } from "@aws-sdk/client-aiops"; // ES Modules import
35
+ * // const { AIOpsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-aiops"); // CommonJS import
36
+ * const client = new AIOpsClient(config);
37
+ * const input = { // ListTagsForResourceRequest
38
+ * resourceArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new ListTagsForResourceCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListTagsForResourceOutput
43
+ * // tags: { // Tags
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
51
+ * @returns {@link ListTagsForResourceCommandOutput}
52
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
53
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
54
+ * @see {@link AIOpsClientResolvedConfig | config} for AIOpsClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You don't have sufficient permissions to perform this action.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>This operation couldn't be completed because of a conflict in resource states.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>An internal server error occurred. You can try again later.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The specified resource doesn't exist.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was throttled because of quota limits. You can try again later.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>This operation or its parameters aren't formatted correctly.</p>
73
+ *
74
+ * @throws {@link ForbiddenException} (client fault)
75
+ * <p>Access id denied for this operation, or this operation is not valid for the specified resource.</p>
76
+ *
77
+ * @throws {@link AIOpsServiceException}
78
+ * <p>Base exception class for all service exceptions from AIOps service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: ListTagsForResourceRequest;
88
+ output: ListTagsForResourceOutput;
89
+ };
90
+ sdk: {
91
+ input: ListTagsForResourceCommandInput;
92
+ output: ListTagsForResourceCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,94 @@
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 { PutInvestigationGroupPolicyRequest, PutInvestigationGroupPolicyResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutInvestigationGroupPolicyCommand}.
14
+ */
15
+ export interface PutInvestigationGroupPolicyCommandInput extends PutInvestigationGroupPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutInvestigationGroupPolicyCommand}.
21
+ */
22
+ export interface PutInvestigationGroupPolicyCommandOutput extends PutInvestigationGroupPolicyResponse, __MetadataBearer {
23
+ }
24
+ declare const PutInvestigationGroupPolicyCommand_base: {
25
+ new (input: PutInvestigationGroupPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutInvestigationGroupPolicyCommandInput, PutInvestigationGroupPolicyCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutInvestigationGroupPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutInvestigationGroupPolicyCommandInput, PutInvestigationGroupPolicyCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an IAM resource policy and assigns it to the specified investigation group.</p> <p>If you create your investigation group with <code>CreateInvestigationGroup</code> and you want to enable CloudWatch alarms to create investigations and add events to investigations, you must use this operation to create a policy similar to this example.</p> <p> <code>\{ "Version": "2008-10-17", "Statement": [\{ "Effect": "Allow", "Principal": \{ "Service": "aiops.alarms.cloudwatch.amazonaws.com" \}, "Action": ["aiops:CreateInvestigation", "aiops:CreateInvestigationEvent"], "Resource": "*", "Condition": \{ "StringEquals": \{ "aws:SourceAccount": "<i>account-id</i>" \}, "ArnLike": \{ "aws:SourceArn": "arn:aws:cloudwatch:<i>region</i>:<i>account-id</i>:alarm:*" \} \} \}] \}</code> </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AIOpsClient, PutInvestigationGroupPolicyCommand } from "@aws-sdk/client-aiops"; // ES Modules import
35
+ * // const { AIOpsClient, PutInvestigationGroupPolicyCommand } = require("@aws-sdk/client-aiops"); // CommonJS import
36
+ * const client = new AIOpsClient(config);
37
+ * const input = { // PutInvestigationGroupPolicyRequest
38
+ * identifier: "STRING_VALUE", // required
39
+ * policy: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new PutInvestigationGroupPolicyCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // PutInvestigationGroupPolicyResponse
44
+ * // investigationGroupArn: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param PutInvestigationGroupPolicyCommandInput - {@link PutInvestigationGroupPolicyCommandInput}
50
+ * @returns {@link PutInvestigationGroupPolicyCommandOutput}
51
+ * @see {@link PutInvestigationGroupPolicyCommandInput} for command's `input` shape.
52
+ * @see {@link PutInvestigationGroupPolicyCommandOutput} for command's `response` shape.
53
+ * @see {@link AIOpsClientResolvedConfig | config} for AIOpsClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You don't have sufficient permissions to perform this action.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>This operation couldn't be completed because of a conflict in resource states.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>An internal server error occurred. You can try again later.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The specified resource doesn't exist.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was throttled because of quota limits. You can try again later.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>This operation or its parameters aren't formatted correctly.</p>
72
+ *
73
+ * @throws {@link ForbiddenException} (client fault)
74
+ * <p>Access id denied for this operation, or this operation is not valid for the specified resource.</p>
75
+ *
76
+ * @throws {@link AIOpsServiceException}
77
+ * <p>Base exception class for all service exceptions from AIOps service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class PutInvestigationGroupPolicyCommand extends PutInvestigationGroupPolicyCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: PutInvestigationGroupPolicyRequest;
87
+ output: PutInvestigationGroupPolicyResponse;
88
+ };
89
+ sdk: {
90
+ input: PutInvestigationGroupPolicyCommandInput;
91
+ output: PutInvestigationGroupPolicyCommandOutput;
92
+ };
93
+ };
94
+ }