@alliander-opensource/aws-jwt-sts 0.3.3 → 0.3.5
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/.jsii +4413 -0
- package/dist/index.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.d.ts +1 -1
- package/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.js +1 -1
- package/node_modules/@aws-lambda-powertools/commons/lib/esm/version.d.ts +1 -1
- package/node_modules/@aws-lambda-powertools/commons/lib/esm/version.js +1 -1
- package/node_modules/@aws-lambda-powertools/commons/package.json +1 -1
- package/node_modules/@aws-lambda-powertools/logger/package.json +2 -2
- package/node_modules/@aws-sdk/client-kms/README.md +11 -9
- package/node_modules/@aws-sdk/client-kms/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/client-kms/dist-es/models/models_0.js +5 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/KMS.d.ts +11 -9
- package/node_modules/@aws-sdk/client-kms/dist-types/KMSClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/CreateKeyCommand.d.ts +16 -15
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/DecryptCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/DescribeKeyCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyPairCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/GetPublicKeyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/ImportKeyMaterialCommand.d.ts +30 -27
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/ListKeyRotationsCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/ReEncryptCommand.d.ts +5 -1
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/ReplicateKeyCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/RotateKeyOnDemandCommand.d.ts +11 -11
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/SignCommand.d.ts +10 -10
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-kms/dist-types/commands/VerifyCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-kms/dist-types/endpoint/EndpointParameters.d.ts +8 -8
- package/node_modules/@aws-sdk/client-kms/dist-types/index.d.ts +11 -9
- package/node_modules/@aws-sdk/client-kms/dist-types/models/models_0.d.ts +164 -108
- package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
- package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/node_modules/@aws-sdk/client-kms/package.json +12 -12
- package/node_modules/@aws-sdk/client-s3/README.md +8 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +144 -25
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +89 -17
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +5 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +12 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +16 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +12 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +9 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +8 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +9 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +9 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +13 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +13 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +12 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +144 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +27 -27
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +80 -20
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +147 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +9 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +8 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +8 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +17 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +7 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +36 -27
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +23 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +20 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +14 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -1
- package/node_modules/@aws-sdk/client-s3/package.json +20 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +11 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +7 -36
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/NodeUseArnRegionConfigOptions.js +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostname.js +1 -19
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/bucketHostnameUtils.js +2 -23
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/configurations.js +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeUseArnRegionConfigOptions.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketEndpointMiddleware.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostname.d.ts +8 -0
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostnameUtils.d.ts +59 -3
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/configurations.d.ts +13 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/NodeUseArnRegionConfigOptions.d.ts +3 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +8 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +10 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +11 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +13 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +8 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +55 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +34 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +24 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +33 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +32 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +3 -1
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +16 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +4 -4
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/service-error-classification/dist-es/constants.js +1 -0
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +2 -1
- package/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts +4 -0
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +4 -0
- package/node_modules/@smithy/service-error-classification/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +2 -2
- package/node_modules/@types/uuid/LICENSE +21 -0
- package/node_modules/@types/uuid/README.md +15 -0
- package/node_modules/@types/uuid/index.d.mts +12 -0
- package/node_modules/@types/uuid/index.d.ts +86 -0
- package/node_modules/@types/uuid/package.json +54 -0
- package/package.json +28 -24
|
@@ -22,8 +22,10 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
22
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
23
|
sha256: import("@smithy/types").HashConstructor;
|
|
24
24
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
26
|
-
|
|
25
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
29
|
apiVersion: string;
|
|
28
30
|
cacheMiddleware?: boolean | undefined;
|
|
29
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -19,8 +19,10 @@ export declare const getRuntimeConfig: (config: KMSClientConfig) => {
|
|
|
19
19
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
20
20
|
disableHostPrefix: boolean;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean
|
|
23
|
-
|
|
22
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
23
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
25
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
26
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
27
|
profile?: string;
|
|
26
28
|
defaultUserAgentProvider: (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kms",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.838.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-kms",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.835.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.835.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.835.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
30
|
"@aws-sdk/types": "3.821.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.828.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.835.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.5.3",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.4",
|
|
37
37
|
"@smithy/hash-node": "^4.0.4",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.13",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.8",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.4",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.3",
|
|
45
45
|
"@smithy/node-http-handler": "^4.0.6",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
-
"@smithy/smithy-client": "^4.4.
|
|
47
|
+
"@smithy/smithy-client": "^4.4.4",
|
|
48
48
|
"@smithy/types": "^4.3.1",
|
|
49
49
|
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.20",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.20",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.6",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.4",
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
57
|
+
"@smithy/util-retry": "^4.0.6",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|
|
@@ -946,6 +946,14 @@ PutPublicAccessBlock
|
|
|
946
946
|
|
|
947
947
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutPublicAccessBlockCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutPublicAccessBlockCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutPublicAccessBlockCommandOutput/)
|
|
948
948
|
|
|
949
|
+
</details>
|
|
950
|
+
<details>
|
|
951
|
+
<summary>
|
|
952
|
+
RenameObject
|
|
953
|
+
</summary>
|
|
954
|
+
|
|
955
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/RenameObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/RenameObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/RenameObjectCommandOutput/)
|
|
956
|
+
|
|
949
957
|
</details>
|
|
950
958
|
<details>
|
|
951
959
|
<summary>
|
|
@@ -120,6 +120,7 @@ __export(index_exports, {
|
|
|
120
120
|
HeadObjectCommand: () => HeadObjectCommand,
|
|
121
121
|
HeadObjectOutputFilterSensitiveLog: () => HeadObjectOutputFilterSensitiveLog,
|
|
122
122
|
HeadObjectRequestFilterSensitiveLog: () => HeadObjectRequestFilterSensitiveLog,
|
|
123
|
+
IdempotencyParameterMismatch: () => IdempotencyParameterMismatch,
|
|
123
124
|
IntelligentTieringAccessTier: () => IntelligentTieringAccessTier,
|
|
124
125
|
IntelligentTieringStatus: () => IntelligentTieringStatus,
|
|
125
126
|
InvalidObjectState: () => InvalidObjectState,
|
|
@@ -205,6 +206,7 @@ __export(index_exports, {
|
|
|
205
206
|
PutObjectTaggingCommand: () => PutObjectTaggingCommand,
|
|
206
207
|
PutPublicAccessBlockCommand: () => PutPublicAccessBlockCommand,
|
|
207
208
|
QuoteFields: () => QuoteFields,
|
|
209
|
+
RenameObjectCommand: () => RenameObjectCommand,
|
|
208
210
|
ReplicaModificationsStatus: () => ReplicaModificationsStatus,
|
|
209
211
|
ReplicationRuleStatus: () => ReplicationRuleStatus,
|
|
210
212
|
ReplicationStatus: () => ReplicationStatus,
|
|
@@ -380,6 +382,7 @@ var ChecksumType = {
|
|
|
380
382
|
};
|
|
381
383
|
var ServerSideEncryption = {
|
|
382
384
|
AES256: "AES256",
|
|
385
|
+
aws_fsx: "aws:fsx",
|
|
383
386
|
aws_kms: "aws:kms",
|
|
384
387
|
aws_kms_dsse: "aws:kms:dsse"
|
|
385
388
|
};
|
|
@@ -414,6 +417,7 @@ var ObjectLockMode = {
|
|
|
414
417
|
var StorageClass = {
|
|
415
418
|
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
416
419
|
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
420
|
+
FSX_OPENZFS: "FSX_OPENZFS",
|
|
417
421
|
GLACIER: "GLACIER",
|
|
418
422
|
GLACIER_IR: "GLACIER_IR",
|
|
419
423
|
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
@@ -818,6 +822,7 @@ var EncodingType = {
|
|
|
818
822
|
var ObjectStorageClass = {
|
|
819
823
|
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
820
824
|
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
825
|
+
FSX_OPENZFS: "FSX_OPENZFS",
|
|
821
826
|
GLACIER: "GLACIER",
|
|
822
827
|
GLACIER_IR: "GLACIER_IR",
|
|
823
828
|
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
@@ -975,6 +980,7 @@ var import_xml_builder = require("@aws-sdk/xml-builder");
|
|
|
975
980
|
var import_core2 = require("@smithy/core");
|
|
976
981
|
var import_protocol_http = require("@smithy/protocol-http");
|
|
977
982
|
|
|
983
|
+
var import_uuid = require("uuid");
|
|
978
984
|
|
|
979
985
|
// src/models/models_1.ts
|
|
980
986
|
|
|
@@ -1054,6 +1060,24 @@ var TooManyParts = class _TooManyParts extends S3ServiceException {
|
|
|
1054
1060
|
Object.setPrototypeOf(this, _TooManyParts.prototype);
|
|
1055
1061
|
}
|
|
1056
1062
|
};
|
|
1063
|
+
var IdempotencyParameterMismatch = class _IdempotencyParameterMismatch extends S3ServiceException {
|
|
1064
|
+
static {
|
|
1065
|
+
__name(this, "IdempotencyParameterMismatch");
|
|
1066
|
+
}
|
|
1067
|
+
name = "IdempotencyParameterMismatch";
|
|
1068
|
+
$fault = "client";
|
|
1069
|
+
/**
|
|
1070
|
+
* @internal
|
|
1071
|
+
*/
|
|
1072
|
+
constructor(opts) {
|
|
1073
|
+
super({
|
|
1074
|
+
name: "IdempotencyParameterMismatch",
|
|
1075
|
+
$fault: "client",
|
|
1076
|
+
...opts
|
|
1077
|
+
});
|
|
1078
|
+
Object.setPrototypeOf(this, _IdempotencyParameterMismatch.prototype);
|
|
1079
|
+
}
|
|
1080
|
+
};
|
|
1057
1081
|
var ObjectAlreadyInActiveTierError = class _ObjectAlreadyInActiveTierError extends S3ServiceException {
|
|
1058
1082
|
static {
|
|
1059
1083
|
__name(this, "ObjectAlreadyInActiveTierError");
|
|
@@ -1477,7 +1501,9 @@ var se_DeleteBucketEncryptionCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1477
1501
|
}, "se_DeleteBucketEncryptionCommand");
|
|
1478
1502
|
var se_DeleteBucketIntelligentTieringConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1479
1503
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1480
|
-
const headers = {}
|
|
1504
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
1505
|
+
[_xaebo]: input[_EBO]
|
|
1506
|
+
});
|
|
1481
1507
|
b.bp("/");
|
|
1482
1508
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1483
1509
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1769,7 +1795,9 @@ var se_GetBucketEncryptionCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1769
1795
|
}, "se_GetBucketEncryptionCommand");
|
|
1770
1796
|
var se_GetBucketIntelligentTieringConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1771
1797
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1772
|
-
const headers = {}
|
|
1798
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
1799
|
+
[_xaebo]: input[_EBO]
|
|
1800
|
+
});
|
|
1773
1801
|
b.bp("/");
|
|
1774
1802
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1775
1803
|
const query = (0, import_smithy_client.map)({
|
|
@@ -2224,7 +2252,9 @@ var se_ListBucketAnalyticsConfigurationsCommand = /* @__PURE__ */ __name(async (
|
|
|
2224
2252
|
}, "se_ListBucketAnalyticsConfigurationsCommand");
|
|
2225
2253
|
var se_ListBucketIntelligentTieringConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2226
2254
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
2227
|
-
const headers = {}
|
|
2255
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
2256
|
+
[_xaebo]: input[_EBO]
|
|
2257
|
+
});
|
|
2228
2258
|
b.bp("/");
|
|
2229
2259
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
2230
2260
|
const query = (0, import_smithy_client.map)({
|
|
@@ -2530,9 +2560,10 @@ var se_PutBucketEncryptionCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
2530
2560
|
}, "se_PutBucketEncryptionCommand");
|
|
2531
2561
|
var se_PutBucketIntelligentTieringConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2532
2562
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
2533
|
-
const headers = {
|
|
2534
|
-
"content-type": "application/xml"
|
|
2535
|
-
|
|
2563
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
2564
|
+
"content-type": "application/xml",
|
|
2565
|
+
[_xaebo]: input[_EBO]
|
|
2566
|
+
});
|
|
2536
2567
|
b.bp("/");
|
|
2537
2568
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
2538
2569
|
const query = (0, import_smithy_client.map)({
|
|
@@ -3064,6 +3095,30 @@ var se_PutPublicAccessBlockCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
3064
3095
|
b.m("PUT").h(headers).q(query).b(body);
|
|
3065
3096
|
return b.build();
|
|
3066
3097
|
}, "se_PutPublicAccessBlockCommand");
|
|
3098
|
+
var se_RenameObjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3099
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
3100
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
3101
|
+
[_xars]: input[_RS],
|
|
3102
|
+
[_im]: input[_DIM],
|
|
3103
|
+
[_inm]: input[_DINM],
|
|
3104
|
+
[_ims]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_DIMS]), () => (0, import_smithy_client.dateToUtcString)(input[_DIMS]).toString()],
|
|
3105
|
+
[_ius]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_DIUS]), () => (0, import_smithy_client.dateToUtcString)(input[_DIUS]).toString()],
|
|
3106
|
+
[_xarsim]: input[_SIM],
|
|
3107
|
+
[_xarsinm]: input[_SINM],
|
|
3108
|
+
[_xarsims]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_SIMS]), () => (0, import_smithy_client.dateToUtcString)(input[_SIMS]).toString()],
|
|
3109
|
+
[_xarsius]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_SIUS]), () => (0, import_smithy_client.dateToUtcString)(input[_SIUS]).toString()],
|
|
3110
|
+
[_xact_]: input[_CTl] ?? (0, import_uuid.v4)()
|
|
3111
|
+
});
|
|
3112
|
+
b.bp("/{Key+}");
|
|
3113
|
+
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
3114
|
+
b.p("Key", () => input.Key, "{Key+}", true);
|
|
3115
|
+
const query = (0, import_smithy_client.map)({
|
|
3116
|
+
[_rO]: [, ""]
|
|
3117
|
+
});
|
|
3118
|
+
let body;
|
|
3119
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
3120
|
+
return b.build();
|
|
3121
|
+
}, "se_RenameObjectCommand");
|
|
3067
3122
|
var se_RestoreObjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3068
3123
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
3069
3124
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
@@ -3234,7 +3289,7 @@ var se_WriteGetObjectResponseCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
3234
3289
|
() => (0, import_smithy_client.serializeDateTime)(input[_OLRUD]).toString()
|
|
3235
3290
|
],
|
|
3236
3291
|
[_xafhxampc]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_PC]), () => input[_PC].toString()],
|
|
3237
|
-
[_xafhxars]: input[
|
|
3292
|
+
[_xafhxars]: input[_RSe],
|
|
3238
3293
|
[_xafhxarc]: input[_RC],
|
|
3239
3294
|
[_xafhxar]: input[_Re],
|
|
3240
3295
|
[_xafhxasse]: input[_SSE],
|
|
@@ -3944,7 +3999,7 @@ var de_GetObjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3944
3999
|
[_BKE]: [() => void 0 !== output.headers[_xassebke], () => (0, import_smithy_client.parseBoolean)(output.headers[_xassebke])],
|
|
3945
4000
|
[_SC]: [, output.headers[_xasc]],
|
|
3946
4001
|
[_RC]: [, output.headers[_xarc]],
|
|
3947
|
-
[
|
|
4002
|
+
[_RSe]: [, output.headers[_xars_]],
|
|
3948
4003
|
[_PC]: [() => void 0 !== output.headers[_xampc], () => (0, import_smithy_client.strictParseInt32)(output.headers[_xampc])],
|
|
3949
4004
|
[_TC]: [() => void 0 !== output.headers[_xatc], () => (0, import_smithy_client.strictParseInt32)(output.headers[_xatc])],
|
|
3950
4005
|
[_OLM]: [, output.headers[_xaolm]],
|
|
@@ -4139,8 +4194,9 @@ var de_HeadObjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4139
4194
|
[_BKE]: [() => void 0 !== output.headers[_xassebke], () => (0, import_smithy_client.parseBoolean)(output.headers[_xassebke])],
|
|
4140
4195
|
[_SC]: [, output.headers[_xasc]],
|
|
4141
4196
|
[_RC]: [, output.headers[_xarc]],
|
|
4142
|
-
[
|
|
4197
|
+
[_RSe]: [, output.headers[_xars_]],
|
|
4143
4198
|
[_PC]: [() => void 0 !== output.headers[_xampc], () => (0, import_smithy_client.strictParseInt32)(output.headers[_xampc])],
|
|
4199
|
+
[_TC]: [() => void 0 !== output.headers[_xatc], () => (0, import_smithy_client.strictParseInt32)(output.headers[_xatc])],
|
|
4144
4200
|
[_OLM]: [, output.headers[_xaolm]],
|
|
4145
4201
|
[_OLRUD]: [
|
|
4146
4202
|
() => void 0 !== output.headers[_xaolrud],
|
|
@@ -4829,6 +4885,16 @@ var de_PutPublicAccessBlockCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
4829
4885
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4830
4886
|
return contents;
|
|
4831
4887
|
}, "de_PutPublicAccessBlockCommand");
|
|
4888
|
+
var de_RenameObjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4889
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4890
|
+
return de_CommandError(output, context);
|
|
4891
|
+
}
|
|
4892
|
+
const contents = (0, import_smithy_client.map)({
|
|
4893
|
+
$metadata: deserializeMetadata(output)
|
|
4894
|
+
});
|
|
4895
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4896
|
+
return contents;
|
|
4897
|
+
}, "de_RenameObjectCommand");
|
|
4832
4898
|
var de_RestoreObjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4833
4899
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4834
4900
|
return de_CommandError(output, context);
|
|
@@ -4945,6 +5011,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4945
5011
|
case "TooManyParts":
|
|
4946
5012
|
case "com.amazonaws.s3#TooManyParts":
|
|
4947
5013
|
throw await de_TooManyPartsRes(parsedOutput, context);
|
|
5014
|
+
case "IdempotencyParameterMismatch":
|
|
5015
|
+
case "com.amazonaws.s3#IdempotencyParameterMismatch":
|
|
5016
|
+
throw await de_IdempotencyParameterMismatchRes(parsedOutput, context);
|
|
4948
5017
|
case "ObjectAlreadyInActiveTierError":
|
|
4949
5018
|
case "com.amazonaws.s3#ObjectAlreadyInActiveTierError":
|
|
4950
5019
|
throw await de_ObjectAlreadyInActiveTierErrorRes(parsedOutput, context);
|
|
@@ -4985,6 +5054,15 @@ var de_EncryptionTypeMismatchRes = /* @__PURE__ */ __name(async (parsedOutput, c
|
|
|
4985
5054
|
});
|
|
4986
5055
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4987
5056
|
}, "de_EncryptionTypeMismatchRes");
|
|
5057
|
+
var de_IdempotencyParameterMismatchRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
5058
|
+
const contents = (0, import_smithy_client.map)({});
|
|
5059
|
+
const data = parsedOutput.body;
|
|
5060
|
+
const exception = new IdempotencyParameterMismatch({
|
|
5061
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
5062
|
+
...contents
|
|
5063
|
+
});
|
|
5064
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
5065
|
+
}, "de_IdempotencyParameterMismatchRes");
|
|
4988
5066
|
var de_InvalidObjectStateRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4989
5067
|
const contents = (0, import_smithy_client.map)({});
|
|
4990
5068
|
const data = parsedOutput.body;
|
|
@@ -5108,7 +5186,7 @@ var de_SelectObjectContentEventStream = /* @__PURE__ */ __name((output, context)
|
|
|
5108
5186
|
End: await de_EndEvent_event(event["End"], context)
|
|
5109
5187
|
};
|
|
5110
5188
|
}
|
|
5111
|
-
return { $unknown:
|
|
5189
|
+
return { $unknown: event };
|
|
5112
5190
|
});
|
|
5113
5191
|
}, "de_SelectObjectContentEventStream");
|
|
5114
5192
|
var de_ContinuationEvent_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
@@ -7391,8 +7469,8 @@ var de__Object = /* @__PURE__ */ __name((output, context) => {
|
|
|
7391
7469
|
if (output[_O] != null) {
|
|
7392
7470
|
contents[_O] = de_Owner(output[_O], context);
|
|
7393
7471
|
}
|
|
7394
|
-
if (output[
|
|
7395
|
-
contents[
|
|
7472
|
+
if (output[_RSes] != null) {
|
|
7473
|
+
contents[_RSes] = de_RestoreStatus(output[_RSes], context);
|
|
7396
7474
|
}
|
|
7397
7475
|
return contents;
|
|
7398
7476
|
}, "de__Object");
|
|
@@ -7494,8 +7572,8 @@ var de_ObjectVersion = /* @__PURE__ */ __name((output, context) => {
|
|
|
7494
7572
|
if (output[_O] != null) {
|
|
7495
7573
|
contents[_O] = de_Owner(output[_O], context);
|
|
7496
7574
|
}
|
|
7497
|
-
if (output[
|
|
7498
|
-
contents[
|
|
7575
|
+
if (output[_RSes] != null) {
|
|
7576
|
+
contents[_RSes] = de_RestoreStatus(output[_RSes], context);
|
|
7499
7577
|
}
|
|
7500
7578
|
return contents;
|
|
7501
7579
|
}, "de_ObjectVersion");
|
|
@@ -8129,6 +8207,7 @@ var _CSVI = "CopySourceVersionId";
|
|
|
8129
8207
|
var _CSVIn = "CSVInput";
|
|
8130
8208
|
var _CSVO = "CSVOutput";
|
|
8131
8209
|
var _CT = "ChecksumType";
|
|
8210
|
+
var _CTl = "ClientToken";
|
|
8132
8211
|
var _CTo = "ContentType";
|
|
8133
8212
|
var _CTom = "CompressionType";
|
|
8134
8213
|
var _CTon = "ContinuationToken";
|
|
@@ -8140,6 +8219,10 @@ var _Con = "Condition";
|
|
|
8140
8219
|
var _D = "Delimiter";
|
|
8141
8220
|
var _DAI = "DaysAfterInitiation";
|
|
8142
8221
|
var _DE = "DataExport";
|
|
8222
|
+
var _DIM = "DestinationIfMatch";
|
|
8223
|
+
var _DIMS = "DestinationIfModifiedSince";
|
|
8224
|
+
var _DINM = "DestinationIfNoneMatch";
|
|
8225
|
+
var _DIUS = "DestinationIfUnmodifiedSince";
|
|
8143
8226
|
var _DM = "DeleteMarker";
|
|
8144
8227
|
var _DMR = "DeleteMarkerReplication";
|
|
8145
8228
|
var _DMRS = "DeleteMarkerReplicationStatus";
|
|
@@ -8405,8 +8488,9 @@ var _RRe = "ReplicationRule";
|
|
|
8405
8488
|
var _RRes = "RestoreRequest";
|
|
8406
8489
|
var _RRo = "RoutingRules";
|
|
8407
8490
|
var _RRou = "RoutingRule";
|
|
8408
|
-
var _RS = "
|
|
8409
|
-
var _RSe = "
|
|
8491
|
+
var _RS = "RenameSource";
|
|
8492
|
+
var _RSe = "ReplicationStatus";
|
|
8493
|
+
var _RSes = "RestoreStatus";
|
|
8410
8494
|
var _RT = "RequestToken";
|
|
8411
8495
|
var _RTS = "ReplicationTimeStatus";
|
|
8412
8496
|
var _RTV = "ReplicationTimeValue";
|
|
@@ -8427,6 +8511,10 @@ var _SCADE = "StorageClassAnalysisDataExport";
|
|
|
8427
8511
|
var _SCASV = "StorageClassAnalysisSchemaVersion";
|
|
8428
8512
|
var _SCt = "StatusCode";
|
|
8429
8513
|
var _SDV = "SkipDestinationValidation";
|
|
8514
|
+
var _SIM = "SourceIfMatch";
|
|
8515
|
+
var _SIMS = "SourceIfModifiedSince";
|
|
8516
|
+
var _SINM = "SourceIfNoneMatch";
|
|
8517
|
+
var _SIUS = "SourceIfUnmodifiedSince";
|
|
8430
8518
|
var _SK = "SSE-KMS";
|
|
8431
8519
|
var _SKEO = "SseKmsEncryptedObjects";
|
|
8432
8520
|
var _SKEOS = "SseKmsEncryptedObjectsStatus";
|
|
@@ -8567,6 +8655,7 @@ var _pS = "policyStatus";
|
|
|
8567
8655
|
var _pnm = "part-number-marker";
|
|
8568
8656
|
var _pr = "prefix";
|
|
8569
8657
|
var _r = "replication";
|
|
8658
|
+
var _rO = "renameObject";
|
|
8570
8659
|
var _rP = "requestPayment";
|
|
8571
8660
|
var _ra = "range";
|
|
8572
8661
|
var _rcc = "response-cache-control";
|
|
@@ -8624,6 +8713,7 @@ var _xacssseck = "x-amz-copy-source-server-side-encryption-customer-key";
|
|
|
8624
8713
|
var _xacssseckm = "x-amz-copy-source-server-side-encryption-customer-key-md5";
|
|
8625
8714
|
var _xacsvi = "x-amz-copy-source-version-id";
|
|
8626
8715
|
var _xact = "x-amz-checksum-type";
|
|
8716
|
+
var _xact_ = "x-amz-client-token";
|
|
8627
8717
|
var _xadm = "x-amz-delete-marker";
|
|
8628
8718
|
var _xae = "x-amz-expiration";
|
|
8629
8719
|
var _xaebo = "x-amz-expected-bucket-owner";
|
|
@@ -8690,7 +8780,12 @@ var _xarc = "x-amz-request-charged";
|
|
|
8690
8780
|
var _xarop = "x-amz-restore-output-path";
|
|
8691
8781
|
var _xarp = "x-amz-request-payer";
|
|
8692
8782
|
var _xarr = "x-amz-request-route";
|
|
8693
|
-
var _xars = "x-amz-
|
|
8783
|
+
var _xars = "x-amz-rename-source";
|
|
8784
|
+
var _xars_ = "x-amz-replication-status";
|
|
8785
|
+
var _xarsim = "x-amz-rename-source-if-match";
|
|
8786
|
+
var _xarsims = "x-amz-rename-source-if-modified-since";
|
|
8787
|
+
var _xarsinm = "x-amz-rename-source-if-none-match";
|
|
8788
|
+
var _xarsius = "x-amz-rename-source-if-unmodified-since";
|
|
8694
8789
|
var _xart = "x-amz-request-token";
|
|
8695
8790
|
var _xasc = "x-amz-storage-class";
|
|
8696
8791
|
var _xasca = "x-amz-sdk-checksum-algorithm";
|
|
@@ -10836,9 +10931,30 @@ var PutPublicAccessBlockCommand = class extends import_smithy_client.Command.cla
|
|
|
10836
10931
|
}
|
|
10837
10932
|
};
|
|
10838
10933
|
|
|
10934
|
+
// src/commands/RenameObjectCommand.ts
|
|
10935
|
+
var import_middleware_sdk_s360 = require("@aws-sdk/middleware-sdk-s3");
|
|
10936
|
+
|
|
10937
|
+
|
|
10938
|
+
|
|
10939
|
+
var RenameObjectCommand = class extends import_smithy_client.Command.classBuilder().ep({
|
|
10940
|
+
...commonParams,
|
|
10941
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
10942
|
+
Key: { type: "contextParams", name: "Key" }
|
|
10943
|
+
}).m(function(Command, cs, config, o) {
|
|
10944
|
+
return [
|
|
10945
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
10946
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
10947
|
+
(0, import_middleware_sdk_s360.getThrow200ExceptionsPlugin)(config)
|
|
10948
|
+
];
|
|
10949
|
+
}).s("AmazonS3", "RenameObject", {}).n("S3Client", "RenameObjectCommand").f(void 0, void 0).ser(se_RenameObjectCommand).de(de_RenameObjectCommand).build() {
|
|
10950
|
+
static {
|
|
10951
|
+
__name(this, "RenameObjectCommand");
|
|
10952
|
+
}
|
|
10953
|
+
};
|
|
10954
|
+
|
|
10839
10955
|
// src/commands/RestoreObjectCommand.ts
|
|
10840
10956
|
|
|
10841
|
-
var
|
|
10957
|
+
var import_middleware_sdk_s361 = require("@aws-sdk/middleware-sdk-s3");
|
|
10842
10958
|
|
|
10843
10959
|
|
|
10844
10960
|
|
|
@@ -10853,7 +10969,7 @@ var RestoreObjectCommand = class extends import_smithy_client.Command.classBuild
|
|
|
10853
10969
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
10854
10970
|
requestChecksumRequired: false
|
|
10855
10971
|
}),
|
|
10856
|
-
(0,
|
|
10972
|
+
(0, import_middleware_sdk_s361.getThrow200ExceptionsPlugin)(config)
|
|
10857
10973
|
];
|
|
10858
10974
|
}).s("AmazonS3", "RestoreObject", {}).n("S3Client", "RestoreObjectCommand").f(RestoreObjectRequestFilterSensitiveLog, void 0).ser(se_RestoreObjectCommand).de(de_RestoreObjectCommand).build() {
|
|
10859
10975
|
static {
|
|
@@ -10862,7 +10978,7 @@ var RestoreObjectCommand = class extends import_smithy_client.Command.classBuild
|
|
|
10862
10978
|
};
|
|
10863
10979
|
|
|
10864
10980
|
// src/commands/SelectObjectContentCommand.ts
|
|
10865
|
-
var
|
|
10981
|
+
var import_middleware_sdk_s362 = require("@aws-sdk/middleware-sdk-s3");
|
|
10866
10982
|
|
|
10867
10983
|
|
|
10868
10984
|
|
|
@@ -10874,7 +10990,7 @@ var SelectObjectContentCommand = class extends import_smithy_client.Command.clas
|
|
|
10874
10990
|
return [
|
|
10875
10991
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
10876
10992
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
10877
|
-
(0,
|
|
10993
|
+
(0, import_middleware_sdk_s362.getThrow200ExceptionsPlugin)(config),
|
|
10878
10994
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
10879
10995
|
];
|
|
10880
10996
|
}).s("AmazonS3", "SelectObjectContent", {
|
|
@@ -10892,7 +11008,7 @@ var SelectObjectContentCommand = class extends import_smithy_client.Command.clas
|
|
|
10892
11008
|
|
|
10893
11009
|
// src/commands/UploadPartCommand.ts
|
|
10894
11010
|
|
|
10895
|
-
var
|
|
11011
|
+
var import_middleware_sdk_s363 = require("@aws-sdk/middleware-sdk-s3");
|
|
10896
11012
|
|
|
10897
11013
|
|
|
10898
11014
|
|
|
@@ -10909,7 +11025,7 @@ var UploadPartCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
10909
11025
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
10910
11026
|
requestChecksumRequired: false
|
|
10911
11027
|
}),
|
|
10912
|
-
(0,
|
|
11028
|
+
(0, import_middleware_sdk_s363.getThrow200ExceptionsPlugin)(config),
|
|
10913
11029
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
10914
11030
|
];
|
|
10915
11031
|
}).s("AmazonS3", "UploadPart", {}).n("S3Client", "UploadPartCommand").f(UploadPartRequestFilterSensitiveLog, UploadPartOutputFilterSensitiveLog).ser(se_UploadPartCommand).de(de_UploadPartCommand).build() {
|
|
@@ -10919,7 +11035,7 @@ var UploadPartCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
10919
11035
|
};
|
|
10920
11036
|
|
|
10921
11037
|
// src/commands/UploadPartCopyCommand.ts
|
|
10922
|
-
var
|
|
11038
|
+
var import_middleware_sdk_s364 = require("@aws-sdk/middleware-sdk-s3");
|
|
10923
11039
|
|
|
10924
11040
|
|
|
10925
11041
|
|
|
@@ -10932,7 +11048,7 @@ var UploadPartCopyCommand = class extends import_smithy_client.Command.classBuil
|
|
|
10932
11048
|
return [
|
|
10933
11049
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
10934
11050
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
10935
|
-
(0,
|
|
11051
|
+
(0, import_middleware_sdk_s364.getThrow200ExceptionsPlugin)(config),
|
|
10936
11052
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
10937
11053
|
];
|
|
10938
11054
|
}).s("AmazonS3", "UploadPartCopy", {}).n("S3Client", "UploadPartCopyCommand").f(UploadPartCopyRequestFilterSensitiveLog, UploadPartCopyOutputFilterSensitiveLog).ser(se_UploadPartCopyCommand).de(de_UploadPartCopyCommand).build() {
|
|
@@ -11054,6 +11170,7 @@ var commands = {
|
|
|
11054
11170
|
PutObjectRetentionCommand,
|
|
11055
11171
|
PutObjectTaggingCommand,
|
|
11056
11172
|
PutPublicAccessBlockCommand,
|
|
11173
|
+
RenameObjectCommand,
|
|
11057
11174
|
RestoreObjectCommand,
|
|
11058
11175
|
SelectObjectContentCommand,
|
|
11059
11176
|
UploadPartCommand,
|
|
@@ -11285,6 +11402,7 @@ var waitUntilObjectNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
11285
11402
|
PutObjectRetentionCommand,
|
|
11286
11403
|
PutObjectTaggingCommand,
|
|
11287
11404
|
PutPublicAccessBlockCommand,
|
|
11405
|
+
RenameObjectCommand,
|
|
11288
11406
|
RestoreObjectCommand,
|
|
11289
11407
|
SelectObjectContentCommand,
|
|
11290
11408
|
UploadPartCommand,
|
|
@@ -11402,6 +11520,7 @@ var waitUntilObjectNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
11402
11520
|
InvalidRequest,
|
|
11403
11521
|
InvalidWriteOffset,
|
|
11404
11522
|
TooManyParts,
|
|
11523
|
+
IdempotencyParameterMismatch,
|
|
11405
11524
|
ObjectAlreadyInActiveTierError,
|
|
11406
11525
|
Tier,
|
|
11407
11526
|
ExpressionType,
|
|
@@ -38,7 +38,7 @@ const getRuntimeConfig = (config) => {
|
|
|
38
38
|
signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
|
|
39
39
|
signingEscapePath: config?.signingEscapePath ?? false,
|
|
40
40
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
41
|
-
useArnRegion: config?.useArnRegion ??
|
|
41
|
+
useArnRegion: config?.useArnRegion ?? undefined,
|
|
42
42
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
43
43
|
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
44
44
|
};
|
|
@@ -92,6 +92,7 @@ import { PutObjectLockConfigurationCommand, } from "./commands/PutObjectLockConf
|
|
|
92
92
|
import { PutObjectRetentionCommand, } from "./commands/PutObjectRetentionCommand";
|
|
93
93
|
import { PutObjectTaggingCommand, } from "./commands/PutObjectTaggingCommand";
|
|
94
94
|
import { PutPublicAccessBlockCommand, } from "./commands/PutPublicAccessBlockCommand";
|
|
95
|
+
import { RenameObjectCommand, } from "./commands/RenameObjectCommand";
|
|
95
96
|
import { RestoreObjectCommand, } from "./commands/RestoreObjectCommand";
|
|
96
97
|
import { SelectObjectContentCommand, } from "./commands/SelectObjectContentCommand";
|
|
97
98
|
import { UploadPartCommand } from "./commands/UploadPartCommand";
|
|
@@ -192,6 +193,7 @@ const commands = {
|
|
|
192
193
|
PutObjectRetentionCommand,
|
|
193
194
|
PutObjectTaggingCommand,
|
|
194
195
|
PutPublicAccessBlockCommand,
|
|
196
|
+
RenameObjectCommand,
|
|
195
197
|
RestoreObjectCommand,
|
|
196
198
|
SelectObjectContentCommand,
|
|
197
199
|
UploadPartCommand,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
+
import { de_RenameObjectCommand, se_RenameObjectCommand } from "../protocols/Aws_restXml";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class RenameObjectCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
13
|
+
Key: { type: "contextParams", name: "Key" },
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
getThrow200ExceptionsPlugin(config),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("AmazonS3", "RenameObject", {})
|
|
23
|
+
.n("S3Client", "RenameObjectCommand")
|
|
24
|
+
.f(void 0, void 0)
|
|
25
|
+
.ser(se_RenameObjectCommand)
|
|
26
|
+
.de(de_RenameObjectCommand)
|
|
27
|
+
.build() {
|
|
28
|
+
}
|
|
@@ -91,6 +91,7 @@ export * from "./PutObjectLockConfigurationCommand";
|
|
|
91
91
|
export * from "./PutObjectRetentionCommand";
|
|
92
92
|
export * from "./PutObjectTaggingCommand";
|
|
93
93
|
export * from "./PutPublicAccessBlockCommand";
|
|
94
|
+
export * from "./RenameObjectCommand";
|
|
94
95
|
export * from "./RestoreObjectCommand";
|
|
95
96
|
export * from "./SelectObjectContentCommand";
|
|
96
97
|
export * from "./UploadPartCommand";
|
|
@@ -43,6 +43,7 @@ export const ChecksumType = {
|
|
|
43
43
|
};
|
|
44
44
|
export const ServerSideEncryption = {
|
|
45
45
|
AES256: "AES256",
|
|
46
|
+
aws_fsx: "aws:fsx",
|
|
46
47
|
aws_kms: "aws:kms",
|
|
47
48
|
aws_kms_dsse: "aws:kms:dsse",
|
|
48
49
|
};
|
|
@@ -77,6 +78,7 @@ export const ObjectLockMode = {
|
|
|
77
78
|
export const StorageClass = {
|
|
78
79
|
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
79
80
|
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
81
|
+
FSX_OPENZFS: "FSX_OPENZFS",
|
|
80
82
|
GLACIER: "GLACIER",
|
|
81
83
|
GLACIER_IR: "GLACIER_IR",
|
|
82
84
|
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
@@ -446,6 +448,7 @@ export const EncodingType = {
|
|
|
446
448
|
export const ObjectStorageClass = {
|
|
447
449
|
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
448
450
|
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
451
|
+
FSX_OPENZFS: "FSX_OPENZFS",
|
|
449
452
|
GLACIER: "GLACIER",
|
|
450
453
|
GLACIER_IR: "GLACIER_IR",
|
|
451
454
|
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
@@ -53,6 +53,18 @@ export class TooManyParts extends __BaseException {
|
|
|
53
53
|
Object.setPrototypeOf(this, TooManyParts.prototype);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
+
export class IdempotencyParameterMismatch extends __BaseException {
|
|
57
|
+
name = "IdempotencyParameterMismatch";
|
|
58
|
+
$fault = "client";
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "IdempotencyParameterMismatch",
|
|
62
|
+
$fault: "client",
|
|
63
|
+
...opts,
|
|
64
|
+
});
|
|
65
|
+
Object.setPrototypeOf(this, IdempotencyParameterMismatch.prototype);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
56
68
|
export class ObjectAlreadyInActiveTierError extends __BaseException {
|
|
57
69
|
name = "ObjectAlreadyInActiveTierError";
|
|
58
70
|
$fault = "client";
|