@aws-sdk/client-s3-control 3.758.0 → 3.772.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
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AssociateAccessGrantsIdentityCenterCommand: () => AssociateAccessGrantsIdentityCenterCommand,
|
|
25
25
|
AsyncOperationName: () => AsyncOperationName,
|
|
26
26
|
BadRequestException: () => BadRequestException,
|
|
@@ -194,7 +194,7 @@ __export(src_exports, {
|
|
|
194
194
|
paginateListStorageLensConfigurations: () => paginateListStorageLensConfigurations,
|
|
195
195
|
paginateListStorageLensGroups: () => paginateListStorageLensGroups
|
|
196
196
|
});
|
|
197
|
-
module.exports = __toCommonJS(
|
|
197
|
+
module.exports = __toCommonJS(index_exports);
|
|
198
198
|
|
|
199
199
|
// src/S3ControlClient.ts
|
|
200
200
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -325,9 +325,9 @@ var S3ControlClient = class extends import_smithy_client.Client {
|
|
|
325
325
|
this.middlewareStack.use(
|
|
326
326
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
327
327
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultS3ControlHttpAuthSchemeParametersProvider,
|
|
328
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
328
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
329
329
|
"aws.auth#sigv4": config.credentials
|
|
330
|
-
})
|
|
330
|
+
}), "identityProviderConfigProvider")
|
|
331
331
|
})
|
|
332
332
|
);
|
|
333
333
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -419,8 +419,7 @@ var ObjectLambdaTransformationConfigurationAction = {
|
|
|
419
419
|
var ObjectLambdaContentTransformation;
|
|
420
420
|
((ObjectLambdaContentTransformation2) => {
|
|
421
421
|
ObjectLambdaContentTransformation2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
422
|
-
if (value.AwsLambda !== void 0)
|
|
423
|
-
return visitor.AwsLambda(value.AwsLambda);
|
|
422
|
+
if (value.AwsLambda !== void 0) return visitor.AwsLambda(value.AwsLambda);
|
|
424
423
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
425
424
|
}, "visit");
|
|
426
425
|
})(ObjectLambdaContentTransformation || (ObjectLambdaContentTransformation = {}));
|
|
@@ -534,8 +533,7 @@ var GeneratedManifestFormat = {
|
|
|
534
533
|
var JobManifestGenerator;
|
|
535
534
|
((JobManifestGenerator2) => {
|
|
536
535
|
JobManifestGenerator2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
537
|
-
if (value.S3JobManifestGenerator !== void 0)
|
|
538
|
-
return visitor.S3JobManifestGenerator(value.S3JobManifestGenerator);
|
|
536
|
+
if (value.S3JobManifestGenerator !== void 0) return visitor.S3JobManifestGenerator(value.S3JobManifestGenerator);
|
|
539
537
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
540
538
|
}, "visit");
|
|
541
539
|
})(JobManifestGenerator || (JobManifestGenerator = {}));
|
|
@@ -4133,6 +4131,9 @@ var de_GetDataAccessCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4133
4131
|
if (data[_Cr] != null) {
|
|
4134
4132
|
contents[_Cr] = de_Credentials(data[_Cr], context);
|
|
4135
4133
|
}
|
|
4134
|
+
if (data[_G] != null) {
|
|
4135
|
+
contents[_G] = de_Grantee(data[_G], context);
|
|
4136
|
+
}
|
|
4136
4137
|
if (data[_MGT] != null) {
|
|
4137
4138
|
contents[_MGT] = (0, import_smithy_client.expectString)(data[_MGT]);
|
|
4138
4139
|
}
|
|
@@ -5143,17 +5144,17 @@ var se_JobManifestFieldList = /* @__PURE__ */ __name((input, context) => {
|
|
|
5143
5144
|
var se_JobManifestGenerator = /* @__PURE__ */ __name((input, context) => {
|
|
5144
5145
|
const bn = new import_xml_builder.XmlNode(_JMG);
|
|
5145
5146
|
JobManifestGenerator.visit(input, {
|
|
5146
|
-
S3JobManifestGenerator: (value) => {
|
|
5147
|
+
S3JobManifestGenerator: /* @__PURE__ */ __name((value) => {
|
|
5147
5148
|
if (input[_SJMG] != null) {
|
|
5148
5149
|
bn.c(se_S3JobManifestGenerator(value, context).n(_SJMG));
|
|
5149
5150
|
}
|
|
5150
|
-
},
|
|
5151
|
-
_: (name, value) => {
|
|
5151
|
+
}, "S3JobManifestGenerator"),
|
|
5152
|
+
_: /* @__PURE__ */ __name((name, value) => {
|
|
5152
5153
|
if (!(value instanceof import_xml_builder.XmlNode || value instanceof import_xml_builder.XmlText)) {
|
|
5153
5154
|
throw new Error("Unable to serialize unknown union members in XML.");
|
|
5154
5155
|
}
|
|
5155
5156
|
bn.c(new import_xml_builder.XmlNode(name).c(value));
|
|
5156
|
-
}
|
|
5157
|
+
}, "_")
|
|
5157
5158
|
});
|
|
5158
5159
|
return bn;
|
|
5159
5160
|
}, "se_JobManifestGenerator");
|
|
@@ -5479,17 +5480,17 @@ var se_ObjectLambdaConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
|
5479
5480
|
var se_ObjectLambdaContentTransformation = /* @__PURE__ */ __name((input, context) => {
|
|
5480
5481
|
const bn = new import_xml_builder.XmlNode(_OLCT);
|
|
5481
5482
|
ObjectLambdaContentTransformation.visit(input, {
|
|
5482
|
-
AwsLambda: (value) => {
|
|
5483
|
+
AwsLambda: /* @__PURE__ */ __name((value) => {
|
|
5483
5484
|
if (input[_ALw] != null) {
|
|
5484
5485
|
bn.c(se_AwsLambdaTransformation(value, context).n(_ALw));
|
|
5485
5486
|
}
|
|
5486
|
-
},
|
|
5487
|
-
_: (name, value) => {
|
|
5487
|
+
}, "AwsLambda"),
|
|
5488
|
+
_: /* @__PURE__ */ __name((name, value) => {
|
|
5488
5489
|
if (!(value instanceof import_xml_builder.XmlNode || value instanceof import_xml_builder.XmlText)) {
|
|
5489
5490
|
throw new Error("Unable to serialize unknown union members in XML.");
|
|
5490
5491
|
}
|
|
5491
5492
|
bn.c(new import_xml_builder.XmlNode(name).c(value));
|
|
5492
|
-
}
|
|
5493
|
+
}, "_")
|
|
5493
5494
|
});
|
|
5494
5495
|
return bn;
|
|
5495
5496
|
}, "se_ObjectLambdaContentTransformation");
|
|
@@ -3240,6 +3240,9 @@ export const de_GetDataAccessCommand = async (output, context) => {
|
|
|
3240
3240
|
if (data[_Cr] != null) {
|
|
3241
3241
|
contents[_Cr] = de_Credentials(data[_Cr], context);
|
|
3242
3242
|
}
|
|
3243
|
+
if (data[_G] != null) {
|
|
3244
|
+
contents[_G] = de_Grantee(data[_G], context);
|
|
3245
|
+
}
|
|
3243
3246
|
if (data[_MGT] != null) {
|
|
3244
3247
|
contents[_MGT] = __expectString(data[_MGT]);
|
|
3245
3248
|
}
|
|
@@ -62,6 +62,10 @@ declare const GetDataAccessCommand_base: {
|
|
|
62
62
|
* // Expiration: new Date("TIMESTAMP"),
|
|
63
63
|
* // },
|
|
64
64
|
* // MatchedGrantTarget: "STRING_VALUE",
|
|
65
|
+
* // Grantee: { // Grantee
|
|
66
|
+
* // GranteeType: "DIRECTORY_USER" || "DIRECTORY_GROUP" || "IAM",
|
|
67
|
+
* // GranteeIdentifier: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
65
69
|
* // };
|
|
66
70
|
*
|
|
67
71
|
* ```
|
|
@@ -5330,6 +5330,12 @@ export interface GetDataAccessResult {
|
|
|
5330
5330
|
* @public
|
|
5331
5331
|
*/
|
|
5332
5332
|
MatchedGrantTarget?: string | undefined;
|
|
5333
|
+
/**
|
|
5334
|
+
* <p>The user, group, or role that was granted access to the S3 location scope. For directory identities, this API also returns the grants of the IAM role used for the identity-aware request. For more information on identity-aware sessions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_sts-setcontext.html">Granting permissions to use identity-aware console sessions</a>.
|
|
5335
|
+
* </p>
|
|
5336
|
+
* @public
|
|
5337
|
+
*/
|
|
5338
|
+
Grantee?: Grantee | undefined;
|
|
5333
5339
|
}
|
|
5334
5340
|
/**
|
|
5335
5341
|
* @public
|
|
@@ -1310,6 +1310,7 @@ export interface Credentials {
|
|
|
1310
1310
|
export interface GetDataAccessResult {
|
|
1311
1311
|
Credentials?: Credentials | undefined;
|
|
1312
1312
|
MatchedGrantTarget?: string | undefined;
|
|
1313
|
+
Grantee?: Grantee | undefined;
|
|
1313
1314
|
}
|
|
1314
1315
|
export interface GetJobTaggingRequest {
|
|
1315
1316
|
AccountId?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.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-s3-control",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
25
|
"@aws-sdk/core": "3.758.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
30
30
|
"@aws-sdk/middleware-sdk-s3-control": "3.743.0",
|
|
31
31
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.734.0",
|