Socket
Socket
Sign inDemoInstall

@aws-sdk/client-s3

Package Overview
Dependencies
Maintainers
5
Versions
432
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-s3 - npm Package Compare versions

Comparing version 3.631.0 to 3.632.0

dist-es/pagination/ListBucketsPaginator.js

1

dist-es/pagination/index.js
export * from "./Interfaces";
export * from "./ListBucketsPaginator";
export * from "./ListDirectoryBucketsPaginator";
export * from "./ListObjectsV2Paginator";
export * from "./ListPartsPaginator";

@@ -40,6 +40,20 @@ import { Command as $Command } from "@smithy/smithy-client";

* <note>
* <p>
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <ul>
* <li>
* <p>
* <b>Directory buckets</b> -
* If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
* To delete these in-progress multipart uploads, use the
* <code>ListMultipartUploads</code> operation to list the in-progress multipart
* uploads in the bucket and use the <code>AbortMultupartUpload</code> operation to
* abort all the in-progress multipart uploads.
* </p>
* </li>
* <li>
* <p>
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <i>Amazon S3 User Guide</i>.</p>
* </li>
* </ul>
* </note>

@@ -46,0 +60,0 @@ * <dl>

@@ -41,6 +41,16 @@ import { Command as $Command } from "@smithy/smithy-client";

* <note>
* <p>
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <ul>
* <li>
* <p>Amazon S3 supports copy operations using Multi-Region Access Points only as a destination when using the Multi-Region Access Point ARN. </p>
* </li>
* <li>
* <p>
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <i>Amazon S3 User Guide</i>.</p>
* </li>
* <li>
* <p>VPC endpoints don't support cross-Region requests (including copies). If you're using VPC endpoints, your source and destination buckets should be in the same Amazon Web Services Region as your VPC endpoint.</p>
* </li>
* </ul>
* </note>

@@ -47,0 +57,0 @@ * <p>Both the

16

dist-types/commands/HeadBucketCommand.d.ts

@@ -32,10 +32,7 @@ import { Command as $Command } from "@smithy/smithy-client";

* to access it.</p>
* <p>If the bucket does not exist or you do not have permission to access it, the
* <note>
* <p>If the bucket does not exist or you do not have permission to access it, the
* <code>HEAD</code> request returns a generic <code>400 Bad Request</code>, <code>403
* Forbidden</code> or <code>404 Not Found</code> code. A message body is not included, so
* you cannot determine the exception beyond these HTTP response codes.</p>
* <note>
* <p>
* <b>Directory buckets </b> - You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <i>Amazon S3 User Guide</i>.</p>
* </note>

@@ -45,6 +42,7 @@ * <dl>

* <dd>
* <p>All <code>HeadBucket</code> requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the <code>x-amz-</code> prefix, including
* <p>
* <b>General purpose buckets</b> - Request to public buckets that grant the s3:ListBucket permission publicly do not need to be signed. All other <code>HeadBucket</code> requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the <code>x-amz-</code> prefix, including
* <code>x-amz-copy-source</code>, must be signed. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>.</p>
* <p>
* <b>Directory bucket</b> - You must use IAM credentials to authenticate and authorize your access to the <code>HeadBucket</code> API operation, instead of using the
* <b>Directory buckets</b> - You must use IAM credentials to authenticate and authorize your access to the <code>HeadBucket</code> API operation, instead of using the
* temporary security credentials through the <code>CreateSession</code> API operation.</p>

@@ -80,2 +78,6 @@ * <p>Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.</p>

* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
* <note>
* <p>You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <i>Amazon S3 User Guide</i>.</p>
* </note>
* </dd>

@@ -82,0 +84,0 @@ * </dl>

@@ -32,3 +32,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* object itself. This operation is useful if you're interested only in an object's metadata.</p>
* <p>A <code>HEAD</code> request has the same options as a <code>GET</code> operation on an
* <note>
* <p>A <code>HEAD</code> request has the same options as a <code>GET</code> operation on an
* object. The response is identical to the <code>GET</code> response except that there is no

@@ -39,10 +40,5 @@ * response body. Because of this, if the <code>HEAD</code> request generates an error, it

* It's not possible to retrieve the exact exception of these error codes.</p>
* </note>
* <p>Request headers are limited to 8 KB in size. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html">Common
* Request Headers</a>.</p>
* <note>
* <p>
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <i>Amazon S3 User Guide</i>.</p>
* </note>
* <dl>

@@ -152,2 +148,7 @@ * <dt>Permissions</dt>

* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
* <note>
* <p>For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <i>Amazon S3 User Guide</i>.</p>
* </note>
* </dd>

@@ -154,0 +155,0 @@ * </dl>

import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { ListBucketsOutput } from "../models/models_0";
import { ListBucketsOutput, ListBucketsRequest } from "../models/models_0";
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";

