@aws-sdk/client-aiops 3.1077.0 → 3.1078.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 (41) hide show
  1. package/dist-cjs/index.js +19 -113
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateInvestigationGroupCommand.js +2 -14
  4. package/dist-es/commands/DeleteInvestigationGroupCommand.js +2 -14
  5. package/dist-es/commands/DeleteInvestigationGroupPolicyCommand.js +2 -14
  6. package/dist-es/commands/GetInvestigationGroupCommand.js +2 -14
  7. package/dist-es/commands/GetInvestigationGroupPolicyCommand.js +2 -14
  8. package/dist-es/commands/ListInvestigationGroupsCommand.js +2 -14
  9. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  10. package/dist-es/commands/PutInvestigationGroupPolicyCommand.js +2 -14
  11. package/dist-es/commands/TagResourceCommand.js +2 -14
  12. package/dist-es/commands/UntagResourceCommand.js +2 -14
  13. package/dist-es/commands/UpdateInvestigationGroupCommand.js +2 -14
  14. package/dist-es/index.js +1 -0
  15. package/dist-types/commandBuilder.d.ts +18 -0
  16. package/dist-types/commands/CreateInvestigationGroupCommand.d.ts +3 -8
  17. package/dist-types/commands/DeleteInvestigationGroupCommand.d.ts +3 -8
  18. package/dist-types/commands/DeleteInvestigationGroupPolicyCommand.d.ts +3 -8
  19. package/dist-types/commands/GetInvestigationGroupCommand.d.ts +3 -8
  20. package/dist-types/commands/GetInvestigationGroupPolicyCommand.d.ts +3 -8
  21. package/dist-types/commands/ListInvestigationGroupsCommand.d.ts +3 -8
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  23. package/dist-types/commands/PutInvestigationGroupPolicyCommand.d.ts +3 -8
  24. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  25. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  26. package/dist-types/commands/UpdateInvestigationGroupCommand.d.ts +3 -8
  27. package/dist-types/index.d.ts +1 -0
  28. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  29. package/dist-types/ts3.4/commands/CreateInvestigationGroupCommand.d.ts +7 -16
  30. package/dist-types/ts3.4/commands/DeleteInvestigationGroupCommand.d.ts +7 -16
  31. package/dist-types/ts3.4/commands/DeleteInvestigationGroupPolicyCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/GetInvestigationGroupCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/GetInvestigationGroupPolicyCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/ListInvestigationGroupsCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/PutInvestigationGroupPolicyCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/UpdateInvestigationGroupCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/index.d.ts +1 -0
  41. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -691,136 +692,41 @@ class AIOpsClient extends Client {
691
692
  }
692
693
  }
693
694
 
