@aws-sdk/client-securitylake 3.370.0 → 3.377.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 +24 -0
- package/dist-cjs/SecurityLake.js +6 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +206 -2
- package/dist-es/SecurityLake.js +6 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +198 -0
- package/dist-types/SecurityLake.d.ts +21 -0
- package/dist-types/SecurityLakeClient.d.ts +5 -2
- package/dist-types/commands/CreateAwsLogSourceCommand.d.ts +1 -1
- package/dist-types/commands/CreateDataLakeCommand.d.ts +7 -2
- package/dist-types/commands/CreateSubscriberCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +3 -5
- package/dist-types/commands/ListDataLakesCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +104 -0
- package/dist-types/commands/TagResourceCommand.d.ts +109 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +100 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +95 -9
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/SecurityLake.d.ts +51 -0
- package/dist-types/ts3.4/SecurityLakeClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +2 -2
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } 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 UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Removes one or more tags (keys and values) from an Amazon Security Lake resource: a subscriber, or the data lake configuration for your
|
|
27
|
+
* Amazon Web Services account in a particular Amazon Web Services 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, UntagResourceCommand } from "@aws-sdk/client-securitylake"; // ES Modules import
|
|
32
|
+
* // const { SecurityLakeClient, UntagResourceCommand } = require("@aws-sdk/client-securitylake"); // CommonJS import
|
|
33
|
+
* const client = new SecurityLakeClient(config);
|
|
34
|
+
* const input = { // UntagResourceRequest
|
|
35
|
+
* resourceArn: "STRING_VALUE", // required
|
|
36
|
+
* tagKeys: [ // TagKeyList // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
40
|
+
* const command = new UntagResourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
47
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
48
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link SecurityLakeClientResolvedConfig | config} for SecurityLakeClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <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
|
|
54
|
+
* request. An explicit denial occurs when a policy contains a Deny statement for the specific
|
|
55
|
+
* Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also
|
|
56
|
+
* no applicable Allow statement.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestException} (client fault)
|
|
59
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
63
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
64
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
65
|
+
* this exception.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>Internal service exceptions are sometimes caused by transient issues. Before you start
|
|
69
|
+
* troubleshooting, perform the operation again.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The resource could not be found.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link SecurityLakeServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from SecurityLake service.</p>
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SecurityLakeClientResolvedConfig> {
|
|
82
|
+
readonly input: UntagResourceCommandInput;
|
|
83
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
constructor(input: UntagResourceCommandInput);
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private deserialize;
|
|
100
|
+
}
|
|
@@ -21,7 +21,10 @@ export * from "./ListDataLakeExceptionsCommand";
|
|
|
21
21
|
export * from "./ListDataLakesCommand";
|
|
22
22
|
export * from "./ListLogSourcesCommand";
|
|
23
23
|
export * from "./ListSubscribersCommand";
|
|
24
|
+
export * from "./ListTagsForResourceCommand";
|
|
24
25
|
export * from "./RegisterDataLakeDelegatedAdministratorCommand";
|
|
26
|
+
export * from "./TagResourceCommand";
|
|
27
|
+
export * from "./UntagResourceCommand";
|
|
25
28
|
export * from "./UpdateDataLakeCommand";
|
|
26
29
|
export * from "./UpdateDataLakeExceptionSubscriptionCommand";
|
|
27
30
|
export * from "./UpdateSubscriberCommand";
|
|
@@ -581,6 +581,29 @@ export interface DataLakeConfiguration {
|
|
|
581
581
|
*/
|
|
582
582
|
replicationConfiguration?: DataLakeReplicationConfiguration;
|
|
583
583
|
}
|
|
584
|
+
/**
|
|
585
|
+
* @public
|
|
586
|
+
* <p>A <i>tag</i> is a label that you can define and associate with Amazon Web Services resources, including certain types of Amazon Security Lake resources.
|
|
587
|
+
* Tags can help you identify, categorize, and manage resources in different ways, such as by owner, environment, or other criteria. You can associate tags with
|
|
588
|
+
* the following types of Security Lake resources: subscribers, and the data lake configuration for your Amazon Web Services account in individual Amazon Web Services Regions.</p>
|
|
589
|
+
* <p>A resource can have up to 50 tags. Each tag consists of a required <i>tag key</i> and an associated <i>tag value</i>. A
|
|
590
|
+
* <i>tag key</i> is a general label that acts as a category for a more specific tag value. Each tag key must be unique and it can have only one tag
|
|
591
|
+
* value. A <i>tag value</i> acts as a descriptor for a tag key. Tag keys and values are case sensitive. They can contain letters, numbers, spaces,
|
|
592
|
+
* or the following symbols: _ . : / = + @ -</p>
|
|
593
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/tagging-resources.html">Tagging Amazon Security Lake resources</a> in
|
|
594
|
+
* the <i>Amazon Security Lake User Guide</i>.</p>
|
|
595
|
+
*/
|
|
596
|
+
export interface Tag {
|
|
597
|
+
/**
|
|
598
|
+
* <p>The name of the tag. This is a general label that acts as a category for a more specific tag value (<code>value</code>).</p>
|
|
599
|
+
*/
|
|
600
|
+
key: string | undefined;
|
|
601
|
+
/**
|
|
602
|
+
* <p>The value that’s associated with the specified tag key (<code>key</code>). This value acts as a descriptor for the tag key. A tag value cannot be
|
|
603
|
+
* null, but it can be an empty string.</p>
|
|
604
|
+
*/
|
|
605
|
+
value: string | undefined;
|
|
606
|
+
}
|
|
584
607
|
/**
|
|
585
608
|
* @public
|
|
586
609
|
*/
|
|
@@ -595,6 +618,11 @@ export interface CreateDataLakeRequest {
|
|
|
595
618
|
* Amazon Web Services log sources and custom sources.</p>
|
|
596
619
|
*/
|
|
597
620
|
metaStoreManagerRoleArn: string | undefined;
|
|
621
|
+
/**
|
|
622
|
+
* <p>An array of objects, one for each tag to associate with the data lake configuration. For each tag, you must specify both a tag key and a tag value. A tag
|
|
623
|
+
* value cannot be null, but it can be an empty string.</p>
|
|
624
|
+
*/
|
|
625
|
+
tags?: Tag[];
|
|
598
626
|
}
|
|
599
627
|
/**
|
|
600
628
|
* @public
|
|
@@ -753,7 +781,7 @@ export interface CreateDataLakeOrganizationConfigurationResponse {
|
|
|
753
781
|
/**
|
|
754
782
|
* @public
|
|
755
783
|
* <p>The supported source types from which logs and events are collected in Amazon Security Lake.
|
|
756
|
-
* For
|
|
784
|
+
* For a list of supported Amazon Web Services, see the <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html">Amazon Security Lake User Guide</a>.</p>
|
|
757
785
|
*/
|
|
758
786
|
export type LogSourceResource = LogSourceResource.AwsLogSourceMember | LogSourceResource.CustomLogSourceMember | LogSourceResource.$UnknownMember;
|
|
759
787
|
/**
|
|
@@ -761,7 +789,7 @@ export type LogSourceResource = LogSourceResource.AwsLogSourceMember | LogSource
|
|
|
761
789
|
*/
|
|
762
790
|
export declare namespace LogSourceResource {
|
|
763
791
|
/**
|
|
764
|
-
* <p>Amazon Security Lake supports log and event collection for natively supported Amazon Web Services
|
|
792
|
+
* <p>Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html">Amazon Security Lake User Guide</a>.</p>
|
|
765
793
|
*/
|
|
766
794
|
interface AwsLogSourceMember {
|
|
767
795
|
awsLogSource: AwsLogSourceResource;
|
|
@@ -769,8 +797,7 @@ export declare namespace LogSourceResource {
|
|
|
769
797
|
$unknown?: never;
|
|
770
798
|
}
|
|
771
799
|
/**
|
|
772
|
-
* <p>Amazon Security Lake supports custom source types. For
|
|
773
|
-
* User Guide.</p>
|
|
800
|
+
* <p>Amazon Security Lake supports custom source types. For more information, see the <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/custom-sources.html">Amazon Security Lake User Guide</a>.</p>
|
|
774
801
|
*/
|
|
775
802
|
interface CustomLogSourceMember {
|
|
776
803
|
awsLogSource?: never;
|
|
@@ -814,6 +841,11 @@ export interface CreateSubscriberRequest {
|
|
|
814
841
|
* <p>The Amazon S3 or Lake Formation access type.</p>
|
|
815
842
|
*/
|
|
816
843
|
accessTypes?: (AccessType | string)[];
|
|
844
|
+
/**
|
|
845
|
+
* <p>An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag
|
|
846
|
+
* value cannot be null, but it can be an empty string.</p>
|
|
847
|
+
*/
|
|
848
|
+
tags?: Tag[];
|
|
817
849
|
}
|
|
818
850
|
/**
|
|
819
851
|
* @public
|
|
@@ -859,7 +891,7 @@ export interface SubscriberResource {
|
|
|
859
891
|
*/
|
|
860
892
|
subscriberDescription?: string;
|
|
861
893
|
/**
|
|
862
|
-
* <p>Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide
|
|
894
|
+
* <p>Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/source-management.html">Amazon Security Lake User Guide</a>.</p>
|
|
863
895
|
*/
|
|
864
896
|
sources: LogSourceResource[] | undefined;
|
|
865
897
|
/**
|
|
@@ -954,7 +986,7 @@ export interface HttpsNotificationConfiguration {
|
|
|
954
986
|
/**
|
|
955
987
|
* <p>The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you
|
|
956
988
|
* created. For more information about ARNs and how to use them in policies, see <a href="https://docs.aws.amazon.com//security-lake/latest/userguide/subscriber-data-access.html">Managing data access</a> and <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/security-iam-awsmanpol.html">Amazon Web Services
|
|
957
|
-
* Managed Policies</a> in the Amazon Security Lake User Guide
|
|
989
|
+
* Managed Policies</a> in the <i>Amazon Security Lake User Guide</i>.</p>
|
|
958
990
|
*/
|
|
959
991
|
targetRoleArn: string | undefined;
|
|
960
992
|
}
|
|
@@ -1083,8 +1115,7 @@ export interface DeleteDataLakeResponse {
|
|
|
1083
1115
|
*/
|
|
1084
1116
|
export interface DeleteDataLakeOrganizationConfigurationRequest {
|
|
1085
1117
|
/**
|
|
1086
|
-
* <p>
|
|
1087
|
-
* Security Lake.</p>
|
|
1118
|
+
* <p>Turns off automatic enablement of Security Lake for member accounts that are added to an organization.</p>
|
|
1088
1119
|
*/
|
|
1089
1120
|
autoEnableNewAccount: DataLakeAutoEnableNewAccountConfiguration[] | undefined;
|
|
1090
1121
|
}
|
|
@@ -1446,7 +1477,7 @@ export interface UpdateDataLakeResponse {
|
|
|
1446
1477
|
}
|
|
1447
1478
|
/**
|
|
1448
1479
|
* @public
|
|
1449
|
-
* <p>The details for
|
|
1480
|
+
* <p>The details for an Amazon Security Lake exception.</p>
|
|
1450
1481
|
*/
|
|
1451
1482
|
export interface DataLakeException {
|
|
1452
1483
|
/**
|
|
@@ -1621,6 +1652,24 @@ export interface ListSubscribersResponse {
|
|
|
1621
1652
|
*/
|
|
1622
1653
|
nextToken?: string;
|
|
1623
1654
|
}
|
|
1655
|
+
/**
|
|
1656
|
+
* @public
|
|
1657
|
+
*/
|
|
1658
|
+
export interface ListTagsForResourceRequest {
|
|
1659
|
+
/**
|
|
1660
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Security Lake resource to retrieve the tags for.</p>
|
|
1661
|
+
*/
|
|
1662
|
+
resourceArn: string | undefined;
|
|
1663
|
+
}
|
|
1664
|
+
/**
|
|
1665
|
+
* @public
|
|
1666
|
+
*/
|
|
1667
|
+
export interface ListTagsForResourceResponse {
|
|
1668
|
+
/**
|
|
1669
|
+
* <p>An array of objects, one for each tag (key and value) that’s associated with the Amazon Security Lake resource.</p>
|
|
1670
|
+
*/
|
|
1671
|
+
tags?: Tag[];
|
|
1672
|
+
}
|
|
1624
1673
|
/**
|
|
1625
1674
|
* @public
|
|
1626
1675
|
*/
|
|
@@ -1692,6 +1741,43 @@ export interface UpdateSubscriberNotificationResponse {
|
|
|
1692
1741
|
*/
|
|
1693
1742
|
subscriberEndpoint?: string;
|
|
1694
1743
|
}
|
|
1744
|
+
/**
|
|
1745
|
+
* @public
|
|
1746
|
+
*/
|
|
1747
|
+
export interface TagResourceRequest {
|
|
1748
|
+
/**
|
|
1749
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Security Lake resource to add or update the tags for.</p>
|
|
1750
|
+
*/
|
|
1751
|
+
resourceArn: string | undefined;
|
|
1752
|
+
/**
|
|
1753
|
+
* <p>An array of objects, one for each tag (key and value) to associate with the Amazon Security Lake resource. For each tag, you must
|
|
1754
|
+
* specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.</p>
|
|
1755
|
+
*/
|
|
1756
|
+
tags: Tag[] | undefined;
|
|
1757
|
+
}
|
|
1758
|
+
/**
|
|
1759
|
+
* @public
|
|
1760
|
+
*/
|
|
1761
|
+
export interface TagResourceResponse {
|
|
1762
|
+
}
|
|
1763
|
+
/**
|
|
1764
|
+
* @public
|
|
1765
|
+
*/
|
|
1766
|
+
export interface UntagResourceRequest {
|
|
1767
|
+
/**
|
|
1768
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Security Lake resource to remove one or more tags from.</p>
|
|
1769
|
+
*/
|
|
1770
|
+
resourceArn: string | undefined;
|
|
1771
|
+
/**
|
|
1772
|
+
* <p>A list of one or more tag keys. For each value in the list, specify the tag key for a tag to remove from the Amazon Security Lake resource.</p>
|
|
1773
|
+
*/
|
|
1774
|
+
tagKeys: string[] | undefined;
|
|
1775
|
+
}
|
|
1776
|
+
/**
|
|
1777
|
+
* @public
|
|
1778
|
+
*/
|
|
1779
|
+
export interface UntagResourceResponse {
|
|
1780
|
+
}
|
|
1695
1781
|
/**
|
|
1696
1782
|
* @public
|
|
1697
1783
|
*/
|
|
@@ -23,7 +23,10 @@ import { ListDataLakeExceptionsCommandInput, ListDataLakeExceptionsCommandOutput
|
|
|
23
23
|
import { ListDataLakesCommandInput, ListDataLakesCommandOutput } from "../commands/ListDataLakesCommand";
|
|
24
24
|
import { ListLogSourcesCommandInput, ListLogSourcesCommandOutput } from "../commands/ListLogSourcesCommand";
|
|
25
25
|
import { ListSubscribersCommandInput, ListSubscribersCommandOutput } from "../commands/ListSubscribersCommand";
|
|
26
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
26
27
|
import { RegisterDataLakeDelegatedAdministratorCommandInput, RegisterDataLakeDelegatedAdministratorCommandOutput } from "../commands/RegisterDataLakeDelegatedAdministratorCommand";
|
|
28
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
29
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
27
30
|
import { UpdateDataLakeCommandInput, UpdateDataLakeCommandOutput } from "../commands/UpdateDataLakeCommand";
|
|
28
31
|
import { UpdateDataLakeExceptionSubscriptionCommandInput, UpdateDataLakeExceptionSubscriptionCommandOutput } from "../commands/UpdateDataLakeExceptionSubscriptionCommand";
|
|
29
32
|
import { UpdateSubscriberCommandInput, UpdateSubscriberCommandOutput } from "../commands/UpdateSubscriberCommand";
|
|
@@ -120,10 +123,22 @@ export declare const se_ListLogSourcesCommand: (input: ListLogSourcesCommandInpu
|
|
|
120
123
|
* serializeAws_restJson1ListSubscribersCommand
|
|
121
124
|
*/
|
|
122
125
|
export declare const se_ListSubscribersCommand: (input: ListSubscribersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
126
|
+
/**
|
|
127
|
+
* serializeAws_restJson1ListTagsForResourceCommand
|
|
128
|
+
*/
|
|
129
|
+
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
123
130
|
/**
|
|
124
131
|
* serializeAws_restJson1RegisterDataLakeDelegatedAdministratorCommand
|
|
125
132
|
*/
|
|
126
133
|
export declare const se_RegisterDataLakeDelegatedAdministratorCommand: (input: RegisterDataLakeDelegatedAdministratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
134
|
+
/**
|
|
135
|
+
* serializeAws_restJson1TagResourceCommand
|
|
136
|
+
*/
|
|
137
|
+
export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
138
|
+
/**
|
|
139
|
+
* serializeAws_restJson1UntagResourceCommand
|
|
140
|
+
*/
|
|
141
|
+
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
127
142
|
/**
|
|
128
143
|
* serializeAws_restJson1UpdateDataLakeCommand
|
|
129
144
|
*/
|
|
@@ -232,10 +247,22 @@ export declare const de_ListLogSourcesCommand: (output: __HttpResponse, context:
|
|
|
232
247
|
* deserializeAws_restJson1ListSubscribersCommand
|
|
233
248
|
*/
|
|
234
249
|
export declare const de_ListSubscribersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSubscribersCommandOutput>;
|
|
250
|
+
/**
|
|
251
|
+
* deserializeAws_restJson1ListTagsForResourceCommand
|
|
252
|
+
*/
|
|
253
|
+
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
235
254
|
/**
|
|
236
255
|
* deserializeAws_restJson1RegisterDataLakeDelegatedAdministratorCommand
|
|
237
256
|
*/
|
|
238
257
|
export declare const de_RegisterDataLakeDelegatedAdministratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterDataLakeDelegatedAdministratorCommandOutput>;
|
|
258
|
+
/**
|
|
259
|
+
* deserializeAws_restJson1TagResourceCommand
|
|
260
|
+
*/
|
|
261
|
+
export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
262
|
+
/**
|
|
263
|
+
* deserializeAws_restJson1UntagResourceCommand
|
|
264
|
+
*/
|
|
265
|
+
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
239
266
|
/**
|
|
240
267
|
* deserializeAws_restJson1UpdateDataLakeCommand
|
|
241
268
|
*/
|
|
@@ -91,10 +91,22 @@ import {
|
|
|
91
91
|
ListSubscribersCommandInput,
|
|
92
92
|
ListSubscribersCommandOutput,
|
|
93
93
|
} from "./commands/ListSubscribersCommand";
|
|
94
|
+
import {
|
|
95
|
+
ListTagsForResourceCommandInput,
|
|
96
|
+
ListTagsForResourceCommandOutput,
|
|
97
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
94
98
|
import {
|
|
95
99
|
RegisterDataLakeDelegatedAdministratorCommandInput,
|
|
96
100
|
RegisterDataLakeDelegatedAdministratorCommandOutput,
|
|
97
101
|
} from "./commands/RegisterDataLakeDelegatedAdministratorCommand";
|
|
102
|
+
import {
|
|
103
|
+
TagResourceCommandInput,
|
|
104
|
+
TagResourceCommandOutput,
|
|
105
|
+
} from "./commands/TagResourceCommand";
|
|
106
|
+
import {
|
|
107
|
+
UntagResourceCommandInput,
|
|
108
|
+
UntagResourceCommandOutput,
|
|
109
|
+
} from "./commands/UntagResourceCommand";
|
|
98
110
|
import {
|
|
99
111
|
UpdateDataLakeCommandInput,
|
|
100
112
|
UpdateDataLakeCommandOutput,
|
|
@@ -448,6 +460,19 @@ export interface SecurityLake {
|
|
|
448
460
|
options: __HttpHandlerOptions,
|
|
449
461
|
cb: (err: any, data?: ListSubscribersCommandOutput) => void
|
|
450
462
|
): void;
|
|
463
|
+
listTagsForResource(
|
|
464
|
+
args: ListTagsForResourceCommandInput,
|
|
465
|
+
options?: __HttpHandlerOptions
|
|
466
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
467
|
+
listTagsForResource(
|
|
468
|
+
args: ListTagsForResourceCommandInput,
|
|
469
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
470
|
+
): void;
|
|
471
|
+
listTagsForResource(
|
|
472
|
+
args: ListTagsForResourceCommandInput,
|
|
473
|
+
options: __HttpHandlerOptions,
|
|
474
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
475
|
+
): void;
|
|
451
476
|
registerDataLakeDelegatedAdministrator(
|
|
452
477
|
args: RegisterDataLakeDelegatedAdministratorCommandInput,
|
|
453
478
|
options?: __HttpHandlerOptions
|
|
@@ -467,6 +492,32 @@ export interface SecurityLake {
|
|
|
467
492
|
data?: RegisterDataLakeDelegatedAdministratorCommandOutput
|
|
468
493
|
) => void
|
|
469
494
|
): void;
|
|
495
|
+
tagResource(
|
|
496
|
+
args: TagResourceCommandInput,
|
|
497
|
+
options?: __HttpHandlerOptions
|
|
498
|
+
): Promise<TagResourceCommandOutput>;
|
|
499
|
+
tagResource(
|
|
500
|
+
args: TagResourceCommandInput,
|
|
501
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
502
|
+
): void;
|
|
503
|
+
tagResource(
|
|
504
|
+
args: TagResourceCommandInput,
|
|
505
|
+
options: __HttpHandlerOptions,
|
|
506
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
507
|
+
): void;
|
|
508
|
+
untagResource(
|
|
509
|
+
args: UntagResourceCommandInput,
|
|
510
|
+
options?: __HttpHandlerOptions
|
|
511
|
+
): Promise<UntagResourceCommandOutput>;
|
|
512
|
+
untagResource(
|
|
513
|
+
args: UntagResourceCommandInput,
|
|
514
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
515
|
+
): void;
|
|
516
|
+
untagResource(
|
|
517
|
+
args: UntagResourceCommandInput,
|
|
518
|
+
options: __HttpHandlerOptions,
|
|
519
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
520
|
+
): void;
|
|
470
521
|
updateDataLake(
|
|
471
522
|
args: UpdateDataLakeCommandInput,
|
|
472
523
|
options?: __HttpHandlerOptions
|
|
@@ -136,10 +136,22 @@ import {
|
|
|
136
136
|
ListSubscribersCommandInput,
|
|
137
137
|
ListSubscribersCommandOutput,
|
|
138
138
|
} from "./commands/ListSubscribersCommand";
|
|
139
|
+
import {
|
|
140
|
+
ListTagsForResourceCommandInput,
|
|
141
|
+
ListTagsForResourceCommandOutput,
|
|
142
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
139
143
|
import {
|
|
140
144
|
RegisterDataLakeDelegatedAdministratorCommandInput,
|
|
141
145
|
RegisterDataLakeDelegatedAdministratorCommandOutput,
|
|
142
146
|
} from "./commands/RegisterDataLakeDelegatedAdministratorCommand";
|
|
147
|
+
import {
|
|
148
|
+
TagResourceCommandInput,
|
|
149
|
+
TagResourceCommandOutput,
|
|
150
|
+
} from "./commands/TagResourceCommand";
|
|
151
|
+
import {
|
|
152
|
+
UntagResourceCommandInput,
|
|
153
|
+
UntagResourceCommandOutput,
|
|
154
|
+
} from "./commands/UntagResourceCommand";
|
|
143
155
|
import {
|
|
144
156
|
UpdateDataLakeCommandInput,
|
|
145
157
|
UpdateDataLakeCommandOutput,
|
|
@@ -186,7 +198,10 @@ export type ServiceInputTypes =
|
|
|
186
198
|
| ListDataLakesCommandInput
|
|
187
199
|
| ListLogSourcesCommandInput
|
|
188
200
|
| ListSubscribersCommandInput
|
|
201
|
+
| ListTagsForResourceCommandInput
|
|
189
202
|
| RegisterDataLakeDelegatedAdministratorCommandInput
|
|
203
|
+
| TagResourceCommandInput
|
|
204
|
+
| UntagResourceCommandInput
|
|
190
205
|
| UpdateDataLakeCommandInput
|
|
191
206
|
| UpdateDataLakeExceptionSubscriptionCommandInput
|
|
192
207
|
| UpdateSubscriberCommandInput
|
|
@@ -215,7 +230,10 @@ export type ServiceOutputTypes =
|
|
|
215
230
|
| ListDataLakesCommandOutput
|
|
216
231
|
| ListLogSourcesCommandOutput
|
|
217
232
|
| ListSubscribersCommandOutput
|
|
233
|
+
| ListTagsForResourceCommandOutput
|
|
218
234
|
| RegisterDataLakeDelegatedAdministratorCommandOutput
|
|
235
|
+
| TagResourceCommandOutput
|
|
236
|
+
| UntagResourceCommandOutput
|
|
219
237
|
| UpdateDataLakeCommandOutput
|
|
220
238
|
| UpdateDataLakeExceptionSubscriptionCommandOutput
|
|
221
239
|
| UpdateSubscriberCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ListTagsForResourceRequest,
|
|
11
|
+
ListTagsForResourceResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
SecurityLakeClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../SecurityLakeClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListTagsForResourceCommandInput
|
|
20
|
+
extends ListTagsForResourceRequest {}
|
|
21
|
+
export interface ListTagsForResourceCommandOutput
|
|
22
|
+
extends ListTagsForResourceResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListTagsForResourceCommand extends $Command<
|
|
25
|
+
ListTagsForResourceCommandInput,
|
|
26
|
+
ListTagsForResourceCommandOutput,
|
|
27
|
+
SecurityLakeClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: SecurityLakeClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
SecurityLakeClientResolvedConfig,
|
|
12
|
+
ServiceInputTypes,
|
|
13
|
+
ServiceOutputTypes,
|
|
14
|
+
} from "../SecurityLakeClient";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
17
|
+
export interface TagResourceCommandOutput
|
|
18
|
+
extends TagResourceResponse,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class TagResourceCommand extends $Command<
|
|
21
|
+
TagResourceCommandInput,
|
|
22
|
+
TagResourceCommandOutput,
|
|
23
|
+
SecurityLakeClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: TagResourceCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: TagResourceCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: SecurityLakeClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
UntagResourceRequest,
|
|
11
|
+
UntagResourceResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
SecurityLakeClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../SecurityLakeClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
20
|
+
export interface UntagResourceCommandOutput
|
|
21
|
+
extends UntagResourceResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UntagResourceCommand extends $Command<
|
|
24
|
+
UntagResourceCommandInput,
|
|
25
|
+
UntagResourceCommandOutput,
|
|
26
|
+
SecurityLakeClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UntagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UntagResourceCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: SecurityLakeClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -21,7 +21,10 @@ export * from "./ListDataLakeExceptionsCommand";
|
|
|
21
21
|
export * from "./ListDataLakesCommand";
|
|
22
22
|
export * from "./ListLogSourcesCommand";
|
|
23
23
|
export * from "./ListSubscribersCommand";
|
|
24
|
+
export * from "./ListTagsForResourceCommand";
|
|
24
25
|
export * from "./RegisterDataLakeDelegatedAdministratorCommand";
|
|
26
|
+
export * from "./TagResourceCommand";
|
|
27
|
+
export * from "./UntagResourceCommand";
|
|
25
28
|
export * from "./UpdateDataLakeCommand";
|
|
26
29
|
export * from "./UpdateDataLakeExceptionSubscriptionCommand";
|
|
27
30
|
export * from "./UpdateSubscriberCommand";
|
|
@@ -142,9 +142,14 @@ export interface DataLakeConfiguration {
|
|
|
142
142
|
lifecycleConfiguration?: DataLakeLifecycleConfiguration;
|
|
143
143
|
replicationConfiguration?: DataLakeReplicationConfiguration;
|
|
144
144
|
}
|
|
145
|
+
export interface Tag {
|
|
146
|
+
key: string | undefined;
|
|
147
|
+
value: string | undefined;
|
|
148
|
+
}
|
|
145
149
|
export interface CreateDataLakeRequest {
|
|
146
150
|
configurations: DataLakeConfiguration[] | undefined;
|
|
147
151
|
metaStoreManagerRoleArn: string | undefined;
|
|
152
|
+
tags?: Tag[];
|
|
148
153
|
}
|
|
149
154
|
export declare const DataLakeStatus: {
|
|
150
155
|
readonly COMPLETED: "COMPLETED";
|
|
@@ -223,6 +228,7 @@ export interface CreateSubscriberRequest {
|
|
|
223
228
|
subscriberDescription?: string;
|
|
224
229
|
sources: LogSourceResource[] | undefined;
|
|
225
230
|
accessTypes?: (AccessType | string)[];
|
|
231
|
+
tags?: Tag[];
|
|
226
232
|
}
|
|
227
233
|
export declare const SubscriberStatus: {
|
|
228
234
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -426,6 +432,12 @@ export interface ListSubscribersResponse {
|
|
|
426
432
|
subscribers?: SubscriberResource[];
|
|
427
433
|
nextToken?: string;
|
|
428
434
|
}
|
|
435
|
+
export interface ListTagsForResourceRequest {
|
|
436
|
+
resourceArn: string | undefined;
|
|
437
|
+
}
|
|
438
|
+
export interface ListTagsForResourceResponse {
|
|
439
|
+
tags?: Tag[];
|
|
440
|
+
}
|
|
429
441
|
export interface RegisterDataLakeDelegatedAdministratorRequest {
|
|
430
442
|
accountId: string | undefined;
|
|
431
443
|
}
|
|
@@ -447,6 +459,16 @@ export interface UpdateSubscriberNotificationRequest {
|
|
|
447
459
|
export interface UpdateSubscriberNotificationResponse {
|
|
448
460
|
subscriberEndpoint?: string;
|
|
449
461
|
}
|
|
462
|
+
export interface TagResourceRequest {
|
|
463
|
+
resourceArn: string | undefined;
|
|
464
|
+
tags: Tag[] | undefined;
|
|
465
|
+
}
|
|
466
|
+
export interface TagResourceResponse {}
|
|
467
|
+
export interface UntagResourceRequest {
|
|
468
|
+
resourceArn: string | undefined;
|
|
469
|
+
tagKeys: string[] | undefined;
|
|
470
|
+
}
|
|
471
|
+
export interface UntagResourceResponse {}
|
|
450
472
|
export interface UpdateDataLakeExceptionSubscriptionRequest {
|
|
451
473
|
subscriptionProtocol: string | undefined;
|
|
452
474
|
notificationEndpoint: string | undefined;
|