@aws-sdk/client-s3-control 3.470.0 → 3.472.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.
@@ -325,9 +325,6 @@ const se_CreateBucketCommand = async (input, context) => {
325
325
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
326
326
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
327
327
  let body;
328
- if (input.CreateBucketConfiguration !== undefined) {
329
- body = se_CreateBucketConfiguration(input.CreateBucketConfiguration, context);
330
- }
331
328
  let contents;
332
329
  if (input.CreateBucketConfiguration !== undefined) {
333
330
  contents = se_CreateBucketConfiguration(input.CreateBucketConfiguration, context);
@@ -2608,9 +2605,6 @@ const se_PutBucketLifecycleConfigurationCommand = async (input, context) => {
2608
2605
  "/v20180820/bucket/{Bucket}/lifecycleconfiguration";
2609
2606
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
2610
2607
  let body;
2611
- if (input.LifecycleConfiguration !== undefined) {
2612
- body = se_LifecycleConfiguration(input.LifecycleConfiguration, context);
2613
- }
2614
2608
  let contents;
2615
2609
  if (input.LifecycleConfiguration !== undefined) {
2616
2610
  contents = se_LifecycleConfiguration(input.LifecycleConfiguration, context);
@@ -2692,9 +2686,6 @@ const se_PutBucketReplicationCommand = async (input, context) => {
2692
2686
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/replication";
2693
2687
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
2694
2688
  let body;
2695
- if (input.ReplicationConfiguration !== undefined) {
2696
- body = se_ReplicationConfiguration(input.ReplicationConfiguration, context);
2697
- }
2698
2689
  let contents;
2699
2690
  if (input.ReplicationConfiguration !== undefined) {
2700
2691
  contents = se_ReplicationConfiguration(input.ReplicationConfiguration, context);
@@ -2733,9 +2724,6 @@ const se_PutBucketTaggingCommand = async (input, context) => {
2733
2724
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
2734
2725
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
2735
2726
  let body;
2736
- if (input.Tagging !== undefined) {
2737
- body = se_Tagging(input.Tagging, context);
2738
- }
2739
2727
  let contents;
2740
2728
  if (input.Tagging !== undefined) {
2741
2729
  contents = se_Tagging(input.Tagging, context);
@@ -2775,9 +2763,6 @@ const se_PutBucketVersioningCommand = async (input, context) => {
2775
2763
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/versioning";
2776
2764
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
2777
2765
  let body;
2778
- if (input.VersioningConfiguration !== undefined) {
2779
- body = se_VersioningConfiguration(input.VersioningConfiguration, context);
2780
- }
2781
2766
  let contents;
2782
2767
  if (input.VersioningConfiguration !== undefined) {
2783
2768
  contents = se_VersioningConfiguration(input.VersioningConfiguration, context);
@@ -2904,9 +2889,6 @@ const se_PutPublicAccessBlockCommand = async (input, context) => {
2904
2889
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2905
2890
  "/v20180820/configuration/publicAccessBlock";
2906
2891
  let body;
2907
- if (input.PublicAccessBlockConfiguration !== undefined) {
2908
- body = se_PublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context);
2909
- }
2910
2892
  let contents;
2911
2893
  if (input.PublicAccessBlockConfiguration !== undefined) {
2912
2894
  contents = se_PublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context);
@@ -313,9 +313,6 @@ export const se_CreateBucketCommand = async (input, context) => {
313
313
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
314
314
  resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
315
315
  let body;
316
- if (input.CreateBucketConfiguration !== undefined) {
317
- body = se_CreateBucketConfiguration(input.CreateBucketConfiguration, context);
318
- }
319
316
  let contents;
320
317
  if (input.CreateBucketConfiguration !== undefined) {
321
318
  contents = se_CreateBucketConfiguration(input.CreateBucketConfiguration, context);
@@ -2527,9 +2524,6 @@ export const se_PutBucketLifecycleConfigurationCommand = async (input, context)
2527
2524
  "/v20180820/bucket/{Bucket}/lifecycleconfiguration";
2528
2525
  resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
2529
2526
  let body;
2530
- if (input.LifecycleConfiguration !== undefined) {
2531
- body = se_LifecycleConfiguration(input.LifecycleConfiguration, context);
2532
- }
2533
2527
  let contents;
2534
2528
  if (input.LifecycleConfiguration !== undefined) {
2535
2529
  contents = se_LifecycleConfiguration(input.LifecycleConfiguration, context);
@@ -2609,9 +2603,6 @@ export const se_PutBucketReplicationCommand = async (input, context) => {
2609
2603
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/replication";
2610
2604
  resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
2611
2605
  let body;
2612
- if (input.ReplicationConfiguration !== undefined) {
2613
- body = se_ReplicationConfiguration(input.ReplicationConfiguration, context);
2614
- }
2615
2606
  let contents;
2616
2607
  if (input.ReplicationConfiguration !== undefined) {
2617
2608
  contents = se_ReplicationConfiguration(input.ReplicationConfiguration, context);
@@ -2649,9 +2640,6 @@ export const se_PutBucketTaggingCommand = async (input, context) => {
2649
2640
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
2650
2641
  resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
2651
2642
  let body;
2652
- if (input.Tagging !== undefined) {
2653
- body = se_Tagging(input.Tagging, context);
2654
- }
2655
2643
  let contents;
2656
2644
  if (input.Tagging !== undefined) {
2657
2645
  contents = se_Tagging(input.Tagging, context);
@@ -2690,9 +2678,6 @@ export const se_PutBucketVersioningCommand = async (input, context) => {
2690
2678
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/versioning";
2691
2679
  resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
2692
2680
  let body;
2693
- if (input.VersioningConfiguration !== undefined) {
2694
- body = se_VersioningConfiguration(input.VersioningConfiguration, context);
2695
- }
2696
2681
  let contents;
2697
2682
  if (input.VersioningConfiguration !== undefined) {
2698
2683
  contents = se_VersioningConfiguration(input.VersioningConfiguration, context);
@@ -2816,9 +2801,6 @@ export const se_PutPublicAccessBlockCommand = async (input, context) => {
2816
2801
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
2817
2802
  "/v20180820/configuration/publicAccessBlock";
2818
2803
  let body;
2819
- if (input.PublicAccessBlockConfiguration !== undefined) {
2820
- body = se_PublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context);
2821
- }
2822
2804
  let contents;
2823
2805
  if (input.PublicAccessBlockConfiguration !== undefined) {
2824
2806
  contents = se_PublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context);
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.470.0",
4
+ "version": "3.472.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -36,7 +36,7 @@
36
36
  "@aws-sdk/util-endpoints": "3.470.0",
37
37
  "@aws-sdk/util-user-agent-browser": "3.468.0",
38
38
  "@aws-sdk/util-user-agent-node": "3.470.0",
39
- "@aws-sdk/xml-builder": "3.465.0",
39
+ "@aws-sdk/xml-builder": "3.472.0",
40
40
  "@smithy/config-resolver": "^2.0.21",
41
41
  "@smithy/fetch-http-handler": "^2.3.1",
42
42
  "@smithy/hash-blob-browser": "^2.0.16",