@aws-sdk/client-guardduty 3.863.0 → 3.868.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -0
- package/dist-cjs/index.js +532 -6
- package/dist-es/GuardDuty.js +20 -0
- package/dist-es/commands/CreateThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/CreateTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/DeleteThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/DeleteTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/GetThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/GetTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/ListThreatEntitySetsCommand.js +22 -0
- package/dist-es/commands/ListTrustedEntitySetsCommand.js +22 -0
- package/dist-es/commands/UpdateThreatEntitySetCommand.js +22 -0
- package/dist-es/commands/UpdateTrustedEntitySetCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +16 -3
- package/dist-es/models/models_1.js +21 -0
- package/dist-es/pagination/ListThreatEntitySetsPaginator.js +4 -0
- package/dist-es/pagination/ListTrustedEntitySetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +284 -0
- package/dist-types/GuardDuty.d.ts +70 -0
- package/dist-types/GuardDutyClient.d.ts +12 -2
- package/dist-types/commands/CreateThreatEntitySetCommand.d.ts +91 -0
- package/dist-types/commands/CreateTrustedEntitySetCommand.d.ts +92 -0
- package/dist-types/commands/DeleteThreatEntitySetCommand.d.ts +78 -0
- package/dist-types/commands/DeleteTrustedEntitySetCommand.d.ts +78 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +1 -2
- package/dist-types/commands/GetThreatEntitySetCommand.d.ts +89 -0
- package/dist-types/commands/GetTrustedEntitySetCommand.d.ts +89 -0
- package/dist-types/commands/ListThreatEntitySetsCommand.d.ts +85 -0
- package/dist-types/commands/ListTrustedEntitySetsCommand.d.ts +85 -0
- package/dist-types/commands/UpdateThreatEntitySetCommand.d.ts +81 -0
- package/dist-types/commands/UpdateTrustedEntitySetCommand.d.ts +81 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +200 -200
- package/dist-types/models/models_1.d.ts +548 -1
- package/dist-types/pagination/ListThreatEntitySetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrustedEntitySetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +170 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +62 -2
- package/dist-types/ts3.4/commands/CreateThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListThreatEntitySetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTrustedEntitySetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateThreatEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTrustedEntitySetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -49
- package/dist-types/ts3.4/models/models_1.d.ts +144 -1
- package/dist-types/ts3.4/pagination/ListThreatEntitySetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrustedEntitySetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +5 -5
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
+
import { GetTrustedEntitySetRequest, GetTrustedEntitySetResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetTrustedEntitySetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetTrustedEntitySetCommandInput extends GetTrustedEntitySetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetTrustedEntitySetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTrustedEntitySetCommandOutput extends GetTrustedEntitySetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetTrustedEntitySetCommand_base: {
|
|
25
|
+
new (input: GetTrustedEntitySetCommandInput): import("@smithy/smithy-client").CommandImpl<GetTrustedEntitySetCommandInput, GetTrustedEntitySetCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetTrustedEntitySetCommandInput): import("@smithy/smithy-client").CommandImpl<GetTrustedEntitySetCommandInput, GetTrustedEntitySetCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the trusted entity set associated with the specified <code>trustedEntitySetId</code>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { GuardDutyClient, GetTrustedEntitySetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
35
|
+
* // const { GuardDutyClient, GetTrustedEntitySetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
36
|
+
* const client = new GuardDutyClient(config);
|
|
37
|
+
* const input = { // GetTrustedEntitySetRequest
|
|
38
|
+
* DetectorId: "STRING_VALUE", // required
|
|
39
|
+
* TrustedEntitySetId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetTrustedEntitySetCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetTrustedEntitySetResponse
|
|
44
|
+
* // Name: "STRING_VALUE", // required
|
|
45
|
+
* // Format: "TXT" || "STIX" || "OTX_CSV" || "ALIEN_VAULT" || "PROOF_POINT" || "FIRE_EYE", // required
|
|
46
|
+
* // Location: "STRING_VALUE", // required
|
|
47
|
+
* // ExpectedBucketOwner: "STRING_VALUE",
|
|
48
|
+
* // Status: "INACTIVE" || "ACTIVATING" || "ACTIVE" || "DEACTIVATING" || "ERROR" || "DELETE_PENDING" || "DELETED", // required
|
|
49
|
+
* // Tags: { // TagMap
|
|
50
|
+
* // "<keys>": "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // ErrorDetails: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param GetTrustedEntitySetCommandInput - {@link GetTrustedEntitySetCommandInput}
|
|
60
|
+
* @returns {@link GetTrustedEntitySetCommandOutput}
|
|
61
|
+
* @see {@link GetTrustedEntitySetCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link GetTrustedEntitySetCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link BadRequestException} (client fault)
|
|
66
|
+
* <p>A bad request exception object.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
69
|
+
* <p>An internal server error exception object.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link GuardDutyServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class GetTrustedEntitySetCommand extends GetTrustedEntitySetCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: GetTrustedEntitySetRequest;
|
|
82
|
+
output: GetTrustedEntitySetResponse;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: GetTrustedEntitySetCommandInput;
|
|
86
|
+
output: GetTrustedEntitySetCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
+
import { ListThreatEntitySetsRequest, ListThreatEntitySetsResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListThreatEntitySetsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListThreatEntitySetsCommandInput extends ListThreatEntitySetsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListThreatEntitySetsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListThreatEntitySetsCommandOutput extends ListThreatEntitySetsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListThreatEntitySetsCommand_base: {
|
|
25
|
+
new (input: ListThreatEntitySetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListThreatEntitySetsCommandInput, ListThreatEntitySetsCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListThreatEntitySetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListThreatEntitySetsCommandInput, ListThreatEntitySetsCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the threat entity sets associated with the specified GuardDuty detector ID. If you use this
|
|
31
|
+
* operation from a member account, the threat entity sets that are returned as a response, belong to the
|
|
32
|
+
* administrator account.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { GuardDutyClient, ListThreatEntitySetsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
37
|
+
* // const { GuardDutyClient, ListThreatEntitySetsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
38
|
+
* const client = new GuardDutyClient(config);
|
|
39
|
+
* const input = { // ListThreatEntitySetsRequest
|
|
40
|
+
* DetectorId: "STRING_VALUE", // required
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListThreatEntitySetsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListThreatEntitySetsResponse
|
|
47
|
+
* // ThreatEntitySetIds: [ // ThreatEntitySetIds // required
|
|
48
|
+
* // "STRING_VALUE",
|
|
49
|
+
* // ],
|
|
50
|
+
* // NextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListThreatEntitySetsCommandInput - {@link ListThreatEntitySetsCommandInput}
|
|
56
|
+
* @returns {@link ListThreatEntitySetsCommandOutput}
|
|
57
|
+
* @see {@link ListThreatEntitySetsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListThreatEntitySetsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link BadRequestException} (client fault)
|
|
62
|
+
* <p>A bad request exception object.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
65
|
+
* <p>An internal server error exception object.</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 ListThreatEntitySetsCommand extends ListThreatEntitySetsCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: ListThreatEntitySetsRequest;
|
|
78
|
+
output: ListThreatEntitySetsResponse;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: ListThreatEntitySetsCommandInput;
|
|
82
|
+
output: ListThreatEntitySetsCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
+
import { ListTrustedEntitySetsRequest, ListTrustedEntitySetsResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTrustedEntitySetsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTrustedEntitySetsCommandInput extends ListTrustedEntitySetsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTrustedEntitySetsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTrustedEntitySetsCommandOutput extends ListTrustedEntitySetsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTrustedEntitySetsCommand_base: {
|
|
25
|
+
new (input: ListTrustedEntitySetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTrustedEntitySetsCommandInput, ListTrustedEntitySetsCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTrustedEntitySetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTrustedEntitySetsCommandInput, ListTrustedEntitySetsCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the trusted entity sets associated with the specified GuardDuty detector ID. If you use this
|
|
31
|
+
* operation from a member account, the trusted entity sets that are returned as a response, belong to the
|
|
32
|
+
* administrator account.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { GuardDutyClient, ListTrustedEntitySetsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
37
|
+
* // const { GuardDutyClient, ListTrustedEntitySetsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
38
|
+
* const client = new GuardDutyClient(config);
|
|
39
|
+
* const input = { // ListTrustedEntitySetsRequest
|
|
40
|
+
* DetectorId: "STRING_VALUE", // required
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListTrustedEntitySetsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListTrustedEntitySetsResponse
|
|
47
|
+
* // TrustedEntitySetIds: [ // TrustedEntitySetIds // required
|
|
48
|
+
* // "STRING_VALUE",
|
|
49
|
+
* // ],
|
|
50
|
+
* // NextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListTrustedEntitySetsCommandInput - {@link ListTrustedEntitySetsCommandInput}
|
|
56
|
+
* @returns {@link ListTrustedEntitySetsCommandOutput}
|
|
57
|
+
* @see {@link ListTrustedEntitySetsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListTrustedEntitySetsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link BadRequestException} (client fault)
|
|
62
|
+
* <p>A bad request exception object.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
65
|
+
* <p>An internal server error exception object.</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 ListTrustedEntitySetsCommand extends ListTrustedEntitySetsCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: ListTrustedEntitySetsRequest;
|
|
78
|
+
output: ListTrustedEntitySetsResponse;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: ListTrustedEntitySetsCommandInput;
|
|
82
|
+
output: ListTrustedEntitySetsCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
+
import { UpdateThreatEntitySetRequest, UpdateThreatEntitySetResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateThreatEntitySetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateThreatEntitySetCommandInput extends UpdateThreatEntitySetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateThreatEntitySetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateThreatEntitySetCommandOutput extends UpdateThreatEntitySetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateThreatEntitySetCommand_base: {
|
|
25
|
+
new (input: UpdateThreatEntitySetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateThreatEntitySetCommandInput, UpdateThreatEntitySetCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateThreatEntitySetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateThreatEntitySetCommandInput, UpdateThreatEntitySetCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the threat entity set associated with the specified <code>threatEntitySetId</code>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { GuardDutyClient, UpdateThreatEntitySetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
35
|
+
* // const { GuardDutyClient, UpdateThreatEntitySetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
36
|
+
* const client = new GuardDutyClient(config);
|
|
37
|
+
* const input = { // UpdateThreatEntitySetRequest
|
|
38
|
+
* DetectorId: "STRING_VALUE", // required
|
|
39
|
+
* ThreatEntitySetId: "STRING_VALUE", // required
|
|
40
|
+
* Name: "STRING_VALUE",
|
|
41
|
+
* Location: "STRING_VALUE",
|
|
42
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
43
|
+
* Activate: true || false,
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UpdateThreatEntitySetCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UpdateThreatEntitySetCommandInput - {@link UpdateThreatEntitySetCommandInput}
|
|
52
|
+
* @returns {@link UpdateThreatEntitySetCommandOutput}
|
|
53
|
+
* @see {@link UpdateThreatEntitySetCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UpdateThreatEntitySetCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BadRequestException} (client fault)
|
|
58
|
+
* <p>A bad request exception object.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
61
|
+
* <p>An internal server error exception object.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link GuardDutyServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
65
|
+
*
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class UpdateThreatEntitySetCommand extends UpdateThreatEntitySetCommand_base {
|
|
70
|
+
/** @internal type navigation helper, not in runtime. */
|
|
71
|
+
protected static __types: {
|
|
72
|
+
api: {
|
|
73
|
+
input: UpdateThreatEntitySetRequest;
|
|
74
|
+
output: {};
|
|
75
|
+
};
|
|
76
|
+
sdk: {
|
|
77
|
+
input: UpdateThreatEntitySetCommandInput;
|
|
78
|
+
output: UpdateThreatEntitySetCommandOutput;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
|
|
4
|
+
import { UpdateTrustedEntitySetRequest, UpdateTrustedEntitySetResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateTrustedEntitySetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateTrustedEntitySetCommandInput extends UpdateTrustedEntitySetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateTrustedEntitySetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateTrustedEntitySetCommandOutput extends UpdateTrustedEntitySetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateTrustedEntitySetCommand_base: {
|
|
25
|
+
new (input: UpdateTrustedEntitySetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTrustedEntitySetCommandInput, UpdateTrustedEntitySetCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateTrustedEntitySetCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTrustedEntitySetCommandInput, UpdateTrustedEntitySetCommandOutput, GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the trusted entity set associated with the specified <code>trustedEntitySetId</code>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { GuardDutyClient, UpdateTrustedEntitySetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
35
|
+
* // const { GuardDutyClient, UpdateTrustedEntitySetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
36
|
+
* const client = new GuardDutyClient(config);
|
|
37
|
+
* const input = { // UpdateTrustedEntitySetRequest
|
|
38
|
+
* DetectorId: "STRING_VALUE", // required
|
|
39
|
+
* TrustedEntitySetId: "STRING_VALUE", // required
|
|
40
|
+
* Name: "STRING_VALUE",
|
|
41
|
+
* Location: "STRING_VALUE",
|
|
42
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
43
|
+
* Activate: true || false,
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UpdateTrustedEntitySetCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UpdateTrustedEntitySetCommandInput - {@link UpdateTrustedEntitySetCommandInput}
|
|
52
|
+
* @returns {@link UpdateTrustedEntitySetCommandOutput}
|
|
53
|
+
* @see {@link UpdateTrustedEntitySetCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UpdateTrustedEntitySetCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BadRequestException} (client fault)
|
|
58
|
+
* <p>A bad request exception object.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
61
|
+
* <p>An internal server error exception object.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link GuardDutyServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
65
|
+
*
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class UpdateTrustedEntitySetCommand extends UpdateTrustedEntitySetCommand_base {
|
|
70
|
+
/** @internal type navigation helper, not in runtime. */
|
|
71
|
+
protected static __types: {
|
|
72
|
+
api: {
|
|
73
|
+
input: UpdateTrustedEntitySetRequest;
|
|
74
|
+
output: {};
|
|
75
|
+
};
|
|
76
|
+
sdk: {
|
|
77
|
+
input: UpdateTrustedEntitySetCommandInput;
|
|
78
|
+
output: UpdateTrustedEntitySetCommandOutput;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -8,7 +8,9 @@ export * from "./CreateMalwareProtectionPlanCommand";
|
|
|
8
8
|
export * from "./CreateMembersCommand";
|
|
9
9
|
export * from "./CreatePublishingDestinationCommand";
|
|
10
10
|
export * from "./CreateSampleFindingsCommand";
|
|
11
|
+
export * from "./CreateThreatEntitySetCommand";
|
|
11
12
|
export * from "./CreateThreatIntelSetCommand";
|
|
13
|
+
export * from "./CreateTrustedEntitySetCommand";
|
|
12
14
|
export * from "./DeclineInvitationsCommand";
|
|
13
15
|
export * from "./DeleteDetectorCommand";
|
|
14
16
|
export * from "./DeleteFilterCommand";
|
|
@@ -17,7 +19,9 @@ export * from "./DeleteInvitationsCommand";
|
|
|
17
19
|
export * from "./DeleteMalwareProtectionPlanCommand";
|
|
18
20
|
export * from "./DeleteMembersCommand";
|
|
19
21
|
export * from "./DeletePublishingDestinationCommand";
|
|
22
|
+
export * from "./DeleteThreatEntitySetCommand";
|
|
20
23
|
export * from "./DeleteThreatIntelSetCommand";
|
|
24
|
+
export * from "./DeleteTrustedEntitySetCommand";
|
|
21
25
|
export * from "./DescribeMalwareScansCommand";
|
|
22
26
|
export * from "./DescribeOrganizationConfigurationCommand";
|
|
23
27
|
export * from "./DescribePublishingDestinationCommand";
|
|
@@ -41,7 +45,9 @@ export * from "./GetMemberDetectorsCommand";
|
|
|
41
45
|
export * from "./GetMembersCommand";
|
|
42
46
|
export * from "./GetOrganizationStatisticsCommand";
|
|
43
47
|
export * from "./GetRemainingFreeTrialDaysCommand";
|
|
48
|
+
export * from "./GetThreatEntitySetCommand";
|
|
44
49
|
export * from "./GetThreatIntelSetCommand";
|
|
50
|
+
export * from "./GetTrustedEntitySetCommand";
|
|
45
51
|
export * from "./GetUsageStatisticsCommand";
|
|
46
52
|
export * from "./InviteMembersCommand";
|
|
47
53
|
export * from "./ListCoverageCommand";
|
|
@@ -55,7 +61,9 @@ export * from "./ListMembersCommand";
|
|
|
55
61
|
export * from "./ListOrganizationAdminAccountsCommand";
|
|
56
62
|
export * from "./ListPublishingDestinationsCommand";
|
|
57
63
|
export * from "./ListTagsForResourceCommand";
|
|
64
|
+
export * from "./ListThreatEntitySetsCommand";
|
|
58
65
|
export * from "./ListThreatIntelSetsCommand";
|
|
66
|
+
export * from "./ListTrustedEntitySetsCommand";
|
|
59
67
|
export * from "./StartMalwareScanCommand";
|
|
60
68
|
export * from "./StartMonitoringMembersCommand";
|
|
61
69
|
export * from "./StopMonitoringMembersCommand";
|
|
@@ -71,4 +79,6 @@ export * from "./UpdateMalwareScanSettingsCommand";
|
|
|
71
79
|
export * from "./UpdateMemberDetectorsCommand";
|
|
72
80
|
export * from "./UpdateOrganizationConfigurationCommand";
|
|
73
81
|
export * from "./UpdatePublishingDestinationCommand";
|
|
82
|
+
export * from "./UpdateThreatEntitySetCommand";
|
|
74
83
|
export * from "./UpdateThreatIntelSetCommand";
|
|
84
|
+
export * from "./UpdateTrustedEntitySetCommand";
|