@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
|
@@ -0,0 +1,110 @@
|
|
|
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 { CreateSubscriberNotificationRequest, CreateSubscriberNotificationResponse } 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 CreateSubscriberNotificationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateSubscriberNotificationCommandInput extends CreateSubscriberNotificationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateSubscriberNotificationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateSubscriberNotificationCommandOutput extends CreateSubscriberNotificationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Notifies the subscriber when new data is written to the data lake for the sources that
|
|
27
|
+
* the subscriber consumes in Security Lake. You can create only one subscriber notification per
|
|
28
|
+
* subscriber.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { SecurityLakeClient, CreateSubscriberNotificationCommand } from "@aws-sdk/client-securitylake"; // ES Modules import
|
|
33
|
+
* // const { SecurityLakeClient, CreateSubscriberNotificationCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
34
|
+
* const client = new SecurityLakeClient(config);
|
|
35
|
+
* const input = { // CreateSubscriberNotificationRequest
|
|
36
|
+
* subscriberId: "STRING_VALUE", // required
|
|
37
|
+
* configuration: { // NotificationConfiguration Union: only one key present
|
|
38
|
+
* sqsNotificationConfiguration: {},
|
|
39
|
+
* httpsNotificationConfiguration: { // HttpsNotificationConfiguration
|
|
40
|
+
* endpoint: "STRING_VALUE", // required
|
|
41
|
+
* authorizationApiKeyName: "STRING_VALUE",
|
|
42
|
+
* authorizationApiKeyValue: "STRING_VALUE",
|
|
43
|
+
* httpMethod: "POST" || "PUT",
|
|
44
|
+
* targetRoleArn: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* };
|
|
48
|
+
* const command = new CreateSubscriberNotificationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // CreateSubscriberNotificationResponse
|
|
51
|
+
* // subscriberEndpoint: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param CreateSubscriberNotificationCommandInput - {@link CreateSubscriberNotificationCommandInput}
|
|
57
|
+
* @returns {@link CreateSubscriberNotificationCommandOutput}
|
|
58
|
+
* @see {@link CreateSubscriberNotificationCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link CreateSubscriberNotificationCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <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
|
|
64
|
+
* request. An explicit denial occurs when a policy contains a Deny statement for the specific
|
|
65
|
+
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
66
|
+
* no applicable Allow statement.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link BadRequestException} (client fault)
|
|
69
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
73
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
74
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
75
|
+
* this exception.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
79
|
+
* troubleshooting, perform the operation again.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The resource could not be found.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link SecurityLakeServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
export declare class CreateSubscriberNotificationCommand extends $Command<CreateSubscriberNotificationCommandInput, CreateSubscriberNotificationCommandOutput, SecurityLakeClientResolvedConfig> {
|
|
92
|
+
readonly input: CreateSubscriberNotificationCommandInput;
|
|
93
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
constructor(input: CreateSubscriberNotificationCommandInput);
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSubscriberNotificationCommandInput, CreateSubscriberNotificationCommandOutput>;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
private serialize;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
private deserialize;
|
|
110
|
+
}
|
|
@@ -23,21 +23,13 @@ export interface DeleteAwsLogSourceCommandOutput extends DeleteAwsLogSourceRespo
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Removes a natively supported Amazon Web Service as an Amazon Security Lake source.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
26
|
+
* <p>Removes a natively supported Amazon Web Service as an Amazon Security Lake source. You
|
|
27
|
+
* can remove a source for one or more Regions. When you remove the source, Security Lake stops
|
|
28
|
+
* collecting data from that source in the specified Regions and accounts, and subscribers can
|
|
29
|
+
* no longer consume new data from the source. However, subscribers can still consume data
|
|
30
|
+
* that Security Lake collected from the source before removal.</p>
|
|
30
31
|
* <p>You can choose any source type in any Amazon Web Services Region for either accounts that
|
|
31
|
-
* are part of a trusted organization or standalone accounts.
|
|
32
|
-
* dimensions is a mandatory input to this API. However, you can supply any combination of the
|
|
33
|
-
* three dimensions to this API. </p>
|
|
34
|
-
* <p>By default, a dimension refers to the entire set. This is overridden when you supply any
|
|
35
|
-
* one of the inputs. For instance, when you do not specify members, the API disables all
|
|
36
|
-
* Security Lake member accounts for sources. Similarly, when you do not specify Regions,
|
|
37
|
-
* Security Lake is disabled for all the Regions where Security Lake is available as a service.</p>
|
|
38
|
-
* <p>When you don't provide a dimension, Security Lake assumes that the missing dimension refers
|
|
39
|
-
* to the entire set. For example, if you don't provide specific accounts, the API applies to
|
|
40
|
-
* the entire set of accounts in your organization.</p>
|
|
32
|
+
* are part of a trusted organization or standalone accounts. </p>
|
|
41
33
|
* @example
|
|
42
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
35
|
* ```javascript
|
|
@@ -45,32 +37,23 @@ export interface DeleteAwsLogSourceCommandOutput extends DeleteAwsLogSourceRespo
|
|
|
45
37
|
* // const { SecurityLakeClient, DeleteAwsLogSourceCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
46
38
|
* const client = new SecurityLakeClient(config);
|
|
47
39
|
* const input = { // DeleteAwsLogSourceRequest
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
40
|
+
* sources: [ // AwsLogSourceConfigurationList // required
|
|
41
|
+
* { // AwsLogSourceConfiguration
|
|
42
|
+
* accounts: [ // AccountList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* regions: [ // RegionList // required
|
|
54
46
|
* "STRING_VALUE",
|
|
55
47
|
* ],
|
|
48
|
+
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA", // required
|
|
49
|
+
* sourceVersion: "STRING_VALUE",
|
|
56
50
|
* },
|
|
57
|
-
* },
|
|
58
|
-
* disableTwoDimensions: {
|
|
59
|
-
* "<keys>": [
|
|
60
|
-
* "STRING_VALUE",
|
|
61
|
-
* ],
|
|
62
|
-
* },
|
|
63
|
-
* disableSingleDimension: [ // InputSet
|
|
64
|
-
* "STRING_VALUE",
|
|
65
51
|
* ],
|
|
66
52
|
* };
|
|
67
53
|
* const command = new DeleteAwsLogSourceCommand(input);
|
|
68
54
|
* const response = await client.send(command);
|
|
69
55
|
* // { // DeleteAwsLogSourceResponse
|
|
70
|
-
* //
|
|
71
|
-
* // "STRING_VALUE",
|
|
72
|
-
* // ],
|
|
73
|
-
* // failed: [
|
|
56
|
+
* // failed: [ // AccountList
|
|
74
57
|
* // "STRING_VALUE",
|
|
75
58
|
* // ],
|
|
76
59
|
* // };
|
|
@@ -89,17 +72,24 @@ export interface DeleteAwsLogSourceCommandOutput extends DeleteAwsLogSourceRespo
|
|
|
89
72
|
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
90
73
|
* no applicable Allow statement.</p>
|
|
91
74
|
*
|
|
92
|
-
* @throws {@link
|
|
93
|
-
* <p>
|
|
94
|
-
*
|
|
95
|
-
*
|
|
75
|
+
* @throws {@link BadRequestException} (client fault)
|
|
76
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConflictException} (client fault)
|
|
79
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
80
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
81
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
82
|
+
* this exception.</p>
|
|
96
83
|
*
|
|
97
84
|
* @throws {@link InternalServerException} (server fault)
|
|
98
85
|
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
99
|
-
* troubleshooting, perform the operation again
|
|
86
|
+
* troubleshooting, perform the operation again.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>The resource could not be found.</p>
|
|
100
90
|
*
|
|
101
|
-
* @throws {@link
|
|
102
|
-
* <p>
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
103
93
|
*
|
|
104
94
|
* @throws {@link SecurityLakeServiceException}
|
|
105
95
|
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
@@ -23,7 +23,8 @@ export interface DeleteCustomLogSourceCommandOutput extends DeleteCustomLogSourc
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Removes a custom log source from Amazon Security Lake
|
|
26
|
+
* <p>Removes a custom log source from Amazon Security Lake, to stop sending data from the custom
|
|
27
|
+
* source to Security Lake.</p>
|
|
27
28
|
* @example
|
|
28
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
30
|
* ```javascript
|
|
@@ -31,13 +32,12 @@ export interface DeleteCustomLogSourceCommandOutput extends DeleteCustomLogSourc
|
|
|
31
32
|
* // const { SecurityLakeClient, DeleteCustomLogSourceCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
32
33
|
* const client = new SecurityLakeClient(config);
|
|
33
34
|
* const input = { // DeleteCustomLogSourceRequest
|
|
34
|
-
*
|
|
35
|
+
* sourceName: "STRING_VALUE", // required
|
|
36
|
+
* sourceVersion: "STRING_VALUE",
|
|
35
37
|
* };
|
|
36
38
|
* const command = new DeleteCustomLogSourceCommand(input);
|
|
37
39
|
* const response = await client.send(command);
|
|
38
|
-
* // {
|
|
39
|
-
* // customDataLocation: "STRING_VALUE", // required
|
|
40
|
-
* // };
|
|
40
|
+
* // {};
|
|
41
41
|
*
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
@@ -53,27 +53,24 @@ export interface DeleteCustomLogSourceCommandOutput extends DeleteCustomLogSourc
|
|
|
53
53
|
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
54
54
|
* no applicable Allow statement.</p>
|
|
55
55
|
*
|
|
56
|
-
* @throws {@link
|
|
57
|
-
* <p>
|
|
58
|
-
* specified, or the account whose credentials you used to make this request isn't a member of
|
|
59
|
-
* an organization.</p>
|
|
56
|
+
* @throws {@link BadRequestException} (client fault)
|
|
57
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
60
58
|
*
|
|
61
|
-
* @throws {@link
|
|
62
|
-
* <p>
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* <p>There was a conflict when you attempted to modify a Security Lake source name. </p>
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
61
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
62
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
63
|
+
* this exception.</p>
|
|
67
64
|
*
|
|
68
65
|
* @throws {@link InternalServerException} (server fault)
|
|
69
66
|
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
70
|
-
* troubleshooting, perform the operation again
|
|
67
|
+
* troubleshooting, perform the operation again.</p>
|
|
71
68
|
*
|
|
72
69
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
70
|
* <p>The resource could not be found.</p>
|
|
74
71
|
*
|
|
75
|
-
* @throws {@link
|
|
76
|
-
* <p>
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
77
74
|
*
|
|
78
75
|
* @throws {@link SecurityLakeServiceException}
|
|
79
76
|
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
@@ -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 { DeleteDataLakeRequest, DeleteDataLakeResponse } from "../models/models_0";
|
|
5
5
|
import { SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityLakeClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -10,44 +10,48 @@ export { __MetadataBearer, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*
|
|
13
|
-
* The input for {@link
|
|
13
|
+
* The input for {@link DeleteDataLakeCommand}.
|
|
14
14
|
*/
|
|
15
|
-
export interface
|
|
15
|
+
export interface DeleteDataLakeCommandInput extends DeleteDataLakeRequest {
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* @public
|
|
19
19
|
*
|
|
20
|
-
* The output of {@link
|
|
20
|
+
* The output of {@link DeleteDataLakeCommand}.
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface DeleteDataLakeCommandOutput extends DeleteDataLakeResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>When you
|
|
27
|
-
* Security Lake
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
26
|
+
* <p>When you disable Amazon Security Lake from your account, Security Lake is disabled in all Amazon Web Services Regions and it stops collecting data from your sources. Also, this API
|
|
27
|
+
* automatically takes steps to remove the account from Security Lake. However, Security Lake retains
|
|
28
|
+
* all of your existing settings and the resources that it created in your Amazon Web Services
|
|
29
|
+
* account in the current Amazon Web Services Region.</p>
|
|
30
|
+
* <p>The <code>DeleteDataLake</code> operation does not delete the data that is stored in
|
|
31
|
+
* your Amazon S3 bucket, which is owned by your Amazon Web Services account. For more
|
|
32
|
+
* information, see the <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/disable-security-lake.html">Amazon Security Lake User
|
|
33
33
|
* Guide</a>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
37
|
-
* import { SecurityLakeClient,
|
|
38
|
-
* // const { SecurityLakeClient,
|
|
37
|
+
* import { SecurityLakeClient, DeleteDataLakeCommand } from "@aws-sdk/client-securitylake"; // ES Modules import
|
|
38
|
+
* // const { SecurityLakeClient, DeleteDataLakeCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
39
39
|
* const client = new SecurityLakeClient(config);
|
|
40
|
-
* const input = {
|
|
41
|
-
*
|
|
40
|
+
* const input = { // DeleteDataLakeRequest
|
|
41
|
+
* regions: [ // RegionList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteDataLakeCommand(input);
|
|
42
46
|
* const response = await client.send(command);
|
|
43
47
|
* // {};
|
|
44
48
|
*
|
|
45
49
|
* ```
|
|
46
50
|
*
|
|
47
|
-
* @param
|
|
48
|
-
* @returns {@link
|
|
49
|
-
* @see {@link
|
|
50
|
-
* @see {@link
|
|
51
|
+
* @param DeleteDataLakeCommandInput - {@link DeleteDataLakeCommandInput}
|
|
52
|
+
* @returns {@link DeleteDataLakeCommandOutput}
|
|
53
|
+
* @see {@link DeleteDataLakeCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DeleteDataLakeCommandOutput} for command's `response` shape.
|
|
51
55
|
* @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
|
|
52
56
|
*
|
|
53
57
|
* @throws {@link AccessDeniedException} (client fault)
|
|
@@ -56,6 +60,9 @@ export interface DeleteDatalakeCommandOutput extends DeleteDatalakeResponse, __M
|
|
|
56
60
|
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
57
61
|
* no applicable Allow statement.</p>
|
|
58
62
|
*
|
|
63
|
+
* @throws {@link BadRequestException} (client fault)
|
|
64
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
65
|
+
*
|
|
59
66
|
* @throws {@link ConflictException} (client fault)
|
|
60
67
|
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
61
68
|
* occurs when the previous write did not have time to propagate to the host serving the
|
|
@@ -64,36 +71,29 @@ export interface DeleteDatalakeCommandOutput extends DeleteDatalakeResponse, __M
|
|
|
64
71
|
*
|
|
65
72
|
* @throws {@link InternalServerException} (server fault)
|
|
66
73
|
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
67
|
-
* troubleshooting, perform the operation again
|
|
74
|
+
* troubleshooting, perform the operation again.</p>
|
|
68
75
|
*
|
|
69
76
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
77
|
* <p>The resource could not be found.</p>
|
|
71
78
|
*
|
|
72
|
-
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
73
|
-
* <p>You have exceeded your service quota. To perform the requested action, remove some of
|
|
74
|
-
* the relevant resources, or use Service Quotas to request a service quota increase. </p>
|
|
75
|
-
*
|
|
76
79
|
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
-
* <p>The limit on the number of requests per second was exceeded
|
|
78
|
-
*
|
|
79
|
-
* @throws {@link ValidationException} (client fault)
|
|
80
|
-
* <p>Your signing certificate could not be validated. </p>
|
|
80
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
81
81
|
*
|
|
82
82
|
* @throws {@link SecurityLakeServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
84
84
|
*
|
|
85
85
|
*/
|
|
86
|
-
export declare class
|
|
87
|
-
readonly input:
|
|
86
|
+
export declare class DeleteDataLakeCommand extends $Command<DeleteDataLakeCommandInput, DeleteDataLakeCommandOutput, SecurityLakeClientResolvedConfig> {
|
|
87
|
+
readonly input: DeleteDataLakeCommandInput;
|
|
88
88
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
89
89
|
/**
|
|
90
90
|
* @public
|
|
91
91
|
*/
|
|
92
|
-
constructor(input:
|
|
92
|
+
constructor(input: DeleteDataLakeCommandInput);
|
|
93
93
|
/**
|
|
94
94
|
* @internal
|
|
95
95
|
*/
|
|
96
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<
|
|
96
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDataLakeCommandInput, DeleteDataLakeCommandOutput>;
|
|
97
97
|
/**
|
|
98
98
|
* @internal
|
|
99
99
|
*/
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { DeleteDataLakeExceptionSubscriptionRequest, DeleteDataLakeExceptionSubscriptionResponse } 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 DeleteDataLakeExceptionSubscriptionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDataLakeExceptionSubscriptionCommandInput extends DeleteDataLakeExceptionSubscriptionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDataLakeExceptionSubscriptionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDataLakeExceptionSubscriptionCommandOutput extends DeleteDataLakeExceptionSubscriptionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the specified notification subscription in Amazon Security Lake for the organization
|
|
27
|
+
* you specify.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SecurityLakeClient, DeleteDataLakeExceptionSubscriptionCommand } from "@aws-sdk/client-securitylake"; // ES Modules import
|
|
32
|
+
* // const { SecurityLakeClient, DeleteDataLakeExceptionSubscriptionCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
33
|
+
* const client = new SecurityLakeClient(config);
|
|
34
|
+
* const input = {};
|
|
35
|
+
* const command = new DeleteDataLakeExceptionSubscriptionCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* @param DeleteDataLakeExceptionSubscriptionCommandInput - {@link DeleteDataLakeExceptionSubscriptionCommandInput}
|
|
42
|
+
* @returns {@link DeleteDataLakeExceptionSubscriptionCommandOutput}
|
|
43
|
+
* @see {@link DeleteDataLakeExceptionSubscriptionCommandInput} for command's `input` shape.
|
|
44
|
+
* @see {@link DeleteDataLakeExceptionSubscriptionCommandOutput} for command's `response` shape.
|
|
45
|
+
* @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
48
|
+
* <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
|
|
49
|
+
* request. An explicit denial occurs when a policy contains a Deny statement for the specific
|
|
50
|
+
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
51
|
+
* no applicable Allow statement.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link BadRequestException} (client fault)
|
|
54
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
58
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
59
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
60
|
+
* this exception.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
64
|
+
* troubleshooting, perform the operation again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The resource could not be found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link SecurityLakeServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteDataLakeExceptionSubscriptionCommand extends $Command<DeleteDataLakeExceptionSubscriptionCommandInput, DeleteDataLakeExceptionSubscriptionCommandOutput, SecurityLakeClientResolvedConfig> {
|
|
77
|
+
readonly input: DeleteDataLakeExceptionSubscriptionCommandInput;
|
|
78
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
constructor(input: DeleteDataLakeExceptionSubscriptionCommandInput);
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDataLakeExceptionSubscriptionCommandInput, DeleteDataLakeExceptionSubscriptionCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private deserialize;
|
|
95
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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 { DeleteDataLakeOrganizationConfigurationRequest, DeleteDataLakeOrganizationConfigurationResponse } 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 DeleteDataLakeOrganizationConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDataLakeOrganizationConfigurationCommandInput extends DeleteDataLakeOrganizationConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDataLakeOrganizationConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDataLakeOrganizationConfigurationCommandOutput extends DeleteDataLakeOrganizationConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Removes automatic the enablement of configuration settings for new member accounts (but
|
|
27
|
+
* retains the settings for the delegated administrator) from Amazon Security Lake. You must run this
|
|
28
|
+
* API using the credentials of the delegated administrator. When you run this API, new member
|
|
29
|
+
* accounts that are added after the organization enables Security Lake won't contribute to the
|
|
30
|
+
* data lake.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityLakeClient, DeleteDataLakeOrganizationConfigurationCommand } from "@aws-sdk/client-securitylake"; // ES Modules import
|
|
35
|
+
* // const { SecurityLakeClient, DeleteDataLakeOrganizationConfigurationCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
36
|
+
* const client = new SecurityLakeClient(config);
|
|
37
|
+
* const input = { // DeleteDataLakeOrganizationConfigurationRequest
|
|
38
|
+
* autoEnableNewAccount: [ // DataLakeAutoEnableNewAccountConfigurationList // required
|
|
39
|
+
* { // DataLakeAutoEnableNewAccountConfiguration
|
|
40
|
+
* region: "STRING_VALUE", // required
|
|
41
|
+
* sources: [ // AwsLogSourceResourceList // required
|
|
42
|
+
* { // AwsLogSourceResource
|
|
43
|
+
* sourceName: "ROUTE53" || "VPC_FLOW" || "SH_FINDINGS" || "CLOUD_TRAIL_MGMT" || "LAMBDA_EXECUTION" || "S3_DATA",
|
|
44
|
+
* sourceVersion: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
50
|
+
* const command = new DeleteDataLakeOrganizationConfigurationCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // {};
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param DeleteDataLakeOrganizationConfigurationCommandInput - {@link DeleteDataLakeOrganizationConfigurationCommandInput}
|
|
57
|
+
* @returns {@link DeleteDataLakeOrganizationConfigurationCommandOutput}
|
|
58
|
+
* @see {@link DeleteDataLakeOrganizationConfigurationCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link DeleteDataLakeOrganizationConfigurationCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <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
|
|
64
|
+
* request. An explicit denial occurs when a policy contains a Deny statement for the specific
|
|
65
|
+
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
66
|
+
* no applicable Allow statement.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link BadRequestException} (client fault)
|
|
69
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
73
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
74
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
75
|
+
* this exception.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
79
|
+
* troubleshooting, perform the operation again.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The resource could not be found.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link SecurityLakeServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
export declare class DeleteDataLakeOrganizationConfigurationCommand extends $Command<DeleteDataLakeOrganizationConfigurationCommandInput, DeleteDataLakeOrganizationConfigurationCommandOutput, SecurityLakeClientResolvedConfig> {
|
|
92
|
+
readonly input: DeleteDataLakeOrganizationConfigurationCommandInput;
|
|
93
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
constructor(input: DeleteDataLakeOrganizationConfigurationCommandInput);
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDataLakeOrganizationConfigurationCommandInput, DeleteDataLakeOrganizationConfigurationCommandOutput>;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
private serialize;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
private deserialize;
|
|
110
|
+
}
|