Skip to content

Commit 1216094

Browse files
authored
chore(middleware-sdk-s3): consolidate S3 internal packages (#8026)
1 parent 8aeb92d commit 1216094

357 files changed

Lines changed: 16451 additions & 819 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,28 @@ module.exports = {
177177
group: ["@aws-sdk/util-arn-parser", "@aws-sdk/util-format-url"],
178178
message: "This package has been consolidated into @aws-sdk/core/util.",
179179
},
180+
{
181+
group: ["@aws-sdk/middleware-sdk-s3", "!@aws-sdk/middleware-sdk-s3/"],
182+
message:
183+
"Import from a specific submodule like @aws-sdk/middleware-sdk-s3/s3 or @aws-sdk/middleware-sdk-s3/s3-control instead.",
184+
},
185+
{
186+
group: [
187+
"@aws-sdk/middleware-bucket-endpoint",
188+
"@aws-sdk/middleware-expect-continue",
189+
"@aws-sdk/middleware-location-constraint",
190+
"@aws-sdk/middleware-ssec",
191+
],
192+
message: "This package has been consolidated into @aws-sdk/middleware-sdk-s3/s3.",
193+
},
194+
{
195+
group: ["@aws-sdk/middleware-sdk-s3-control"],
196+
message: "This package has been consolidated into @aws-sdk/middleware-sdk-s3/s3-control.",
197+
},
198+
{
199+
group: ["@aws-sdk/crc64-nvme", "@aws-sdk/middleware-flexible-checksums"],
200+
message: "This package has been consolidated into @aws-sdk/checksums.",
201+
},
180202
],
181203
},
182204
],

clients/client-s3-control/src/S3ControlClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
type S3ControlResolvedConfig,
1717
getHostPrefixDeduplicationPlugin,
1818
resolveS3ControlConfig,
19-
} from "@aws-sdk/middleware-sdk-s3-control";
19+
} from "@aws-sdk/middleware-sdk-s3/s3-control";
2020
import {
2121
DefaultIdentityProviderConfig,
2222
getHttpAuthSchemeEndpointRuleSetPlugin,

clients/client-s3-control/src/commands/AssociateAccessGrantsIdentityCenterCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// smithy-typescript generated code
2-
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2+
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3/s3-control";
33
import { Command as $Command } from "@smithy/core/client";
44
import { getEndpointPlugin } from "@smithy/core/endpoints";
55
import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";

clients/client-s3-control/src/commands/CreateAccessGrantCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// smithy-typescript generated code
2-
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2+
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3/s3-control";
33
import { Command as $Command } from "@smithy/core/client";
44
import { getEndpointPlugin } from "@smithy/core/endpoints";
55
import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";

clients/client-s3-control/src/commands/CreateAccessGrantsInstanceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// smithy-typescript generated code
2-
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2+
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3/s3-control";
33
import { Command as $Command } from "@smithy/core/client";
44
import { getEndpointPlugin } from "@smithy/core/endpoints";
55
import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";

clients/client-s3-control/src/commands/CreateAccessGrantsLocationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// smithy-typescript generated code
2-
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2+
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3/s3-control";
33
import { Command as $Command } from "@smithy/core/client";
44
import { getEndpointPlugin } from "@smithy/core/endpoints";
55
import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";

clients/client-s3-control/src/commands/CreateAccessPointCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// smithy-typescript generated code
2-
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2+
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3/s3-control";
33
import { Command as $Command } from "@smithy/core/client";
44
import { getEndpointPlugin } from "@smithy/core/endpoints";
55
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";

clients/client-s3-control/src/commands/CreateAccessPointForObjectLambdaCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// smithy-typescript generated code
2-
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2+
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3/s3-control";
33
import { Command as $Command } from "@smithy/core/client";
44
import { getEndpointPlugin } from "@smithy/core/endpoints";
55
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";

clients/client-s3-control/src/commands/CreateBucketCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// smithy-typescript generated code
2-
import { getRedirectFromPostIdPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2+
import { getRedirectFromPostIdPlugin } from "@aws-sdk/middleware-sdk-s3/s3-control";
33
import { Command as $Command } from "@smithy/core/client";
44
import { getEndpointPlugin } from "@smithy/core/endpoints";
55
import { getApplyMd5BodyChecksumPlugin } from "@smithy/middleware-apply-body-checksum";

clients/client-s3-control/src/commands/CreateJobCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// smithy-typescript generated code
2-
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2+
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3/s3-control";
33
import { Command as $Command } from "@smithy/core/client";
44
import { getEndpointPlugin } from "@smithy/core/endpoints";
55
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";

0 commit comments

Comments
 (0)