@aws-sdk/client-accessanalyzer 3.787.0 → 3.796.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/dist-cjs/index.js +8 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-types/commands/CreateAccessPreviewCommand.d.ts +11 -0
- package/dist-types/commands/GetAccessPreviewCommand.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +45 -5
- package/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -546,6 +546,11 @@ var CheckNoNewAccessResult = {
|
|
|
546
546
|
PASS: "PASS"
|
|
547
547
|
};
|
|
548
548
|
var AccessCheckResourceType = {
|
|
549
|
+
API_GATEWAY_REST_API: "AWS::ApiGateway::RestApi",
|
|
550
|
+
BACKUP_VAULT: "AWS::Backup::BackupVault",
|
|
551
|
+
CLOUDTRAIL_DASHBOARD: "AWS::CloudTrail::Dashboard",
|
|
552
|
+
CLOUDTRAIL_EVENT_DATA_STORE: "AWS::CloudTrail::EventDataStore",
|
|
553
|
+
CODE_ARTIFACT_DOMAIN: "AWS::CodeArtifact::Domain",
|
|
549
554
|
DYNAMODB_STREAM: "AWS::DynamoDB::Stream",
|
|
550
555
|
DYNAMODB_TABLE: "AWS::DynamoDB::Table",
|
|
551
556
|
EFS_FILESYSTEM: "AWS::EFS::FileSystem",
|
|
@@ -558,9 +563,12 @@ var AccessCheckResourceType = {
|
|
|
558
563
|
S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket",
|
|
559
564
|
S3_ACCESS_POINT: "AWS::S3::AccessPoint",
|
|
560
565
|
S3_BUCKET: "AWS::S3::Bucket",
|
|
566
|
+
S3_EXPRESS_ACCESS_POINT: "AWS::S3Express::AccessPoint",
|
|
561
567
|
S3_GLACIER: "AWS::S3::Glacier",
|
|
562
568
|
S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint",
|
|
563
569
|
S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket",
|
|
570
|
+
S3_TABLE: "AWS::S3Tables::Table",
|
|
571
|
+
S3_TABLE_BUCKET: "AWS::S3Tables::TableBucket",
|
|
564
572
|
SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret",
|
|
565
573
|
SNS_TOPIC: "AWS::SNS::Topic",
|
|
566
574
|
SQS_QUEUE: "AWS::SQS::Queue"
|
|
@@ -161,6 +161,11 @@ export const CheckNoNewAccessResult = {
|
|
|
161
161
|
PASS: "PASS",
|
|
162
162
|
};
|
|
163
163
|
export const AccessCheckResourceType = {
|
|
164
|
+
API_GATEWAY_REST_API: "AWS::ApiGateway::RestApi",
|
|
165
|
+
BACKUP_VAULT: "AWS::Backup::BackupVault",
|
|
166
|
+
CLOUDTRAIL_DASHBOARD: "AWS::CloudTrail::Dashboard",
|
|
167
|
+
CLOUDTRAIL_EVENT_DATA_STORE: "AWS::CloudTrail::EventDataStore",
|
|
168
|
+
CODE_ARTIFACT_DOMAIN: "AWS::CodeArtifact::Domain",
|
|
164
169
|
DYNAMODB_STREAM: "AWS::DynamoDB::Stream",
|
|
165
170
|
DYNAMODB_TABLE: "AWS::DynamoDB::Table",
|
|
166
171
|
EFS_FILESYSTEM: "AWS::EFS::FileSystem",
|
|
@@ -173,9 +178,12 @@ export const AccessCheckResourceType = {
|
|
|
173
178
|
S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket",
|
|
174
179
|
S3_ACCESS_POINT: "AWS::S3::AccessPoint",
|
|
175
180
|
S3_BUCKET: "AWS::S3::Bucket",
|
|
181
|
+
S3_EXPRESS_ACCESS_POINT: "AWS::S3Express::AccessPoint",
|
|
176
182
|
S3_GLACIER: "AWS::S3::Glacier",
|
|
177
183
|
S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint",
|
|
178
184
|
S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket",
|
|
185
|
+
S3_TABLE: "AWS::S3Tables::Table",
|
|
186
|
+
S3_TABLE_BUCKET: "AWS::S3Tables::TableBucket",
|
|
179
187
|
SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret",
|
|
180
188
|
SNS_TOPIC: "AWS::SNS::Topic",
|
|
181
189
|
SQS_QUEUE: "AWS::SQS::Queue",
|
|
@@ -143,6 +143,17 @@ declare const CreateAccessPreviewCommand_base: {
|
|
|
143
143
|
* },
|
|
144
144
|
* s3ExpressDirectoryBucket: { // S3ExpressDirectoryBucketConfiguration
|
|
145
145
|
* bucketPolicy: "STRING_VALUE",
|
|
146
|
+
* accessPoints: { // S3ExpressDirectoryAccessPointConfigurationsMap
|
|
147
|
+
* "<keys>": { // S3ExpressDirectoryAccessPointConfiguration
|
|
148
|
+
* accessPointPolicy: "STRING_VALUE",
|
|
149
|
+
* networkOrigin: {// Union: only one key present
|
|
150
|
+
* vpcConfiguration: {
|
|
151
|
+
* vpcId: "STRING_VALUE", // required
|
|
152
|
+
* },
|
|
153
|
+
* internetConfiguration: {},
|
|
154
|
+
* },
|
|
155
|
+
* },
|
|
156
|
+
* },
|
|
146
157
|
* },
|
|
147
158
|
* dynamodbStream: { // DynamodbStreamConfiguration
|
|
148
159
|
* streamPolicy: "STRING_VALUE",
|
|
@@ -150,6 +150,17 @@ declare const GetAccessPreviewCommand_base: {
|
|
|
150
150
|
* // },
|
|
151
151
|
* // s3ExpressDirectoryBucket: { // S3ExpressDirectoryBucketConfiguration
|
|
152
152
|
* // bucketPolicy: "STRING_VALUE",
|
|
153
|
+
* // accessPoints: { // S3ExpressDirectoryAccessPointConfigurationsMap
|
|
154
|
+
* // "<keys>": { // S3ExpressDirectoryAccessPointConfiguration
|
|
155
|
+
* // accessPointPolicy: "STRING_VALUE",
|
|
156
|
+
* // networkOrigin: {// Union: only one key present
|
|
157
|
+
* // vpcConfiguration: {
|
|
158
|
+
* // vpcId: "STRING_VALUE", // required
|
|
159
|
+
* // },
|
|
160
|
+
* // internetConfiguration: {},
|
|
161
|
+
* // },
|
|
162
|
+
* // },
|
|
163
|
+
* // },
|
|
153
164
|
* // },
|
|
154
165
|
* // dynamodbStream: { // DynamodbStreamConfiguration
|
|
155
166
|
* // streamPolicy: "STRING_VALUE",
|
|
@@ -973,6 +973,11 @@ export interface CheckNoNewAccessResponse {
|
|
|
973
973
|
* @enum
|
|
974
974
|
*/
|
|
975
975
|
export declare const AccessCheckResourceType: {
|
|
976
|
+
readonly API_GATEWAY_REST_API: "AWS::ApiGateway::RestApi";
|
|
977
|
+
readonly BACKUP_VAULT: "AWS::Backup::BackupVault";
|
|
978
|
+
readonly CLOUDTRAIL_DASHBOARD: "AWS::CloudTrail::Dashboard";
|
|
979
|
+
readonly CLOUDTRAIL_EVENT_DATA_STORE: "AWS::CloudTrail::EventDataStore";
|
|
980
|
+
readonly CODE_ARTIFACT_DOMAIN: "AWS::CodeArtifact::Domain";
|
|
976
981
|
readonly DYNAMODB_STREAM: "AWS::DynamoDB::Stream";
|
|
977
982
|
readonly DYNAMODB_TABLE: "AWS::DynamoDB::Table";
|
|
978
983
|
readonly EFS_FILESYSTEM: "AWS::EFS::FileSystem";
|
|
@@ -985,9 +990,12 @@ export declare const AccessCheckResourceType: {
|
|
|
985
990
|
readonly S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket";
|
|
986
991
|
readonly S3_ACCESS_POINT: "AWS::S3::AccessPoint";
|
|
987
992
|
readonly S3_BUCKET: "AWS::S3::Bucket";
|
|
993
|
+
readonly S3_EXPRESS_ACCESS_POINT: "AWS::S3Express::AccessPoint";
|
|
988
994
|
readonly S3_GLACIER: "AWS::S3::Glacier";
|
|
989
995
|
readonly S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint";
|
|
990
996
|
readonly S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket";
|
|
997
|
+
readonly S3_TABLE: "AWS::S3Tables::Table";
|
|
998
|
+
readonly S3_TABLE_BUCKET: "AWS::S3Tables::TableBucket";
|
|
991
999
|
readonly SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret";
|
|
992
1000
|
readonly SNS_TOPIC: "AWS::SNS::Topic";
|
|
993
1001
|
readonly SQS_QUEUE: "AWS::SQS::Queue";
|
|
@@ -1566,9 +1574,8 @@ export interface VpcConfiguration {
|
|
|
1566
1574
|
}
|
|
1567
1575
|
/**
|
|
1568
1576
|
* <p>The proposed <code>InternetConfiguration</code> or <code>VpcConfiguration</code> to
|
|
1569
|
-
* apply to the Amazon S3 access point.
|
|
1570
|
-
*
|
|
1571
|
-
* you can specify that all requests made through that access point must originate from a
|
|
1577
|
+
* apply to the Amazon S3 access point. You can make the access point accessible from the internet,
|
|
1578
|
+
* or you can specify that all requests made through that access point must originate from a
|
|
1572
1579
|
* specific virtual private cloud (VPC). You can specify only one type of network
|
|
1573
1580
|
* configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/creating-access-points.html">Creating access
|
|
1574
1581
|
* points</a>.</p>
|
|
@@ -1666,7 +1673,7 @@ export interface S3AccessPointConfiguration {
|
|
|
1666
1673
|
* Amazon S3 access point. <code>VpcConfiguration</code> does not apply to multi-region access
|
|
1667
1674
|
* points. If the access preview is for a new resource and neither is specified, the access
|
|
1668
1675
|
* preview uses <code>Internet</code> for the network origin. If the access preview is for an
|
|
1669
|
-
* existing resource and neither is specified, the access preview uses the
|
|
1676
|
+
* existing resource and neither is specified, the access preview uses the existing network
|
|
1670
1677
|
* origin.</p>
|
|
1671
1678
|
* @public
|
|
1672
1679
|
*/
|
|
@@ -1787,6 +1794,33 @@ export interface S3BucketConfiguration {
|
|
|
1787
1794
|
*/
|
|
1788
1795
|
accessPoints?: Record<string, S3AccessPointConfiguration> | undefined;
|
|
1789
1796
|
}
|
|
1797
|
+
/**
|
|
1798
|
+
* <p>Proposed configuration for an access point attached to an Amazon S3 directory bucket. You can
|
|
1799
|
+
* propose up to 10 access points per bucket. If the proposed access point configuration is
|
|
1800
|
+
* for an existing Amazon S3 directory bucket, the access preview uses the proposed access point
|
|
1801
|
+
* configuration in place of the existing access points. To propose an access point without a
|
|
1802
|
+
* policy, you can provide an empty string as the access point policy. For more information
|
|
1803
|
+
* about access points for Amazon S3 directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets.html">Managing access to
|
|
1804
|
+
* directory buckets with access points</a> in the Amazon Simple Storage Service User Guide.</p>
|
|
1805
|
+
* @public
|
|
1806
|
+
*/
|
|
1807
|
+
export interface S3ExpressDirectoryAccessPointConfiguration {
|
|
1808
|
+
/**
|
|
1809
|
+
* <p>The proposed access point policy for an Amazon S3 directory bucket access point.</p>
|
|
1810
|
+
* @public
|
|
1811
|
+
*/
|
|
1812
|
+
accessPointPolicy?: string | undefined;
|
|
1813
|
+
/**
|
|
1814
|
+
* <p>The proposed <code>InternetConfiguration</code> or <code>VpcConfiguration</code> to
|
|
1815
|
+
* apply to the Amazon S3 access point. You can make the access point accessible from the internet,
|
|
1816
|
+
* or you can specify that all requests made through that access point must originate from a
|
|
1817
|
+
* specific virtual private cloud (VPC). You can specify only one type of network
|
|
1818
|
+
* configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/creating-access-points.html">Creating access
|
|
1819
|
+
* points</a>.</p>
|
|
1820
|
+
* @public
|
|
1821
|
+
*/
|
|
1822
|
+
networkOrigin?: NetworkOriginConfiguration | undefined;
|
|
1823
|
+
}
|
|
1790
1824
|
/**
|
|
1791
1825
|
* <p>Proposed access control configuration for an Amazon S3 directory bucket. You can propose a
|
|
1792
1826
|
* configuration for a new Amazon S3 directory bucket or an existing Amazon S3 directory bucket that you
|
|
@@ -1796,7 +1830,8 @@ export interface S3BucketConfiguration {
|
|
|
1796
1830
|
* resource and you do not specify the Amazon S3 bucket policy, the access preview assumes an
|
|
1797
1831
|
* directory bucket without a policy. To propose deletion of an existing bucket policy, you
|
|
1798
1832
|
* can specify an empty string. For more information about Amazon S3 directory bucket policies, see
|
|
1799
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example
|
|
1833
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example bucket policies for directory buckets</a> in the Amazon Simple Storage Service User
|
|
1834
|
+
* Guide.</p>
|
|
1800
1835
|
* @public
|
|
1801
1836
|
*/
|
|
1802
1837
|
export interface S3ExpressDirectoryBucketConfiguration {
|
|
@@ -1805,6 +1840,11 @@ export interface S3ExpressDirectoryBucketConfiguration {
|
|
|
1805
1840
|
* @public
|
|
1806
1841
|
*/
|
|
1807
1842
|
bucketPolicy?: string | undefined;
|
|
1843
|
+
/**
|
|
1844
|
+
* <p>The proposed access points for the Amazon S3 directory bucket.</p>
|
|
1845
|
+
* @public
|
|
1846
|
+
*/
|
|
1847
|
+
accessPoints?: Record<string, S3ExpressDirectoryAccessPointConfiguration> | undefined;
|
|
1808
1848
|
}
|
|
1809
1849
|
/**
|
|
1810
1850
|
* <p>The configuration for a Secrets Manager secret. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_CreateSecret.html">CreateSecret</a>.</p>
|
|
@@ -287,6 +287,11 @@ export interface CheckNoNewAccessResponse {
|
|
|
287
287
|
reasons?: ReasonSummary[] | undefined;
|
|
288
288
|
}
|
|
289
289
|
export declare const AccessCheckResourceType: {
|
|
290
|
+
readonly API_GATEWAY_REST_API: "AWS::ApiGateway::RestApi";
|
|
291
|
+
readonly BACKUP_VAULT: "AWS::Backup::BackupVault";
|
|
292
|
+
readonly CLOUDTRAIL_DASHBOARD: "AWS::CloudTrail::Dashboard";
|
|
293
|
+
readonly CLOUDTRAIL_EVENT_DATA_STORE: "AWS::CloudTrail::EventDataStore";
|
|
294
|
+
readonly CODE_ARTIFACT_DOMAIN: "AWS::CodeArtifact::Domain";
|
|
290
295
|
readonly DYNAMODB_STREAM: "AWS::DynamoDB::Stream";
|
|
291
296
|
readonly DYNAMODB_TABLE: "AWS::DynamoDB::Table";
|
|
292
297
|
readonly EFS_FILESYSTEM: "AWS::EFS::FileSystem";
|
|
@@ -299,9 +304,12 @@ export declare const AccessCheckResourceType: {
|
|
|
299
304
|
readonly S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket";
|
|
300
305
|
readonly S3_ACCESS_POINT: "AWS::S3::AccessPoint";
|
|
301
306
|
readonly S3_BUCKET: "AWS::S3::Bucket";
|
|
307
|
+
readonly S3_EXPRESS_ACCESS_POINT: "AWS::S3Express::AccessPoint";
|
|
302
308
|
readonly S3_GLACIER: "AWS::S3::Glacier";
|
|
303
309
|
readonly S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint";
|
|
304
310
|
readonly S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket";
|
|
311
|
+
readonly S3_TABLE: "AWS::S3Tables::Table";
|
|
312
|
+
readonly S3_TABLE_BUCKET: "AWS::S3Tables::TableBucket";
|
|
305
313
|
readonly SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret";
|
|
306
314
|
readonly SNS_TOPIC: "AWS::SNS::Topic";
|
|
307
315
|
readonly SQS_QUEUE: "AWS::SQS::Queue";
|
|
@@ -511,8 +519,15 @@ export interface S3BucketConfiguration {
|
|
|
511
519
|
bucketPublicAccessBlock?: S3PublicAccessBlockConfiguration | undefined;
|
|
512
520
|
accessPoints?: Record<string, S3AccessPointConfiguration> | undefined;
|
|
513
521
|
}
|
|
522
|
+
export interface S3ExpressDirectoryAccessPointConfiguration {
|
|
523
|
+
accessPointPolicy?: string | undefined;
|
|
524
|
+
networkOrigin?: NetworkOriginConfiguration | undefined;
|
|
525
|
+
}
|
|
514
526
|
export interface S3ExpressDirectoryBucketConfiguration {
|
|
515
527
|
bucketPolicy?: string | undefined;
|
|
528
|
+
accessPoints?:
|
|
529
|
+
| Record<string, S3ExpressDirectoryAccessPointConfiguration>
|
|
530
|
+
| undefined;
|
|
516
531
|
}
|
|
517
532
|
export interface SecretsManagerSecretConfiguration {
|
|
518
533
|
kmsKeyId?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-accessanalyzer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.796.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-accessanalyzer",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.796.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.796.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.796.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.796.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|