@aws-sdk/client-guardduty 3.1123.0 → 3.1124.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 (85) hide show
  1. package/README.md +84 -0
  2. package/dist-cjs/index.js +558 -96
  3. package/dist-es/GuardDuty.js +30 -0
  4. package/dist-es/commands/CreateCustomDetectionRuleAssociationCommand.js +4 -0
  5. package/dist-es/commands/CreateCustomDetectionRuleOrgConfigurationCommand.js +4 -0
  6. package/dist-es/commands/DeleteCustomDetectionRuleAssociationCommand.js +4 -0
  7. package/dist-es/commands/DeleteCustomDetectionRuleOrgConfigurationCommand.js +4 -0
  8. package/dist-es/commands/GetCustomDetectionRuleAssociationCommand.js +4 -0
  9. package/dist-es/commands/GetCustomDetectionRuleCommand.js +4 -0
  10. package/dist-es/commands/GetCustomDetectionRuleOrgConfigurationCommand.js +4 -0
  11. package/dist-es/commands/ListCustomDetectionRuleAssociationsCommand.js +4 -0
  12. package/dist-es/commands/ListCustomDetectionRuleOrgConfigurationsCommand.js +4 -0
  13. package/dist-es/commands/ListCustomDetectionRulesCommand.js +4 -0
  14. package/dist-es/commands/UpdateCustomDetectionRuleAssociationCommand.js +4 -0
  15. package/dist-es/commands/UpdateCustomDetectionRuleOrgConfigurationCommand.js +4 -0
  16. package/dist-es/commands/index.js +12 -0
  17. package/dist-es/models/enums.js +37 -0
  18. package/dist-es/pagination/ListCustomDetectionRuleAssociationsPaginator.js +4 -0
  19. package/dist-es/pagination/ListCustomDetectionRuleOrgConfigurationsPaginator.js +4 -0
  20. package/dist-es/pagination/ListCustomDetectionRulesPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +3 -0
  22. package/dist-es/schemas/schemas_0.js +398 -95
  23. package/dist-types/GuardDuty.d.ts +108 -0
  24. package/dist-types/GuardDutyClient.d.ts +14 -2
  25. package/dist-types/commands/CreateCustomDetectionRuleAssociationCommand.d.ts +100 -0
  26. package/dist-types/commands/CreateCustomDetectionRuleOrgConfigurationCommand.d.ts +92 -0
  27. package/dist-types/commands/DeleteCustomDetectionRuleAssociationCommand.d.ts +82 -0
  28. package/dist-types/commands/DeleteCustomDetectionRuleOrgConfigurationCommand.d.ts +85 -0
  29. package/dist-types/commands/GetCustomDetectionRuleAssociationCommand.d.ts +96 -0
  30. package/dist-types/commands/GetCustomDetectionRuleCommand.d.ts +100 -0
  31. package/dist-types/commands/GetCustomDetectionRuleOrgConfigurationCommand.d.ts +98 -0
  32. package/dist-types/commands/GetFilterCommand.d.ts +1 -1
  33. package/dist-types/commands/GetFindingsCommand.d.ts +1 -1
  34. package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +1 -1
  35. package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
  36. package/dist-types/commands/GetInvestigationCommand.d.ts +1 -1
  37. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
  38. package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
  39. package/dist-types/commands/GetMalwareScanCommand.d.ts +1 -2
  40. package/dist-types/commands/ListCustomDetectionRuleAssociationsCommand.d.ts +94 -0
  41. package/dist-types/commands/ListCustomDetectionRuleOrgConfigurationsCommand.d.ts +93 -0
  42. package/dist-types/commands/ListCustomDetectionRulesCommand.d.ts +107 -0
  43. package/dist-types/commands/UpdateCustomDetectionRuleAssociationCommand.d.ts +86 -0
  44. package/dist-types/commands/UpdateCustomDetectionRuleOrgConfigurationCommand.d.ts +91 -0
  45. package/dist-types/commands/index.d.ts +12 -0
  46. package/dist-types/models/enums.d.ts +101 -0
  47. package/dist-types/models/models_0.d.ts +388 -379
  48. package/dist-types/models/models_1.d.ts +701 -2
  49. package/dist-types/pagination/ListCustomDetectionRuleAssociationsPaginator.d.ts +7 -0
  50. package/dist-types/pagination/ListCustomDetectionRuleOrgConfigurationsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/ListCustomDetectionRulesPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +3 -0
  53. package/dist-types/schemas/schemas_0.d.ts +44 -0
  54. package/dist-types/ts3.4/GuardDuty.d.ts +228 -0
  55. package/dist-types/ts3.4/GuardDutyClient.d.ts +72 -0
  56. package/dist-types/ts3.4/commands/CreateCustomDetectionRuleAssociationCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/CreateCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/DeleteCustomDetectionRuleAssociationCommand.d.ts +42 -0
  59. package/dist-types/ts3.4/commands/DeleteCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/GetCustomDetectionRuleAssociationCommand.d.ts +42 -0
  61. package/dist-types/ts3.4/commands/GetCustomDetectionRuleCommand.d.ts +39 -0
  62. package/dist-types/ts3.4/commands/GetCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +1 -2
  71. package/dist-types/ts3.4/commands/ListCustomDetectionRuleAssociationsCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/ListCustomDetectionRuleOrgConfigurationsCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/ListCustomDetectionRulesCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/UpdateCustomDetectionRuleAssociationCommand.d.ts +42 -0
  75. package/dist-types/ts3.4/commands/UpdateCustomDetectionRuleOrgConfigurationCommand.d.ts +42 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  77. package/dist-types/ts3.4/models/enums.d.ts +49 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +118 -117
  79. package/dist-types/ts3.4/models/models_1.d.ts +187 -1
  80. package/dist-types/ts3.4/pagination/ListCustomDetectionRuleAssociationsPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/ListCustomDetectionRuleOrgConfigurationsPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/ListCustomDetectionRulesPaginator.d.ts +11 -0
  83. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  84. package/dist-types/ts3.4/schemas/schemas_0.d.ts +44 -0
  85. package/package.json +1 -1
