@aws-sdk/client-securitylake 3.341.0 → 3.342.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 +39 -60
- package/dist-cjs/SecurityLake.js +36 -40
- package/dist-cjs/commands/{UpdateDatalakeCommand.js → CreateDataLakeCommand.js} +7 -7
- package/dist-cjs/commands/CreateDataLakeExceptionSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/CreateDataLakeOrganizationConfigurationCommand.js +46 -0
- package/dist-cjs/commands/{DeleteDatalakeDelegatedAdminCommand.js → CreateSubscriberNotificationCommand.js} +7 -7
- package/dist-cjs/commands/{CreateDatalakeCommand.js → DeleteDataLakeCommand.js} +7 -7
- package/dist-cjs/commands/DeleteDataLakeExceptionSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/DeleteDataLakeOrganizationConfigurationCommand.js +46 -0
- package/dist-cjs/commands/{CreateDatalakeDelegatedAdminCommand.js → DeleteSubscriberNotificationCommand.js} +7 -7
- package/dist-cjs/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +46 -0
- package/dist-cjs/commands/{CreateDatalakeAutoEnableCommand.js → GetDataLakeExceptionSubscriptionCommand.js} +7 -7
- package/dist-cjs/commands/{DeleteDatalakeExceptionsSubscriptionCommand.js → GetDataLakeOrganizationConfigurationCommand.js} +7 -7
- package/dist-cjs/commands/{GetDatalakeStatusCommand.js → GetDataLakeSourcesCommand.js} +7 -7
- package/dist-cjs/commands/{ListDatalakeExceptionsCommand.js → ListDataLakeExceptionsCommand.js} +7 -7
- package/dist-cjs/commands/{GetDatalakeCommand.js → ListDataLakesCommand.js} +7 -7
- package/dist-cjs/commands/{CreateDatalakeExceptionsSubscriptionCommand.js → RegisterDataLakeDelegatedAdministratorCommand.js} +7 -7
- package/dist-cjs/commands/{DeleteDatalakeCommand.js → UpdateDataLakeCommand.js} +7 -7
- package/dist-cjs/commands/UpdateDataLakeExceptionSubscriptionCommand.js +46 -0
- package/dist-cjs/commands/{DeleteDatalakeAutoEnableCommand.js → UpdateSubscriberNotificationCommand.js} +7 -7
- package/dist-cjs/commands/index.js +18 -20
- package/dist-cjs/models/models_0.js +43 -235
- package/dist-cjs/pagination/{GetDatalakeStatusPaginator.js → GetDataLakeSourcesPaginator.js} +6 -6
- package/dist-cjs/pagination/{ListDatalakeExceptionsPaginator.js → ListDataLakeExceptionsPaginator.js} +6 -6
- package/dist-cjs/pagination/index.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +531 -769
- package/dist-es/SecurityLake.js +36 -40
- package/dist-es/commands/{UpdateDatalakeCommand.js → CreateDataLakeCommand.js} +6 -6
- package/dist-es/commands/{UpdateDatalakeExceptionsSubscriptionCommand.js → CreateDataLakeExceptionSubscriptionCommand.js} +6 -6
- package/dist-es/commands/CreateDataLakeOrganizationConfigurationCommand.js +42 -0
- package/dist-es/commands/{DeleteDatalakeDelegatedAdminCommand.js → CreateSubscriberNotificationCommand.js} +6 -6
- package/dist-es/commands/{CreateDatalakeCommand.js → DeleteDataLakeCommand.js} +6 -6
- package/dist-es/commands/{CreateDatalakeExceptionsSubscriptionCommand.js → DeleteDataLakeExceptionSubscriptionCommand.js} +6 -6
- package/dist-es/commands/DeleteDataLakeOrganizationConfigurationCommand.js +42 -0
- package/dist-es/commands/{CreateDatalakeDelegatedAdminCommand.js → DeleteSubscriberNotificationCommand.js} +6 -6
- package/dist-es/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +42 -0
- package/dist-es/commands/{GetDatalakeExceptionsSubscriptionCommand.js → GetDataLakeExceptionSubscriptionCommand.js} +6 -6
- package/dist-es/commands/{DeleteDatalakeExceptionsSubscriptionCommand.js → GetDataLakeOrganizationConfigurationCommand.js} +6 -6
- package/dist-es/commands/{GetDatalakeStatusCommand.js → GetDataLakeSourcesCommand.js} +6 -6
- package/dist-es/commands/{ListDatalakeExceptionsCommand.js → ListDataLakeExceptionsCommand.js} +6 -6
- package/dist-es/commands/{GetDatalakeCommand.js → ListDataLakesCommand.js} +6 -6
- package/dist-es/commands/RegisterDataLakeDelegatedAdministratorCommand.js +42 -0
- package/dist-es/commands/{DeleteDatalakeCommand.js → UpdateDataLakeCommand.js} +6 -6
- package/dist-es/commands/{CreateDatalakeAutoEnableCommand.js → UpdateDataLakeExceptionSubscriptionCommand.js} +6 -6
- package/dist-es/commands/{GetDatalakeExceptionsExpiryCommand.js → UpdateSubscriberNotificationCommand.js} +6 -6
- package/dist-es/commands/index.js +18 -20
- package/dist-es/models/models_0.js +41 -224
- package/dist-es/pagination/{GetDatalakeStatusPaginator.js → GetDataLakeSourcesPaginator.js} +4 -4
- package/dist-es/pagination/{ListDatalakeExceptionsPaginator.js → ListDataLakeExceptionsPaginator.js} +4 -4
- package/dist-es/pagination/index.js +2 -2
- package/dist-es/protocols/Aws_restJson1.js +491 -725
- package/dist-types/SecurityLake.d.ts +96 -115
- package/dist-types/SecurityLakeClient.d.ts +24 -31
- package/dist-types/commands/CreateAwsLogSourceCommand.d.ts +22 -41
- package/dist-types/commands/CreateCustomLogSourceCommand.d.ts +39 -23
- package/dist-types/commands/CreateDataLakeCommand.d.ts +172 -0
- package/dist-types/commands/CreateDataLakeExceptionSubscriptionCommand.d.ts +99 -0
- package/dist-types/commands/CreateDataLakeOrganizationConfigurationCommand.d.ts +108 -0
- package/dist-types/commands/CreateSubscriberCommand.d.ts +78 -32
- package/dist-types/commands/CreateSubscriberNotificationCommand.d.ts +110 -0
- package/dist-types/commands/DeleteAwsLogSourceCommand.d.ts +29 -39
- package/dist-types/commands/DeleteCustomLogSourceCommand.d.ts +15 -18
- package/dist-types/commands/{DeleteDatalakeCommand.d.ts → DeleteDataLakeCommand.d.ts} +33 -33
- package/dist-types/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +95 -0
- package/dist-types/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/DeleteSubscriberCommand.d.ts +15 -21
- package/dist-types/commands/DeleteSubscriberNotificationCommand.d.ts +97 -0
- package/dist-types/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +96 -0
- package/dist-types/commands/GetDataLakeExceptionSubscriptionCommand.d.ts +98 -0
- package/dist-types/commands/GetDataLakeOrganizationConfigurationCommand.d.ts +108 -0
- package/dist-types/commands/GetDataLakeSourcesCommand.d.ts +119 -0
- package/dist-types/commands/GetSubscriberCommand.d.ts +47 -28
- package/dist-types/commands/{ListDatalakeExceptionsCommand.d.ts → ListDataLakeExceptionsCommand.d.ts} +39 -36
- package/dist-types/commands/ListDataLakesCommand.d.ts +136 -0
- package/dist-types/commands/ListLogSourcesCommand.d.ts +60 -29
- package/dist-types/commands/ListSubscribersCommand.d.ts +46 -30
- package/dist-types/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +98 -0
- package/dist-types/commands/UpdateDataLakeCommand.d.ts +158 -0
- package/dist-types/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +99 -0
- package/dist-types/commands/UpdateSubscriberCommand.d.ts +73 -42
- package/dist-types/commands/UpdateSubscriberNotificationCommand.d.ts +109 -0
- package/dist-types/commands/index.d.ts +18 -20
- package/dist-types/index.d.ts +4 -9
- package/dist-types/models/models_0.d.ts +985 -906
- package/dist-types/pagination/GetDataLakeSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataLakeExceptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +94 -112
- package/dist-types/ts3.4/SecurityLake.d.ts +243 -271
- package/dist-types/ts3.4/SecurityLakeClient.d.ts +91 -103
- package/dist-types/ts3.4/commands/{CreateDatalakeCommand.d.ts → CreateDataLakeCommand.d.ts} +11 -11
- package/dist-types/ts3.4/commands/{GetDatalakeExceptionsSubscriptionCommand.d.ts → CreateDataLakeExceptionSubscriptionCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/{CreateDatalakeExceptionsSubscriptionCommand.d.ts → CreateDataLakeOrganizationConfigurationCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/{DeleteDatalakeDelegatedAdminCommand.d.ts → CreateSubscriberNotificationCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/{DeleteDatalakeCommand.d.ts → DeleteDataLakeCommand.d.ts} +11 -11
- package/dist-types/ts3.4/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/{CreateDatalakeDelegatedAdminCommand.d.ts → DeleteSubscriberNotificationCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/{DeleteDatalakeAutoEnableCommand.d.ts → GetDataLakeExceptionSubscriptionCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/{DeleteDatalakeExceptionsSubscriptionCommand.d.ts → GetDataLakeOrganizationConfigurationCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/GetDataLakeSourcesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/{ListDatalakeExceptionsCommand.d.ts → ListDataLakeExceptionsCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/{GetDatalakeStatusCommand.d.ts → ListDataLakesCommand.d.ts} +11 -12
- package/dist-types/ts3.4/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/{UpdateDatalakeCommand.d.ts → UpdateDataLakeCommand.d.ts} +11 -11
- package/dist-types/ts3.4/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/{CreateDatalakeAutoEnableCommand.d.ts → UpdateSubscriberNotificationCommand.d.ts} +13 -13
- package/dist-types/ts3.4/commands/index.d.ts +18 -20
- package/dist-types/ts3.4/models/models_0.d.ts +315 -431
- package/dist-types/ts3.4/pagination/GetDataLakeSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataLakeExceptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +131 -155
- package/package.json +28 -28
- package/dist-cjs/commands/CreateSubscriptionNotificationConfigurationCommand.js +0 -46
- package/dist-cjs/commands/DeleteSubscriptionNotificationConfigurationCommand.js +0 -46
- package/dist-cjs/commands/GetDatalakeAutoEnableCommand.js +0 -46
- package/dist-cjs/commands/GetDatalakeExceptionsExpiryCommand.js +0 -46
- package/dist-cjs/commands/GetDatalakeExceptionsSubscriptionCommand.js +0 -46
- package/dist-cjs/commands/UpdateDatalakeExceptionsExpiryCommand.js +0 -46
- package/dist-cjs/commands/UpdateDatalakeExceptionsSubscriptionCommand.js +0 -46
- package/dist-cjs/commands/UpdateSubscriptionNotificationConfigurationCommand.js +0 -46
- package/dist-es/commands/CreateSubscriptionNotificationConfigurationCommand.js +0 -42
- package/dist-es/commands/DeleteDatalakeAutoEnableCommand.js +0 -42
- package/dist-es/commands/DeleteSubscriptionNotificationConfigurationCommand.js +0 -42
- package/dist-es/commands/GetDatalakeAutoEnableCommand.js +0 -42
- package/dist-es/commands/UpdateDatalakeExceptionsExpiryCommand.js +0 -42
- package/dist-es/commands/UpdateSubscriptionNotificationConfigurationCommand.js +0 -42
- package/dist-types/commands/CreateDatalakeAutoEnableCommand.d.ts +0 -98
- package/dist-types/commands/CreateDatalakeCommand.d.ts +0 -137
- package/dist-types/commands/CreateDatalakeDelegatedAdminCommand.d.ts +0 -89
- package/dist-types/commands/CreateDatalakeExceptionsSubscriptionCommand.d.ts +0 -91
- package/dist-types/commands/CreateSubscriptionNotificationConfigurationCommand.d.ts +0 -109
- package/dist-types/commands/DeleteDatalakeAutoEnableCommand.d.ts +0 -101
- package/dist-types/commands/DeleteDatalakeDelegatedAdminCommand.d.ts +0 -89
- package/dist-types/commands/DeleteDatalakeExceptionsSubscriptionCommand.d.ts +0 -90
- package/dist-types/commands/DeleteSubscriptionNotificationConfigurationCommand.d.ts +0 -100
- package/dist-types/commands/GetDatalakeAutoEnableCommand.d.ts +0 -98
- package/dist-types/commands/GetDatalakeCommand.d.ts +0 -120
- package/dist-types/commands/GetDatalakeExceptionsExpiryCommand.d.ts +0 -91
- package/dist-types/commands/GetDatalakeExceptionsSubscriptionCommand.d.ts +0 -92
- package/dist-types/commands/GetDatalakeStatusCommand.d.ts +0 -109
- package/dist-types/commands/UpdateDatalakeCommand.d.ts +0 -108
- package/dist-types/commands/UpdateDatalakeExceptionsExpiryCommand.d.ts +0 -91
- package/dist-types/commands/UpdateDatalakeExceptionsSubscriptionCommand.d.ts +0 -91
- package/dist-types/commands/UpdateSubscriptionNotificationConfigurationCommand.d.ts +0 -108
- package/dist-types/pagination/GetDatalakeStatusPaginator.d.ts +0 -7
- package/dist-types/pagination/ListDatalakeExceptionsPaginator.d.ts +0 -7
- package/dist-types/ts3.4/commands/CreateSubscriptionNotificationConfigurationCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/DeleteSubscriptionNotificationConfigurationCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/GetDatalakeAutoEnableCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/GetDatalakeCommand.d.ts +0 -35
- package/dist-types/ts3.4/commands/GetDatalakeExceptionsExpiryCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/UpdateDatalakeExceptionsExpiryCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/UpdateDatalakeExceptionsSubscriptionCommand.d.ts +0 -42
- package/dist-types/ts3.4/commands/UpdateSubscriptionNotificationConfigurationCommand.d.ts +0 -42
- package/dist-types/ts3.4/pagination/GetDatalakeStatusPaginator.d.ts +0 -11
- package/dist-types/ts3.4/pagination/ListDatalakeExceptionsPaginator.d.ts +0 -11
|
@@ -32,36 +32,52 @@ export interface GetSubscriberCommandOutput extends GetSubscriberResponse, __Met
|
|
|
32
32
|
* // const { SecurityLakeClient, GetSubscriberCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
33
33
|
* const client = new SecurityLakeClient(config);
|
|
34
34
|
* const input = { // GetSubscriberRequest
|
|
35
|
-
*
|
|
35
|
+
* subscriberId: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new GetSubscriberCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
39
|
* // { // GetSubscriberResponse
|
|
40
40
|
* // subscriber: { // SubscriberResource
|
|
41
|
-
* //
|
|
42
|
-
* //
|
|
43
|
-
* //
|
|
44
|
-
* //
|
|
45
|
-
* //
|
|
41
|
+
* // subscriberId: "STRING_VALUE", // required
|
|
42
|
+
* // subscriberArn: "STRING_VALUE", // required
|
|
43
|
+
* // subscriberIdentity: { // AwsIdentity
|
|
44
|
+
* // principal: "STRING_VALUE", // required
|
|
45
|
+
* // externalId: "STRING_VALUE", // required
|
|
46
|
+
* // },
|
|
47
|
+
* // subscriberName: "STRING_VALUE", // required
|
|
48
|
+
* // subscriberDescription: "STRING_VALUE",
|
|
49
|
+
* // sources: [ // LogSourceResourceList // required
|
|
50
|
+
* // { // LogSourceResource Union: only one key present
|
|
51
|
+
* // awsLogSource: { // AwsLogSourceResource
|
|
52
|
+
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
53
|
+
* // sourceVersion: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // customLogSource: { // CustomLogSourceResource
|
|
56
|
+
* // sourceName: "STRING_VALUE",
|
|
57
|
+
* // sourceVersion: "STRING_VALUE",
|
|
58
|
+
* // provider: { // CustomLogSourceProvider
|
|
59
|
+
* // roleArn: "STRING_VALUE",
|
|
60
|
+
* // location: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // attributes: { // CustomLogSourceAttributes
|
|
63
|
+
* // crawlerArn: "STRING_VALUE",
|
|
64
|
+
* // databaseArn: "STRING_VALUE",
|
|
65
|
+
* // tableArn: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
46
68
|
* // },
|
|
47
69
|
* // ],
|
|
48
|
-
* // accountId: "STRING_VALUE", // required
|
|
49
|
-
* // subscriberName: "STRING_VALUE",
|
|
50
|
-
* // subscriberDescription: "STRING_VALUE",
|
|
51
|
-
* // subscriptionStatus: "STRING_VALUE",
|
|
52
|
-
* // roleArn: "STRING_VALUE",
|
|
53
|
-
* // snsArn: "STRING_VALUE",
|
|
54
|
-
* // s3BucketArn: "STRING_VALUE",
|
|
55
70
|
* // accessTypes: [ // AccessTypeList
|
|
56
|
-
* // "
|
|
71
|
+
* // "LAKEFORMATION" || "S3",
|
|
57
72
|
* // ],
|
|
58
|
-
* //
|
|
59
|
-
* //
|
|
60
|
-
* //
|
|
61
|
-
* //
|
|
62
|
-
* // updatedAt: new Date("TIMESTAMP"),
|
|
73
|
+
* // roleArn: "STRING_VALUE",
|
|
74
|
+
* // s3BucketArn: "STRING_VALUE",
|
|
75
|
+
* // subscriberEndpoint: "STRING_VALUE",
|
|
76
|
+
* // subscriberStatus: "ACTIVE" || "DEACTIVATED" || "PENDING" || "READY",
|
|
63
77
|
* // resourceShareArn: "STRING_VALUE",
|
|
64
78
|
* // resourceShareName: "STRING_VALUE",
|
|
79
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
80
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
65
81
|
* // },
|
|
66
82
|
* // };
|
|
67
83
|
*
|
|
@@ -79,22 +95,25 @@ export interface GetSubscriberCommandOutput extends GetSubscriberResponse, __Met
|
|
|
79
95
|
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
80
96
|
* no applicable Allow statement.</p>
|
|
81
97
|
*
|
|
82
|
-
* @throws {@link
|
|
83
|
-
* <p>
|
|
84
|
-
*
|
|
85
|
-
*
|
|
98
|
+
* @throws {@link BadRequestException} (client fault)
|
|
99
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ConflictException} (client fault)
|
|
102
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
103
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
104
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
105
|
+
* this exception.</p>
|
|
86
106
|
*
|
|
87
107
|
* @throws {@link InternalServerException} (server fault)
|
|
88
108
|
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
89
|
-
* troubleshooting, perform the operation again
|
|
90
|
-
*
|
|
91
|
-
* @throws {@link InvalidInputException} (client fault)
|
|
92
|
-
* <p>The request was rejected because a value that's not valid or is out of range was
|
|
93
|
-
* supplied for an input parameter. </p>
|
|
109
|
+
* troubleshooting, perform the operation again.</p>
|
|
94
110
|
*
|
|
95
111
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
96
112
|
* <p>The resource could not be found.</p>
|
|
97
113
|
*
|
|
114
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
115
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
116
|
+
*
|
|
98
117
|
* @throws {@link SecurityLakeServiceException}
|
|
99
118
|
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
100
119
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import {
|
|
4
|
+
import { ListDataLakeExceptionsRequest, ListDataLakeExceptionsResponse } from "../models/models_0";
|
|
5
5
|
import { SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityLakeClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -10,16 +10,16 @@ export { __MetadataBearer, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*
|
|
13
|
-
* The input for {@link
|
|
13
|
+
* The input for {@link ListDataLakeExceptionsCommand}.
|
|
14
14
|
*/
|
|
15
|
-
export interface
|
|
15
|
+
export interface ListDataLakeExceptionsCommandInput extends ListDataLakeExceptionsRequest {
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* @public
|
|
19
19
|
*
|
|
20
|
-
* The output of {@link
|
|
20
|
+
* The output of {@link ListDataLakeExceptionsCommand}.
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface ListDataLakeExceptionsCommandOutput extends ListDataLakeExceptionsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
@@ -28,29 +28,25 @@ export interface ListDatalakeExceptionsCommandOutput extends ListDatalakeExcepti
|
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
31
|
-
* import { SecurityLakeClient,
|
|
32
|
-
* // const { SecurityLakeClient,
|
|
31
|
+
* import { SecurityLakeClient, ListDataLakeExceptionsCommand } from "@aws-sdk/client-securitylake"; // ES Modules import
|
|
32
|
+
* // const { SecurityLakeClient, ListDataLakeExceptionsCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
33
33
|
* const client = new SecurityLakeClient(config);
|
|
34
|
-
* const input = { //
|
|
35
|
-
*
|
|
34
|
+
* const input = { // ListDataLakeExceptionsRequest
|
|
35
|
+
* regions: [ // RegionList
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
|
-
*
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
39
|
* nextToken: "STRING_VALUE",
|
|
40
40
|
* };
|
|
41
|
-
* const command = new
|
|
41
|
+
* const command = new ListDataLakeExceptionsCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
-
* // { //
|
|
44
|
-
* //
|
|
45
|
-
* // { //
|
|
43
|
+
* // { // ListDataLakeExceptionsResponse
|
|
44
|
+
* // exceptions: [ // DataLakeExceptionList
|
|
45
|
+
* // { // DataLakeException
|
|
46
46
|
* // region: "STRING_VALUE",
|
|
47
|
-
* //
|
|
48
|
-
* //
|
|
49
|
-
* //
|
|
50
|
-
* // remediation: "STRING_VALUE", // required
|
|
51
|
-
* // timestamp: new Date("TIMESTAMP"), // required
|
|
52
|
-
* // },
|
|
53
|
-
* // ],
|
|
47
|
+
* // exception: "STRING_VALUE",
|
|
48
|
+
* // remediation: "STRING_VALUE",
|
|
49
|
+
* // timestamp: new Date("TIMESTAMP"),
|
|
54
50
|
* // },
|
|
55
51
|
* // ],
|
|
56
52
|
* // nextToken: "STRING_VALUE",
|
|
@@ -58,10 +54,10 @@ export interface ListDatalakeExceptionsCommandOutput extends ListDatalakeExcepti
|
|
|
58
54
|
*
|
|
59
55
|
* ```
|
|
60
56
|
*
|
|
61
|
-
* @param
|
|
62
|
-
* @returns {@link
|
|
63
|
-
* @see {@link
|
|
64
|
-
* @see {@link
|
|
57
|
+
* @param ListDataLakeExceptionsCommandInput - {@link ListDataLakeExceptionsCommandInput}
|
|
58
|
+
* @returns {@link ListDataLakeExceptionsCommandOutput}
|
|
59
|
+
* @see {@link ListDataLakeExceptionsCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ListDataLakeExceptionsCommandOutput} for command's `response` shape.
|
|
65
61
|
* @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
|
|
66
62
|
*
|
|
67
63
|
* @throws {@link AccessDeniedException} (client fault)
|
|
@@ -70,33 +66,40 @@ export interface ListDatalakeExceptionsCommandOutput extends ListDatalakeExcepti
|
|
|
70
66
|
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
71
67
|
* no applicable Allow statement.</p>
|
|
72
68
|
*
|
|
73
|
-
* @throws {@link
|
|
74
|
-
* <p>
|
|
75
|
-
*
|
|
76
|
-
*
|
|
69
|
+
* @throws {@link BadRequestException} (client fault)
|
|
70
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ConflictException} (client fault)
|
|
73
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
74
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
75
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
76
|
+
* this exception.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link InternalServerException} (server fault)
|
|
79
79
|
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
80
|
-
* troubleshooting, perform the operation again
|
|
80
|
+
* troubleshooting, perform the operation again.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
+
* <p>The resource could not be found.</p>
|
|
81
84
|
*
|
|
82
|
-
* @throws {@link
|
|
83
|
-
* <p>
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
84
87
|
*
|
|
85
88
|
* @throws {@link SecurityLakeServiceException}
|
|
86
89
|
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
87
90
|
*
|
|
88
91
|
*/
|
|
89
|
-
export declare class
|
|
90
|
-
readonly input:
|
|
92
|
+
export declare class ListDataLakeExceptionsCommand extends $Command<ListDataLakeExceptionsCommandInput, ListDataLakeExceptionsCommandOutput, SecurityLakeClientResolvedConfig> {
|
|
93
|
+
readonly input: ListDataLakeExceptionsCommandInput;
|
|
91
94
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
92
95
|
/**
|
|
93
96
|
* @public
|
|
94
97
|
*/
|
|
95
|
-
constructor(input:
|
|
98
|
+
constructor(input: ListDataLakeExceptionsCommandInput);
|
|
96
99
|
/**
|
|
97
100
|
* @internal
|
|
98
101
|
*/
|
|
99
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<
|
|
102
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDataLakeExceptionsCommandInput, ListDataLakeExceptionsCommandOutput>;
|
|
100
103
|
/**
|
|
101
104
|
* @internal
|
|
102
105
|
*/
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListDataLakesRequest, ListDataLakesResponse } from "../models/models_0";
|
|
5
|
+
import { SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityLakeClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDataLakesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDataLakesCommandInput extends ListDataLakesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDataLakesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDataLakesCommandOutput extends ListDataLakesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves the Amazon Security Lake configuration object for the specified Amazon Web Services account ID. You can use the <code>ListDataLakes</code> API to know whether
|
|
27
|
+
* Security Lake is enabled for any region.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SecurityLakeClient, ListDataLakesCommand } from "@aws-sdk/client-securitylake"; // ES Modules import
|
|
32
|
+
* // const { SecurityLakeClient, ListDataLakesCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
33
|
+
* const client = new SecurityLakeClient(config);
|
|
34
|
+
* const input = { // ListDataLakesRequest
|
|
35
|
+
* regions: [ // RegionList
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListDataLakesCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListDataLakesResponse
|
|
42
|
+
* // dataLakes: [ // DataLakeResourceList
|
|
43
|
+
* // { // DataLakeResource
|
|
44
|
+
* // dataLakeArn: "STRING_VALUE", // required
|
|
45
|
+
* // region: "STRING_VALUE", // required
|
|
46
|
+
* // s3BucketArn: "STRING_VALUE",
|
|
47
|
+
* // encryptionConfiguration: { // DataLakeEncryptionConfiguration
|
|
48
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // lifecycleConfiguration: { // DataLakeLifecycleConfiguration
|
|
51
|
+
* // expiration: { // DataLakeLifecycleExpiration
|
|
52
|
+
* // days: Number("int"),
|
|
53
|
+
* // },
|
|
54
|
+
* // transitions: [ // DataLakeLifecycleTransitionList
|
|
55
|
+
* // { // DataLakeLifecycleTransition
|
|
56
|
+
* // storageClass: "STRING_VALUE",
|
|
57
|
+
* // days: Number("int"),
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // replicationConfiguration: { // DataLakeReplicationConfiguration
|
|
62
|
+
* // regions: [ // RegionList
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // roleArn: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // createStatus: "INITIALIZED" || "PENDING" || "COMPLETED" || "FAILED",
|
|
68
|
+
* // updateStatus: { // DataLakeUpdateStatus
|
|
69
|
+
* // requestId: "STRING_VALUE",
|
|
70
|
+
* // status: "INITIALIZED" || "PENDING" || "COMPLETED" || "FAILED",
|
|
71
|
+
* // exception: { // DataLakeUpdateException
|
|
72
|
+
* // reason: "STRING_VALUE",
|
|
73
|
+
* // code: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @param ListDataLakesCommandInput - {@link ListDataLakesCommandInput}
|
|
83
|
+
* @returns {@link ListDataLakesCommandOutput}
|
|
84
|
+
* @see {@link ListDataLakesCommandInput} for command's `input` shape.
|
|
85
|
+
* @see {@link ListDataLakesCommandOutput} for command's `response` shape.
|
|
86
|
+
* @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
89
|
+
* <p>You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization
|
|
90
|
+
* request. An explicit denial occurs when a policy contains a Deny statement for the specific
|
|
91
|
+
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
92
|
+
* no applicable Allow statement.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link BadRequestException} (client fault)
|
|
95
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ConflictException} (client fault)
|
|
98
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
99
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
100
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
101
|
+
* this exception.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link InternalServerException} (server fault)
|
|
104
|
+
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
105
|
+
* troubleshooting, perform the operation again.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
108
|
+
* <p>The resource could not be found.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
111
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link SecurityLakeServiceException}
|
|
114
|
+
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
export declare class ListDataLakesCommand extends $Command<ListDataLakesCommandInput, ListDataLakesCommandOutput, SecurityLakeClientResolvedConfig> {
|
|
118
|
+
readonly input: ListDataLakesCommandInput;
|
|
119
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
constructor(input: ListDataLakesCommandInput);
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDataLakesCommandInput, ListDataLakesCommandOutput>;
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
131
|
+
private serialize;
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
private deserialize;
|
|
136
|
+
}
|
|
@@ -23,7 +23,7 @@ export interface ListLogSourcesCommandOutput extends ListLogSourcesResponse, __M
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Retrieves the log sources in the current Amazon Web Services Region
|
|
26
|
+
* <p>Retrieves the log sources in the current Amazon Web Services Region.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -31,37 +31,64 @@ export interface ListLogSourcesCommandOutput extends ListLogSourcesResponse, __M
|
|
|
31
31
|
* // const { SecurityLakeClient, ListLogSourcesCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
32
32
|
* const client = new SecurityLakeClient(config);
|
|
33
33
|
* const input = { // ListLogSourcesRequest
|
|
34
|
-
*
|
|
34
|
+
* accounts: [ // AccountList
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
*
|
|
38
|
-
* "<keys>": { // TwoDimensionsMap
|
|
39
|
-
* "<keys>": [ // ValueSet
|
|
40
|
-
* "STRING_VALUE",
|
|
41
|
-
* ],
|
|
42
|
-
* },
|
|
43
|
-
* },
|
|
44
|
-
* listTwoDimensions: {
|
|
45
|
-
* "<keys>": [
|
|
46
|
-
* "STRING_VALUE",
|
|
47
|
-
* ],
|
|
48
|
-
* },
|
|
49
|
-
* listSingleDimension: [ // InputSet
|
|
37
|
+
* regions: [ // RegionList
|
|
50
38
|
* "STRING_VALUE",
|
|
51
39
|
* ],
|
|
40
|
+
* sources: [ // LogSourceResourceList
|
|
41
|
+
* { // LogSourceResource Union: only one key present
|
|
42
|
+
* awsLogSource: { // AwsLogSourceResource
|
|
43
|
+
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
44
|
+
* sourceVersion: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* customLogSource: { // CustomLogSourceResource
|
|
47
|
+
* sourceName: "STRING_VALUE",
|
|
48
|
+
* sourceVersion: "STRING_VALUE",
|
|
49
|
+
* provider: { // CustomLogSourceProvider
|
|
50
|
+
* roleArn: "STRING_VALUE",
|
|
51
|
+
* location: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* attributes: { // CustomLogSourceAttributes
|
|
54
|
+
* crawlerArn: "STRING_VALUE",
|
|
55
|
+
* databaseArn: "STRING_VALUE",
|
|
56
|
+
* tableArn: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
52
61
|
* maxResults: Number("int"),
|
|
53
62
|
* nextToken: "STRING_VALUE",
|
|
54
63
|
* };
|
|
55
64
|
* const command = new ListLogSourcesCommand(input);
|
|
56
65
|
* const response = await client.send(command);
|
|
57
66
|
* // { // ListLogSourcesResponse
|
|
58
|
-
* //
|
|
59
|
-
* // { //
|
|
60
|
-
* // "
|
|
61
|
-
* //
|
|
62
|
-
* //
|
|
63
|
-
* //
|
|
64
|
-
* //
|
|
67
|
+
* // sources: [ // LogSourceList
|
|
68
|
+
* // { // LogSource
|
|
69
|
+
* // account: "STRING_VALUE",
|
|
70
|
+
* // region: "STRING_VALUE",
|
|
71
|
+
* // sources: [ // LogSourceResourceList
|
|
72
|
+
* // { // LogSourceResource Union: only one key present
|
|
73
|
+
* // awsLogSource: { // AwsLogSourceResource
|
|
74
|
+
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
75
|
+
* // sourceVersion: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // customLogSource: { // CustomLogSourceResource
|
|
78
|
+
* // sourceName: "STRING_VALUE",
|
|
79
|
+
* // sourceVersion: "STRING_VALUE",
|
|
80
|
+
* // provider: { // CustomLogSourceProvider
|
|
81
|
+
* // roleArn: "STRING_VALUE",
|
|
82
|
+
* // location: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // attributes: { // CustomLogSourceAttributes
|
|
85
|
+
* // crawlerArn: "STRING_VALUE",
|
|
86
|
+
* // databaseArn: "STRING_VALUE",
|
|
87
|
+
* // tableArn: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
65
92
|
* // },
|
|
66
93
|
* // ],
|
|
67
94
|
* // nextToken: "STRING_VALUE",
|
|
@@ -81,20 +108,24 @@ export interface ListLogSourcesCommandOutput extends ListLogSourcesResponse, __M
|
|
|
81
108
|
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
82
109
|
* no applicable Allow statement.</p>
|
|
83
110
|
*
|
|
84
|
-
* @throws {@link
|
|
85
|
-
* <p>
|
|
86
|
-
*
|
|
87
|
-
*
|
|
111
|
+
* @throws {@link BadRequestException} (client fault)
|
|
112
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link ConflictException} (client fault)
|
|
115
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
116
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
117
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
118
|
+
* this exception.</p>
|
|
88
119
|
*
|
|
89
120
|
* @throws {@link InternalServerException} (server fault)
|
|
90
121
|
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
91
|
-
* troubleshooting, perform the operation again
|
|
122
|
+
* troubleshooting, perform the operation again.</p>
|
|
92
123
|
*
|
|
93
124
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
125
|
* <p>The resource could not be found.</p>
|
|
95
126
|
*
|
|
96
|
-
* @throws {@link
|
|
97
|
-
* <p>
|
|
127
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
128
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
98
129
|
*
|
|
99
130
|
* @throws {@link SecurityLakeServiceException}
|
|
100
131
|
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
@@ -38,32 +38,48 @@ export interface ListSubscribersCommandOutput extends ListSubscribersResponse, _
|
|
|
38
38
|
* const command = new ListSubscribersCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
40
|
* // { // ListSubscribersResponse
|
|
41
|
-
* // subscribers: [ //
|
|
41
|
+
* // subscribers: [ // SubscriberResourceList
|
|
42
42
|
* // { // SubscriberResource
|
|
43
|
-
* //
|
|
44
|
-
* //
|
|
45
|
-
* //
|
|
46
|
-
* //
|
|
47
|
-
* //
|
|
43
|
+
* // subscriberId: "STRING_VALUE", // required
|
|
44
|
+
* // subscriberArn: "STRING_VALUE", // required
|
|
45
|
+
* // subscriberIdentity: { // AwsIdentity
|
|
46
|
+
* // principal: "STRING_VALUE", // required
|
|
47
|
+
* // externalId: "STRING_VALUE", // required
|
|
48
|
+
* // },
|
|
49
|
+
* // subscriberName: "STRING_VALUE", // required
|
|
50
|
+
* // subscriberDescription: "STRING_VALUE",
|
|
51
|
+
* // sources: [ // LogSourceResourceList // required
|
|
52
|
+
* // { // LogSourceResource Union: only one key present
|
|
53
|
+
* // awsLogSource: { // AwsLogSourceResource
|
|
54
|
+
* // sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
55
|
+
* // sourceVersion: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // customLogSource: { // CustomLogSourceResource
|
|
58
|
+
* // sourceName: "STRING_VALUE",
|
|
59
|
+
* // sourceVersion: "STRING_VALUE",
|
|
60
|
+
* // provider: { // CustomLogSourceProvider
|
|
61
|
+
* // roleArn: "STRING_VALUE",
|
|
62
|
+
* // location: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // attributes: { // CustomLogSourceAttributes
|
|
65
|
+
* // crawlerArn: "STRING_VALUE",
|
|
66
|
+
* // databaseArn: "STRING_VALUE",
|
|
67
|
+
* // tableArn: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
48
70
|
* // },
|
|
49
71
|
* // ],
|
|
50
|
-
* // accountId: "STRING_VALUE", // required
|
|
51
|
-
* // subscriberName: "STRING_VALUE",
|
|
52
|
-
* // subscriberDescription: "STRING_VALUE",
|
|
53
|
-
* // subscriptionStatus: "STRING_VALUE",
|
|
54
|
-
* // roleArn: "STRING_VALUE",
|
|
55
|
-
* // snsArn: "STRING_VALUE",
|
|
56
|
-
* // s3BucketArn: "STRING_VALUE",
|
|
57
72
|
* // accessTypes: [ // AccessTypeList
|
|
58
|
-
* // "
|
|
73
|
+
* // "LAKEFORMATION" || "S3",
|
|
59
74
|
* // ],
|
|
60
|
-
* //
|
|
61
|
-
* //
|
|
62
|
-
* //
|
|
63
|
-
* //
|
|
64
|
-
* // updatedAt: new Date("TIMESTAMP"),
|
|
75
|
+
* // roleArn: "STRING_VALUE",
|
|
76
|
+
* // s3BucketArn: "STRING_VALUE",
|
|
77
|
+
* // subscriberEndpoint: "STRING_VALUE",
|
|
78
|
+
* // subscriberStatus: "ACTIVE" || "DEACTIVATED" || "PENDING" || "READY",
|
|
65
79
|
* // resourceShareArn: "STRING_VALUE",
|
|
66
80
|
* // resourceShareName: "STRING_VALUE",
|
|
81
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
82
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
67
83
|
* // },
|
|
68
84
|
* // ],
|
|
69
85
|
* // nextToken: "STRING_VALUE",
|
|
@@ -83,24 +99,24 @@ export interface ListSubscribersCommandOutput extends ListSubscribersResponse, _
|
|
|
83
99
|
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
84
100
|
* no applicable Allow statement.</p>
|
|
85
101
|
*
|
|
86
|
-
* @throws {@link
|
|
87
|
-
* <p>
|
|
88
|
-
*
|
|
89
|
-
*
|
|
102
|
+
* @throws {@link BadRequestException} (client fault)
|
|
103
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ConflictException} (client fault)
|
|
106
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
107
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
108
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
109
|
+
* this exception.</p>
|
|
90
110
|
*
|
|
91
111
|
* @throws {@link InternalServerException} (server fault)
|
|
92
112
|
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
93
|
-
* troubleshooting, perform the operation again
|
|
94
|
-
*
|
|
95
|
-
* @throws {@link InvalidInputException} (client fault)
|
|
96
|
-
* <p>The request was rejected because a value that's not valid or is out of range was
|
|
97
|
-
* supplied for an input parameter. </p>
|
|
113
|
+
* troubleshooting, perform the operation again.</p>
|
|
98
114
|
*
|
|
99
115
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
100
116
|
* <p>The resource could not be found.</p>
|
|
101
117
|
*
|
|
102
|
-
* @throws {@link
|
|
103
|
-
* <p>
|
|
118
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
119
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
104
120
|
*
|
|
105
121
|
* @throws {@link SecurityLakeServiceException}
|
|
106
122
|
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|