@@ -15,3 +15,3 @@ /**

*/
export interface ListBucketsCommandInput {
export interface ListBucketsCommandInput extends ListBucketsRequest {
}

@@ -44,3 +44,6 @@ /**

* const client = new S3Client(config);
* const input = {};
* const input = { // ListBucketsRequest
* MaxBuckets: Number("int"),
* ContinuationToken: "STRING_VALUE",
* };
* const command = new ListBucketsCommand(input);

@@ -59,2 +62,3 @@ * const response = await client.send(command);

* // },
* // ContinuationToken: "STRING_VALUE",
* // };

@@ -61,0 +65,0 @@ *

@@ -37,2 +37,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
* To delete these in-progress multipart uploads, use the <code>ListMultipartUploads</code> operation to list the in-progress multipart
* uploads in the bucket and use the <code>AbortMultupartUpload</code> operation to abort all the in-progress multipart uploads.
* </p>

@@ -39,0 +41,0 @@ * </note>

@@ -38,6 +38,20 @@ import { Command as $Command } from "@smithy/smithy-client";

* <note>
* <p>
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <ul>
* <li>
* <p>
* <b>General purpose bucket</b> - For general purpose buckets, <code>ListObjectsV2</code> doesn't return prefixes that are related only to in-progress multipart uploads.</p>
* </li>
* <li>
* <p>
* <b>Directory buckets</b> -
* For directory buckets, <code>ListObjectsV2</code> response includes the prefixes that are related only to in-progress multipart uploads.
* </p>
* </li>
* <li>
* <p>
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
* <i>Amazon S3 User Guide</i>.</p>
* </li>
* </ul>
* </note>

@@ -44,0 +58,0 @@ * <dl>

@@ -42,3 +42,7 @@ import { Command as $Command } from "@smithy/smithy-client";

* <important>
* <p>This action requires Amazon Web Services Signature Version 4. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">
* <p>If you're specifying a customer managed KMS key, we recommend using a fully qualified
* KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the
* requester’s account. This behavior can result in data that's encrypted with a KMS key
* that belongs to the requester, and not the bucket owner.</p>
* <p>Also, this action requires Amazon Web Services Signature Version 4. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">
* Authenticating Requests (Amazon Web Services Signature Version 4)</a>. </p>

@@ -45,0 +49,0 @@ * </important>

import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { PutBucketPolicyRequest } from "../models/models_0";
import { PutBucketPolicyRequest } from "../models/models_1";
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";

@@ -5,0 +5,0 @@ /**

@@ -33,2 +33,11 @@ import { Command as $Command } from "@smithy/smithy-client";

* </note>
* <note>
* <p>When you enable versioning on a bucket for the first time, it might take a short
* amount of time for the change to be fully propagated. We recommend that you wait for 15
* minutes after enabling versioning before issuing write operations
* (<code>PUT</code>
* or
* <code>DELETE</code>)
* on objects in the bucket. </p>
* </note>
* <p>Sets the versioning state of an existing bucket.</p>

@@ -35,0 +44,0 @@ * <p>You can set the versioning state with one of the following values:</p>

export * from "./Interfaces";
export * from "./ListBucketsPaginator";
export * from "./ListDirectoryBucketsPaginator";
export * from "./ListObjectsV2Paginator";
export * from "./ListPartsPaginator";
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { ListBucketsOutput } from "../models/models_0";
import { ListBucketsOutput, ListBucketsRequest } from "../models/models_0";
import {

@@ -11,3 +11,3 @@ S3ClientResolvedConfig,

export { $Command };
export interface ListBucketsCommandInput {}
export interface ListBucketsCommandInput extends ListBucketsRequest {}
export interface ListBucketsCommandOutput

@@ -14,0 +14,0 @@ extends ListBucketsOutput,

import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { PutBucketPolicyRequest } from "../models/models_0";
import { PutBucketPolicyRequest } from "../models/models_1";
import {

@@ -5,0 +5,0 @@ S3ClientResolvedConfig,

@@ -29,2 +29,10 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";

import { S3ServiceException as __BaseException } from "./S3ServiceException";
export interface PutBucketPolicyRequest {
Bucket: string | undefined;
ContentMD5?: string;
ChecksumAlgorithm?: ChecksumAlgorithm;
ConfirmRemoveSelfBucketAccess?: boolean;
Policy: string | undefined;
ExpectedBucketOwner?: string;
}
export interface PutBucketReplicationRequest {

@@ -31,0 +39,0 @@ Bucket: string | undefined;

export * from "./Interfaces";
export * from "./ListBucketsPaginator";
export * from "./ListDirectoryBucketsPaginator";
export * from "./ListObjectsV2Paginator";
export * from "./ListPartsPaginator";
{
"name": "@aws-sdk/client-s3",
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
"version": "3.631.0",
"version": "3.632.0",
"scripts": {

@@ -29,6 +29,6 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/client-sso-oidc": "3.631.0",
"@aws-sdk/client-sts": "3.631.0",
"@aws-sdk/client-sso-oidc": "3.632.0",
"@aws-sdk/client-sts": "3.632.0",
"@aws-sdk/core": "3.629.0",
"@aws-sdk/credential-provider-node": "3.631.0",
"@aws-sdk/credential-provider-node": "3.632.0",
"@aws-sdk/middleware-bucket-endpoint": "3.620.0",

@@ -43,7 +43,7 @@ "@aws-sdk/middleware-expect-continue": "3.620.0",

"@aws-sdk/middleware-ssec": "3.609.0",
"@aws-sdk/middleware-user-agent": "3.631.0",
"@aws-sdk/middleware-user-agent": "3.632.0",
"@aws-sdk/region-config-resolver": "3.614.0",
"@aws-sdk/signature-v4-multi-region": "3.629.0",
"@aws-sdk/types": "3.609.0",
"@aws-sdk/util-endpoints": "3.631.0",
"@aws-sdk/util-endpoints": "3.632.0",
"@aws-sdk/util-user-agent-browser": "3.609.0",

@@ -50,0 +50,0 @@ "@aws-sdk/util-user-agent-node": "3.614.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc