@aws-sdk/client-s3-control 3.1164.0 → 3.1166.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 +17 -9
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +11 -8
- package/dist-types/commands/GetDataAccessCommand.d.ts +3 -1
- package/dist-types/commands/ListCallerAccessGrantsCommand.d.ts +3 -1
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +42 -2
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +9 -9
package/dist-cjs/index.js
CHANGED
|
@@ -73,7 +73,7 @@ const commonParams = {
|
|
|
73
73
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
var version = "3.
|
|
76
|
+
var version = "3.1165.0";
|
|
77
77
|
var packageInfo = {
|
|
78
78
|
version: version};
|
|
79
79
|
|
|
@@ -1195,6 +1195,7 @@ const _INTE = "InvalidNextTokenException";
|
|
|
1195
1195
|
const _IP = "IsPublic";
|
|
1196
1196
|
const _IPA = "IgnorePublicAcls";
|
|
1197
1197
|
const _IRE = "InvalidRequestException";
|
|
1198
|
+
const _IS = "InstanceScope";
|
|
1198
1199
|
const _ISE = "InternalServiceException";
|
|
1199
1200
|
const _ISV = "InvocationSchemaVersion";
|
|
1200
1201
|
const _Id = "Id";
|
|
@@ -1298,6 +1299,7 @@ const _MFA = "MFA";
|
|
|
1298
1299
|
const _MFAD = "MFADelete";
|
|
1299
1300
|
const _MG = "ManifestGenerator";
|
|
1300
1301
|
const _MGT = "MatchedGrantTarget";
|
|
1302
|
+
const _MIA = "MatchedInstanceArn";
|
|
1301
1303
|
const _MOA = "MatchObjectAge";
|
|
1302
1304
|
const _MOL = "ManifestOutputLocation";
|
|
1303
1305
|
const _MOS = "MatchObjectSize";
|
|
@@ -1623,6 +1625,7 @@ const _hH = "httpHeader";
|
|
|
1623
1625
|
const _hL = "hostLabel";
|
|
1624
1626
|
const _hP = "httpPayload";
|
|
1625
1627
|
const _hQ = "httpQuery";
|
|
1628
|
+
const _iS = "instanceScope";
|
|
1626
1629
|
const _jS = "jobStatuses";
|
|
1627
1630
|
const _l = "locationscope";
|
|
1628
1631
|
const _mR = "maxResults";
|
|
@@ -2302,13 +2305,13 @@ var GetBucketVersioningResult$ = [3, n0, _GBVRe,
|
|
|
2302
2305
|
];
|
|
2303
2306
|
var GetDataAccessRequest$ = [3, n0, _GDAR,
|
|
2304
2307
|
0,
|
|
2305
|
-
[_Ta, _P, _AI, _DS, _Pri, _TT, _AC],
|
|
2306
|
-
[[0, { [_hQ]: _t }], [0, { [_hQ]: _p }], [0, { [_hL]: 1, [_hH]: _xaai }], [1, { [_hQ]: _dS }], [0, { [_hQ]: _pr }], [0, { [_hQ]: _tT }], [0, { [_hQ]: _aC }]], 2
|
|
2308
|
+
[_Ta, _P, _AI, _DS, _Pri, _TT, _AC, _IS],
|
|
2309
|
+
[[0, { [_hQ]: _t }], [0, { [_hQ]: _p }], [0, { [_hL]: 1, [_hH]: _xaai }], [1, { [_hQ]: _dS }], [0, { [_hQ]: _pr }], [0, { [_hQ]: _tT }], [0, { [_hQ]: _aC }], [0, { [_hQ]: _iS }]], 2
|
|
2307
2310
|
];
|
|
2308
2311
|
var GetDataAccessResult$ = [3, n0, _GDARe,
|
|
2309
2312
|
0,
|
|
2310
|
-
[_Cr, _MGT, _G],
|
|
2311
|
-
[[() => Credentials$, 0], 0, () => Grantee
|
|
2313
|
+
[_Cr, _MGT, _G, _MIA],
|
|
2314
|
+
[[() => Credentials$, 0], 0, () => Grantee$, 0]
|
|
2312
2315
|
];
|
|
2313
2316
|
var GetJobTaggingRequest$ = [3, n0, _GJTR,
|
|
2314
2317
|
0,
|
|
@@ -2577,13 +2580,13 @@ var ListAccessPointsResult$ = [3, n0, _LAPRi,
|
|
|
2577
2580
|
];
|
|
2578
2581
|
var ListCallerAccessGrantsEntry$ = [3, n0, _LCAGE,
|
|
2579
2582
|
0,
|
|
2580
|
-
[_P, _GS, _AA],
|
|
2581
|
-
[0, 0, 0]
|
|
2583
|
+
[_P, _GS, _AA, _AGIA],
|
|
2584
|
+
[0, 0, 0, 0]
|
|
2582
2585
|
];
|
|
2583
2586
|
var ListCallerAccessGrantsRequest$ = [3, n0, _LCAGR,
|
|
2584
2587
|
0,
|
|
2585
|
-
[_AI, _GS, _NT, _MR, _ABA],
|
|
2586
|
-
[[0, { [_hL]: 1, [_hH]: _xaai }], [0, { [_hQ]: _gra }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [2, { [_hQ]: _aBA }]]
|
|
2588
|
+
[_AI, _GS, _NT, _MR, _ABA, _IS],
|
|
2589
|
+
[[0, { [_hL]: 1, [_hH]: _xaai }], [0, { [_hQ]: _gra }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [2, { [_hQ]: _aBA }], [0, { [_hQ]: _iS }]]
|
|
2587
2590
|
];
|
|
2588
2591
|
var ListCallerAccessGrantsResult$ = [3, n0, _LCAGRi,
|
|
2589
2592
|
0,
|
|
@@ -4618,6 +4621,10 @@ const BucketVersioningStatus = {
|
|
|
4618
4621
|
Enabled: "Enabled",
|
|
4619
4622
|
Suspended: "Suspended",
|
|
4620
4623
|
};
|
|
4624
|
+
const InstanceScope = {
|
|
4625
|
+
ALL: "ALL",
|
|
4626
|
+
SELF: "SELF",
|
|
4627
|
+
};
|
|
4621
4628
|
const Privilege = {
|
|
4622
4629
|
Default: "Default",
|
|
4623
4630
|
Minimal: "Minimal",
|
|
@@ -4937,6 +4944,7 @@ exports.GranteeType = GranteeType;
|
|
|
4937
4944
|
exports.IdempotencyException = IdempotencyException;
|
|
4938
4945
|
exports.IdempotencyException$ = IdempotencyException$;
|
|
4939
4946
|
exports.Include$ = Include$;
|
|
4947
|
+
exports.InstanceScope = InstanceScope;
|
|
4940
4948
|
exports.InternalServiceException = InternalServiceException;
|
|
4941
4949
|
exports.InternalServiceException$ = InternalServiceException$;
|
|
4942
4950
|
exports.InvalidNextTokenException = InvalidNextTokenException;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -261,6 +261,10 @@ export const BucketVersioningStatus = {
|
|
|
261
261
|
Enabled: "Enabled",
|
|
262
262
|
Suspended: "Suspended",
|
|
263
263
|
};
|
|
264
|
+
export const InstanceScope = {
|
|
265
|
+
ALL: "ALL",
|
|
266
|
+
SELF: "SELF",
|
|
267
|
+
};
|
|
264
268
|
export const Privilege = {
|
|
265
269
|
Default: "Default",
|
|
266
270
|
Minimal: "Minimal",
|
|
@@ -334,6 +334,7 @@ const _INTE = "InvalidNextTokenException";
|
|
|
334
334
|
const _IP = "IsPublic";
|
|
335
335
|
const _IPA = "IgnorePublicAcls";
|
|
336
336
|
const _IRE = "InvalidRequestException";
|
|
337
|
+
const _IS = "InstanceScope";
|
|
337
338
|
const _ISE = "InternalServiceException";
|
|
338
339
|
const _ISV = "InvocationSchemaVersion";
|
|
339
340
|
const _Id = "Id";
|
|
@@ -437,6 +438,7 @@ const _MFA = "MFA";
|
|
|
437
438
|
const _MFAD = "MFADelete";
|
|
438
439
|
const _MG = "ManifestGenerator";
|
|
439
440
|
const _MGT = "MatchedGrantTarget";
|
|
441
|
+
const _MIA = "MatchedInstanceArn";
|
|
440
442
|
const _MOA = "MatchObjectAge";
|
|
441
443
|
const _MOL = "ManifestOutputLocation";
|
|
442
444
|
const _MOS = "MatchObjectSize";
|
|
@@ -762,6 +764,7 @@ const _hH = "httpHeader";
|
|
|
762
764
|
const _hL = "hostLabel";
|
|
763
765
|
const _hP = "httpPayload";
|
|
764
766
|
const _hQ = "httpQuery";
|
|
767
|
+
const _iS = "instanceScope";
|
|
765
768
|
const _jS = "jobStatuses";
|
|
766
769
|
const _l = "locationscope";
|
|
767
770
|
const _mR = "maxResults";
|
|
@@ -1444,13 +1447,13 @@ export var GetBucketVersioningResult$ = [3, n0, _GBVRe,
|
|
|
1444
1447
|
];
|
|
1445
1448
|
export var GetDataAccessRequest$ = [3, n0, _GDAR,
|
|
1446
1449
|
0,
|
|
1447
|
-
[_Ta, _P, _AI, _DS, _Pri, _TT, _AC],
|
|
1448
|
-
[[0, { [_hQ]: _t }], [0, { [_hQ]: _p }], [0, { [_hL]: 1, [_hH]: _xaai }], [1, { [_hQ]: _dS }], [0, { [_hQ]: _pr }], [0, { [_hQ]: _tT }], [0, { [_hQ]: _aC }]], 2
|
|
1450
|
+
[_Ta, _P, _AI, _DS, _Pri, _TT, _AC, _IS],
|
|
1451
|
+
[[0, { [_hQ]: _t }], [0, { [_hQ]: _p }], [0, { [_hL]: 1, [_hH]: _xaai }], [1, { [_hQ]: _dS }], [0, { [_hQ]: _pr }], [0, { [_hQ]: _tT }], [0, { [_hQ]: _aC }], [0, { [_hQ]: _iS }]], 2
|
|
1449
1452
|
];
|
|
1450
1453
|
export var GetDataAccessResult$ = [3, n0, _GDARe,
|
|
1451
1454
|
0,
|
|
1452
|
-
[_Cr, _MGT, _G],
|
|
1453
|
-
[[() => Credentials$, 0], 0, () => Grantee
|
|
1455
|
+
[_Cr, _MGT, _G, _MIA],
|
|
1456
|
+
[[() => Credentials$, 0], 0, () => Grantee$, 0]
|
|
1454
1457
|
];
|
|
1455
1458
|
export var GetJobTaggingRequest$ = [3, n0, _GJTR,
|
|
1456
1459
|
0,
|
|
@@ -1719,13 +1722,13 @@ export var ListAccessPointsResult$ = [3, n0, _LAPRi,
|
|
|
1719
1722
|
];
|
|
1720
1723
|
export var ListCallerAccessGrantsEntry$ = [3, n0, _LCAGE,
|
|
1721
1724
|
0,
|
|
1722
|
-
[_P, _GS, _AA],
|
|
1723
|
-
[0, 0, 0]
|
|
1725
|
+
[_P, _GS, _AA, _AGIA],
|
|
1726
|
+
[0, 0, 0, 0]
|
|
1724
1727
|
];
|
|
1725
1728
|
export var ListCallerAccessGrantsRequest$ = [3, n0, _LCAGR,
|
|
1726
1729
|
0,
|
|
1727
|
-
[_AI, _GS, _NT, _MR, _ABA],
|
|
1728
|
-
[[0, { [_hL]: 1, [_hH]: _xaai }], [0, { [_hQ]: _gra }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [2, { [_hQ]: _aBA }]]
|
|
1730
|
+
[_AI, _GS, _NT, _MR, _ABA, _IS],
|
|
1731
|
+
[[0, { [_hL]: 1, [_hH]: _xaai }], [0, { [_hQ]: _gra }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [2, { [_hQ]: _aBA }], [0, { [_hQ]: _iS }]]
|
|
1729
1732
|
];
|
|
1730
1733
|
export var ListCallerAccessGrantsResult$ = [3, n0, _LCAGRi,
|
|
1731
1734
|
0,
|
|
@@ -24,7 +24,7 @@ declare const GetDataAccessCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Returns a temporary access credential from S3 Access Grants to the grantee or client application. The <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_Credentials.html">temporary credential</a> is an Amazon Web Services STS token that grants them access to the S3 data. </p>
|
|
27
|
+
* <p>Returns a temporary access credential from S3 Access Grants to the grantee or client application. The <a href="https://docs.aws.amazon.com/STS/latest/APIReference/API_Credentials.html">temporary credential</a> is an Amazon Web Services STS token that grants them access to the S3 data. By default, S3 Access Grants searches for a matching grant in the instance of the Amazon Web Services account ID in the request. To also search instances shared with the caller through Amazon Web Services Resource Access Manager (RAM), set the <code>InstanceScope</code> parameter to <code>ALL</code>.</p>
|
|
28
28
|
* <dl>
|
|
29
29
|
* <dt>Permissions</dt>
|
|
30
30
|
* <dd>
|
|
@@ -51,6 +51,7 @@ declare const GetDataAccessCommand_base: {
|
|
|
51
51
|
* Privilege: "Minimal" || "Default",
|
|
52
52
|
* TargetType: "Object",
|
|
53
53
|
* AuditContext: "STRING_VALUE",
|
|
54
|
+
* InstanceScope: "SELF" || "ALL",
|
|
54
55
|
* };
|
|
55
56
|
* const command = new GetDataAccessCommand(input);
|
|
56
57
|
* const response = await client.send(command);
|
|
@@ -66,6 +67,7 @@ declare const GetDataAccessCommand_base: {
|
|
|
66
67
|
* // GranteeType: "DIRECTORY_USER" || "DIRECTORY_GROUP" || "IAM",
|
|
67
68
|
* // GranteeIdentifier: "STRING_VALUE",
|
|
68
69
|
* // },
|
|
70
|
+
* // MatchedInstanceArn: "STRING_VALUE",
|
|
69
71
|
* // };
|
|
70
72
|
*
|
|
71
73
|
* ```
|
|
@@ -24,7 +24,7 @@ declare const ListCallerAccessGrantsCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Use this API to list the access grants that grant the caller access to Amazon S3 data through S3 Access Grants. The caller (grantee) can be an Identity and Access Management (IAM) identity or Amazon Web Services Identity Center corporate directory identity. You must pass the Amazon Web Services account of the S3 data owner (grantor) in the request. You can, optionally, narrow the results by <code>GrantScope</code>, using a fragment of the data's S3 path, and S3 Access Grants will return only the grants with a path that contains the path fragment. You can also pass the <code>AllowedByApplication</code> filter in the request, which returns only the grants authorized for applications, whether the application is the caller's Identity Center application or any other application (<code>ALL</code>). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-list-grants.html">List the caller's access grants</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
27
|
+
* <p>Use this API to list the access grants that grant the caller access to Amazon S3 data through S3 Access Grants. The caller (grantee) can be an Identity and Access Management (IAM) identity or Amazon Web Services Identity Center corporate directory identity. You must pass the Amazon Web Services account of the S3 data owner (grantor) in the request. By default, S3 Access Grants returns grants from the instance of the Amazon Web Services account ID in the request. To return grants from all instances shared with the caller's account through Amazon Web Services Resource Access Manager (RAM), set the <code>InstanceScope</code> parameter to <code>ALL</code>. You can, optionally, narrow the results by <code>GrantScope</code>, using a fragment of the data's S3 path, and S3 Access Grants will return only the grants with a path that contains the path fragment. You can also pass the <code>AllowedByApplication</code> filter in the request, which returns only the grants authorized for applications, whether the application is the caller's Identity Center application or any other application (<code>ALL</code>). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-list-grants.html">List the caller's access grants</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
28
28
|
* <dl>
|
|
29
29
|
* <dt>Permissions</dt>
|
|
30
30
|
* <dd>
|
|
@@ -45,6 +45,7 @@ declare const ListCallerAccessGrantsCommand_base: {
|
|
|
45
45
|
* NextToken: "STRING_VALUE",
|
|
46
46
|
* MaxResults: Number("int"),
|
|
47
47
|
* AllowedByApplication: true || false,
|
|
48
|
+
* InstanceScope: "SELF" || "ALL",
|
|
48
49
|
* };
|
|
49
50
|
* const command = new ListCallerAccessGrantsCommand(input);
|
|
50
51
|
* const response = await client.send(command);
|
|
@@ -55,6 +56,7 @@ declare const ListCallerAccessGrantsCommand_base: {
|
|
|
55
56
|
* // Permission: "READ" || "WRITE" || "READWRITE",
|
|
56
57
|
* // GrantScope: "STRING_VALUE",
|
|
57
58
|
* // ApplicationArn: "STRING_VALUE",
|
|
59
|
+
* // AccessGrantsInstanceArn: "STRING_VALUE",
|
|
58
60
|
* // },
|
|
59
61
|
* // ],
|
|
60
62
|
* // };
|
|
@@ -637,6 +637,18 @@ export declare const BucketVersioningStatus: {
|
|
|
637
637
|
* @public
|
|
638
638
|
*/
|
|
639
639
|
export type BucketVersioningStatus = (typeof BucketVersioningStatus)[keyof typeof BucketVersioningStatus];
|
|
640
|
+
/**
|
|
641
|
+
* @public
|
|
642
|
+
* @enum
|
|
643
|
+
*/
|
|
644
|
+
export declare const InstanceScope: {
|
|
645
|
+
readonly ALL: "ALL";
|
|
646
|
+
readonly SELF: "SELF";
|
|
647
|
+
};
|
|
648
|
+
/**
|
|
649
|
+
* @public
|
|
650
|
+
*/
|
|
651
|
+
export type InstanceScope = (typeof InstanceScope)[keyof typeof InstanceScope];
|
|
640
652
|
/**
|
|
641
653
|
* @public
|
|
642
654
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AsyncOperationName, BucketCannedACL, BucketLocationConstraint, BucketVersioningStatus, ComputeObjectChecksumAlgorithm, ComputeObjectChecksumType, DeleteMarkerReplicationStatus, ExistingObjectReplicationStatus, ExpirationStatus, Format, GeneratedManifestFormat, GranteeType, JobManifestFieldName, JobManifestFormat, JobReportFormat, JobReportScope, JobStatus, MetricsStatus, MFADelete, MFADeleteStatus, MultiRegionAccessPointStatus, NetworkOrigin, ObjectLambdaAccessPointAliasStatus, ObjectLambdaAllowedFeature, ObjectLambdaTransformationConfigurationAction, OperationName, OutputSchemaVersion, OwnerOverride, Permission, Privilege, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationStorageClass, ReplicationTimeStatus, S3AnnotationDirective, S3CannedAccessControlList, S3ChecksumAlgorithm, S3GlacierJobTier, S3GranteeTypeIdentifier, S3MetadataDirective, S3ObjectLockEventHold, S3ObjectLockLegalHoldStatus, S3ObjectLockMode, S3ObjectLockRetentionEventHold, S3ObjectLockRetentionMode, S3Permission, S3PrefixType, S3SSEAlgorithm, S3StorageClass, ScopePermission, SseKmsEncryptedObjectsStatus, TransitionStorageClass } from "./enums";
|
|
1
|
+
import type { AsyncOperationName, BucketCannedACL, BucketLocationConstraint, BucketVersioningStatus, ComputeObjectChecksumAlgorithm, ComputeObjectChecksumType, DeleteMarkerReplicationStatus, ExistingObjectReplicationStatus, ExpirationStatus, Format, GeneratedManifestFormat, GranteeType, InstanceScope, JobManifestFieldName, JobManifestFormat, JobReportFormat, JobReportScope, JobStatus, MetricsStatus, MFADelete, MFADeleteStatus, MultiRegionAccessPointStatus, NetworkOrigin, ObjectLambdaAccessPointAliasStatus, ObjectLambdaAllowedFeature, ObjectLambdaTransformationConfigurationAction, OperationName, OutputSchemaVersion, OwnerOverride, Permission, Privilege, ReplicaModificationsStatus, ReplicationRuleStatus, ReplicationStatus, ReplicationStorageClass, ReplicationTimeStatus, S3AnnotationDirective, S3CannedAccessControlList, S3ChecksumAlgorithm, S3GlacierJobTier, S3GranteeTypeIdentifier, S3MetadataDirective, S3ObjectLockEventHold, S3ObjectLockLegalHoldStatus, S3ObjectLockMode, S3ObjectLockRetentionEventHold, S3ObjectLockRetentionMode, S3Permission, S3PrefixType, S3SSEAlgorithm, S3StorageClass, ScopePermission, SseKmsEncryptedObjectsStatus, TransitionStorageClass } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The container for abort incomplete multipart upload</p>
|
|
4
4
|
* @public
|
|
@@ -5089,6 +5089,21 @@ export interface GetDataAccessRequest {
|
|
|
5089
5089
|
* @public
|
|
5090
5090
|
*/
|
|
5091
5091
|
AuditContext?: string | undefined;
|
|
5092
|
+
/**
|
|
5093
|
+
* <p>The scope of S3 Access Grants instances to search for a grant matching the requested S3 URI path.</p>
|
|
5094
|
+
* <ul>
|
|
5095
|
+
* <li>
|
|
5096
|
+
* <p>
|
|
5097
|
+
* <code>SELF</code> – Searches only the instance of the Amazon Web Services account ID in the request.</p>
|
|
5098
|
+
* </li>
|
|
5099
|
+
* <li>
|
|
5100
|
+
* <p>
|
|
5101
|
+
* <code>ALL</code> – Searches the instance of the Amazon Web Services account ID in the request and all instances shared with the caller's account through Amazon Web Services Resource Access Manager (RAM).</p>
|
|
5102
|
+
* </li>
|
|
5103
|
+
* </ul>
|
|
5104
|
+
* @public
|
|
5105
|
+
*/
|
|
5106
|
+
InstanceScope?: InstanceScope | undefined;
|
|
5092
5107
|
}
|
|
5093
5108
|
/**
|
|
5094
5109
|
* <p>The Amazon Web Services Security Token Service temporary credential that S3 Access Grants vends to grantees and client applications. </p>
|
|
@@ -5136,6 +5151,11 @@ export interface GetDataAccessResult {
|
|
|
5136
5151
|
* @public
|
|
5137
5152
|
*/
|
|
5138
5153
|
Grantee?: Grantee | undefined;
|
|
5154
|
+
/**
|
|
5155
|
+
* <p>The Amazon Resource Name (ARN) of the S3 Access Grants instance containing the grant that matched the requested S3 URI path.</p>
|
|
5156
|
+
* @public
|
|
5157
|
+
*/
|
|
5158
|
+
MatchedInstanceArn?: string | undefined;
|
|
5139
5159
|
}
|
|
5140
5160
|
/**
|
|
5141
5161
|
* @public
|
|
@@ -6211,10 +6231,25 @@ export interface ListCallerAccessGrantsRequest {
|
|
|
6211
6231
|
* @public
|
|
6212
6232
|
*/
|
|
6213
6233
|
AllowedByApplication?: boolean | undefined;
|
|
6234
|
+
/**
|
|
6235
|
+
* <p>The scope of S3 Access Grants instances to list grants from.</p>
|
|
6236
|
+
* <ul>
|
|
6237
|
+
* <li>
|
|
6238
|
+
* <p>
|
|
6239
|
+
* <code>SELF</code> – Lists grants from the instance of the Amazon Web Services account ID in the request.</p>
|
|
6240
|
+
* </li>
|
|
6241
|
+
* <li>
|
|
6242
|
+
* <p>
|
|
6243
|
+
* <code>ALL</code> – Lists grants from the instance of the Amazon Web Services account ID in the request and all instances shared with the caller's account through Amazon Web Services Resource Access Manager (RAM).</p>
|
|
6244
|
+
* </li>
|
|
6245
|
+
* </ul>
|
|
6246
|
+
* @public
|
|
6247
|
+
*/
|
|
6248
|
+
InstanceScope?: InstanceScope | undefined;
|
|
6214
6249
|
}
|
|
6215
6250
|
/**
|
|
6216
6251
|
* <p>Part of <code>ListCallerAccessGrantsResult</code>. Each entry includes the
|
|
6217
|
-
* permission level (READ, WRITE, or READWRITE) and the grant scope of the access grant. If the grant also includes an application ARN, the grantee can only access the S3 data through this application.</p>
|
|
6252
|
+
* permission level (READ, WRITE, or READWRITE) and the grant scope of the access grant. Each entry also includes the ARN of the S3 Access Grants instance in which the grant was created. If the grant also includes an application ARN, the grantee can only access the S3 data through this application.</p>
|
|
6218
6253
|
* @public
|
|
6219
6254
|
*/
|
|
6220
6255
|
export interface ListCallerAccessGrantsEntry {
|
|
@@ -6247,6 +6282,11 @@ export interface ListCallerAccessGrantsEntry {
|
|
|
6247
6282
|
* @public
|
|
6248
6283
|
*/
|
|
6249
6284
|
ApplicationArn?: string | undefined;
|
|
6285
|
+
/**
|
|
6286
|
+
* <p>The Amazon Resource Name (ARN) of the S3 Access Grants instance in which the grant was created.</p>
|
|
6287
|
+
* @public
|
|
6288
|
+
*/
|
|
6289
|
+
AccessGrantsInstanceArn?: string | undefined;
|
|
6250
6290
|
}
|
|
6251
6291
|
/**
|
|
6252
6292
|
* @public
|
|
@@ -331,6 +331,11 @@ export declare const BucketVersioningStatus: {
|
|
|
331
331
|
};
|
|
332
332
|
export type BucketVersioningStatus =
|
|
333
333
|
(typeof BucketVersioningStatus)[keyof typeof BucketVersioningStatus];
|
|
334
|
+
export declare const InstanceScope: {
|
|
335
|
+
readonly ALL: "ALL";
|
|
336
|
+
readonly SELF: "SELF";
|
|
337
|
+
};
|
|
338
|
+
export type InstanceScope = (typeof InstanceScope)[keyof typeof InstanceScope];
|
|
334
339
|
export declare const Privilege: {
|
|
335
340
|
readonly Default: "Default";
|
|
336
341
|
readonly Minimal: "Minimal";
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
Format,
|
|
12
12
|
GeneratedManifestFormat,
|
|
13
13
|
GranteeType,
|
|
14
|
+
InstanceScope,
|
|
14
15
|
JobManifestFieldName,
|
|
15
16
|
JobManifestFormat,
|
|
16
17
|
JobReportFormat,
|
|
@@ -1112,6 +1113,7 @@ export interface GetDataAccessRequest {
|
|
|
1112
1113
|
Privilege?: Privilege | undefined;
|
|
1113
1114
|
TargetType?: S3PrefixType | undefined;
|
|
1114
1115
|
AuditContext?: string | undefined;
|
|
1116
|
+
InstanceScope?: InstanceScope | undefined;
|
|
1115
1117
|
}
|
|
1116
1118
|
export interface Credentials {
|
|
1117
1119
|
AccessKeyId?: string | undefined;
|
|
@@ -1123,6 +1125,7 @@ export interface GetDataAccessResult {
|
|
|
1123
1125
|
Credentials?: Credentials | undefined;
|
|
1124
1126
|
MatchedGrantTarget?: string | undefined;
|
|
1125
1127
|
Grantee?: Grantee | undefined;
|
|
1128
|
+
MatchedInstanceArn?: string | undefined;
|
|
1126
1129
|
}
|
|
1127
1130
|
export interface GetJobTaggingRequest {
|
|
1128
1131
|
AccountId?: string | undefined;
|
|
@@ -1349,11 +1352,13 @@ export interface ListCallerAccessGrantsRequest {
|
|
|
1349
1352
|
NextToken?: string | undefined;
|
|
1350
1353
|
MaxResults?: number | undefined;
|
|
1351
1354
|
AllowedByApplication?: boolean | undefined;
|
|
1355
|
+
InstanceScope?: InstanceScope | undefined;
|
|
1352
1356
|
}
|
|
1353
1357
|
export interface ListCallerAccessGrantsEntry {
|
|
1354
1358
|
Permission?: Permission | undefined;
|
|
1355
1359
|
GrantScope?: string | undefined;
|
|
1356
1360
|
ApplicationArn?: string | undefined;
|
|
1361
|
+
AccessGrantsInstanceArn?: string | undefined;
|
|
1357
1362
|
}
|
|
1358
1363
|
export interface ListCallerAccessGrantsResult {
|
|
1359
1364
|
NextToken?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1166.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3-control",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
-
"@aws-sdk/middleware-sdk-s3": "^3.972.
|
|
58
|
-
"@aws-sdk/types": "^3.975.
|
|
59
|
-
"@smithy/core": "^3.
|
|
60
|
-
"@smithy/fetch-http-handler": "^5.8.
|
|
55
|
+
"@aws-sdk/core": "^3.981.0",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.96",
|
|
57
|
+
"@aws-sdk/middleware-sdk-s3": "^3.972.89",
|
|
58
|
+
"@aws-sdk/types": "^3.975.1",
|
|
59
|
+
"@smithy/core": "^3.40.0",
|
|
60
|
+
"@smithy/fetch-http-handler": "^5.8.1",
|
|
61
61
|
"@smithy/middleware-apply-body-checksum": "^4.6.3",
|
|
62
|
-
"@smithy/node-http-handler": "^4.14.
|
|
63
|
-
"@smithy/types": "^4.
|
|
62
|
+
"@smithy/node-http-handler": "^4.14.2",
|
|
63
|
+
"@smithy/types": "^4.20.0",
|
|
64
64
|
"tslib": "^2.6.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|