694
- class CreateInvestigationGroupCommand extends Command
695
- .classBuilder()
696
- .ep(commonParams)
697
- .m(function (Command, cs, config, o) {
698
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
699
- })
700
- .s("AIOps", "CreateInvestigationGroup", {})
701
- .n("AIOpsClient", "CreateInvestigationGroupCommand")
702
- .sc(CreateInvestigationGroup$)
703
- .build() {
695
+ const command = makeBuilder(commonParams, "AIOps", "AIOpsClient", getEndpointPlugin);
696
+ const _ep0 = {};
697
+ const _mw0 = (Command, cs, config, o) => [];
698
+
699
+ class CreateInvestigationGroupCommand extends command(_ep0, _mw0, "CreateInvestigationGroup", CreateInvestigationGroup$) {
704
700
  }
705
701
 
706
- class DeleteInvestigationGroupCommand extends Command
707
- .classBuilder()
708
- .ep(commonParams)
709
- .m(function (Command, cs, config, o) {
710
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
711
- })
712
- .s("AIOps", "DeleteInvestigationGroup", {})
713
- .n("AIOpsClient", "DeleteInvestigationGroupCommand")
714
- .sc(DeleteInvestigationGroup$)
715
- .build() {
702
+ class DeleteInvestigationGroupCommand extends command(_ep0, _mw0, "DeleteInvestigationGroup", DeleteInvestigationGroup$) {
716
703
  }
717
704
 
718
- class DeleteInvestigationGroupPolicyCommand extends Command
719
- .classBuilder()
720
- .ep(commonParams)
721
- .m(function (Command, cs, config, o) {
722
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
723
- })
724
- .s("AIOps", "DeleteInvestigationGroupPolicy", {})
725
- .n("AIOpsClient", "DeleteInvestigationGroupPolicyCommand")
726
- .sc(DeleteInvestigationGroupPolicy$)
727
- .build() {
705
+ class DeleteInvestigationGroupPolicyCommand extends command(_ep0, _mw0, "DeleteInvestigationGroupPolicy", DeleteInvestigationGroupPolicy$) {
728
706
  }
729
707
 
730
- class GetInvestigationGroupCommand extends Command
731
- .classBuilder()
732
- .ep(commonParams)
733
- .m(function (Command, cs, config, o) {
734
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
735
- })
736
- .s("AIOps", "GetInvestigationGroup", {})
737
- .n("AIOpsClient", "GetInvestigationGroupCommand")
738
- .sc(GetInvestigationGroup$)
739
- .build() {
708
+ class GetInvestigationGroupCommand extends command(_ep0, _mw0, "GetInvestigationGroup", GetInvestigationGroup$) {
740
709
  }
741
710
 
742
- class GetInvestigationGroupPolicyCommand extends Command
743
- .classBuilder()
744
- .ep(commonParams)
745
- .m(function (Command, cs, config, o) {
746
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
747
- })
748
- .s("AIOps", "GetInvestigationGroupPolicy", {})
749
- .n("AIOpsClient", "GetInvestigationGroupPolicyCommand")
750
- .sc(GetInvestigationGroupPolicy$)
751
- .build() {
711
+ class GetInvestigationGroupPolicyCommand extends command(_ep0, _mw0, "GetInvestigationGroupPolicy", GetInvestigationGroupPolicy$) {
752
712
  }
753
713
 
754
- class ListInvestigationGroupsCommand extends Command
755
- .classBuilder()
756
- .ep(commonParams)
757
- .m(function (Command, cs, config, o) {
758
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
759
- })
760
- .s("AIOps", "ListInvestigationGroups", {})
761
- .n("AIOpsClient", "ListInvestigationGroupsCommand")
762
- .sc(ListInvestigationGroups$)
763
- .build() {
714
+ class ListInvestigationGroupsCommand extends command(_ep0, _mw0, "ListInvestigationGroups", ListInvestigationGroups$) {
764
715
  }
765
716
 
766
- class ListTagsForResourceCommand extends Command
767
- .classBuilder()
768
- .ep(commonParams)
769
- .m(function (Command, cs, config, o) {
770
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
771
- })
772
- .s("AIOps", "ListTagsForResource", {})
773
- .n("AIOpsClient", "ListTagsForResourceCommand")
774
- .sc(ListTagsForResource$)
775
- .build() {
717
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
776
718
  }
777
719
 
778
- class PutInvestigationGroupPolicyCommand extends Command
779
- .classBuilder()
780
- .ep(commonParams)
781
- .m(function (Command, cs, config, o) {
782
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
783
- })
784
- .s("AIOps", "PutInvestigationGroupPolicy", {})
785
- .n("AIOpsClient", "PutInvestigationGroupPolicyCommand")
786
- .sc(PutInvestigationGroupPolicy$)
787
- .build() {
720
+ class PutInvestigationGroupPolicyCommand extends command(_ep0, _mw0, "PutInvestigationGroupPolicy", PutInvestigationGroupPolicy$) {
788
721
  }
789
722
 
790
- class TagResourceCommand extends Command
791
- .classBuilder()
792
- .ep(commonParams)
793
- .m(function (Command, cs, config, o) {
794
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
795
- })
796
- .s("AIOps", "TagResource", {})
797
- .n("AIOpsClient", "TagResourceCommand")
798
- .sc(TagResource$)
799
- .build() {
723
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
800
724
  }
801
725
 
802
- class UntagResourceCommand extends Command
803
- .classBuilder()
804
- .ep(commonParams)
805
- .m(function (Command, cs, config, o) {
806
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
807
- })
808
- .s("AIOps", "UntagResource", {})
809
- .n("AIOpsClient", "UntagResourceCommand")
810
- .sc(UntagResource$)
811
- .build() {
726
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
812
727
  }
813
728
 
814
- class UpdateInvestigationGroupCommand extends Command
815
- .classBuilder()
816
- .ep(commonParams)
817
- .m(function (Command, cs, config, o) {
818
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
819
- })
820
- .s("AIOps", "UpdateInvestigationGroup", {})
821
- .n("AIOpsClient", "UpdateInvestigationGroupCommand")
822
- .sc(UpdateInvestigationGroup$)
823
- .build() {
729
+ class UpdateInvestigationGroupCommand extends command(_ep0, _mw0, "UpdateInvestigationGroup", UpdateInvestigationGroup$) {
824
730
  }
825
731
 
826
732
  const paginateListInvestigationGroups = createPaginator(AIOpsClient, ListInvestigationGroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AIOps", "AIOpsClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateInvestigationGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateInvestigationGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "CreateInvestigationGroup", {})
13
- .n("AIOpsClient", "CreateInvestigationGroupCommand")
14
- .sc(CreateInvestigationGroup$)
15
- .build() {
3
+ export class CreateInvestigationGroupCommand extends command(_ep0, _mw0, "CreateInvestigationGroup", CreateInvestigationGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteInvestigationGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteInvestigationGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "DeleteInvestigationGroup", {})
13
- .n("AIOpsClient", "DeleteInvestigationGroupCommand")
14
- .sc(DeleteInvestigationGroup$)
15
- .build() {
3
+ export class DeleteInvestigationGroupCommand extends command(_ep0, _mw0, "DeleteInvestigationGroup", DeleteInvestigationGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteInvestigationGroupPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteInvestigationGroupPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "DeleteInvestigationGroupPolicy", {})
13
- .n("AIOpsClient", "DeleteInvestigationGroupPolicyCommand")
14
- .sc(DeleteInvestigationGroupPolicy$)
15
- .build() {
3
+ export class DeleteInvestigationGroupPolicyCommand extends command(_ep0, _mw0, "DeleteInvestigationGroupPolicy", DeleteInvestigationGroupPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetInvestigationGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetInvestigationGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "GetInvestigationGroup", {})
13
- .n("AIOpsClient", "GetInvestigationGroupCommand")
14
- .sc(GetInvestigationGroup$)
15
- .build() {
3
+ export class GetInvestigationGroupCommand extends command(_ep0, _mw0, "GetInvestigationGroup", GetInvestigationGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetInvestigationGroupPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetInvestigationGroupPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "GetInvestigationGroupPolicy", {})
13
- .n("AIOpsClient", "GetInvestigationGroupPolicyCommand")
14
- .sc(GetInvestigationGroupPolicy$)
15
- .build() {
3
+ export class GetInvestigationGroupPolicyCommand extends command(_ep0, _mw0, "GetInvestigationGroupPolicy", GetInvestigationGroupPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListInvestigationGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListInvestigationGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "ListInvestigationGroups", {})
13
- .n("AIOpsClient", "ListInvestigationGroupsCommand")
14
- .sc(ListInvestigationGroups$)
15
- .build() {
3
+ export class ListInvestigationGroupsCommand extends command(_ep0, _mw0, "ListInvestigationGroups", ListInvestigationGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "ListTagsForResource", {})
13
- .n("AIOpsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutInvestigationGroupPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutInvestigationGroupPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "PutInvestigationGroupPolicy", {})
13
- .n("AIOpsClient", "PutInvestigationGroupPolicyCommand")
14
- .sc(PutInvestigationGroupPolicy$)
15
- .build() {
3
+ export class PutInvestigationGroupPolicyCommand extends command(_ep0, _mw0, "PutInvestigationGroupPolicy", PutInvestigationGroupPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "TagResource", {})
13
- .n("AIOpsClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "UntagResource", {})
13
- .n("AIOpsClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateInvestigationGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateInvestigationGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AIOps", "UpdateInvestigationGroup", {})
13
- .n("AIOpsClient", "UpdateInvestigationGroupCommand")
14
- .sc(UpdateInvestigationGroup$)
15
- .build() {
3
+ export class UpdateInvestigationGroupCommand extends command(_ep0, _mw0, "UpdateInvestigationGroup", UpdateInvestigationGroup$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./AIOpsClient";
2
2
  export * from "./AIOps";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./AIOpsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AIOpsClient";
4
2
  import type { CreateInvestigationGroupInput, CreateInvestigationGroupOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateInvestigationGroupCommandInput extends CreateInvestigatio
22
19
  export interface CreateInvestigationGroupCommandOutput extends CreateInvestigationGroupOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateInvestigationGroupCommand_base: {
25
- new (input: CreateInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateInvestigationGroupCommandInput, CreateInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateInvestigationGroupCommandInput, CreateInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateInvestigationGroupCommandInput, CreateInvestigationGroupCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateInvestigationGroupCommandInput, CreateInvestigationGroupCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <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 CloudWatch investigations, you must be signed in to an IAM principal that has 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 <code>PutInvestigationGroupPolicy</code> to create a resource policy that grants this permission to CloudWatch alarms. </p> <p>For more information about configuring CloudWatch alarms, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html">Using Amazon CloudWatch alarms</a> </p> </important>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AIOpsClient";
4
2
  import type { DeleteInvestigationGroupRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteInvestigationGroupCommandInput extends DeleteInvestigatio
22
19
  export interface DeleteInvestigationGroupCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteInvestigationGroupCommand_base: {
25
- new (input: DeleteInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<DeleteInvestigationGroupCommandInput, DeleteInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<DeleteInvestigationGroupCommandInput, DeleteInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<DeleteInvestigationGroupCommandInput, DeleteInvestigationGroupCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<DeleteInvestigationGroupCommandInput, DeleteInvestigationGroupCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <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>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AIOpsClient";
4
2
  import type { DeleteInvestigationGroupPolicyOutput, DeleteInvestigationGroupPolicyRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteInvestigationGroupPolicyCommandInput extends DeleteInvest
22
19
  export interface DeleteInvestigationGroupPolicyCommandOutput extends DeleteInvestigationGroupPolicyOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteInvestigationGroupPolicyCommand_base: {
25
- new (input: DeleteInvestigationGroupPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteInvestigationGroupPolicyCommandInput, DeleteInvestigationGroupPolicyCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteInvestigationGroupPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteInvestigationGroupPolicyCommandInput, DeleteInvestigationGroupPolicyCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteInvestigationGroupPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteInvestigationGroupPolicyCommandInput, DeleteInvestigationGroupPolicyCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteInvestigationGroupPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteInvestigationGroupPolicyCommandInput, DeleteInvestigationGroupPolicyCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Removes the IAM resource policy from being associated with the investigation group that you specify.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AIOpsClient";
4
2
  import type { GetInvestigationGroupRequest, GetInvestigationGroupResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetInvestigationGroupCommandInput extends GetInvestigationGroup
22
19
  export interface GetInvestigationGroupCommandOutput extends GetInvestigationGroupResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetInvestigationGroupCommand_base: {
25
- new (input: GetInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<GetInvestigationGroupCommandInput, GetInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<GetInvestigationGroupCommandInput, GetInvestigationGroupCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<GetInvestigationGroupCommandInput, GetInvestigationGroupCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetInvestigationGroupCommandInput): import("@smithy/core/client").CommandImpl<GetInvestigationGroupCommandInput, GetInvestigationGroupCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the configuration information for the specified investigation group.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AIOpsClient";
4
2
  import type { GetInvestigationGroupPolicyRequest, GetInvestigationGroupPolicyResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetInvestigationGroupPolicyCommandInput extends GetInvestigatio
22
19
  export interface GetInvestigationGroupPolicyCommandOutput extends GetInvestigationGroupPolicyResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetInvestigationGroupPolicyCommand_base: {
25
- new (input: GetInvestigationGroupPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetInvestigationGroupPolicyCommandInput, GetInvestigationGroupPolicyCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetInvestigationGroupPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetInvestigationGroupPolicyCommandInput, GetInvestigationGroupPolicyCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetInvestigationGroupPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetInvestigationGroupPolicyCommandInput, GetInvestigationGroupPolicyCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetInvestigationGroupPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetInvestigationGroupPolicyCommandInput, GetInvestigationGroupPolicyCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the JSON of the IAM resource policy associated with the specified investigation group in a string. For example, <code>\{\"Version\":\"2012-10-17\",\"Statement\":[\{\"Effect\":\"Allow\",\"Principal\":\{\"Service\":\"aiops.alarms.cloudwatch.amazonaws.com\"\},\"Action\":[\"aiops:CreateInvestigation\",\"aiops:CreateInvestigationEvent\"],\"Resource\":\"*\",\"Condition\":\{\"StringEquals\":\{\"aws:SourceAccount\":\"111122223333\"\},\"ArnLike\":\{\"aws:SourceArn\":\"arn:aws:cloudwatch:us-east-1:111122223333:alarm:*\"\}\}\}]\}</code>.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AIOpsClient";
4
2
  import type { ListInvestigationGroupsInput, ListInvestigationGroupsOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListInvestigationGroupsCommandInput extends ListInvestigationGr
22
19
  export interface ListInvestigationGroupsCommandOutput extends ListInvestigationGroupsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListInvestigationGroupsCommand_base: {
25
- new (input: ListInvestigationGroupsCommandInput): import("@smithy/core/client").CommandImpl<ListInvestigationGroupsCommandInput, ListInvestigationGroupsCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListInvestigationGroupsCommandInput]): import("@smithy/core/client").CommandImpl<ListInvestigationGroupsCommandInput, ListInvestigationGroupsCommandOutput, AIOpsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListInvestigationGroupsCommandInput): import("@smithy/core/client").CommandImpl<ListInvestigationGroupsCommandInput, ListInvestigationGroupsCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListInvestigationGroupsCommandInput]): import("@smithy/core/client").CommandImpl<ListInvestigationGroupsCommandInput, ListInvestigationGroupsCommandOutput, import("..").AIOpsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the ARN and name of each investigation group in the account.</p>