@@ -0,0 +1,85 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteCustomDetectionRuleOrgConfigurationRequest, DeleteCustomDetectionRuleOrgConfigurationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteCustomDetectionRuleOrgConfigurationCommand}.
11
+ */
12
+ export interface DeleteCustomDetectionRuleOrgConfigurationCommandInput extends DeleteCustomDetectionRuleOrgConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteCustomDetectionRuleOrgConfigurationCommand}.
18
+ */
19
+ export interface DeleteCustomDetectionRuleOrgConfigurationCommandOutput extends DeleteCustomDetectionRuleOrgConfigurationResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteCustomDetectionRuleOrgConfigurationCommand_base: {
22
+ new (input: DeleteCustomDetectionRuleOrgConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteCustomDetectionRuleOrgConfigurationCommandInput, DeleteCustomDetectionRuleOrgConfigurationCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteCustomDetectionRuleOrgConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteCustomDetectionRuleOrgConfigurationCommandInput, DeleteCustomDetectionRuleOrgConfigurationCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes the organization-level configuration for a custom detection rule. This operation is available only to the delegated administrator account.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { GuardDutyClient, DeleteCustomDetectionRuleOrgConfigurationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
32
+ * // const { GuardDutyClient, DeleteCustomDetectionRuleOrgConfigurationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
33
+ * // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
34
+ * const config = {}; // type is GuardDutyClientConfig
35
+ * const client = new GuardDutyClient(config);
36
+ * const input = { // DeleteCustomDetectionRuleOrgConfigurationRequest
37
+ * RuleId: "STRING_VALUE", // required
38
+ * Mode: "LIVE" || "DRY_RUN", // required
39
+ * };
40
+ * const command = new DeleteCustomDetectionRuleOrgConfigurationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteCustomDetectionRuleOrgConfigurationCommandInput - {@link DeleteCustomDetectionRuleOrgConfigurationCommandInput}
47
+ * @returns {@link DeleteCustomDetectionRuleOrgConfigurationCommandOutput}
48
+ * @see {@link DeleteCustomDetectionRuleOrgConfigurationCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteCustomDetectionRuleOrgConfigurationCommandOutput} for command's `response` shape.
50
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>An access denied exception object.</p>
54
+ *
55
+ * @throws {@link BadRequestException} (client fault)
56
+ * <p>A bad request exception object.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>A request conflict exception object.</p>
60
+ *
61
+ * @throws {@link InternalServerErrorException} (server fault)
62
+ * <p>An internal server error exception object.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The requested resource can't be found.</p>
66
+ *
67
+ * @throws {@link GuardDutyServiceException}
68
+ * <p>Base exception class for all service exceptions from GuardDuty service.</p>
69
+ *
70
+ *
71
+ * @public
72
+ */
73
+ export declare class DeleteCustomDetectionRuleOrgConfigurationCommand extends DeleteCustomDetectionRuleOrgConfigurationCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: DeleteCustomDetectionRuleOrgConfigurationRequest;
78
+ output: {};
79
+ };
80
+ sdk: {
81
+ input: DeleteCustomDetectionRuleOrgConfigurationCommandInput;
82
+ output: DeleteCustomDetectionRuleOrgConfigurationCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -0,0 +1,96 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetCustomDetectionRuleAssociationRequest, GetCustomDetectionRuleAssociationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetCustomDetectionRuleAssociationCommand}.
11
+ */
12
+ export interface GetCustomDetectionRuleAssociationCommandInput extends GetCustomDetectionRuleAssociationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetCustomDetectionRuleAssociationCommand}.
18
+ */
19
+ export interface GetCustomDetectionRuleAssociationCommandOutput extends GetCustomDetectionRuleAssociationResponse, __MetadataBearer {
20
+ }
21
+ declare const GetCustomDetectionRuleAssociationCommand_base: {
22
+ new (input: GetCustomDetectionRuleAssociationCommandInput): import("@smithy/core/client").CommandImpl<GetCustomDetectionRuleAssociationCommandInput, GetCustomDetectionRuleAssociationCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetCustomDetectionRuleAssociationCommandInput): import("@smithy/core/client").CommandImpl<GetCustomDetectionRuleAssociationCommandInput, GetCustomDetectionRuleAssociationCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns details for a custom detection rule association.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { GuardDutyClient, GetCustomDetectionRuleAssociationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
32
+ * // const { GuardDutyClient, GetCustomDetectionRuleAssociationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
33
+ * // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
34
+ * const config = {}; // type is GuardDutyClientConfig
35
+ * const client = new GuardDutyClient(config);
36
+ * const input = { // GetCustomDetectionRuleAssociationRequest
37
+ * RuleId: "STRING_VALUE", // required
38
+ * AssociationId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetCustomDetectionRuleAssociationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetCustomDetectionRuleAssociationResponse
43
+ * // RuleAssociation: { // AssociationDetail
44
+ * // AssociationId: "STRING_VALUE", // required
45
+ * // Arn: "STRING_VALUE", // required
46
+ * // RuleId: "STRING_VALUE", // required
47
+ * // AccountId: "STRING_VALUE", // required
48
+ * // Mode: "LIVE" || "DRY_RUN", // required
49
+ * // CreatedAt: new Date("TIMESTAMP"), // required
50
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
51
+ * // ExpiresAt: new Date("TIMESTAMP"),
52
+ * // },
53
+ * // Tags: { // TagMap
54
+ * // "<keys>": "STRING_VALUE",
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param GetCustomDetectionRuleAssociationCommandInput - {@link GetCustomDetectionRuleAssociationCommandInput}
61
+ * @returns {@link GetCustomDetectionRuleAssociationCommandOutput}
62
+ * @see {@link GetCustomDetectionRuleAssociationCommandInput} for command's `input` shape.
63
+ * @see {@link GetCustomDetectionRuleAssociationCommandOutput} for command's `response` shape.
64
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>An access denied exception object.</p>
68
+ *
69
+ * @throws {@link BadRequestException} (client fault)
70
+ * <p>A bad request exception object.</p>
71
+ *
72
+ * @throws {@link InternalServerErrorException} (server fault)
73
+ * <p>An internal server error exception object.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The requested resource can't be found.</p>
77
+ *
78
+ * @throws {@link GuardDutyServiceException}
79
+ * <p>Base exception class for all service exceptions from GuardDuty service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class GetCustomDetectionRuleAssociationCommand extends GetCustomDetectionRuleAssociationCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: GetCustomDetectionRuleAssociationRequest;
89
+ output: GetCustomDetectionRuleAssociationResponse;
90
+ };
91
+ sdk: {
92
+ input: GetCustomDetectionRuleAssociationCommandInput;
93
+ output: GetCustomDetectionRuleAssociationCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,100 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetCustomDetectionRuleRequest, GetCustomDetectionRuleResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetCustomDetectionRuleCommand}.
11
+ */
12
+ export interface GetCustomDetectionRuleCommandInput extends GetCustomDetectionRuleRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetCustomDetectionRuleCommand}.
18
+ */
19
+ export interface GetCustomDetectionRuleCommandOutput extends GetCustomDetectionRuleResponse, __MetadataBearer {
20
+ }
21
+ declare const GetCustomDetectionRuleCommand_base: {
22
+ new (input: GetCustomDetectionRuleCommandInput): import("@smithy/core/client").CommandImpl<GetCustomDetectionRuleCommandInput, GetCustomDetectionRuleCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetCustomDetectionRuleCommandInput): import("@smithy/core/client").CommandImpl<GetCustomDetectionRuleCommandInput, GetCustomDetectionRuleCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns details for a custom detection rule in GuardDuty, including its detection logic.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { GuardDutyClient, GetCustomDetectionRuleCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
32
+ * // const { GuardDutyClient, GetCustomDetectionRuleCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
33
+ * // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
34
+ * const config = {}; // type is GuardDutyClientConfig
35
+ * const client = new GuardDutyClient(config);
36
+ * const input = { // GetCustomDetectionRuleRequest
37
+ * RuleId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetCustomDetectionRuleCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetCustomDetectionRuleResponse
42
+ * // Rule: { // RuleDetail
43
+ * // RuleId: "STRING_VALUE", // required
44
+ * // Arn: "STRING_VALUE", // required
45
+ * // Name: "STRING_VALUE", // required
46
+ * // Description: "STRING_VALUE", // required
47
+ * // Severity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW", // required
48
+ * // DataSource: "CloudTrailManagementEvent", // required
49
+ * // Tactic: "STRING_VALUE", // required
50
+ * // Technique: "STRING_VALUE", // required
51
+ * // Service: "STRING_VALUE", // required
52
+ * // Definition: { // RuleDefinition
53
+ * // Expression: "STRING_VALUE", // required
54
+ * // },
55
+ * // Language: "SQL",
56
+ * // Schema: "CloudTrail",
57
+ * // CreatedAt: new Date("TIMESTAMP"), // required
58
+ * // UpdatedAt: new Date("TIMESTAMP"),
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param GetCustomDetectionRuleCommandInput - {@link GetCustomDetectionRuleCommandInput}
65
+ * @returns {@link GetCustomDetectionRuleCommandOutput}
66
+ * @see {@link GetCustomDetectionRuleCommandInput} for command's `input` shape.
67
+ * @see {@link GetCustomDetectionRuleCommandOutput} for command's `response` shape.
68
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>An access denied exception object.</p>
72
+ *
73
+ * @throws {@link BadRequestException} (client fault)
74
+ * <p>A bad request exception object.</p>
75
+ *
76
+ * @throws {@link InternalServerErrorException} (server fault)
77
+ * <p>An internal server error exception object.</p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>The requested resource can't be found.</p>
81
+ *
82
+ * @throws {@link GuardDutyServiceException}
83
+ * <p>Base exception class for all service exceptions from GuardDuty service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class GetCustomDetectionRuleCommand extends GetCustomDetectionRuleCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: GetCustomDetectionRuleRequest;
93
+ output: GetCustomDetectionRuleResponse;
94
+ };
95
+ sdk: {
96
+ input: GetCustomDetectionRuleCommandInput;
97
+ output: GetCustomDetectionRuleCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,98 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetCustomDetectionRuleOrgConfigurationRequest, GetCustomDetectionRuleOrgConfigurationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetCustomDetectionRuleOrgConfigurationCommand}.
11
+ */
12
+ export interface GetCustomDetectionRuleOrgConfigurationCommandInput extends GetCustomDetectionRuleOrgConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetCustomDetectionRuleOrgConfigurationCommand}.
18
+ */
19
+ export interface GetCustomDetectionRuleOrgConfigurationCommandOutput extends GetCustomDetectionRuleOrgConfigurationResponse, __MetadataBearer {
20
+ }
21
+ declare const GetCustomDetectionRuleOrgConfigurationCommand_base: {
22
+ new (input: GetCustomDetectionRuleOrgConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetCustomDetectionRuleOrgConfigurationCommandInput, GetCustomDetectionRuleOrgConfigurationCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetCustomDetectionRuleOrgConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetCustomDetectionRuleOrgConfigurationCommandInput, GetCustomDetectionRuleOrgConfigurationCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the organization-level configuration for a custom detection rule.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { GuardDutyClient, GetCustomDetectionRuleOrgConfigurationCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
32
+ * // const { GuardDutyClient, GetCustomDetectionRuleOrgConfigurationCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
33
+ * // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
34
+ * const config = {}; // type is GuardDutyClientConfig
35
+ * const client = new GuardDutyClient(config);
36
+ * const input = { // GetCustomDetectionRuleOrgConfigurationRequest
37
+ * RuleId: "STRING_VALUE", // required
38
+ * Mode: "LIVE" || "DRY_RUN", // required
39
+ * };
40
+ * const command = new GetCustomDetectionRuleOrgConfigurationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetCustomDetectionRuleOrgConfigurationResponse
43
+ * // Configuration: { // DetectionRuleOrgConfiguration
44
+ * // RuleId: "STRING_VALUE", // required
45
+ * // Mode: "LIVE" || "DRY_RUN", // required
46
+ * // Status: "ACTIVE" || "PROCESSING" || "FAILED", // required
47
+ * // StatusReason: "STRING_VALUE",
48
+ * // IncludeAccountIds: [ // DetectionRuleAccountIds // required
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // ExcludeAccountIds: [ // required
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // CreatedAt: new Date("TIMESTAMP"), // required
55
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
56
+ * // ExpiresAt: new Date("TIMESTAMP"),
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param GetCustomDetectionRuleOrgConfigurationCommandInput - {@link GetCustomDetectionRuleOrgConfigurationCommandInput}
63
+ * @returns {@link GetCustomDetectionRuleOrgConfigurationCommandOutput}
64
+ * @see {@link GetCustomDetectionRuleOrgConfigurationCommandInput} for command's `input` shape.
65
+ * @see {@link GetCustomDetectionRuleOrgConfigurationCommandOutput} for command's `response` shape.
66
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>An access denied exception object.</p>
70
+ *
71
+ * @throws {@link BadRequestException} (client fault)
72
+ * <p>A bad request exception object.</p>
73
+ *
74
+ * @throws {@link InternalServerErrorException} (server fault)
75
+ * <p>An internal server error exception object.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The requested resource can't be found.</p>
79
+ *
80
+ * @throws {@link GuardDutyServiceException}
81
+ * <p>Base exception class for all service exceptions from GuardDuty service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class GetCustomDetectionRuleOrgConfigurationCommand extends GetCustomDetectionRuleOrgConfigurationCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: GetCustomDetectionRuleOrgConfigurationRequest;
91
+ output: GetCustomDetectionRuleOrgConfigurationResponse;
92
+ };
93
+ sdk: {
94
+ input: GetCustomDetectionRuleOrgConfigurationCommandInput;
95
+ output: GetCustomDetectionRuleOrgConfigurationCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetFilterRequest, GetFilterResponse } from "../models/models_0";
2
+ import type { GetFilterRequest, GetFilterResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetFindingsRequest, GetFindingsResponse } from "../models/models_0";
2
+ import type { GetFindingsRequest, GetFindingsResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetFindingsStatisticsRequest, GetFindingsStatisticsResponse } from "../models/models_0";
2
+ import type { GetFindingsStatisticsRequest, GetFindingsStatisticsResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetIPSetRequest, GetIPSetResponse } from "../models/models_0";
2
+ import type { GetIPSetRequest, GetIPSetResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetInvestigationRequest, GetInvestigationResponse } from "../models/models_0";
2
+ import type { GetInvestigationRequest, GetInvestigationResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetInvitationsCountRequest, GetInvitationsCountResponse } from "../models/models_0";
2
+ import type { GetInvitationsCountRequest, GetInvitationsCountResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetMalwareProtectionPlanRequest, GetMalwareProtectionPlanResponse } from "../models/models_0";
2
+ import type { GetMalwareProtectionPlanRequest, GetMalwareProtectionPlanResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetMalwareScanRequest } from "../models/models_0";
3
- import type { GetMalwareScanResponse } from "../models/models_1";
2
+ import type { GetMalwareScanRequest, GetMalwareScanResponse } from "../models/models_1";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListCustomDetectionRuleAssociationsRequest, ListCustomDetectionRuleAssociationsResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListCustomDetectionRuleAssociationsCommand}.
11
+ */
12
+ export interface ListCustomDetectionRuleAssociationsCommandInput extends ListCustomDetectionRuleAssociationsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListCustomDetectionRuleAssociationsCommand}.
18
+ */
19
+ export interface ListCustomDetectionRuleAssociationsCommandOutput extends ListCustomDetectionRuleAssociationsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListCustomDetectionRuleAssociationsCommand_base: {
22
+ new (input: ListCustomDetectionRuleAssociationsCommandInput): import("@smithy/core/client").CommandImpl<ListCustomDetectionRuleAssociationsCommandInput, ListCustomDetectionRuleAssociationsCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListCustomDetectionRuleAssociationsCommandInput]): import("@smithy/core/client").CommandImpl<ListCustomDetectionRuleAssociationsCommandInput, ListCustomDetectionRuleAssociationsCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns all custom detection rule associations for your account. You can filter by rule ID and mode.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { GuardDutyClient, ListCustomDetectionRuleAssociationsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
32
+ * // const { GuardDutyClient, ListCustomDetectionRuleAssociationsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
33
+ * // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
34
+ * const config = {}; // type is GuardDutyClientConfig
35
+ * const client = new GuardDutyClient(config);
36
+ * const input = { // ListCustomDetectionRuleAssociationsRequest
37
+ * MaxResults: Number("int"),
38
+ * NextToken: "STRING_VALUE",
39
+ * RuleId: "STRING_VALUE",
40
+ * Mode: "LIVE" || "DRY_RUN",
41
+ * };
42
+ * const command = new ListCustomDetectionRuleAssociationsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListCustomDetectionRuleAssociationsResponse
45
+ * // RuleAssociations: [ // AssociationSummaryList // required
46
+ * // { // AssociationSummary
47
+ * // AssociationId: "STRING_VALUE", // required
48
+ * // Arn: "STRING_VALUE", // required
49
+ * // RuleId: "STRING_VALUE", // required
50
+ * // Mode: "LIVE" || "DRY_RUN", // required
51
+ * // CreatedAt: new Date("TIMESTAMP"), // required
52
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
53
+ * // ExpiresAt: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // ],
56
+ * // NextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListCustomDetectionRuleAssociationsCommandInput - {@link ListCustomDetectionRuleAssociationsCommandInput}
62
+ * @returns {@link ListCustomDetectionRuleAssociationsCommandOutput}
63
+ * @see {@link ListCustomDetectionRuleAssociationsCommandInput} for command's `input` shape.
64
+ * @see {@link ListCustomDetectionRuleAssociationsCommandOutput} for command's `response` shape.
65
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>An access denied exception object.</p>
69
+ *
70
+ * @throws {@link BadRequestException} (client fault)
71
+ * <p>A bad request exception object.</p>
72
+ *
73
+ * @throws {@link InternalServerErrorException} (server fault)
74
+ * <p>An internal server error exception object.</p>
75
+ *
76
+ * @throws {@link GuardDutyServiceException}
77
+ * <p>Base exception class for all service exceptions from GuardDuty service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class ListCustomDetectionRuleAssociationsCommand extends ListCustomDetectionRuleAssociationsCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: ListCustomDetectionRuleAssociationsRequest;
87
+ output: ListCustomDetectionRuleAssociationsResponse;
88
+ };
89
+ sdk: {
90
+ input: ListCustomDetectionRuleAssociationsCommandInput;
91
+ output: ListCustomDetectionRuleAssociationsCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,93 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListCustomDetectionRuleOrgConfigurationsRequest, ListCustomDetectionRuleOrgConfigurationsResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListCustomDetectionRuleOrgConfigurationsCommand}.
11
+ */
12
+ export interface ListCustomDetectionRuleOrgConfigurationsCommandInput extends ListCustomDetectionRuleOrgConfigurationsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListCustomDetectionRuleOrgConfigurationsCommand}.
18
+ */
19
+ export interface ListCustomDetectionRuleOrgConfigurationsCommandOutput extends ListCustomDetectionRuleOrgConfigurationsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListCustomDetectionRuleOrgConfigurationsCommand_base: {
22
+ new (input: ListCustomDetectionRuleOrgConfigurationsCommandInput): import("@smithy/core/client").CommandImpl<ListCustomDetectionRuleOrgConfigurationsCommandInput, ListCustomDetectionRuleOrgConfigurationsCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListCustomDetectionRuleOrgConfigurationsCommandInput]): import("@smithy/core/client").CommandImpl<ListCustomDetectionRuleOrgConfigurationsCommandInput, ListCustomDetectionRuleOrgConfigurationsCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns all organization-level configurations for custom detection rules. You can filter the results by status.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { GuardDutyClient, ListCustomDetectionRuleOrgConfigurationsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
32
+ * // const { GuardDutyClient, ListCustomDetectionRuleOrgConfigurationsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
33
+ * // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
34
+ * const config = {}; // type is GuardDutyClientConfig
35
+ * const client = new GuardDutyClient(config);
36
+ * const input = { // ListCustomDetectionRuleOrgConfigurationsRequest
37
+ * MaxResults: Number("int"),
38
+ * NextToken: "STRING_VALUE",
39
+ * Status: "ACTIVE" || "PROCESSING" || "FAILED",
40
+ * };
41
+ * const command = new ListCustomDetectionRuleOrgConfigurationsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListCustomDetectionRuleOrgConfigurationsResponse
44
+ * // Configurations: [ // DetectionRuleOrgConfigurationSummaryList // required
45
+ * // { // DetectionRuleOrgConfigurationSummary
46
+ * // RuleId: "STRING_VALUE", // required
47
+ * // Mode: "LIVE" || "DRY_RUN", // required
48
+ * // Status: "ACTIVE" || "PROCESSING" || "FAILED", // required
49
+ * // StatusReason: "STRING_VALUE",
50
+ * // CreatedAt: new Date("TIMESTAMP"), // required
51
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
52
+ * // ExpiresAt: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // ],
55
+ * // NextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListCustomDetectionRuleOrgConfigurationsCommandInput - {@link ListCustomDetectionRuleOrgConfigurationsCommandInput}
61
+ * @returns {@link ListCustomDetectionRuleOrgConfigurationsCommandOutput}
62
+ * @see {@link ListCustomDetectionRuleOrgConfigurationsCommandInput} for command's `input` shape.
63
+ * @see {@link ListCustomDetectionRuleOrgConfigurationsCommandOutput} for command's `response` shape.
64
+ * @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>An access denied exception object.</p>
68
+ *
69
+ * @throws {@link BadRequestException} (client fault)
70
+ * <p>A bad request exception object.</p>
71
+ *
72
+ * @throws {@link InternalServerErrorException} (server fault)
73
+ * <p>An internal server error exception object.</p>
74
+ *
75
+ * @throws {@link GuardDutyServiceException}
76
+ * <p>Base exception class for all service exceptions from GuardDuty service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class ListCustomDetectionRuleOrgConfigurationsCommand extends ListCustomDetectionRuleOrgConfigurationsCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: ListCustomDetectionRuleOrgConfigurationsRequest;
86
+ output: ListCustomDetectionRuleOrgConfigurationsResponse;
87
+ };
88
+ sdk: {
89
+ input: ListCustomDetectionRuleOrgConfigurationsCommandInput;
90
+ output: ListCustomDetectionRuleOrgConfigurationsCommandOutput;
91
+ };
92
+ };
93
+ }