diff --git a/.github/actions/setup-smithy/action.yml b/.github/actions/setup-smithy/action.yml new file mode 100644 index 00000000..18147e19 --- /dev/null +++ b/.github/actions/setup-smithy/action.yml @@ -0,0 +1,17 @@ +name: 'Setup Smithy CLI' +description: 'Install Smithy CLI for building the project' + +runs: + using: 'composite' + steps: + - name: Install Smithy CLI + shell: bash + env: + SMITHY_VERSION: '1.61.0' + run: | + mkdir -p smithy-install/smithy + curl -L https://github.com/smithy-lang/smithy/releases/download/${SMITHY_VERSION}/smithy-cli-linux-x86_64.zip -o smithy-install/smithy-cli-linux-x86_64.zip + unzip -qo smithy-install/smithy-cli-linux-x86_64.zip -d smithy-install + mv smithy-install/smithy-cli-linux-x86_64/* smithy-install/smithy + sudo smithy-install/smithy/install + smithy --version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..be4e1f41 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,85 @@ +--- +name: release +run-name: release ${{ inputs.tag }} + +on: + push: + branches: + - improvement/CLDSRVCLT-7 + workflow_dispatch: + inputs: + tag: + description: 'Tag to be released (e.g., 1.0.0)' + required: true + + + +jobs: + build-and-tag: + name: Build and tag + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'yarn' + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Setup Smithy CLI + uses: ./.github/actions/setup-smithy + + - name: Build project + run: yarn build + + - name: Create Tag with Build Artifacts + run: | + # Configure git user to the GitHub Actions bot + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" + + # Force add the build folders (even if they are in .gitignore) + git add -f dist build + + # Check if there are changes to commit + if git diff --staged --quiet; then + echo "No changes in build folders or build failed to produce output." + exit 1 + fi + + # Determine tag name + TAG_NAME="${{ inputs.tag }}" + if [ -z "$TAG_NAME" ]; then + TAG_NAME="test-${{ github.sha }}" + fi + + # Commit the build artifacts + git commit -m "Build artifacts for version $TAG_NAME" + + # Create the tag + git tag $TAG_NAME + + # Push the tag to the repository + git push origin $TAG_NAME + + # Export tag name for next step + echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT + id: create_tag + + - name: Create GitHub Release + uses: softprops/action-gh-release@v2 + with: + tag_name: ${{ steps.create_tag.outputs.tag_name }} + name: Release ${{ steps.create_tag.outputs.tag_name }} + draft: false + prerelease: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d282882..7399e636 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,7 @@ jobs: lint: name: Lint and typecheck runs-on: ubuntu-latest + needs: lint steps: - name: Checkout code @@ -27,6 +28,12 @@ jobs: - name: Install dependencies run: yarn install --frozen-lockfile + - name: Setup Smithy CLI + uses: ./.github/actions/setup-smithy + + - name: Build + run: yarn build + - name: TypeScript typecheck run: yarn typecheck @@ -51,6 +58,12 @@ jobs: - name: Install dependencies run: yarn install --frozen-lockfile + - name: Setup Smithy CLI + uses: ./.github/actions/setup-smithy + + - name: Build + run: yarn build + - name: Start Cloudserver with MongoDB backend run: docker compose -f .github/docker-compose.cloudserver-mongo.yml up -d @@ -84,6 +97,12 @@ jobs: - name: Install dependencies run: yarn install --frozen-lockfile + - name: Setup Smithy CLI + uses: ./.github/actions/setup-smithy + + - name: Build + run: yarn build + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: diff --git a/.github/workflows/wait_for_local_port.bash b/.github/workflows/wait_for_local_port.bash new file mode 100755 index 00000000..1e10f6f7 --- /dev/null +++ b/.github/workflows/wait_for_local_port.bash @@ -0,0 +1,19 @@ +#!/bin/bash +set -e + +PORT=$1 +TIMEOUT=${2:-30} + +echo "Waiting for port $PORT to be ready (timeout: ${TIMEOUT}s)..." + +for i in $(seq 1 $TIMEOUT); do + if nc -z localhost $PORT 2>/dev/null; then + echo "Port $PORT is ready!" + exit 0 + fi + echo "Attempt $i/$TIMEOUT: Port $PORT not ready yet..." + sleep 1 +done + +echo "ERROR: Port $PORT did not become ready within ${TIMEOUT}s" +exit 1 diff --git a/.gitignore b/.gitignore index 77ed819a..a905ddd8 100644 --- a/.gitignore +++ b/.gitignore @@ -80,8 +80,10 @@ out # Nuxt.js build / generate output .nuxt -# For now, the `dist` folder is commited: so we should not ignore it -#dist + +# Build output +build/ +dist/ # Gatsby files .cache/ diff --git a/build/smithy/classpath.json b/build/smithy/classpath.json deleted file mode 100644 index 49f0c0cc..00000000 --- a/build/smithy/classpath.json +++ /dev/null @@ -1 +0,0 @@ -{"version":"1.0","artifacts":{"software.amazon.smithy:smithy-aws-traits:1.61.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/smithy-aws-traits/1.61.0/smithy-aws-traits-1.61.0.jar","sha1":"e764d4216e8785714de0f90bf3e90a9f04249a4f"},"software.amazon.smithy:smithy-protocol-traits:1.61.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/smithy-protocol-traits/1.61.0/smithy-protocol-traits-1.61.0.jar","sha1":"ae3e47bf6ee83b14a75927cecdf1498ebb76cc44"},"software.amazon.smithy.typescript:smithy-aws-typescript-codegen:0.34.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/typescript/smithy-aws-typescript-codegen/0.34.0/smithy-aws-typescript-codegen-0.34.0.jar","sha1":"6bc6e486de6230be04c576d0ace7965b854879e8"},"software.amazon.smithy.typescript:smithy-typescript-codegen:0.34.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/typescript/smithy-typescript-codegen/0.34.0/smithy-typescript-codegen-0.34.0.jar","sha1":"c17f9eb8721f1ade8424f8bc168df89a83ad2743"},"software.amazon.smithy:smithy-codegen-core:1.61.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/smithy-codegen-core/1.61.0/smithy-codegen-core-1.61.0.jar","sha1":"310c3328c49285f26affaa0a72a1e11a75c9d728"},"software.amazon.smithy:smithy-protocol-test-traits:1.61.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/smithy-protocol-test-traits/1.61.0/smithy-protocol-test-traits-1.61.0.jar","sha1":"57a492cacef40eacccea3b26b23b6f26810d1647"},"software.amazon.smithy:smithy-rules-engine:1.61.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/smithy-rules-engine/1.61.0/smithy-rules-engine-1.61.0.jar","sha1":"c7fc78724c33a25c3bbec4896e146d15583d35c9"},"software.amazon.smithy:smithy-jmespath:1.61.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/smithy-jmespath/1.61.0/smithy-jmespath-1.61.0.jar","sha1":"82aa8ef763c9b3cad49d7b324249b5d9820cf316"},"software.amazon.smithy:smithy-waiters:1.61.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/smithy-waiters/1.61.0/smithy-waiters-1.61.0.jar","sha1":"ea76a08c7b94550e550722cc7b42a3270568b815"},"software.amazon.smithy:smithy-aws-cloudformation-traits:1.61.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/smithy-aws-cloudformation-traits/1.61.0/smithy-aws-cloudformation-traits-1.61.0.jar","sha1":"9cc5186ac593edc958047c980bbbad455c9027c5"},"software.amazon.smithy:smithy-aws-endpoints:1.61.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/smithy-aws-endpoints/1.61.0/smithy-aws-endpoints-1.61.0.jar","sha1":"715aca4e69d936fd7a40c53ce957bb09aa8bb5ed"},"software.amazon.smithy:smithy-aws-iam-traits:1.61.0":{"path":"/Users/sylvainsenechal/.m2/repository/software/amazon/smithy/smithy-aws-iam-traits/1.61.0/smithy-aws-iam-traits-1.61.0.jar","sha1":"4c3e4d9aad3efcc8d7e0f9d0fa4031475519358c"}}} \ No newline at end of file diff --git a/build/smithy/source/build-info/smithy-build-info.json b/build/smithy/source/build-info/smithy-build-info.json deleted file mode 100644 index bbcfc2ef..00000000 --- a/build/smithy/source/build-info/smithy-build-info.json +++ /dev/null @@ -1,283 +0,0 @@ -{ - "metadata": {}, - "operationShapeIds": [ - "cloudserver.client#BatchDelete", - "cloudserver.client#DeleteBucketIndexes", - "cloudserver.client#DeleteObjectFromExpiration", - "cloudserver.client#GetBucketCseq", - "cloudserver.client#GetBucketIndexes", - "cloudserver.client#GetBucketMetadata", - "cloudserver.client#GetMetadata", - "cloudserver.client#GetObject", - "cloudserver.client#GetObjectList", - "cloudserver.client#GetRaftBuckets", - "cloudserver.client#GetRaftId", - "cloudserver.client#GetRaftLog", - "cloudserver.client#ListLifecycleCurrents", - "cloudserver.client#ListLifecycleNonCurrents", - "cloudserver.client#ListLifecycleOrphans", - "cloudserver.client#MultipleBackendAbortMPU", - "cloudserver.client#MultipleBackendCompleteMPU", - "cloudserver.client#MultipleBackendDeleteObject", - "cloudserver.client#MultipleBackendDeleteObjectTagging", - "cloudserver.client#MultipleBackendHeadObject", - "cloudserver.client#MultipleBackendInitiateMPU", - "cloudserver.client#MultipleBackendPutMPUPart", - "cloudserver.client#MultipleBackendPutObject", - "cloudserver.client#MultipleBackendPutObjectTagging", - "cloudserver.client#PutBucketIndexes", - "cloudserver.client#PutData", - "cloudserver.client#PutMetadata" - ], - "projection": { - "abstract": false, - "imports": [], - "plugins": {}, - "transforms": [] - }, - "projectionName": "source", - "resourceShapeIds": [], - "serviceShapeIds": [ - "cloudserver.client#cloudserver" - ], - "traitDefNames": [ - "aws.api#arn", - "aws.api#arnReference", - "aws.api#clientDiscoveredEndpoint", - "aws.api#clientEndpointDiscovery", - "aws.api#clientEndpointDiscoveryId", - "aws.api#controlPlane", - "aws.api#data", - "aws.api#dataPlane", - "aws.api#service", - "aws.api#tagEnabled", - "aws.api#taggable", - "aws.auth#cognitoUserPools", - "aws.auth#sigv4", - "aws.auth#sigv4a", - "aws.auth#unsignedPayload", - "aws.cloudformation#cfnAdditionalIdentifier", - "aws.cloudformation#cfnDefaultValue", - "aws.cloudformation#cfnExcludeProperty", - "aws.cloudformation#cfnMutability", - "aws.cloudformation#cfnName", - "aws.cloudformation#cfnResource", - "aws.customizations#s3UnwrappedXmlOutput", - "aws.endpoints#dualStackOnlyEndpoints", - "aws.endpoints#endpointsModifier", - "aws.endpoints#rulesBasedEndpoints", - "aws.endpoints#standardPartitionalEndpoints", - "aws.endpoints#standardRegionalEndpoints", - "aws.iam#actionName", - "aws.iam#actionPermissionDescription", - "aws.iam#conditionKeys", - "aws.iam#conditionKeyValue", - "aws.iam#defineConditionKeys", - "aws.iam#disableConditionKeyInference", - "aws.iam#iamAction", - "aws.iam#iamResource", - "aws.iam#requiredActions", - "aws.iam#serviceResolvedConditionKeys", - "aws.iam#supportedPrincipalTypes", - "aws.protocols#awsJson1_0", - "aws.protocols#awsJson1_1", - "aws.protocols#awsQuery", - "aws.protocols#awsQueryCompatible", - "aws.protocols#awsQueryError", - "aws.protocols#ec2Query", - "aws.protocols#ec2QueryName", - "aws.protocols#httpChecksum", - "aws.protocols#restJson1", - "aws.protocols#restXml", - "smithy.api#addedDefault", - "smithy.api#auth", - "smithy.api#authDefinition", - "smithy.api#box", - "smithy.api#clientOptional", - "smithy.api#cors", - "smithy.api#default", - "smithy.api#deprecated", - "smithy.api#documentation", - "smithy.api#endpoint", - "smithy.api#enum", - "smithy.api#enumValue", - "smithy.api#error", - "smithy.api#eventHeader", - "smithy.api#eventPayload", - "smithy.api#examples", - "smithy.api#externalDocumentation", - "smithy.api#hostLabel", - "smithy.api#http", - "smithy.api#httpApiKeyAuth", - "smithy.api#httpBasicAuth", - "smithy.api#httpBearerAuth", - "smithy.api#httpChecksumRequired", - "smithy.api#httpDigestAuth", - "smithy.api#httpError", - "smithy.api#httpHeader", - "smithy.api#httpLabel", - "smithy.api#httpPayload", - "smithy.api#httpPrefixHeaders", - "smithy.api#httpQuery", - "smithy.api#httpQueryParams", - "smithy.api#httpResponseCode", - "smithy.api#idempotencyToken", - "smithy.api#idempotent", - "smithy.api#idRef", - "smithy.api#input", - "smithy.api#internal", - "smithy.api#jsonName", - "smithy.api#length", - "smithy.api#mediaType", - "smithy.api#mixin", - "smithy.api#nestedProperties", - "smithy.api#noReplace", - "smithy.api#notProperty", - "smithy.api#optionalAuth", - "smithy.api#output", - "smithy.api#paginated", - "smithy.api#pattern", - "smithy.api#private", - "smithy.api#property", - "smithy.api#protocolDefinition", - "smithy.api#range", - "smithy.api#readonly", - "smithy.api#recommended", - "smithy.api#references", - "smithy.api#requestCompression", - "smithy.api#required", - "smithy.api#requiresLength", - "smithy.api#resourceIdentifier", - "smithy.api#retryable", - "smithy.api#sensitive", - "smithy.api#since", - "smithy.api#sparse", - "smithy.api#streaming", - "smithy.api#suppress", - "smithy.api#tags", - "smithy.api#timestampFormat", - "smithy.api#title", - "smithy.api#trait", - "smithy.api#traitValidators", - "smithy.api#uniqueItems", - "smithy.api#unitType", - "smithy.api#unstable", - "smithy.api#xmlAttribute", - "smithy.api#xmlFlattened", - "smithy.api#xmlName", - "smithy.api#xmlNamespace", - "smithy.protocols#rpcv2Cbor", - "smithy.rules#clientContextParams", - "smithy.rules#contextParam", - "smithy.rules#endpointRuleSet", - "smithy.rules#endpointTests", - "smithy.rules#operationContextParams", - "smithy.rules#staticContextParams", - "smithy.test#httpMalformedRequestTests", - "smithy.test#httpRequestTests", - "smithy.test#httpResponseTests", - "smithy.waiters#waitable" - ], - "traitNames": [ - "aws.api#service", - "aws.auth#sigv4", - "aws.auth#unsignedPayload", - "aws.endpoints#endpointsModifier", - "aws.protocols#restJson1", - "smithy.api#authDefinition", - "smithy.api#box", - "smithy.api#default", - "smithy.api#deprecated", - "smithy.api#documentation", - "smithy.api#enumValue", - "smithy.api#externalDocumentation", - "smithy.api#http", - "smithy.api#httpHeader", - "smithy.api#httpLabel", - "smithy.api#httpPayload", - "smithy.api#httpPrefixHeaders", - "smithy.api#httpQuery", - "smithy.api#idempotent", - "smithy.api#idRef", - "smithy.api#input", - "smithy.api#internal", - "smithy.api#length", - "smithy.api#mixin", - "smithy.api#notProperty", - "smithy.api#output", - "smithy.api#pattern", - "smithy.api#private", - "smithy.api#protocolDefinition", - "smithy.api#range", - "smithy.api#readonly", - "smithy.api#recommended", - "smithy.api#required", - "smithy.api#requiresLength", - "smithy.api#sensitive", - "smithy.api#streaming", - "smithy.api#suppress", - "smithy.api#tags", - "smithy.api#trait", - "smithy.api#traitValidators", - "smithy.api#uniqueItems", - "smithy.api#unitType", - "smithy.api#unstable" - ], - "validationEvents": [ - { - "id": "HttpMethodSemantics.UnexpectedPayload", - "severity": "SUPPRESSED", - "shapeId": "cloudserver.client#MultipleBackendDeleteObjectTagging", - "message": "This operation uses the `DELETE` method in the `http` trait, but the `Body` member is sent as the payload of the request because it is marked with the `httpPayload` trait. Many HTTP clients do not support payloads with DELETE requests. Consider binding this member to other parts of the HTTP request such as a query string parameter using the `httpQuery` trait, a header using the `httpHeader` trait, or a path segment using the `httpLabel` trait.", - "filename": "/Users/sylvainsenechal/Desktop/cloudserverclient/models/multipleBackendDeleteObjectTagging.smithy", - "line": 7, - "column": 1 - }, - { - "id": "HttpMethodSemantics.MissingIdempotentTrait", - "severity": "WARNING", - "shapeId": "cloudserver.client#PutData", - "message": "This operation uses the `PUT` method in the `http` trait, but is not marked with the idempotent trait", - "filename": "/Users/sylvainsenechal/Desktop/cloudserverclient/models/putdata.smithy", - "line": 6, - "column": 1 - }, - { - "id": "HttpMethodSemantics.MissingIdempotentTrait", - "severity": "WARNING", - "shapeId": "cloudserver.client#MultipleBackendPutMPUPart", - "message": "This operation uses the `PUT` method in the `http` trait, but is not marked with the idempotent trait", - "filename": "/Users/sylvainsenechal/Desktop/cloudserverclient/models/multipleBackendPutMPUPart.smithy", - "line": 7, - "column": 1 - }, - { - "id": "HttpMethodSemantics.MissingIdempotentTrait", - "severity": "WARNING", - "shapeId": "cloudserver.client#PutMetadata", - "message": "This operation uses the `PUT` method in the `http` trait, but is not marked with the idempotent trait", - "filename": "/Users/sylvainsenechal/Desktop/cloudserverclient/models/putMetadata.smithy", - "line": 4, - "column": 1 - }, - { - "id": "HttpMethodSemantics.MissingIdempotentTrait", - "severity": "WARNING", - "shapeId": "cloudserver.client#MultipleBackendPutObject", - "message": "This operation uses the `PUT` method in the `http` trait, but is not marked with the idempotent trait", - "filename": "/Users/sylvainsenechal/Desktop/cloudserverclient/models/multipleBackendPutObject.smithy", - "line": 6, - "column": 1 - }, - { - "id": "SigV4Traits", - "severity": "WARNING", - "shapeId": "cloudserver.client#cloudserver", - "message": "Value for `aws.api#service$arnNamespace` \"cloudserver\" and value for `aws.auth#sigv4$name` \"s3\" SHOULD match.", - "filename": "/Users/sylvainsenechal/Desktop/cloudserverclient/service/cloudserver.smithy", - "line": 12, - "column": 1 - } - ], - "version": "1.0" -} diff --git a/build/smithy/source/model/model.json b/build/smithy/source/model/model.json deleted file mode 100644 index f8b83304..00000000 --- a/build/smithy/source/model/model.json +++ /dev/null @@ -1,6304 +0,0 @@ -{ - "smithy": "2.0", - "shapes": { - "aws.api#ArnNamespace": { - "type": "string", - "traits": { - "smithy.api#documentation": "A string representing a service's ARN namespace.", - "smithy.api#pattern": "^[a-z0-9.\\-]{1,63}$", - "smithy.api#private": {} - } - }, - "aws.api#CloudFormationName": { - "type": "string", - "traits": { - "smithy.api#documentation": "A string representing a CloudFormation service name.", - "smithy.api#pattern": "^[A-Z][A-Za-z0-9]+$", - "smithy.api#private": {} - } - }, - "aws.api#ResourceDelimiter": { - "type": "enum", - "members": { - "FORWARD_SLASH": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "The `/` character.", - "smithy.api#enumValue": "/" - } - }, - "COLON": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "The `:` character.", - "smithy.api#enumValue": ":" - } - } - }, - "traits": { - "smithy.api#documentation": "The possible delimiters for an ARN resource segment.", - "smithy.api#private": {} - } - }, - "aws.api#TagOperationReference": { - "type": "string", - "traits": { - "smithy.api#documentation": "Points to an operation designated for a tagging APi", - "smithy.api#idRef": { - "failWhenMissing": true, - "selector": "resource > operation" - } - } - }, - "aws.api#TaggableApiConfig": { - "type": "structure", - "members": { - "tagApi": { - "target": "aws.api#TagOperationReference", - "traits": { - "smithy.api#documentation": "The `tagApi` property is a string value that references a non-instance\nor create operation that creates or updates tags on the resource.", - "smithy.api#required": {} - } - }, - "untagApi": { - "target": "aws.api#TagOperationReference", - "traits": { - "smithy.api#documentation": "The `untagApi` property is a string value that references a non-instance\noperation that removes tags on the resource.", - "smithy.api#required": {} - } - }, - "listTagsApi": { - "target": "aws.api#TagOperationReference", - "traits": { - "smithy.api#documentation": "The `listTagsApi` property is a string value that references a non-\ninstance operation which gets the current tags on the resource.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Structure representing the configuration of resource specific tagging APIs" - } - }, - "aws.api#arn": { - "type": "structure", - "members": { - "template": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Defines the ARN template. The provided string contains URI-template\nstyle label placeholders that contain the name of one of the identifiers\ndefined in the `identifiers` property of the resource. These labels can\nbe substituted at runtime with the actual identifiers of the resource.\nEvery identifier name of the resource MUST have corresponding label of\nthe same name. Note that percent-encoding **is not** performed on these\nplaceholder values; they are to be replaced literally. For relative ARN\ntemplates that have not set `absolute` to `true`, the template string\ncontains only the resource part of the ARN (for example,\n`foo/{MyResourceId}`). Relative ARNs MUST NOT start with \"/\".", - "smithy.api#required": {} - } - }, - "absolute": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Set to true to indicate that the ARN template contains a fully-formed\nARN that does not need to be merged with the service. This type of ARN\nMUST be used when the identifier of a resource is an ARN or is based on\nthe ARN identifier of a parent resource." - } - }, - "noRegion": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Set to true to specify that the ARN does not contain a region. If not\nset, or if set to false, the resolved ARN will contain a placeholder\nfor the region. This can only be set to true if `absolute` is not set\nor is false." - } - }, - "noAccount": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Set to true to specify that the ARN does not contain an account ID. If\nnot set, or if set to false, the resolved ARN will contain a placeholder\nfor the customer account ID. This can only be set to true if absolute\nis not set or is false." - } - }, - "resourceDelimiter": { - "target": "aws.api#ResourceDelimiter", - "traits": { - "smithy.api#documentation": "Defines which character is used to delimit sections of the resource\nsegment of an ARN. This can only be set if absolute is set to true." - } - }, - "reusable": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Set to true to indicate that an ARN may be reused for different\ninstances of a resource." - } - } - }, - "traits": { - "smithy.api#documentation": "Specifies an ARN template for the resource.", - "smithy.api#externalDocumentation": { - "Reference": "https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html" - }, - "smithy.api#trait": { - "selector": "resource" - } - } - }, - "aws.api#arnReference": { - "type": "structure", - "members": { - "type": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The AWS CloudFormation resource type contained in the ARN." - } - }, - "resource": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "An absolute shape ID that references the Smithy resource type contained\nin the ARN (e.g., `com.foo#SomeResource`). The targeted resource is not\nrequired to be found in the model, allowing for external shapes to be\nreferenced without needing to take on an additional dependency. If the\nshape is found in the model, it MUST target a resource shape, and the\nresource MUST be found within the closure of the referenced service\nshape." - } - }, - "service": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The Smithy service absolute shape ID that is referenced by the ARN. The\ntargeted service is not required to be found in the model, allowing for\nexternal shapes to be referenced without needing to take on an\nadditional dependency." - } - } - }, - "traits": { - "smithy.api#documentation": "Marks a string as containing an ARN.", - "smithy.api#trait": { - "selector": "string" - } - } - }, - "aws.api#clientDiscoveredEndpoint": { - "type": "structure", - "members": { - "required": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "This field denotes whether or not this operation requires the use of a\nspecific endpoint. If this field is false, the standard regional\nendpoint for a service can handle this request. The client will start\nsending requests to the standard regional endpoint while working to\ndiscover a more specific endpoint.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Indicates that the target operation should use the client's endpoint\ndiscovery logic.", - "smithy.api#trait": { - "selector": "operation" - } - } - }, - "aws.api#clientEndpointDiscovery": { - "type": "structure", - "members": { - "operation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Indicates the operation that clients should use to discover endpoints\nfor the service.", - "smithy.api#idRef": { - "failWhenMissing": true, - "selector": "operation" - }, - "smithy.api#required": {} - } - }, - "error": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Indicates the error that tells clients that the endpoint they are using\nis no longer valid. This error MUST be bound to any operation bound to\nthe service which is marked with the aws.api#clientDiscoveredEndpoint\ntrait.", - "smithy.api#idRef": { - "failWhenMissing": true, - "selector": "structure[trait|error]" - }, - "smithy.api#recommended": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Configures endpoint discovery for the service.", - "smithy.api#trait": { - "selector": "service" - } - } - }, - "aws.api#clientEndpointDiscoveryId": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Indicates members of the operation input which should be use to discover\nendpoints.", - "smithy.api#trait": { - "selector": "operation[trait|aws.api#clientDiscoveredEndpoint] -[input]->\nstructure > :test(member[trait|required] > string)" - } - } - }, - "aws.api#controlPlane": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Defines a service, resource, or operation as operating on the control plane.", - "smithy.api#trait": { - "selector": ":test(service, resource, operation)", - "conflicts": [ - "aws.api#dataPlane" - ] - } - } - }, - "aws.api#data": { - "type": "enum", - "members": { - "CUSTOMER_CONTENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Customer content means any software (including machine images), data,\ntext, audio, video or images that customers or any customer end user\ntransfers to AWS for processing, storage or hosting by AWS services in\nconnection with the customer’s accounts and any computational results\nthat customers or any customer end user derive from the foregoing\nthrough their use of AWS services.", - "smithy.api#enumValue": "content" - } - }, - "CUSTOMER_ACCOUNT_INFORMATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Account information means information about customers that customers\nprovide to AWS in connection with the creation or administration of\ncustomers’ accounts.", - "smithy.api#enumValue": "account" - } - }, - "SERVICE_ATTRIBUTES": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Service Attributes means service usage data related to a customer’s\naccount, such as resource identifiers, metadata tags, security and\naccess roles, rules, usage policies, permissions, usage statistics,\nlogging data, and analytics.", - "smithy.api#enumValue": "usage" - } - }, - "TAG_DATA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Designates metadata tags applied to AWS resources.", - "smithy.api#enumValue": "tagging" - } - }, - "PERMISSIONS_DATA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Designates security and access roles, rules, usage policies, and\npermissions.", - "smithy.api#enumValue": "permissions" - } - } - }, - "traits": { - "smithy.api#documentation": "Designates the target as containing data of a known classification level.", - "smithy.api#trait": { - "selector": ":test(simpleType, list, structure, union, member)" - } - } - }, - "aws.api#dataPlane": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Defines a service, resource, or operation as operating on the data plane.", - "smithy.api#trait": { - "selector": ":test(service, resource, operation)", - "conflicts": [ - "aws.api#controlPlane" - ] - } - } - }, - "aws.api#service": { - "type": "structure", - "members": { - "sdkId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The `sdkId` property is a required string value that specifies the AWS\nSDK service ID (e.g., \"API Gateway\"). This value is used for generating\nclient names in SDKs and for linking between services.", - "smithy.api#required": {} - } - }, - "arnNamespace": { - "target": "aws.api#ArnNamespace", - "traits": { - "smithy.api#documentation": "The `arnNamespace` property is a string value that defines the ARN service\nnamespace of the service (e.g., \"apigateway\"). This value is used in\nARNs assigned to resources in the service. If not set, this value\ndefaults to the lowercase name of the service shape." - } - }, - "cloudFormationName": { - "target": "aws.api#CloudFormationName", - "traits": { - "smithy.api#documentation": "The `cloudFormationName` property is a string value that specifies the\nAWS CloudFormation service name (e.g., `ApiGateway`). When not set,\nthis value defaults to the name of the service shape. This value is\npart of the CloudFormation resource type name that is automatically\nassigned to resources in the service (e.g., `AWS::::resourceName`)." - } - }, - "cloudTrailEventSource": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The `cloudTrailEventSource` property is a string value that defines the\nAWS customer-facing eventSource property contained in CloudTrail event\nrecords emitted by the service. If not specified, this value defaults\nto the `arnNamespace` plus `.amazonaws.com`." - } - }, - "docId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The `docId` property is a string value that defines the identifier\nused to implemention linking between service and SDK documentation for\nAWS services. If not specified, this value defaults to the `sdkId` in\nlower case plus the service `version` property, separated by dashes." - } - }, - "endpointPrefix": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The `endpointPrefix` property is a string value that identifies which\nendpoint in a given region should be used to connect to the service.\nFor example, most services in the AWS standard partition have endpoints\nwhich follow the format: `{endpointPrefix}.{region}.amazonaws.com`. A\nservice with the endpoint prefix example in the region us-west-2 might\nhave the endpoint example.us-west-2.amazonaws.com.\n\nThis value is not unique across services and is subject to change.\nTherefore, it MUST NOT be used for client naming or for any other\npurpose that requires a static, unique identifier. sdkId should be used\nfor those purposes. Additionally, this value can be used to attempt to\nresolve endpoints." - } - } - }, - "traits": { - "smithy.api#documentation": "An AWS service is defined using the `aws.api#service` trait. This trait\nprovides information about the service like the name used to generate AWS\nSDK client classes and the namespace used in ARNs.", - "smithy.api#trait": { - "selector": "service" - } - } - }, - "aws.api#tagEnabled": { - "type": "structure", - "members": { - "disableDefaultOperations": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "The `disableDefaultOperations` property is a boolean value that specifies\nif the service does not have the standard tag operations supporting all\nresources on the service. Default value is `false`" - } - } - }, - "traits": { - "smithy.api#documentation": "Annotates a service as having tagging on 1 or more resources and associated\nAPIs to perform CRUD operations on those tags", - "smithy.api#trait": { - "selector": "service" - }, - "smithy.api#unstable": {} - } - }, - "aws.api#taggable": { - "type": "structure", - "members": { - "property": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The `property` property is a string value that identifies which\nresource property represents tags for the resource." - } - }, - "apiConfig": { - "target": "aws.api#TaggableApiConfig", - "traits": { - "smithy.api#documentation": "Specifies configuration for resource specific tagging APIs if the\nresource has them." - } - }, - "disableSystemTags": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Flag indicating if the resource is not able to carry AWS system level.\nUsed by service principals. Default value is `false`" - } - } - }, - "traits": { - "smithy.api#documentation": "Indicates a resource supports CRUD operations for tags. Either through\nresource lifecycle or instance operations or tagging operations on the\nservice.", - "smithy.api#trait": { - "selector": "resource" - }, - "smithy.api#unstable": {} - } - }, - "aws.auth#StringList": { - "type": "list", - "member": { - "target": "smithy.api#String" - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.auth#cognitoUserPools": { - "type": "structure", - "members": { - "providerArns": { - "target": "aws.auth#StringList", - "traits": { - "smithy.api#documentation": "A list of the Amazon Cognito user pool ARNs. Each element is of this\nformat: `arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}`.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#authDefinition": {}, - "smithy.api#documentation": "Configures an Amazon Cognito User Pools auth scheme.", - "smithy.api#internal": {}, - "smithy.api#tags": [ - "internal" - ], - "smithy.api#trait": { - "selector": "service" - } - } - }, - "aws.auth#sigv4": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The signature version 4 service signing name to use in the credential\nscope when signing requests. This value SHOULD match the `arnNamespace`\nproperty of the `aws.api#service` trait if present and the `name`\nproperty of the `aws.api#sigv4a` trait if present.", - "smithy.api#externalDocumentation": { - "Reference": "https://docs.aws.amazon.com/general/latest/gr/sigv4-create-string-to-sign.html" - }, - "smithy.api#length": { - "min": 1 - }, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#authDefinition": { - "traits": [ - "aws.auth#unsignedPayload" - ] - }, - "smithy.api#documentation": "[Signature Version 4](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html)\nis the process to add authentication information to AWS requests sent by HTTP. For\nsecurity, most requests to AWS must be signed with an access key, which consists\nof an access key ID and secret access key. These two keys are commonly referred to\nas your security credentials.", - "smithy.api#externalDocumentation": { - "Reference": "https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html" - }, - "smithy.api#trait": { - "selector": "service", - "breakingChanges": [ - { - "change": "remove", - "message": "Removing the existing authentication scheme is not backward compatible and can break existing clients' authentication." - } - ] - } - } - }, - "aws.auth#sigv4a": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The signature version 4a service signing name to use in the credential\nscope when signing requests. This value SHOULD match the `arnNamespace`\nproperty of the `aws.api#service` trait if present and the `name`\nproperty of the `aws.api#sigv4` trait.", - "smithy.api#externalDocumentation": { - "Reference": "https://docs.aws.amazon.com/general/latest/gr/sigv4-create-string-to-sign.html" - }, - "smithy.api#length": { - "min": 1 - }, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#authDefinition": { - "traits": [ - "aws.auth#unsignedPayload" - ] - }, - "smithy.api#documentation": "Signature Version 4 Asymmetric (SigV4A), an extension of Signature Version 4 (SigV4), is the\nprocess to add authentication information to AWS requests sent by HTTP. SigV4A is nearly\nidentical to SigV4, but also uses public-private keys and asymmetric cryptographic signatures\nfor every request. Most notably, SigV4A supports signatures for multi-region API requests.", - "smithy.api#externalDocumentation": { - "Reference": "https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html", - "Examples": "https://github.com/aws-samples/sigv4a-signing-examples" - }, - "smithy.api#trait": { - "selector": "service[trait|aws.auth#sigv4]", - "breakingChanges": [ - { - "change": "remove", - "message": "Removing the existing authentication scheme is not backward compatible and can break existing clients' authentication." - } - ] - } - } - }, - "aws.auth#unsignedPayload": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Indicates that the request payload of a signed request is not to be used\nas part of the signature.", - "smithy.api#trait": { - "selector": "operation" - } - } - }, - "aws.cloudformation#StructureIdList": { - "type": "list", - "member": { - "target": "smithy.api#String", - "traits": { - "smithy.api#idRef": { - "failWhenMissing": true, - "selector": "structure" - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.cloudformation#cfnAdditionalIdentifier": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Indicates that the CloudFormation property generated from this member is an\nadditional identifier for the resource.", - "smithy.api#trait": { - "selector": "structure > :test(member > string)", - "conflicts": [ - "aws.cloudformation#cfnExcludeProperty" - ], - "breakingChanges": [ - { - "change": "remove" - } - ] - }, - "smithy.api#unstable": {} - } - }, - "aws.cloudformation#cfnDefaultValue": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Indicates that a structure member has a default value\nfor the property of the CloudFormation resource.", - "smithy.api#trait": { - "selector": "resource > operation -[input, output]-> structure > member", - "conflicts": [ - "aws.cloudformation#cfnExcludeProperty" - ] - }, - "smithy.api#unstable": {} - } - }, - "aws.cloudformation#cfnExcludeProperty": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Indicates that a structure member should not be included in generated\nCloudFormation resource definitions.", - "smithy.api#trait": { - "selector": "structure > member", - "conflicts": [ - "aws.cloudformation#cfnAdditionalIdentifier", - "aws.cloudformation#cfnMutability", - "aws.cloudformation#cfnDefaultValue" - ], - "breakingChanges": [ - { - "change": "add" - } - ] - }, - "smithy.api#unstable": {} - } - }, - "aws.cloudformation#cfnMutability": { - "type": "enum", - "members": { - "FULL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Indicates that the CloudFormation property generated from this\nmember does not have any mutability restrictions, meaning that it\ncan be specified by the user and returned in a `read` or `list`\nrequest.", - "smithy.api#enumValue": "full" - } - }, - "CREATE_AND_READ": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Indicates that the CloudFormation property generated from this\nmember can be specified only during resource creation and can be\nreturned in a `read` or `list` request.", - "smithy.api#enumValue": "create-and-read" - } - }, - "CREATE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Indicates that the CloudFormation property generated from this\nmember can be specified only during resource creation and cannot\nbe returned in a `read` or `list` request. MUST NOT be set if the\nmember is also marked with the `@additionalIdentifier` trait.", - "smithy.api#enumValue": "create" - } - }, - "READ": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Indicates that the CloudFormation property generated from this\nmember can be returned by a `read` or `list` request, but\ncannot be set by the user.", - "smithy.api#enumValue": "read" - } - }, - "WRITE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Indicates that the CloudFormation property generated from this\nmember can be specified by the user, but cannot be returned by a\n`read` or `list` request. MUST NOT be set if the member is also\nmarked with the `@additionalIdentifier` trait.", - "smithy.api#enumValue": "write" - } - } - }, - "traits": { - "smithy.api#documentation": "Indicates an explicit CloudFormation mutability of the structure member\nwhen part of a CloudFormation resource.", - "smithy.api#trait": { - "selector": "structure > member", - "conflicts": [ - "aws.cloudformation#cfnExcludeProperty" - ] - }, - "smithy.api#unstable": {} - } - }, - "aws.cloudformation#cfnName": { - "type": "string", - "traits": { - "smithy.api#documentation": "The cloudFormationName trait allows a CloudFormation resource property name\nto differ from a structure member name used in the model.", - "smithy.api#trait": { - "selector": "structure > member", - "breakingChanges": [ - { - "change": "any" - } - ] - }, - "smithy.api#unstable": {} - } - }, - "aws.cloudformation#cfnResource": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Provides a custom CloudFormation resource name." - } - }, - "additionalSchemas": { - "target": "aws.cloudformation#StructureIdList", - "traits": { - "smithy.api#documentation": "A list of additional shape IDs of structures that will have their\nproperties added to the CloudFormation resource." - } - }, - "primaryIdentifier": { - "target": "smithy.api#String", - "traits": { - "smithy.api#deprecated": { - "message": "Prefer the resource's identifiers when generating resource schemas." - }, - "smithy.api#documentation": "An alternative resource property to use as the primary identifier\nfor the CloudFormation resource. The value MUST be the name of a\nproperty on the resource shape that targets a string shape." - } - } - }, - "traits": { - "smithy.api#documentation": "Indicates that a Smithy resource is a CloudFormation resource.", - "smithy.api#trait": { - "selector": "resource", - "breakingChanges": [ - { - "change": "presence" - } - ] - }, - "smithy.api#unstable": {} - } - }, - "aws.customizations#s3UnwrappedXmlOutput": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Indicates the response body from S3 is not wrapped in the\naws-restxml-protocol operation-level XML node. Intended to only be used by\nAWS S3.", - "smithy.api#trait": { - "selector": "operation" - } - } - }, - "aws.endpoints#PartitionEndpointPattern": { - "type": "enum", - "members": { - "SERVICE_DNSSUFFIX": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#deprecated": { - "since": "2025-04-01", - "message": "Not recommended to use. Use AWS_RECOMMENDED instead" - }, - "smithy.api#enumValue": "service_dnsSuffix" - } - }, - "SERVICE_REGION_DNSSUFFIX": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#deprecated": { - "since": "2025-04-01", - "message": "Not recommended to use. Use AWS_RECOMMENDED instead" - }, - "smithy.api#enumValue": "service_region_dnsSuffix" - } - }, - "AWS_RECOMMENDED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "aws_recommended" - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.endpoints#PartitionEndpointSpecialCase": { - "type": "structure", - "members": { - "endpoint": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The special-cased endpoint pattern." - } - }, - "region": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The region to override the defaultGlobalRegion used in this partition." - } - }, - "dualStack": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "When true, the special case will apply to dualstack endpoint variants." - } - }, - "fips": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "When true, the special case will apply to fips endpoint variants." - } - } - }, - "traits": { - "smithy.api#documentation": "Defines the endpoint pattern to apply for a partitional endpoint.", - "smithy.api#private": {} - } - }, - "aws.endpoints#PartitionEndpointSpecialCaseList": { - "type": "list", - "member": { - "target": "aws.endpoints#PartitionEndpointSpecialCase" - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.endpoints#PartitionEndpointSpecialCaseMap": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "aws.endpoints#PartitionEndpointSpecialCaseList" - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.endpoints#PartitionSpecialCase": { - "type": "structure", - "members": { - "endpoint": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The special-cased endpoint pattern.", - "smithy.api#required": {} - } - }, - "dualStack": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "When true, the special case will apply to dualstack endpoint variants." - } - }, - "fips": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "When true, the special case will apply to fips endpoint variants." - } - } - }, - "traits": { - "smithy.api#documentation": "Defines the endpoint pattern to apply for all regional endpoints in the given partition.", - "smithy.api#private": {} - } - }, - "aws.endpoints#PartitionSpecialCaseList": { - "type": "list", - "member": { - "target": "aws.endpoints#PartitionSpecialCase" - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.endpoints#PartitionSpecialCaseMap": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "aws.endpoints#PartitionSpecialCaseList" - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.endpoints#RegionSpecialCase": { - "type": "structure", - "members": { - "endpoint": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The special-cased endpoint pattern.", - "smithy.api#required": {} - } - }, - "dualStack": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "When true, the special case will apply to dualstack endpoint variants." - } - }, - "fips": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "When true, the special case will apply to fips endpoint variants." - } - }, - "signingRegion": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Overrides the signingRegion used for this region." - } - } - }, - "traits": { - "smithy.api#documentation": "Defines the endpoint pattern to apply for a region.", - "smithy.api#private": {} - } - }, - "aws.endpoints#RegionSpecialCaseList": { - "type": "list", - "member": { - "target": "aws.endpoints#RegionSpecialCase" - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.endpoints#RegionSpecialCaseMap": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "aws.endpoints#RegionSpecialCaseList" - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.endpoints#dualStackOnlyEndpoints": { - "type": "structure", - "members": {}, - "traits": { - "aws.endpoints#endpointsModifier": {}, - "smithy.api#documentation": "Marks that a services has only dualStack endpoints.", - "smithy.api#trait": { - "selector": "service", - "breakingChanges": [ - { - "change": "any" - } - ] - } - } - }, - "aws.endpoints#endpointsModifier": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Marks a trait as an endpoints modifier defining trait.\n\nThe targeted trait must only be applied to service shapes,\nmust be a structure, and must have the `trait` trait.", - "smithy.api#trait": { - "selector": "structure[trait|trait]", - "breakingChanges": [ - { - "change": "presence" - } - ] - } - } - }, - "aws.endpoints#rulesBasedEndpoints": { - "type": "structure", - "members": {}, - "traits": { - "aws.endpoints#endpointsModifier": {}, - "smithy.api#documentation": "Marks that a services has hand written endpoint rules.", - "smithy.api#trait": { - "selector": "service", - "breakingChanges": [ - { - "change": "any" - } - ] - }, - "smithy.api#unstable": {} - } - }, - "aws.endpoints#standardPartitionalEndpoints": { - "type": "structure", - "members": { - "endpointPatternType": { - "target": "aws.endpoints#PartitionEndpointPattern", - "traits": { - "smithy.api#documentation": "The pattern type to use for the partition endpoint.", - "smithy.api#required": {} - } - }, - "partitionEndpointSpecialCases": { - "target": "aws.endpoints#PartitionEndpointSpecialCaseMap", - "traits": { - "smithy.api#documentation": "A map of partition to a list of partition endpoint special cases -\npartitions that do not follow the services standard patterns or are\nlocated in a region other than the partition's defaultGlobalRegion." - } - } - }, - "traits": { - "aws.endpoints#endpointsModifier": {}, - "smithy.api#documentation": "Marks that a services is non-regionalized and has\na single endpoint in each partition.", - "smithy.api#trait": { - "selector": "service", - "conflicts": [ - "aws.endpoints#standardRegionalEndpoints" - ], - "breakingChanges": [ - { - "change": "any" - } - ] - } - } - }, - "aws.endpoints#standardRegionalEndpoints": { - "type": "structure", - "members": { - "partitionSpecialCases": { - "target": "aws.endpoints#PartitionSpecialCaseMap", - "traits": { - "smithy.api#documentation": "A map of partition to partition special cases -\nendpoints for a partition that do not follow the standard patterns." - } - }, - "regionSpecialCases": { - "target": "aws.endpoints#RegionSpecialCaseMap", - "traits": { - "smithy.api#documentation": "A map of region to regional special cases -\nendpoints for a region that do not follow the standard patterns." - } - } - }, - "traits": { - "aws.endpoints#endpointsModifier": {}, - "smithy.api#documentation": "Marks that a services endpoints should be resolved using\nstandard regional endpoint patterns.", - "smithy.api#trait": { - "selector": "service", - "conflicts": [ - "aws.endpoints#standardPartitionalEndpoints" - ], - "breakingChanges": [ - { - "change": "remove" - } - ] - } - } - }, - "aws.iam#ActionResource": { - "type": "structure", - "members": { - "conditionKeys": { - "target": "aws.iam#ConditionKeysList", - "traits": { - "smithy.api#documentation": "The condition keys used for authorizing against this resource." - } - } - }, - "traits": { - "smithy.api#documentation": "Contains information about a resource an IAM action can be authorized against.", - "smithy.api#private": {} - } - }, - "aws.iam#ActionResourceMap": { - "type": "map", - "key": { - "target": "aws.iam#ResourceName" - }, - "value": { - "target": "aws.iam#ActionResource" - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.iam#ActionResources": { - "type": "structure", - "members": { - "required": { - "target": "aws.iam#ActionResourceMap", - "traits": { - "smithy.api#documentation": "Resources that will always be authorized against for functionality of the IAM action." - } - }, - "optional": { - "target": "aws.iam#ActionResourceMap", - "traits": { - "smithy.api#documentation": "Resources that will be authorized against based on optional behavior of the IAM action." - } - } - }, - "traits": { - "smithy.api#documentation": "A container for information on the resources that an IAM action may be authorized against.", - "smithy.api#private": {} - } - }, - "aws.iam#ConditionKeyDefinition": { - "type": "structure", - "members": { - "type": { - "target": "aws.iam#ConditionKeyType", - "traits": { - "smithy.api#required": {} - } - }, - "documentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Defines documentation about the condition key." - } - }, - "externalDocumentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A valid URL that defines more information about the condition key." - } - }, - "relativeDocumentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A relative URL path that defines more information about the condition key\nwithin a set of IAM-related documentation." - } - }, - "required": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Whether a service resolved condition key is required.\nRequest resolved condition keys MUST use the @required trait." - } - } - }, - "traits": { - "smithy.api#documentation": "A defined condition key to appear within a service in addition to inferred and global condition keys.", - "smithy.api#private": {} - } - }, - "aws.iam#ConditionKeyName": { - "type": "string", - "traits": { - "smithy.api#pattern": "^(([A-Za-z0-9][A-Za-z0-9-\\.]{0,62}:)?[^:\\s]+)$", - "smithy.api#private": {} - } - }, - "aws.iam#ConditionKeyType": { - "type": "enum", - "members": { - "ARN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "A String type that contains an Amazon Resource Name (ARN).", - "smithy.api#enumValue": "ARN" - } - }, - "ARRAY_OF_ARN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "An unordered list of ARN types.", - "smithy.api#enumValue": "ArrayOfARN" - } - }, - "BINARY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "A String type that contains base-64 encoded binary data.", - "smithy.api#enumValue": "Binary" - } - }, - "ARRAY_OF_BINARY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "An unordered list of Binary types.", - "smithy.api#enumValue": "ArrayOfBinary" - } - }, - "STRING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "A general string type.", - "smithy.api#enumValue": "String" - } - }, - "ARRAY_OF_STRING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "An unordered list of String types.", - "smithy.api#enumValue": "ArrayOfString" - } - }, - "NUMERIC": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "A general type for integers and floats.", - "smithy.api#enumValue": "Numeric" - } - }, - "ARRAY_OF_NUMERIC": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "An unordered list of Numeric types.", - "smithy.api#enumValue": "ArrayOfNumeric" - } - }, - "DATE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "A String type that conforms to the datetime profile of ISO 8601.", - "smithy.api#enumValue": "Date" - } - }, - "ARRAY_OF_DATE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "An unordered list of Date types.", - "smithy.api#enumValue": "ArrayOfDate" - } - }, - "BOOL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "A general boolean type.", - "smithy.api#enumValue": "Bool" - } - }, - "ARRAY_OF_BOOL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "An unordered list of Bool types.", - "smithy.api#enumValue": "ArrayOfBool" - } - }, - "IP_ADDRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "A String type that conforms to RFC 4632.", - "smithy.api#enumValue": "IPAddress" - } - }, - "ARRAY_OF_IP_ADDRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "An unordered list of IPAddress types.", - "smithy.api#enumValue": "ArrayOfIPAddress" - } - } - }, - "traits": { - "smithy.api#documentation": "The IAM policy type of the value that will supplied for this context key", - "smithy.api#private": {} - } - }, - "aws.iam#ConditionKeysList": { - "type": "list", - "member": { - "target": "smithy.api#String" - }, - "traits": { - "smithy.api#private": {}, - "smithy.api#uniqueItems": {} - } - }, - "aws.iam#IamIdentifier": { - "type": "string", - "traits": { - "smithy.api#pattern": "^([A-Za-z0-9][A-Za-z0-9-\\.]{0,62}:[^:]+)$", - "smithy.api#private": {} - } - }, - "aws.iam#PrincipalType": { - "type": "enum", - "members": { - "ROOT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "An AWS account.", - "smithy.api#enumValue": "Root" - } - }, - "IAM_USER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "An AWS IAM user.", - "smithy.api#enumValue": "IAMUser" - } - }, - "IAM_ROLE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "An AWS IAM role.", - "smithy.api#enumValue": "IAMRole" - } - }, - "FEDERATED_USER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "A federated user session.", - "smithy.api#enumValue": "FederatedUser" - } - } - }, - "traits": { - "smithy.api#documentation": "An IAM policy principal type.", - "smithy.api#private": {} - } - }, - "aws.iam#RequiredActionsList": { - "type": "list", - "member": { - "target": "aws.iam#IamIdentifier" - }, - "traits": { - "smithy.api#private": {}, - "smithy.api#uniqueItems": {} - } - }, - "aws.iam#ResourceName": { - "type": "string", - "traits": { - "smithy.api#private": {} - } - }, - "aws.iam#ResourceNameList": { - "type": "list", - "member": { - "target": "aws.iam#ResourceName" - }, - "traits": { - "smithy.api#private": {}, - "smithy.api#uniqueItems": {} - } - }, - "aws.iam#actionName": { - "type": "string", - "traits": { - "smithy.api#deprecated": { - "since": "2023-11-10", - "message": "Use the `name` member of the `aws.iam#iamAction` trait instead." - }, - "smithy.api#documentation": "Provides a custom IAM action name. By default, the action name is the same as the operation name.", - "smithy.api#trait": { - "selector": "operation" - } - } - }, - "aws.iam#actionPermissionDescription": { - "type": "string", - "traits": { - "smithy.api#deprecated": { - "since": "2023-11-10", - "message": "Use the `documentation` member of the `aws.iam#iamAction` trait instead." - }, - "smithy.api#documentation": "A brief description of what granting the user permission to invoke an operation would entail.\nThis description should begin with something similar to 'Enables the user to...' or 'Grants permission to...'", - "smithy.api#trait": { - "selector": "operation" - } - } - }, - "aws.iam#conditionKeyValue": { - "type": "string", - "traits": { - "smithy.api#documentation": "Uses the associated member’s value as this condition key’s value.\nNeeded when the member name doesn't match the condition key name.", - "smithy.api#pattern": "^(([A-Za-z0-9][A-Za-z0-9-\\.]{0,62}:)?[^:\\s]+)$", - "smithy.api#trait": { - "selector": "member" - } - } - }, - "aws.iam#conditionKeys": { - "type": "list", - "member": { - "target": "aws.iam#ConditionKeyName" - }, - "traits": { - "smithy.api#documentation": "Applies condition keys by name to a resource or operation.", - "smithy.api#trait": { - "selector": ":test(resource, operation)" - } - } - }, - "aws.iam#defineConditionKeys": { - "type": "map", - "key": { - "target": "aws.iam#ConditionKeyName" - }, - "value": { - "target": "aws.iam#ConditionKeyDefinition" - }, - "traits": { - "smithy.api#documentation": "Defines the set of condition keys that appear within a service in addition to\ninferred and global condition keys.", - "smithy.api#trait": { - "selector": "service" - } - } - }, - "aws.iam#disableConditionKeyInference": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Disables the automatic inference of condition keys of service's resources or a specific resource.", - "smithy.api#trait": { - "selector": ":test(service, resource)" - } - } - }, - "aws.iam#iamAction": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The name of the action in AWS IAM." - } - }, - "documentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A brief description of what granting the user permission to invoke an operation would entail.\nThis description should begin with something similar to 'Enables the user to...' or 'Grants permission to...'" - } - }, - "relativeDocumentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A relative URL path that defines more information about the action within a set of IAM-related documentation." - } - }, - "requiredActions": { - "target": "aws.iam#RequiredActionsList", - "traits": { - "smithy.api#documentation": "Other actions that the invoker must be authorized to perform when executing the targeted operation." - } - }, - "resources": { - "target": "aws.iam#ActionResources", - "traits": { - "smithy.api#documentation": "The resources an IAM action can be authorized against." - } - }, - "createsResources": { - "target": "aws.iam#ResourceNameList", - "traits": { - "smithy.api#documentation": "The resources that performing this IAM action will create." - } - } - }, - "traits": { - "smithy.api#documentation": "Indicates properties of a Smithy operation as an IAM action.", - "smithy.api#trait": { - "selector": "operation" - } - } - }, - "aws.iam#iamResource": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The name of the resource in AWS IAM." - } - }, - "relativeDocumentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A relative URL path that defines more information about the resource\nwithin a set of IAM-related documentation." - } - }, - "disableConditionKeyInheritance": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "When set to `true`, decouples this IAM resource's condition keys from\nthose of its parent resource(s)." - } - } - }, - "traits": { - "smithy.api#documentation": "Indicates properties of a Smithy resource in AWS IAM.", - "smithy.api#trait": { - "selector": "resource" - } - } - }, - "aws.iam#requiredActions": { - "type": "list", - "member": { - "target": "aws.iam#IamIdentifier" - }, - "traits": { - "smithy.api#deprecated": { - "since": "2023-11-10", - "message": "Use the `requiredActions` member of the `aws.iam#iamAction` trait instead." - }, - "smithy.api#documentation": "Other actions that the invoker must be authorized to perform when executing the targeted operation.", - "smithy.api#trait": { - "selector": "operation" - } - } - }, - "aws.iam#serviceResolvedConditionKeys": { - "type": "list", - "member": { - "target": "aws.iam#ConditionKeyName" - }, - "traits": { - "smithy.api#documentation": "Specifies the list of IAM condition keys which must be resolved by the service,\nas opposed to being pulled from the request.", - "smithy.api#trait": { - "selector": "service" - } - } - }, - "aws.iam#supportedPrincipalTypes": { - "type": "list", - "member": { - "target": "aws.iam#PrincipalType" - }, - "traits": { - "smithy.api#documentation": "The principal types that can use the service or operation.", - "smithy.api#trait": { - "selector": ":test(service, operation)" - } - } - }, - "aws.protocols#ChecksumAlgorithm": { - "type": "enum", - "members": { - "CRC64NVME": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "CRC64NVME", - "smithy.api#enumValue": "CRC64NVME" - } - }, - "CRC32C": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "CRC32C", - "smithy.api#enumValue": "CRC32C" - } - }, - "CRC32": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "CRC32", - "smithy.api#enumValue": "CRC32" - } - }, - "SHA1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "SHA1", - "smithy.api#enumValue": "SHA1" - } - }, - "SHA256": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "SHA256", - "smithy.api#enumValue": "SHA256" - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.protocols#ChecksumAlgorithmSet": { - "type": "list", - "member": { - "target": "aws.protocols#ChecksumAlgorithm" - }, - "traits": { - "smithy.api#length": { - "min": 1 - }, - "smithy.api#private": {}, - "smithy.api#uniqueItems": {} - } - }, - "aws.protocols#HttpConfiguration": { - "type": "structure", - "members": { - "http": { - "target": "aws.protocols#StringList", - "traits": { - "smithy.api#documentation": "The priority ordered list of supported HTTP protocol versions." - } - }, - "eventStreamHttp": { - "target": "aws.protocols#StringList", - "traits": { - "smithy.api#documentation": "The priority ordered list of supported HTTP protocol versions that\nare required when using event streams with the service. If not set,\nthis value defaults to the value of the `http` member. Any entry in\n`eventStreamHttp` MUST also appear in `http`." - } - } - }, - "traits": { - "smithy.api#documentation": "Contains HTTP protocol configuration for HTTP-based protocols.", - "smithy.api#mixin": { - "localTraits": [ - "smithy.api#private" - ] - }, - "smithy.api#private": {} - } - }, - "aws.protocols#StringList": { - "type": "list", - "member": { - "target": "smithy.api#String" - }, - "traits": { - "smithy.api#private": {} - } - }, - "aws.protocols#awsJson1_0": { - "type": "structure", - "mixins": [ - { - "target": "aws.protocols#HttpConfiguration" - } - ], - "members": {}, - "traits": { - "smithy.api#documentation": "An RPC-based protocol that sends JSON payloads. This protocol does not use\nHTTP binding traits.", - "smithy.api#protocolDefinition": { - "traits": [ - "smithy.api#timestampFormat", - "smithy.api#cors", - "smithy.api#endpoint", - "smithy.api#hostLabel" - ] - }, - "smithy.api#trait": { - "selector": "service" - } - } - }, - "aws.protocols#awsJson1_1": { - "type": "structure", - "mixins": [ - { - "target": "aws.protocols#HttpConfiguration" - } - ], - "members": {}, - "traits": { - "smithy.api#documentation": "An RPC-based protocol that sends JSON payloads. This protocol does not use\nHTTP binding traits.", - "smithy.api#protocolDefinition": { - "traits": [ - "smithy.api#timestampFormat", - "smithy.api#cors", - "smithy.api#endpoint", - "smithy.api#hostLabel" - ] - }, - "smithy.api#trait": { - "selector": "service" - } - } - }, - "aws.protocols#awsQuery": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#deprecated": {}, - "smithy.api#documentation": "An RPC-based protocol that sends 'POST' requests in the body as\n`x-www-form-urlencoded` strings and responses in XML documents. This\nprotocol does not use HTTP binding traits.", - "smithy.api#protocolDefinition": { - "traits": [ - "smithy.api#timestampFormat", - "smithy.api#cors", - "smithy.api#endpoint", - "smithy.api#hostLabel", - "aws.protocols#awsQueryError", - "smithy.api#xmlAttribute", - "smithy.api#xmlFlattened", - "smithy.api#xmlName", - "smithy.api#xmlNamespace" - ] - }, - "smithy.api#trait": { - "selector": "service [trait|xmlNamespace]" - }, - "smithy.api#traitValidators": { - "UnsupportedProtocolDocument": { - "selector": "~> member :test(> document)", - "message": "Document types are not supported with awsQuery" - } - } - } - }, - "aws.protocols#awsQueryCompatible": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "Enable backward compatibility when migrating from awsQuery to the awsJson\nprotocol or Smithy RPC v2 CBOR.", - "smithy.api#trait": { - "selector": "service :test([trait|aws.protocols#awsJson1_0], [trait|smithy.protocols#rpcv2Cbor])" - } - } - }, - "aws.protocols#awsQueryError": { - "type": "structure", - "members": { - "code": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The value used to distinguish this error shape during serialization.", - "smithy.api#required": {} - } - }, - "httpResponseCode": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "The HTTP response code used on a response containing this error shape.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Provides the value in the 'Code' distinguishing field and HTTP response\ncode for an operation error.", - "smithy.api#trait": { - "selector": "structure [trait|error]", - "breakingChanges": [ - { - "change": "any" - } - ] - } - } - }, - "aws.protocols#ec2Query": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#deprecated": {}, - "smithy.api#documentation": "An RPC-based protocol that sends 'POST' requests in the body as Amazon EC2\nformatted `x-www-form-urlencoded` strings and responses in XML documents.\nThis protocol does not use HTTP binding traits.", - "smithy.api#protocolDefinition": { - "traits": [ - "smithy.api#timestampFormat", - "smithy.api#cors", - "smithy.api#endpoint", - "smithy.api#hostLabel", - "aws.protocols#ec2QueryName", - "smithy.api#xmlAttribute", - "smithy.api#xmlFlattened", - "smithy.api#xmlName", - "smithy.api#xmlNamespace" - ] - }, - "smithy.api#trait": { - "selector": "service [trait|xmlNamespace]" - }, - "smithy.api#traitValidators": { - "UnsupportedProtocolDocument": { - "selector": "~> member :test(> document)", - "message": "Document types are not supported with ec2Query" - } - } - } - }, - "aws.protocols#ec2QueryName": { - "type": "string", - "traits": { - "smithy.api#documentation": "Indicates the serialized name of a structure member when that structure is\nserialized for the input of an EC2 operation.", - "smithy.api#pattern": "^[a-zA-Z_][a-zA-Z_0-9-]*$", - "smithy.api#trait": { - "selector": "structure > member" - } - } - }, - "aws.protocols#httpChecksum": { - "type": "structure", - "members": { - "requestAlgorithmMember": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Defines a top-level operation input member that is used to configure\nrequest checksum behavior." - } - }, - "requestChecksumRequired": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Indicates an operation requires a checksum in its HTTP request." - } - }, - "requestValidationModeMember": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Defines a top-level operation input member used to opt-in to response\nchecksum validation." - } - }, - "responseAlgorithms": { - "target": "aws.protocols#ChecksumAlgorithmSet", - "traits": { - "smithy.api#documentation": "Defines the checksum algorithms clients should look for when performing\nHTTP response checksum validation." - } - } - }, - "traits": { - "smithy.api#documentation": "Indicates that an operation supports checksum validation.", - "smithy.api#trait": { - "selector": "operation", - "breakingChanges": [ - { - "change": "remove", - "severity": "DANGER", - "message": "Removing the trait removes the ability for clients to do request or response checksums. The service MUST continue to support old clients by supporting the `httpChecksum` trait." - }, - { - "change": "remove", - "path": "/requestAlgorithmMember", - "severity": "DANGER", - "message": "`requestAlgorithmMember` was removed, so newly generated clients will no longer be able to pick the request checksum algorithms The service MUST continue to support old clients by supporting `requestAlgorithmMember`." - }, - { - "change": "remove", - "path": "/requestValidationModeMember", - "severity": "DANGER", - "message": "`requestValidationModeMember` was removed, so newly generated clients will no longer validate response checksums. The service MUST continue to support old clients by supporting `requestValidationModeMember`." - }, - { - "change": "remove", - "path": "/responseAlgorithms/member", - "severity": "DANGER", - "message": "Members of `responseAlgorithms` were removed, so newly generated clients will no longer validate response checksums for the removed algorithms. The service MUST continue to support old clients by supporting removed compression algorithms." - } - ] - }, - "smithy.api#unstable": {} - } - }, - "aws.protocols#restJson1": { - "type": "structure", - "mixins": [ - { - "target": "aws.protocols#HttpConfiguration" - } - ], - "members": {}, - "traits": { - "smithy.api#documentation": "A RESTful protocol that sends JSON in structured payloads.", - "smithy.api#protocolDefinition": { - "traits": [ - "smithy.api#timestampFormat", - "smithy.api#cors", - "smithy.api#endpoint", - "smithy.api#hostLabel", - "smithy.api#http", - "smithy.api#httpError", - "smithy.api#httpHeader", - "smithy.api#httpLabel", - "smithy.api#httpPayload", - "smithy.api#httpPrefixHeaders", - "smithy.api#httpQuery", - "smithy.api#httpQueryParams", - "smithy.api#httpResponseCode", - "smithy.api#httpChecksumRequired", - "smithy.api#jsonName" - ] - }, - "smithy.api#trait": { - "selector": "service" - } - } - }, - "aws.protocols#restXml": { - "type": "structure", - "mixins": [ - { - "target": "aws.protocols#HttpConfiguration" - } - ], - "members": { - "noErrorWrapping": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#deprecated": {}, - "smithy.api#documentation": "Disables the serialization wrapping of error properties in an 'Error'\nXML element." - } - } - }, - "traits": { - "smithy.api#deprecated": {}, - "smithy.api#documentation": "A RESTful protocol that sends XML in structured payloads.", - "smithy.api#protocolDefinition": { - "traits": [ - "smithy.api#timestampFormat", - "smithy.api#cors", - "smithy.api#endpoint", - "smithy.api#hostLabel", - "smithy.api#http", - "smithy.api#httpError", - "smithy.api#httpHeader", - "smithy.api#httpLabel", - "smithy.api#httpPayload", - "smithy.api#httpPrefixHeaders", - "smithy.api#httpQuery", - "smithy.api#httpQueryParams", - "smithy.api#httpResponseCode", - "smithy.api#httpChecksumRequired", - "smithy.api#xmlAttribute", - "smithy.api#xmlFlattened", - "smithy.api#xmlName", - "smithy.api#xmlNamespace" - ] - }, - "smithy.api#trait": { - "selector": "service" - }, - "smithy.api#traitValidators": { - "UnsupportedProtocolDocument": { - "selector": "~> member :test(> document)", - "message": "Document types are not supported with restXml" - } - } - } - }, - "cloudserver.client#AclObj": { - "type": "structure", - "members": { - "Canned": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Canned ACL setting" - } - }, - "FULL_CONTROL": { - "target": "cloudserver.client#StringList", - "traits": { - "smithy.api#documentation": "List of users with FULL_CONTROL permission" - } - }, - "WRITE": { - "target": "cloudserver.client#StringList", - "traits": { - "smithy.api#documentation": "List of users with WRITE permission" - } - }, - "WRITE_ACP": { - "target": "cloudserver.client#StringList", - "traits": { - "smithy.api#documentation": "List of users with WRITE_ACP permission" - } - }, - "READ": { - "target": "cloudserver.client#StringList", - "traits": { - "smithy.api#documentation": "List of users with READ permission" - } - }, - "READ_ACP": { - "target": "cloudserver.client#StringList", - "traits": { - "smithy.api#documentation": "List of users with READ_ACP permission" - } - } - } - }, - "cloudserver.client#BatchDelete": { - "type": "operation", - "input": { - "target": "cloudserver.client#BatchDeleteInput" - }, - "output": { - "target": "cloudserver.client#BatchDeleteOutput" - }, - "traits": { - "smithy.api#http": { - "method": "POST", - "uri": "/_/backbeat/batchdelete/{Bucket}/{Key+}" - }, - "smithy.api#idempotent": {} - } - }, - "cloudserver.client#BatchDeleteInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "IfUnmodifiedSince": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "If-Unmodified-Since" - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Class" - } - }, - "Tags": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Tags" - } - }, - "ContentType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Content-Type" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Locations": { - "target": "cloudserver.client#BatchDeleteLocationList", - "traits": { - "smithy.api#documentation": "List of locations to delete" - } - } - } - }, - "cloudserver.client#BatchDeleteLocation": { - "type": "structure", - "members": { - "dataStoreName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The data store name where the object is stored" - } - }, - "key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The storage key for the object" - } - }, - "size": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Size of the object in bytes" - } - }, - "dataStoreVersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Version ID in the data store" - } - } - } - }, - "cloudserver.client#BatchDeleteLocationList": { - "type": "list", - "member": { - "target": "cloudserver.client#BatchDeleteLocation" - } - }, - "cloudserver.client#BatchDeleteOutput": { - "type": "structure", - "members": {} - }, - "cloudserver.client#CommonPrefixList": { - "type": "list", - "member": { - "target": "smithy.api#String" - } - }, - "cloudserver.client#CorsListObj": { - "type": "list", - "member": { - "target": "cloudserver.client#CorsObj" - } - }, - "cloudserver.client#CorsObj": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" - } - }, - "cloudserver.client#DeleteBucketIndexes": { - "type": "operation", - "input": { - "target": "cloudserver.client#DeleteBucketIndexesInput" - }, - "output": { - "target": "cloudserver.client#DeleteBucketIndexesOutput" - }, - "traits": { - "smithy.api#http": { - "method": "POST", - "uri": "/_/backbeat/index/{Bucket}?operation=delete" - }, - "smithy.api#idempotent": {} - } - }, - "cloudserver.client#DeleteBucketIndexesInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Body": { - "target": "smithy.api#Blob", - "traits": { - "smithy.api#httpPayload": {} - } - } - } - }, - "cloudserver.client#DeleteBucketIndexesOutput": { - "type": "structure", - "members": {} - }, - "cloudserver.client#DeleteObjectFromExpiration": { - "type": "operation", - "input": { - "target": "cloudserver.client#DeleteObjectFromExpirationInput" - }, - "output": { - "target": "cloudserver.client#DeleteObjectFromExpirationOutput" - }, - "traits": { - "smithy.api#http": { - "method": "DELETE", - "uri": "/_/backbeat/expiration/{Bucket}/{Key+}" - }, - "smithy.api#idempotent": {} - } - }, - "cloudserver.client#DeleteObjectFromExpirationInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "VersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "versionId" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - } - }, - "cloudserver.client#DeleteObjectFromExpirationOutput": { - "type": "structure", - "members": { - "versionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Version ID of the deleted object" - } - } - } - }, - "cloudserver.client#EncodingType": { - "type": "string", - "traits": { - "smithy.api#documentation": "Encoding type string with allowed values" - } - }, - "cloudserver.client#ExpirationConfiguration": { - "type": "structure", - "members": { - "Days": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Number of days after which the object expires" - } - } - } - }, - "cloudserver.client#GetBucketCseq": { - "type": "operation", - "input": { - "target": "cloudserver.client#GetBucketCseqInput" - }, - "output": { - "target": "cloudserver.client#GetBucketCseqOutput" - }, - "traits": { - "smithy.api#documentation": "Retrieves bucket sequence information", - "smithy.api#http": { - "method": "GET", - "uri": "/_/metadata/default/informations/{Bucket}" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#GetBucketCseqInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "cloudserver.client#GetBucketCseqOutput": { - "type": "structure", - "members": { - "CseqInfo": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#httpPayload": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "cloudserver.client#GetBucketIndexes": { - "type": "operation", - "input": { - "target": "cloudserver.client#GetBucketIndexesInput" - }, - "output": { - "target": "cloudserver.client#GetBucketIndexesOutput" - }, - "traits": { - "smithy.api#http": { - "method": "GET", - "uri": "/_/backbeat/index/{Bucket}" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#GetBucketIndexesInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - } - }, - "cloudserver.client#GetBucketIndexesOutput": { - "type": "structure", - "members": { - "Indexes": { - "target": "cloudserver.client#IndexList" - } - } - }, - "cloudserver.client#GetBucketMetadata": { - "type": "operation", - "input": { - "target": "cloudserver.client#GetBucketMetadataInput" - }, - "output": { - "target": "cloudserver.client#GetBucketMetadataOutput" - }, - "traits": { - "smithy.api#http": { - "method": "GET", - "uri": "/_/metadata/default/attributes/{Bucket}" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#GetBucketMetadataInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - } - }, - "cloudserver.client#GetBucketMetadataOutput": { - "type": "structure", - "members": { - "acl": { - "target": "cloudserver.client#AclObj", - "traits": { - "smithy.api#documentation": "Access control list for the bucket" - } - }, - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Name of the bucket" - } - }, - "owner": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Owner of the bucket" - } - }, - "ownerDisplayName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Display name of the bucket owner" - } - }, - "creationDate": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Creation date of the bucket" - } - }, - "mdBucketModelVersion": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Metadata bucket model version" - } - }, - "transient": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Whether this is a transient bucket" - } - }, - "deleted": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Whether the bucket is marked as deleted" - } - }, - "serverSideEncryption": { - "target": "cloudserver.client#ServerSideEncryptionMap", - "traits": { - "smithy.api#documentation": "Server-side encryption configuration" - } - }, - "versioningConfiguration": { - "target": "cloudserver.client#VersioningConfigurationObj", - "traits": { - "smithy.api#documentation": "Versioning configuration for the bucket" - } - }, - "locationConstraint": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Location constraint for the bucket" - } - }, - "readLocationConstraint": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Read location constraint for the bucket" - } - }, - "cors": { - "target": "cloudserver.client#CorsListObj", - "traits": { - "smithy.api#documentation": "CORS configuration for the bucket" - } - }, - "replicationConfiguration": { - "target": "cloudserver.client#ReplicationConfigurationObj", - "traits": { - "smithy.api#documentation": "Replication configuration for the bucket" - } - }, - "lifecycleConfiguration": { - "target": "cloudserver.client#LifecycleConfigurationObj", - "traits": { - "smithy.api#documentation": "Lifecycle configuration for the bucket" - } - }, - "uid": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Unique identifier for the bucket" - } - } - } - }, - "cloudserver.client#GetMetadata": { - "type": "operation", - "input": { - "target": "cloudserver.client#GetMetadataInput" - }, - "output": { - "target": "cloudserver.client#GetMetadataOutput" - }, - "traits": { - "smithy.api#http": { - "method": "GET", - "uri": "/_/backbeat/metadata/{Bucket}/{Key+}" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#GetMetadataInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "VersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "versionId" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - } - }, - "cloudserver.client#GetMetadataOutput": { - "type": "structure", - "members": { - "Body": { - "target": "smithy.api#String" - } - } - }, - "cloudserver.client#GetObject": { - "type": "operation", - "input": { - "target": "cloudserver.client#GetObjectInput" - }, - "output": { - "target": "cloudserver.client#GetObjectOutput" - }, - "traits": { - "smithy.api#http": { - "method": "GET", - "uri": "/{Bucket}/{Key+}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#GetObjectInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "IfMatch": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "If-Match" - } - }, - "IfModifiedSince": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#httpHeader": "If-Modified-Since" - } - }, - "IfNoneMatch": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "If-None-Match" - } - }, - "IfUnmodifiedSince": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#httpHeader": "If-Unmodified-Since" - } - }, - "Range": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "Range" - } - }, - "ResponseCacheControl": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "response-cache-control" - } - }, - "ResponseContentDisposition": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "response-content-disposition" - } - }, - "ResponseContentEncoding": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "response-content-encoding" - } - }, - "ResponseContentLanguage": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "response-content-language" - } - }, - "ResponseContentType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "response-content-type" - } - }, - "ResponseExpires": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#httpQuery": "response-expires" - } - }, - "VersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "versionId" - } - }, - "SSECustomerAlgorithm": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" - } - }, - "SSECustomerKey": { - "target": "cloudserver.client#SensitiveString", - "traits": { - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key" - } - }, - "SSECustomerKeyMD5": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" - } - }, - "RequestPayer": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-request-payer" - } - }, - "PartNumber": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpQuery": "partNumber" - } - }, - "LocationConstraint": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-location-constraint" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - } - }, - "cloudserver.client#GetObjectList": { - "type": "operation", - "input": { - "target": "cloudserver.client#GetObjectListInput" - }, - "output": { - "target": "cloudserver.client#GetObjectListOutput" - }, - "traits": { - "smithy.api#http": { - "method": "GET", - "uri": "/_/metadata/default/bucket/{Bucket}" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#GetObjectListInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - } - }, - "cloudserver.client#GetObjectListOutput": { - "type": "structure", - "members": { - "Contents": { - "target": "cloudserver.client#ObjectMDList" - }, - "CommonPrefixes": { - "target": "cloudserver.client#CommonPrefixList" - }, - "IsTruncated": { - "target": "smithy.api#Boolean" - }, - "Delimiter": { - "target": "smithy.api#String" - } - } - }, - "cloudserver.client#GetObjectOutput": { - "type": "structure", - "members": { - "Body": { - "target": "cloudserver.client#StreamingBlobOutput", - "traits": { - "smithy.api#httpPayload": {}, - "smithy.api#required": {} - } - }, - "DeleteMarker": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#httpHeader": "x-amz-delete-marker" - } - }, - "AcceptRanges": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "accept-ranges" - } - }, - "Expiration": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-expiration" - } - }, - "Restore": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-restore" - } - }, - "LastModified": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#httpHeader": "Last-Modified" - } - }, - "ETag": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "ETag" - } - }, - "MissingMeta": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpHeader": "x-amz-missing-meta" - } - }, - "VersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-version-id" - } - }, - "CacheControl": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "Cache-Control" - } - }, - "ContentDisposition": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "Content-Disposition" - } - }, - "ContentEncoding": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "Content-Encoding" - } - }, - "ContentLanguage": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "Content-Language" - } - }, - "ContentRange": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "Content-Range" - } - }, - "ContentType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "Content-Type" - } - }, - "Expires": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#httpHeader": "Expires" - } - }, - "WebsiteRedirectLocation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-website-redirect-location" - } - }, - "ServerSideEncryption": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-server-side-encryption" - } - }, - "Metadata": { - "target": "cloudserver.client#MetadataMap", - "traits": { - "smithy.api#httpPrefixHeaders": "x-amz-meta-" - } - }, - "SSECustomerAlgorithm": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" - } - }, - "SSECustomerKeyMD5": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" - } - }, - "SSEKMSKeyId": { - "target": "cloudserver.client#SensitiveString", - "traits": { - "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-storage-class" - } - }, - "RequestCharged": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-request-charged" - } - }, - "ReplicationStatus": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-replication-status" - } - }, - "PartsCount": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpHeader": "x-amz-mp-parts-count" - } - }, - "TagCount": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpHeader": "x-amz-tagging-count" - } - } - } - }, - "cloudserver.client#GetRaftBuckets": { - "type": "operation", - "input": { - "target": "cloudserver.client#GetRaftBucketsInput" - }, - "output": { - "target": "cloudserver.client#GetRaftBucketsOutput" - }, - "traits": { - "smithy.api#documentation": "Retrieves buckets associated with a specific Raft log ID", - "smithy.api#http": { - "method": "GET", - "uri": "/_/metadata/admin/raft_sessions/{LogId}/bucket" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#GetRaftBucketsInput": { - "type": "structure", - "members": { - "LogId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "cloudserver.client#GetRaftBucketsOutput": { - "type": "structure", - "members": { - "Buckets": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#httpPayload": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "cloudserver.client#GetRaftId": { - "type": "operation", - "input": { - "target": "cloudserver.client#GetRaftIdInput" - }, - "output": { - "target": "cloudserver.client#GetRaftIdOutput" - }, - "traits": { - "smithy.api#http": { - "method": "GET", - "uri": "/_/metadata/admin/buckets/{Bucket}/id" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#GetRaftIdInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - } - }, - "cloudserver.client#GetRaftIdOutput": { - "type": "structure", - "members": { - "RaftId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpPayload": {} - } - } - } - }, - "cloudserver.client#GetRaftLog": { - "type": "operation", - "input": { - "target": "cloudserver.client#GetRaftLogInput" - }, - "output": { - "target": "cloudserver.client#GetRaftLogOutput" - }, - "traits": { - "smithy.api#documentation": "Retrieves Raft log entries for a specific log ID", - "smithy.api#http": { - "method": "GET", - "uri": "/_/metadata/admin/raft_sessions/{LogId}/log" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#GetRaftLogInput": { - "type": "structure", - "members": { - "LogId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Begin": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpQuery": "begin" - } - }, - "Limit": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpQuery": "limit" - } - }, - "TargetLeader": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#httpQuery": "targetLeader" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "cloudserver.client#GetRaftLogOutput": { - "type": "structure", - "members": { - "Body": { - "target": "cloudserver.client#StreamingBlobOutput", - "traits": { - "smithy.api#documentation": "Streaming log data containing the complete JSON response", - "smithy.api#httpPayload": {}, - "smithy.api#required": {} - } - }, - "Start": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Starting sequence number", - "smithy.api#httpHeader": "x-raft-log-start" - } - }, - "Cseq": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Current sequence number ", - "smithy.api#httpHeader": "x-raft-log-cseq" - } - }, - "Prune": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Prune sequence number", - "smithy.api#httpHeader": "x-raft-log-prune" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "cloudserver.client#Index": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String" - }, - "keys": { - "target": "cloudserver.client#IndexKeyList" - } - } - }, - "cloudserver.client#IndexKey": { - "type": "structure", - "members": { - "order": { - "target": "smithy.api#Integer" - }, - "key": { - "target": "smithy.api#String" - } - } - }, - "cloudserver.client#IndexKeyList": { - "type": "list", - "member": { - "target": "cloudserver.client#IndexKey" - } - }, - "cloudserver.client#IndexList": { - "type": "list", - "member": { - "target": "cloudserver.client#Index" - } - }, - "cloudserver.client#LCRuleObj": { - "type": "structure", - "members": { - "ID": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Unique identifier for the rule" - } - }, - "Status": { - "target": "cloudserver.client#LifecycleRuleStatus", - "traits": { - "smithy.api#documentation": "Whether the rule is enabled or disabled" - } - }, - "Prefix": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Prefix for objects to which the rule applies" - } - }, - "Expiration": { - "target": "cloudserver.client#ExpirationConfiguration", - "traits": { - "smithy.api#documentation": "Expiration configuration" - } - } - } - }, - "cloudserver.client#LifecycleConfigurationObj": { - "type": "structure", - "members": { - "Rules": { - "target": "cloudserver.client#LifecycleRuleList", - "traits": { - "smithy.api#documentation": "List of lifecycle rules" - } - } - } - }, - "cloudserver.client#LifecycleRuleList": { - "type": "list", - "member": { - "target": "cloudserver.client#LCRuleObj" - } - }, - "cloudserver.client#LifecycleRuleStatus": { - "type": "enum", - "members": { - "ENABLED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Enabled" - } - }, - "DISABLED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Disabled" - } - } - } - }, - "cloudserver.client#ListLifecycleCurrents": { - "type": "operation", - "input": { - "target": "cloudserver.client#ListLifecycleCurrentsInput" - }, - "output": { - "target": "cloudserver.client#ListLifecycleCurrentsOutput" - }, - "traits": { - "smithy.api#documentation": "List lifecycle current objects operation", - "smithy.api#http": { - "method": "GET", - "uri": "/_/backbeat/lifecycle/{Bucket}?list-type=current" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#ListLifecycleCurrentsInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The bucket name", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "BeforeDate": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limit the response to keys modified prior to before date", - "smithy.api#httpQuery": "before-date" - } - }, - "ExcludedDataStoreName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limit the response to only include keys that are stored outside of the ExcludedDataStoreName", - "smithy.api#httpQuery": "excluded-data-store-name" - } - }, - "EncodingType": { - "target": "cloudserver.client#EncodingType", - "traits": { - "smithy.api#documentation": "Encoding type for the response", - "smithy.api#httpQuery": "encoding-type" - } - }, - "Marker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Marker for pagination", - "smithy.api#httpQuery": "marker" - } - }, - "MaxKeys": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Maximum number of keys to return", - "smithy.api#httpQuery": "max-keys" - } - }, - "Prefix": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limits the response to keys that begin with the specified prefix", - "smithy.api#httpQuery": "prefix" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - }, - "traits": { - "smithy.api#documentation": "Input for ListLifecycleCurrents operation" - } - }, - "cloudserver.client#ListLifecycleCurrentsOutput": { - "type": "structure", - "members": { - "BeforeDate": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limit the response to keys modified prior to before date" - } - }, - "Marker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Indicates where in the bucket listing begins" - } - }, - "IsTruncated": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Flag that indicates whether all results were returned" - } - }, - "NextMarker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Next marker for pagination" - } - }, - "Contents": { - "target": "cloudserver.client#ObjectLifecycleList", - "traits": { - "smithy.api#documentation": "Metadata about each object returned" - } - }, - "Name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The bucket name" - } - }, - "Prefix": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Keys that begin with the indicated prefix" - } - }, - "MaxKeys": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Maximum number of keys returned in the response body" - } - } - }, - "traits": { - "smithy.api#documentation": "Output for ListLifecycleCurrents operation" - } - }, - "cloudserver.client#ListLifecycleNonCurrents": { - "type": "operation", - "input": { - "target": "cloudserver.client#ListLifecycleNonCurrentsInput" - }, - "output": { - "target": "cloudserver.client#ListLifecycleNonCurrentsOutput" - }, - "traits": { - "smithy.api#documentation": "List lifecycle non-current objects operation", - "smithy.api#http": { - "method": "GET", - "uri": "/_/backbeat/lifecycle/{Bucket}?list-type=noncurrent" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#ListLifecycleNonCurrentsInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The bucket name", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "BeforeDate": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limit the response to keys modified prior to before date", - "smithy.api#httpQuery": "before-date" - } - }, - "ExcludedDataStoreName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limit the response to only include keys that are stored outside of the ExcludedDataStoreName", - "smithy.api#httpQuery": "excluded-data-store-name" - } - }, - "EncodingType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Encoding type for the response", - "smithy.api#httpQuery": "encoding-type" - } - }, - "KeyMarker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Key marker for pagination", - "smithy.api#httpQuery": "key-marker" - } - }, - "VersionIdMarker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Version ID marker for pagination", - "smithy.api#httpQuery": "version-id-marker" - } - }, - "MaxKeys": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Maximum number of keys to return", - "smithy.api#httpQuery": "max-keys" - } - }, - "Prefix": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limits the response to keys that begin with the specified prefix", - "smithy.api#httpQuery": "prefix" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - }, - "traits": { - "smithy.api#documentation": "Input for ListLifecycleNonCurrents operation" - } - }, - "cloudserver.client#ListLifecycleNonCurrentsOutput": { - "type": "structure", - "members": { - "BeforeDate": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limit the response to keys modified prior to before date" - } - }, - "KeyMarker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Indicates where in the bucket listing begins" - } - }, - "VersionIdMarker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Marks the last version of the key returned in a truncated response" - } - }, - "IsTruncated": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Flag that indicates whether all results were returned" - } - }, - "NextKeyMarker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Next key marker for pagination" - } - }, - "NextVersionIdMarker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Next version ID marker for pagination" - } - }, - "Contents": { - "target": "cloudserver.client#ObjectLifecycleList", - "traits": { - "smithy.api#documentation": "Metadata about each object returned" - } - }, - "Name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The bucket name" - } - }, - "Prefix": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Keys that begin with the indicated prefix" - } - }, - "MaxKeys": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Maximum number of keys returned in the response body" - } - } - }, - "traits": { - "smithy.api#documentation": "Output for ListLifecycleNonCurrents operation" - } - }, - "cloudserver.client#ListLifecycleOrphans": { - "type": "operation", - "input": { - "target": "cloudserver.client#ListLifecycleOrphansInput" - }, - "output": { - "target": "cloudserver.client#ListLifecycleOrphansOutput" - }, - "traits": { - "smithy.api#documentation": "List lifecycle orphan objects operation", - "smithy.api#http": { - "method": "GET", - "uri": "/_/backbeat/lifecycle/{Bucket}?list-type=orphan" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#ListLifecycleOrphansInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The bucket name", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "BeforeDate": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limit the response to keys modified prior to before date", - "smithy.api#httpQuery": "before-date" - } - }, - "ExcludedDataStoreName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limit the response to only include keys that are stored outside of the ExcludedDataStoreName", - "smithy.api#httpQuery": "excluded-data-store-name" - } - }, - "EncodingType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Encoding type for the response", - "smithy.api#httpQuery": "encoding-type" - } - }, - "Marker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Marker for pagination", - "smithy.api#httpQuery": "marker" - } - }, - "MaxKeys": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Maximum number of keys to return", - "smithy.api#httpQuery": "max-keys" - } - }, - "Prefix": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limits the response to keys that begin with the specified prefix", - "smithy.api#httpQuery": "prefix" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - }, - "traits": { - "smithy.api#documentation": "Input for ListLifecycleOrphans operation (same structure as ListLifecycleCurrents)" - } - }, - "cloudserver.client#ListLifecycleOrphansOutput": { - "type": "structure", - "members": { - "BeforeDate": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Limit the response to keys modified prior to before date" - } - }, - "Marker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Indicates where in the bucket listing begins" - } - }, - "IsTruncated": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Flag that indicates whether all results were returned" - } - }, - "NextMarker": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Next marker for pagination" - } - }, - "Contents": { - "target": "cloudserver.client#ObjectLifecycleList", - "traits": { - "smithy.api#documentation": "Metadata about each object returned" - } - }, - "Name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The bucket name" - } - }, - "Prefix": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Keys that begin with the indicated prefix" - } - }, - "MaxKeys": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Maximum number of keys returned in the response body" - } - } - }, - "traits": { - "smithy.api#documentation": "Output for ListLifecycleOrphans operation (same structure as ListLifecycleCurrents)" - } - }, - "cloudserver.client#LocationMDList": { - "type": "list", - "member": { - "target": "cloudserver.client#LocationMDObj" - } - }, - "cloudserver.client#LocationMDObj": { - "type": "structure", - "members": { - "key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Storage key for this location" - } - }, - "size": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Size of the data stored at this location" - } - }, - "start": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Start position/offset for this data segment" - } - }, - "dataStoreName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Name of the data store where this is located" - } - }, - "dataStoreType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Type of the data store (e.g., file, mem, etc.)" - } - }, - "dataStoreETag": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "ETag from the data store for this location" - } - }, - "dataStoreVersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Version ID in the data store for this location" - } - } - } - }, - "cloudserver.client#MetadataMap": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" - }, - "traits": { - "smithy.api#documentation": "Map of metadata key-value pairs" - } - }, - "cloudserver.client#MultipleBackendAbortMPU": { - "type": "operation", - "input": { - "target": "cloudserver.client#MultipleBackendAbortMPUInput" - }, - "output": { - "target": "cloudserver.client#MultipleBackendAbortMPUOutput" - }, - "traits": { - "smithy.api#documentation": "Aborts a multipart upload for multiple backend storage", - "smithy.api#http": { - "method": "DELETE", - "uri": "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=abortmpu" - }, - "smithy.api#idempotent": {} - } - }, - "cloudserver.client#MultipleBackendAbortMPUInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StorageType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Type" - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Class", - "smithy.api#required": {} - } - }, - "UploadId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Upload-Id" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "cloudserver.client#MultipleBackendAbortMPUOutput": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "cloudserver.client#MultipleBackendCompleteMPU": { - "type": "operation", - "input": { - "target": "cloudserver.client#MultipleBackendCompleteMPUInput" - }, - "output": { - "target": "cloudserver.client#MultipleBackendCompleteMPUOutput" - }, - "traits": { - "smithy.api#documentation": "Completes a multipart upload for multiple backend storage", - "smithy.api#http": { - "method": "POST", - "uri": "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=completempu" - } - } - }, - "cloudserver.client#MultipleBackendCompleteMPUInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StorageType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Type" - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Class", - "smithy.api#required": {} - } - }, - "VersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Version-Id" - } - }, - "ContentType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Content-Type" - } - }, - "UserMetaData": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-User-Metadata" - } - }, - "CacheControl": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Cache-Control" - } - }, - "ContentDisposition": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Content-Disposition" - } - }, - "ContentEncoding": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Content-Encoding" - } - }, - "UploadId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Upload-Id" - } - }, - "Tags": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Tags" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Body": { - "target": "smithy.api#Blob", - "traits": { - "smithy.api#httpPayload": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "cloudserver.client#MultipleBackendCompleteMPUOutput": { - "type": "structure", - "members": { - "versionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Version ID of the completed object" - } - }, - "location": { - "target": "cloudserver.client#LocationMDList", - "traits": { - "smithy.api#documentation": "Location information" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "cloudserver.client#MultipleBackendDeleteObject": { - "type": "operation", - "input": { - "target": "cloudserver.client#MultipleBackendDeleteObjectInput" - }, - "output": { - "target": "cloudserver.client#MultipleBackendDeleteObjectOutput" - }, - "traits": { - "smithy.api#http": { - "method": "DELETE", - "uri": "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=deleteobject", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "cloudserver.client#MultipleBackendDeleteObjectInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StorageType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Type" - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Class", - "smithy.api#required": {} - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - } - }, - "cloudserver.client#MultipleBackendDeleteObjectOutput": { - "type": "structure", - "members": { - "versionId": { - "target": "smithy.api#String" - } - } - }, - "cloudserver.client#MultipleBackendDeleteObjectTagging": { - "type": "operation", - "input": { - "target": "cloudserver.client#MultipleBackendDeleteObjectTaggingInput" - }, - "output": { - "target": "cloudserver.client#MultipleBackendDeleteObjectTaggingOutput" - }, - "traits": { - "smithy.api#documentation": "Removes tags from an object in multiple backend storage", - "smithy.api#http": { - "method": "DELETE", - "uri": "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=deleteobjecttagging" - }, - "smithy.api#idempotent": {}, - "smithy.api#suppress": [ - "HttpMethodSemantics.UnexpectedPayload" - ] - } - }, - "cloudserver.client#MultipleBackendDeleteObjectTaggingInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Class", - "smithy.api#required": {} - } - }, - "StorageType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Type" - } - }, - "DataStoreVersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Data-Store-Version-Id" - } - }, - "SourceBucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Source-Bucket" - } - }, - "SourceVersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Source-Version-Id" - } - }, - "ReplicationEndpointSite": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Replication-Endpoint-Site" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Body": { - "target": "smithy.api#Blob", - "traits": { - "smithy.api#httpPayload": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "cloudserver.client#MultipleBackendDeleteObjectTaggingOutput": { - "type": "structure", - "members": { - "versionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Version ID of the object after tag removal" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "cloudserver.client#MultipleBackendHeadObject": { - "type": "operation", - "input": { - "target": "cloudserver.client#MultipleBackendHeadObjectInput" - }, - "output": { - "target": "cloudserver.client#MultipleBackendHeadObjectOutput" - }, - "traits": { - "smithy.api#documentation": "Retrieves metadata for an object from multiple backend storage", - "smithy.api#http": { - "method": "GET", - "uri": "/_/backbeat/multiplebackendmetadata/{Bucket}/{Key+}" - }, - "smithy.api#readonly": {} - } - }, - "cloudserver.client#MultipleBackendHeadObjectInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Locations": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Locations", - "smithy.api#required": {} - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "cloudserver.client#MultipleBackendHeadObjectOutput": { - "type": "structure", - "members": { - "lastModified": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Last modified timestamp" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "cloudserver.client#MultipleBackendInitiateMPU": { - "type": "operation", - "input": { - "target": "cloudserver.client#MultipleBackendInitiateMPUInput" - }, - "output": { - "target": "cloudserver.client#MultipleBackendInitiateMPUOutput" - }, - "traits": { - "smithy.api#documentation": "Initiates a multipart upload for multiple backend storage", - "smithy.api#http": { - "method": "POST", - "uri": "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=initiatempu" - } - } - }, - "cloudserver.client#MultipleBackendInitiateMPUInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Class", - "smithy.api#required": {} - } - }, - "VersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Version-Id" - } - }, - "StorageType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Type" - } - }, - "ContentType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Content-Type" - } - }, - "UserMetaData": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-User-Metadata" - } - }, - "CacheControl": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Cache-Control" - } - }, - "ContentDisposition": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Content-Disposition" - } - }, - "ContentEncoding": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Content-Encoding" - } - }, - "Tags": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Tags" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Body": { - "target": "smithy.api#Blob", - "traits": { - "smithy.api#httpPayload": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "cloudserver.client#MultipleBackendInitiateMPUOutput": { - "type": "structure", - "members": { - "uploadId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Upload ID for the multipart upload" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "cloudserver.client#MultipleBackendPutMPUPart": { - "type": "operation", - "input": { - "target": "cloudserver.client#MultipleBackendPutMPUPartInput" - }, - "output": { - "target": "cloudserver.client#MultipleBackendPutMPUPartOutput" - }, - "traits": { - "aws.auth#unsignedPayload": {}, - "smithy.api#documentation": "Uploads a part for a multipart upload to multiple backend storage", - "smithy.api#http": { - "method": "PUT", - "uri": "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=putpart" - } - } - }, - "cloudserver.client#MultipleBackendPutMPUPartInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StorageType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Type" - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Class", - "smithy.api#required": {} - } - }, - "PartNumber": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#httpHeader": "X-Scal-Part-Number" - } - }, - "UploadId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Upload-Id" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Body": { - "target": "cloudserver.client#StreamingBlob", - "traits": { - "smithy.api#httpPayload": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "cloudserver.client#MultipleBackendPutMPUPartOutput": { - "type": "structure", - "members": { - "partNumber": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Part number" - } - }, - "ETag": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "ETag of the uploaded part" - } - }, - "numberSubParts": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Number of sub-parts" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "cloudserver.client#MultipleBackendPutObject": { - "type": "operation", - "input": { - "target": "cloudserver.client#MultipleBackendPutObjectInput" - }, - "output": { - "target": "cloudserver.client#MultipleBackendPutObjectOutput" - }, - "traits": { - "aws.auth#unsignedPayload": {}, - "smithy.api#http": { - "method": "PUT", - "uri": "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=putobject" - } - } - }, - "cloudserver.client#MultipleBackendPutObjectInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ContentMD5": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "Content-MD5" - } - }, - "ContentType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Content-Type" - } - }, - "UserMetaData": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-User-Metadata" - } - }, - "CacheControl": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Cache-Control" - } - }, - "ContentDisposition": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Content-Disposition" - } - }, - "ContentEncoding": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Content-Encoding" - } - }, - "CanonicalID": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Canonical-Id" - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Class", - "smithy.api#required": {} - } - }, - "StorageType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Type" - } - }, - "VersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Version-Id" - } - }, - "Tags": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Tags" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Body": { - "target": "cloudserver.client#StreamingBlob", - "traits": { - "smithy.api#default": "", - "smithy.api#httpPayload": {} - } - } - } - }, - "cloudserver.client#MultipleBackendPutObjectOutput": { - "type": "structure", - "members": { - "versionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Version ID of the stored object" - } - }, - "location": { - "target": "cloudserver.client#LocationMDList", - "traits": { - "smithy.api#documentation": "List of storage locations where the object was stored" - } - } - } - }, - "cloudserver.client#MultipleBackendPutObjectTagging": { - "type": "operation", - "input": { - "target": "cloudserver.client#MultipleBackendPutObjectTaggingInput" - }, - "output": { - "target": "cloudserver.client#MultipleBackendPutObjectTaggingOutput" - }, - "traits": { - "smithy.api#documentation": "Adds or updates tags for an object in multiple backend storage", - "smithy.api#http": { - "method": "POST", - "uri": "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=puttagging" - } - } - }, - "cloudserver.client#MultipleBackendPutObjectTaggingInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StorageType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Type" - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Storage-Class", - "smithy.api#required": {} - } - }, - "DataStoreVersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Data-Store-Version-Id" - } - }, - "Tags": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Tags" - } - }, - "SourceBucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Source-Bucket" - } - }, - "SourceVersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Source-Version-Id" - } - }, - "ReplicationEndpointSite": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Replication-Endpoint-Site" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Body": { - "target": "smithy.api#Blob", - "traits": { - "smithy.api#httpPayload": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "cloudserver.client#MultipleBackendPutObjectTaggingOutput": { - "type": "structure", - "members": { - "versionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Version ID of the tagged object" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "cloudserver.client#ObjectLifecycle": { - "type": "structure", - "members": { - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The name that you assign to an object" - } - }, - "LastModified": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Creation date of the object" - } - }, - "ETag": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The entity tag is a hash of the object" - } - }, - "Owner": { - "target": "cloudserver.client#Owner", - "traits": { - "smithy.api#documentation": "The owner of the object" - } - }, - "Size": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Size in bytes of the object" - } - }, - "StorageClass": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The class of storage used to store the object" - } - }, - "TagSet": { - "target": "cloudserver.client#TagSet", - "traits": { - "smithy.api#documentation": "Contains the tag set" - } - }, - "staleDate": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Contains the stale date" - } - }, - "VersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Version ID" - } - }, - "DataStoreName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The data location name" - } - }, - "ListType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "List type" - } - } - }, - "traits": { - "smithy.api#documentation": "Object lifecycle information" - } - }, - "cloudserver.client#ObjectLifecycleList": { - "type": "list", - "member": { - "target": "cloudserver.client#ObjectLifecycle" - }, - "traits": { - "smithy.api#documentation": "List of ObjectLifecycle objects" - } - }, - "cloudserver.client#ObjectMD": { - "type": "structure", - "members": { - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" - } - } - }, - "cloudserver.client#ObjectMDList": { - "type": "list", - "member": { - "target": "cloudserver.client#ObjectMD" - } - }, - "cloudserver.client#Owner": { - "type": "structure", - "members": { - "DisplayName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Container for the display name of the owner" - } - }, - "ID": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Container for the ID of the owner" - } - } - }, - "traits": { - "smithy.api#documentation": "Owner information" - } - }, - "cloudserver.client#PutBucketIndexes": { - "type": "operation", - "input": { - "target": "cloudserver.client#PutBucketIndexesInput" - }, - "output": { - "target": "cloudserver.client#PutBucketIndexesOutput" - }, - "traits": { - "smithy.api#http": { - "method": "POST", - "uri": "/_/backbeat/index/{Bucket}?operation=add" - } - } - }, - "cloudserver.client#PutBucketIndexesInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Body": { - "target": "smithy.api#Blob", - "traits": { - "smithy.api#httpPayload": {} - } - } - } - }, - "cloudserver.client#PutBucketIndexesOutput": { - "type": "structure", - "members": {} - }, - "cloudserver.client#PutData": { - "type": "operation", - "input": { - "target": "cloudserver.client#PutDataInput" - }, - "output": { - "target": "cloudserver.client#PutDataOutput" - }, - "traits": { - "aws.auth#unsignedPayload": {}, - "smithy.api#http": { - "method": "PUT", - "uri": "/_/backbeat/data/{Bucket}/{Key+}?v2" - } - } - }, - "cloudserver.client#PutDataInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ContentMD5": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "Content-MD5" - } - }, - "CanonicalID": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Canonical-Id" - } - }, - "VersioningRequired": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#httpHeader": "x-scal-versioning-required" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Body": { - "target": "cloudserver.client#StreamingBlob", - "traits": { - "smithy.api#default": "", - "smithy.api#httpPayload": {} - } - } - } - }, - "cloudserver.client#PutDataOutput": { - "type": "structure", - "members": { - "Location": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#httpPayload": {} - } - }, - "ServerSideEncryption": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-server-side-encryption" - } - }, - "SSECustomerAlgorithm": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" - } - }, - "SSEKMSKeyId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" - } - } - } - }, - "cloudserver.client#PutMetadata": { - "type": "operation", - "input": { - "target": "cloudserver.client#PutMetadataInput" - }, - "output": { - "target": "cloudserver.client#PutMetadataOutput" - }, - "traits": { - "smithy.api#http": { - "method": "PUT", - "uri": "/_/backbeat/metadata/{Bucket}/{Key+}" - } - } - }, - "cloudserver.client#PutMetadataInput": { - "type": "structure", - "members": { - "Bucket": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "VersionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "versionId" - } - }, - "AccountId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpQuery": "accountId" - } - }, - "ContentMD5": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "Content-MD5" - } - }, - "ReplicationContent": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "x-scal-replication-content" - } - }, - "VersioningRequired": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#httpHeader": "x-scal-versioning-required" - } - }, - "RequestUids": { - "target": "smithy.api#String", - "traits": { - "smithy.api#httpHeader": "X-Scal-Request-Uids" - } - }, - "Body": { - "target": "smithy.api#Blob", - "traits": { - "smithy.api#httpPayload": {} - } - } - } - }, - "cloudserver.client#PutMetadataOutput": { - "type": "structure", - "members": { - "versionId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Version ID of the stored metadata" - } - } - } - }, - "cloudserver.client#ReplicationConfigurationObj": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" - } - }, - "cloudserver.client#SensitiveString": { - "type": "string", - "traits": { - "smithy.api#documentation": "Sensitive string that should be redacted in logs", - "smithy.api#sensitive": {} - } - }, - "cloudserver.client#ServerSideEncryptionMap": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" - } - }, - "cloudserver.client#StreamingBlob": { - "type": "blob", - "traits": { - "smithy.api#documentation": "Streaming blob type for binary data transfer", - "smithy.api#requiresLength": {}, - "smithy.api#streaming": {} - } - }, - "cloudserver.client#StreamingBlobOutput": { - "type": "blob", - "traits": { - "smithy.api#streaming": {} - } - }, - "cloudserver.client#StringList": { - "type": "list", - "member": { - "target": "smithy.api#String" - } - }, - "cloudserver.client#Tag": { - "type": "structure", - "members": { - "Key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Name of the tag key", - "smithy.api#required": {} - } - }, - "Value": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Value of the tag", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Tag key-value pair" - } - }, - "cloudserver.client#TagSet": { - "type": "list", - "member": { - "target": "cloudserver.client#Tag" - }, - "traits": { - "smithy.api#documentation": "List of tags" - } - }, - "cloudserver.client#VersioningConfigurationObj": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" - } - }, - "cloudserver.client#cloudserver": { - "type": "service", - "version": "2017-07-01", - "operations": [ - { - "target": "cloudserver.client#BatchDelete" - }, - { - "target": "cloudserver.client#DeleteBucketIndexes" - }, - { - "target": "cloudserver.client#DeleteObjectFromExpiration" - }, - { - "target": "cloudserver.client#GetBucketCseq" - }, - { - "target": "cloudserver.client#GetBucketIndexes" - }, - { - "target": "cloudserver.client#GetBucketMetadata" - }, - { - "target": "cloudserver.client#GetMetadata" - }, - { - "target": "cloudserver.client#GetObject" - }, - { - "target": "cloudserver.client#GetObjectList" - }, - { - "target": "cloudserver.client#GetRaftBuckets" - }, - { - "target": "cloudserver.client#GetRaftId" - }, - { - "target": "cloudserver.client#GetRaftLog" - }, - { - "target": "cloudserver.client#ListLifecycleCurrents" - }, - { - "target": "cloudserver.client#ListLifecycleNonCurrents" - }, - { - "target": "cloudserver.client#ListLifecycleOrphans" - }, - { - "target": "cloudserver.client#MultipleBackendAbortMPU" - }, - { - "target": "cloudserver.client#MultipleBackendCompleteMPU" - }, - { - "target": "cloudserver.client#MultipleBackendDeleteObject" - }, - { - "target": "cloudserver.client#MultipleBackendDeleteObjectTagging" - }, - { - "target": "cloudserver.client#MultipleBackendHeadObject" - }, - { - "target": "cloudserver.client#MultipleBackendInitiateMPU" - }, - { - "target": "cloudserver.client#MultipleBackendPutMPUPart" - }, - { - "target": "cloudserver.client#MultipleBackendPutObject" - }, - { - "target": "cloudserver.client#MultipleBackendPutObjectTagging" - }, - { - "target": "cloudserver.client#PutBucketIndexes" - }, - { - "target": "cloudserver.client#PutData" - }, - { - "target": "cloudserver.client#PutMetadata" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "cloudserver" - }, - "aws.auth#sigv4": { - "name": "s3" - }, - "aws.protocols#restJson1": {} - } - }, - "smithy.protocols#StringList": { - "type": "list", - "member": { - "target": "smithy.api#String" - }, - "traits": { - "smithy.api#documentation": "A list of String shapes.", - "smithy.api#private": {} - } - }, - "smithy.protocols#rpcv2Cbor": { - "type": "structure", - "members": { - "http": { - "target": "smithy.protocols#StringList", - "traits": { - "smithy.api#documentation": "Priority ordered list of supported HTTP protocol versions." - } - }, - "eventStreamHttp": { - "target": "smithy.protocols#StringList", - "traits": { - "smithy.api#documentation": "Priority ordered list of supported HTTP protocol versions\nthat are required when using event streams." - } - } - }, - "traits": { - "smithy.api#documentation": "An RPC-based protocol that serializes CBOR payloads.", - "smithy.api#protocolDefinition": { - "traits": [ - "smithy.api#cors", - "smithy.api#endpoint", - "smithy.api#hostLabel", - "smithy.api#httpError" - ] - }, - "smithy.api#trait": { - "selector": "service" - }, - "smithy.api#traitValidators": { - "rpcv2Cbor.NoDocuments": { - "selector": "service ~> member :test(> document)", - "message": "This protocol does not support document types in most possible scenarios.", - "severity": "DANGER" - } - } - } - }, - "smithy.rules#ClientContextParamDefinition": { - "type": "structure", - "members": { - "type": { - "target": "smithy.rules#ShapeType", - "traits": { - "smithy.api#documentation": "The Smithy shape type that should be used to generate a client configurable for the rule-set parameter.", - "smithy.api#required": {} - } - }, - "documentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Documentation string to be generated with the client parameter." - } - } - }, - "traits": { - "smithy.api#documentation": "A client context parameter definition.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#EndpointExpectation": { - "type": "structure", - "members": { - "url": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The expected endpoint URL to be resolved for this test case." - } - }, - "headers": { - "target": "smithy.rules#EndpointHeaders", - "traits": { - "smithy.api#documentation": "The transport headers to be set for this test case." - } - }, - "properties": { - "target": "smithy.rules#Properties", - "traits": { - "smithy.api#documentation": "The properties for the endpoint for this test case." - } - } - }, - "traits": { - "smithy.api#documentation": "A description of an expected endpoint to be resolved for an endpoint rule-set test case.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#EndpointHeaderValue": { - "type": "list", - "member": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A transport header value." - } - }, - "traits": { - "smithy.api#documentation": "A list of transport header values.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#EndpointHeaders": { - "type": "map", - "key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The transport header name." - } - }, - "value": { - "target": "smithy.rules#EndpointHeaderValue", - "traits": { - "smithy.api#documentation": "The transport header values." - } - }, - "traits": { - "smithy.api#documentation": "A map of header names to list of values.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#EndpointTest": { - "type": "structure", - "members": { - "documentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Documentation describing the test case." - } - }, - "params": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#documentation": "Defines rule-set parameters and values to use for testing rules-engine." - } - }, - "operationInputs": { - "target": "smithy.rules#OperationInputs", - "traits": { - "smithy.api#documentation": "Defines a set of service operation configurations used for testing the rules-engine." - } - }, - "expect": { - "target": "smithy.rules#EndpointTestExpectation", - "traits": { - "smithy.api#documentation": "The expected outcome of the test case.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Describes an endpoint test case for validation of an endpoint rule-set.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#EndpointTestExpectation": { - "type": "union", - "members": { - "error": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A test case expectation resulting in an error." - } - }, - "endpoint": { - "target": "smithy.rules#EndpointExpectation", - "traits": { - "smithy.api#documentation": "A test case expectation resulting in an endpoint." - } - } - }, - "traits": { - "smithy.api#documentation": "An endpoint rule-set test expectation describing an expected endpoint or error.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#EndpointTestList": { - "type": "list", - "member": { - "target": "smithy.rules#EndpointTest" - }, - "traits": { - "smithy.api#documentation": "A list of endpoint rule-set tests.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#OperationContextParamDefinition": { - "type": "structure", - "members": { - "path": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "a JMESPath expression to select element(s) from the operation input to bind to.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "An operation context parameter definition.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#OperationInput": { - "type": "structure", - "members": { - "operationName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The name of the service operation targeted by the test.", - "smithy.api#required": {} - } - }, - "operationParams": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#documentation": "Defines the input parameters used to generate the operation request.\nThese parameters MUST be compatible with the input of the operation." - } - }, - "builtInParams": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#documentation": "Defines the set of rule-set built-ins and their corresponding values to be set." - } - }, - "clientParams": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#documentation": "Defines the set of client configuration parameters to be set." - } - } - }, - "traits": { - "smithy.api#documentation": "A description of a service operation and input used to verify an endpoint rule-set test case.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#OperationInputs": { - "type": "list", - "member": { - "target": "smithy.rules#OperationInput", - "traits": { - "smithy.api#documentation": "The service operation configuration to be used for testing the rules-engine." - } - }, - "traits": { - "smithy.api#documentation": "A list of operation input descriptions for an endpoint rule-set test case.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#Properties": { - "type": "map", - "key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The property name." - } - }, - "value": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#documentation": "The property value." - } - }, - "traits": { - "smithy.api#documentation": "A map of strings to document values.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#ShapeType": { - "type": "enum", - "members": { - "STRING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Indicates a Smithy string shape type.", - "smithy.api#enumValue": "string" - } - }, - "BOOLEAN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Indicates a Smithy boolean shape type.", - "smithy.api#enumValue": "boolean" - } - } - }, - "traits": { - "smithy.api#documentation": "An enum representing supported Smithy shape types.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#StaticContextParamDefinition": { - "type": "structure", - "members": { - "value": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#documentation": "The value to set the associated rule-set parameter to.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "A static context parameter definition.", - "smithy.api#private": {}, - "smithy.api#unstable": {} - } - }, - "smithy.rules#clientContextParams": { - "type": "map", - "key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The rule-set parameter name." - } - }, - "value": { - "target": "smithy.rules#ClientContextParamDefinition", - "traits": { - "smithy.api#documentation": "The client parameter definition." - } - }, - "traits": { - "smithy.api#documentation": "Defines one or more named rule-set parameters to be generated as configurable client parameters.\nThe type specified for the client parameter MUST match the parameter type defined in the rule-set.", - "smithy.api#trait": { - "selector": "service" - }, - "smithy.api#unstable": {} - } - }, - "smithy.rules#contextParam": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The rule-set parameter name.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Binds the targeted member of an operation's input structure to the named rule-set parameter.\nThe type of the shape targeted by the trait MUST match the parameter type defined in the rule-set.", - "smithy.api#trait": { - "selector": "operation -[input]-> structure > member" - }, - "smithy.api#unstable": {} - } - }, - "smithy.rules#endpointRuleSet": { - "type": "document", - "traits": { - "smithy.api#documentation": "Defines an endpoint rule-set used to resolve the client's transport endpoint.", - "smithy.api#trait": { - "selector": "service" - }, - "smithy.api#unstable": {} - } - }, - "smithy.rules#endpointTests": { - "type": "structure", - "members": { - "version": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The endpoint tests schema version.", - "smithy.api#required": {} - } - }, - "testCases": { - "target": "smithy.rules#EndpointTestList", - "traits": { - "smithy.api#documentation": "List of endpoint test cases." - } - } - }, - "traits": { - "smithy.api#documentation": "Defines endpoint test-cases for validating a client's endpoint rule-set.", - "smithy.api#trait": { - "selector": "service[trait|smithy.rules#endpointRuleSet]" - }, - "smithy.api#unstable": {} - } - }, - "smithy.rules#operationContextParams": { - "type": "map", - "key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The rule-set parameter name." - } - }, - "value": { - "target": "smithy.rules#OperationContextParamDefinition", - "traits": { - "smithy.api#documentation": "The static parameter definition." - } - }, - "traits": { - "smithy.api#documentation": "Binds one or more named rule-set parameters to elements contained in the operation's input structure.\nThe type of the shapes targeted by the trait MUST match the parameter types defined in the rule-set.", - "smithy.api#trait": { - "selector": "operation" - }, - "smithy.api#unstable": {} - } - }, - "smithy.rules#staticContextParams": { - "type": "map", - "key": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The rule-set parameter name." - } - }, - "value": { - "target": "smithy.rules#StaticContextParamDefinition", - "traits": { - "smithy.api#documentation": "The static parameter definition." - } - }, - "traits": { - "smithy.api#documentation": "Binds one or more named rule-set parameters to the defined static value for the targeted operation.\nThe type of the targeted shape targeted by the trait MUST match the parameter type defined in the rule-set.", - "smithy.api#trait": { - "selector": "operation" - }, - "smithy.api#unstable": {} - } - }, - "smithy.test#AppliesTo": { - "type": "enum", - "members": { - "CLIENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "The test only applies to client implementations.", - "smithy.api#enumValue": "client" - } - }, - "SERVER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "The test only applies to server implementations.", - "smithy.api#enumValue": "server" - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#HttpMalformedRequestDefinition": { - "type": "structure", - "members": { - "method": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The HTTP request method.", - "smithy.api#length": { - "min": 1 - }, - "smithy.api#required": {} - } - }, - "uri": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The request-target of the HTTP request, not including\nthe query string (for example, \"/foo/bar\").", - "smithy.api#length": { - "min": 1 - }, - "smithy.api#required": {} - } - }, - "host": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The host / endpoint provided to the client, not including the path\nor scheme (for example, \"example.com\")." - } - }, - "queryParams": { - "target": "smithy.test#StringList", - "traits": { - "smithy.api#documentation": "A list of the serialized query string parameters to include in the request.\n\nEach element in the list is a query string key value pair\nthat starts with the query string parameter name optionally\nfollowed by \"=\", optionally followed by the query string\nparameter value. For example, \"foo=bar\", \"foo=\", and \"foo\"\nare all valid values. The query string parameter name and\nthe value MUST appear in the format in which it is expected\nto be sent over the wire; if a key or value needs to be\npercent-encoded, then it MUST appear percent-encoded in this list." - } - }, - "headers": { - "target": "smithy.test#StringMap", - "traits": { - "smithy.api#documentation": "Defines a map of HTTP headers to include in the request" - } - }, - "body": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The HTTP message body to include in the request" - } - }, - "bodyMediaType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The media type of the `body`.\n\nThis is used to help test runners to parse and validate the expected\ndata against generated data." - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#HttpMalformedRequestTestCase": { - "type": "structure", - "members": { - "id": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The identifier of the test case. This identifier can be used by\nprotocol test implementations to filter out unsupported test\ncases by ID, to generate test case names, etc. The provided `id`\nMUST match Smithy's `identifier` ABNF. No two `httpMalformedRequestTests`\ntest cases can share the same ID.", - "smithy.api#pattern": "^[A-Za-z_][A-Za-z0-9_]+$", - "smithy.api#required": {} - } - }, - "protocol": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The name of the protocol to test.", - "smithy.api#idRef": { - "selector": "[trait|protocolDefinition]", - "failWhenMissing": true - }, - "smithy.api#required": {} - } - }, - "request": { - "target": "smithy.test#HttpMalformedRequestDefinition", - "traits": { - "smithy.api#documentation": "The malformed request to send.", - "smithy.api#required": {} - } - }, - "response": { - "target": "smithy.test#HttpMalformedResponseDefinition", - "traits": { - "smithy.api#documentation": "The expected response.", - "smithy.api#required": {} - } - }, - "documentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A description of the test and what is being asserted." - } - }, - "tags": { - "target": "smithy.test#NonEmptyStringList", - "traits": { - "smithy.api#documentation": "Applies a list of tags to the test." - } - }, - "testParameters": { - "target": "smithy.test#HttpMalformedRequestTestParametersDefinition", - "traits": { - "smithy.api#documentation": "An optional set of test parameters for parameterized testing." - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#HttpMalformedRequestTestParametersDefinition": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.test#StringList" - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#HttpMalformedResponseBodyAssertion": { - "type": "union", - "members": { - "contents": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Defines the expected serialized response body, which will be matched\nexactly." - } - }, - "messageRegex": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A regex to evaluate against the `message` field in the body. For\nresponses that may have some variance from platform to platform,\nsuch as those that include messages from a parser." - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#HttpMalformedResponseBodyDefinition": { - "type": "structure", - "members": { - "assertion": { - "target": "smithy.test#HttpMalformedResponseBodyAssertion", - "traits": { - "smithy.api#documentation": "The assertion to execute against the response body.", - "smithy.api#required": {} - } - }, - "mediaType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The media type of the response body.\n\nThis is used to help test runners to parse and evaluate\n`contents' and `messageRegex` in the assertion", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#HttpMalformedResponseDefinition": { - "type": "structure", - "members": { - "headers": { - "target": "smithy.test#StringMap", - "traits": { - "smithy.api#documentation": "Defines a map of expected HTTP headers.\n\nHeaders that are not listed in this map are ignored." - } - }, - "code": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Defines the HTTP response code.", - "smithy.api#range": { - "min": 100, - "max": 599 - }, - "smithy.api#required": {} - } - }, - "body": { - "target": "smithy.test#HttpMalformedResponseBodyDefinition", - "traits": { - "smithy.api#documentation": "The expected response body." - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#HttpRequestTestCase": { - "type": "structure", - "members": { - "id": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The identifier of the test case. This identifier can be used by\nprotocol test implementations to filter out unsupported test\ncases by ID, to generate test case names, etc. The provided `id`\nMUST match Smithy's `identifier` ABNF. No two `httpRequestTests`\ntest cases can share the same ID.", - "smithy.api#pattern": "^[A-Za-z_][A-Za-z0-9_]+$", - "smithy.api#required": {} - } - }, - "protocol": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The name of the protocol to test.", - "smithy.api#idRef": { - "selector": "[trait|protocolDefinition]", - "failWhenMissing": true - }, - "smithy.api#required": {} - } - }, - "method": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The expected serialized HTTP request method.", - "smithy.api#length": { - "min": 1 - }, - "smithy.api#required": {} - } - }, - "uri": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The request-target of the HTTP request, not including\nthe query string (for example, \"/foo/bar\").", - "smithy.api#length": { - "min": 1 - }, - "smithy.api#required": {} - } - }, - "host": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The host / endpoint provided to the client, not including the path\nor scheme (for example, \"example.com\")." - } - }, - "resolvedHost": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The host / endpoint that the client should send to, not including\nthe path or scheme (for example, \"prefix.example.com\").\n\nThis can differ from the host provided to the client if the `hostPrefix`\nmember of the `endpoint` trait is set, for instance." - } - }, - "authScheme": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The optional authentication scheme shape ID to assume. It's\npossible that specific authentication schemes might influence\nthe serialization logic of an HTTP request.", - "smithy.api#idRef": { - "selector": "[trait|authDefinition]", - "failWhenMissing": true - } - } - }, - "queryParams": { - "target": "smithy.test#StringList", - "traits": { - "smithy.api#documentation": "A list of the expected serialized query string parameters.\n\nEach element in the list is a query string key value pair\nthat starts with the query string parameter name optionally\nfollowed by \"=\", optionally followed by the query string\nparameter value. For example, \"foo=bar\", \"foo=\", and \"foo\"\nare all valid values. The query string parameter name and\nthe value MUST appear in the format in which it is expected\nto be sent over the wire; if a key or value needs to be\npercent-encoded, then it MUST appear percent-encoded in this list.\n\nA serialized HTTP request is not in compliance with the protocol\nif any query string parameter defined in `queryParams` is not\ndefined in the request or if the value of a query string parameter\nin the request differs from the expected value.\n\n`queryParams` applies no constraints on additional query parameters." - } - }, - "forbidQueryParams": { - "target": "smithy.test#StringList", - "traits": { - "smithy.api#documentation": "A list of query string parameter names that must not appear in the\nserialized HTTP request.\n\nEach value MUST appear in the format in which it is sent over the\nwire; if a key needs to be percent-encoded, then it MUST appear\npercent-encoded in this list." - } - }, - "requireQueryParams": { - "target": "smithy.test#StringList", - "traits": { - "smithy.api#documentation": "A list of query string parameter names that MUST appear in the\nserialized request URI, but no assertion is made on the value.\n\nEach value MUST appear in the format in which it is sent over the\nwire; if a key needs to be percent-encoded, then it MUST appear\npercent-encoded in this list." - } - }, - "headers": { - "target": "smithy.test#StringMap", - "traits": { - "smithy.api#documentation": "Defines a map of expected HTTP headers.\n\nHeaders that are not listed in this map are ignored unless they are\nexplicitly forbidden through `forbidHeaders`." - } - }, - "forbidHeaders": { - "target": "smithy.test#StringList", - "traits": { - "smithy.api#documentation": "A list of header field names that must not appear in the serialized\nHTTP request." - } - }, - "requireHeaders": { - "target": "smithy.test#StringList", - "traits": { - "smithy.api#documentation": "A list of header field names that must appear in the serialized\nHTTP message, but no assertion is made on the value.\n\nHeaders listed in `headers` do not need to appear in this list." - } - }, - "body": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The expected HTTP message body.\n\nIf no request body is defined, then no assertions are made about\nthe body of the message." - } - }, - "bodyMediaType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The media type of the `body`.\n\nThis is used to help test runners to parse and validate the expected\ndata against generated data." - } - }, - "params": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#documentation": "Defines the input parameters used to generated the HTTP request.\n\nThese parameters MUST be compatible with the input of the operation." - } - }, - "vendorParams": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#documentation": "Defines vendor-specific parameters that are used to influence the\nrequest. For example, some vendors might utilize environment\nvariables, configuration files on disk, or other means to influence\nthe serialization formats used by clients or servers.\n\nIf a `vendorParamsShape` is set, these parameters MUST be compatible\nwith that shape's definition." - } - }, - "vendorParamsShape": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A shape to be used to validate the `vendorParams` member contents.\n\nIf set, the parameters in `vendorParams` MUST be compatible with this\nshape's definition.", - "smithy.api#idRef": { - "failWhenMissing": true - } - } - }, - "documentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A description of the test and what is being asserted." - } - }, - "tags": { - "target": "smithy.test#NonEmptyStringList", - "traits": { - "smithy.api#documentation": "Applies a list of tags to the test." - } - }, - "appliesTo": { - "target": "smithy.test#AppliesTo", - "traits": { - "smithy.api#documentation": "Indicates that the test case is only to be implemented by \"client\" or\n\"server\" implementations. This property is useful for identifying and\ntesting edge cases of clients and servers that are impossible or\nundesirable to test in *both* client and server implementations." - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#HttpResponseTestCase": { - "type": "structure", - "members": { - "id": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The identifier of the test case. This identifier can be used by\nprotocol test implementations to filter out unsupported test\ncases by ID, to generate test case names, etc. The provided `id`\nMUST match Smithy's `identifier` ABNF. No two `httpResponseTests`\ntest cases can share the same ID.", - "smithy.api#pattern": "^[A-Za-z_][A-Za-z0-9_]+$", - "smithy.api#required": {} - } - }, - "protocol": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The shape ID of the protocol to test.", - "smithy.api#idRef": { - "selector": "[trait|protocolDefinition]", - "failWhenMissing": true - }, - "smithy.api#required": {} - } - }, - "code": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "Defines the HTTP response code.", - "smithy.api#range": { - "min": 100, - "max": 599 - }, - "smithy.api#required": {} - } - }, - "authScheme": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The optional authentication scheme shape ID to assume. It's possible\nthat specific authentication schemes might influence the serialization\nlogic of an HTTP response.", - "smithy.api#idRef": { - "selector": "[trait|authDefinition]", - "failWhenMissing": true - } - } - }, - "headers": { - "target": "smithy.test#StringMap", - "traits": { - "smithy.api#documentation": "A map of expected HTTP headers. Each key represents a header field\nname and each value represents the expected header value. An HTTP\nresponse is not in compliance with the protocol if any listed header\nis missing from the serialized response or if the expected header\nvalue differs from the serialized response value.\n\n`headers` applies no constraints on additional headers." - } - }, - "forbidHeaders": { - "target": "smithy.test#StringList", - "traits": { - "smithy.api#documentation": "A list of header field names that must not appear." - } - }, - "requireHeaders": { - "target": "smithy.test#StringList", - "traits": { - "smithy.api#documentation": "A list of header field names that must appear in the serialized\nHTTP message, but no assertion is made on the value.\n\nHeaders listed in `headers` map do not need to appear in this list." - } - }, - "body": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Defines the HTTP message body.\n\nIf no response body is defined, then no assertions are made about\nthe body of the message." - } - }, - "bodyMediaType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The media type of the `body`.\n\nThis is used to help test runners to parse and validate the expected\ndata against generated data. Binary media type formats require that\nthe contents of `body` are base64 encoded." - } - }, - "params": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#documentation": "Defines the output parameters deserialized from the HTTP response.\n\nThese parameters MUST be compatible with the output of the operation." - } - }, - "vendorParams": { - "target": "smithy.api#Document", - "traits": { - "smithy.api#documentation": "Defines vendor-specific parameters that are used to influence the\nresponse. For example, some vendors might utilize environment\nvariables, configuration files on disk, or other means to influence\nthe serialization formats used by clients or servers.\n\nIf a `vendorParamsShape` is set, these parameters MUST be compatible\nwith that shape's definition." - } - }, - "vendorParamsShape": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A shape to be used to validate the `vendorParams` member contents.\n\nIf set, the parameters in `vendorParams` MUST be compatible with this\nshape's definition.", - "smithy.api#idRef": { - "failWhenMissing": true - } - } - }, - "documentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A description of the test and what is being asserted." - } - }, - "tags": { - "target": "smithy.test#NonEmptyStringList", - "traits": { - "smithy.api#documentation": "Applies a list of tags to the test." - } - }, - "appliesTo": { - "target": "smithy.test#AppliesTo", - "traits": { - "smithy.api#documentation": "Indicates that the test case is only to be implemented by \"client\" or\n\"server\" implementations. This property is useful for identifying and\ntesting edge cases of clients and servers that are impossible or\nundesirable to test in *both* client and server implementations." - } - } - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#NonEmptyString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - }, - "smithy.api#private": {} - } - }, - "smithy.test#NonEmptyStringList": { - "type": "list", - "member": { - "target": "smithy.test#NonEmptyString" - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#StringList": { - "type": "list", - "member": { - "target": "smithy.api#String" - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#StringMap": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.test#httpMalformedRequestTests": { - "type": "list", - "member": { - "target": "smithy.test#HttpMalformedRequestTestCase" - }, - "traits": { - "smithy.api#documentation": "Define how a malformed HTTP request is rejected by a server given a specific protocol", - "smithy.api#length": { - "min": 1 - }, - "smithy.api#trait": { - "selector": "operation" - }, - "smithy.api#unstable": {} - } - }, - "smithy.test#httpRequestTests": { - "type": "list", - "member": { - "target": "smithy.test#HttpRequestTestCase" - }, - "traits": { - "smithy.api#documentation": "Define how an HTTP request is serialized given a specific protocol,\nauthentication scheme, and set of input parameters.", - "smithy.api#length": { - "min": 1 - }, - "smithy.api#trait": { - "selector": "operation" - } - } - }, - "smithy.test#httpResponseTests": { - "type": "list", - "member": { - "target": "smithy.test#HttpResponseTestCase" - }, - "traits": { - "smithy.api#documentation": "Define how an HTTP response is serialized given a specific protocol,\nauthentication scheme, and set of output or error parameters.", - "smithy.api#length": { - "min": 1 - }, - "smithy.api#trait": { - "selector": ":test(operation, structure[trait|error])" - } - } - }, - "smithy.waiters#Acceptor": { - "type": "structure", - "members": { - "state": { - "target": "smithy.waiters#AcceptorState", - "traits": { - "smithy.api#documentation": "The state the acceptor transitions to when matched.", - "smithy.api#required": {} - } - }, - "matcher": { - "target": "smithy.waiters#Matcher", - "traits": { - "smithy.api#documentation": "The matcher used to test if the resource is in a given state.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Represents an acceptor in a waiter's state machine.", - "smithy.api#private": {} - } - }, - "smithy.waiters#AcceptorState": { - "type": "enum", - "members": { - "SUCCESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "The waiter successfully finished waiting. This is a terminal\nstate that causes the waiter to stop.", - "smithy.api#enumValue": "success" - } - }, - "FAILURE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "The waiter failed to enter into the desired state. This is a\nterminal state that causes the waiter to stop.", - "smithy.api#enumValue": "failure" - } - }, - "RETRY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "The waiter will retry the operation. This state transition is\nimplicit if no accepter causes a state transition.", - "smithy.api#enumValue": "retry" - } - } - }, - "traits": { - "smithy.api#documentation": "The transition state of a waiter.", - "smithy.api#private": {} - } - }, - "smithy.waiters#Acceptors": { - "type": "list", - "member": { - "target": "smithy.waiters#Acceptor" - }, - "traits": { - "smithy.api#length": { - "min": 1 - }, - "smithy.api#private": {} - } - }, - "smithy.waiters#Matcher": { - "type": "union", - "members": { - "output": { - "target": "smithy.waiters#PathMatcher", - "traits": { - "smithy.api#documentation": "Matches on the successful output of an operation using a\nJMESPath expression." - } - }, - "inputOutput": { - "target": "smithy.waiters#PathMatcher", - "traits": { - "smithy.api#documentation": "Matches on both the input and output of an operation using a JMESPath\nexpression. Input parameters are available through the top-level\n`input` field, and output data is available through the top-level\n`output` field. This matcher can only be used on operations that\ndefine both input and output. This matcher is checked only if an\noperation completes successfully." - } - }, - "errorType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Matches if an operation returns an error and the error matches\nthe expected error type. If an absolute shape ID is provided, the\nerror is matched exactly on the shape ID. A shape name can be\nprovided to match an error in any namespace with the given name." - } - }, - "success": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "When set to `true`, matches when an operation returns a successful\nresponse. When set to `false`, matches when an operation fails with\nany error." - } - } - }, - "traits": { - "smithy.api#documentation": "Defines how an acceptor determines if it matches the current state of\na resource.", - "smithy.api#private": {} - } - }, - "smithy.waiters#NonEmptyString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - }, - "smithy.api#private": {} - } - }, - "smithy.waiters#NonEmptyStringList": { - "type": "list", - "member": { - "target": "smithy.waiters#NonEmptyString" - }, - "traits": { - "smithy.api#private": {} - } - }, - "smithy.waiters#PathComparator": { - "type": "enum", - "members": { - "STRING_EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Matches if the return value is a string that is equal to the expected string.", - "smithy.api#enumValue": "stringEquals" - } - }, - "BOOLEAN_EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Matches if the return value is a boolean that is equal to the string literal 'true' or 'false'.", - "smithy.api#enumValue": "booleanEquals" - } - }, - "ALL_STRING_EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Matches if all values in the list matches the expected string.", - "smithy.api#enumValue": "allStringEquals" - } - }, - "ANY_STRING_EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#documentation": "Matches if any value in the list matches the expected string.", - "smithy.api#enumValue": "anyStringEquals" - } - } - }, - "traits": { - "smithy.api#documentation": "Defines a comparison to perform in a PathMatcher.", - "smithy.api#private": {} - } - }, - "smithy.waiters#PathMatcher": { - "type": "structure", - "members": { - "path": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A JMESPath expression applied to the input or output of an operation.", - "smithy.api#required": {} - } - }, - "expected": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The expected return value of the expression.", - "smithy.api#required": {} - } - }, - "comparator": { - "target": "smithy.waiters#PathComparator", - "traits": { - "smithy.api#documentation": "The comparator used to compare the result of the expression with the\nexpected value.", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "Defines how to test the result of a JMESPath expression against\nan expected value.", - "smithy.api#private": {} - } - }, - "smithy.waiters#Waiter": { - "type": "structure", - "members": { - "documentation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Documentation about the waiter. Can use CommonMark." - } - }, - "acceptors": { - "target": "smithy.waiters#Acceptors", - "traits": { - "smithy.api#documentation": "An ordered array of acceptors to check after executing an operation.", - "smithy.api#required": {} - } - }, - "minDelay": { - "target": "smithy.waiters#WaiterDelay", - "traits": { - "smithy.api#default": 2, - "smithy.api#documentation": "The minimum amount of time in seconds to delay between each retry.\nThis value defaults to 2 if not specified. If specified, this value\nMUST be greater than or equal to 1 and less than or equal to\n`maxDelay`." - } - }, - "maxDelay": { - "target": "smithy.waiters#WaiterDelay", - "traits": { - "smithy.api#default": 120, - "smithy.api#documentation": "The maximum amount of time in seconds to delay between each retry.\nThis value defaults to 120 if not specified (or, 2 minutes). If\nspecified, this value MUST be greater than or equal to 1." - } - }, - "deprecated": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Indicates if the waiter is considered deprecated. A waiter SHOULD\nbe marked as deprecated if it has been replaced by another waiter or\nif it is no longer needed (for example, if a resource changes from\neventually consistent to strongly consistent)." - } - }, - "tags": { - "target": "smithy.waiters#NonEmptyStringList", - "traits": { - "smithy.api#documentation": "A list of tags associated with the waiter that allow waiters to be\ncategorized and grouped." - } - } - }, - "traits": { - "smithy.api#documentation": "Defines an individual operation waiter.", - "smithy.api#private": {} - } - }, - "smithy.waiters#WaiterDelay": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1 - } - } - }, - "smithy.waiters#WaiterName": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[A-Z]+[A-Za-z0-9]*$" - } - }, - "smithy.waiters#waitable": { - "type": "map", - "key": { - "target": "smithy.waiters#WaiterName" - }, - "value": { - "target": "smithy.waiters#Waiter" - }, - "traits": { - "smithy.api#documentation": "Indicates that an operation has various named \"waiters\" that can be used\nto poll a resource until it enters a desired state.", - "smithy.api#length": { - "min": 1 - }, - "smithy.api#trait": { - "selector": "operation :not(-[input, output]-> structure > member > union[trait|streaming])" - } - } - } - } -} diff --git a/build/smithy/source/sources/batchDelete.smithy b/build/smithy/source/sources/batchDelete.smithy deleted file mode 100644 index 5e9ff938..00000000 --- a/build/smithy/source/sources/batchDelete.smithy +++ /dev/null @@ -1,59 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@idempotent -@http(method: "POST", uri: "/_/backbeat/batchdelete/{Bucket}/{Key+}") -operation BatchDelete { - input: BatchDeleteInput, - output: BatchDeleteOutput -} - -structure BatchDeleteInput { - @required - @httpLabel - Bucket: String, - - @required - @httpLabel - Key: String, - - @httpHeader("If-Unmodified-Since") - IfUnmodifiedSince: String, - - @httpHeader("X-Scal-Storage-Class") - StorageClass: String, - - @httpHeader("X-Scal-Tags") - Tags: String, - - @httpHeader("X-Scal-Content-Type") - ContentType: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - /// List of locations to delete - Locations: BatchDeleteLocationList -} - -list BatchDeleteLocationList { - member: BatchDeleteLocation -} - -structure BatchDeleteLocation { - /// The data store name where the object is stored - dataStoreName: String, - - /// The storage key for the object - key: String, - - /// Size of the object in bytes - size: Integer, - - /// Version ID in the data store - dataStoreVersionId: String -} - -structure BatchDeleteOutput { - // Empty structure as per API specification -} \ No newline at end of file diff --git a/build/smithy/source/sources/cloudserver.smithy b/build/smithy/source/sources/cloudserver.smithy deleted file mode 100644 index 607f87cb..00000000 --- a/build/smithy/source/sources/cloudserver.smithy +++ /dev/null @@ -1,43 +0,0 @@ -$version: "2.0" - -namespace cloudserver.client - -use aws.protocols#restJson1 -use aws.auth#sigv4 -use aws.api#service - -@restJson1 -@sigv4(name: "s3") -@service(sdkId: "cloudserver") -service cloudserver { - version: "2017-07-01", - operations: [ - BatchDelete, - DeleteBucketIndexes, - DeleteObjectFromExpiration, - GetBucketCseq, - GetBucketIndexes, - GetBucketMetadata, - GetMetadata, - GetObject, - GetObjectList, - GetRaftBuckets, - GetRaftId, - GetRaftLog, - ListLifecycleCurrents, - ListLifecycleNonCurrents, - ListLifecycleOrphans, - MultipleBackendAbortMPU, - MultipleBackendCompleteMPU, - MultipleBackendDeleteObject, - MultipleBackendDeleteObjectTagging, - MultipleBackendHeadObject, - MultipleBackendInitiateMPU, - MultipleBackendPutMPUPart, - MultipleBackendPutObject, - MultipleBackendPutObjectTagging, - PutBucketIndexes, - PutData, - PutMetadata, - ] -} diff --git a/build/smithy/source/sources/commonStructures.smithy b/build/smithy/source/sources/commonStructures.smithy deleted file mode 100644 index 02b67741..00000000 --- a/build/smithy/source/sources/commonStructures.smithy +++ /dev/null @@ -1,47 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// Streaming blob type for binary data transfer -@streaming -@requiresLength -blob StreamingBlob - -@streaming -blob StreamingBlobOutput - -/// Sensitive string that should be redacted in logs -@sensitive -string SensitiveString - -/// Map of metadata key-value pairs -map MetadataMap { - key: String, - value: String -} - -list LocationMDList { - member: LocationMDObj -} - -structure LocationMDObj { - /// Storage key for this location - key: String, - - /// Size of the data stored at this location - size: Integer, - - /// Start position/offset for this data segment - start: Integer, - - /// Name of the data store where this is located - dataStoreName: String, - - /// Type of the data store (e.g., file, mem, etc.) - dataStoreType: String, - - /// ETag from the data store for this location - dataStoreETag: String, - - /// Version ID in the data store for this location - dataStoreVersionId: String -} \ No newline at end of file diff --git a/build/smithy/source/sources/deleteBucketIndexes.smithy b/build/smithy/source/sources/deleteBucketIndexes.smithy deleted file mode 100644 index 54a14ac4..00000000 --- a/build/smithy/source/sources/deleteBucketIndexes.smithy +++ /dev/null @@ -1,25 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@http(method: "POST", uri: "/_/backbeat/index/{Bucket}?operation=delete") -@idempotent -operation DeleteBucketIndexes { - input: DeleteBucketIndexesInput, - output: DeleteBucketIndexesOutput -} - -structure DeleteBucketIndexesInput { - @required - @httpLabel - Bucket: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - @httpPayload - Body: Blob -} - -structure DeleteBucketIndexesOutput { - // Empty response body -} \ No newline at end of file diff --git a/build/smithy/source/sources/deleteObjectFromExpiration.smithy b/build/smithy/source/sources/deleteObjectFromExpiration.smithy deleted file mode 100644 index a03890b0..00000000 --- a/build/smithy/source/sources/deleteObjectFromExpiration.smithy +++ /dev/null @@ -1,30 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@idempotent -@http(method: "DELETE", uri: "/_/backbeat/expiration/{Bucket}/{Key+}") -operation DeleteObjectFromExpiration { - input: DeleteObjectFromExpirationInput, - output: DeleteObjectFromExpirationOutput -} - -structure DeleteObjectFromExpirationInput { - @required - @httpLabel - Bucket: String, - - @required - @httpLabel - Key: String, - - @httpQuery("versionId") - VersionId: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String -} - -structure DeleteObjectFromExpirationOutput { - /// Version ID of the deleted object - versionId: String -} \ No newline at end of file diff --git a/build/smithy/source/sources/getBucketCseq.smithy b/build/smithy/source/sources/getBucketCseq.smithy deleted file mode 100644 index 95832bfc..00000000 --- a/build/smithy/source/sources/getBucketCseq.smithy +++ /dev/null @@ -1,26 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// Retrieves bucket sequence information -@readonly -@http(method: "GET", uri: "/_/metadata/default/informations/{Bucket}") -operation GetBucketCseq { - input: GetBucketCseqInput, - output: GetBucketCseqOutput, -} - -@input -structure GetBucketCseqInput { - @httpLabel - @required - Bucket: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, -} - -@output -structure GetBucketCseqOutput { - @httpPayload - CseqInfo: Document, -} \ No newline at end of file diff --git a/build/smithy/source/sources/getBucketIndexes.smithy b/build/smithy/source/sources/getBucketIndexes.smithy deleted file mode 100644 index f99de06e..00000000 --- a/build/smithy/source/sources/getBucketIndexes.smithy +++ /dev/null @@ -1,40 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@readonly -@http(method: "GET", uri: "/_/backbeat/index/{Bucket}") -operation GetBucketIndexes { - input: GetBucketIndexesInput, - output: GetBucketIndexesOutput -} - -structure GetBucketIndexesInput { - @required - @httpLabel - Bucket: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String -} - -structure GetBucketIndexesOutput { - Indexes: IndexList -} - -list IndexList { - member: Index -} - -structure Index { - name: String, - keys: IndexKeyList -} - -list IndexKeyList { - member: IndexKey -} - -structure IndexKey { - order: Integer, - key: String -} \ No newline at end of file diff --git a/build/smithy/source/sources/getBucketMetadata.smithy b/build/smithy/source/sources/getBucketMetadata.smithy deleted file mode 100644 index 7749c55d..00000000 --- a/build/smithy/source/sources/getBucketMetadata.smithy +++ /dev/null @@ -1,150 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@readonly -@http(method: "GET", uri: "/_/metadata/default/attributes/{Bucket}") -operation GetBucketMetadata { - input: GetBucketMetadataInput, - output: GetBucketMetadataOutput -} - -structure GetBucketMetadataInput { - @required - @httpLabel - Bucket: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String -} - -structure GetBucketMetadataOutput { - /// Access control list for the bucket - acl: AclObj, - - /// Name of the bucket - name: String, - - /// Owner of the bucket - owner: String, - - /// Display name of the bucket owner - ownerDisplayName: String, - - /// Creation date of the bucket - creationDate: String, - - /// Metadata bucket model version - mdBucketModelVersion: Integer, - - /// Whether this is a transient bucket - transient: Boolean, - - /// Whether the bucket is marked as deleted - deleted: Boolean, - - /// Server-side encryption configuration - serverSideEncryption: ServerSideEncryptionMap, - - /// Versioning configuration for the bucket - versioningConfiguration: VersioningConfigurationObj, - - /// Location constraint for the bucket - locationConstraint: String, - - /// Read location constraint for the bucket - readLocationConstraint: String, - - /// CORS configuration for the bucket - cors: CorsListObj, - - /// Replication configuration for the bucket - replicationConfiguration: ReplicationConfigurationObj, - - /// Lifecycle configuration for the bucket - lifecycleConfiguration: LifecycleConfigurationObj, - - /// Unique identifier for the bucket - uid: String -} - -// Define the structured types based on the JSON API -structure AclObj { - /// Canned ACL setting - Canned: String, - - /// List of users with FULL_CONTROL permission - FULL_CONTROL: StringList, - - /// List of users with WRITE permission - WRITE: StringList, - - /// List of users with WRITE_ACP permission - WRITE_ACP: StringList, - - /// List of users with READ permission - READ: StringList, - - /// List of users with READ_ACP permission - READ_ACP: StringList -} - -list StringList { - member: String -} - -map ServerSideEncryptionMap { - key: String, - value: String -} - -map VersioningConfigurationObj { - key: String, - value: String -} - -list CorsListObj { - member: CorsObj -} - -map CorsObj { - key: String, - value: String -} - -map ReplicationConfigurationObj { - key: String, - value: String -} - -structure LifecycleConfigurationObj { - /// List of lifecycle rules - Rules: LifecycleRuleList -} - -list LifecycleRuleList { - member: LCRuleObj -} - -structure LCRuleObj { - /// Unique identifier for the rule - ID: String, - - /// Whether the rule is enabled or disabled - Status: LifecycleRuleStatus, - - /// Prefix for objects to which the rule applies - Prefix: String, - - /// Expiration configuration - Expiration: ExpirationConfiguration -} - -enum LifecycleRuleStatus { - ENABLED = "Enabled", - DISABLED = "Disabled" -} - -structure ExpirationConfiguration { - /// Number of days after which the object expires - Days: Integer -} \ No newline at end of file diff --git a/build/smithy/source/sources/getMetadata.smithy b/build/smithy/source/sources/getMetadata.smithy deleted file mode 100644 index 1ec56b81..00000000 --- a/build/smithy/source/sources/getMetadata.smithy +++ /dev/null @@ -1,29 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@http(method: "GET", uri: "/_/backbeat/metadata/{Bucket}/{Key+}") -@readonly -operation GetMetadata { - input: GetMetadataInput, - output: GetMetadataOutput -} - -structure GetMetadataInput { - @required - @httpLabel - Bucket: String, - - @required - @httpLabel - Key: String, - - @httpQuery("versionId") - VersionId: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String -} - -structure GetMetadataOutput { - Body: String -} \ No newline at end of file diff --git a/build/smithy/source/sources/getObject.smithy b/build/smithy/source/sources/getObject.smithy deleted file mode 100644 index 6a65c6f4..00000000 --- a/build/smithy/source/sources/getObject.smithy +++ /dev/null @@ -1,160 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@readonly -@http(method: "GET", uri: "/{Bucket}/{Key+}", code: 200) -operation GetObject { - input: GetObjectInput, - output: GetObjectOutput, -} - -structure GetObjectInput { - @required - @httpLabel - Bucket: String, - - @required - @httpLabel - Key: String, - - @httpHeader("If-Match") - IfMatch: String, - - @httpHeader("If-Modified-Since") - IfModifiedSince: Timestamp, - - @httpHeader("If-None-Match") - IfNoneMatch: String, - - @httpHeader("If-Unmodified-Since") - IfUnmodifiedSince: Timestamp, - - @httpHeader("Range") - Range: String, - - @httpQuery("response-cache-control") - ResponseCacheControl: String, - - @httpQuery("response-content-disposition") - ResponseContentDisposition: String, - - @httpQuery("response-content-encoding") - ResponseContentEncoding: String, - - @httpQuery("response-content-language") - ResponseContentLanguage: String, - - @httpQuery("response-content-type") - ResponseContentType: String, - - @httpQuery("response-expires") - ResponseExpires: Timestamp, - - @httpQuery("versionId") - VersionId: String, - - @httpHeader("x-amz-server-side-encryption-customer-algorithm") - SSECustomerAlgorithm: String, - - @httpHeader("x-amz-server-side-encryption-customer-key") - SSECustomerKey: SensitiveString, - - @httpHeader("x-amz-server-side-encryption-customer-key-MD5") - SSECustomerKeyMD5: String, - - @httpHeader("x-amz-request-payer") - RequestPayer: String, - - @httpQuery("partNumber") - PartNumber: Integer, - - @httpHeader("x-amz-location-constraint") - LocationConstraint: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String -} - -structure GetObjectOutput { - @httpPayload - @required - Body: StreamingBlobOutput, - - @httpHeader("x-amz-delete-marker") - DeleteMarker: Boolean, - - @httpHeader("accept-ranges") - AcceptRanges: String, - - @httpHeader("x-amz-expiration") - Expiration: String, - - @httpHeader("x-amz-restore") - Restore: String, - - @httpHeader("Last-Modified") - LastModified: Timestamp, - - @httpHeader("ETag") - ETag: String, - - @httpHeader("x-amz-missing-meta") - MissingMeta: Integer, - - @httpHeader("x-amz-version-id") - VersionId: String, - - @httpHeader("Cache-Control") - CacheControl: String, - - @httpHeader("Content-Disposition") - ContentDisposition: String, - - @httpHeader("Content-Encoding") - ContentEncoding: String, - - @httpHeader("Content-Language") - ContentLanguage: String, - - @httpHeader("Content-Range") - ContentRange: String, - - @httpHeader("Content-Type") - ContentType: String, - - @httpHeader("Expires") - Expires: Timestamp, - - @httpHeader("x-amz-website-redirect-location") - WebsiteRedirectLocation: String, - - @httpHeader("x-amz-server-side-encryption") - ServerSideEncryption: String, - - @httpPrefixHeaders("x-amz-meta-") - Metadata: MetadataMap, - - @httpHeader("x-amz-server-side-encryption-customer-algorithm") - SSECustomerAlgorithm: String, - - @httpHeader("x-amz-server-side-encryption-customer-key-MD5") - SSECustomerKeyMD5: String, - - @httpHeader("x-amz-server-side-encryption-aws-kms-key-id") - SSEKMSKeyId: SensitiveString, - - @httpHeader("x-amz-storage-class") - StorageClass: String, - - @httpHeader("x-amz-request-charged") - RequestCharged: String, - - @httpHeader("x-amz-replication-status") - ReplicationStatus: String, - - @httpHeader("x-amz-mp-parts-count") - PartsCount: Integer, - - @httpHeader("x-amz-tagging-count") - TagCount: Integer -} \ No newline at end of file diff --git a/build/smithy/source/sources/getObjectList.smithy b/build/smithy/source/sources/getObjectList.smithy deleted file mode 100644 index 84958f74..00000000 --- a/build/smithy/source/sources/getObjectList.smithy +++ /dev/null @@ -1,38 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@readonly -@http(method: "GET", uri: "/_/metadata/default/bucket/{Bucket}") -operation GetObjectList { - input: GetObjectListInput, - output: GetObjectListOutput -} - -structure GetObjectListInput { - @required - @httpLabel - Bucket: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String -} - -structure GetObjectListOutput { - Contents: ObjectMDList, - CommonPrefixes: CommonPrefixList, - IsTruncated: Boolean, - Delimiter: String -} - -list ObjectMDList { - member: ObjectMD -} - -structure ObjectMD { - key: String, - value: String -} - -list CommonPrefixList { - member: String -} \ No newline at end of file diff --git a/build/smithy/source/sources/getRaftBuckets.smithy b/build/smithy/source/sources/getRaftBuckets.smithy deleted file mode 100644 index b78acbc7..00000000 --- a/build/smithy/source/sources/getRaftBuckets.smithy +++ /dev/null @@ -1,26 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// Retrieves buckets associated with a specific Raft log ID -@readonly -@http(method: "GET", uri: "/_/metadata/admin/raft_sessions/{LogId}/bucket") -operation GetRaftBuckets { - input: GetRaftBucketsInput, - output: GetRaftBucketsOutput, -} - -@input -structure GetRaftBucketsInput { - @httpLabel - @required - LogId: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, -} - -@output -structure GetRaftBucketsOutput { - @httpPayload - Buckets: Document, -} \ No newline at end of file diff --git a/build/smithy/source/sources/getRaftId.smithy b/build/smithy/source/sources/getRaftId.smithy deleted file mode 100644 index 74dde516..00000000 --- a/build/smithy/source/sources/getRaftId.smithy +++ /dev/null @@ -1,23 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@readonly -@http(method: "GET", uri: "/_/metadata/admin/buckets/{Bucket}/id") -operation GetRaftId { - input: GetRaftIdInput, - output: GetRaftIdOutput -} - -structure GetRaftIdInput { - @required - @httpLabel - Bucket: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String -} - -structure GetRaftIdOutput { - @httpPayload - RaftId: String -} \ No newline at end of file diff --git a/build/smithy/source/sources/getRaftLog.smithy b/build/smithy/source/sources/getRaftLog.smithy deleted file mode 100644 index 8cbc04e9..00000000 --- a/build/smithy/source/sources/getRaftLog.smithy +++ /dev/null @@ -1,49 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// Retrieves Raft log entries for a specific log ID -@readonly -@http(method: "GET", uri: "/_/metadata/admin/raft_sessions/{LogId}/log") -operation GetRaftLog { - input: GetRaftLogInput, - output: GetRaftLogOutput, -} - -@input -structure GetRaftLogInput { - @httpLabel - @required - LogId: String, - - @httpQuery("begin") - Begin: Integer, - - @httpQuery("limit") - Limit: Integer, - - @httpQuery("targetLeader") - TargetLeader: Boolean, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, -} - -@output -structure GetRaftLogOutput { - /// Streaming log data containing the complete JSON response - @httpPayload - @required - Body: StreamingBlobOutput, - - /// Starting sequence number - @httpHeader("x-raft-log-start") - Start: Integer, - - /// Current sequence number - @httpHeader("x-raft-log-cseq") - Cseq: Integer, - - /// Prune sequence number - @httpHeader("x-raft-log-prune") - Prune: Integer, -} \ No newline at end of file diff --git a/build/smithy/source/sources/listLifecycleCurrents.smithy b/build/smithy/source/sources/listLifecycleCurrents.smithy deleted file mode 100644 index dccf0427..00000000 --- a/build/smithy/source/sources/listLifecycleCurrents.smithy +++ /dev/null @@ -1,140 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// List lifecycle current objects operation -@readonly -@http(method: "GET", uri: "/_/backbeat/lifecycle/{Bucket}?list-type=current") -operation ListLifecycleCurrents { - input: ListLifecycleCurrentsInput, - output: ListLifecycleCurrentsOutput, -} - -/// Input for ListLifecycleCurrents operation -structure ListLifecycleCurrentsInput { - /// The bucket name - @httpLabel - @required - Bucket: String, - - /// Limit the response to keys modified prior to before date - @httpQuery("before-date") - BeforeDate: String, - - /// Limit the response to only include keys that are stored outside of the ExcludedDataStoreName - @httpQuery("excluded-data-store-name") - ExcludedDataStoreName: String, - - /// Encoding type for the response - @httpQuery("encoding-type") - EncodingType: EncodingType, - - /// Marker for pagination - @httpQuery("marker") - Marker: String, - - /// Maximum number of keys to return - @httpQuery("max-keys") - MaxKeys: Integer, - - /// Limits the response to keys that begin with the specified prefix - @httpQuery("prefix") - Prefix: String, - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, -} - -/// Output for ListLifecycleCurrents operation -structure ListLifecycleCurrentsOutput { - /// Limit the response to keys modified prior to before date - BeforeDate: String, - - /// Indicates where in the bucket listing begins - Marker: String, - - /// Flag that indicates whether all results were returned - IsTruncated: Boolean, - - /// Next marker for pagination - NextMarker: String, - - /// Metadata about each object returned - Contents: ObjectLifecycleList, - - /// The bucket name - Name: String, - - /// Keys that begin with the indicated prefix - Prefix: String, - - /// Maximum number of keys returned in the response body - MaxKeys: Integer, -} - -/// List of ObjectLifecycle objects -list ObjectLifecycleList { - member: ObjectLifecycle -} - -/// Object lifecycle information -structure ObjectLifecycle { - /// The name that you assign to an object - Key: String, - - /// Creation date of the object - LastModified: String, - - /// The entity tag is a hash of the object - ETag: String, - - /// The owner of the object - Owner: Owner, - - /// Size in bytes of the object - Size: Integer, - - /// The class of storage used to store the object - StorageClass: String, - - /// Contains the tag set - TagSet: TagSet, - - /// Contains the stale date - staleDate: String, - - /// Version ID - VersionId: String, - - /// The data location name - DataStoreName: String, - - /// List type - ListType: String, -} - -/// Owner information -structure Owner { - /// Container for the display name of the owner - DisplayName: String, - - /// Container for the ID of the owner - ID: String, -} - -/// List of tags -list TagSet { - member: Tag -} - -/// Tag key-value pair -structure Tag { - /// Name of the tag key - @required - Key: String, - - /// Value of the tag - @required - Value: String, -} - -/// Encoding type string with allowed values -string EncodingType \ No newline at end of file diff --git a/build/smithy/source/sources/listLifecycleNonCurrents.smithy b/build/smithy/source/sources/listLifecycleNonCurrents.smithy deleted file mode 100644 index 882e59db..00000000 --- a/build/smithy/source/sources/listLifecycleNonCurrents.smithy +++ /dev/null @@ -1,81 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// List lifecycle non-current objects operation -@readonly -@http(method: "GET", uri: "/_/backbeat/lifecycle/{Bucket}?list-type=noncurrent") -operation ListLifecycleNonCurrents { - input: ListLifecycleNonCurrentsInput, - output: ListLifecycleNonCurrentsOutput, -} - -/// Input for ListLifecycleNonCurrents operation -structure ListLifecycleNonCurrentsInput { - /// The bucket name - @httpLabel - @required - Bucket: String, - - /// Limit the response to keys modified prior to before date - @httpQuery("before-date") - BeforeDate: String, - - /// Limit the response to only include keys that are stored outside of the ExcludedDataStoreName - @httpQuery("excluded-data-store-name") - ExcludedDataStoreName: String, - - /// Encoding type for the response - @httpQuery("encoding-type") - EncodingType: String, - - /// Key marker for pagination - @httpQuery("key-marker") - KeyMarker: String, - - /// Version ID marker for pagination - @httpQuery("version-id-marker") - VersionIdMarker: String, - - /// Maximum number of keys to return - @httpQuery("max-keys") - MaxKeys: Integer, - - /// Limits the response to keys that begin with the specified prefix - @httpQuery("prefix") - Prefix: String, - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, -} - -/// Output for ListLifecycleNonCurrents operation -structure ListLifecycleNonCurrentsOutput { - /// Limit the response to keys modified prior to before date - BeforeDate: String, - - /// Indicates where in the bucket listing begins - KeyMarker: String, - - /// Marks the last version of the key returned in a truncated response - VersionIdMarker: String, - - /// Flag that indicates whether all results were returned - IsTruncated: Boolean, - - /// Next key marker for pagination - NextKeyMarker: String, - - /// Next version ID marker for pagination - NextVersionIdMarker: String, - - /// Metadata about each object returned - Contents: ObjectLifecycleList, - - /// The bucket name - Name: String, - - /// Keys that begin with the indicated prefix - Prefix: String, - - /// Maximum number of keys returned in the response body - MaxKeys: Integer, -} \ No newline at end of file diff --git a/build/smithy/source/sources/listLifecycleOrphans.smithy b/build/smithy/source/sources/listLifecycleOrphans.smithy deleted file mode 100644 index 94a7fff5..00000000 --- a/build/smithy/source/sources/listLifecycleOrphans.smithy +++ /dev/null @@ -1,71 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// List lifecycle orphan objects operation -@readonly -@http(method: "GET", uri: "/_/backbeat/lifecycle/{Bucket}?list-type=orphan") -operation ListLifecycleOrphans { - input: ListLifecycleOrphansInput, - output: ListLifecycleOrphansOutput, -} - -/// Input for ListLifecycleOrphans operation (same structure as ListLifecycleCurrents) -structure ListLifecycleOrphansInput { - /// The bucket name - @httpLabel - @required - Bucket: String, - - /// Limit the response to keys modified prior to before date - @httpQuery("before-date") - BeforeDate: String, - - /// Limit the response to only include keys that are stored outside of the ExcludedDataStoreName - @httpQuery("excluded-data-store-name") - ExcludedDataStoreName: String, - - /// Encoding type for the response - @httpQuery("encoding-type") - EncodingType: String, - - /// Marker for pagination - @httpQuery("marker") - Marker: String, - - /// Maximum number of keys to return - @httpQuery("max-keys") - MaxKeys: Integer, - - /// Limits the response to keys that begin with the specified prefix - @httpQuery("prefix") - Prefix: String, - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, -} - -/// Output for ListLifecycleOrphans operation (same structure as ListLifecycleCurrents) -structure ListLifecycleOrphansOutput { - /// Limit the response to keys modified prior to before date - BeforeDate: String, - - /// Indicates where in the bucket listing begins - Marker: String, - - /// Flag that indicates whether all results were returned - IsTruncated: Boolean, - - /// Next marker for pagination - NextMarker: String, - - /// Metadata about each object returned - Contents: ObjectLifecycleList, - - /// The bucket name - Name: String, - - /// Keys that begin with the indicated prefix - Prefix: String, - - /// Maximum number of keys returned in the response body - MaxKeys: Integer, -} \ No newline at end of file diff --git a/build/smithy/source/sources/manifest b/build/smithy/source/sources/manifest deleted file mode 100644 index 0cea8108..00000000 --- a/build/smithy/source/sources/manifest +++ /dev/null @@ -1,29 +0,0 @@ -getRaftLog.smithy -multipleBackendDeleteObject.smithy -putMetadata.smithy -listLifecycleCurrents.smithy -multipleBackendPutObjectTagging.smithy -listLifecycleOrphans.smithy -getMetadata.smithy -commonStructures.smithy -getRaftBuckets.smithy -batchDelete.smithy -deleteObjectFromExpiration.smithy -multipleBackendPutMPUPart.smithy -getObjectList.smithy -getRaftId.smithy -multipleBackendPutObject.smithy -getBucketCseq.smithy -multipleBackendAbortMPU.smithy -getBucketMetadata.smithy -multipleBackendDeleteObjectTagging.smithy -multipleBackendHeadObject.smithy -getBucketIndexes.smithy -putBucketIndexes.smithy -multipleBackendInitiateMPU.smithy -multipleBackendCompleteMPU.smithy -putdata.smithy -getObject.smithy -listLifecycleNonCurrents.smithy -deleteBucketIndexes.smithy -cloudserver.smithy diff --git a/build/smithy/source/sources/multipleBackendAbortMPU.smithy b/build/smithy/source/sources/multipleBackendAbortMPU.smithy deleted file mode 100644 index fdd097e0..00000000 --- a/build/smithy/source/sources/multipleBackendAbortMPU.smithy +++ /dev/null @@ -1,38 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// Aborts a multipart upload for multiple backend storage -@idempotent -@http(method: "DELETE", uri: "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=abortmpu") -operation MultipleBackendAbortMPU { - input: MultipleBackendAbortMPUInput, - output: MultipleBackendAbortMPUOutput, -} - -@input -structure MultipleBackendAbortMPUInput { - @httpLabel - @required - Bucket: String, - - @httpLabel - @required - Key: String, - - @httpHeader("X-Scal-Storage-Type") - StorageType: String, - - @httpHeader("X-Scal-Storage-Class") - @required - StorageClass: String, - - @httpHeader("X-Scal-Upload-Id") - UploadId: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, -} - -@output -structure MultipleBackendAbortMPUOutput { -} \ No newline at end of file diff --git a/build/smithy/source/sources/multipleBackendCompleteMPU.smithy b/build/smithy/source/sources/multipleBackendCompleteMPU.smithy deleted file mode 100644 index 450b0a16..00000000 --- a/build/smithy/source/sources/multipleBackendCompleteMPU.smithy +++ /dev/null @@ -1,66 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// Completes a multipart upload for multiple backend storage -@http(method: "POST", uri: "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=completempu") -operation MultipleBackendCompleteMPU { - input: MultipleBackendCompleteMPUInput, - output: MultipleBackendCompleteMPUOutput, -} - -@input -structure MultipleBackendCompleteMPUInput { - @httpLabel - @required - Bucket: String, - - @httpLabel - @required - Key: String, - - @httpHeader("X-Scal-Storage-Type") - StorageType: String, - - @httpHeader("X-Scal-Storage-Class") - @required - StorageClass: String, - - @httpHeader("X-Scal-Version-Id") - VersionId: String, - - @httpHeader("X-Scal-Content-Type") - ContentType: String, - - @httpHeader("X-Scal-User-Metadata") - UserMetaData: String, - - @httpHeader("X-Scal-Cache-Control") - CacheControl: String, - - @httpHeader("X-Scal-Content-Disposition") - ContentDisposition: String, - - @httpHeader("X-Scal-Content-Encoding") - ContentEncoding: String, - - @httpHeader("X-Scal-Upload-Id") - UploadId: String, - - @httpHeader("X-Scal-Tags") - Tags: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - @httpPayload - Body: Blob, -} - -@output -structure MultipleBackendCompleteMPUOutput { - /// Version ID of the completed object - versionId: String, - - /// Location information - location: LocationMDList, -} \ No newline at end of file diff --git a/build/smithy/source/sources/multipleBackendDeleteObject.smithy b/build/smithy/source/sources/multipleBackendDeleteObject.smithy deleted file mode 100644 index f310f479..00000000 --- a/build/smithy/source/sources/multipleBackendDeleteObject.smithy +++ /dev/null @@ -1,33 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@idempotent -@http(method: "DELETE", uri: "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=deleteobject", code: 200) -operation MultipleBackendDeleteObject { - input: MultipleBackendDeleteObjectInput, - output: MultipleBackendDeleteObjectOutput -} - -structure MultipleBackendDeleteObjectInput { - @httpLabel - @required - Bucket: String, - - @httpLabel - @required - Key: String, - - @httpHeader("X-Scal-Storage-Type") - StorageType: String, - - @httpHeader("X-Scal-Storage-Class") - @required - StorageClass: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, -} - -structure MultipleBackendDeleteObjectOutput { - versionId: String, -} \ No newline at end of file diff --git a/build/smithy/source/sources/multipleBackendDeleteObjectTagging.smithy b/build/smithy/source/sources/multipleBackendDeleteObjectTagging.smithy deleted file mode 100644 index c06d31d3..00000000 --- a/build/smithy/source/sources/multipleBackendDeleteObjectTagging.smithy +++ /dev/null @@ -1,53 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// Removes tags from an object in multiple backend storage -@idempotent -@suppress(["HttpMethodSemantics.UnexpectedPayload"]) -@http(method: "DELETE", uri: "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=deleteobjecttagging") -operation MultipleBackendDeleteObjectTagging { - input: MultipleBackendDeleteObjectTaggingInput, - output: MultipleBackendDeleteObjectTaggingOutput, -} - -@input -structure MultipleBackendDeleteObjectTaggingInput { - @httpLabel - @required - Bucket: String, - - @httpLabel - @required - Key: String, - - @httpHeader("X-Scal-Storage-Class") - @required - StorageClass: String, - - @httpHeader("X-Scal-Storage-Type") - StorageType: String, - - @httpHeader("X-Scal-Data-Store-Version-Id") - DataStoreVersionId: String, - - @httpHeader("X-Scal-Source-Bucket") - SourceBucket: String, - - @httpHeader("X-Scal-Source-Version-Id") - SourceVersionId: String, - - @httpHeader("X-Scal-Replication-Endpoint-Site") - ReplicationEndpointSite: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - @httpPayload - Body: Blob, -} - -@output -structure MultipleBackendDeleteObjectTaggingOutput { - /// Version ID of the object after tag removal - versionId: String, -} \ No newline at end of file diff --git a/build/smithy/source/sources/multipleBackendHeadObject.smithy b/build/smithy/source/sources/multipleBackendHeadObject.smithy deleted file mode 100644 index 567c3863..00000000 --- a/build/smithy/source/sources/multipleBackendHeadObject.smithy +++ /dev/null @@ -1,34 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// Retrieves metadata for an object from multiple backend storage -@readonly -@http(method: "GET", uri: "/_/backbeat/multiplebackendmetadata/{Bucket}/{Key+}") -operation MultipleBackendHeadObject { - input: MultipleBackendHeadObjectInput, - output: MultipleBackendHeadObjectOutput, -} - -@input -structure MultipleBackendHeadObjectInput { - @httpLabel - @required - Bucket: String, - - @httpLabel - @required - Key: String, - - @httpHeader("X-Scal-Locations") - @required - Locations: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, -} - -@output -structure MultipleBackendHeadObjectOutput { - /// Last modified timestamp - lastModified: String, -} \ No newline at end of file diff --git a/build/smithy/source/sources/multipleBackendInitiateMPU.smithy b/build/smithy/source/sources/multipleBackendInitiateMPU.smithy deleted file mode 100644 index 55ffc6cf..00000000 --- a/build/smithy/source/sources/multipleBackendInitiateMPU.smithy +++ /dev/null @@ -1,60 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// Initiates a multipart upload for multiple backend storage -@http(method: "POST", uri: "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=initiatempu") -operation MultipleBackendInitiateMPU { - input: MultipleBackendInitiateMPUInput, - output: MultipleBackendInitiateMPUOutput, -} - -@input -structure MultipleBackendInitiateMPUInput { - @httpLabel - @required - Bucket: String, - - @httpLabel - @required - Key: String, - - @httpHeader("X-Scal-Storage-Class") - @required - StorageClass: String, - - @httpHeader("X-Scal-Version-Id") - VersionId: String, - - @httpHeader("X-Scal-Storage-Type") - StorageType: String, - - @httpHeader("X-Scal-Content-Type") - ContentType: String, - - @httpHeader("X-Scal-User-Metadata") - UserMetaData: String, - - @httpHeader("X-Scal-Cache-Control") - CacheControl: String, - - @httpHeader("X-Scal-Content-Disposition") - ContentDisposition: String, - - @httpHeader("X-Scal-Content-Encoding") - ContentEncoding: String, - - @httpHeader("X-Scal-Tags") - Tags: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - @httpPayload - Body: Blob, -} - -@output -structure MultipleBackendInitiateMPUOutput { - /// Upload ID for the multipart upload - uploadId: String, -} \ No newline at end of file diff --git a/build/smithy/source/sources/multipleBackendPutMPUPart.smithy b/build/smithy/source/sources/multipleBackendPutMPUPart.smithy deleted file mode 100644 index debc395b..00000000 --- a/build/smithy/source/sources/multipleBackendPutMPUPart.smithy +++ /dev/null @@ -1,55 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -use aws.auth#unsignedPayload - -/// Uploads a part for a multipart upload to multiple backend storage -@http(method: "PUT", uri: "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=putpart") -@unsignedPayload -operation MultipleBackendPutMPUPart { - input: MultipleBackendPutMPUPartInput, - output: MultipleBackendPutMPUPartOutput, -} - -@input -structure MultipleBackendPutMPUPartInput { - @httpLabel - @required - Bucket: String, - - @httpLabel - @required - Key: String, - - @httpHeader("X-Scal-Storage-Type") - StorageType: String, - - @httpHeader("X-Scal-Storage-Class") - @required - StorageClass: String, - - @httpHeader("X-Scal-Part-Number") - PartNumber: Integer, - - @httpHeader("X-Scal-Upload-Id") - UploadId: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - @httpPayload - @required - Body: StreamingBlob, -} - -@output -structure MultipleBackendPutMPUPartOutput { - /// Part number - partNumber: String, - - /// ETag of the uploaded part - ETag: String, - - /// Number of sub-parts - numberSubParts: Integer, -} \ No newline at end of file diff --git a/build/smithy/source/sources/multipleBackendPutObject.smithy b/build/smithy/source/sources/multipleBackendPutObject.smithy deleted file mode 100644 index 18974e1a..00000000 --- a/build/smithy/source/sources/multipleBackendPutObject.smithy +++ /dev/null @@ -1,70 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -use aws.auth#unsignedPayload - -@http(method: "PUT", uri: "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=putobject") -@unsignedPayload -operation MultipleBackendPutObject { - input: MultipleBackendPutObjectInput, - output: MultipleBackendPutObjectOutput -} - -structure MultipleBackendPutObjectInput { - @required - @httpLabel - Bucket: String, - - @required - @httpLabel - Key: String, - - @httpHeader("Content-MD5") - ContentMD5: String, - - @httpHeader("X-Scal-Content-Type") - ContentType: String, - - @httpHeader("X-Scal-User-Metadata") - UserMetaData: String, - - @httpHeader("X-Scal-Cache-Control") - CacheControl: String, - - @httpHeader("X-Scal-Content-Disposition") - ContentDisposition: String, - - @httpHeader("X-Scal-Content-Encoding") - ContentEncoding: String, - - @httpHeader("X-Scal-Canonical-Id") - CanonicalID: String, - - @required - @httpHeader("X-Scal-Storage-Class") - StorageClass: String, - - @httpHeader("X-Scal-Storage-Type") - StorageType: String, - - @httpHeader("X-Scal-Version-Id") - VersionId: String, - - @httpHeader("X-Scal-Tags") - Tags: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - @httpPayload - @default("") - Body: StreamingBlob -} - -structure MultipleBackendPutObjectOutput { - /// Version ID of the stored object - versionId: String, - - /// List of storage locations where the object was stored - location: LocationMDList -} \ No newline at end of file diff --git a/build/smithy/source/sources/multipleBackendPutObjectTagging.smithy b/build/smithy/source/sources/multipleBackendPutObjectTagging.smithy deleted file mode 100644 index 30b9d703..00000000 --- a/build/smithy/source/sources/multipleBackendPutObjectTagging.smithy +++ /dev/null @@ -1,54 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -/// Adds or updates tags for an object in multiple backend storage -@http(method: "POST", uri: "/_/backbeat/multiplebackenddata/{Bucket}/{Key+}?operation=puttagging") -operation MultipleBackendPutObjectTagging { - input: MultipleBackendPutObjectTaggingInput, - output: MultipleBackendPutObjectTaggingOutput, -} - -@input -structure MultipleBackendPutObjectTaggingInput { - @httpLabel - @required - Bucket: String, - - @httpLabel - @required - Key: String, - - @httpHeader("X-Scal-Storage-Type") - StorageType: String, - - @httpHeader("X-Scal-Storage-Class") - @required - StorageClass: String, - - @httpHeader("X-Scal-Data-Store-Version-Id") - DataStoreVersionId: String, - - @httpHeader("X-Scal-Tags") - Tags: String, - - @httpHeader("X-Scal-Source-Bucket") - SourceBucket: String, - - @httpHeader("X-Scal-Source-Version-Id") - SourceVersionId: String, - - @httpHeader("X-Scal-Replication-Endpoint-Site") - ReplicationEndpointSite: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - @httpPayload - Body: Blob, -} - -@output -structure MultipleBackendPutObjectTaggingOutput { - /// Version ID of the tagged object - versionId: String, -} \ No newline at end of file diff --git a/build/smithy/source/sources/putBucketIndexes.smithy b/build/smithy/source/sources/putBucketIndexes.smithy deleted file mode 100644 index 37b7def6..00000000 --- a/build/smithy/source/sources/putBucketIndexes.smithy +++ /dev/null @@ -1,24 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@http(method: "POST", uri: "/_/backbeat/index/{Bucket}?operation=add") -operation PutBucketIndexes { - input: PutBucketIndexesInput, - output: PutBucketIndexesOutput, -} - -structure PutBucketIndexesInput { - @httpLabel - @required - Bucket: String, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - @httpPayload - Body: Blob, -} - -structure PutBucketIndexesOutput { - // Empty response structure -} \ No newline at end of file diff --git a/build/smithy/source/sources/putMetadata.smithy b/build/smithy/source/sources/putMetadata.smithy deleted file mode 100644 index 60faaae7..00000000 --- a/build/smithy/source/sources/putMetadata.smithy +++ /dev/null @@ -1,44 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -@http(method: "PUT", uri: "/_/backbeat/metadata/{Bucket}/{Key+}") -operation PutMetadata { - input: PutMetadataInput, - output: PutMetadataOutput -} - -structure PutMetadataInput { - @required - @httpLabel - Bucket: String, - - @required - @httpLabel - Key: String, - - @httpQuery("versionId") - VersionId: String, - - @httpQuery("accountId") - AccountId: String, - - @httpHeader("Content-MD5") - ContentMD5: String, - - @httpHeader("x-scal-replication-content") - ReplicationContent: String, - - @httpHeader("x-scal-versioning-required") - VersioningRequired: Boolean, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - @httpPayload - Body: Blob -} - -structure PutMetadataOutput { - /// Version ID of the stored metadata - versionId: String -} \ No newline at end of file diff --git a/build/smithy/source/sources/putdata.smithy b/build/smithy/source/sources/putdata.smithy deleted file mode 100644 index a7d75f2a..00000000 --- a/build/smithy/source/sources/putdata.smithy +++ /dev/null @@ -1,51 +0,0 @@ -$version: "2.0" -namespace cloudserver.client - -use aws.auth#unsignedPayload - -@http(method: "PUT", uri: "/_/backbeat/data/{Bucket}/{Key+}?v2") -@unsignedPayload -operation PutData { - input: PutDataInput, - output: PutDataOutput -} - -structure PutDataInput { - @required - @httpLabel - Bucket: String, - - @required - @httpLabel - Key: String, - - @httpHeader("Content-MD5") - ContentMD5: String, - - @httpHeader("X-Scal-Canonical-Id") - CanonicalID: String, - - @httpHeader("x-scal-versioning-required") - VersioningRequired: Boolean, - - @httpHeader("X-Scal-Request-Uids") - RequestUids: String, - - @httpPayload - @default("") - Body: StreamingBlob -} - -structure PutDataOutput { - @httpPayload - Location: Document, - - @httpHeader("x-amz-server-side-encryption") - ServerSideEncryption: String, - - @httpHeader("x-amz-server-side-encryption-customer-algorithm") - SSECustomerAlgorithm: String, - - @httpHeader("x-amz-server-side-encryption-aws-kms-key-id") - SSEKMSKeyId: String -} \ No newline at end of file diff --git a/build/smithy/source/typescript-codegen/.gitignore b/build/smithy/source/typescript-codegen/.gitignore deleted file mode 100644 index 54f14c9a..00000000 --- a/build/smithy/source/typescript-codegen/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/node_modules/ -/build/ -/coverage/ -/docs/ -/dist-* -*.tsbuildinfo -*.tgz -*.log -package-lock.json diff --git a/build/smithy/source/typescript-codegen/LICENSE b/build/smithy/source/typescript-codegen/LICENSE deleted file mode 100644 index ba9d6d15..00000000 --- a/build/smithy/source/typescript-codegen/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/build/smithy/source/typescript-codegen/README.md b/build/smithy/source/typescript-codegen/README.md deleted file mode 100644 index 4d2420c2..00000000 --- a/build/smithy/source/typescript-codegen/README.md +++ /dev/null @@ -1,388 +0,0 @@ - - -# @scality/cloudserverclient - -## Description - -AWS SDK for JavaScript Cloudserver Client for Node.js, Browser and React Native. - -## Installing -To install this package, simply type add or install @scality/cloudserverclient -using your favorite package manager: -- `npm install @scality/cloudserverclient` -- `yarn add @scality/cloudserverclient` -- `pnpm add @scality/cloudserverclient` - -## Getting Started - -### Import - -The AWS SDK is modulized by clients and commands. -To send a request, you only need to import the `CloudserverClient` and -the commands you need, for example `ListLifecycleCurrentsCommand`: - -```js -// ES5 example -const { CloudserverClient, ListLifecycleCurrentsCommand } = require("@scality/cloudserverclient"); -``` - -```ts -// ES6+ example -import { CloudserverClient, ListLifecycleCurrentsCommand } from "@scality/cloudserverclient"; -``` - -### Usage - -To send a request, you: - -- Initiate client with configuration (e.g. credentials, region). -- Initiate command with input parameters. -- Call `send` operation on client with command object as input. -- If you are using a custom http handler, you may call `destroy()` to close open connections. - -```js -// a client can be shared by different commands. -const client = new CloudserverClient({ region: "REGION" }); - -const params = { /** input parameters */ }; -const command = new ListLifecycleCurrentsCommand(params); -``` - -#### Async/await - -We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) -operator to wait for the promise returned by send operation as follows: - -```js -// async/await. -try { - const data = await client.send(command); - // process data. -} catch (error) { - // error handling. -} finally { - // finally. -} -``` - -Async-await is clean, concise, intuitive, easy to debug and has better error handling -as compared to using Promise chains or callbacks. - -#### Promises - -You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining) -to execute send operation. - -```js -client.send(command).then( - (data) => { - // process data. - }, - (error) => { - // error handling. - } -); -``` - -Promises can also be called using `.catch()` and `.finally()` as follows: - -```js -client - .send(command) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }) - .finally(() => { - // finally. - }); -``` - -#### Callbacks - -We do not recommend using callbacks because of [callback hell](http://callbackhell.com/), -but they are supported by the send operation. - -```js -// callbacks. -client.send(command, (err, data) => { - // process err and data. -}); -``` - -#### v2 compatible style - -The client can also send requests using v2 compatible style. -However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post -on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) - -```ts -import * as AWS from "@scality/cloudserverclient"; -const client = new AWS.Cloudserver({ region: "REGION" }); - -// async/await. -try { - const data = await client.listLifecycleCurrents(params); - // process data. -} catch (error) { - // error handling. -} - -// Promises. -client - .listLifecycleCurrents(params) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }); - -// callbacks. -client.listLifecycleCurrents(params, (err, data) => { - // process err and data. -}); -``` - -### Troubleshooting - -When the service returns an exception, the error will include the exception information, -as well as response metadata (e.g. request id). - -```js -try { - const data = await client.send(command); - // process data. -} catch (error) { - const { requestId, cfId, extendedRequestId } = error.$metadata; - console.log({ requestId, cfId, extendedRequestId }); - /** - * The keys within exceptions are also parsed. - * You can access them by specifying exception names: - * if (error.name === 'SomeServiceException') { - * const value = error.specialKeyInException; - * } - */ -} -``` - -## Getting Help - -Please use these community resources for getting help. -We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them. - -- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html) - or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html). -- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/) - on AWS Developer Blog. -- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`. -- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3). -- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose). - -To test your universal JavaScript code in Node.js, browser and react-native environments, -visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). - -## Contributing - -This client code is generated automatically. Any modifications will be overwritten the next time the `@scality/cloudserverclient` package is updated. -To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). - -## License - -This SDK is distributed under the -[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), -see LICENSE for more information. - -## Client Commands (Operations List) - -
- -BatchDelete - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/BatchDeleteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/BatchDeleteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/BatchDeleteCommandOutput/) -
-
- -DeleteBucketIndexes - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/DeleteBucketIndexesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/DeleteBucketIndexesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/DeleteBucketIndexesCommandOutput/) -
-
- -DeleteObjectFromExpiration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/DeleteObjectFromExpirationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/DeleteObjectFromExpirationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/DeleteObjectFromExpirationCommandOutput/) -
-
- -GetBucketCseq - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/GetBucketCseqCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetBucketCseqCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetBucketCseqCommandOutput/) -
-
- -GetBucketIndexes - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/GetBucketIndexesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetBucketIndexesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetBucketIndexesCommandOutput/) -
-
- -GetBucketMetadata - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/GetBucketMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetBucketMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetBucketMetadataCommandOutput/) -
-
- -GetMetadata - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/GetMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetMetadataCommandOutput/) -
-
- -GetObject - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/GetObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetObjectCommandOutput/) -
-
- -GetObjectList - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/GetObjectListCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetObjectListCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetObjectListCommandOutput/) -
-
- -GetRaftBuckets - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/GetRaftBucketsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetRaftBucketsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetRaftBucketsCommandOutput/) -
-
- -GetRaftId - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/GetRaftIdCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetRaftIdCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetRaftIdCommandOutput/) -
-
- -GetRaftLog - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/GetRaftLogCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetRaftLogCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/GetRaftLogCommandOutput/) -
-
- -ListLifecycleCurrents - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/ListLifecycleCurrentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/ListLifecycleCurrentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/ListLifecycleCurrentsCommandOutput/) -
-
- -ListLifecycleNonCurrents - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/ListLifecycleNonCurrentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/ListLifecycleNonCurrentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/ListLifecycleNonCurrentsCommandOutput/) -
-
- -ListLifecycleOrphans - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/ListLifecycleOrphansCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/ListLifecycleOrphansCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/ListLifecycleOrphansCommandOutput/) -
-
- -MultipleBackendAbortMPU - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/MultipleBackendAbortMPUCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendAbortMPUCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendAbortMPUCommandOutput/) -
-
- -MultipleBackendCompleteMPU - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/MultipleBackendCompleteMPUCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendCompleteMPUCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendCompleteMPUCommandOutput/) -
-
- -MultipleBackendDeleteObject - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/MultipleBackendDeleteObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendDeleteObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendDeleteObjectCommandOutput/) -
-
- -MultipleBackendDeleteObjectTagging - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/MultipleBackendDeleteObjectTaggingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendDeleteObjectTaggingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendDeleteObjectTaggingCommandOutput/) -
-
- -MultipleBackendHeadObject - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/MultipleBackendHeadObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendHeadObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendHeadObjectCommandOutput/) -
-
- -MultipleBackendInitiateMPU - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/MultipleBackendInitiateMPUCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendInitiateMPUCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendInitiateMPUCommandOutput/) -
-
- -MultipleBackendPutMPUPart - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/MultipleBackendPutMPUPartCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendPutMPUPartCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendPutMPUPartCommandOutput/) -
-
- -MultipleBackendPutObject - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/MultipleBackendPutObjectCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendPutObjectCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendPutObjectCommandOutput/) -
-
- -MultipleBackendPutObjectTagging - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/MultipleBackendPutObjectTaggingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendPutObjectTaggingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/MultipleBackendPutObjectTaggingCommandOutput/) -
-
- -PutBucketIndexes - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/PutBucketIndexesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/PutBucketIndexesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/PutBucketIndexesCommandOutput/) -
-
- -PutData - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/PutDataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/PutDataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/PutDataCommandOutput/) -
-
- -PutMetadata - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudserver/command/PutMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/PutMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudserver/Interface/PutMetadataCommandOutput/) -
diff --git a/build/smithy/source/typescript-codegen/api-extractor.json b/build/smithy/source/typescript-codegen/api-extractor.json deleted file mode 100644 index d5bf5ffe..00000000 --- a/build/smithy/source/typescript-codegen/api-extractor.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../api-extractor.json", - "mainEntryPointFilePath": "/dist-types/index.d.ts" -} diff --git a/build/smithy/source/typescript-codegen/dist-cjs/Cloudserver.js b/build/smithy/source/typescript-codegen/dist-cjs/Cloudserver.js deleted file mode 100644 index 714c8dfb..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/Cloudserver.js +++ /dev/null @@ -1,65 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Cloudserver = void 0; -const CloudserverClient_1 = require("./CloudserverClient"); -const BatchDeleteCommand_1 = require("./commands/BatchDeleteCommand"); -const DeleteBucketIndexesCommand_1 = require("./commands/DeleteBucketIndexesCommand"); -const DeleteObjectFromExpirationCommand_1 = require("./commands/DeleteObjectFromExpirationCommand"); -const GetBucketCseqCommand_1 = require("./commands/GetBucketCseqCommand"); -const GetBucketIndexesCommand_1 = require("./commands/GetBucketIndexesCommand"); -const GetBucketMetadataCommand_1 = require("./commands/GetBucketMetadataCommand"); -const GetMetadataCommand_1 = require("./commands/GetMetadataCommand"); -const GetObjectCommand_1 = require("./commands/GetObjectCommand"); -const GetObjectListCommand_1 = require("./commands/GetObjectListCommand"); -const GetRaftBucketsCommand_1 = require("./commands/GetRaftBucketsCommand"); -const GetRaftIdCommand_1 = require("./commands/GetRaftIdCommand"); -const GetRaftLogCommand_1 = require("./commands/GetRaftLogCommand"); -const ListLifecycleCurrentsCommand_1 = require("./commands/ListLifecycleCurrentsCommand"); -const ListLifecycleNonCurrentsCommand_1 = require("./commands/ListLifecycleNonCurrentsCommand"); -const ListLifecycleOrphansCommand_1 = require("./commands/ListLifecycleOrphansCommand"); -const MultipleBackendAbortMPUCommand_1 = require("./commands/MultipleBackendAbortMPUCommand"); -const MultipleBackendCompleteMPUCommand_1 = require("./commands/MultipleBackendCompleteMPUCommand"); -const MultipleBackendDeleteObjectCommand_1 = require("./commands/MultipleBackendDeleteObjectCommand"); -const MultipleBackendDeleteObjectTaggingCommand_1 = require("./commands/MultipleBackendDeleteObjectTaggingCommand"); -const MultipleBackendHeadObjectCommand_1 = require("./commands/MultipleBackendHeadObjectCommand"); -const MultipleBackendInitiateMPUCommand_1 = require("./commands/MultipleBackendInitiateMPUCommand"); -const MultipleBackendPutMPUPartCommand_1 = require("./commands/MultipleBackendPutMPUPartCommand"); -const MultipleBackendPutObjectCommand_1 = require("./commands/MultipleBackendPutObjectCommand"); -const MultipleBackendPutObjectTaggingCommand_1 = require("./commands/MultipleBackendPutObjectTaggingCommand"); -const PutBucketIndexesCommand_1 = require("./commands/PutBucketIndexesCommand"); -const PutDataCommand_1 = require("./commands/PutDataCommand"); -const PutMetadataCommand_1 = require("./commands/PutMetadataCommand"); -const smithy_client_1 = require("@smithy/smithy-client"); -const commands = { - BatchDeleteCommand: BatchDeleteCommand_1.BatchDeleteCommand, - DeleteBucketIndexesCommand: DeleteBucketIndexesCommand_1.DeleteBucketIndexesCommand, - DeleteObjectFromExpirationCommand: DeleteObjectFromExpirationCommand_1.DeleteObjectFromExpirationCommand, - GetBucketCseqCommand: GetBucketCseqCommand_1.GetBucketCseqCommand, - GetBucketIndexesCommand: GetBucketIndexesCommand_1.GetBucketIndexesCommand, - GetBucketMetadataCommand: GetBucketMetadataCommand_1.GetBucketMetadataCommand, - GetMetadataCommand: GetMetadataCommand_1.GetMetadataCommand, - GetObjectCommand: GetObjectCommand_1.GetObjectCommand, - GetObjectListCommand: GetObjectListCommand_1.GetObjectListCommand, - GetRaftBucketsCommand: GetRaftBucketsCommand_1.GetRaftBucketsCommand, - GetRaftIdCommand: GetRaftIdCommand_1.GetRaftIdCommand, - GetRaftLogCommand: GetRaftLogCommand_1.GetRaftLogCommand, - ListLifecycleCurrentsCommand: ListLifecycleCurrentsCommand_1.ListLifecycleCurrentsCommand, - ListLifecycleNonCurrentsCommand: ListLifecycleNonCurrentsCommand_1.ListLifecycleNonCurrentsCommand, - ListLifecycleOrphansCommand: ListLifecycleOrphansCommand_1.ListLifecycleOrphansCommand, - MultipleBackendAbortMPUCommand: MultipleBackendAbortMPUCommand_1.MultipleBackendAbortMPUCommand, - MultipleBackendCompleteMPUCommand: MultipleBackendCompleteMPUCommand_1.MultipleBackendCompleteMPUCommand, - MultipleBackendDeleteObjectCommand: MultipleBackendDeleteObjectCommand_1.MultipleBackendDeleteObjectCommand, - MultipleBackendDeleteObjectTaggingCommand: MultipleBackendDeleteObjectTaggingCommand_1.MultipleBackendDeleteObjectTaggingCommand, - MultipleBackendHeadObjectCommand: MultipleBackendHeadObjectCommand_1.MultipleBackendHeadObjectCommand, - MultipleBackendInitiateMPUCommand: MultipleBackendInitiateMPUCommand_1.MultipleBackendInitiateMPUCommand, - MultipleBackendPutMPUPartCommand: MultipleBackendPutMPUPartCommand_1.MultipleBackendPutMPUPartCommand, - MultipleBackendPutObjectCommand: MultipleBackendPutObjectCommand_1.MultipleBackendPutObjectCommand, - MultipleBackendPutObjectTaggingCommand: MultipleBackendPutObjectTaggingCommand_1.MultipleBackendPutObjectTaggingCommand, - PutBucketIndexesCommand: PutBucketIndexesCommand_1.PutBucketIndexesCommand, - PutDataCommand: PutDataCommand_1.PutDataCommand, - PutMetadataCommand: PutMetadataCommand_1.PutMetadataCommand, -}; -class Cloudserver extends CloudserverClient_1.CloudserverClient { -} -exports.Cloudserver = Cloudserver; -(0, smithy_client_1.createAggregatedClient)(commands, Cloudserver); diff --git a/build/smithy/source/typescript-codegen/dist-cjs/CloudserverClient.js b/build/smithy/source/typescript-codegen/dist-cjs/CloudserverClient.js deleted file mode 100644 index a7a6bbce..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/CloudserverClient.js +++ /dev/null @@ -1,53 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CloudserverClient = exports.__Client = void 0; -const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); -const EndpointParameters_1 = require("./endpoint/EndpointParameters"); -const runtimeConfig_1 = require("./runtimeConfig"); -const runtimeExtensions_1 = require("./runtimeExtensions"); -const middleware_host_header_1 = require("@aws-sdk/middleware-host-header"); -const middleware_logger_1 = require("@aws-sdk/middleware-logger"); -const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection"); -const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent"); -const util_endpoints_1 = require("@aws-sdk/util-endpoints"); -const config_resolver_1 = require("@smithy/config-resolver"); -const core_1 = require("@smithy/core"); -const middleware_content_length_1 = require("@smithy/middleware-content-length"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_retry_1 = require("@smithy/middleware-retry"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } }); -class CloudserverClient extends smithy_client_1.Client { - config; - constructor(...[configuration]) { - let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); - super(_config_0); - this.initConfig = _config_0; - let _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); - let _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1); - let _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2); - let _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3); - let _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); - let _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5); - let _config_7 = (0, util_endpoints_1.resolveDefaultAwsRegionalEndpointsConfig)(_config_6); - let _config_8 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_7); - let _config_9 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_8, configuration?.extensions || []); - this.config = _config_9; - this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); - this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config)); - this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config)); - this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config)); - this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config)); - this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); - this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { - httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultCloudserverHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials, - }), - })); - this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config)); - } - destroy() { - super.destroy(); - } -} -exports.CloudserverClient = CloudserverClient; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/auth/httpAuthExtensionConfiguration.js b/build/smithy/source/typescript-codegen/dist-cjs/auth/httpAuthExtensionConfiguration.js deleted file mode 100644 index 08362030..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/auth/httpAuthExtensionConfiguration.js +++ /dev/null @@ -1,43 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0; -const getHttpAuthExtensionConfiguration = (runtimeConfig) => { - let _httpAuthSchemes = runtimeConfig.httpAuthSchemes; - let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; - let _credentials = runtimeConfig.credentials; - return { - setHttpAuthScheme(httpAuthScheme) { - const index = _httpAuthSchemes.findIndex(scheme => scheme.schemeId === httpAuthScheme.schemeId); - if (index === -1) { - _httpAuthSchemes.push(httpAuthScheme); - } - else { - _httpAuthSchemes.splice(index, 1, httpAuthScheme); - } - }, - httpAuthSchemes() { - return _httpAuthSchemes; - }, - setHttpAuthSchemeProvider(httpAuthSchemeProvider) { - _httpAuthSchemeProvider = httpAuthSchemeProvider; - }, - httpAuthSchemeProvider() { - return _httpAuthSchemeProvider; - }, - setCredentials(credentials) { - _credentials = credentials; - }, - credentials() { - return _credentials; - }, - }; -}; -exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration; -const resolveHttpAuthRuntimeConfig = (config) => { - return { - httpAuthSchemes: config.httpAuthSchemes(), - httpAuthSchemeProvider: config.httpAuthSchemeProvider(), - credentials: config.credentials(), - }; -}; -exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/auth/httpAuthSchemeProvider.js b/build/smithy/source/typescript-codegen/dist-cjs/auth/httpAuthSchemeProvider.js deleted file mode 100644 index 9d91957d..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/auth/httpAuthSchemeProvider.js +++ /dev/null @@ -1,50 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.resolveHttpAuthSchemeConfig = exports.defaultCloudserverHttpAuthSchemeProvider = exports.defaultCloudserverHttpAuthSchemeParametersProvider = void 0; -const core_1 = require("@aws-sdk/core"); -const util_middleware_1 = require("@smithy/util-middleware"); -const defaultCloudserverHttpAuthSchemeParametersProvider = async (config, context, input) => { - return { - operation: (0, util_middleware_1.getSmithyContext)(context).operation, - region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => { - throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); - })(), - }; -}; -exports.defaultCloudserverHttpAuthSchemeParametersProvider = defaultCloudserverHttpAuthSchemeParametersProvider; -function createAwsAuthSigv4HttpAuthOption(authParameters) { - return { - schemeId: "aws.auth#sigv4", - signingProperties: { - name: "s3", - region: authParameters.region, - }, - propertiesExtractor: (config, context) => ({ - signingProperties: { - config, - context, - }, - }), - }; -} -; -const defaultCloudserverHttpAuthSchemeProvider = (authParameters) => { - const options = []; - switch (authParameters.operation) { - default: - { - options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); - } - ; - } - ; - return options; -}; -exports.defaultCloudserverHttpAuthSchemeProvider = defaultCloudserverHttpAuthSchemeProvider; -const resolveHttpAuthSchemeConfig = (config) => { - const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config); - return Object.assign(config_0, { - authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), - }); -}; -exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/BatchDeleteCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/BatchDeleteCommand.js deleted file mode 100644 index 7b44c7bc..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/BatchDeleteCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.BatchDeleteCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class BatchDeleteCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "BatchDelete", {}) - .n("CloudserverClient", "BatchDeleteCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_BatchDeleteCommand) - .de(Aws_restJson1_1.de_BatchDeleteCommand) - .build() { -} -exports.BatchDeleteCommand = BatchDeleteCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/DeleteBucketIndexesCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/DeleteBucketIndexesCommand.js deleted file mode 100644 index 8379c0ba..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/DeleteBucketIndexesCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteBucketIndexesCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class DeleteBucketIndexesCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "DeleteBucketIndexes", {}) - .n("CloudserverClient", "DeleteBucketIndexesCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_DeleteBucketIndexesCommand) - .de(Aws_restJson1_1.de_DeleteBucketIndexesCommand) - .build() { -} -exports.DeleteBucketIndexesCommand = DeleteBucketIndexesCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/DeleteObjectFromExpirationCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/DeleteObjectFromExpirationCommand.js deleted file mode 100644 index a32af7ca..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/DeleteObjectFromExpirationCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteObjectFromExpirationCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class DeleteObjectFromExpirationCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "DeleteObjectFromExpiration", {}) - .n("CloudserverClient", "DeleteObjectFromExpirationCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_DeleteObjectFromExpirationCommand) - .de(Aws_restJson1_1.de_DeleteObjectFromExpirationCommand) - .build() { -} -exports.DeleteObjectFromExpirationCommand = DeleteObjectFromExpirationCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetBucketCseqCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/GetBucketCseqCommand.js deleted file mode 100644 index 321b69c0..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetBucketCseqCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetBucketCseqCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class GetBucketCseqCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetBucketCseq", {}) - .n("CloudserverClient", "GetBucketCseqCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_GetBucketCseqCommand) - .de(Aws_restJson1_1.de_GetBucketCseqCommand) - .build() { -} -exports.GetBucketCseqCommand = GetBucketCseqCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetBucketIndexesCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/GetBucketIndexesCommand.js deleted file mode 100644 index 4787169a..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetBucketIndexesCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetBucketIndexesCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class GetBucketIndexesCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetBucketIndexes", {}) - .n("CloudserverClient", "GetBucketIndexesCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_GetBucketIndexesCommand) - .de(Aws_restJson1_1.de_GetBucketIndexesCommand) - .build() { -} -exports.GetBucketIndexesCommand = GetBucketIndexesCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetBucketMetadataCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/GetBucketMetadataCommand.js deleted file mode 100644 index 9d66b8d0..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetBucketMetadataCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetBucketMetadataCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class GetBucketMetadataCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetBucketMetadata", {}) - .n("CloudserverClient", "GetBucketMetadataCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_GetBucketMetadataCommand) - .de(Aws_restJson1_1.de_GetBucketMetadataCommand) - .build() { -} -exports.GetBucketMetadataCommand = GetBucketMetadataCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetMetadataCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/GetMetadataCommand.js deleted file mode 100644 index c9b75af1..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetMetadataCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetMetadataCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class GetMetadataCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetMetadata", {}) - .n("CloudserverClient", "GetMetadataCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_GetMetadataCommand) - .de(Aws_restJson1_1.de_GetMetadataCommand) - .build() { -} -exports.GetMetadataCommand = GetMetadataCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetObjectCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/GetObjectCommand.js deleted file mode 100644 index 1a7ddb07..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetObjectCommand.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetObjectCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class GetObjectCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetObject", {}) - .n("CloudserverClient", "GetObjectCommand") - .f(models_0_1.GetObjectInputFilterSensitiveLog, models_0_1.GetObjectOutputFilterSensitiveLog) - .ser(Aws_restJson1_1.se_GetObjectCommand) - .de(Aws_restJson1_1.de_GetObjectCommand) - .build() { -} -exports.GetObjectCommand = GetObjectCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetObjectListCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/GetObjectListCommand.js deleted file mode 100644 index d1cc332a..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetObjectListCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetObjectListCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class GetObjectListCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetObjectList", {}) - .n("CloudserverClient", "GetObjectListCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_GetObjectListCommand) - .de(Aws_restJson1_1.de_GetObjectListCommand) - .build() { -} -exports.GetObjectListCommand = GetObjectListCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetRaftBucketsCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/GetRaftBucketsCommand.js deleted file mode 100644 index 9c41237a..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetRaftBucketsCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetRaftBucketsCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class GetRaftBucketsCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetRaftBuckets", {}) - .n("CloudserverClient", "GetRaftBucketsCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_GetRaftBucketsCommand) - .de(Aws_restJson1_1.de_GetRaftBucketsCommand) - .build() { -} -exports.GetRaftBucketsCommand = GetRaftBucketsCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetRaftIdCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/GetRaftIdCommand.js deleted file mode 100644 index 50063f66..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetRaftIdCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetRaftIdCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class GetRaftIdCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetRaftId", {}) - .n("CloudserverClient", "GetRaftIdCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_GetRaftIdCommand) - .de(Aws_restJson1_1.de_GetRaftIdCommand) - .build() { -} -exports.GetRaftIdCommand = GetRaftIdCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetRaftLogCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/GetRaftLogCommand.js deleted file mode 100644 index a83dc3f8..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/GetRaftLogCommand.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetRaftLogCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class GetRaftLogCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetRaftLog", {}) - .n("CloudserverClient", "GetRaftLogCommand") - .f(void 0, models_0_1.GetRaftLogOutputFilterSensitiveLog) - .ser(Aws_restJson1_1.se_GetRaftLogCommand) - .de(Aws_restJson1_1.de_GetRaftLogCommand) - .build() { -} -exports.GetRaftLogCommand = GetRaftLogCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/ListLifecycleCurrentsCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/ListLifecycleCurrentsCommand.js deleted file mode 100644 index 350f9e8a..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/ListLifecycleCurrentsCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListLifecycleCurrentsCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class ListLifecycleCurrentsCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "ListLifecycleCurrents", {}) - .n("CloudserverClient", "ListLifecycleCurrentsCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_ListLifecycleCurrentsCommand) - .de(Aws_restJson1_1.de_ListLifecycleCurrentsCommand) - .build() { -} -exports.ListLifecycleCurrentsCommand = ListLifecycleCurrentsCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/ListLifecycleNonCurrentsCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/ListLifecycleNonCurrentsCommand.js deleted file mode 100644 index 0d3c89ae..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/ListLifecycleNonCurrentsCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListLifecycleNonCurrentsCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class ListLifecycleNonCurrentsCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "ListLifecycleNonCurrents", {}) - .n("CloudserverClient", "ListLifecycleNonCurrentsCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_ListLifecycleNonCurrentsCommand) - .de(Aws_restJson1_1.de_ListLifecycleNonCurrentsCommand) - .build() { -} -exports.ListLifecycleNonCurrentsCommand = ListLifecycleNonCurrentsCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/ListLifecycleOrphansCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/ListLifecycleOrphansCommand.js deleted file mode 100644 index 1eafe1d7..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/ListLifecycleOrphansCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListLifecycleOrphansCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class ListLifecycleOrphansCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "ListLifecycleOrphans", {}) - .n("CloudserverClient", "ListLifecycleOrphansCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_ListLifecycleOrphansCommand) - .de(Aws_restJson1_1.de_ListLifecycleOrphansCommand) - .build() { -} -exports.ListLifecycleOrphansCommand = ListLifecycleOrphansCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendAbortMPUCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendAbortMPUCommand.js deleted file mode 100644 index 5d3d318e..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendAbortMPUCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MultipleBackendAbortMPUCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class MultipleBackendAbortMPUCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendAbortMPU", {}) - .n("CloudserverClient", "MultipleBackendAbortMPUCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_MultipleBackendAbortMPUCommand) - .de(Aws_restJson1_1.de_MultipleBackendAbortMPUCommand) - .build() { -} -exports.MultipleBackendAbortMPUCommand = MultipleBackendAbortMPUCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendCompleteMPUCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendCompleteMPUCommand.js deleted file mode 100644 index f7803c19..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendCompleteMPUCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MultipleBackendCompleteMPUCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class MultipleBackendCompleteMPUCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendCompleteMPU", {}) - .n("CloudserverClient", "MultipleBackendCompleteMPUCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_MultipleBackendCompleteMPUCommand) - .de(Aws_restJson1_1.de_MultipleBackendCompleteMPUCommand) - .build() { -} -exports.MultipleBackendCompleteMPUCommand = MultipleBackendCompleteMPUCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendDeleteObjectCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendDeleteObjectCommand.js deleted file mode 100644 index a4c3e2cd..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendDeleteObjectCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MultipleBackendDeleteObjectCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class MultipleBackendDeleteObjectCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendDeleteObject", {}) - .n("CloudserverClient", "MultipleBackendDeleteObjectCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_MultipleBackendDeleteObjectCommand) - .de(Aws_restJson1_1.de_MultipleBackendDeleteObjectCommand) - .build() { -} -exports.MultipleBackendDeleteObjectCommand = MultipleBackendDeleteObjectCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendDeleteObjectTaggingCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendDeleteObjectTaggingCommand.js deleted file mode 100644 index 19285687..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendDeleteObjectTaggingCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MultipleBackendDeleteObjectTaggingCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class MultipleBackendDeleteObjectTaggingCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendDeleteObjectTagging", {}) - .n("CloudserverClient", "MultipleBackendDeleteObjectTaggingCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_MultipleBackendDeleteObjectTaggingCommand) - .de(Aws_restJson1_1.de_MultipleBackendDeleteObjectTaggingCommand) - .build() { -} -exports.MultipleBackendDeleteObjectTaggingCommand = MultipleBackendDeleteObjectTaggingCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendHeadObjectCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendHeadObjectCommand.js deleted file mode 100644 index bfb364f1..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendHeadObjectCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MultipleBackendHeadObjectCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class MultipleBackendHeadObjectCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendHeadObject", {}) - .n("CloudserverClient", "MultipleBackendHeadObjectCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_MultipleBackendHeadObjectCommand) - .de(Aws_restJson1_1.de_MultipleBackendHeadObjectCommand) - .build() { -} -exports.MultipleBackendHeadObjectCommand = MultipleBackendHeadObjectCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendInitiateMPUCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendInitiateMPUCommand.js deleted file mode 100644 index 0f093fb7..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendInitiateMPUCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MultipleBackendInitiateMPUCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class MultipleBackendInitiateMPUCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendInitiateMPU", {}) - .n("CloudserverClient", "MultipleBackendInitiateMPUCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_MultipleBackendInitiateMPUCommand) - .de(Aws_restJson1_1.de_MultipleBackendInitiateMPUCommand) - .build() { -} -exports.MultipleBackendInitiateMPUCommand = MultipleBackendInitiateMPUCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendPutMPUPartCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendPutMPUPartCommand.js deleted file mode 100644 index 15cead1f..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendPutMPUPartCommand.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MultipleBackendPutMPUPartCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class MultipleBackendPutMPUPartCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendPutMPUPart", {}) - .n("CloudserverClient", "MultipleBackendPutMPUPartCommand") - .f(models_0_1.MultipleBackendPutMPUPartInputFilterSensitiveLog, void 0) - .ser(Aws_restJson1_1.se_MultipleBackendPutMPUPartCommand) - .de(Aws_restJson1_1.de_MultipleBackendPutMPUPartCommand) - .build() { -} -exports.MultipleBackendPutMPUPartCommand = MultipleBackendPutMPUPartCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendPutObjectCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendPutObjectCommand.js deleted file mode 100644 index c0e75f41..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendPutObjectCommand.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MultipleBackendPutObjectCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class MultipleBackendPutObjectCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendPutObject", {}) - .n("CloudserverClient", "MultipleBackendPutObjectCommand") - .f(models_0_1.MultipleBackendPutObjectInputFilterSensitiveLog, void 0) - .ser(Aws_restJson1_1.se_MultipleBackendPutObjectCommand) - .de(Aws_restJson1_1.de_MultipleBackendPutObjectCommand) - .build() { -} -exports.MultipleBackendPutObjectCommand = MultipleBackendPutObjectCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendPutObjectTaggingCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendPutObjectTaggingCommand.js deleted file mode 100644 index 734ba1cf..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/MultipleBackendPutObjectTaggingCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MultipleBackendPutObjectTaggingCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class MultipleBackendPutObjectTaggingCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendPutObjectTagging", {}) - .n("CloudserverClient", "MultipleBackendPutObjectTaggingCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_MultipleBackendPutObjectTaggingCommand) - .de(Aws_restJson1_1.de_MultipleBackendPutObjectTaggingCommand) - .build() { -} -exports.MultipleBackendPutObjectTaggingCommand = MultipleBackendPutObjectTaggingCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/PutBucketIndexesCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/PutBucketIndexesCommand.js deleted file mode 100644 index 45b9a86a..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/PutBucketIndexesCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PutBucketIndexesCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class PutBucketIndexesCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "PutBucketIndexes", {}) - .n("CloudserverClient", "PutBucketIndexesCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_PutBucketIndexesCommand) - .de(Aws_restJson1_1.de_PutBucketIndexesCommand) - .build() { -} -exports.PutBucketIndexesCommand = PutBucketIndexesCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/PutDataCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/PutDataCommand.js deleted file mode 100644 index d18a303e..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/PutDataCommand.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PutDataCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class PutDataCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "PutData", {}) - .n("CloudserverClient", "PutDataCommand") - .f(models_0_1.PutDataInputFilterSensitiveLog, void 0) - .ser(Aws_restJson1_1.se_PutDataCommand) - .de(Aws_restJson1_1.de_PutDataCommand) - .build() { -} -exports.PutDataCommand = PutDataCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/PutMetadataCommand.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/PutMetadataCommand.js deleted file mode 100644 index 81df949b..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/PutMetadataCommand.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PutMetadataCommand = exports.$Command = void 0; -const EndpointParameters_1 = require("../endpoint/EndpointParameters"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -class PutMetadataCommand extends smithy_client_1.Command.classBuilder() - .ep(EndpointParameters_1.commonParams) - .m(function (Command, cs, config, o) { - return [ - (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), - (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "PutMetadata", {}) - .n("CloudserverClient", "PutMetadataCommand") - .f(void 0, void 0) - .ser(Aws_restJson1_1.se_PutMetadataCommand) - .de(Aws_restJson1_1.de_PutMetadataCommand) - .build() { -} -exports.PutMetadataCommand = PutMetadataCommand; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/commands/index.js b/build/smithy/source/typescript-codegen/dist-cjs/commands/index.js deleted file mode 100644 index 08110ebb..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/commands/index.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./BatchDeleteCommand"), exports); -tslib_1.__exportStar(require("./DeleteBucketIndexesCommand"), exports); -tslib_1.__exportStar(require("./DeleteObjectFromExpirationCommand"), exports); -tslib_1.__exportStar(require("./GetBucketCseqCommand"), exports); -tslib_1.__exportStar(require("./GetBucketIndexesCommand"), exports); -tslib_1.__exportStar(require("./GetBucketMetadataCommand"), exports); -tslib_1.__exportStar(require("./GetMetadataCommand"), exports); -tslib_1.__exportStar(require("./GetObjectCommand"), exports); -tslib_1.__exportStar(require("./GetObjectListCommand"), exports); -tslib_1.__exportStar(require("./GetRaftBucketsCommand"), exports); -tslib_1.__exportStar(require("./GetRaftIdCommand"), exports); -tslib_1.__exportStar(require("./GetRaftLogCommand"), exports); -tslib_1.__exportStar(require("./ListLifecycleCurrentsCommand"), exports); -tslib_1.__exportStar(require("./ListLifecycleNonCurrentsCommand"), exports); -tslib_1.__exportStar(require("./ListLifecycleOrphansCommand"), exports); -tslib_1.__exportStar(require("./MultipleBackendAbortMPUCommand"), exports); -tslib_1.__exportStar(require("./MultipleBackendCompleteMPUCommand"), exports); -tslib_1.__exportStar(require("./MultipleBackendDeleteObjectCommand"), exports); -tslib_1.__exportStar(require("./MultipleBackendDeleteObjectTaggingCommand"), exports); -tslib_1.__exportStar(require("./MultipleBackendHeadObjectCommand"), exports); -tslib_1.__exportStar(require("./MultipleBackendInitiateMPUCommand"), exports); -tslib_1.__exportStar(require("./MultipleBackendPutMPUPartCommand"), exports); -tslib_1.__exportStar(require("./MultipleBackendPutObjectCommand"), exports); -tslib_1.__exportStar(require("./MultipleBackendPutObjectTaggingCommand"), exports); -tslib_1.__exportStar(require("./PutBucketIndexesCommand"), exports); -tslib_1.__exportStar(require("./PutDataCommand"), exports); -tslib_1.__exportStar(require("./PutMetadataCommand"), exports); diff --git a/build/smithy/source/typescript-codegen/dist-cjs/endpoint/EndpointParameters.js b/build/smithy/source/typescript-codegen/dist-cjs/endpoint/EndpointParameters.js deleted file mode 100644 index df3367e4..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/endpoint/EndpointParameters.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.commonParams = exports.resolveClientEndpointParameters = void 0; -const resolveClientEndpointParameters = (options) => { - return Object.assign(options, { - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "s3", - }); -}; -exports.resolveClientEndpointParameters = resolveClientEndpointParameters; -exports.commonParams = { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, -}; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/endpoint/endpointResolver.js b/build/smithy/source/typescript-codegen/dist-cjs/endpoint/endpointResolver.js deleted file mode 100644 index 91854ef2..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/endpoint/endpointResolver.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.defaultEndpointResolver = void 0; -const ruleset_1 = require("./ruleset"); -const util_endpoints_1 = require("@aws-sdk/util-endpoints"); -const util_endpoints_2 = require("@smithy/util-endpoints"); -const cache = new util_endpoints_2.EndpointCache({ - size: 50, - params: ["Endpoint", - "Region", - "UseDualStack", - "UseFIPS"] -}); -const defaultEndpointResolver = (endpointParams, context = {}) => { - return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { - endpointParams: endpointParams, - logger: context.logger, - })); -}; -exports.defaultEndpointResolver = defaultEndpointResolver; -util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/endpoint/ruleset.js b/build/smithy/source/typescript-codegen/dist-cjs/endpoint/ruleset.js deleted file mode 100644 index cb329b74..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/endpoint/ruleset.js +++ /dev/null @@ -1,342 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ruleSet = void 0; -exports.ruleSet = { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS Region. This is a default regional AWS endpointRuleSet.", - "type": "String", - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "Whether to use dual-stack.", - "type": "Boolean", - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "Whether to use FIPS-compliant regional endpoint.", - "type": "Boolean", - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint.", - "type": "String", - }, - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint", - }, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS", - }, - true, - ], - }, - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error", - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack", - }, - true, - ], - }, - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error", - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint", - }, - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region", - }, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region", - }, - ], - "assign": "PartitionResult", - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS", - }, - true, - ], - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack", - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsFIPS", - ], - }, - ], - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsDualStack", - ], - }, - ], - }, - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cloudserver-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error", - }, - ], - "type": "tree", - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS", - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsFIPS", - ], - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "name", - ], - }, - "aws-us-gov", - ], - }, - ], - "endpoint": { - "url": "https://cloudserver.{Region}.amazonaws.com", - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - { - "conditions": [], - "endpoint": { - "url": "https://cloudserver-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error", - }, - ], - "type": "tree", - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack", - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsDualStack", - ], - }, - ], - }, - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cloudserver.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error", - }, - ], - "type": "tree", - }, - { - "conditions": [], - "endpoint": { - "url": "https://cloudserver.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - ], - "type": "tree", - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error", - }, - ], -}; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/extensionConfiguration.js b/build/smithy/source/typescript-codegen/dist-cjs/extensionConfiguration.js deleted file mode 100644 index c8ad2e54..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/extensionConfiguration.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/build/smithy/source/typescript-codegen/dist-cjs/index.js b/build/smithy/source/typescript-codegen/dist-cjs/index.js deleted file mode 100644 index c720b4ea..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/index.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CloudserverServiceException = void 0; -const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./CloudserverClient"), exports); -tslib_1.__exportStar(require("./Cloudserver"), exports); -tslib_1.__exportStar(require("./commands"), exports); -tslib_1.__exportStar(require("./models"), exports); -var CloudserverServiceException_1 = require("./models/CloudserverServiceException"); -Object.defineProperty(exports, "CloudserverServiceException", { enumerable: true, get: function () { return CloudserverServiceException_1.CloudserverServiceException; } }); diff --git a/build/smithy/source/typescript-codegen/dist-cjs/models/CloudserverServiceException.js b/build/smithy/source/typescript-codegen/dist-cjs/models/CloudserverServiceException.js deleted file mode 100644 index d9d98ff6..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/models/CloudserverServiceException.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CloudserverServiceException = exports.__ServiceException = void 0; -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } }); -class CloudserverServiceException extends smithy_client_1.ServiceException { - constructor(options) { - super(options); - Object.setPrototypeOf(this, CloudserverServiceException.prototype); - } -} -exports.CloudserverServiceException = CloudserverServiceException; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/models/index.js b/build/smithy/source/typescript-codegen/dist-cjs/models/index.js deleted file mode 100644 index 8ced418b..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/models/index.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./models_0"), exports); diff --git a/build/smithy/source/typescript-codegen/dist-cjs/models/models_0.js b/build/smithy/source/typescript-codegen/dist-cjs/models/models_0.js deleted file mode 100644 index 8a343b17..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/models/models_0.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PutDataInputFilterSensitiveLog = exports.MultipleBackendPutObjectInputFilterSensitiveLog = exports.MultipleBackendPutMPUPartInputFilterSensitiveLog = exports.GetRaftLogOutputFilterSensitiveLog = exports.GetObjectOutputFilterSensitiveLog = exports.GetObjectInputFilterSensitiveLog = exports.LifecycleRuleStatus = void 0; -const smithy_client_1 = require("@smithy/smithy-client"); -exports.LifecycleRuleStatus = { - DISABLED: "Disabled", - ENABLED: "Enabled", -}; -const GetObjectInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.SSECustomerKey && { SSECustomerKey: smithy_client_1.SENSITIVE_STRING - }), -}); -exports.GetObjectInputFilterSensitiveLog = GetObjectInputFilterSensitiveLog; -const GetObjectOutputFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.SSEKMSKeyId && { SSEKMSKeyId: smithy_client_1.SENSITIVE_STRING - }), -}); -exports.GetObjectOutputFilterSensitiveLog = GetObjectOutputFilterSensitiveLog; -const GetRaftLogOutputFilterSensitiveLog = (obj) => ({ - ...obj, -}); -exports.GetRaftLogOutputFilterSensitiveLog = GetRaftLogOutputFilterSensitiveLog; -const MultipleBackendPutMPUPartInputFilterSensitiveLog = (obj) => ({ - ...obj, -}); -exports.MultipleBackendPutMPUPartInputFilterSensitiveLog = MultipleBackendPutMPUPartInputFilterSensitiveLog; -const MultipleBackendPutObjectInputFilterSensitiveLog = (obj) => ({ - ...obj, -}); -exports.MultipleBackendPutObjectInputFilterSensitiveLog = MultipleBackendPutObjectInputFilterSensitiveLog; -const PutDataInputFilterSensitiveLog = (obj) => ({ - ...obj, -}); -exports.PutDataInputFilterSensitiveLog = PutDataInputFilterSensitiveLog; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/protocols/Aws_restJson1.js b/build/smithy/source/typescript-codegen/dist-cjs/protocols/Aws_restJson1.js deleted file mode 100644 index df51e6f2..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/protocols/Aws_restJson1.js +++ /dev/null @@ -1,1258 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.de_MultipleBackendPutObjectCommand = exports.de_MultipleBackendPutMPUPartCommand = exports.de_MultipleBackendInitiateMPUCommand = exports.de_MultipleBackendHeadObjectCommand = exports.de_MultipleBackendDeleteObjectTaggingCommand = exports.de_MultipleBackendDeleteObjectCommand = exports.de_MultipleBackendCompleteMPUCommand = exports.de_MultipleBackendAbortMPUCommand = exports.de_ListLifecycleOrphansCommand = exports.de_ListLifecycleNonCurrentsCommand = exports.de_ListLifecycleCurrentsCommand = exports.de_GetRaftLogCommand = exports.de_GetRaftIdCommand = exports.de_GetRaftBucketsCommand = exports.de_GetObjectListCommand = exports.de_GetObjectCommand = exports.de_GetMetadataCommand = exports.de_GetBucketMetadataCommand = exports.de_GetBucketIndexesCommand = exports.de_GetBucketCseqCommand = exports.de_DeleteObjectFromExpirationCommand = exports.de_DeleteBucketIndexesCommand = exports.de_BatchDeleteCommand = exports.se_PutMetadataCommand = exports.se_PutDataCommand = exports.se_PutBucketIndexesCommand = exports.se_MultipleBackendPutObjectTaggingCommand = exports.se_MultipleBackendPutObjectCommand = exports.se_MultipleBackendPutMPUPartCommand = exports.se_MultipleBackendInitiateMPUCommand = exports.se_MultipleBackendHeadObjectCommand = exports.se_MultipleBackendDeleteObjectTaggingCommand = exports.se_MultipleBackendDeleteObjectCommand = exports.se_MultipleBackendCompleteMPUCommand = exports.se_MultipleBackendAbortMPUCommand = exports.se_ListLifecycleOrphansCommand = exports.se_ListLifecycleNonCurrentsCommand = exports.se_ListLifecycleCurrentsCommand = exports.se_GetRaftLogCommand = exports.se_GetRaftIdCommand = exports.se_GetRaftBucketsCommand = exports.se_GetObjectListCommand = exports.se_GetObjectCommand = exports.se_GetMetadataCommand = exports.se_GetBucketMetadataCommand = exports.se_GetBucketIndexesCommand = exports.se_GetBucketCseqCommand = exports.se_DeleteObjectFromExpirationCommand = exports.se_DeleteBucketIndexesCommand = exports.se_BatchDeleteCommand = void 0; -exports.de_PutMetadataCommand = exports.de_PutDataCommand = exports.de_PutBucketIndexesCommand = exports.de_MultipleBackendPutObjectTaggingCommand = void 0; -const CloudserverServiceException_1 = require("../models/CloudserverServiceException"); -const core_1 = require("@aws-sdk/core"); -const core_2 = require("@smithy/core"); -const smithy_client_1 = require("@smithy/smithy-client"); -const se_BatchDeleteCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'content-type': 'application/json', - [_ius]: input[_IUS], - [_xssc]: input[_SC], - [_xst]: input[_T], - [_xsct]: input[_CT], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/batchdelete/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - 'Locations': _ => (0, smithy_client_1._json)(_), - })); - b.m("POST") - .h(headers) - .b(body); - return b.build(); -}; -exports.se_BatchDeleteCommand = se_BatchDeleteCommand; -const se_DeleteBucketIndexesCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/index/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - const query = (0, smithy_client_1.map)({ - [_o]: [, "delete"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_DeleteBucketIndexesCommand = se_DeleteBucketIndexesCommand; -const se_DeleteObjectFromExpirationCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/expiration/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_vI]: [, input[_VI]], - }); - let body; - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_DeleteObjectFromExpirationCommand = se_DeleteObjectFromExpirationCommand; -const se_GetBucketCseqCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/default/informations/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -exports.se_GetBucketCseqCommand = se_GetBucketCseqCommand; -const se_GetBucketIndexesCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/index/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -exports.se_GetBucketIndexesCommand = se_GetBucketIndexesCommand; -const se_GetBucketMetadataCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/default/attributes/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -exports.se_GetBucketMetadataCommand = se_GetBucketMetadataCommand; -const se_GetMetadataCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/metadata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_vI]: [, input[_VI]], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_GetMetadataCommand = se_GetMetadataCommand; -const se_GetObjectCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_im]: input[_IM], - [_ims]: [() => (0, smithy_client_1.isSerializableHeaderValue)(input[_IMS]), () => (0, smithy_client_1.dateToUtcString)(input[_IMS]).toString()], - [_inm]: input[_INM], - [_ius]: [() => (0, smithy_client_1.isSerializableHeaderValue)(input[_IUS]), () => (0, smithy_client_1.dateToUtcString)(input[_IUS]).toString()], - [_r]: input[_R], - [_xasseca]: input[_SSECA], - [_xasseck]: input[_SSECK], - [_xasseckm]: input[_SSECKMD], - [_xarp]: input[_RP], - [_xalc]: input[_LC], - [_xsru]: input[_RU], - }); - b.bp("/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_rcc]: [, input[_RCC]], - [_rcd]: [, input[_RCD]], - [_rce]: [, input[_RCE]], - [_rcl]: [, input[_RCL]], - [_rct]: [, input[_RCT]], - [_re]: [() => input.ResponseExpires !== void 0, () => ((0, smithy_client_1.serializeDateTime)(input[_RE]).toString())], - [_vI]: [, input[_VI]], - [_pN]: [() => input.PartNumber !== void 0, () => (input[_PN].toString())], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_GetObjectCommand = se_GetObjectCommand; -const se_GetObjectListCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/default/bucket/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -exports.se_GetObjectListCommand = se_GetObjectListCommand; -const se_GetRaftBucketsCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/admin/raft_sessions/{LogId}/bucket"); - b.p('LogId', () => input.LogId, '{LogId}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -exports.se_GetRaftBucketsCommand = se_GetRaftBucketsCommand; -const se_GetRaftIdCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/admin/buckets/{Bucket}/id"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -exports.se_GetRaftIdCommand = se_GetRaftIdCommand; -const se_GetRaftLogCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/admin/raft_sessions/{LogId}/log"); - b.p('LogId', () => input.LogId, '{LogId}', false); - const query = (0, smithy_client_1.map)({ - [_b]: [() => input.Begin !== void 0, () => (input[_B].toString())], - [_l]: [() => input.Limit !== void 0, () => (input[_L].toString())], - [_tL]: [() => input.TargetLeader !== void 0, () => (input[_TL].toString())], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_GetRaftLogCommand = se_GetRaftLogCommand; -const se_ListLifecycleCurrentsCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/lifecycle/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - const query = (0, smithy_client_1.map)({ - [_lt]: [, "current"], - [_bd]: [, input[_BD]], - [_edsn]: [, input[_EDSN]], - [_et]: [, input[_ET]], - [_m]: [, input[_M]], - [_mk]: [() => input.MaxKeys !== void 0, () => (input[_MK].toString())], - [_p]: [, input[_P]], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_ListLifecycleCurrentsCommand = se_ListLifecycleCurrentsCommand; -const se_ListLifecycleNonCurrentsCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/lifecycle/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - const query = (0, smithy_client_1.map)({ - [_lt]: [, "noncurrent"], - [_bd]: [, input[_BD]], - [_edsn]: [, input[_EDSN]], - [_et]: [, input[_ET]], - [_km]: [, input[_KM]], - [_vim]: [, input[_VIM]], - [_mk]: [() => input.MaxKeys !== void 0, () => (input[_MK].toString())], - [_p]: [, input[_P]], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_ListLifecycleNonCurrentsCommand = se_ListLifecycleNonCurrentsCommand; -const se_ListLifecycleOrphansCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/lifecycle/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - const query = (0, smithy_client_1.map)({ - [_lt]: [, "orphan"], - [_bd]: [, input[_BD]], - [_edsn]: [, input[_EDSN]], - [_et]: [, input[_ET]], - [_m]: [, input[_M]], - [_mk]: [() => input.MaxKeys !== void 0, () => (input[_MK].toString())], - [_p]: [, input[_P]], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_ListLifecycleOrphansCommand = se_ListLifecycleOrphansCommand; -const se_MultipleBackendAbortMPUCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsst]: input[_ST], - [_xssc]: input[_SC], - [_xsui]: input[_UI], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_o]: [, "abortmpu"], - }); - let body; - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_MultipleBackendAbortMPUCommand = se_MultipleBackendAbortMPUCommand; -const se_MultipleBackendCompleteMPUCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsst]: input[_ST], - [_xssc]: input[_SC], - [_xsvi]: input[_VI], - [_xsct]: input[_CT], - [_xsum]: input[_UMD], - [_xscc]: input[_CC], - [_xscd]: input[_CD], - [_xsce]: input[_CE], - [_xsui]: input[_UI], - [_xst]: input[_T], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_o]: [, "completempu"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_MultipleBackendCompleteMPUCommand = se_MultipleBackendCompleteMPUCommand; -const se_MultipleBackendDeleteObjectCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsst]: input[_ST], - [_xssc]: input[_SC], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_o]: [, "deleteobject"], - }); - let body; - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_MultipleBackendDeleteObjectCommand = se_MultipleBackendDeleteObjectCommand; -const se_MultipleBackendDeleteObjectTaggingCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xssc]: input[_SC], - [_xsst]: input[_ST], - [_xsdsvi]: input[_DSVI], - [_xssb]: input[_SB], - [_xssvi]: input[_SVI], - [_xsres]: input[_RES], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_o]: [, "deleteobjecttagging"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_MultipleBackendDeleteObjectTaggingCommand = se_MultipleBackendDeleteObjectTaggingCommand; -const se_MultipleBackendHeadObjectCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - [_xsl]: input[_Lo], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackendmetadata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -exports.se_MultipleBackendHeadObjectCommand = se_MultipleBackendHeadObjectCommand; -const se_MultipleBackendInitiateMPUCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xssc]: input[_SC], - [_xsvi]: input[_VI], - [_xsst]: input[_ST], - [_xsct]: input[_CT], - [_xsum]: input[_UMD], - [_xscc]: input[_CC], - [_xscd]: input[_CD], - [_xsce]: input[_CE], - [_xst]: input[_T], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_o]: [, "initiatempu"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_MultipleBackendInitiateMPUCommand = se_MultipleBackendInitiateMPUCommand; -const se_MultipleBackendPutMPUPartCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'x-amz-content-sha256': 'UNSIGNED-PAYLOAD', - 'content-type': 'application/octet-stream', - [_xsst]: input[_ST], - [_xssc]: input[_SC], - [_xspn]: [() => (0, smithy_client_1.isSerializableHeaderValue)(input[_PN]), () => input[_PN].toString()], - [_xsui]: input[_UI], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_o]: [, "putpart"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_MultipleBackendPutMPUPartCommand = se_MultipleBackendPutMPUPartCommand; -const se_MultipleBackendPutObjectCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'x-amz-content-sha256': 'UNSIGNED-PAYLOAD', - 'content-type': 'application/octet-stream', - [_cm]: input[_CMD], - [_xsct]: input[_CT], - [_xsum]: input[_UMD], - [_xscc]: input[_CC], - [_xscd]: input[_CD], - [_xsce]: input[_CE], - [_xsci]: input[_CID], - [_xssc]: input[_SC], - [_xsst]: input[_ST], - [_xsvi]: input[_VI], - [_xst]: input[_T], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_o]: [, "putobject"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_MultipleBackendPutObjectCommand = se_MultipleBackendPutObjectCommand; -const se_MultipleBackendPutObjectTaggingCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsst]: input[_ST], - [_xssc]: input[_SC], - [_xsdsvi]: input[_DSVI], - [_xst]: input[_T], - [_xssb]: input[_SB], - [_xssvi]: input[_SVI], - [_xsres]: input[_RES], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_o]: [, "puttagging"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_MultipleBackendPutObjectTaggingCommand = se_MultipleBackendPutObjectTaggingCommand; -const se_PutBucketIndexesCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/index/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - const query = (0, smithy_client_1.map)({ - [_o]: [, "add"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_PutBucketIndexesCommand = se_PutBucketIndexesCommand; -const se_PutDataCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'x-amz-content-sha256': 'UNSIGNED-PAYLOAD', - 'content-type': 'application/octet-stream', - [_cm]: input[_CMD], - [_xsci]: input[_CID], - [_xsvr]: [() => (0, smithy_client_1.isSerializableHeaderValue)(input[_VR]), () => input[_VR].toString()], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/data/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_v]: [, ""], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_PutDataCommand = se_PutDataCommand; -const se_PutMetadataCommand = async (input, context) => { - const b = (0, core_2.requestBuilder)(input, context); - const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_cm]: input[_CMD], - [_xsrc]: input[_RC], - [_xsvr]: [() => (0, smithy_client_1.isSerializableHeaderValue)(input[_VR]), () => input[_VR].toString()], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/metadata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = (0, smithy_client_1.map)({ - [_vI]: [, input[_VI]], - [_aI]: [, input[_AI]], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -exports.se_PutMetadataCommand = se_PutMetadataCommand; -const de_BatchDeleteCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_BatchDeleteCommand = de_BatchDeleteCommand; -const de_DeleteBucketIndexesCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_DeleteBucketIndexesCommand = de_DeleteBucketIndexesCommand; -const de_DeleteObjectFromExpirationCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'versionId': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_DeleteObjectFromExpirationCommand = de_DeleteObjectFromExpirationCommand; -const de_GetBucketCseqCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = await collectBodyString(output.body, context); - contents.CseqInfo = data; - contents.CseqInfo = JSON.parse(data); - return contents; -}; -exports.de_GetBucketCseqCommand = de_GetBucketCseqCommand; -const de_GetBucketIndexesCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'Indexes': smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetBucketIndexesCommand = de_GetBucketIndexesCommand; -const de_GetBucketMetadataCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'acl': smithy_client_1._json, - 'cors': smithy_client_1._json, - 'creationDate': smithy_client_1.expectString, - 'deleted': smithy_client_1.expectBoolean, - 'lifecycleConfiguration': smithy_client_1._json, - 'locationConstraint': smithy_client_1.expectString, - 'mdBucketModelVersion': smithy_client_1.expectInt32, - 'name': smithy_client_1.expectString, - 'owner': smithy_client_1.expectString, - 'ownerDisplayName': smithy_client_1.expectString, - 'readLocationConstraint': smithy_client_1.expectString, - 'replicationConfiguration': smithy_client_1._json, - 'serverSideEncryption': smithy_client_1._json, - 'transient': smithy_client_1.expectBoolean, - 'uid': smithy_client_1.expectString, - 'versioningConfiguration': smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetBucketMetadataCommand = de_GetBucketMetadataCommand; -const de_GetMetadataCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'Body': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetMetadataCommand = de_GetMetadataCommand; -const de_GetObjectCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - [_DM]: [() => void 0 !== output.headers[_xadm], () => (0, smithy_client_1.parseBoolean)(output.headers[_xadm])], - [_AR]: [, output.headers[_ar]], - [_E]: [, output.headers[_xae]], - [_Re]: [, output.headers[_xar]], - [_LM]: [() => void 0 !== output.headers[_lm], () => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc7231DateTime)(output.headers[_lm]))], - [_ETa]: [, output.headers[_e]], - [_MM]: [() => void 0 !== output.headers[_xamm], () => (0, smithy_client_1.strictParseInt32)(output.headers[_xamm])], - [_VI]: [, output.headers[_xavi]], - [_CC]: [, output.headers[_cc]], - [_CD]: [, output.headers[_cd]], - [_CE]: [, output.headers[_ce]], - [_CL]: [, output.headers[_cl]], - [_CR]: [, output.headers[_cr]], - [_CT]: [, output.headers[_ct]], - [_Ex]: [() => void 0 !== output.headers[_ex], () => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc7231DateTime)(output.headers[_ex]))], - [_WRL]: [, output.headers[_xawrl]], - [_SSE]: [, output.headers[_xasse]], - [_SSECA]: [, output.headers[_xasseca]], - [_SSECKMD]: [, output.headers[_xasseckm]], - [_SSEKMSKI]: [, output.headers[_xasseakki]], - [_SC]: [, output.headers[_xasc]], - [_RCe]: [, output.headers[_xarc]], - [_RS]: [, output.headers[_xars]], - [_PC]: [() => void 0 !== output.headers[_xampc], () => (0, smithy_client_1.strictParseInt32)(output.headers[_xampc])], - [_TC]: [() => void 0 !== output.headers[_xatc], () => (0, smithy_client_1.strictParseInt32)(output.headers[_xatc])], - Metadata: [, - Object.keys(output.headers).filter(header => header.startsWith('x-amz-meta-')) - .reduce((acc, header) => { - acc[header.substring(11)] = output.headers[header]; - return acc; - }, {}) - ], - }); - const data = output.body; - context.sdkStreamMixin(data); - contents.Body = data; - return contents; -}; -exports.de_GetObjectCommand = de_GetObjectCommand; -const de_GetObjectListCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'CommonPrefixes': smithy_client_1._json, - 'Contents': smithy_client_1._json, - 'Delimiter': smithy_client_1.expectString, - 'IsTruncated': smithy_client_1.expectBoolean, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetObjectListCommand = de_GetObjectListCommand; -const de_GetRaftBucketsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = await collectBodyString(output.body, context); - contents.Buckets = data; - contents.Buckets = JSON.parse(data); - return contents; -}; -exports.de_GetRaftBucketsCommand = de_GetRaftBucketsCommand; -const de_GetRaftIdCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = await collectBodyString(output.body, context); - contents.RaftId = (0, smithy_client_1.expectString)(data); - return contents; -}; -exports.de_GetRaftIdCommand = de_GetRaftIdCommand; -const de_GetRaftLogCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - [_S]: [() => void 0 !== output.headers[_xrls], () => (0, smithy_client_1.strictParseInt32)(output.headers[_xrls])], - [_C]: [() => void 0 !== output.headers[_xrlc], () => (0, smithy_client_1.strictParseInt32)(output.headers[_xrlc])], - [_Pr]: [() => void 0 !== output.headers[_xrlp], () => (0, smithy_client_1.strictParseInt32)(output.headers[_xrlp])], - }); - const data = output.body; - context.sdkStreamMixin(data); - contents.Body = data; - return contents; -}; -exports.de_GetRaftLogCommand = de_GetRaftLogCommand; -const de_ListLifecycleCurrentsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'BeforeDate': smithy_client_1.expectString, - 'Contents': smithy_client_1._json, - 'IsTruncated': smithy_client_1.expectBoolean, - 'Marker': smithy_client_1.expectString, - 'MaxKeys': smithy_client_1.expectInt32, - 'Name': smithy_client_1.expectString, - 'NextMarker': smithy_client_1.expectString, - 'Prefix': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListLifecycleCurrentsCommand = de_ListLifecycleCurrentsCommand; -const de_ListLifecycleNonCurrentsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'BeforeDate': smithy_client_1.expectString, - 'Contents': smithy_client_1._json, - 'IsTruncated': smithy_client_1.expectBoolean, - 'KeyMarker': smithy_client_1.expectString, - 'MaxKeys': smithy_client_1.expectInt32, - 'Name': smithy_client_1.expectString, - 'NextKeyMarker': smithy_client_1.expectString, - 'NextVersionIdMarker': smithy_client_1.expectString, - 'Prefix': smithy_client_1.expectString, - 'VersionIdMarker': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListLifecycleNonCurrentsCommand = de_ListLifecycleNonCurrentsCommand; -const de_ListLifecycleOrphansCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'BeforeDate': smithy_client_1.expectString, - 'Contents': smithy_client_1._json, - 'IsTruncated': smithy_client_1.expectBoolean, - 'Marker': smithy_client_1.expectString, - 'MaxKeys': smithy_client_1.expectInt32, - 'Name': smithy_client_1.expectString, - 'NextMarker': smithy_client_1.expectString, - 'Prefix': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListLifecycleOrphansCommand = de_ListLifecycleOrphansCommand; -const de_MultipleBackendAbortMPUCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_MultipleBackendAbortMPUCommand = de_MultipleBackendAbortMPUCommand; -const de_MultipleBackendCompleteMPUCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'location': smithy_client_1._json, - 'versionId': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_MultipleBackendCompleteMPUCommand = de_MultipleBackendCompleteMPUCommand; -const de_MultipleBackendDeleteObjectCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'versionId': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_MultipleBackendDeleteObjectCommand = de_MultipleBackendDeleteObjectCommand; -const de_MultipleBackendDeleteObjectTaggingCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'versionId': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_MultipleBackendDeleteObjectTaggingCommand = de_MultipleBackendDeleteObjectTaggingCommand; -const de_MultipleBackendHeadObjectCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'lastModified': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_MultipleBackendHeadObjectCommand = de_MultipleBackendHeadObjectCommand; -const de_MultipleBackendInitiateMPUCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'uploadId': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_MultipleBackendInitiateMPUCommand = de_MultipleBackendInitiateMPUCommand; -const de_MultipleBackendPutMPUPartCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'ETag': smithy_client_1.expectString, - 'numberSubParts': smithy_client_1.expectInt32, - 'partNumber': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_MultipleBackendPutMPUPartCommand = de_MultipleBackendPutMPUPartCommand; -const de_MultipleBackendPutObjectCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'location': smithy_client_1._json, - 'versionId': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_MultipleBackendPutObjectCommand = de_MultipleBackendPutObjectCommand; -const de_MultipleBackendPutObjectTaggingCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'versionId': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_MultipleBackendPutObjectTaggingCommand = de_MultipleBackendPutObjectTaggingCommand; -const de_PutBucketIndexesCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_PutBucketIndexesCommand = de_PutBucketIndexesCommand; -const de_PutDataCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - [_SSE]: [, output.headers[_xasse]], - [_SSECA]: [, output.headers[_xasseca]], - [_SSEKMSKI]: [, output.headers[_xasseakki]], - }); - const data = await collectBodyString(output.body, context); - contents.Location = data; - contents.Location = JSON.parse(data); - return contents; -}; -exports.de_PutDataCommand = de_PutDataCommand; -const de_PutMetadataCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body"); - const doc = (0, smithy_client_1.take)(data, { - 'versionId': smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_PutMetadataCommand = de_PutMetadataCommand; -const de_CommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await (0, core_1.parseJsonErrorBody)(output.body, context) - }; - const errorCode = (0, core_1.loadRestJsonErrorCode)(output, parsedOutput.body); - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); -}; -const throwDefaultError = (0, smithy_client_1.withBaseException)(CloudserverServiceException_1.CloudserverServiceException); -const de_Document = (output, context) => { - return output; -}; -const deserializeMetadata = (output) => ({ - httpStatusCode: output.statusCode, - requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"], -}); -const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then(body => context.utf8Encoder(body)); -const _AI = "AccountId"; -const _AR = "AcceptRanges"; -const _B = "Begin"; -const _BD = "BeforeDate"; -const _C = "Cseq"; -const _CC = "CacheControl"; -const _CD = "ContentDisposition"; -const _CE = "ContentEncoding"; -const _CID = "CanonicalID"; -const _CL = "ContentLanguage"; -const _CMD = "ContentMD5"; -const _CR = "ContentRange"; -const _CT = "ContentType"; -const _DM = "DeleteMarker"; -const _DSVI = "DataStoreVersionId"; -const _E = "Expiration"; -const _EDSN = "ExcludedDataStoreName"; -const _ET = "EncodingType"; -const _ETa = "ETag"; -const _Ex = "Expires"; -const _IM = "IfMatch"; -const _IMS = "IfModifiedSince"; -const _INM = "IfNoneMatch"; -const _IUS = "IfUnmodifiedSince"; -const _KM = "KeyMarker"; -const _L = "Limit"; -const _LC = "LocationConstraint"; -const _LM = "LastModified"; -const _Lo = "Locations"; -const _M = "Marker"; -const _MK = "MaxKeys"; -const _MM = "MissingMeta"; -const _P = "Prefix"; -const _PC = "PartsCount"; -const _PN = "PartNumber"; -const _Pr = "Prune"; -const _R = "Range"; -const _RC = "ReplicationContent"; -const _RCC = "ResponseCacheControl"; -const _RCD = "ResponseContentDisposition"; -const _RCE = "ResponseContentEncoding"; -const _RCL = "ResponseContentLanguage"; -const _RCT = "ResponseContentType"; -const _RCe = "RequestCharged"; -const _RE = "ResponseExpires"; -const _RES = "ReplicationEndpointSite"; -const _RP = "RequestPayer"; -const _RS = "ReplicationStatus"; -const _RU = "RequestUids"; -const _Re = "Restore"; -const _S = "Start"; -const _SB = "SourceBucket"; -const _SC = "StorageClass"; -const _SSE = "ServerSideEncryption"; -const _SSECA = "SSECustomerAlgorithm"; -const _SSECK = "SSECustomerKey"; -const _SSECKMD = "SSECustomerKeyMD5"; -const _SSEKMSKI = "SSEKMSKeyId"; -const _ST = "StorageType"; -const _SVI = "SourceVersionId"; -const _T = "Tags"; -const _TC = "TagCount"; -const _TL = "TargetLeader"; -const _UI = "UploadId"; -const _UMD = "UserMetaData"; -const _VI = "VersionId"; -const _VIM = "VersionIdMarker"; -const _VR = "VersioningRequired"; -const _WRL = "WebsiteRedirectLocation"; -const _aI = "accountId"; -const _ar = "accept-ranges"; -const _b = "begin"; -const _bd = "before-date"; -const _cc = "cache-control"; -const _cd = "content-disposition"; -const _ce = "content-encoding"; -const _cl = "content-language"; -const _cm = "content-md5"; -const _cr = "content-range"; -const _ct = "content-type"; -const _e = "etag"; -const _edsn = "excluded-data-store-name"; -const _et = "encoding-type"; -const _ex = "expires"; -const _im = "if-match"; -const _ims = "if-modified-since"; -const _inm = "if-none-match"; -const _ius = "if-unmodified-since"; -const _km = "key-marker"; -const _l = "limit"; -const _lm = "last-modified"; -const _lt = "list-type"; -const _m = "marker"; -const _mk = "max-keys"; -const _o = "operation"; -const _p = "prefix"; -const _pN = "partNumber"; -const _r = "range"; -const _rcc = "response-cache-control"; -const _rcd = "response-content-disposition"; -const _rce = "response-content-encoding"; -const _rcl = "response-content-language"; -const _rct = "response-content-type"; -const _re = "response-expires"; -const _tL = "targetLeader"; -const _v = "v2"; -const _vI = "versionId"; -const _vim = "version-id-marker"; -const _xadm = "x-amz-delete-marker"; -const _xae = "x-amz-expiration"; -const _xalc = "x-amz-location-constraint"; -const _xamm = "x-amz-missing-meta"; -const _xampc = "x-amz-mp-parts-count"; -const _xar = "x-amz-restore"; -const _xarc = "x-amz-request-charged"; -const _xarp = "x-amz-request-payer"; -const _xars = "x-amz-replication-status"; -const _xasc = "x-amz-storage-class"; -const _xasse = "x-amz-server-side-encryption"; -const _xasseakki = "x-amz-server-side-encryption-aws-kms-key-id"; -const _xasseca = "x-amz-server-side-encryption-customer-algorithm"; -const _xasseck = "x-amz-server-side-encryption-customer-key"; -const _xasseckm = "x-amz-server-side-encryption-customer-key-md5"; -const _xatc = "x-amz-tagging-count"; -const _xavi = "x-amz-version-id"; -const _xawrl = "x-amz-website-redirect-location"; -const _xrlc = "x-raft-log-cseq"; -const _xrlp = "x-raft-log-prune"; -const _xrls = "x-raft-log-start"; -const _xscc = "x-scal-cache-control"; -const _xscd = "x-scal-content-disposition"; -const _xsce = "x-scal-content-encoding"; -const _xsci = "x-scal-canonical-id"; -const _xsct = "x-scal-content-type"; -const _xsdsvi = "x-scal-data-store-version-id"; -const _xsl = "x-scal-locations"; -const _xspn = "x-scal-part-number"; -const _xsrc = "x-scal-replication-content"; -const _xsres = "x-scal-replication-endpoint-site"; -const _xsru = "x-scal-request-uids"; -const _xssb = "x-scal-source-bucket"; -const _xssc = "x-scal-storage-class"; -const _xsst = "x-scal-storage-type"; -const _xssvi = "x-scal-source-version-id"; -const _xst = "x-scal-tags"; -const _xsui = "x-scal-upload-id"; -const _xsum = "x-scal-user-metadata"; -const _xsvi = "x-scal-version-id"; -const _xsvr = "x-scal-versioning-required"; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.browser.js b/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.browser.js deleted file mode 100644 index c5a0be82..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.browser.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getRuntimeConfig = void 0; -const tslib_1 = require("tslib"); -const package_json_1 = tslib_1.__importDefault(require("../package.json")); -const sha256_browser_1 = require("@aws-crypto/sha256-browser"); -const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser"); -const config_resolver_1 = require("@smithy/config-resolver"); -const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); -const invalid_dependency_1 = require("@smithy/invalid-dependency"); -const util_body_length_browser_1 = require("@smithy/util-body-length-browser"); -const util_retry_1 = require("@smithy/util-retry"); -const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); -const smithy_client_1 = require("@smithy/smithy-client"); -const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser"); -const getRuntimeConfig = (config) => { - const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config); - const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); - const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); - return { - ...clientSharedValues, - ...config, - runtime: "browser", - defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), - maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS, - region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"), - requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE), - sha256: config?.sha256 ?? sha256_browser_1.Sha256, - streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), - useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)), - }; -}; -exports.getRuntimeConfig = getRuntimeConfig; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.js b/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.js deleted file mode 100644 index eeac97d5..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.js +++ /dev/null @@ -1,50 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getRuntimeConfig = void 0; -const tslib_1 = require("tslib"); -const package_json_1 = tslib_1.__importDefault(require("../package.json")); -const core_1 = require("@aws-sdk/core"); -const credential_provider_node_1 = require("@aws-sdk/credential-provider-node"); -const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); -const config_resolver_1 = require("@smithy/config-resolver"); -const hash_node_1 = require("@smithy/hash-node"); -const middleware_retry_1 = require("@smithy/middleware-retry"); -const node_config_provider_1 = require("@smithy/node-config-provider"); -const node_http_handler_1 = require("@smithy/node-http-handler"); -const util_body_length_node_1 = require("@smithy/util-body-length-node"); -const util_retry_1 = require("@smithy/util-retry"); -const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); -const smithy_client_1 = require("@smithy/smithy-client"); -const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node"); -const smithy_client_2 = require("@smithy/smithy-client"); -const getRuntimeConfig = (config) => { - (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); - const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); - const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); - const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); - (0, core_1.emitWarningIfUnsupportedVersion)(process.version); - const loaderConfig = { - profile: config?.profile, - logger: clientSharedValues.logger, - }; - return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), - bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider, - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), - maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), - region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), - requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, }, config), - sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), - useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), - userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), - }; -}; -exports.getRuntimeConfig = getRuntimeConfig; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.native.js b/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.native.js deleted file mode 100644 index 34c5f8ec..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.native.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getRuntimeConfig = void 0; -const sha256_js_1 = require("@aws-crypto/sha256-js"); -const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); -const getRuntimeConfig = (config) => { - const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config); - return { - ...browserDefaults, - ...config, - runtime: "react-native", - sha256: config?.sha256 ?? sha256_js_1.Sha256, - }; -}; -exports.getRuntimeConfig = getRuntimeConfig; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.shared.js b/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.shared.js deleted file mode 100644 index 0a04453d..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/runtimeConfig.shared.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getRuntimeConfig = void 0; -const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); -const endpointResolver_1 = require("./endpoint/endpointResolver"); -const core_1 = require("@aws-sdk/core"); -const smithy_client_1 = require("@smithy/smithy-client"); -const url_parser_1 = require("@smithy/url-parser"); -const util_base64_1 = require("@smithy/util-base64"); -const util_stream_1 = require("@smithy/util-stream"); -const util_utf8_1 = require("@smithy/util-utf8"); -const getRuntimeConfig = (config) => { - return { - apiVersion: "2017-07-01", - base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, - base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, - extensions: config?.extensions ?? [], - httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultCloudserverHttpAuthSchemeProvider, - httpAuthSchemes: config?.httpAuthSchemes ?? [{ - schemeId: "aws.auth#sigv4", - identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), - signer: new core_1.AwsSdkSigV4Signer(), - }], - logger: config?.logger ?? new smithy_client_1.NoOpLogger(), - sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin, - serviceId: config?.serviceId ?? "cloudserver", - urlParser: config?.urlParser ?? url_parser_1.parseUrl, - utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, - utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, - }; -}; -exports.getRuntimeConfig = getRuntimeConfig; diff --git a/build/smithy/source/typescript-codegen/dist-cjs/runtimeExtensions.js b/build/smithy/source/typescript-codegen/dist-cjs/runtimeExtensions.js deleted file mode 100644 index 070ff1da..00000000 --- a/build/smithy/source/typescript-codegen/dist-cjs/runtimeExtensions.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.resolveRuntimeExtensions = void 0; -const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration"); -const region_config_resolver_1 = require("@aws-sdk/region-config-resolver"); -const protocol_http_1 = require("@smithy/protocol-http"); -const smithy_client_1 = require("@smithy/smithy-client"); -const resolveRuntimeExtensions = (runtimeConfig, extensions) => { - const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)); - extensions.forEach(extension => extension.configure(extensionConfiguration)); - return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration)); -}; -exports.resolveRuntimeExtensions = resolveRuntimeExtensions; diff --git a/build/smithy/source/typescript-codegen/dist-es/Cloudserver.js b/build/smithy/source/typescript-codegen/dist-es/Cloudserver.js deleted file mode 100644 index 86530caf..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/Cloudserver.js +++ /dev/null @@ -1,61 +0,0 @@ -import { CloudserverClient, } from "./CloudserverClient"; -import { BatchDeleteCommand, } from "./commands/BatchDeleteCommand"; -import { DeleteBucketIndexesCommand, } from "./commands/DeleteBucketIndexesCommand"; -import { DeleteObjectFromExpirationCommand, } from "./commands/DeleteObjectFromExpirationCommand"; -import { GetBucketCseqCommand, } from "./commands/GetBucketCseqCommand"; -import { GetBucketIndexesCommand, } from "./commands/GetBucketIndexesCommand"; -import { GetBucketMetadataCommand, } from "./commands/GetBucketMetadataCommand"; -import { GetMetadataCommand, } from "./commands/GetMetadataCommand"; -import { GetObjectCommand, } from "./commands/GetObjectCommand"; -import { GetObjectListCommand, } from "./commands/GetObjectListCommand"; -import { GetRaftBucketsCommand, } from "./commands/GetRaftBucketsCommand"; -import { GetRaftIdCommand, } from "./commands/GetRaftIdCommand"; -import { GetRaftLogCommand, } from "./commands/GetRaftLogCommand"; -import { ListLifecycleCurrentsCommand, } from "./commands/ListLifecycleCurrentsCommand"; -import { ListLifecycleNonCurrentsCommand, } from "./commands/ListLifecycleNonCurrentsCommand"; -import { ListLifecycleOrphansCommand, } from "./commands/ListLifecycleOrphansCommand"; -import { MultipleBackendAbortMPUCommand, } from "./commands/MultipleBackendAbortMPUCommand"; -import { MultipleBackendCompleteMPUCommand, } from "./commands/MultipleBackendCompleteMPUCommand"; -import { MultipleBackendDeleteObjectCommand, } from "./commands/MultipleBackendDeleteObjectCommand"; -import { MultipleBackendDeleteObjectTaggingCommand, } from "./commands/MultipleBackendDeleteObjectTaggingCommand"; -import { MultipleBackendHeadObjectCommand, } from "./commands/MultipleBackendHeadObjectCommand"; -import { MultipleBackendInitiateMPUCommand, } from "./commands/MultipleBackendInitiateMPUCommand"; -import { MultipleBackendPutMPUPartCommand, } from "./commands/MultipleBackendPutMPUPartCommand"; -import { MultipleBackendPutObjectCommand, } from "./commands/MultipleBackendPutObjectCommand"; -import { MultipleBackendPutObjectTaggingCommand, } from "./commands/MultipleBackendPutObjectTaggingCommand"; -import { PutBucketIndexesCommand, } from "./commands/PutBucketIndexesCommand"; -import { PutDataCommand, } from "./commands/PutDataCommand"; -import { PutMetadataCommand, } from "./commands/PutMetadataCommand"; -import { createAggregatedClient } from "@smithy/smithy-client"; -const commands = { - BatchDeleteCommand, - DeleteBucketIndexesCommand, - DeleteObjectFromExpirationCommand, - GetBucketCseqCommand, - GetBucketIndexesCommand, - GetBucketMetadataCommand, - GetMetadataCommand, - GetObjectCommand, - GetObjectListCommand, - GetRaftBucketsCommand, - GetRaftIdCommand, - GetRaftLogCommand, - ListLifecycleCurrentsCommand, - ListLifecycleNonCurrentsCommand, - ListLifecycleOrphansCommand, - MultipleBackendAbortMPUCommand, - MultipleBackendCompleteMPUCommand, - MultipleBackendDeleteObjectCommand, - MultipleBackendDeleteObjectTaggingCommand, - MultipleBackendHeadObjectCommand, - MultipleBackendInitiateMPUCommand, - MultipleBackendPutMPUPartCommand, - MultipleBackendPutObjectCommand, - MultipleBackendPutObjectTaggingCommand, - PutBucketIndexesCommand, - PutDataCommand, - PutMetadataCommand, -}; -export class Cloudserver extends CloudserverClient { -} -createAggregatedClient(commands, Cloudserver); diff --git a/build/smithy/source/typescript-codegen/dist-es/CloudserverClient.js b/build/smithy/source/typescript-codegen/dist-es/CloudserverClient.js deleted file mode 100644 index 5a3b92c6..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/CloudserverClient.js +++ /dev/null @@ -1,49 +0,0 @@ -import { defaultCloudserverHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider"; -import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"; -import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; -import { resolveRuntimeExtensions, } from "./runtimeExtensions"; -import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; -import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; -import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; -import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent"; -import { resolveDefaultAwsRegionalEndpointsConfig, } from "@aws-sdk/util-endpoints"; -import { resolveRegionConfig, } from "@smithy/config-resolver"; -import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; -import { getContentLengthPlugin } from "@smithy/middleware-content-length"; -import { resolveEndpointConfig, } from "@smithy/middleware-endpoint"; -import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry"; -import { Client as __Client, } from "@smithy/smithy-client"; -export { __Client }; -export class CloudserverClient extends __Client { - config; - constructor(...[configuration]) { - let _config_0 = __getRuntimeConfig(configuration || {}); - super(_config_0); - this.initConfig = _config_0; - let _config_1 = resolveClientEndpointParameters(_config_0); - let _config_2 = resolveUserAgentConfig(_config_1); - let _config_3 = resolveRetryConfig(_config_2); - let _config_4 = resolveRegionConfig(_config_3); - let _config_5 = resolveHostHeaderConfig(_config_4); - let _config_6 = resolveEndpointConfig(_config_5); - let _config_7 = resolveDefaultAwsRegionalEndpointsConfig(_config_6); - let _config_8 = resolveHttpAuthSchemeConfig(_config_7); - let _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []); - this.config = _config_9; - this.middlewareStack.use(getUserAgentPlugin(this.config)); - this.middlewareStack.use(getRetryPlugin(this.config)); - this.middlewareStack.use(getContentLengthPlugin(this.config)); - this.middlewareStack.use(getHostHeaderPlugin(this.config)); - this.middlewareStack.use(getLoggerPlugin(this.config)); - this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); - this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { - httpAuthSchemeParametersProvider: defaultCloudserverHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials, - }), - })); - this.middlewareStack.use(getHttpSigningPlugin(this.config)); - } - destroy() { - super.destroy(); - } -} diff --git a/build/smithy/source/typescript-codegen/dist-es/auth/httpAuthExtensionConfiguration.js b/build/smithy/source/typescript-codegen/dist-es/auth/httpAuthExtensionConfiguration.js deleted file mode 100644 index 83a878ed..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/auth/httpAuthExtensionConfiguration.js +++ /dev/null @@ -1,38 +0,0 @@ -export const getHttpAuthExtensionConfiguration = (runtimeConfig) => { - let _httpAuthSchemes = runtimeConfig.httpAuthSchemes; - let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; - let _credentials = runtimeConfig.credentials; - return { - setHttpAuthScheme(httpAuthScheme) { - const index = _httpAuthSchemes.findIndex(scheme => scheme.schemeId === httpAuthScheme.schemeId); - if (index === -1) { - _httpAuthSchemes.push(httpAuthScheme); - } - else { - _httpAuthSchemes.splice(index, 1, httpAuthScheme); - } - }, - httpAuthSchemes() { - return _httpAuthSchemes; - }, - setHttpAuthSchemeProvider(httpAuthSchemeProvider) { - _httpAuthSchemeProvider = httpAuthSchemeProvider; - }, - httpAuthSchemeProvider() { - return _httpAuthSchemeProvider; - }, - setCredentials(credentials) { - _credentials = credentials; - }, - credentials() { - return _credentials; - }, - }; -}; -export const resolveHttpAuthRuntimeConfig = (config) => { - return { - httpAuthSchemes: config.httpAuthSchemes(), - httpAuthSchemeProvider: config.httpAuthSchemeProvider(), - credentials: config.credentials(), - }; -}; diff --git a/build/smithy/source/typescript-codegen/dist-es/auth/httpAuthSchemeProvider.js b/build/smithy/source/typescript-codegen/dist-es/auth/httpAuthSchemeProvider.js deleted file mode 100644 index 909adb0b..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/auth/httpAuthSchemeProvider.js +++ /dev/null @@ -1,44 +0,0 @@ -import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core"; -import { getSmithyContext, normalizeProvider, } from "@smithy/util-middleware"; -export const defaultCloudserverHttpAuthSchemeParametersProvider = async (config, context, input) => { - return { - operation: getSmithyContext(context).operation, - region: await normalizeProvider(config.region)() || (() => { - throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); - })(), - }; -}; -function createAwsAuthSigv4HttpAuthOption(authParameters) { - return { - schemeId: "aws.auth#sigv4", - signingProperties: { - name: "s3", - region: authParameters.region, - }, - propertiesExtractor: (config, context) => ({ - signingProperties: { - config, - context, - }, - }), - }; -} -; -export const defaultCloudserverHttpAuthSchemeProvider = (authParameters) => { - const options = []; - switch (authParameters.operation) { - default: - { - options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); - } - ; - } - ; - return options; -}; -export const resolveHttpAuthSchemeConfig = (config) => { - const config_0 = resolveAwsSdkSigV4Config(config); - return Object.assign(config_0, { - authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), - }); -}; diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/BatchDeleteCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/BatchDeleteCommand.js deleted file mode 100644 index 63578f52..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/BatchDeleteCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_BatchDeleteCommand, se_BatchDeleteCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class BatchDeleteCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "BatchDelete", {}) - .n("CloudserverClient", "BatchDeleteCommand") - .f(void 0, void 0) - .ser(se_BatchDeleteCommand) - .de(de_BatchDeleteCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/DeleteBucketIndexesCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/DeleteBucketIndexesCommand.js deleted file mode 100644 index 208d5c18..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/DeleteBucketIndexesCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_DeleteBucketIndexesCommand, se_DeleteBucketIndexesCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class DeleteBucketIndexesCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "DeleteBucketIndexes", {}) - .n("CloudserverClient", "DeleteBucketIndexesCommand") - .f(void 0, void 0) - .ser(se_DeleteBucketIndexesCommand) - .de(de_DeleteBucketIndexesCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/DeleteObjectFromExpirationCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/DeleteObjectFromExpirationCommand.js deleted file mode 100644 index 4ee77a01..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/DeleteObjectFromExpirationCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_DeleteObjectFromExpirationCommand, se_DeleteObjectFromExpirationCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class DeleteObjectFromExpirationCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "DeleteObjectFromExpiration", {}) - .n("CloudserverClient", "DeleteObjectFromExpirationCommand") - .f(void 0, void 0) - .ser(se_DeleteObjectFromExpirationCommand) - .de(de_DeleteObjectFromExpirationCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/GetBucketCseqCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/GetBucketCseqCommand.js deleted file mode 100644 index 4c38f09d..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/GetBucketCseqCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_GetBucketCseqCommand, se_GetBucketCseqCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class GetBucketCseqCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetBucketCseq", {}) - .n("CloudserverClient", "GetBucketCseqCommand") - .f(void 0, void 0) - .ser(se_GetBucketCseqCommand) - .de(de_GetBucketCseqCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/GetBucketIndexesCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/GetBucketIndexesCommand.js deleted file mode 100644 index 7017b73a..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/GetBucketIndexesCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_GetBucketIndexesCommand, se_GetBucketIndexesCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class GetBucketIndexesCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetBucketIndexes", {}) - .n("CloudserverClient", "GetBucketIndexesCommand") - .f(void 0, void 0) - .ser(se_GetBucketIndexesCommand) - .de(de_GetBucketIndexesCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/GetBucketMetadataCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/GetBucketMetadataCommand.js deleted file mode 100644 index de3d0e52..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/GetBucketMetadataCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_GetBucketMetadataCommand, se_GetBucketMetadataCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class GetBucketMetadataCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetBucketMetadata", {}) - .n("CloudserverClient", "GetBucketMetadataCommand") - .f(void 0, void 0) - .ser(se_GetBucketMetadataCommand) - .de(de_GetBucketMetadataCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/GetMetadataCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/GetMetadataCommand.js deleted file mode 100644 index c36ebb2a..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/GetMetadataCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_GetMetadataCommand, se_GetMetadataCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class GetMetadataCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetMetadata", {}) - .n("CloudserverClient", "GetMetadataCommand") - .f(void 0, void 0) - .ser(se_GetMetadataCommand) - .de(de_GetMetadataCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/GetObjectCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/GetObjectCommand.js deleted file mode 100644 index c4e6f351..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/GetObjectCommand.js +++ /dev/null @@ -1,22 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetObjectInputFilterSensitiveLog, GetObjectOutputFilterSensitiveLog, } from "../models/models_0"; -import { de_GetObjectCommand, se_GetObjectCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class GetObjectCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetObject", {}) - .n("CloudserverClient", "GetObjectCommand") - .f(GetObjectInputFilterSensitiveLog, GetObjectOutputFilterSensitiveLog) - .ser(se_GetObjectCommand) - .de(de_GetObjectCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/GetObjectListCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/GetObjectListCommand.js deleted file mode 100644 index dcaae246..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/GetObjectListCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_GetObjectListCommand, se_GetObjectListCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class GetObjectListCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetObjectList", {}) - .n("CloudserverClient", "GetObjectListCommand") - .f(void 0, void 0) - .ser(se_GetObjectListCommand) - .de(de_GetObjectListCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/GetRaftBucketsCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/GetRaftBucketsCommand.js deleted file mode 100644 index e81cbd60..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/GetRaftBucketsCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_GetRaftBucketsCommand, se_GetRaftBucketsCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class GetRaftBucketsCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetRaftBuckets", {}) - .n("CloudserverClient", "GetRaftBucketsCommand") - .f(void 0, void 0) - .ser(se_GetRaftBucketsCommand) - .de(de_GetRaftBucketsCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/GetRaftIdCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/GetRaftIdCommand.js deleted file mode 100644 index 536c8b0c..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/GetRaftIdCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_GetRaftIdCommand, se_GetRaftIdCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class GetRaftIdCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetRaftId", {}) - .n("CloudserverClient", "GetRaftIdCommand") - .f(void 0, void 0) - .ser(se_GetRaftIdCommand) - .de(de_GetRaftIdCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/GetRaftLogCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/GetRaftLogCommand.js deleted file mode 100644 index 0bd0c689..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/GetRaftLogCommand.js +++ /dev/null @@ -1,22 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetRaftLogOutputFilterSensitiveLog, } from "../models/models_0"; -import { de_GetRaftLogCommand, se_GetRaftLogCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class GetRaftLogCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "GetRaftLog", {}) - .n("CloudserverClient", "GetRaftLogCommand") - .f(void 0, GetRaftLogOutputFilterSensitiveLog) - .ser(se_GetRaftLogCommand) - .de(de_GetRaftLogCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/ListLifecycleCurrentsCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/ListLifecycleCurrentsCommand.js deleted file mode 100644 index 9dcbf237..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/ListLifecycleCurrentsCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_ListLifecycleCurrentsCommand, se_ListLifecycleCurrentsCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class ListLifecycleCurrentsCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "ListLifecycleCurrents", {}) - .n("CloudserverClient", "ListLifecycleCurrentsCommand") - .f(void 0, void 0) - .ser(se_ListLifecycleCurrentsCommand) - .de(de_ListLifecycleCurrentsCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/ListLifecycleNonCurrentsCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/ListLifecycleNonCurrentsCommand.js deleted file mode 100644 index 8e4f9204..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/ListLifecycleNonCurrentsCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_ListLifecycleNonCurrentsCommand, se_ListLifecycleNonCurrentsCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class ListLifecycleNonCurrentsCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "ListLifecycleNonCurrents", {}) - .n("CloudserverClient", "ListLifecycleNonCurrentsCommand") - .f(void 0, void 0) - .ser(se_ListLifecycleNonCurrentsCommand) - .de(de_ListLifecycleNonCurrentsCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/ListLifecycleOrphansCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/ListLifecycleOrphansCommand.js deleted file mode 100644 index 6649b910..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/ListLifecycleOrphansCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_ListLifecycleOrphansCommand, se_ListLifecycleOrphansCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class ListLifecycleOrphansCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "ListLifecycleOrphans", {}) - .n("CloudserverClient", "ListLifecycleOrphansCommand") - .f(void 0, void 0) - .ser(se_ListLifecycleOrphansCommand) - .de(de_ListLifecycleOrphansCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendAbortMPUCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendAbortMPUCommand.js deleted file mode 100644 index 5dfffc7c..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendAbortMPUCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_MultipleBackendAbortMPUCommand, se_MultipleBackendAbortMPUCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class MultipleBackendAbortMPUCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendAbortMPU", {}) - .n("CloudserverClient", "MultipleBackendAbortMPUCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendAbortMPUCommand) - .de(de_MultipleBackendAbortMPUCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendCompleteMPUCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendCompleteMPUCommand.js deleted file mode 100644 index 8b0729e6..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendCompleteMPUCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_MultipleBackendCompleteMPUCommand, se_MultipleBackendCompleteMPUCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class MultipleBackendCompleteMPUCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendCompleteMPU", {}) - .n("CloudserverClient", "MultipleBackendCompleteMPUCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendCompleteMPUCommand) - .de(de_MultipleBackendCompleteMPUCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendDeleteObjectCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendDeleteObjectCommand.js deleted file mode 100644 index 509b7388..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendDeleteObjectCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_MultipleBackendDeleteObjectCommand, se_MultipleBackendDeleteObjectCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class MultipleBackendDeleteObjectCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendDeleteObject", {}) - .n("CloudserverClient", "MultipleBackendDeleteObjectCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendDeleteObjectCommand) - .de(de_MultipleBackendDeleteObjectCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendDeleteObjectTaggingCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendDeleteObjectTaggingCommand.js deleted file mode 100644 index 79f673f0..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendDeleteObjectTaggingCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_MultipleBackendDeleteObjectTaggingCommand, se_MultipleBackendDeleteObjectTaggingCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class MultipleBackendDeleteObjectTaggingCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendDeleteObjectTagging", {}) - .n("CloudserverClient", "MultipleBackendDeleteObjectTaggingCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendDeleteObjectTaggingCommand) - .de(de_MultipleBackendDeleteObjectTaggingCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendHeadObjectCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendHeadObjectCommand.js deleted file mode 100644 index fee86d25..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendHeadObjectCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_MultipleBackendHeadObjectCommand, se_MultipleBackendHeadObjectCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class MultipleBackendHeadObjectCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendHeadObject", {}) - .n("CloudserverClient", "MultipleBackendHeadObjectCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendHeadObjectCommand) - .de(de_MultipleBackendHeadObjectCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendInitiateMPUCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendInitiateMPUCommand.js deleted file mode 100644 index 756f819a..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendInitiateMPUCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_MultipleBackendInitiateMPUCommand, se_MultipleBackendInitiateMPUCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class MultipleBackendInitiateMPUCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendInitiateMPU", {}) - .n("CloudserverClient", "MultipleBackendInitiateMPUCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendInitiateMPUCommand) - .de(de_MultipleBackendInitiateMPUCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendPutMPUPartCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendPutMPUPartCommand.js deleted file mode 100644 index d7a46bb6..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendPutMPUPartCommand.js +++ /dev/null @@ -1,22 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { MultipleBackendPutMPUPartInputFilterSensitiveLog, } from "../models/models_0"; -import { de_MultipleBackendPutMPUPartCommand, se_MultipleBackendPutMPUPartCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class MultipleBackendPutMPUPartCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendPutMPUPart", {}) - .n("CloudserverClient", "MultipleBackendPutMPUPartCommand") - .f(MultipleBackendPutMPUPartInputFilterSensitiveLog, void 0) - .ser(se_MultipleBackendPutMPUPartCommand) - .de(de_MultipleBackendPutMPUPartCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendPutObjectCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendPutObjectCommand.js deleted file mode 100644 index 4bc14f2e..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendPutObjectCommand.js +++ /dev/null @@ -1,22 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { MultipleBackendPutObjectInputFilterSensitiveLog, } from "../models/models_0"; -import { de_MultipleBackendPutObjectCommand, se_MultipleBackendPutObjectCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class MultipleBackendPutObjectCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendPutObject", {}) - .n("CloudserverClient", "MultipleBackendPutObjectCommand") - .f(MultipleBackendPutObjectInputFilterSensitiveLog, void 0) - .ser(se_MultipleBackendPutObjectCommand) - .de(de_MultipleBackendPutObjectCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendPutObjectTaggingCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendPutObjectTaggingCommand.js deleted file mode 100644 index ff7ee7dc..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/MultipleBackendPutObjectTaggingCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_MultipleBackendPutObjectTaggingCommand, se_MultipleBackendPutObjectTaggingCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class MultipleBackendPutObjectTaggingCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "MultipleBackendPutObjectTagging", {}) - .n("CloudserverClient", "MultipleBackendPutObjectTaggingCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendPutObjectTaggingCommand) - .de(de_MultipleBackendPutObjectTaggingCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/PutBucketIndexesCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/PutBucketIndexesCommand.js deleted file mode 100644 index ee5c24ce..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/PutBucketIndexesCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_PutBucketIndexesCommand, se_PutBucketIndexesCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class PutBucketIndexesCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "PutBucketIndexes", {}) - .n("CloudserverClient", "PutBucketIndexesCommand") - .f(void 0, void 0) - .ser(se_PutBucketIndexesCommand) - .de(de_PutBucketIndexesCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/PutDataCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/PutDataCommand.js deleted file mode 100644 index b86d334c..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/PutDataCommand.js +++ /dev/null @@ -1,22 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { PutDataInputFilterSensitiveLog, } from "../models/models_0"; -import { de_PutDataCommand, se_PutDataCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class PutDataCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "PutData", {}) - .n("CloudserverClient", "PutDataCommand") - .f(PutDataInputFilterSensitiveLog, void 0) - .ser(se_PutDataCommand) - .de(de_PutDataCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/PutMetadataCommand.js b/build/smithy/source/typescript-codegen/dist-es/commands/PutMetadataCommand.js deleted file mode 100644 index 86336c60..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/PutMetadataCommand.js +++ /dev/null @@ -1,21 +0,0 @@ -import { commonParams } from "../endpoint/EndpointParameters"; -import { de_PutMetadataCommand, se_PutMetadataCommand, } from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -export { $Command }; -export class PutMetadataCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [ - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; -}) - .s("cloudserver", "PutMetadata", {}) - .n("CloudserverClient", "PutMetadataCommand") - .f(void 0, void 0) - .ser(se_PutMetadataCommand) - .de(de_PutMetadataCommand) - .build() { -} diff --git a/build/smithy/source/typescript-codegen/dist-es/commands/index.js b/build/smithy/source/typescript-codegen/dist-es/commands/index.js deleted file mode 100644 index 334943b6..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/commands/index.js +++ /dev/null @@ -1,27 +0,0 @@ -export * from "./BatchDeleteCommand"; -export * from "./DeleteBucketIndexesCommand"; -export * from "./DeleteObjectFromExpirationCommand"; -export * from "./GetBucketCseqCommand"; -export * from "./GetBucketIndexesCommand"; -export * from "./GetBucketMetadataCommand"; -export * from "./GetMetadataCommand"; -export * from "./GetObjectCommand"; -export * from "./GetObjectListCommand"; -export * from "./GetRaftBucketsCommand"; -export * from "./GetRaftIdCommand"; -export * from "./GetRaftLogCommand"; -export * from "./ListLifecycleCurrentsCommand"; -export * from "./ListLifecycleNonCurrentsCommand"; -export * from "./ListLifecycleOrphansCommand"; -export * from "./MultipleBackendAbortMPUCommand"; -export * from "./MultipleBackendCompleteMPUCommand"; -export * from "./MultipleBackendDeleteObjectCommand"; -export * from "./MultipleBackendDeleteObjectTaggingCommand"; -export * from "./MultipleBackendHeadObjectCommand"; -export * from "./MultipleBackendInitiateMPUCommand"; -export * from "./MultipleBackendPutMPUPartCommand"; -export * from "./MultipleBackendPutObjectCommand"; -export * from "./MultipleBackendPutObjectTaggingCommand"; -export * from "./PutBucketIndexesCommand"; -export * from "./PutDataCommand"; -export * from "./PutMetadataCommand"; diff --git a/build/smithy/source/typescript-codegen/dist-es/endpoint/EndpointParameters.js b/build/smithy/source/typescript-codegen/dist-es/endpoint/EndpointParameters.js deleted file mode 100644 index 36015646..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/endpoint/EndpointParameters.js +++ /dev/null @@ -1,13 +0,0 @@ -export const resolveClientEndpointParameters = (options) => { - return Object.assign(options, { - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "s3", - }); -}; -export const commonParams = { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, -}; diff --git a/build/smithy/source/typescript-codegen/dist-es/endpoint/endpointResolver.js b/build/smithy/source/typescript-codegen/dist-es/endpoint/endpointResolver.js deleted file mode 100644 index 4dac8ebb..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/endpoint/endpointResolver.js +++ /dev/null @@ -1,17 +0,0 @@ -import { ruleSet } from "./ruleset"; -import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; -import { EndpointCache, customEndpointFunctions, resolveEndpoint, } from "@smithy/util-endpoints"; -const cache = new EndpointCache({ - size: 50, - params: ["Endpoint", - "Region", - "UseDualStack", - "UseFIPS"] -}); -export const defaultEndpointResolver = (endpointParams, context = {}) => { - return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { - endpointParams: endpointParams, - logger: context.logger, - })); -}; -customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/build/smithy/source/typescript-codegen/dist-es/endpoint/ruleset.js b/build/smithy/source/typescript-codegen/dist-es/endpoint/ruleset.js deleted file mode 100644 index 327a44c6..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/endpoint/ruleset.js +++ /dev/null @@ -1,339 +0,0 @@ -export const ruleSet = { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS Region. This is a default regional AWS endpointRuleSet.", - "type": "String", - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "Whether to use dual-stack.", - "type": "Boolean", - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "Whether to use FIPS-compliant regional endpoint.", - "type": "Boolean", - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint.", - "type": "String", - }, - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint", - }, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS", - }, - true, - ], - }, - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error", - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack", - }, - true, - ], - }, - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error", - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint", - }, - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region", - }, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region", - }, - ], - "assign": "PartitionResult", - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS", - }, - true, - ], - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack", - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsFIPS", - ], - }, - ], - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsDualStack", - ], - }, - ], - }, - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cloudserver-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error", - }, - ], - "type": "tree", - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS", - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsFIPS", - ], - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "name", - ], - }, - "aws-us-gov", - ], - }, - ], - "endpoint": { - "url": "https://cloudserver.{Region}.amazonaws.com", - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - { - "conditions": [], - "endpoint": { - "url": "https://cloudserver-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error", - }, - ], - "type": "tree", - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack", - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsDualStack", - ], - }, - ], - }, - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cloudserver.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error", - }, - ], - "type": "tree", - }, - { - "conditions": [], - "endpoint": { - "url": "https://cloudserver.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {}, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - ], - "type": "tree", - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error", - }, - ], -}; diff --git a/build/smithy/source/typescript-codegen/dist-es/extensionConfiguration.js b/build/smithy/source/typescript-codegen/dist-es/extensionConfiguration.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/extensionConfiguration.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/build/smithy/source/typescript-codegen/dist-es/index.js b/build/smithy/source/typescript-codegen/dist-es/index.js deleted file mode 100644 index 05326892..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/index.js +++ /dev/null @@ -1,5 +0,0 @@ -export * from "./CloudserverClient"; -export * from "./Cloudserver"; -export * from "./commands"; -export * from "./models"; -export { CloudserverServiceException } from "./models/CloudserverServiceException"; diff --git a/build/smithy/source/typescript-codegen/dist-es/models/CloudserverServiceException.js b/build/smithy/source/typescript-codegen/dist-es/models/CloudserverServiceException.js deleted file mode 100644 index 7df87ad1..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/models/CloudserverServiceException.js +++ /dev/null @@ -1,8 +0,0 @@ -import { ServiceException as __ServiceException, } from "@smithy/smithy-client"; -export { __ServiceException }; -export class CloudserverServiceException extends __ServiceException { - constructor(options) { - super(options); - Object.setPrototypeOf(this, CloudserverServiceException.prototype); - } -} diff --git a/build/smithy/source/typescript-codegen/dist-es/models/index.js b/build/smithy/source/typescript-codegen/dist-es/models/index.js deleted file mode 100644 index 09c5d6e0..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/models/index.js +++ /dev/null @@ -1 +0,0 @@ -export * from "./models_0"; diff --git a/build/smithy/source/typescript-codegen/dist-es/models/models_0.js b/build/smithy/source/typescript-codegen/dist-es/models/models_0.js deleted file mode 100644 index 090da032..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/models/models_0.js +++ /dev/null @@ -1,27 +0,0 @@ -import { SENSITIVE_STRING } from "@smithy/smithy-client"; -export const LifecycleRuleStatus = { - DISABLED: "Disabled", - ENABLED: "Enabled", -}; -export const GetObjectInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING - }), -}); -export const GetObjectOutputFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING - }), -}); -export const GetRaftLogOutputFilterSensitiveLog = (obj) => ({ - ...obj, -}); -export const MultipleBackendPutMPUPartInputFilterSensitiveLog = (obj) => ({ - ...obj, -}); -export const MultipleBackendPutObjectInputFilterSensitiveLog = (obj) => ({ - ...obj, -}); -export const PutDataInputFilterSensitiveLog = (obj) => ({ - ...obj, -}); diff --git a/build/smithy/source/typescript-codegen/dist-es/protocols/Aws_restJson1.js b/build/smithy/source/typescript-codegen/dist-es/protocols/Aws_restJson1.js deleted file mode 100644 index 9eb9760a..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/protocols/Aws_restJson1.js +++ /dev/null @@ -1,1200 +0,0 @@ -import { CloudserverServiceException as __BaseException } from "../models/CloudserverServiceException"; -import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core"; -import { requestBuilder as rb } from "@smithy/core"; -import { dateToUtcString as __dateToUtcString, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, parseBoolean as __parseBoolean, parseRfc7231DateTime as __parseRfc7231DateTime, serializeDateTime as __serializeDateTime, strictParseInt32 as __strictParseInt32, _json, collectBody, isSerializableHeaderValue, map, take, withBaseException, } from "@smithy/smithy-client"; -export const se_BatchDeleteCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'content-type': 'application/json', - [_ius]: input[_IUS], - [_xssc]: input[_SC], - [_xst]: input[_T], - [_xsct]: input[_CT], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/batchdelete/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - let body; - body = JSON.stringify(take(input, { - 'Locations': _ => _json(_), - })); - b.m("POST") - .h(headers) - .b(body); - return b.build(); -}; -export const se_DeleteBucketIndexesCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/index/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - const query = map({ - [_o]: [, "delete"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_DeleteObjectFromExpirationCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/expiration/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_vI]: [, input[_VI]], - }); - let body; - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_GetBucketCseqCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/default/informations/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -export const se_GetBucketIndexesCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/index/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -export const se_GetBucketMetadataCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/default/attributes/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -export const se_GetMetadataCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/metadata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_vI]: [, input[_VI]], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_GetObjectCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_im]: input[_IM], - [_ims]: [() => isSerializableHeaderValue(input[_IMS]), () => __dateToUtcString(input[_IMS]).toString()], - [_inm]: input[_INM], - [_ius]: [() => isSerializableHeaderValue(input[_IUS]), () => __dateToUtcString(input[_IUS]).toString()], - [_r]: input[_R], - [_xasseca]: input[_SSECA], - [_xasseck]: input[_SSECK], - [_xasseckm]: input[_SSECKMD], - [_xarp]: input[_RP], - [_xalc]: input[_LC], - [_xsru]: input[_RU], - }); - b.bp("/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_rcc]: [, input[_RCC]], - [_rcd]: [, input[_RCD]], - [_rce]: [, input[_RCE]], - [_rcl]: [, input[_RCL]], - [_rct]: [, input[_RCT]], - [_re]: [() => input.ResponseExpires !== void 0, () => (__serializeDateTime(input[_RE]).toString())], - [_vI]: [, input[_VI]], - [_pN]: [() => input.PartNumber !== void 0, () => (input[_PN].toString())], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_GetObjectListCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/default/bucket/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -export const se_GetRaftBucketsCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/admin/raft_sessions/{LogId}/bucket"); - b.p('LogId', () => input.LogId, '{LogId}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -export const se_GetRaftIdCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/admin/buckets/{Bucket}/id"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -export const se_GetRaftLogCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/metadata/admin/raft_sessions/{LogId}/log"); - b.p('LogId', () => input.LogId, '{LogId}', false); - const query = map({ - [_b]: [() => input.Begin !== void 0, () => (input[_B].toString())], - [_l]: [() => input.Limit !== void 0, () => (input[_L].toString())], - [_tL]: [() => input.TargetLeader !== void 0, () => (input[_TL].toString())], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_ListLifecycleCurrentsCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/lifecycle/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - const query = map({ - [_lt]: [, "current"], - [_bd]: [, input[_BD]], - [_edsn]: [, input[_EDSN]], - [_et]: [, input[_ET]], - [_m]: [, input[_M]], - [_mk]: [() => input.MaxKeys !== void 0, () => (input[_MK].toString())], - [_p]: [, input[_P]], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_ListLifecycleNonCurrentsCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/lifecycle/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - const query = map({ - [_lt]: [, "noncurrent"], - [_bd]: [, input[_BD]], - [_edsn]: [, input[_EDSN]], - [_et]: [, input[_ET]], - [_km]: [, input[_KM]], - [_vim]: [, input[_VIM]], - [_mk]: [() => input.MaxKeys !== void 0, () => (input[_MK].toString())], - [_p]: [, input[_P]], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_ListLifecycleOrphansCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/lifecycle/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - const query = map({ - [_lt]: [, "orphan"], - [_bd]: [, input[_BD]], - [_edsn]: [, input[_EDSN]], - [_et]: [, input[_ET]], - [_m]: [, input[_M]], - [_mk]: [() => input.MaxKeys !== void 0, () => (input[_MK].toString())], - [_p]: [, input[_P]], - }); - let body; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_MultipleBackendAbortMPUCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsst]: input[_ST], - [_xssc]: input[_SC], - [_xsui]: input[_UI], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_o]: [, "abortmpu"], - }); - let body; - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_MultipleBackendCompleteMPUCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsst]: input[_ST], - [_xssc]: input[_SC], - [_xsvi]: input[_VI], - [_xsct]: input[_CT], - [_xsum]: input[_UMD], - [_xscc]: input[_CC], - [_xscd]: input[_CD], - [_xsce]: input[_CE], - [_xsui]: input[_UI], - [_xst]: input[_T], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_o]: [, "completempu"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_MultipleBackendDeleteObjectCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsst]: input[_ST], - [_xssc]: input[_SC], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_o]: [, "deleteobject"], - }); - let body; - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_MultipleBackendDeleteObjectTaggingCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xssc]: input[_SC], - [_xsst]: input[_ST], - [_xsdsvi]: input[_DSVI], - [_xssb]: input[_SB], - [_xssvi]: input[_SVI], - [_xsres]: input[_RES], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_o]: [, "deleteobjecttagging"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_MultipleBackendHeadObjectCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - [_xsl]: input[_Lo], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackendmetadata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - let body; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -}; -export const se_MultipleBackendInitiateMPUCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xssc]: input[_SC], - [_xsvi]: input[_VI], - [_xsst]: input[_ST], - [_xsct]: input[_CT], - [_xsum]: input[_UMD], - [_xscc]: input[_CC], - [_xscd]: input[_CD], - [_xsce]: input[_CE], - [_xst]: input[_T], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_o]: [, "initiatempu"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_MultipleBackendPutMPUPartCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'x-amz-content-sha256': 'UNSIGNED-PAYLOAD', - 'content-type': 'application/octet-stream', - [_xsst]: input[_ST], - [_xssc]: input[_SC], - [_xspn]: [() => isSerializableHeaderValue(input[_PN]), () => input[_PN].toString()], - [_xsui]: input[_UI], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_o]: [, "putpart"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_MultipleBackendPutObjectCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'x-amz-content-sha256': 'UNSIGNED-PAYLOAD', - 'content-type': 'application/octet-stream', - [_cm]: input[_CMD], - [_xsct]: input[_CT], - [_xsum]: input[_UMD], - [_xscc]: input[_CC], - [_xscd]: input[_CD], - [_xsce]: input[_CE], - [_xsci]: input[_CID], - [_xssc]: input[_SC], - [_xsst]: input[_ST], - [_xsvi]: input[_VI], - [_xst]: input[_T], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_o]: [, "putobject"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_MultipleBackendPutObjectTaggingCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsst]: input[_ST], - [_xssc]: input[_SC], - [_xsdsvi]: input[_DSVI], - [_xst]: input[_T], - [_xssb]: input[_SB], - [_xssvi]: input[_SVI], - [_xsres]: input[_RES], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_o]: [, "puttagging"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_PutBucketIndexesCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/index/{Bucket}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - const query = map({ - [_o]: [, "add"], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_PutDataCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'x-amz-content-sha256': 'UNSIGNED-PAYLOAD', - 'content-type': 'application/octet-stream', - [_cm]: input[_CMD], - [_xsci]: input[_CID], - [_xsvr]: [() => isSerializableHeaderValue(input[_VR]), () => input[_VR].toString()], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/data/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_v]: [, ""], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const se_PutMetadataCommand = async (input, context) => { - const b = rb(input, context); - const headers = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_cm]: input[_CMD], - [_xsrc]: input[_RC], - [_xsvr]: [() => isSerializableHeaderValue(input[_VR]), () => input[_VR].toString()], - [_xsru]: input[_RU], - }); - b.bp("/_/backbeat/metadata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket, '{Bucket}', false); - b.p('Key', () => input.Key, '{Key+}', true); - const query = map({ - [_vI]: [, input[_VI]], - [_aI]: [, input[_AI]], - }); - let body; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -}; -export const de_BatchDeleteCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -export const de_DeleteBucketIndexesCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -export const de_DeleteObjectFromExpirationCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_GetBucketCseqCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = await collectBodyString(output.body, context); - contents.CseqInfo = data; - contents.CseqInfo = JSON.parse(data); - return contents; -}; -export const de_GetBucketIndexesCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'Indexes': _json, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_GetBucketMetadataCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'acl': _json, - 'cors': _json, - 'creationDate': __expectString, - 'deleted': __expectBoolean, - 'lifecycleConfiguration': _json, - 'locationConstraint': __expectString, - 'mdBucketModelVersion': __expectInt32, - 'name': __expectString, - 'owner': __expectString, - 'ownerDisplayName': __expectString, - 'readLocationConstraint': __expectString, - 'replicationConfiguration': _json, - 'serverSideEncryption': _json, - 'transient': __expectBoolean, - 'uid': __expectString, - 'versioningConfiguration': _json, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_GetMetadataCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'Body': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_GetObjectCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - [_DM]: [() => void 0 !== output.headers[_xadm], () => __parseBoolean(output.headers[_xadm])], - [_AR]: [, output.headers[_ar]], - [_E]: [, output.headers[_xae]], - [_Re]: [, output.headers[_xar]], - [_LM]: [() => void 0 !== output.headers[_lm], () => __expectNonNull(__parseRfc7231DateTime(output.headers[_lm]))], - [_ETa]: [, output.headers[_e]], - [_MM]: [() => void 0 !== output.headers[_xamm], () => __strictParseInt32(output.headers[_xamm])], - [_VI]: [, output.headers[_xavi]], - [_CC]: [, output.headers[_cc]], - [_CD]: [, output.headers[_cd]], - [_CE]: [, output.headers[_ce]], - [_CL]: [, output.headers[_cl]], - [_CR]: [, output.headers[_cr]], - [_CT]: [, output.headers[_ct]], - [_Ex]: [() => void 0 !== output.headers[_ex], () => __expectNonNull(__parseRfc7231DateTime(output.headers[_ex]))], - [_WRL]: [, output.headers[_xawrl]], - [_SSE]: [, output.headers[_xasse]], - [_SSECA]: [, output.headers[_xasseca]], - [_SSECKMD]: [, output.headers[_xasseckm]], - [_SSEKMSKI]: [, output.headers[_xasseakki]], - [_SC]: [, output.headers[_xasc]], - [_RCe]: [, output.headers[_xarc]], - [_RS]: [, output.headers[_xars]], - [_PC]: [() => void 0 !== output.headers[_xampc], () => __strictParseInt32(output.headers[_xampc])], - [_TC]: [() => void 0 !== output.headers[_xatc], () => __strictParseInt32(output.headers[_xatc])], - Metadata: [, - Object.keys(output.headers).filter(header => header.startsWith('x-amz-meta-')) - .reduce((acc, header) => { - acc[header.substring(11)] = output.headers[header]; - return acc; - }, {}) - ], - }); - const data = output.body; - context.sdkStreamMixin(data); - contents.Body = data; - return contents; -}; -export const de_GetObjectListCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'CommonPrefixes': _json, - 'Contents': _json, - 'Delimiter': __expectString, - 'IsTruncated': __expectBoolean, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_GetRaftBucketsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = await collectBodyString(output.body, context); - contents.Buckets = data; - contents.Buckets = JSON.parse(data); - return contents; -}; -export const de_GetRaftIdCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = await collectBodyString(output.body, context); - contents.RaftId = __expectString(data); - return contents; -}; -export const de_GetRaftLogCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - [_S]: [() => void 0 !== output.headers[_xrls], () => __strictParseInt32(output.headers[_xrls])], - [_C]: [() => void 0 !== output.headers[_xrlc], () => __strictParseInt32(output.headers[_xrlc])], - [_Pr]: [() => void 0 !== output.headers[_xrlp], () => __strictParseInt32(output.headers[_xrlp])], - }); - const data = output.body; - context.sdkStreamMixin(data); - contents.Body = data; - return contents; -}; -export const de_ListLifecycleCurrentsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'BeforeDate': __expectString, - 'Contents': _json, - 'IsTruncated': __expectBoolean, - 'Marker': __expectString, - 'MaxKeys': __expectInt32, - 'Name': __expectString, - 'NextMarker': __expectString, - 'Prefix': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_ListLifecycleNonCurrentsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'BeforeDate': __expectString, - 'Contents': _json, - 'IsTruncated': __expectBoolean, - 'KeyMarker': __expectString, - 'MaxKeys': __expectInt32, - 'Name': __expectString, - 'NextKeyMarker': __expectString, - 'NextVersionIdMarker': __expectString, - 'Prefix': __expectString, - 'VersionIdMarker': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_ListLifecycleOrphansCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'BeforeDate': __expectString, - 'Contents': _json, - 'IsTruncated': __expectBoolean, - 'Marker': __expectString, - 'MaxKeys': __expectInt32, - 'Name': __expectString, - 'NextMarker': __expectString, - 'Prefix': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_MultipleBackendAbortMPUCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -export const de_MultipleBackendCompleteMPUCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'location': _json, - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_MultipleBackendDeleteObjectCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_MultipleBackendDeleteObjectTaggingCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_MultipleBackendHeadObjectCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'lastModified': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_MultipleBackendInitiateMPUCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'uploadId': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_MultipleBackendPutMPUPartCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'ETag': __expectString, - 'numberSubParts': __expectInt32, - 'partNumber': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_MultipleBackendPutObjectCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'location': _json, - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_MultipleBackendPutObjectTaggingCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -export const de_PutBucketIndexesCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -export const de_PutDataCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - [_SSE]: [, output.headers[_xasse]], - [_SSECA]: [, output.headers[_xasseca]], - [_SSEKMSKI]: [, output.headers[_xasseakki]], - }); - const data = await collectBodyString(output.body, context); - contents.Location = data; - contents.Location = JSON.parse(data); - return contents; -}; -export const de_PutMetadataCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_CommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }); -}; -const throwDefaultError = withBaseException(__BaseException); -const de_Document = (output, context) => { - return output; -}; -const deserializeMetadata = (output) => ({ - httpStatusCode: output.statusCode, - requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"], -}); -const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then(body => context.utf8Encoder(body)); -const _AI = "AccountId"; -const _AR = "AcceptRanges"; -const _B = "Begin"; -const _BD = "BeforeDate"; -const _C = "Cseq"; -const _CC = "CacheControl"; -const _CD = "ContentDisposition"; -const _CE = "ContentEncoding"; -const _CID = "CanonicalID"; -const _CL = "ContentLanguage"; -const _CMD = "ContentMD5"; -const _CR = "ContentRange"; -const _CT = "ContentType"; -const _DM = "DeleteMarker"; -const _DSVI = "DataStoreVersionId"; -const _E = "Expiration"; -const _EDSN = "ExcludedDataStoreName"; -const _ET = "EncodingType"; -const _ETa = "ETag"; -const _Ex = "Expires"; -const _IM = "IfMatch"; -const _IMS = "IfModifiedSince"; -const _INM = "IfNoneMatch"; -const _IUS = "IfUnmodifiedSince"; -const _KM = "KeyMarker"; -const _L = "Limit"; -const _LC = "LocationConstraint"; -const _LM = "LastModified"; -const _Lo = "Locations"; -const _M = "Marker"; -const _MK = "MaxKeys"; -const _MM = "MissingMeta"; -const _P = "Prefix"; -const _PC = "PartsCount"; -const _PN = "PartNumber"; -const _Pr = "Prune"; -const _R = "Range"; -const _RC = "ReplicationContent"; -const _RCC = "ResponseCacheControl"; -const _RCD = "ResponseContentDisposition"; -const _RCE = "ResponseContentEncoding"; -const _RCL = "ResponseContentLanguage"; -const _RCT = "ResponseContentType"; -const _RCe = "RequestCharged"; -const _RE = "ResponseExpires"; -const _RES = "ReplicationEndpointSite"; -const _RP = "RequestPayer"; -const _RS = "ReplicationStatus"; -const _RU = "RequestUids"; -const _Re = "Restore"; -const _S = "Start"; -const _SB = "SourceBucket"; -const _SC = "StorageClass"; -const _SSE = "ServerSideEncryption"; -const _SSECA = "SSECustomerAlgorithm"; -const _SSECK = "SSECustomerKey"; -const _SSECKMD = "SSECustomerKeyMD5"; -const _SSEKMSKI = "SSEKMSKeyId"; -const _ST = "StorageType"; -const _SVI = "SourceVersionId"; -const _T = "Tags"; -const _TC = "TagCount"; -const _TL = "TargetLeader"; -const _UI = "UploadId"; -const _UMD = "UserMetaData"; -const _VI = "VersionId"; -const _VIM = "VersionIdMarker"; -const _VR = "VersioningRequired"; -const _WRL = "WebsiteRedirectLocation"; -const _aI = "accountId"; -const _ar = "accept-ranges"; -const _b = "begin"; -const _bd = "before-date"; -const _cc = "cache-control"; -const _cd = "content-disposition"; -const _ce = "content-encoding"; -const _cl = "content-language"; -const _cm = "content-md5"; -const _cr = "content-range"; -const _ct = "content-type"; -const _e = "etag"; -const _edsn = "excluded-data-store-name"; -const _et = "encoding-type"; -const _ex = "expires"; -const _im = "if-match"; -const _ims = "if-modified-since"; -const _inm = "if-none-match"; -const _ius = "if-unmodified-since"; -const _km = "key-marker"; -const _l = "limit"; -const _lm = "last-modified"; -const _lt = "list-type"; -const _m = "marker"; -const _mk = "max-keys"; -const _o = "operation"; -const _p = "prefix"; -const _pN = "partNumber"; -const _r = "range"; -const _rcc = "response-cache-control"; -const _rcd = "response-content-disposition"; -const _rce = "response-content-encoding"; -const _rcl = "response-content-language"; -const _rct = "response-content-type"; -const _re = "response-expires"; -const _tL = "targetLeader"; -const _v = "v2"; -const _vI = "versionId"; -const _vim = "version-id-marker"; -const _xadm = "x-amz-delete-marker"; -const _xae = "x-amz-expiration"; -const _xalc = "x-amz-location-constraint"; -const _xamm = "x-amz-missing-meta"; -const _xampc = "x-amz-mp-parts-count"; -const _xar = "x-amz-restore"; -const _xarc = "x-amz-request-charged"; -const _xarp = "x-amz-request-payer"; -const _xars = "x-amz-replication-status"; -const _xasc = "x-amz-storage-class"; -const _xasse = "x-amz-server-side-encryption"; -const _xasseakki = "x-amz-server-side-encryption-aws-kms-key-id"; -const _xasseca = "x-amz-server-side-encryption-customer-algorithm"; -const _xasseck = "x-amz-server-side-encryption-customer-key"; -const _xasseckm = "x-amz-server-side-encryption-customer-key-md5"; -const _xatc = "x-amz-tagging-count"; -const _xavi = "x-amz-version-id"; -const _xawrl = "x-amz-website-redirect-location"; -const _xrlc = "x-raft-log-cseq"; -const _xrlp = "x-raft-log-prune"; -const _xrls = "x-raft-log-start"; -const _xscc = "x-scal-cache-control"; -const _xscd = "x-scal-content-disposition"; -const _xsce = "x-scal-content-encoding"; -const _xsci = "x-scal-canonical-id"; -const _xsct = "x-scal-content-type"; -const _xsdsvi = "x-scal-data-store-version-id"; -const _xsl = "x-scal-locations"; -const _xspn = "x-scal-part-number"; -const _xsrc = "x-scal-replication-content"; -const _xsres = "x-scal-replication-endpoint-site"; -const _xsru = "x-scal-request-uids"; -const _xssb = "x-scal-source-bucket"; -const _xssc = "x-scal-storage-class"; -const _xsst = "x-scal-storage-type"; -const _xssvi = "x-scal-source-version-id"; -const _xst = "x-scal-tags"; -const _xsui = "x-scal-upload-id"; -const _xsum = "x-scal-user-metadata"; -const _xsvi = "x-scal-version-id"; -const _xsvr = "x-scal-versioning-required"; diff --git a/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.browser.js b/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.browser.js deleted file mode 100644 index 88ce53e6..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.browser.js +++ /dev/null @@ -1,33 +0,0 @@ -import packageInfo from "../package.json"; -import { Sha256 } from "@aws-crypto/sha256-browser"; -import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; -import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, } from "@smithy/config-resolver"; -import { FetchHttpHandler as RequestHandler, streamCollector, } from "@smithy/fetch-http-handler"; -import { invalidProvider } from "@smithy/invalid-dependency"; -import { calculateBodyLength } from "@smithy/util-body-length-browser"; -import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE, } from "@smithy/util-retry"; -import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; -import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; -export const getRuntimeConfig = (config) => { - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getSharedRuntimeConfig(config); - return { - ...clientSharedValues, - ...config, - runtime: "browser", - defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), - maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, - region: config?.region ?? invalidProvider("Region is missing"), - requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), - sha256: config?.sha256 ?? Sha256, - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), - useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), - }; -}; diff --git a/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.js b/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.js deleted file mode 100644 index c22b2d29..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.js +++ /dev/null @@ -1,45 +0,0 @@ -import packageInfo from "../package.json"; -import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion, } from "@aws-sdk/core"; -import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; -import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider, } from "@aws-sdk/util-user-agent-node"; -import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; -import { Hash } from "@smithy/hash-node"; -import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/middleware-retry"; -import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; -import { NodeHttpHandler as RequestHandler, streamCollector, } from "@smithy/node-http-handler"; -import { calculateBodyLength } from "@smithy/util-body-length-node"; -import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; -import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; -import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; -import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client"; -export const getRuntimeConfig = (config) => { - emitWarningIfUnsupportedVersion(process.version); - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getSharedRuntimeConfig(config); - awsCheckVersion(process.version); - const loaderConfig = { - profile: config?.profile, - logger: clientSharedValues.logger, - }; - return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), - maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), - region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), - requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? loadNodeConfig({ ...NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, }, config), - sha256: config?.sha256 ?? Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), - useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), - userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), - }; -}; diff --git a/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.native.js b/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.native.js deleted file mode 100644 index 0b546952..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.native.js +++ /dev/null @@ -1,11 +0,0 @@ -import { Sha256 } from "@aws-crypto/sha256-js"; -import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; -export const getRuntimeConfig = (config) => { - const browserDefaults = getBrowserRuntimeConfig(config); - return { - ...browserDefaults, - ...config, - runtime: "react-native", - sha256: config?.sha256 ?? Sha256, - }; -}; diff --git a/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.shared.js b/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.shared.js deleted file mode 100644 index 381b11ae..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/runtimeConfig.shared.js +++ /dev/null @@ -1,30 +0,0 @@ -import { defaultCloudserverHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; -import { defaultEndpointResolver } from "./endpoint/endpointResolver"; -import { AwsSdkSigV4Signer } from "@aws-sdk/core"; -import { NoOpLogger } from "@smithy/smithy-client"; -import { parseUrl } from "@smithy/url-parser"; -import { fromBase64, toBase64, } from "@smithy/util-base64"; -import { sdkStreamMixin } from "@smithy/util-stream"; -import { fromUtf8, toUtf8, } from "@smithy/util-utf8"; -export const getRuntimeConfig = (config) => { - return { - apiVersion: "2017-07-01", - base64Decoder: config?.base64Decoder ?? fromBase64, - base64Encoder: config?.base64Encoder ?? toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, - extensions: config?.extensions ?? [], - httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCloudserverHttpAuthSchemeProvider, - httpAuthSchemes: config?.httpAuthSchemes ?? [{ - schemeId: "aws.auth#sigv4", - identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), - signer: new AwsSdkSigV4Signer(), - }], - logger: config?.logger ?? new NoOpLogger(), - sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin, - serviceId: config?.serviceId ?? "cloudserver", - urlParser: config?.urlParser ?? parseUrl, - utf8Decoder: config?.utf8Decoder ?? fromUtf8, - utf8Encoder: config?.utf8Encoder ?? toUtf8, - }; -}; diff --git a/build/smithy/source/typescript-codegen/dist-es/runtimeExtensions.js b/build/smithy/source/typescript-codegen/dist-es/runtimeExtensions.js deleted file mode 100644 index 791fcf7e..00000000 --- a/build/smithy/source/typescript-codegen/dist-es/runtimeExtensions.js +++ /dev/null @@ -1,9 +0,0 @@ -import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig, } from "./auth/httpAuthExtensionConfiguration"; -import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver"; -import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, } from "@smithy/protocol-http"; -import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, } from "@smithy/smithy-client"; -export const resolveRuntimeExtensions = (runtimeConfig, extensions) => { - const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); - extensions.forEach(extension => extension.configure(extensionConfiguration)); - return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); -}; diff --git a/build/smithy/source/typescript-codegen/dist-types/Cloudserver.d.ts b/build/smithy/source/typescript-codegen/dist-types/Cloudserver.d.ts deleted file mode 100644 index ce37f7bf..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/Cloudserver.d.ts +++ /dev/null @@ -1,198 +0,0 @@ -import { CloudserverClient } from "./CloudserverClient"; -import { BatchDeleteCommandInput, BatchDeleteCommandOutput } from "./commands/BatchDeleteCommand"; -import { DeleteBucketIndexesCommandInput, DeleteBucketIndexesCommandOutput } from "./commands/DeleteBucketIndexesCommand"; -import { DeleteObjectFromExpirationCommandInput, DeleteObjectFromExpirationCommandOutput } from "./commands/DeleteObjectFromExpirationCommand"; -import { GetBucketCseqCommandInput, GetBucketCseqCommandOutput } from "./commands/GetBucketCseqCommand"; -import { GetBucketIndexesCommandInput, GetBucketIndexesCommandOutput } from "./commands/GetBucketIndexesCommand"; -import { GetBucketMetadataCommandInput, GetBucketMetadataCommandOutput } from "./commands/GetBucketMetadataCommand"; -import { GetMetadataCommandInput, GetMetadataCommandOutput } from "./commands/GetMetadataCommand"; -import { GetObjectCommandInput, GetObjectCommandOutput } from "./commands/GetObjectCommand"; -import { GetObjectListCommandInput, GetObjectListCommandOutput } from "./commands/GetObjectListCommand"; -import { GetRaftBucketsCommandInput, GetRaftBucketsCommandOutput } from "./commands/GetRaftBucketsCommand"; -import { GetRaftIdCommandInput, GetRaftIdCommandOutput } from "./commands/GetRaftIdCommand"; -import { GetRaftLogCommandInput, GetRaftLogCommandOutput } from "./commands/GetRaftLogCommand"; -import { ListLifecycleCurrentsCommandInput, ListLifecycleCurrentsCommandOutput } from "./commands/ListLifecycleCurrentsCommand"; -import { ListLifecycleNonCurrentsCommandInput, ListLifecycleNonCurrentsCommandOutput } from "./commands/ListLifecycleNonCurrentsCommand"; -import { ListLifecycleOrphansCommandInput, ListLifecycleOrphansCommandOutput } from "./commands/ListLifecycleOrphansCommand"; -import { MultipleBackendAbortMPUCommandInput, MultipleBackendAbortMPUCommandOutput } from "./commands/MultipleBackendAbortMPUCommand"; -import { MultipleBackendCompleteMPUCommandInput, MultipleBackendCompleteMPUCommandOutput } from "./commands/MultipleBackendCompleteMPUCommand"; -import { MultipleBackendDeleteObjectCommandInput, MultipleBackendDeleteObjectCommandOutput } from "./commands/MultipleBackendDeleteObjectCommand"; -import { MultipleBackendDeleteObjectTaggingCommandInput, MultipleBackendDeleteObjectTaggingCommandOutput } from "./commands/MultipleBackendDeleteObjectTaggingCommand"; -import { MultipleBackendHeadObjectCommandInput, MultipleBackendHeadObjectCommandOutput } from "./commands/MultipleBackendHeadObjectCommand"; -import { MultipleBackendInitiateMPUCommandInput, MultipleBackendInitiateMPUCommandOutput } from "./commands/MultipleBackendInitiateMPUCommand"; -import { MultipleBackendPutMPUPartCommandInput, MultipleBackendPutMPUPartCommandOutput } from "./commands/MultipleBackendPutMPUPartCommand"; -import { MultipleBackendPutObjectCommandInput, MultipleBackendPutObjectCommandOutput } from "./commands/MultipleBackendPutObjectCommand"; -import { MultipleBackendPutObjectTaggingCommandInput, MultipleBackendPutObjectTaggingCommandOutput } from "./commands/MultipleBackendPutObjectTaggingCommand"; -import { PutBucketIndexesCommandInput, PutBucketIndexesCommandOutput } from "./commands/PutBucketIndexesCommand"; -import { PutDataCommandInput, PutDataCommandOutput } from "./commands/PutDataCommand"; -import { PutMetadataCommandInput, PutMetadataCommandOutput } from "./commands/PutMetadataCommand"; -import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; -export interface Cloudserver { - /** - * @see {@link BatchDeleteCommand} - */ - batchDelete(args: BatchDeleteCommandInput, options?: __HttpHandlerOptions): Promise; - batchDelete(args: BatchDeleteCommandInput, cb: (err: any, data?: BatchDeleteCommandOutput) => void): void; - batchDelete(args: BatchDeleteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteCommandOutput) => void): void; - /** - * @see {@link DeleteBucketIndexesCommand} - */ - deleteBucketIndexes(args: DeleteBucketIndexesCommandInput, options?: __HttpHandlerOptions): Promise; - deleteBucketIndexes(args: DeleteBucketIndexesCommandInput, cb: (err: any, data?: DeleteBucketIndexesCommandOutput) => void): void; - deleteBucketIndexes(args: DeleteBucketIndexesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBucketIndexesCommandOutput) => void): void; - /** - * @see {@link DeleteObjectFromExpirationCommand} - */ - deleteObjectFromExpiration(args: DeleteObjectFromExpirationCommandInput, options?: __HttpHandlerOptions): Promise; - deleteObjectFromExpiration(args: DeleteObjectFromExpirationCommandInput, cb: (err: any, data?: DeleteObjectFromExpirationCommandOutput) => void): void; - deleteObjectFromExpiration(args: DeleteObjectFromExpirationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteObjectFromExpirationCommandOutput) => void): void; - /** - * @see {@link GetBucketCseqCommand} - */ - getBucketCseq(args: GetBucketCseqCommandInput, options?: __HttpHandlerOptions): Promise; - getBucketCseq(args: GetBucketCseqCommandInput, cb: (err: any, data?: GetBucketCseqCommandOutput) => void): void; - getBucketCseq(args: GetBucketCseqCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketCseqCommandOutput) => void): void; - /** - * @see {@link GetBucketIndexesCommand} - */ - getBucketIndexes(args: GetBucketIndexesCommandInput, options?: __HttpHandlerOptions): Promise; - getBucketIndexes(args: GetBucketIndexesCommandInput, cb: (err: any, data?: GetBucketIndexesCommandOutput) => void): void; - getBucketIndexes(args: GetBucketIndexesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketIndexesCommandOutput) => void): void; - /** - * @see {@link GetBucketMetadataCommand} - */ - getBucketMetadata(args: GetBucketMetadataCommandInput, options?: __HttpHandlerOptions): Promise; - getBucketMetadata(args: GetBucketMetadataCommandInput, cb: (err: any, data?: GetBucketMetadataCommandOutput) => void): void; - getBucketMetadata(args: GetBucketMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketMetadataCommandOutput) => void): void; - /** - * @see {@link GetMetadataCommand} - */ - getMetadata(args: GetMetadataCommandInput, options?: __HttpHandlerOptions): Promise; - getMetadata(args: GetMetadataCommandInput, cb: (err: any, data?: GetMetadataCommandOutput) => void): void; - getMetadata(args: GetMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMetadataCommandOutput) => void): void; - /** - * @see {@link GetObjectCommand} - */ - getObject(args: GetObjectCommandInput, options?: __HttpHandlerOptions): Promise; - getObject(args: GetObjectCommandInput, cb: (err: any, data?: GetObjectCommandOutput) => void): void; - getObject(args: GetObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectCommandOutput) => void): void; - /** - * @see {@link GetObjectListCommand} - */ - getObjectList(args: GetObjectListCommandInput, options?: __HttpHandlerOptions): Promise; - getObjectList(args: GetObjectListCommandInput, cb: (err: any, data?: GetObjectListCommandOutput) => void): void; - getObjectList(args: GetObjectListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectListCommandOutput) => void): void; - /** - * @see {@link GetRaftBucketsCommand} - */ - getRaftBuckets(args: GetRaftBucketsCommandInput, options?: __HttpHandlerOptions): Promise; - getRaftBuckets(args: GetRaftBucketsCommandInput, cb: (err: any, data?: GetRaftBucketsCommandOutput) => void): void; - getRaftBuckets(args: GetRaftBucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRaftBucketsCommandOutput) => void): void; - /** - * @see {@link GetRaftIdCommand} - */ - getRaftId(args: GetRaftIdCommandInput, options?: __HttpHandlerOptions): Promise; - getRaftId(args: GetRaftIdCommandInput, cb: (err: any, data?: GetRaftIdCommandOutput) => void): void; - getRaftId(args: GetRaftIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRaftIdCommandOutput) => void): void; - /** - * @see {@link GetRaftLogCommand} - */ - getRaftLog(args: GetRaftLogCommandInput, options?: __HttpHandlerOptions): Promise; - getRaftLog(args: GetRaftLogCommandInput, cb: (err: any, data?: GetRaftLogCommandOutput) => void): void; - getRaftLog(args: GetRaftLogCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRaftLogCommandOutput) => void): void; - /** - * @see {@link ListLifecycleCurrentsCommand} - */ - listLifecycleCurrents(args: ListLifecycleCurrentsCommandInput, options?: __HttpHandlerOptions): Promise; - listLifecycleCurrents(args: ListLifecycleCurrentsCommandInput, cb: (err: any, data?: ListLifecycleCurrentsCommandOutput) => void): void; - listLifecycleCurrents(args: ListLifecycleCurrentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLifecycleCurrentsCommandOutput) => void): void; - /** - * @see {@link ListLifecycleNonCurrentsCommand} - */ - listLifecycleNonCurrents(args: ListLifecycleNonCurrentsCommandInput, options?: __HttpHandlerOptions): Promise; - listLifecycleNonCurrents(args: ListLifecycleNonCurrentsCommandInput, cb: (err: any, data?: ListLifecycleNonCurrentsCommandOutput) => void): void; - listLifecycleNonCurrents(args: ListLifecycleNonCurrentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLifecycleNonCurrentsCommandOutput) => void): void; - /** - * @see {@link ListLifecycleOrphansCommand} - */ - listLifecycleOrphans(args: ListLifecycleOrphansCommandInput, options?: __HttpHandlerOptions): Promise; - listLifecycleOrphans(args: ListLifecycleOrphansCommandInput, cb: (err: any, data?: ListLifecycleOrphansCommandOutput) => void): void; - listLifecycleOrphans(args: ListLifecycleOrphansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLifecycleOrphansCommandOutput) => void): void; - /** - * @see {@link MultipleBackendAbortMPUCommand} - */ - multipleBackendAbortMPU(args: MultipleBackendAbortMPUCommandInput, options?: __HttpHandlerOptions): Promise; - multipleBackendAbortMPU(args: MultipleBackendAbortMPUCommandInput, cb: (err: any, data?: MultipleBackendAbortMPUCommandOutput) => void): void; - multipleBackendAbortMPU(args: MultipleBackendAbortMPUCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MultipleBackendAbortMPUCommandOutput) => void): void; - /** - * @see {@link MultipleBackendCompleteMPUCommand} - */ - multipleBackendCompleteMPU(args: MultipleBackendCompleteMPUCommandInput, options?: __HttpHandlerOptions): Promise; - multipleBackendCompleteMPU(args: MultipleBackendCompleteMPUCommandInput, cb: (err: any, data?: MultipleBackendCompleteMPUCommandOutput) => void): void; - multipleBackendCompleteMPU(args: MultipleBackendCompleteMPUCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MultipleBackendCompleteMPUCommandOutput) => void): void; - /** - * @see {@link MultipleBackendDeleteObjectCommand} - */ - multipleBackendDeleteObject(args: MultipleBackendDeleteObjectCommandInput, options?: __HttpHandlerOptions): Promise; - multipleBackendDeleteObject(args: MultipleBackendDeleteObjectCommandInput, cb: (err: any, data?: MultipleBackendDeleteObjectCommandOutput) => void): void; - multipleBackendDeleteObject(args: MultipleBackendDeleteObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MultipleBackendDeleteObjectCommandOutput) => void): void; - /** - * @see {@link MultipleBackendDeleteObjectTaggingCommand} - */ - multipleBackendDeleteObjectTagging(args: MultipleBackendDeleteObjectTaggingCommandInput, options?: __HttpHandlerOptions): Promise; - multipleBackendDeleteObjectTagging(args: MultipleBackendDeleteObjectTaggingCommandInput, cb: (err: any, data?: MultipleBackendDeleteObjectTaggingCommandOutput) => void): void; - multipleBackendDeleteObjectTagging(args: MultipleBackendDeleteObjectTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MultipleBackendDeleteObjectTaggingCommandOutput) => void): void; - /** - * @see {@link MultipleBackendHeadObjectCommand} - */ - multipleBackendHeadObject(args: MultipleBackendHeadObjectCommandInput, options?: __HttpHandlerOptions): Promise; - multipleBackendHeadObject(args: MultipleBackendHeadObjectCommandInput, cb: (err: any, data?: MultipleBackendHeadObjectCommandOutput) => void): void; - multipleBackendHeadObject(args: MultipleBackendHeadObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MultipleBackendHeadObjectCommandOutput) => void): void; - /** - * @see {@link MultipleBackendInitiateMPUCommand} - */ - multipleBackendInitiateMPU(args: MultipleBackendInitiateMPUCommandInput, options?: __HttpHandlerOptions): Promise; - multipleBackendInitiateMPU(args: MultipleBackendInitiateMPUCommandInput, cb: (err: any, data?: MultipleBackendInitiateMPUCommandOutput) => void): void; - multipleBackendInitiateMPU(args: MultipleBackendInitiateMPUCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MultipleBackendInitiateMPUCommandOutput) => void): void; - /** - * @see {@link MultipleBackendPutMPUPartCommand} - */ - multipleBackendPutMPUPart(args: MultipleBackendPutMPUPartCommandInput, options?: __HttpHandlerOptions): Promise; - multipleBackendPutMPUPart(args: MultipleBackendPutMPUPartCommandInput, cb: (err: any, data?: MultipleBackendPutMPUPartCommandOutput) => void): void; - multipleBackendPutMPUPart(args: MultipleBackendPutMPUPartCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MultipleBackendPutMPUPartCommandOutput) => void): void; - /** - * @see {@link MultipleBackendPutObjectCommand} - */ - multipleBackendPutObject(args: MultipleBackendPutObjectCommandInput, options?: __HttpHandlerOptions): Promise; - multipleBackendPutObject(args: MultipleBackendPutObjectCommandInput, cb: (err: any, data?: MultipleBackendPutObjectCommandOutput) => void): void; - multipleBackendPutObject(args: MultipleBackendPutObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MultipleBackendPutObjectCommandOutput) => void): void; - /** - * @see {@link MultipleBackendPutObjectTaggingCommand} - */ - multipleBackendPutObjectTagging(args: MultipleBackendPutObjectTaggingCommandInput, options?: __HttpHandlerOptions): Promise; - multipleBackendPutObjectTagging(args: MultipleBackendPutObjectTaggingCommandInput, cb: (err: any, data?: MultipleBackendPutObjectTaggingCommandOutput) => void): void; - multipleBackendPutObjectTagging(args: MultipleBackendPutObjectTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MultipleBackendPutObjectTaggingCommandOutput) => void): void; - /** - * @see {@link PutBucketIndexesCommand} - */ - putBucketIndexes(args: PutBucketIndexesCommandInput, options?: __HttpHandlerOptions): Promise; - putBucketIndexes(args: PutBucketIndexesCommandInput, cb: (err: any, data?: PutBucketIndexesCommandOutput) => void): void; - putBucketIndexes(args: PutBucketIndexesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutBucketIndexesCommandOutput) => void): void; - /** - * @see {@link PutDataCommand} - */ - putData(args: PutDataCommandInput, options?: __HttpHandlerOptions): Promise; - putData(args: PutDataCommandInput, cb: (err: any, data?: PutDataCommandOutput) => void): void; - putData(args: PutDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDataCommandOutput) => void): void; - /** - * @see {@link PutMetadataCommand} - */ - putMetadata(args: PutMetadataCommandInput, options?: __HttpHandlerOptions): Promise; - putMetadata(args: PutMetadataCommandInput, cb: (err: any, data?: PutMetadataCommandOutput) => void): void; - putMetadata(args: PutMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutMetadataCommandOutput) => void): void; -} -/** - * @public - */ -export declare class Cloudserver extends CloudserverClient implements Cloudserver { -} diff --git a/build/smithy/source/typescript-codegen/dist-types/CloudserverClient.d.ts b/build/smithy/source/typescript-codegen/dist-types/CloudserverClient.d.ts deleted file mode 100644 index c47dc795..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/CloudserverClient.d.ts +++ /dev/null @@ -1,219 +0,0 @@ -import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; -import { BatchDeleteCommandInput, BatchDeleteCommandOutput } from "./commands/BatchDeleteCommand"; -import { DeleteBucketIndexesCommandInput, DeleteBucketIndexesCommandOutput } from "./commands/DeleteBucketIndexesCommand"; -import { DeleteObjectFromExpirationCommandInput, DeleteObjectFromExpirationCommandOutput } from "./commands/DeleteObjectFromExpirationCommand"; -import { GetBucketCseqCommandInput, GetBucketCseqCommandOutput } from "./commands/GetBucketCseqCommand"; -import { GetBucketIndexesCommandInput, GetBucketIndexesCommandOutput } from "./commands/GetBucketIndexesCommand"; -import { GetBucketMetadataCommandInput, GetBucketMetadataCommandOutput } from "./commands/GetBucketMetadataCommand"; -import { GetMetadataCommandInput, GetMetadataCommandOutput } from "./commands/GetMetadataCommand"; -import { GetObjectCommandInput, GetObjectCommandOutput } from "./commands/GetObjectCommand"; -import { GetObjectListCommandInput, GetObjectListCommandOutput } from "./commands/GetObjectListCommand"; -import { GetRaftBucketsCommandInput, GetRaftBucketsCommandOutput } from "./commands/GetRaftBucketsCommand"; -import { GetRaftIdCommandInput, GetRaftIdCommandOutput } from "./commands/GetRaftIdCommand"; -import { GetRaftLogCommandInput, GetRaftLogCommandOutput } from "./commands/GetRaftLogCommand"; -import { ListLifecycleCurrentsCommandInput, ListLifecycleCurrentsCommandOutput } from "./commands/ListLifecycleCurrentsCommand"; -import { ListLifecycleNonCurrentsCommandInput, ListLifecycleNonCurrentsCommandOutput } from "./commands/ListLifecycleNonCurrentsCommand"; -import { ListLifecycleOrphansCommandInput, ListLifecycleOrphansCommandOutput } from "./commands/ListLifecycleOrphansCommand"; -import { MultipleBackendAbortMPUCommandInput, MultipleBackendAbortMPUCommandOutput } from "./commands/MultipleBackendAbortMPUCommand"; -import { MultipleBackendCompleteMPUCommandInput, MultipleBackendCompleteMPUCommandOutput } from "./commands/MultipleBackendCompleteMPUCommand"; -import { MultipleBackendDeleteObjectCommandInput, MultipleBackendDeleteObjectCommandOutput } from "./commands/MultipleBackendDeleteObjectCommand"; -import { MultipleBackendDeleteObjectTaggingCommandInput, MultipleBackendDeleteObjectTaggingCommandOutput } from "./commands/MultipleBackendDeleteObjectTaggingCommand"; -import { MultipleBackendHeadObjectCommandInput, MultipleBackendHeadObjectCommandOutput } from "./commands/MultipleBackendHeadObjectCommand"; -import { MultipleBackendInitiateMPUCommandInput, MultipleBackendInitiateMPUCommandOutput } from "./commands/MultipleBackendInitiateMPUCommand"; -import { MultipleBackendPutMPUPartCommandInput, MultipleBackendPutMPUPartCommandOutput } from "./commands/MultipleBackendPutMPUPartCommand"; -import { MultipleBackendPutObjectCommandInput, MultipleBackendPutObjectCommandOutput } from "./commands/MultipleBackendPutObjectCommand"; -import { MultipleBackendPutObjectTaggingCommandInput, MultipleBackendPutObjectTaggingCommandOutput } from "./commands/MultipleBackendPutObjectTaggingCommand"; -import { PutBucketIndexesCommandInput, PutBucketIndexesCommandOutput } from "./commands/PutBucketIndexesCommand"; -import { PutDataCommandInput, PutDataCommandOutput } from "./commands/PutDataCommand"; -import { PutMetadataCommandInput, PutMetadataCommandOutput } from "./commands/PutMetadataCommand"; -import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters"; -import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; -import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; -import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; -import { DefaultAwsRegionalEndpointsInputConfig, DefaultAwsRegionalEndpointsResolvedConfig } from "@aws-sdk/util-endpoints"; -import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver"; -import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint"; -import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry"; -import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; -import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client"; -import { AwsCredentialIdentityProvider, Provider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; -export { __Client }; -/** - * @public - */ -export type ServiceInputTypes = BatchDeleteCommandInput | DeleteBucketIndexesCommandInput | DeleteObjectFromExpirationCommandInput | GetBucketCseqCommandInput | GetBucketIndexesCommandInput | GetBucketMetadataCommandInput | GetMetadataCommandInput | GetObjectCommandInput | GetObjectListCommandInput | GetRaftBucketsCommandInput | GetRaftIdCommandInput | GetRaftLogCommandInput | ListLifecycleCurrentsCommandInput | ListLifecycleNonCurrentsCommandInput | ListLifecycleOrphansCommandInput | MultipleBackendAbortMPUCommandInput | MultipleBackendCompleteMPUCommandInput | MultipleBackendDeleteObjectCommandInput | MultipleBackendDeleteObjectTaggingCommandInput | MultipleBackendHeadObjectCommandInput | MultipleBackendInitiateMPUCommandInput | MultipleBackendPutMPUPartCommandInput | MultipleBackendPutObjectCommandInput | MultipleBackendPutObjectTaggingCommandInput | PutBucketIndexesCommandInput | PutDataCommandInput | PutMetadataCommandInput; -/** - * @public - */ -export type ServiceOutputTypes = BatchDeleteCommandOutput | DeleteBucketIndexesCommandOutput | DeleteObjectFromExpirationCommandOutput | GetBucketCseqCommandOutput | GetBucketIndexesCommandOutput | GetBucketMetadataCommandOutput | GetMetadataCommandOutput | GetObjectCommandOutput | GetObjectListCommandOutput | GetRaftBucketsCommandOutput | GetRaftIdCommandOutput | GetRaftLogCommandOutput | ListLifecycleCurrentsCommandOutput | ListLifecycleNonCurrentsCommandOutput | ListLifecycleOrphansCommandOutput | MultipleBackendAbortMPUCommandOutput | MultipleBackendCompleteMPUCommandOutput | MultipleBackendDeleteObjectCommandOutput | MultipleBackendDeleteObjectTaggingCommandOutput | MultipleBackendHeadObjectCommandOutput | MultipleBackendInitiateMPUCommandOutput | MultipleBackendPutMPUPartCommandOutput | MultipleBackendPutObjectCommandOutput | MultipleBackendPutObjectTaggingCommandOutput | PutBucketIndexesCommandOutput | PutDataCommandOutput | PutMetadataCommandOutput; -/** - * @public - */ -export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { - /** - * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. - */ - requestHandler?: __HttpHandlerUserInput; - /** - * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface - * that computes the SHA-256 HMAC or checksum of a string or binary buffer. - * @internal - */ - sha256?: __ChecksumConstructor | __HashConstructor; - /** - * The function that will be used to convert strings into HTTP endpoints. - * @internal - */ - urlParser?: __UrlParser; - /** - * A function that can calculate the length of a request body. - * @internal - */ - bodyLengthChecker?: __BodyLengthCalculator; - /** - * A function that converts a stream into an array of bytes. - * @internal - */ - streamCollector?: __StreamCollector; - /** - * The function that will be used to convert a base64-encoded string to a byte array. - * @internal - */ - base64Decoder?: __Decoder; - /** - * The function that will be used to convert binary data to a base64-encoded string. - * @internal - */ - base64Encoder?: __Encoder; - /** - * The function that will be used to convert a UTF8-encoded string to a byte array. - * @internal - */ - utf8Decoder?: __Decoder; - /** - * The function that will be used to convert binary data to a UTF-8 encoded string. - * @internal - */ - utf8Encoder?: __Encoder; - /** - * The runtime environment. - * @internal - */ - runtime?: string; - /** - * Disable dynamically changing the endpoint of the client based on the hostPrefix - * trait of an operation. - */ - disableHostPrefix?: boolean; - /** - * Unique service identifier. - * @internal - */ - serviceId?: string; - /** - * Enables IPv6/IPv4 dualstack endpoint. - */ - useDualstackEndpoint?: boolean | __Provider; - /** - * Enables FIPS compatible endpoints. - */ - useFipsEndpoint?: boolean | __Provider; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** - * Setting a client profile is similar to setting a value for the - * AWS_PROFILE environment variable. Setting a profile on a client - * in code only affects the single client instance, unlike AWS_PROFILE. - * - * When set, and only for environments where an AWS configuration - * file exists, fields configurable by this file will be retrieved - * from the specified profile within that file. - * Conflicting code configuration and environment variables will - * still have higher priority. - * - * For client credential resolution that involves checking the AWS - * configuration file, the client's profile (this value) will be - * used unless a different profile is set in the credential - * provider options. - * - */ - profile?: string; - /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal - */ - defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * Default credentials provider; Not available in browser runtime. - * @deprecated - * @internal - */ - credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; - /** - * Value for how many times a request will be made at most in case of retry. - */ - maxAttempts?: number | __Provider; - /** - * Specifies which retry algorithm to use. - * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ - * - */ - retryMode?: string | __Provider; - /** - * Optional logger for logging debug/info/warn/error. - */ - logger?: __Logger; - /** - * Optional extensions - */ - extensions?: RuntimeExtension[]; - /** - * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. - */ - defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; - /** - * The internal function that inject utilities to runtime-specific stream to help users consume the data - * @internal - */ - sdkStreamMixin?: __SdkStreamMixinInjector; -} -/** - * @public - */ -export type CloudserverClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & DefaultAwsRegionalEndpointsInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; -/** - * @public - * - * The configuration interface of CloudserverClient class constructor that set the region, credentials and other options. - */ -export interface CloudserverClientConfig extends CloudserverClientConfigType { -} -/** - * @public - */ -export type CloudserverClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & DefaultAwsRegionalEndpointsResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; -/** - * @public - * - * The resolved configuration interface of CloudserverClient class. This is resolved and normalized from the {@link CloudserverClientConfig | constructor configuration interface}. - */ -export interface CloudserverClientResolvedConfig extends CloudserverClientResolvedConfigType { -} -/** - * @public - */ -export declare class CloudserverClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudserverClientResolvedConfig> { - /** - * The resolved configuration of CloudserverClient class. This is resolved and normalized from the {@link CloudserverClientConfig | constructor configuration interface}. - */ - readonly config: CloudserverClientResolvedConfig; - constructor(...[configuration]: __CheckOptionalClientConfig); - /** - * Destroy underlying resources, like sockets. It's usually not necessary to do this. - * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. - * Otherwise, sockets might stay open for quite a long time before the server terminates them. - */ - destroy(): void; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/auth/httpAuthExtensionConfiguration.d.ts b/build/smithy/source/typescript-codegen/dist-types/auth/httpAuthExtensionConfiguration.d.ts deleted file mode 100644 index 62ae01c3..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/auth/httpAuthExtensionConfiguration.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { CloudserverHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; -import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types"; -/** - * @internal - */ -export interface HttpAuthExtensionConfiguration { - setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; - httpAuthSchemes(): HttpAuthScheme[]; - setHttpAuthSchemeProvider(httpAuthSchemeProvider: CloudserverHttpAuthSchemeProvider): void; - httpAuthSchemeProvider(): CloudserverHttpAuthSchemeProvider; - setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; - credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; -} -/** - * @internal - */ -export type HttpAuthRuntimeConfig = Partial<{ - httpAuthSchemes: HttpAuthScheme[]; - httpAuthSchemeProvider: CloudserverHttpAuthSchemeProvider; - credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; -}>; -/** - * @internal - */ -export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration; -/** - * @internal - */ -export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig; diff --git a/build/smithy/source/typescript-codegen/dist-types/auth/httpAuthSchemeProvider.d.ts b/build/smithy/source/typescript-codegen/dist-types/auth/httpAuthSchemeProvider.d.ts deleted file mode 100644 index 45982474..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/auth/httpAuthSchemeProvider.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { CloudserverClientResolvedConfig } from "../CloudserverClient"; -import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core"; -import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; -/** - * @internal - */ -export interface CloudserverHttpAuthSchemeParameters extends HttpAuthSchemeParameters { - region?: string; -} -/** - * @internal - */ -export interface CloudserverHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider { -} -/** - * @internal - */ -export declare const defaultCloudserverHttpAuthSchemeParametersProvider: (config: CloudserverClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise; -/** - * @internal - */ -export interface CloudserverHttpAuthSchemeProvider extends HttpAuthSchemeProvider { -} -/** - * @internal - */ -export declare const defaultCloudserverHttpAuthSchemeProvider: CloudserverHttpAuthSchemeProvider; -/** - * @internal - */ -export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { - /** - * A comma-separated list of case-sensitive auth scheme names. - * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. - * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. - * @public - */ - authSchemePreference?: string[] | Provider; - /** - * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. - * @internal - */ - httpAuthSchemes?: HttpAuthScheme[]; - /** - * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. - * @internal - */ - httpAuthSchemeProvider?: CloudserverHttpAuthSchemeProvider; -} -/** - * @internal - */ -export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { - /** - * A comma-separated list of case-sensitive auth scheme names. - * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. - * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. - * @public - */ - readonly authSchemePreference: Provider; - /** - * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. - * @internal - */ - readonly httpAuthSchemes: HttpAuthScheme[]; - /** - * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. - * @internal - */ - readonly httpAuthSchemeProvider: CloudserverHttpAuthSchemeProvider; -} -/** - * @internal - */ -export declare const resolveHttpAuthSchemeConfig: (config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig; diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/BatchDeleteCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/BatchDeleteCommand.d.ts deleted file mode 100644 index 193e0561..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/BatchDeleteCommand.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { BatchDeleteInput, BatchDeleteOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link BatchDeleteCommand}. - */ -export interface BatchDeleteCommandInput extends BatchDeleteInput { -} -/** - * @public - * - * The output of {@link BatchDeleteCommand}. - */ -export interface BatchDeleteCommandOutput extends BatchDeleteOutput, __MetadataBearer { -} -declare const BatchDeleteCommand_base: { - new (input: BatchDeleteCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: BatchDeleteCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, BatchDeleteCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, BatchDeleteCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // BatchDeleteInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * IfUnmodifiedSince: "STRING_VALUE", - * StorageClass: "STRING_VALUE", - * Tags: "STRING_VALUE", - * ContentType: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Locations: [ // BatchDeleteLocationList - * { // BatchDeleteLocation - * dataStoreName: "STRING_VALUE", - * key: "STRING_VALUE", - * size: Number("int"), - * dataStoreVersionId: "STRING_VALUE", - * }, - * ], - * }; - * const command = new BatchDeleteCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param BatchDeleteCommandInput - {@link BatchDeleteCommandInput} - * @returns {@link BatchDeleteCommandOutput} - * @see {@link BatchDeleteCommandInput} for command's `input` shape. - * @see {@link BatchDeleteCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class BatchDeleteCommand extends BatchDeleteCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: BatchDeleteInput; - output: {}; - }; - sdk: { - input: BatchDeleteCommandInput; - output: BatchDeleteCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/DeleteBucketIndexesCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/DeleteBucketIndexesCommand.d.ts deleted file mode 100644 index f6a8331d..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/DeleteBucketIndexesCommand.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { DeleteBucketIndexesInput, DeleteBucketIndexesOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type DeleteBucketIndexesCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; -/** - * @public - * - * The input for {@link DeleteBucketIndexesCommand}. - */ -export interface DeleteBucketIndexesCommandInput extends DeleteBucketIndexesCommandInputType { -} -/** - * @public - * - * The output of {@link DeleteBucketIndexesCommand}. - */ -export interface DeleteBucketIndexesCommandOutput extends DeleteBucketIndexesOutput, __MetadataBearer { -} -declare const DeleteBucketIndexesCommand_base: { - new (input: DeleteBucketIndexesCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DeleteBucketIndexesCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, DeleteBucketIndexesCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, DeleteBucketIndexesCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // DeleteBucketIndexesInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new DeleteBucketIndexesCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteBucketIndexesCommandInput - {@link DeleteBucketIndexesCommandInput} - * @returns {@link DeleteBucketIndexesCommandOutput} - * @see {@link DeleteBucketIndexesCommandInput} for command's `input` shape. - * @see {@link DeleteBucketIndexesCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class DeleteBucketIndexesCommand extends DeleteBucketIndexesCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DeleteBucketIndexesInput; - output: {}; - }; - sdk: { - input: DeleteBucketIndexesCommandInput; - output: DeleteBucketIndexesCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/DeleteObjectFromExpirationCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/DeleteObjectFromExpirationCommand.d.ts deleted file mode 100644 index 768d844a..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/DeleteObjectFromExpirationCommand.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { DeleteObjectFromExpirationInput, DeleteObjectFromExpirationOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteObjectFromExpirationCommand}. - */ -export interface DeleteObjectFromExpirationCommandInput extends DeleteObjectFromExpirationInput { -} -/** - * @public - * - * The output of {@link DeleteObjectFromExpirationCommand}. - */ -export interface DeleteObjectFromExpirationCommandOutput extends DeleteObjectFromExpirationOutput, __MetadataBearer { -} -declare const DeleteObjectFromExpirationCommand_base: { - new (input: DeleteObjectFromExpirationCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DeleteObjectFromExpirationCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, DeleteObjectFromExpirationCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, DeleteObjectFromExpirationCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // DeleteObjectFromExpirationInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * VersionId: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new DeleteObjectFromExpirationCommand(input); - * const response = await client.send(command); - * // { // DeleteObjectFromExpirationOutput - * // versionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param DeleteObjectFromExpirationCommandInput - {@link DeleteObjectFromExpirationCommandInput} - * @returns {@link DeleteObjectFromExpirationCommandOutput} - * @see {@link DeleteObjectFromExpirationCommandInput} for command's `input` shape. - * @see {@link DeleteObjectFromExpirationCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class DeleteObjectFromExpirationCommand extends DeleteObjectFromExpirationCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DeleteObjectFromExpirationInput; - output: DeleteObjectFromExpirationOutput; - }; - sdk: { - input: DeleteObjectFromExpirationCommandInput; - output: DeleteObjectFromExpirationCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/GetBucketCseqCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/GetBucketCseqCommand.d.ts deleted file mode 100644 index 295ff307..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/GetBucketCseqCommand.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { GetBucketCseqInput, GetBucketCseqOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetBucketCseqCommand}. - */ -export interface GetBucketCseqCommandInput extends GetBucketCseqInput { -} -/** - * @public - * - * The output of {@link GetBucketCseqCommand}. - */ -export interface GetBucketCseqCommandOutput extends GetBucketCseqOutput, __MetadataBearer { -} -declare const GetBucketCseqCommand_base: { - new (input: GetBucketCseqCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetBucketCseqCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * Retrieves bucket sequence information - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetBucketCseqCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetBucketCseqCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetBucketCseqInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetBucketCseqCommand(input); - * const response = await client.send(command); - * // { // GetBucketCseqOutput - * // CseqInfo: "DOCUMENT_VALUE", - * // }; - * - * ``` - * - * @param GetBucketCseqCommandInput - {@link GetBucketCseqCommandInput} - * @returns {@link GetBucketCseqCommandOutput} - * @see {@link GetBucketCseqCommandInput} for command's `input` shape. - * @see {@link GetBucketCseqCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class GetBucketCseqCommand extends GetBucketCseqCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetBucketCseqInput; - output: GetBucketCseqOutput; - }; - sdk: { - input: GetBucketCseqCommandInput; - output: GetBucketCseqCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/GetBucketIndexesCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/GetBucketIndexesCommand.d.ts deleted file mode 100644 index b759fb3d..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/GetBucketIndexesCommand.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { GetBucketIndexesInput, GetBucketIndexesOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetBucketIndexesCommand}. - */ -export interface GetBucketIndexesCommandInput extends GetBucketIndexesInput { -} -/** - * @public - * - * The output of {@link GetBucketIndexesCommand}. - */ -export interface GetBucketIndexesCommandOutput extends GetBucketIndexesOutput, __MetadataBearer { -} -declare const GetBucketIndexesCommand_base: { - new (input: GetBucketIndexesCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetBucketIndexesCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetBucketIndexesCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetBucketIndexesCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetBucketIndexesInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetBucketIndexesCommand(input); - * const response = await client.send(command); - * // { // GetBucketIndexesOutput - * // Indexes: [ // IndexList - * // { // Index - * // name: "STRING_VALUE", - * // keys: [ // IndexKeyList - * // { // IndexKey - * // order: Number("int"), - * // key: "STRING_VALUE", - * // }, - * // ], - * // }, - * // ], - * // }; - * - * ``` - * - * @param GetBucketIndexesCommandInput - {@link GetBucketIndexesCommandInput} - * @returns {@link GetBucketIndexesCommandOutput} - * @see {@link GetBucketIndexesCommandInput} for command's `input` shape. - * @see {@link GetBucketIndexesCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class GetBucketIndexesCommand extends GetBucketIndexesCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetBucketIndexesInput; - output: GetBucketIndexesOutput; - }; - sdk: { - input: GetBucketIndexesCommandInput; - output: GetBucketIndexesCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/GetBucketMetadataCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/GetBucketMetadataCommand.d.ts deleted file mode 100644 index f9795758..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/GetBucketMetadataCommand.d.ts +++ /dev/null @@ -1,126 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { GetBucketMetadataInput, GetBucketMetadataOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetBucketMetadataCommand}. - */ -export interface GetBucketMetadataCommandInput extends GetBucketMetadataInput { -} -/** - * @public - * - * The output of {@link GetBucketMetadataCommand}. - */ -export interface GetBucketMetadataCommandOutput extends GetBucketMetadataOutput, __MetadataBearer { -} -declare const GetBucketMetadataCommand_base: { - new (input: GetBucketMetadataCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetBucketMetadataCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetBucketMetadataCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetBucketMetadataCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetBucketMetadataInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetBucketMetadataCommand(input); - * const response = await client.send(command); - * // { // GetBucketMetadataOutput - * // acl: { // AclObj - * // Canned: "STRING_VALUE", - * // FULL_CONTROL: [ // StringList - * // "STRING_VALUE", - * // ], - * // WRITE: [ - * // "STRING_VALUE", - * // ], - * // WRITE_ACP: [ - * // "STRING_VALUE", - * // ], - * // READ: [ - * // "STRING_VALUE", - * // ], - * // READ_ACP: [ - * // "STRING_VALUE", - * // ], - * // }, - * // name: "STRING_VALUE", - * // owner: "STRING_VALUE", - * // ownerDisplayName: "STRING_VALUE", - * // creationDate: "STRING_VALUE", - * // mdBucketModelVersion: Number("int"), - * // transient: true || false, - * // deleted: true || false, - * // serverSideEncryption: { // ServerSideEncryptionMap - * // "": "STRING_VALUE", - * // }, - * // versioningConfiguration: { // VersioningConfigurationObj - * // "": "STRING_VALUE", - * // }, - * // locationConstraint: "STRING_VALUE", - * // readLocationConstraint: "STRING_VALUE", - * // cors: [ // CorsListObj - * // { // CorsObj - * // "": "STRING_VALUE", - * // }, - * // ], - * // replicationConfiguration: { // ReplicationConfigurationObj - * // "": "STRING_VALUE", - * // }, - * // lifecycleConfiguration: { // LifecycleConfigurationObj - * // Rules: [ // LifecycleRuleList - * // { // LCRuleObj - * // ID: "STRING_VALUE", - * // Status: "Enabled" || "Disabled", - * // Prefix: "STRING_VALUE", - * // Expiration: { // ExpirationConfiguration - * // Days: Number("int"), - * // }, - * // }, - * // ], - * // }, - * // uid: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetBucketMetadataCommandInput - {@link GetBucketMetadataCommandInput} - * @returns {@link GetBucketMetadataCommandOutput} - * @see {@link GetBucketMetadataCommandInput} for command's `input` shape. - * @see {@link GetBucketMetadataCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class GetBucketMetadataCommand extends GetBucketMetadataCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetBucketMetadataInput; - output: GetBucketMetadataOutput; - }; - sdk: { - input: GetBucketMetadataCommandInput; - output: GetBucketMetadataCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/GetMetadataCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/GetMetadataCommand.d.ts deleted file mode 100644 index 134c4f57..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/GetMetadataCommand.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { GetMetadataInput, GetMetadataOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetMetadataCommand}. - */ -export interface GetMetadataCommandInput extends GetMetadataInput { -} -/** - * @public - * - * The output of {@link GetMetadataCommand}. - */ -export interface GetMetadataCommandOutput extends GetMetadataOutput, __MetadataBearer { -} -declare const GetMetadataCommand_base: { - new (input: GetMetadataCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetMetadataCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetMetadataCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetMetadataCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetMetadataInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * VersionId: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetMetadataCommand(input); - * const response = await client.send(command); - * // { // GetMetadataOutput - * // Body: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetMetadataCommandInput - {@link GetMetadataCommandInput} - * @returns {@link GetMetadataCommandOutput} - * @see {@link GetMetadataCommandInput} for command's `input` shape. - * @see {@link GetMetadataCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class GetMetadataCommand extends GetMetadataCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetMetadataInput; - output: GetMetadataOutput; - }; - sdk: { - input: GetMetadataCommandInput; - output: GetMetadataCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/GetObjectCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/GetObjectCommand.d.ts deleted file mode 100644 index 51a864b4..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/GetObjectCommand.d.ts +++ /dev/null @@ -1,126 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { GetObjectInput, GetObjectOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { StreamingBlobPayloadOutputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetObjectCommand}. - */ -export interface GetObjectCommandInput extends GetObjectInput { -} -/** - * @public - * - * The output of {@link GetObjectCommand}. - */ -export interface GetObjectCommandOutput extends Omit, __MetadataBearer { - Body: StreamingBlobPayloadOutputTypes; -} -declare const GetObjectCommand_base: { - new (input: GetObjectCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetObjectCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetObjectCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetObjectCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetObjectInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * IfMatch: "STRING_VALUE", - * IfModifiedSince: new Date("TIMESTAMP"), - * IfNoneMatch: "STRING_VALUE", - * IfUnmodifiedSince: new Date("TIMESTAMP"), - * Range: "STRING_VALUE", - * ResponseCacheControl: "STRING_VALUE", - * ResponseContentDisposition: "STRING_VALUE", - * ResponseContentEncoding: "STRING_VALUE", - * ResponseContentLanguage: "STRING_VALUE", - * ResponseContentType: "STRING_VALUE", - * ResponseExpires: new Date("TIMESTAMP"), - * VersionId: "STRING_VALUE", - * SSECustomerAlgorithm: "STRING_VALUE", - * SSECustomerKey: "STRING_VALUE", - * SSECustomerKeyMD5: "STRING_VALUE", - * RequestPayer: "STRING_VALUE", - * PartNumber: Number("int"), - * LocationConstraint: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetObjectCommand(input); - * const response = await client.send(command); - * // consume or destroy the stream to free the socket. - * const bytes = await response.Body.transformToByteArray(); - * // const str = await response.Body.transformToString(); - * // response.Body.destroy(); // only applicable to Node.js Readable streams. - * - * // { // GetObjectOutput - * // Body: "", // see \@smithy/types -> StreamingBlobPayloadOutputTypes // required - * // DeleteMarker: true || false, - * // AcceptRanges: "STRING_VALUE", - * // Expiration: "STRING_VALUE", - * // Restore: "STRING_VALUE", - * // LastModified: new Date("TIMESTAMP"), - * // ETag: "STRING_VALUE", - * // MissingMeta: Number("int"), - * // VersionId: "STRING_VALUE", - * // CacheControl: "STRING_VALUE", - * // ContentDisposition: "STRING_VALUE", - * // ContentEncoding: "STRING_VALUE", - * // ContentLanguage: "STRING_VALUE", - * // ContentRange: "STRING_VALUE", - * // ContentType: "STRING_VALUE", - * // Expires: new Date("TIMESTAMP"), - * // WebsiteRedirectLocation: "STRING_VALUE", - * // ServerSideEncryption: "STRING_VALUE", - * // Metadata: { // MetadataMap - * // "": "STRING_VALUE", - * // }, - * // SSECustomerAlgorithm: "STRING_VALUE", - * // SSECustomerKeyMD5: "STRING_VALUE", - * // SSEKMSKeyId: "STRING_VALUE", - * // StorageClass: "STRING_VALUE", - * // RequestCharged: "STRING_VALUE", - * // ReplicationStatus: "STRING_VALUE", - * // PartsCount: Number("int"), - * // TagCount: Number("int"), - * // }; - * - * ``` - * - * @param GetObjectCommandInput - {@link GetObjectCommandInput} - * @returns {@link GetObjectCommandOutput} - * @see {@link GetObjectCommandInput} for command's `input` shape. - * @see {@link GetObjectCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class GetObjectCommand extends GetObjectCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetObjectInput; - output: GetObjectOutput; - }; - sdk: { - input: GetObjectCommandInput; - output: GetObjectCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/GetObjectListCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/GetObjectListCommand.d.ts deleted file mode 100644 index 0b0e4886..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/GetObjectListCommand.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { GetObjectListInput, GetObjectListOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetObjectListCommand}. - */ -export interface GetObjectListCommandInput extends GetObjectListInput { -} -/** - * @public - * - * The output of {@link GetObjectListCommand}. - */ -export interface GetObjectListCommandOutput extends GetObjectListOutput, __MetadataBearer { -} -declare const GetObjectListCommand_base: { - new (input: GetObjectListCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetObjectListCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetObjectListCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetObjectListCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetObjectListInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetObjectListCommand(input); - * const response = await client.send(command); - * // { // GetObjectListOutput - * // Contents: [ // ObjectMDList - * // { // ObjectMD - * // key: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // CommonPrefixes: [ // CommonPrefixList - * // "STRING_VALUE", - * // ], - * // IsTruncated: true || false, - * // Delimiter: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetObjectListCommandInput - {@link GetObjectListCommandInput} - * @returns {@link GetObjectListCommandOutput} - * @see {@link GetObjectListCommandInput} for command's `input` shape. - * @see {@link GetObjectListCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class GetObjectListCommand extends GetObjectListCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetObjectListInput; - output: GetObjectListOutput; - }; - sdk: { - input: GetObjectListCommandInput; - output: GetObjectListCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/GetRaftBucketsCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/GetRaftBucketsCommand.d.ts deleted file mode 100644 index 9b3862b3..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/GetRaftBucketsCommand.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { GetRaftBucketsInput, GetRaftBucketsOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetRaftBucketsCommand}. - */ -export interface GetRaftBucketsCommandInput extends GetRaftBucketsInput { -} -/** - * @public - * - * The output of {@link GetRaftBucketsCommand}. - */ -export interface GetRaftBucketsCommandOutput extends GetRaftBucketsOutput, __MetadataBearer { -} -declare const GetRaftBucketsCommand_base: { - new (input: GetRaftBucketsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetRaftBucketsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * Retrieves buckets associated with a specific Raft log ID - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetRaftBucketsCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetRaftBucketsCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetRaftBucketsInput - * LogId: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetRaftBucketsCommand(input); - * const response = await client.send(command); - * // { // GetRaftBucketsOutput - * // Buckets: "DOCUMENT_VALUE", - * // }; - * - * ``` - * - * @param GetRaftBucketsCommandInput - {@link GetRaftBucketsCommandInput} - * @returns {@link GetRaftBucketsCommandOutput} - * @see {@link GetRaftBucketsCommandInput} for command's `input` shape. - * @see {@link GetRaftBucketsCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class GetRaftBucketsCommand extends GetRaftBucketsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetRaftBucketsInput; - output: GetRaftBucketsOutput; - }; - sdk: { - input: GetRaftBucketsCommandInput; - output: GetRaftBucketsCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/GetRaftIdCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/GetRaftIdCommand.d.ts deleted file mode 100644 index eb3b1a4b..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/GetRaftIdCommand.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { GetRaftIdInput, GetRaftIdOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetRaftIdCommand}. - */ -export interface GetRaftIdCommandInput extends GetRaftIdInput { -} -/** - * @public - * - * The output of {@link GetRaftIdCommand}. - */ -export interface GetRaftIdCommandOutput extends GetRaftIdOutput, __MetadataBearer { -} -declare const GetRaftIdCommand_base: { - new (input: GetRaftIdCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetRaftIdCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetRaftIdCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetRaftIdCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetRaftIdInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetRaftIdCommand(input); - * const response = await client.send(command); - * // { // GetRaftIdOutput - * // RaftId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetRaftIdCommandInput - {@link GetRaftIdCommandInput} - * @returns {@link GetRaftIdCommandOutput} - * @see {@link GetRaftIdCommandInput} for command's `input` shape. - * @see {@link GetRaftIdCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class GetRaftIdCommand extends GetRaftIdCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetRaftIdInput; - output: GetRaftIdOutput; - }; - sdk: { - input: GetRaftIdCommandInput; - output: GetRaftIdCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/GetRaftLogCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/GetRaftLogCommand.d.ts deleted file mode 100644 index f8b4b611..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/GetRaftLogCommand.d.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { GetRaftLogInput, GetRaftLogOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { StreamingBlobPayloadOutputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetRaftLogCommand}. - */ -export interface GetRaftLogCommandInput extends GetRaftLogInput { -} -/** - * @public - * - * The output of {@link GetRaftLogCommand}. - */ -export interface GetRaftLogCommandOutput extends Omit, __MetadataBearer { - Body: StreamingBlobPayloadOutputTypes; -} -declare const GetRaftLogCommand_base: { - new (input: GetRaftLogCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetRaftLogCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * Retrieves Raft log entries for a specific log ID - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetRaftLogCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetRaftLogCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetRaftLogInput - * LogId: "STRING_VALUE", // required - * Begin: Number("int"), - * Limit: Number("int"), - * TargetLeader: true || false, - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetRaftLogCommand(input); - * const response = await client.send(command); - * // consume or destroy the stream to free the socket. - * const bytes = await response.Body.transformToByteArray(); - * // const str = await response.Body.transformToString(); - * // response.Body.destroy(); // only applicable to Node.js Readable streams. - * - * // { // GetRaftLogOutput - * // Body: "", // see \@smithy/types -> StreamingBlobPayloadOutputTypes // required - * // Start: Number("int"), - * // Cseq: Number("int"), - * // Prune: Number("int"), - * // }; - * - * ``` - * - * @param GetRaftLogCommandInput - {@link GetRaftLogCommandInput} - * @returns {@link GetRaftLogCommandOutput} - * @see {@link GetRaftLogCommandInput} for command's `input` shape. - * @see {@link GetRaftLogCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class GetRaftLogCommand extends GetRaftLogCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetRaftLogInput; - output: GetRaftLogOutput; - }; - sdk: { - input: GetRaftLogCommandInput; - output: GetRaftLogCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/ListLifecycleCurrentsCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/ListLifecycleCurrentsCommand.d.ts deleted file mode 100644 index 05ee49f1..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/ListLifecycleCurrentsCommand.d.ts +++ /dev/null @@ -1,108 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { ListLifecycleCurrentsInput, ListLifecycleCurrentsOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListLifecycleCurrentsCommand}. - */ -export interface ListLifecycleCurrentsCommandInput extends ListLifecycleCurrentsInput { -} -/** - * @public - * - * The output of {@link ListLifecycleCurrentsCommand}. - */ -export interface ListLifecycleCurrentsCommandOutput extends ListLifecycleCurrentsOutput, __MetadataBearer { -} -declare const ListLifecycleCurrentsCommand_base: { - new (input: ListLifecycleCurrentsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: ListLifecycleCurrentsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * List lifecycle current objects operation - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, ListLifecycleCurrentsCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, ListLifecycleCurrentsCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // ListLifecycleCurrentsInput - * Bucket: "STRING_VALUE", // required - * BeforeDate: "STRING_VALUE", - * ExcludedDataStoreName: "STRING_VALUE", - * EncodingType: "STRING_VALUE", - * Marker: "STRING_VALUE", - * MaxKeys: Number("int"), - * Prefix: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new ListLifecycleCurrentsCommand(input); - * const response = await client.send(command); - * // { // ListLifecycleCurrentsOutput - * // BeforeDate: "STRING_VALUE", - * // Marker: "STRING_VALUE", - * // IsTruncated: true || false, - * // NextMarker: "STRING_VALUE", - * // Contents: [ // ObjectLifecycleList - * // { // ObjectLifecycle - * // Key: "STRING_VALUE", - * // LastModified: "STRING_VALUE", - * // ETag: "STRING_VALUE", - * // Owner: { // Owner - * // DisplayName: "STRING_VALUE", - * // ID: "STRING_VALUE", - * // }, - * // Size: Number("int"), - * // StorageClass: "STRING_VALUE", - * // TagSet: [ // TagSet - * // { // Tag - * // Key: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required - * // }, - * // ], - * // staleDate: "STRING_VALUE", - * // VersionId: "STRING_VALUE", - * // DataStoreName: "STRING_VALUE", - * // ListType: "STRING_VALUE", - * // }, - * // ], - * // Name: "STRING_VALUE", - * // Prefix: "STRING_VALUE", - * // MaxKeys: Number("int"), - * // }; - * - * ``` - * - * @param ListLifecycleCurrentsCommandInput - {@link ListLifecycleCurrentsCommandInput} - * @returns {@link ListLifecycleCurrentsCommandOutput} - * @see {@link ListLifecycleCurrentsCommandInput} for command's `input` shape. - * @see {@link ListLifecycleCurrentsCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class ListLifecycleCurrentsCommand extends ListLifecycleCurrentsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ListLifecycleCurrentsInput; - output: ListLifecycleCurrentsOutput; - }; - sdk: { - input: ListLifecycleCurrentsCommandInput; - output: ListLifecycleCurrentsCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/ListLifecycleNonCurrentsCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/ListLifecycleNonCurrentsCommand.d.ts deleted file mode 100644 index 8436e756..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/ListLifecycleNonCurrentsCommand.d.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { ListLifecycleNonCurrentsInput, ListLifecycleNonCurrentsOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListLifecycleNonCurrentsCommand}. - */ -export interface ListLifecycleNonCurrentsCommandInput extends ListLifecycleNonCurrentsInput { -} -/** - * @public - * - * The output of {@link ListLifecycleNonCurrentsCommand}. - */ -export interface ListLifecycleNonCurrentsCommandOutput extends ListLifecycleNonCurrentsOutput, __MetadataBearer { -} -declare const ListLifecycleNonCurrentsCommand_base: { - new (input: ListLifecycleNonCurrentsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: ListLifecycleNonCurrentsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * List lifecycle non-current objects operation - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, ListLifecycleNonCurrentsCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, ListLifecycleNonCurrentsCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // ListLifecycleNonCurrentsInput - * Bucket: "STRING_VALUE", // required - * BeforeDate: "STRING_VALUE", - * ExcludedDataStoreName: "STRING_VALUE", - * EncodingType: "STRING_VALUE", - * KeyMarker: "STRING_VALUE", - * VersionIdMarker: "STRING_VALUE", - * MaxKeys: Number("int"), - * Prefix: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new ListLifecycleNonCurrentsCommand(input); - * const response = await client.send(command); - * // { // ListLifecycleNonCurrentsOutput - * // BeforeDate: "STRING_VALUE", - * // KeyMarker: "STRING_VALUE", - * // VersionIdMarker: "STRING_VALUE", - * // IsTruncated: true || false, - * // NextKeyMarker: "STRING_VALUE", - * // NextVersionIdMarker: "STRING_VALUE", - * // Contents: [ // ObjectLifecycleList - * // { // ObjectLifecycle - * // Key: "STRING_VALUE", - * // LastModified: "STRING_VALUE", - * // ETag: "STRING_VALUE", - * // Owner: { // Owner - * // DisplayName: "STRING_VALUE", - * // ID: "STRING_VALUE", - * // }, - * // Size: Number("int"), - * // StorageClass: "STRING_VALUE", - * // TagSet: [ // TagSet - * // { // Tag - * // Key: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required - * // }, - * // ], - * // staleDate: "STRING_VALUE", - * // VersionId: "STRING_VALUE", - * // DataStoreName: "STRING_VALUE", - * // ListType: "STRING_VALUE", - * // }, - * // ], - * // Name: "STRING_VALUE", - * // Prefix: "STRING_VALUE", - * // MaxKeys: Number("int"), - * // }; - * - * ``` - * - * @param ListLifecycleNonCurrentsCommandInput - {@link ListLifecycleNonCurrentsCommandInput} - * @returns {@link ListLifecycleNonCurrentsCommandOutput} - * @see {@link ListLifecycleNonCurrentsCommandInput} for command's `input` shape. - * @see {@link ListLifecycleNonCurrentsCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class ListLifecycleNonCurrentsCommand extends ListLifecycleNonCurrentsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ListLifecycleNonCurrentsInput; - output: ListLifecycleNonCurrentsOutput; - }; - sdk: { - input: ListLifecycleNonCurrentsCommandInput; - output: ListLifecycleNonCurrentsCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/ListLifecycleOrphansCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/ListLifecycleOrphansCommand.d.ts deleted file mode 100644 index 4dc2743e..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/ListLifecycleOrphansCommand.d.ts +++ /dev/null @@ -1,108 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { ListLifecycleOrphansInput, ListLifecycleOrphansOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListLifecycleOrphansCommand}. - */ -export interface ListLifecycleOrphansCommandInput extends ListLifecycleOrphansInput { -} -/** - * @public - * - * The output of {@link ListLifecycleOrphansCommand}. - */ -export interface ListLifecycleOrphansCommandOutput extends ListLifecycleOrphansOutput, __MetadataBearer { -} -declare const ListLifecycleOrphansCommand_base: { - new (input: ListLifecycleOrphansCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: ListLifecycleOrphansCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * List lifecycle orphan objects operation - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, ListLifecycleOrphansCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, ListLifecycleOrphansCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // ListLifecycleOrphansInput - * Bucket: "STRING_VALUE", // required - * BeforeDate: "STRING_VALUE", - * ExcludedDataStoreName: "STRING_VALUE", - * EncodingType: "STRING_VALUE", - * Marker: "STRING_VALUE", - * MaxKeys: Number("int"), - * Prefix: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new ListLifecycleOrphansCommand(input); - * const response = await client.send(command); - * // { // ListLifecycleOrphansOutput - * // BeforeDate: "STRING_VALUE", - * // Marker: "STRING_VALUE", - * // IsTruncated: true || false, - * // NextMarker: "STRING_VALUE", - * // Contents: [ // ObjectLifecycleList - * // { // ObjectLifecycle - * // Key: "STRING_VALUE", - * // LastModified: "STRING_VALUE", - * // ETag: "STRING_VALUE", - * // Owner: { // Owner - * // DisplayName: "STRING_VALUE", - * // ID: "STRING_VALUE", - * // }, - * // Size: Number("int"), - * // StorageClass: "STRING_VALUE", - * // TagSet: [ // TagSet - * // { // Tag - * // Key: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required - * // }, - * // ], - * // staleDate: "STRING_VALUE", - * // VersionId: "STRING_VALUE", - * // DataStoreName: "STRING_VALUE", - * // ListType: "STRING_VALUE", - * // }, - * // ], - * // Name: "STRING_VALUE", - * // Prefix: "STRING_VALUE", - * // MaxKeys: Number("int"), - * // }; - * - * ``` - * - * @param ListLifecycleOrphansCommandInput - {@link ListLifecycleOrphansCommandInput} - * @returns {@link ListLifecycleOrphansCommandOutput} - * @see {@link ListLifecycleOrphansCommandInput} for command's `input` shape. - * @see {@link ListLifecycleOrphansCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class ListLifecycleOrphansCommand extends ListLifecycleOrphansCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ListLifecycleOrphansInput; - output: ListLifecycleOrphansOutput; - }; - sdk: { - input: ListLifecycleOrphansCommandInput; - output: ListLifecycleOrphansCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendAbortMPUCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendAbortMPUCommand.d.ts deleted file mode 100644 index af0dc5f4..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendAbortMPUCommand.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { MultipleBackendAbortMPUInput, MultipleBackendAbortMPUOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link MultipleBackendAbortMPUCommand}. - */ -export interface MultipleBackendAbortMPUCommandInput extends MultipleBackendAbortMPUInput { -} -/** - * @public - * - * The output of {@link MultipleBackendAbortMPUCommand}. - */ -export interface MultipleBackendAbortMPUCommandOutput extends MultipleBackendAbortMPUOutput, __MetadataBearer { -} -declare const MultipleBackendAbortMPUCommand_base: { - new (input: MultipleBackendAbortMPUCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: MultipleBackendAbortMPUCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * Aborts a multipart upload for multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendAbortMPUCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendAbortMPUCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendAbortMPUInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * UploadId: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new MultipleBackendAbortMPUCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param MultipleBackendAbortMPUCommandInput - {@link MultipleBackendAbortMPUCommandInput} - * @returns {@link MultipleBackendAbortMPUCommandOutput} - * @see {@link MultipleBackendAbortMPUCommandInput} for command's `input` shape. - * @see {@link MultipleBackendAbortMPUCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class MultipleBackendAbortMPUCommand extends MultipleBackendAbortMPUCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: MultipleBackendAbortMPUInput; - output: {}; - }; - sdk: { - input: MultipleBackendAbortMPUCommandInput; - output: MultipleBackendAbortMPUCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendCompleteMPUCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendCompleteMPUCommand.d.ts deleted file mode 100644 index cb197836..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendCompleteMPUCommand.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { MultipleBackendCompleteMPUInput, MultipleBackendCompleteMPUOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type MultipleBackendCompleteMPUCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; -/** - * @public - * - * The input for {@link MultipleBackendCompleteMPUCommand}. - */ -export interface MultipleBackendCompleteMPUCommandInput extends MultipleBackendCompleteMPUCommandInputType { -} -/** - * @public - * - * The output of {@link MultipleBackendCompleteMPUCommand}. - */ -export interface MultipleBackendCompleteMPUCommandOutput extends MultipleBackendCompleteMPUOutput, __MetadataBearer { -} -declare const MultipleBackendCompleteMPUCommand_base: { - new (input: MultipleBackendCompleteMPUCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: MultipleBackendCompleteMPUCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * Completes a multipart upload for multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendCompleteMPUCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendCompleteMPUCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendCompleteMPUInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * VersionId: "STRING_VALUE", - * ContentType: "STRING_VALUE", - * UserMetaData: "STRING_VALUE", - * CacheControl: "STRING_VALUE", - * ContentDisposition: "STRING_VALUE", - * ContentEncoding: "STRING_VALUE", - * UploadId: "STRING_VALUE", - * Tags: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new MultipleBackendCompleteMPUCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendCompleteMPUOutput - * // versionId: "STRING_VALUE", - * // location: [ // LocationMDList - * // { // LocationMDObj - * // key: "STRING_VALUE", - * // size: Number("int"), - * // start: Number("int"), - * // dataStoreName: "STRING_VALUE", - * // dataStoreType: "STRING_VALUE", - * // dataStoreETag: "STRING_VALUE", - * // dataStoreVersionId: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param MultipleBackendCompleteMPUCommandInput - {@link MultipleBackendCompleteMPUCommandInput} - * @returns {@link MultipleBackendCompleteMPUCommandOutput} - * @see {@link MultipleBackendCompleteMPUCommandInput} for command's `input` shape. - * @see {@link MultipleBackendCompleteMPUCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class MultipleBackendCompleteMPUCommand extends MultipleBackendCompleteMPUCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: MultipleBackendCompleteMPUInput; - output: MultipleBackendCompleteMPUOutput; - }; - sdk: { - input: MultipleBackendCompleteMPUCommandInput; - output: MultipleBackendCompleteMPUCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendDeleteObjectCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendDeleteObjectCommand.d.ts deleted file mode 100644 index f3779202..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendDeleteObjectCommand.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { MultipleBackendDeleteObjectInput, MultipleBackendDeleteObjectOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link MultipleBackendDeleteObjectCommand}. - */ -export interface MultipleBackendDeleteObjectCommandInput extends MultipleBackendDeleteObjectInput { -} -/** - * @public - * - * The output of {@link MultipleBackendDeleteObjectCommand}. - */ -export interface MultipleBackendDeleteObjectCommandOutput extends MultipleBackendDeleteObjectOutput, __MetadataBearer { -} -declare const MultipleBackendDeleteObjectCommand_base: { - new (input: MultipleBackendDeleteObjectCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: MultipleBackendDeleteObjectCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendDeleteObjectCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendDeleteObjectCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendDeleteObjectInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new MultipleBackendDeleteObjectCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendDeleteObjectOutput - * // versionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param MultipleBackendDeleteObjectCommandInput - {@link MultipleBackendDeleteObjectCommandInput} - * @returns {@link MultipleBackendDeleteObjectCommandOutput} - * @see {@link MultipleBackendDeleteObjectCommandInput} for command's `input` shape. - * @see {@link MultipleBackendDeleteObjectCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class MultipleBackendDeleteObjectCommand extends MultipleBackendDeleteObjectCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: MultipleBackendDeleteObjectInput; - output: MultipleBackendDeleteObjectOutput; - }; - sdk: { - input: MultipleBackendDeleteObjectCommandInput; - output: MultipleBackendDeleteObjectCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendDeleteObjectTaggingCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendDeleteObjectTaggingCommand.d.ts deleted file mode 100644 index 0dc6bca7..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendDeleteObjectTaggingCommand.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { MultipleBackendDeleteObjectTaggingInput, MultipleBackendDeleteObjectTaggingOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type MultipleBackendDeleteObjectTaggingCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; -/** - * @public - * - * The input for {@link MultipleBackendDeleteObjectTaggingCommand}. - */ -export interface MultipleBackendDeleteObjectTaggingCommandInput extends MultipleBackendDeleteObjectTaggingCommandInputType { -} -/** - * @public - * - * The output of {@link MultipleBackendDeleteObjectTaggingCommand}. - */ -export interface MultipleBackendDeleteObjectTaggingCommandOutput extends MultipleBackendDeleteObjectTaggingOutput, __MetadataBearer { -} -declare const MultipleBackendDeleteObjectTaggingCommand_base: { - new (input: MultipleBackendDeleteObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: MultipleBackendDeleteObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * Removes tags from an object in multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendDeleteObjectTaggingCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendDeleteObjectTaggingCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendDeleteObjectTaggingInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageClass: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * DataStoreVersionId: "STRING_VALUE", - * SourceBucket: "STRING_VALUE", - * SourceVersionId: "STRING_VALUE", - * ReplicationEndpointSite: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new MultipleBackendDeleteObjectTaggingCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendDeleteObjectTaggingOutput - * // versionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param MultipleBackendDeleteObjectTaggingCommandInput - {@link MultipleBackendDeleteObjectTaggingCommandInput} - * @returns {@link MultipleBackendDeleteObjectTaggingCommandOutput} - * @see {@link MultipleBackendDeleteObjectTaggingCommandInput} for command's `input` shape. - * @see {@link MultipleBackendDeleteObjectTaggingCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class MultipleBackendDeleteObjectTaggingCommand extends MultipleBackendDeleteObjectTaggingCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: MultipleBackendDeleteObjectTaggingInput; - output: MultipleBackendDeleteObjectTaggingOutput; - }; - sdk: { - input: MultipleBackendDeleteObjectTaggingCommandInput; - output: MultipleBackendDeleteObjectTaggingCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendHeadObjectCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendHeadObjectCommand.d.ts deleted file mode 100644 index c99aab8e..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendHeadObjectCommand.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { MultipleBackendHeadObjectInput, MultipleBackendHeadObjectOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link MultipleBackendHeadObjectCommand}. - */ -export interface MultipleBackendHeadObjectCommandInput extends MultipleBackendHeadObjectInput { -} -/** - * @public - * - * The output of {@link MultipleBackendHeadObjectCommand}. - */ -export interface MultipleBackendHeadObjectCommandOutput extends MultipleBackendHeadObjectOutput, __MetadataBearer { -} -declare const MultipleBackendHeadObjectCommand_base: { - new (input: MultipleBackendHeadObjectCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: MultipleBackendHeadObjectCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * Retrieves metadata for an object from multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendHeadObjectCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendHeadObjectCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendHeadObjectInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * Locations: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new MultipleBackendHeadObjectCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendHeadObjectOutput - * // lastModified: "STRING_VALUE", - * // }; - * - * ``` - * - * @param MultipleBackendHeadObjectCommandInput - {@link MultipleBackendHeadObjectCommandInput} - * @returns {@link MultipleBackendHeadObjectCommandOutput} - * @see {@link MultipleBackendHeadObjectCommandInput} for command's `input` shape. - * @see {@link MultipleBackendHeadObjectCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class MultipleBackendHeadObjectCommand extends MultipleBackendHeadObjectCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: MultipleBackendHeadObjectInput; - output: MultipleBackendHeadObjectOutput; - }; - sdk: { - input: MultipleBackendHeadObjectCommandInput; - output: MultipleBackendHeadObjectCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendInitiateMPUCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendInitiateMPUCommand.d.ts deleted file mode 100644 index 046a5d5e..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendInitiateMPUCommand.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { MultipleBackendInitiateMPUInput, MultipleBackendInitiateMPUOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type MultipleBackendInitiateMPUCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; -/** - * @public - * - * The input for {@link MultipleBackendInitiateMPUCommand}. - */ -export interface MultipleBackendInitiateMPUCommandInput extends MultipleBackendInitiateMPUCommandInputType { -} -/** - * @public - * - * The output of {@link MultipleBackendInitiateMPUCommand}. - */ -export interface MultipleBackendInitiateMPUCommandOutput extends MultipleBackendInitiateMPUOutput, __MetadataBearer { -} -declare const MultipleBackendInitiateMPUCommand_base: { - new (input: MultipleBackendInitiateMPUCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: MultipleBackendInitiateMPUCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * Initiates a multipart upload for multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendInitiateMPUCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendInitiateMPUCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendInitiateMPUInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageClass: "STRING_VALUE", // required - * VersionId: "STRING_VALUE", - * StorageType: "STRING_VALUE", - * ContentType: "STRING_VALUE", - * UserMetaData: "STRING_VALUE", - * CacheControl: "STRING_VALUE", - * ContentDisposition: "STRING_VALUE", - * ContentEncoding: "STRING_VALUE", - * Tags: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new MultipleBackendInitiateMPUCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendInitiateMPUOutput - * // uploadId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param MultipleBackendInitiateMPUCommandInput - {@link MultipleBackendInitiateMPUCommandInput} - * @returns {@link MultipleBackendInitiateMPUCommandOutput} - * @see {@link MultipleBackendInitiateMPUCommandInput} for command's `input` shape. - * @see {@link MultipleBackendInitiateMPUCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class MultipleBackendInitiateMPUCommand extends MultipleBackendInitiateMPUCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: MultipleBackendInitiateMPUInput; - output: MultipleBackendInitiateMPUOutput; - }; - sdk: { - input: MultipleBackendInitiateMPUCommandInput; - output: MultipleBackendInitiateMPUCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendPutMPUPartCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendPutMPUPartCommand.d.ts deleted file mode 100644 index e773a30c..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendPutMPUPartCommand.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { MultipleBackendPutMPUPartInput, MultipleBackendPutMPUPartOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { StreamingBlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link MultipleBackendPutMPUPartCommand}. - */ -export interface MultipleBackendPutMPUPartCommandInput extends Omit { - Body: StreamingBlobPayloadInputTypes; -} -/** - * @public - * - * The output of {@link MultipleBackendPutMPUPartCommand}. - */ -export interface MultipleBackendPutMPUPartCommandOutput extends MultipleBackendPutMPUPartOutput, __MetadataBearer { -} -declare const MultipleBackendPutMPUPartCommand_base: { - new (input: MultipleBackendPutMPUPartCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: MultipleBackendPutMPUPartCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * Uploads a part for a multipart upload to multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendPutMPUPartCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendPutMPUPartCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendPutMPUPartInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * PartNumber: Number("int"), - * UploadId: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes // required - * }; - * const command = new MultipleBackendPutMPUPartCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendPutMPUPartOutput - * // partNumber: "STRING_VALUE", - * // ETag: "STRING_VALUE", - * // numberSubParts: Number("int"), - * // }; - * - * ``` - * - * @param MultipleBackendPutMPUPartCommandInput - {@link MultipleBackendPutMPUPartCommandInput} - * @returns {@link MultipleBackendPutMPUPartCommandOutput} - * @see {@link MultipleBackendPutMPUPartCommandInput} for command's `input` shape. - * @see {@link MultipleBackendPutMPUPartCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class MultipleBackendPutMPUPartCommand extends MultipleBackendPutMPUPartCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: MultipleBackendPutMPUPartInput; - output: MultipleBackendPutMPUPartOutput; - }; - sdk: { - input: MultipleBackendPutMPUPartCommandInput; - output: MultipleBackendPutMPUPartCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendPutObjectCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendPutObjectCommand.d.ts deleted file mode 100644 index 56bd63e6..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendPutObjectCommand.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { MultipleBackendPutObjectInput, MultipleBackendPutObjectOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { StreamingBlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link MultipleBackendPutObjectCommand}. - */ -export interface MultipleBackendPutObjectCommandInput extends Omit { - Body?: StreamingBlobPayloadInputTypes; -} -/** - * @public - * - * The output of {@link MultipleBackendPutObjectCommand}. - */ -export interface MultipleBackendPutObjectCommandOutput extends MultipleBackendPutObjectOutput, __MetadataBearer { -} -declare const MultipleBackendPutObjectCommand_base: { - new (input: MultipleBackendPutObjectCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: MultipleBackendPutObjectCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendPutObjectCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendPutObjectCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendPutObjectInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * ContentMD5: "STRING_VALUE", - * ContentType: "STRING_VALUE", - * UserMetaData: "STRING_VALUE", - * CacheControl: "STRING_VALUE", - * ContentDisposition: "STRING_VALUE", - * ContentEncoding: "STRING_VALUE", - * CanonicalID: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * VersionId: "STRING_VALUE", - * Tags: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes - * }; - * const command = new MultipleBackendPutObjectCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendPutObjectOutput - * // versionId: "STRING_VALUE", - * // location: [ // LocationMDList - * // { // LocationMDObj - * // key: "STRING_VALUE", - * // size: Number("int"), - * // start: Number("int"), - * // dataStoreName: "STRING_VALUE", - * // dataStoreType: "STRING_VALUE", - * // dataStoreETag: "STRING_VALUE", - * // dataStoreVersionId: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param MultipleBackendPutObjectCommandInput - {@link MultipleBackendPutObjectCommandInput} - * @returns {@link MultipleBackendPutObjectCommandOutput} - * @see {@link MultipleBackendPutObjectCommandInput} for command's `input` shape. - * @see {@link MultipleBackendPutObjectCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class MultipleBackendPutObjectCommand extends MultipleBackendPutObjectCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: MultipleBackendPutObjectInput; - output: MultipleBackendPutObjectOutput; - }; - sdk: { - input: MultipleBackendPutObjectCommandInput; - output: MultipleBackendPutObjectCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendPutObjectTaggingCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendPutObjectTaggingCommand.d.ts deleted file mode 100644 index 5b2309ad..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/MultipleBackendPutObjectTaggingCommand.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { MultipleBackendPutObjectTaggingInput, MultipleBackendPutObjectTaggingOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type MultipleBackendPutObjectTaggingCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; -/** - * @public - * - * The input for {@link MultipleBackendPutObjectTaggingCommand}. - */ -export interface MultipleBackendPutObjectTaggingCommandInput extends MultipleBackendPutObjectTaggingCommandInputType { -} -/** - * @public - * - * The output of {@link MultipleBackendPutObjectTaggingCommand}. - */ -export interface MultipleBackendPutObjectTaggingCommandOutput extends MultipleBackendPutObjectTaggingOutput, __MetadataBearer { -} -declare const MultipleBackendPutObjectTaggingCommand_base: { - new (input: MultipleBackendPutObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: MultipleBackendPutObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * Adds or updates tags for an object in multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendPutObjectTaggingCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendPutObjectTaggingCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendPutObjectTaggingInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * DataStoreVersionId: "STRING_VALUE", - * Tags: "STRING_VALUE", - * SourceBucket: "STRING_VALUE", - * SourceVersionId: "STRING_VALUE", - * ReplicationEndpointSite: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new MultipleBackendPutObjectTaggingCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendPutObjectTaggingOutput - * // versionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param MultipleBackendPutObjectTaggingCommandInput - {@link MultipleBackendPutObjectTaggingCommandInput} - * @returns {@link MultipleBackendPutObjectTaggingCommandOutput} - * @see {@link MultipleBackendPutObjectTaggingCommandInput} for command's `input` shape. - * @see {@link MultipleBackendPutObjectTaggingCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export declare class MultipleBackendPutObjectTaggingCommand extends MultipleBackendPutObjectTaggingCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: MultipleBackendPutObjectTaggingInput; - output: MultipleBackendPutObjectTaggingOutput; - }; - sdk: { - input: MultipleBackendPutObjectTaggingCommandInput; - output: MultipleBackendPutObjectTaggingCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/PutBucketIndexesCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/PutBucketIndexesCommand.d.ts deleted file mode 100644 index 26a3559e..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/PutBucketIndexesCommand.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { PutBucketIndexesInput, PutBucketIndexesOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type PutBucketIndexesCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; -/** - * @public - * - * The input for {@link PutBucketIndexesCommand}. - */ -export interface PutBucketIndexesCommandInput extends PutBucketIndexesCommandInputType { -} -/** - * @public - * - * The output of {@link PutBucketIndexesCommand}. - */ -export interface PutBucketIndexesCommandOutput extends PutBucketIndexesOutput, __MetadataBearer { -} -declare const PutBucketIndexesCommand_base: { - new (input: PutBucketIndexesCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: PutBucketIndexesCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, PutBucketIndexesCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, PutBucketIndexesCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // PutBucketIndexesInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new PutBucketIndexesCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param PutBucketIndexesCommandInput - {@link PutBucketIndexesCommandInput} - * @returns {@link PutBucketIndexesCommandOutput} - * @see {@link PutBucketIndexesCommandInput} for command's `input` shape. - * @see {@link PutBucketIndexesCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class PutBucketIndexesCommand extends PutBucketIndexesCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: PutBucketIndexesInput; - output: {}; - }; - sdk: { - input: PutBucketIndexesCommandInput; - output: PutBucketIndexesCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/PutDataCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/PutDataCommand.d.ts deleted file mode 100644 index 04ccdb0f..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/PutDataCommand.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { PutDataInput, PutDataOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { StreamingBlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutDataCommand}. - */ -export interface PutDataCommandInput extends Omit { - Body?: StreamingBlobPayloadInputTypes; -} -/** - * @public - * - * The output of {@link PutDataCommand}. - */ -export interface PutDataCommandOutput extends PutDataOutput, __MetadataBearer { -} -declare const PutDataCommand_base: { - new (input: PutDataCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: PutDataCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, PutDataCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, PutDataCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // PutDataInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * ContentMD5: "STRING_VALUE", - * CanonicalID: "STRING_VALUE", - * VersioningRequired: true || false, - * RequestUids: "STRING_VALUE", - * Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes - * }; - * const command = new PutDataCommand(input); - * const response = await client.send(command); - * // { // PutDataOutput - * // Location: "DOCUMENT_VALUE", - * // ServerSideEncryption: "STRING_VALUE", - * // SSECustomerAlgorithm: "STRING_VALUE", - * // SSEKMSKeyId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param PutDataCommandInput - {@link PutDataCommandInput} - * @returns {@link PutDataCommandOutput} - * @see {@link PutDataCommandInput} for command's `input` shape. - * @see {@link PutDataCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class PutDataCommand extends PutDataCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: PutDataInput; - output: PutDataOutput; - }; - sdk: { - input: PutDataCommandInput; - output: PutDataCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/PutMetadataCommand.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/PutMetadataCommand.d.ts deleted file mode 100644 index 6924d5a2..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/PutMetadataCommand.d.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { CloudserverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudserverClient"; -import { PutMetadataInput, PutMetadataOutput } from "../models/models_0"; -import { Command as $Command } from "@smithy/smithy-client"; -import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type PutMetadataCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; -/** - * @public - * - * The input for {@link PutMetadataCommand}. - */ -export interface PutMetadataCommandInput extends PutMetadataCommandInputType { -} -/** - * @public - * - * The output of {@link PutMetadataCommand}. - */ -export interface PutMetadataCommandOutput extends PutMetadataOutput, __MetadataBearer { -} -declare const PutMetadataCommand_base: { - new (input: PutMetadataCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: PutMetadataCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, PutMetadataCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, PutMetadataCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // PutMetadataInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * VersionId: "STRING_VALUE", - * AccountId: "STRING_VALUE", - * ContentMD5: "STRING_VALUE", - * ReplicationContent: "STRING_VALUE", - * VersioningRequired: true || false, - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new PutMetadataCommand(input); - * const response = await client.send(command); - * // { // PutMetadataOutput - * // versionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param PutMetadataCommandInput - {@link PutMetadataCommandInput} - * @returns {@link PutMetadataCommandOutput} - * @see {@link PutMetadataCommandInput} for command's `input` shape. - * @see {@link PutMetadataCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export declare class PutMetadataCommand extends PutMetadataCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: PutMetadataInput; - output: PutMetadataOutput; - }; - sdk: { - input: PutMetadataCommandInput; - output: PutMetadataCommandOutput; - }; - }; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/commands/index.d.ts b/build/smithy/source/typescript-codegen/dist-types/commands/index.d.ts deleted file mode 100644 index 334943b6..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/commands/index.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -export * from "./BatchDeleteCommand"; -export * from "./DeleteBucketIndexesCommand"; -export * from "./DeleteObjectFromExpirationCommand"; -export * from "./GetBucketCseqCommand"; -export * from "./GetBucketIndexesCommand"; -export * from "./GetBucketMetadataCommand"; -export * from "./GetMetadataCommand"; -export * from "./GetObjectCommand"; -export * from "./GetObjectListCommand"; -export * from "./GetRaftBucketsCommand"; -export * from "./GetRaftIdCommand"; -export * from "./GetRaftLogCommand"; -export * from "./ListLifecycleCurrentsCommand"; -export * from "./ListLifecycleNonCurrentsCommand"; -export * from "./ListLifecycleOrphansCommand"; -export * from "./MultipleBackendAbortMPUCommand"; -export * from "./MultipleBackendCompleteMPUCommand"; -export * from "./MultipleBackendDeleteObjectCommand"; -export * from "./MultipleBackendDeleteObjectTaggingCommand"; -export * from "./MultipleBackendHeadObjectCommand"; -export * from "./MultipleBackendInitiateMPUCommand"; -export * from "./MultipleBackendPutMPUPartCommand"; -export * from "./MultipleBackendPutObjectCommand"; -export * from "./MultipleBackendPutObjectTaggingCommand"; -export * from "./PutBucketIndexesCommand"; -export * from "./PutDataCommand"; -export * from "./PutMetadataCommand"; diff --git a/build/smithy/source/typescript-codegen/dist-types/endpoint/EndpointParameters.d.ts b/build/smithy/source/typescript-codegen/dist-types/endpoint/EndpointParameters.d.ts deleted file mode 100644 index 3b733344..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/endpoint/EndpointParameters.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Endpoint, EndpointV2, Provider, EndpointParameters as __EndpointParameters } from "@smithy/types"; -/** - * @public - */ -export interface ClientInputEndpointParameters { - region?: string | undefined | Provider; - useDualstackEndpoint?: boolean | undefined | Provider; - useFipsEndpoint?: boolean | undefined | Provider; - endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; -} -export type ClientResolvedEndpointParameters = Omit & { - defaultSigningName: string; -}; -export declare const resolveClientEndpointParameters: (options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters; -export declare const commonParams: { - readonly UseFIPS: { - readonly type: "builtInParams"; - readonly name: "useFipsEndpoint"; - }; - readonly Endpoint: { - readonly type: "builtInParams"; - readonly name: "endpoint"; - }; - readonly Region: { - readonly type: "builtInParams"; - readonly name: "region"; - }; - readonly UseDualStack: { - readonly type: "builtInParams"; - readonly name: "useDualstackEndpoint"; - }; -}; -export interface EndpointParameters extends __EndpointParameters { - Region?: string | undefined; - UseDualStack?: boolean | undefined; - UseFIPS?: boolean | undefined; - Endpoint?: string | undefined; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/endpoint/endpointResolver.d.ts b/build/smithy/source/typescript-codegen/dist-types/endpoint/endpointResolver.d.ts deleted file mode 100644 index 611c85e0..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/endpoint/endpointResolver.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { EndpointParameters } from "./EndpointParameters"; -import { EndpointV2, Logger } from "@smithy/types"; -export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: { - logger?: Logger; -}) => EndpointV2; diff --git a/build/smithy/source/typescript-codegen/dist-types/endpoint/ruleset.d.ts b/build/smithy/source/typescript-codegen/dist-types/endpoint/ruleset.d.ts deleted file mode 100644 index 4b238994..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/endpoint/ruleset.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { RuleSetObject } from "@smithy/types"; -export declare const ruleSet: RuleSetObject; diff --git a/build/smithy/source/typescript-codegen/dist-types/extensionConfiguration.d.ts b/build/smithy/source/typescript-codegen/dist-types/extensionConfiguration.d.ts deleted file mode 100644 index 4bb9e747..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/extensionConfiguration.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; -import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; -import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; -import { DefaultExtensionConfiguration } from "@smithy/types"; -/** - * @internal - */ -export interface CloudserverExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration { -} diff --git a/build/smithy/source/typescript-codegen/dist-types/index.d.ts b/build/smithy/source/typescript-codegen/dist-types/index.d.ts deleted file mode 100644 index 084971ae..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export * from "./CloudserverClient"; -export * from "./Cloudserver"; -export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; -export type { RuntimeExtension } from "./runtimeExtensions"; -export type { CloudserverExtensionConfiguration } from "./extensionConfiguration"; -export * from "./commands"; -export * from "./models"; -export { CloudserverServiceException } from "./models/CloudserverServiceException"; diff --git a/build/smithy/source/typescript-codegen/dist-types/models/CloudserverServiceException.d.ts b/build/smithy/source/typescript-codegen/dist-types/models/CloudserverServiceException.d.ts deleted file mode 100644 index 1982636a..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/models/CloudserverServiceException.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client"; -export type { __ServiceExceptionOptions }; -export { __ServiceException }; -/** - * @public - * - * Base exception class for all service exceptions from Cloudserver service. - */ -export declare class CloudserverServiceException extends __ServiceException { - /** - * @internal - */ - constructor(options: __ServiceExceptionOptions); -} diff --git a/build/smithy/source/typescript-codegen/dist-types/models/index.d.ts b/build/smithy/source/typescript-codegen/dist-types/models/index.d.ts deleted file mode 100644 index 09c5d6e0..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/models/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./models_0"; diff --git a/build/smithy/source/typescript-codegen/dist-types/models/models_0.d.ts b/build/smithy/source/typescript-codegen/dist-types/models/models_0.d.ts deleted file mode 100644 index cac09cc1..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/models/models_0.d.ts +++ /dev/null @@ -1,1211 +0,0 @@ -import { StreamingBlobTypes, DocumentType as __DocumentType } from "@smithy/types"; -/** - * @public - */ -export interface AclObj { - /** - * Canned ACL setting - * @public - */ - Canned?: string | undefined; - /** - * List of users with FULL_CONTROL permission - * @public - */ - FULL_CONTROL?: (string)[] | undefined; - /** - * List of users with WRITE permission - * @public - */ - WRITE?: (string)[] | undefined; - /** - * List of users with WRITE_ACP permission - * @public - */ - WRITE_ACP?: (string)[] | undefined; - /** - * List of users with READ permission - * @public - */ - READ?: (string)[] | undefined; - /** - * List of users with READ_ACP permission - * @public - */ - READ_ACP?: (string)[] | undefined; -} -/** - * @public - */ -export interface BatchDeleteLocation { - /** - * The data store name where the object is stored - * @public - */ - dataStoreName?: string | undefined; - /** - * The storage key for the object - * @public - */ - key?: string | undefined; - /** - * Size of the object in bytes - * @public - */ - size?: number | undefined; - /** - * Version ID in the data store - * @public - */ - dataStoreVersionId?: string | undefined; -} -/** - * @public - */ -export interface BatchDeleteInput { - Bucket: string | undefined; - Key: string | undefined; - IfUnmodifiedSince?: string | undefined; - StorageClass?: string | undefined; - Tags?: string | undefined; - ContentType?: string | undefined; - RequestUids?: string | undefined; - /** - * List of locations to delete - * @public - */ - Locations?: (BatchDeleteLocation)[] | undefined; -} -/** - * @public - */ -export interface BatchDeleteOutput { -} -/** - * @public - */ -export interface DeleteBucketIndexesInput { - Bucket: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} -/** - * @public - */ -export interface DeleteBucketIndexesOutput { -} -/** - * @public - */ -export interface DeleteObjectFromExpirationInput { - Bucket: string | undefined; - Key: string | undefined; - VersionId?: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface DeleteObjectFromExpirationOutput { - /** - * Version ID of the deleted object - * @public - */ - versionId?: string | undefined; -} -/** - * @public - */ -export interface GetBucketCseqInput { - Bucket: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface GetBucketCseqOutput { - CseqInfo?: __DocumentType | undefined; -} -/** - * @public - */ -export interface GetBucketIndexesInput { - Bucket: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface IndexKey { - order?: number | undefined; - key?: string | undefined; -} -/** - * @public - */ -export interface Index { - name?: string | undefined; - keys?: (IndexKey)[] | undefined; -} -/** - * @public - */ -export interface GetBucketIndexesOutput { - Indexes?: (Index)[] | undefined; -} -/** - * @public - */ -export interface GetBucketMetadataInput { - Bucket: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface ExpirationConfiguration { - /** - * Number of days after which the object expires - * @public - */ - Days?: number | undefined; -} -/** - * @public - * @enum - */ -export declare const LifecycleRuleStatus: { - readonly DISABLED: "Disabled"; - readonly ENABLED: "Enabled"; -}; -/** - * @public - */ -export type LifecycleRuleStatus = typeof LifecycleRuleStatus[keyof typeof LifecycleRuleStatus]; -/** - * @public - */ -export interface LCRuleObj { - /** - * Unique identifier for the rule - * @public - */ - ID?: string | undefined; - /** - * Whether the rule is enabled or disabled - * @public - */ - Status?: LifecycleRuleStatus | undefined; - /** - * Prefix for objects to which the rule applies - * @public - */ - Prefix?: string | undefined; - /** - * Expiration configuration - * @public - */ - Expiration?: ExpirationConfiguration | undefined; -} -/** - * @public - */ -export interface LifecycleConfigurationObj { - /** - * List of lifecycle rules - * @public - */ - Rules?: (LCRuleObj)[] | undefined; -} -/** - * @public - */ -export interface GetBucketMetadataOutput { - /** - * Access control list for the bucket - * @public - */ - acl?: AclObj | undefined; - /** - * Name of the bucket - * @public - */ - name?: string | undefined; - /** - * Owner of the bucket - * @public - */ - owner?: string | undefined; - /** - * Display name of the bucket owner - * @public - */ - ownerDisplayName?: string | undefined; - /** - * Creation date of the bucket - * @public - */ - creationDate?: string | undefined; - /** - * Metadata bucket model version - * @public - */ - mdBucketModelVersion?: number | undefined; - /** - * Whether this is a transient bucket - * @public - */ - transient?: boolean | undefined; - /** - * Whether the bucket is marked as deleted - * @public - */ - deleted?: boolean | undefined; - /** - * Server-side encryption configuration - * @public - */ - serverSideEncryption?: Record | undefined; - /** - * Versioning configuration for the bucket - * @public - */ - versioningConfiguration?: Record | undefined; - /** - * Location constraint for the bucket - * @public - */ - locationConstraint?: string | undefined; - /** - * Read location constraint for the bucket - * @public - */ - readLocationConstraint?: string | undefined; - /** - * CORS configuration for the bucket - * @public - */ - cors?: (Record)[] | undefined; - /** - * Replication configuration for the bucket - * @public - */ - replicationConfiguration?: Record | undefined; - /** - * Lifecycle configuration for the bucket - * @public - */ - lifecycleConfiguration?: LifecycleConfigurationObj | undefined; - /** - * Unique identifier for the bucket - * @public - */ - uid?: string | undefined; -} -/** - * @public - */ -export interface GetMetadataInput { - Bucket: string | undefined; - Key: string | undefined; - VersionId?: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface GetMetadataOutput { - Body?: string | undefined; -} -/** - * @public - */ -export interface GetObjectInput { - Bucket: string | undefined; - Key: string | undefined; - IfMatch?: string | undefined; - IfModifiedSince?: Date | undefined; - IfNoneMatch?: string | undefined; - IfUnmodifiedSince?: Date | undefined; - Range?: string | undefined; - ResponseCacheControl?: string | undefined; - ResponseContentDisposition?: string | undefined; - ResponseContentEncoding?: string | undefined; - ResponseContentLanguage?: string | undefined; - ResponseContentType?: string | undefined; - ResponseExpires?: Date | undefined; - VersionId?: string | undefined; - SSECustomerAlgorithm?: string | undefined; - /** - * Sensitive string that should be redacted in logs - * @public - */ - SSECustomerKey?: string | undefined; - SSECustomerKeyMD5?: string | undefined; - RequestPayer?: string | undefined; - PartNumber?: number | undefined; - LocationConstraint?: string | undefined; - RequestUids?: string | undefined; -} -/** - * @internal - */ -export declare const GetObjectInputFilterSensitiveLog: (obj: GetObjectInput) => any; -/** - * @public - */ -export interface GetObjectOutput { - Body: StreamingBlobTypes | undefined; - DeleteMarker?: boolean | undefined; - AcceptRanges?: string | undefined; - Expiration?: string | undefined; - Restore?: string | undefined; - LastModified?: Date | undefined; - ETag?: string | undefined; - MissingMeta?: number | undefined; - VersionId?: string | undefined; - CacheControl?: string | undefined; - ContentDisposition?: string | undefined; - ContentEncoding?: string | undefined; - ContentLanguage?: string | undefined; - ContentRange?: string | undefined; - ContentType?: string | undefined; - Expires?: Date | undefined; - WebsiteRedirectLocation?: string | undefined; - ServerSideEncryption?: string | undefined; - /** - * Map of metadata key-value pairs - * @public - */ - Metadata?: Record | undefined; - SSECustomerAlgorithm?: string | undefined; - SSECustomerKeyMD5?: string | undefined; - /** - * Sensitive string that should be redacted in logs - * @public - */ - SSEKMSKeyId?: string | undefined; - StorageClass?: string | undefined; - RequestCharged?: string | undefined; - ReplicationStatus?: string | undefined; - PartsCount?: number | undefined; - TagCount?: number | undefined; -} -/** - * @internal - */ -export declare const GetObjectOutputFilterSensitiveLog: (obj: GetObjectOutput) => any; -/** - * @public - */ -export interface GetObjectListInput { - Bucket: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface ObjectMD { - key?: string | undefined; - value?: string | undefined; -} -/** - * @public - */ -export interface GetObjectListOutput { - Contents?: (ObjectMD)[] | undefined; - CommonPrefixes?: (string)[] | undefined; - IsTruncated?: boolean | undefined; - Delimiter?: string | undefined; -} -/** - * @public - */ -export interface GetRaftBucketsInput { - LogId: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface GetRaftBucketsOutput { - Buckets?: __DocumentType | undefined; -} -/** - * @public - */ -export interface GetRaftIdInput { - Bucket: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface GetRaftIdOutput { - RaftId?: string | undefined; -} -/** - * @public - */ -export interface GetRaftLogInput { - LogId: string | undefined; - Begin?: number | undefined; - Limit?: number | undefined; - TargetLeader?: boolean | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface GetRaftLogOutput { - /** - * Streaming log data containing the complete JSON response - * @public - */ - Body: StreamingBlobTypes | undefined; - /** - * Starting sequence number - * @public - */ - Start?: number | undefined; - /** - * Current sequence number - * @public - */ - Cseq?: number | undefined; - /** - * Prune sequence number - * @public - */ - Prune?: number | undefined; -} -/** - * @internal - */ -export declare const GetRaftLogOutputFilterSensitiveLog: (obj: GetRaftLogOutput) => any; -/** - * Input for ListLifecycleCurrents operation - * @public - */ -export interface ListLifecycleCurrentsInput { - /** - * The bucket name - * @public - */ - Bucket: string | undefined; - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - /** - * Limit the response to only include keys that are stored outside of the ExcludedDataStoreName - * @public - */ - ExcludedDataStoreName?: string | undefined; - /** - * Encoding type for the response - * @public - */ - EncodingType?: string | undefined; - /** - * Marker for pagination - * @public - */ - Marker?: string | undefined; - /** - * Maximum number of keys to return - * @public - */ - MaxKeys?: number | undefined; - /** - * Limits the response to keys that begin with the specified prefix - * @public - */ - Prefix?: string | undefined; - RequestUids?: string | undefined; -} -/** - * Owner information - * @public - */ -export interface Owner { - /** - * Container for the display name of the owner - * @public - */ - DisplayName?: string | undefined; - /** - * Container for the ID of the owner - * @public - */ - ID?: string | undefined; -} -/** - * Tag key-value pair - * @public - */ -export interface Tag { - /** - * Name of the tag key - * @public - */ - Key: string | undefined; - /** - * Value of the tag - * @public - */ - Value: string | undefined; -} -/** - * Object lifecycle information - * @public - */ -export interface ObjectLifecycle { - /** - * The name that you assign to an object - * @public - */ - Key?: string | undefined; - /** - * Creation date of the object - * @public - */ - LastModified?: string | undefined; - /** - * The entity tag is a hash of the object - * @public - */ - ETag?: string | undefined; - /** - * The owner of the object - * @public - */ - Owner?: Owner | undefined; - /** - * Size in bytes of the object - * @public - */ - Size?: number | undefined; - /** - * The class of storage used to store the object - * @public - */ - StorageClass?: string | undefined; - /** - * Contains the tag set - * @public - */ - TagSet?: (Tag)[] | undefined; - /** - * Contains the stale date - * @public - */ - staleDate?: string | undefined; - /** - * Version ID - * @public - */ - VersionId?: string | undefined; - /** - * The data location name - * @public - */ - DataStoreName?: string | undefined; - /** - * List type - * @public - */ - ListType?: string | undefined; -} -/** - * Output for ListLifecycleCurrents operation - * @public - */ -export interface ListLifecycleCurrentsOutput { - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - /** - * Indicates where in the bucket listing begins - * @public - */ - Marker?: string | undefined; - /** - * Flag that indicates whether all results were returned - * @public - */ - IsTruncated?: boolean | undefined; - /** - * Next marker for pagination - * @public - */ - NextMarker?: string | undefined; - /** - * Metadata about each object returned - * @public - */ - Contents?: (ObjectLifecycle)[] | undefined; - /** - * The bucket name - * @public - */ - Name?: string | undefined; - /** - * Keys that begin with the indicated prefix - * @public - */ - Prefix?: string | undefined; - /** - * Maximum number of keys returned in the response body - * @public - */ - MaxKeys?: number | undefined; -} -/** - * Input for ListLifecycleNonCurrents operation - * @public - */ -export interface ListLifecycleNonCurrentsInput { - /** - * The bucket name - * @public - */ - Bucket: string | undefined; - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - /** - * Limit the response to only include keys that are stored outside of the ExcludedDataStoreName - * @public - */ - ExcludedDataStoreName?: string | undefined; - /** - * Encoding type for the response - * @public - */ - EncodingType?: string | undefined; - /** - * Key marker for pagination - * @public - */ - KeyMarker?: string | undefined; - /** - * Version ID marker for pagination - * @public - */ - VersionIdMarker?: string | undefined; - /** - * Maximum number of keys to return - * @public - */ - MaxKeys?: number | undefined; - /** - * Limits the response to keys that begin with the specified prefix - * @public - */ - Prefix?: string | undefined; - RequestUids?: string | undefined; -} -/** - * Output for ListLifecycleNonCurrents operation - * @public - */ -export interface ListLifecycleNonCurrentsOutput { - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - /** - * Indicates where in the bucket listing begins - * @public - */ - KeyMarker?: string | undefined; - /** - * Marks the last version of the key returned in a truncated response - * @public - */ - VersionIdMarker?: string | undefined; - /** - * Flag that indicates whether all results were returned - * @public - */ - IsTruncated?: boolean | undefined; - /** - * Next key marker for pagination - * @public - */ - NextKeyMarker?: string | undefined; - /** - * Next version ID marker for pagination - * @public - */ - NextVersionIdMarker?: string | undefined; - /** - * Metadata about each object returned - * @public - */ - Contents?: (ObjectLifecycle)[] | undefined; - /** - * The bucket name - * @public - */ - Name?: string | undefined; - /** - * Keys that begin with the indicated prefix - * @public - */ - Prefix?: string | undefined; - /** - * Maximum number of keys returned in the response body - * @public - */ - MaxKeys?: number | undefined; -} -/** - * Input for ListLifecycleOrphans operation (same structure as ListLifecycleCurrents) - * @public - */ -export interface ListLifecycleOrphansInput { - /** - * The bucket name - * @public - */ - Bucket: string | undefined; - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - /** - * Limit the response to only include keys that are stored outside of the ExcludedDataStoreName - * @public - */ - ExcludedDataStoreName?: string | undefined; - /** - * Encoding type for the response - * @public - */ - EncodingType?: string | undefined; - /** - * Marker for pagination - * @public - */ - Marker?: string | undefined; - /** - * Maximum number of keys to return - * @public - */ - MaxKeys?: number | undefined; - /** - * Limits the response to keys that begin with the specified prefix - * @public - */ - Prefix?: string | undefined; - RequestUids?: string | undefined; -} -/** - * Output for ListLifecycleOrphans operation (same structure as ListLifecycleCurrents) - * @public - */ -export interface ListLifecycleOrphansOutput { - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - /** - * Indicates where in the bucket listing begins - * @public - */ - Marker?: string | undefined; - /** - * Flag that indicates whether all results were returned - * @public - */ - IsTruncated?: boolean | undefined; - /** - * Next marker for pagination - * @public - */ - NextMarker?: string | undefined; - /** - * Metadata about each object returned - * @public - */ - Contents?: (ObjectLifecycle)[] | undefined; - /** - * The bucket name - * @public - */ - Name?: string | undefined; - /** - * Keys that begin with the indicated prefix - * @public - */ - Prefix?: string | undefined; - /** - * Maximum number of keys returned in the response body - * @public - */ - MaxKeys?: number | undefined; -} -/** - * @public - */ -export interface MultipleBackendAbortMPUInput { - Bucket: string | undefined; - Key: string | undefined; - StorageType?: string | undefined; - StorageClass: string | undefined; - UploadId?: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface MultipleBackendAbortMPUOutput { -} -/** - * @public - */ -export interface MultipleBackendCompleteMPUInput { - Bucket: string | undefined; - Key: string | undefined; - StorageType?: string | undefined; - StorageClass: string | undefined; - VersionId?: string | undefined; - ContentType?: string | undefined; - UserMetaData?: string | undefined; - CacheControl?: string | undefined; - ContentDisposition?: string | undefined; - ContentEncoding?: string | undefined; - UploadId?: string | undefined; - Tags?: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} -/** - * @public - */ -export interface LocationMDObj { - /** - * Storage key for this location - * @public - */ - key?: string | undefined; - /** - * Size of the data stored at this location - * @public - */ - size?: number | undefined; - /** - * Start position/offset for this data segment - * @public - */ - start?: number | undefined; - /** - * Name of the data store where this is located - * @public - */ - dataStoreName?: string | undefined; - /** - * Type of the data store (e.g., file, mem, etc.) - * @public - */ - dataStoreType?: string | undefined; - /** - * ETag from the data store for this location - * @public - */ - dataStoreETag?: string | undefined; - /** - * Version ID in the data store for this location - * @public - */ - dataStoreVersionId?: string | undefined; -} -/** - * @public - */ -export interface MultipleBackendCompleteMPUOutput { - /** - * Version ID of the completed object - * @public - */ - versionId?: string | undefined; - /** - * Location information - * @public - */ - location?: (LocationMDObj)[] | undefined; -} -/** - * @public - */ -export interface MultipleBackendDeleteObjectInput { - Bucket: string | undefined; - Key: string | undefined; - StorageType?: string | undefined; - StorageClass: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface MultipleBackendDeleteObjectOutput { - versionId?: string | undefined; -} -/** - * @public - */ -export interface MultipleBackendDeleteObjectTaggingInput { - Bucket: string | undefined; - Key: string | undefined; - StorageClass: string | undefined; - StorageType?: string | undefined; - DataStoreVersionId?: string | undefined; - SourceBucket?: string | undefined; - SourceVersionId?: string | undefined; - ReplicationEndpointSite?: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} -/** - * @public - */ -export interface MultipleBackendDeleteObjectTaggingOutput { - /** - * Version ID of the object after tag removal - * @public - */ - versionId?: string | undefined; -} -/** - * @public - */ -export interface MultipleBackendHeadObjectInput { - Bucket: string | undefined; - Key: string | undefined; - Locations: string | undefined; - RequestUids?: string | undefined; -} -/** - * @public - */ -export interface MultipleBackendHeadObjectOutput { - /** - * Last modified timestamp - * @public - */ - lastModified?: string | undefined; -} -/** - * @public - */ -export interface MultipleBackendInitiateMPUInput { - Bucket: string | undefined; - Key: string | undefined; - StorageClass: string | undefined; - VersionId?: string | undefined; - StorageType?: string | undefined; - ContentType?: string | undefined; - UserMetaData?: string | undefined; - CacheControl?: string | undefined; - ContentDisposition?: string | undefined; - ContentEncoding?: string | undefined; - Tags?: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} -/** - * @public - */ -export interface MultipleBackendInitiateMPUOutput { - /** - * Upload ID for the multipart upload - * @public - */ - uploadId?: string | undefined; -} -/** - * @public - */ -export interface MultipleBackendPutMPUPartInput { - Bucket: string | undefined; - Key: string | undefined; - StorageType?: string | undefined; - StorageClass: string | undefined; - PartNumber?: number | undefined; - UploadId?: string | undefined; - RequestUids?: string | undefined; - /** - * Streaming blob type for binary data transfer - * @public - */ - Body: StreamingBlobTypes | undefined; -} -/** - * @internal - */ -export declare const MultipleBackendPutMPUPartInputFilterSensitiveLog: (obj: MultipleBackendPutMPUPartInput) => any; -/** - * @public - */ -export interface MultipleBackendPutMPUPartOutput { - /** - * Part number - * @public - */ - partNumber?: string | undefined; - /** - * ETag of the uploaded part - * @public - */ - ETag?: string | undefined; - /** - * Number of sub-parts - * @public - */ - numberSubParts?: number | undefined; -} -/** - * @public - */ -export interface MultipleBackendPutObjectInput { - Bucket: string | undefined; - Key: string | undefined; - ContentMD5?: string | undefined; - ContentType?: string | undefined; - UserMetaData?: string | undefined; - CacheControl?: string | undefined; - ContentDisposition?: string | undefined; - ContentEncoding?: string | undefined; - CanonicalID?: string | undefined; - StorageClass: string | undefined; - StorageType?: string | undefined; - VersionId?: string | undefined; - Tags?: string | undefined; - RequestUids?: string | undefined; - /** - * Streaming blob type for binary data transfer - * @public - */ - Body?: StreamingBlobTypes | undefined; -} -/** - * @internal - */ -export declare const MultipleBackendPutObjectInputFilterSensitiveLog: (obj: MultipleBackendPutObjectInput) => any; -/** - * @public - */ -export interface MultipleBackendPutObjectOutput { - /** - * Version ID of the stored object - * @public - */ - versionId?: string | undefined; - /** - * List of storage locations where the object was stored - * @public - */ - location?: (LocationMDObj)[] | undefined; -} -/** - * @public - */ -export interface MultipleBackendPutObjectTaggingInput { - Bucket: string | undefined; - Key: string | undefined; - StorageType?: string | undefined; - StorageClass: string | undefined; - DataStoreVersionId?: string | undefined; - Tags?: string | undefined; - SourceBucket?: string | undefined; - SourceVersionId?: string | undefined; - ReplicationEndpointSite?: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} -/** - * @public - */ -export interface MultipleBackendPutObjectTaggingOutput { - /** - * Version ID of the tagged object - * @public - */ - versionId?: string | undefined; -} -/** - * @public - */ -export interface PutBucketIndexesInput { - Bucket: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} -/** - * @public - */ -export interface PutBucketIndexesOutput { -} -/** - * @public - */ -export interface PutDataInput { - Bucket: string | undefined; - Key: string | undefined; - ContentMD5?: string | undefined; - CanonicalID?: string | undefined; - VersioningRequired?: boolean | undefined; - RequestUids?: string | undefined; - /** - * Streaming blob type for binary data transfer - * @public - */ - Body?: StreamingBlobTypes | undefined; -} -/** - * @internal - */ -export declare const PutDataInputFilterSensitiveLog: (obj: PutDataInput) => any; -/** - * @public - */ -export interface PutDataOutput { - Location?: __DocumentType | undefined; - ServerSideEncryption?: string | undefined; - SSECustomerAlgorithm?: string | undefined; - SSEKMSKeyId?: string | undefined; -} -/** - * @public - */ -export interface PutMetadataInput { - Bucket: string | undefined; - Key: string | undefined; - VersionId?: string | undefined; - AccountId?: string | undefined; - ContentMD5?: string | undefined; - ReplicationContent?: string | undefined; - VersioningRequired?: boolean | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} -/** - * @public - */ -export interface PutMetadataOutput { - /** - * Version ID of the stored metadata - * @public - */ - versionId?: string | undefined; -} diff --git a/build/smithy/source/typescript-codegen/dist-types/protocols/Aws_restJson1.d.ts b/build/smithy/source/typescript-codegen/dist-types/protocols/Aws_restJson1.d.ts deleted file mode 100644 index 36a4576c..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/protocols/Aws_restJson1.d.ts +++ /dev/null @@ -1,245 +0,0 @@ -import { BatchDeleteCommandInput, BatchDeleteCommandOutput } from "../commands/BatchDeleteCommand"; -import { DeleteBucketIndexesCommandInput, DeleteBucketIndexesCommandOutput } from "../commands/DeleteBucketIndexesCommand"; -import { DeleteObjectFromExpirationCommandInput, DeleteObjectFromExpirationCommandOutput } from "../commands/DeleteObjectFromExpirationCommand"; -import { GetBucketCseqCommandInput, GetBucketCseqCommandOutput } from "../commands/GetBucketCseqCommand"; -import { GetBucketIndexesCommandInput, GetBucketIndexesCommandOutput } from "../commands/GetBucketIndexesCommand"; -import { GetBucketMetadataCommandInput, GetBucketMetadataCommandOutput } from "../commands/GetBucketMetadataCommand"; -import { GetMetadataCommandInput, GetMetadataCommandOutput } from "../commands/GetMetadataCommand"; -import { GetObjectCommandInput, GetObjectCommandOutput } from "../commands/GetObjectCommand"; -import { GetObjectListCommandInput, GetObjectListCommandOutput } from "../commands/GetObjectListCommand"; -import { GetRaftBucketsCommandInput, GetRaftBucketsCommandOutput } from "../commands/GetRaftBucketsCommand"; -import { GetRaftIdCommandInput, GetRaftIdCommandOutput } from "../commands/GetRaftIdCommand"; -import { GetRaftLogCommandInput, GetRaftLogCommandOutput } from "../commands/GetRaftLogCommand"; -import { ListLifecycleCurrentsCommandInput, ListLifecycleCurrentsCommandOutput } from "../commands/ListLifecycleCurrentsCommand"; -import { ListLifecycleNonCurrentsCommandInput, ListLifecycleNonCurrentsCommandOutput } from "../commands/ListLifecycleNonCurrentsCommand"; -import { ListLifecycleOrphansCommandInput, ListLifecycleOrphansCommandOutput } from "../commands/ListLifecycleOrphansCommand"; -import { MultipleBackendAbortMPUCommandInput, MultipleBackendAbortMPUCommandOutput } from "../commands/MultipleBackendAbortMPUCommand"; -import { MultipleBackendCompleteMPUCommandInput, MultipleBackendCompleteMPUCommandOutput } from "../commands/MultipleBackendCompleteMPUCommand"; -import { MultipleBackendDeleteObjectCommandInput, MultipleBackendDeleteObjectCommandOutput } from "../commands/MultipleBackendDeleteObjectCommand"; -import { MultipleBackendDeleteObjectTaggingCommandInput, MultipleBackendDeleteObjectTaggingCommandOutput } from "../commands/MultipleBackendDeleteObjectTaggingCommand"; -import { MultipleBackendHeadObjectCommandInput, MultipleBackendHeadObjectCommandOutput } from "../commands/MultipleBackendHeadObjectCommand"; -import { MultipleBackendInitiateMPUCommandInput, MultipleBackendInitiateMPUCommandOutput } from "../commands/MultipleBackendInitiateMPUCommand"; -import { MultipleBackendPutMPUPartCommandInput, MultipleBackendPutMPUPartCommandOutput } from "../commands/MultipleBackendPutMPUPartCommand"; -import { MultipleBackendPutObjectCommandInput, MultipleBackendPutObjectCommandOutput } from "../commands/MultipleBackendPutObjectCommand"; -import { MultipleBackendPutObjectTaggingCommandInput, MultipleBackendPutObjectTaggingCommandOutput } from "../commands/MultipleBackendPutObjectTaggingCommand"; -import { PutBucketIndexesCommandInput, PutBucketIndexesCommandOutput } from "../commands/PutBucketIndexesCommand"; -import { PutDataCommandInput, PutDataCommandOutput } from "../commands/PutDataCommand"; -import { PutMetadataCommandInput, PutMetadataCommandOutput } from "../commands/PutMetadataCommand"; -import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; -import { SdkStreamSerdeContext as __SdkStreamSerdeContext, SerdeContext as __SerdeContext } from "@smithy/types"; -/** - * serializeAws_restJson1BatchDeleteCommand - */ -export declare const se_BatchDeleteCommand: (input: BatchDeleteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteBucketIndexesCommand - */ -export declare const se_DeleteBucketIndexesCommand: (input: DeleteBucketIndexesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteObjectFromExpirationCommand - */ -export declare const se_DeleteObjectFromExpirationCommand: (input: DeleteObjectFromExpirationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetBucketCseqCommand - */ -export declare const se_GetBucketCseqCommand: (input: GetBucketCseqCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetBucketIndexesCommand - */ -export declare const se_GetBucketIndexesCommand: (input: GetBucketIndexesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetBucketMetadataCommand - */ -export declare const se_GetBucketMetadataCommand: (input: GetBucketMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetMetadataCommand - */ -export declare const se_GetMetadataCommand: (input: GetMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetObjectCommand - */ -export declare const se_GetObjectCommand: (input: GetObjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetObjectListCommand - */ -export declare const se_GetObjectListCommand: (input: GetObjectListCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetRaftBucketsCommand - */ -export declare const se_GetRaftBucketsCommand: (input: GetRaftBucketsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetRaftIdCommand - */ -export declare const se_GetRaftIdCommand: (input: GetRaftIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetRaftLogCommand - */ -export declare const se_GetRaftLogCommand: (input: GetRaftLogCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListLifecycleCurrentsCommand - */ -export declare const se_ListLifecycleCurrentsCommand: (input: ListLifecycleCurrentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListLifecycleNonCurrentsCommand - */ -export declare const se_ListLifecycleNonCurrentsCommand: (input: ListLifecycleNonCurrentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListLifecycleOrphansCommand - */ -export declare const se_ListLifecycleOrphansCommand: (input: ListLifecycleOrphansCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1MultipleBackendAbortMPUCommand - */ -export declare const se_MultipleBackendAbortMPUCommand: (input: MultipleBackendAbortMPUCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1MultipleBackendCompleteMPUCommand - */ -export declare const se_MultipleBackendCompleteMPUCommand: (input: MultipleBackendCompleteMPUCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1MultipleBackendDeleteObjectCommand - */ -export declare const se_MultipleBackendDeleteObjectCommand: (input: MultipleBackendDeleteObjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1MultipleBackendDeleteObjectTaggingCommand - */ -export declare const se_MultipleBackendDeleteObjectTaggingCommand: (input: MultipleBackendDeleteObjectTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1MultipleBackendHeadObjectCommand - */ -export declare const se_MultipleBackendHeadObjectCommand: (input: MultipleBackendHeadObjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1MultipleBackendInitiateMPUCommand - */ -export declare const se_MultipleBackendInitiateMPUCommand: (input: MultipleBackendInitiateMPUCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1MultipleBackendPutMPUPartCommand - */ -export declare const se_MultipleBackendPutMPUPartCommand: (input: MultipleBackendPutMPUPartCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1MultipleBackendPutObjectCommand - */ -export declare const se_MultipleBackendPutObjectCommand: (input: MultipleBackendPutObjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1MultipleBackendPutObjectTaggingCommand - */ -export declare const se_MultipleBackendPutObjectTaggingCommand: (input: MultipleBackendPutObjectTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1PutBucketIndexesCommand - */ -export declare const se_PutBucketIndexesCommand: (input: PutBucketIndexesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1PutDataCommand - */ -export declare const se_PutDataCommand: (input: PutDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1PutMetadataCommand - */ -export declare const se_PutMetadataCommand: (input: PutMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * deserializeAws_restJson1BatchDeleteCommand - */ -export declare const de_BatchDeleteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteBucketIndexesCommand - */ -export declare const de_DeleteBucketIndexesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteObjectFromExpirationCommand - */ -export declare const de_DeleteObjectFromExpirationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetBucketCseqCommand - */ -export declare const de_GetBucketCseqCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetBucketIndexesCommand - */ -export declare const de_GetBucketIndexesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetBucketMetadataCommand - */ -export declare const de_GetBucketMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetMetadataCommand - */ -export declare const de_GetMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetObjectCommand - */ -export declare const de_GetObjectCommand: (output: __HttpResponse, context: __SerdeContext & __SdkStreamSerdeContext) => Promise; -/** - * deserializeAws_restJson1GetObjectListCommand - */ -export declare const de_GetObjectListCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetRaftBucketsCommand - */ -export declare const de_GetRaftBucketsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetRaftIdCommand - */ -export declare const de_GetRaftIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetRaftLogCommand - */ -export declare const de_GetRaftLogCommand: (output: __HttpResponse, context: __SerdeContext & __SdkStreamSerdeContext) => Promise; -/** - * deserializeAws_restJson1ListLifecycleCurrentsCommand - */ -export declare const de_ListLifecycleCurrentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListLifecycleNonCurrentsCommand - */ -export declare const de_ListLifecycleNonCurrentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListLifecycleOrphansCommand - */ -export declare const de_ListLifecycleOrphansCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1MultipleBackendAbortMPUCommand - */ -export declare const de_MultipleBackendAbortMPUCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1MultipleBackendCompleteMPUCommand - */ -export declare const de_MultipleBackendCompleteMPUCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1MultipleBackendDeleteObjectCommand - */ -export declare const de_MultipleBackendDeleteObjectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1MultipleBackendDeleteObjectTaggingCommand - */ -export declare const de_MultipleBackendDeleteObjectTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1MultipleBackendHeadObjectCommand - */ -export declare const de_MultipleBackendHeadObjectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1MultipleBackendInitiateMPUCommand - */ -export declare const de_MultipleBackendInitiateMPUCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1MultipleBackendPutMPUPartCommand - */ -export declare const de_MultipleBackendPutMPUPartCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1MultipleBackendPutObjectCommand - */ -export declare const de_MultipleBackendPutObjectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1MultipleBackendPutObjectTaggingCommand - */ -export declare const de_MultipleBackendPutObjectTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1PutBucketIndexesCommand - */ -export declare const de_PutBucketIndexesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1PutDataCommand - */ -export declare const de_PutDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1PutMetadataCommand - */ -export declare const de_PutMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; diff --git a/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.browser.d.ts b/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.browser.d.ts deleted file mode 100644 index 9f735eaa..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.browser.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; -import { CloudserverClientConfig } from "./CloudserverClient"; -/** - * @internal - */ -export declare const getRuntimeConfig: (config: CloudserverClientConfig) => { - runtime: string; - defaultsMode: import("@smithy/types").Provider; - bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; - credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise); - defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; - maxAttempts: number | import("@smithy/types").Provider; - region: string | import("@smithy/types").Provider; - requestHandler: import("@smithy/protocol-http").HttpHandler | RequestHandler; - retryMode: string | import("@smithy/types").Provider; - sha256: import("@smithy/types").HashConstructor; - streamCollector: import("@smithy/types").StreamCollector; - useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); - useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); - apiVersion: string; - cacheMiddleware?: boolean | undefined; - urlParser: import("@smithy/types").UrlParser; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; - disableHostPrefix: boolean; - serviceId: string; - profile?: string; - logger: import("@smithy/types").Logger; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector; - customUserAgent?: string | import("@smithy/types").UserAgent; - userAgentAppId?: string | undefined | import("@smithy/types").Provider; - retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; - endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; - endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { - logger?: import("@smithy/types").Logger; - }) => import("@smithy/types").EndpointV2; - tls?: boolean; - serviceConfiguredEndpoint?: never; - authSchemePreference?: string[] | import("@smithy/types").Provider; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudserverHttpAuthSchemeProvider; - credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; - signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); - signingEscapePath?: boolean; - systemClockOffset?: number; - signingRegion?: string; - signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; -}; diff --git a/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.d.ts b/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.d.ts deleted file mode 100644 index 5fc7c4b1..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; -import { CloudserverClientConfig } from "./CloudserverClient"; -/** - * @internal - */ -export declare const getRuntimeConfig: (config: CloudserverClientConfig) => { - runtime: string; - defaultsMode: import("@smithy/types").Provider; - authSchemePreference: string[] | import("@smithy/types").Provider; - bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; - credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider); - defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise; - maxAttempts: number | import("@smithy/types").Provider; - region: string | import("@smithy/types").Provider; - requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler; - retryMode: string | import("@smithy/types").Provider; - sha256: import("@smithy/types").HashConstructor; - streamCollector: import("@smithy/types").StreamCollector; - useDualstackEndpoint: boolean | import("@smithy/types").Provider; - useFipsEndpoint: boolean | import("@smithy/types").Provider; - userAgentAppId: string | import("@smithy/types").Provider; - apiVersion: string; - cacheMiddleware?: boolean | undefined; - urlParser: import("@smithy/types").UrlParser; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; - disableHostPrefix: boolean; - serviceId: string; - profile?: string; - logger: import("@smithy/types").Logger; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector; - customUserAgent?: string | import("@smithy/types").UserAgent; - retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; - endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; - endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { - logger?: import("@smithy/types").Logger; - }) => import("@smithy/types").EndpointV2; - tls?: boolean; - serviceConfiguredEndpoint?: never; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudserverHttpAuthSchemeProvider; - credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; - signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); - signingEscapePath?: boolean; - systemClockOffset?: number; - signingRegion?: string; - signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; -}; diff --git a/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.native.d.ts b/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.native.d.ts deleted file mode 100644 index a113963c..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.native.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { CloudserverClientConfig } from "./CloudserverClient"; -/** - * @internal - */ -export declare const getRuntimeConfig: (config: CloudserverClientConfig) => { - runtime: string; - sha256: import("@smithy/types").HashConstructor; - requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record | import("@smithy/protocol-http").HttpHandler | import("@smithy/fetch-http-handler").FetchHttpHandler; - apiVersion: string; - cacheMiddleware?: boolean; - urlParser: import("@smithy/types").UrlParser; - bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; - streamCollector: import("@smithy/types").StreamCollector; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; - disableHostPrefix: boolean; - serviceId: string; - useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); - useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); - region: string | import("@smithy/types").Provider; - profile?: string; - defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; - credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise); - maxAttempts: number | import("@smithy/types").Provider; - retryMode: string | import("@smithy/types").Provider; - logger: import("@smithy/types").Logger; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider; - sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector; - customUserAgent?: string | import("@smithy/types").UserAgent; - userAgentAppId?: string | undefined | import("@smithy/types").Provider; - retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; - endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; - endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { - logger?: import("@smithy/types").Logger; - }) => import("@smithy/types").EndpointV2; - tls?: boolean; - serviceConfiguredEndpoint?: never; - authSchemePreference?: string[] | import("@smithy/types").Provider; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudserverHttpAuthSchemeProvider; - credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; - signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); - signingEscapePath?: boolean; - systemClockOffset?: number; - signingRegion?: string; - signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; -}; diff --git a/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.shared.d.ts b/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.shared.d.ts deleted file mode 100644 index 5b6ee96f..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/runtimeConfig.shared.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { CloudserverClientConfig } from "./CloudserverClient"; -/** - * @internal - */ -export declare const getRuntimeConfig: (config: CloudserverClientConfig) => { - apiVersion: string; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - disableHostPrefix: boolean; - endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { - logger?: import("@smithy/types").Logger; - }) => import("@smithy/types").EndpointV2; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudserverHttpAuthSchemeProvider; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - logger: import("@smithy/types").Logger; - sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector; - serviceId: string; - urlParser: import("@smithy/types").UrlParser; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; -}; diff --git a/build/smithy/source/typescript-codegen/dist-types/runtimeExtensions.d.ts b/build/smithy/source/typescript-codegen/dist-types/runtimeExtensions.d.ts deleted file mode 100644 index 3b0cf49b..00000000 --- a/build/smithy/source/typescript-codegen/dist-types/runtimeExtensions.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { CloudserverExtensionConfiguration } from "./extensionConfiguration"; -/** - * @public - */ -export interface RuntimeExtension { - configure(extensionConfiguration: CloudserverExtensionConfiguration): void; -} -/** - * @public - */ -export interface RuntimeExtensionsConfig { - extensions: RuntimeExtension[]; -} -/** - * @internal - */ -export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any; diff --git a/build/smithy/source/typescript-codegen/package.json b/build/smithy/source/typescript-codegen/package.json deleted file mode 100644 index 87da9926..00000000 --- a/build/smithy/source/typescript-codegen/package.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "name": "@scality/cloudserverclient", - "description": "@scality/cloudserverclient client", - "version": "1.0.0", - "scripts": { - "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", - "build:cjs": "tsc -p tsconfig.cjs.json", - "build:es": "tsc -p tsconfig.es.json", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", - "prepack": "yarn run clean && yarn run build" - }, - "main": "./dist-cjs/index.js", - "types": "./dist-types/index.d.ts", - "module": "./dist-es/index.js", - "sideEffects": false, - "dependencies": { - "tslib": "^2.6.2", - "@aws-crypto/sha256-browser": "5.2.0", - "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.856.0", - "@aws-sdk/credential-provider-node": "3.856.0", - "@aws-sdk/middleware-host-header": "3.840.0", - "@aws-sdk/middleware-logger": "3.840.0", - "@aws-sdk/middleware-recursion-detection": "3.840.0", - "@aws-sdk/middleware-user-agent": "3.856.0", - "@aws-sdk/region-config-resolver": "3.840.0", - "@aws-sdk/types": "3.840.0", - "@aws-sdk/util-endpoints": "3.848.0", - "@aws-sdk/util-user-agent-browser": "3.840.0", - "@aws-sdk/util-user-agent-node": "3.856.0", - "@smithy/config-resolver": "^4.1.4", - "@smithy/core": "^3.7.2", - "@smithy/fetch-http-handler": "^5.1.0", - "@smithy/hash-node": "^4.0.4", - "@smithy/invalid-dependency": "^4.0.4", - "@smithy/middleware-content-length": "^4.0.4", - "@smithy/middleware-endpoint": "^4.1.17", - "@smithy/middleware-retry": "^4.1.18", - "@smithy/middleware-serde": "^4.0.8", - "@smithy/middleware-stack": "^4.0.4", - "@smithy/node-config-provider": "^4.1.3", - "@smithy/node-http-handler": "^4.1.0", - "@smithy/protocol-http": "^5.1.2", - "@smithy/smithy-client": "^4.4.9", - "@smithy/types": "^4.3.1", - "@smithy/url-parser": "^4.0.4", - "@smithy/util-base64": "^4.0.0", - "@smithy/util-body-length-browser": "^4.0.0", - "@smithy/util-body-length-node": "^4.0.0", - "@smithy/util-defaults-mode-browser": "^4.0.25", - "@smithy/util-defaults-mode-node": "^4.0.25", - "@smithy/util-endpoints": "^3.0.6", - "@smithy/util-middleware": "^4.0.4", - "@smithy/util-retry": "^4.0.6", - "@smithy/util-stream": "^4.2.3", - "@smithy/util-utf8": "^4.0.0" - }, - "devDependencies": { - "@tsconfig/node18": "18.2.4", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "rimraf": "^3.0.0", - "typescript": "~5.8.3", - "@types/node": "^18.19.69" - }, - "engines": { - "node": ">=18.0.0" - }, - "typesVersions": { - "<4.0": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "browser": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" - }, - "react-native": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" - } -} \ No newline at end of file diff --git a/build/smithy/source/typescript-codegen/src/Cloudserver.ts b/build/smithy/source/typescript-codegen/src/Cloudserver.ts deleted file mode 100644 index 0ffcc438..00000000 --- a/build/smithy/source/typescript-codegen/src/Cloudserver.ts +++ /dev/null @@ -1,640 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClient, - CloudserverClientConfig, -} from "./CloudserverClient"; -import { - BatchDeleteCommand, - BatchDeleteCommandInput, - BatchDeleteCommandOutput, -} from "./commands/BatchDeleteCommand"; -import { - DeleteBucketIndexesCommand, - DeleteBucketIndexesCommandInput, - DeleteBucketIndexesCommandOutput, -} from "./commands/DeleteBucketIndexesCommand"; -import { - DeleteObjectFromExpirationCommand, - DeleteObjectFromExpirationCommandInput, - DeleteObjectFromExpirationCommandOutput, -} from "./commands/DeleteObjectFromExpirationCommand"; -import { - GetBucketCseqCommand, - GetBucketCseqCommandInput, - GetBucketCseqCommandOutput, -} from "./commands/GetBucketCseqCommand"; -import { - GetBucketIndexesCommand, - GetBucketIndexesCommandInput, - GetBucketIndexesCommandOutput, -} from "./commands/GetBucketIndexesCommand"; -import { - GetBucketMetadataCommand, - GetBucketMetadataCommandInput, - GetBucketMetadataCommandOutput, -} from "./commands/GetBucketMetadataCommand"; -import { - GetMetadataCommand, - GetMetadataCommandInput, - GetMetadataCommandOutput, -} from "./commands/GetMetadataCommand"; -import { - GetObjectCommand, - GetObjectCommandInput, - GetObjectCommandOutput, -} from "./commands/GetObjectCommand"; -import { - GetObjectListCommand, - GetObjectListCommandInput, - GetObjectListCommandOutput, -} from "./commands/GetObjectListCommand"; -import { - GetRaftBucketsCommand, - GetRaftBucketsCommandInput, - GetRaftBucketsCommandOutput, -} from "./commands/GetRaftBucketsCommand"; -import { - GetRaftIdCommand, - GetRaftIdCommandInput, - GetRaftIdCommandOutput, -} from "./commands/GetRaftIdCommand"; -import { - GetRaftLogCommand, - GetRaftLogCommandInput, - GetRaftLogCommandOutput, -} from "./commands/GetRaftLogCommand"; -import { - ListLifecycleCurrentsCommand, - ListLifecycleCurrentsCommandInput, - ListLifecycleCurrentsCommandOutput, -} from "./commands/ListLifecycleCurrentsCommand"; -import { - ListLifecycleNonCurrentsCommand, - ListLifecycleNonCurrentsCommandInput, - ListLifecycleNonCurrentsCommandOutput, -} from "./commands/ListLifecycleNonCurrentsCommand"; -import { - ListLifecycleOrphansCommand, - ListLifecycleOrphansCommandInput, - ListLifecycleOrphansCommandOutput, -} from "./commands/ListLifecycleOrphansCommand"; -import { - MultipleBackendAbortMPUCommand, - MultipleBackendAbortMPUCommandInput, - MultipleBackendAbortMPUCommandOutput, -} from "./commands/MultipleBackendAbortMPUCommand"; -import { - MultipleBackendCompleteMPUCommand, - MultipleBackendCompleteMPUCommandInput, - MultipleBackendCompleteMPUCommandOutput, -} from "./commands/MultipleBackendCompleteMPUCommand"; -import { - MultipleBackendDeleteObjectCommand, - MultipleBackendDeleteObjectCommandInput, - MultipleBackendDeleteObjectCommandOutput, -} from "./commands/MultipleBackendDeleteObjectCommand"; -import { - MultipleBackendDeleteObjectTaggingCommand, - MultipleBackendDeleteObjectTaggingCommandInput, - MultipleBackendDeleteObjectTaggingCommandOutput, -} from "./commands/MultipleBackendDeleteObjectTaggingCommand"; -import { - MultipleBackendHeadObjectCommand, - MultipleBackendHeadObjectCommandInput, - MultipleBackendHeadObjectCommandOutput, -} from "./commands/MultipleBackendHeadObjectCommand"; -import { - MultipleBackendInitiateMPUCommand, - MultipleBackendInitiateMPUCommandInput, - MultipleBackendInitiateMPUCommandOutput, -} from "./commands/MultipleBackendInitiateMPUCommand"; -import { - MultipleBackendPutMPUPartCommand, - MultipleBackendPutMPUPartCommandInput, - MultipleBackendPutMPUPartCommandOutput, -} from "./commands/MultipleBackendPutMPUPartCommand"; -import { - MultipleBackendPutObjectCommand, - MultipleBackendPutObjectCommandInput, - MultipleBackendPutObjectCommandOutput, -} from "./commands/MultipleBackendPutObjectCommand"; -import { - MultipleBackendPutObjectTaggingCommand, - MultipleBackendPutObjectTaggingCommandInput, - MultipleBackendPutObjectTaggingCommandOutput, -} from "./commands/MultipleBackendPutObjectTaggingCommand"; -import { - PutBucketIndexesCommand, - PutBucketIndexesCommandInput, - PutBucketIndexesCommandOutput, -} from "./commands/PutBucketIndexesCommand"; -import { - PutDataCommand, - PutDataCommandInput, - PutDataCommandOutput, -} from "./commands/PutDataCommand"; -import { - PutMetadataCommand, - PutMetadataCommandInput, - PutMetadataCommandOutput, -} from "./commands/PutMetadataCommand"; -import { createAggregatedClient } from "@smithy/smithy-client"; -import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; - -const commands = { - BatchDeleteCommand, - DeleteBucketIndexesCommand, - DeleteObjectFromExpirationCommand, - GetBucketCseqCommand, - GetBucketIndexesCommand, - GetBucketMetadataCommand, - GetMetadataCommand, - GetObjectCommand, - GetObjectListCommand, - GetRaftBucketsCommand, - GetRaftIdCommand, - GetRaftLogCommand, - ListLifecycleCurrentsCommand, - ListLifecycleNonCurrentsCommand, - ListLifecycleOrphansCommand, - MultipleBackendAbortMPUCommand, - MultipleBackendCompleteMPUCommand, - MultipleBackendDeleteObjectCommand, - MultipleBackendDeleteObjectTaggingCommand, - MultipleBackendHeadObjectCommand, - MultipleBackendInitiateMPUCommand, - MultipleBackendPutMPUPartCommand, - MultipleBackendPutObjectCommand, - MultipleBackendPutObjectTaggingCommand, - PutBucketIndexesCommand, - PutDataCommand, - PutMetadataCommand, -} - -export interface Cloudserver { - /** - * @see {@link BatchDeleteCommand} - */ - batchDelete( - args: BatchDeleteCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - batchDelete( - args: BatchDeleteCommandInput, - cb: (err: any, data?: BatchDeleteCommandOutput) => void - ): void; - batchDelete( - args: BatchDeleteCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: BatchDeleteCommandOutput) => void - ): void; - - /** - * @see {@link DeleteBucketIndexesCommand} - */ - deleteBucketIndexes( - args: DeleteBucketIndexesCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - deleteBucketIndexes( - args: DeleteBucketIndexesCommandInput, - cb: (err: any, data?: DeleteBucketIndexesCommandOutput) => void - ): void; - deleteBucketIndexes( - args: DeleteBucketIndexesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteBucketIndexesCommandOutput) => void - ): void; - - /** - * @see {@link DeleteObjectFromExpirationCommand} - */ - deleteObjectFromExpiration( - args: DeleteObjectFromExpirationCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - deleteObjectFromExpiration( - args: DeleteObjectFromExpirationCommandInput, - cb: (err: any, data?: DeleteObjectFromExpirationCommandOutput) => void - ): void; - deleteObjectFromExpiration( - args: DeleteObjectFromExpirationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteObjectFromExpirationCommandOutput) => void - ): void; - - /** - * @see {@link GetBucketCseqCommand} - */ - getBucketCseq( - args: GetBucketCseqCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - getBucketCseq( - args: GetBucketCseqCommandInput, - cb: (err: any, data?: GetBucketCseqCommandOutput) => void - ): void; - getBucketCseq( - args: GetBucketCseqCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetBucketCseqCommandOutput) => void - ): void; - - /** - * @see {@link GetBucketIndexesCommand} - */ - getBucketIndexes( - args: GetBucketIndexesCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - getBucketIndexes( - args: GetBucketIndexesCommandInput, - cb: (err: any, data?: GetBucketIndexesCommandOutput) => void - ): void; - getBucketIndexes( - args: GetBucketIndexesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetBucketIndexesCommandOutput) => void - ): void; - - /** - * @see {@link GetBucketMetadataCommand} - */ - getBucketMetadata( - args: GetBucketMetadataCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - getBucketMetadata( - args: GetBucketMetadataCommandInput, - cb: (err: any, data?: GetBucketMetadataCommandOutput) => void - ): void; - getBucketMetadata( - args: GetBucketMetadataCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetBucketMetadataCommandOutput) => void - ): void; - - /** - * @see {@link GetMetadataCommand} - */ - getMetadata( - args: GetMetadataCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - getMetadata( - args: GetMetadataCommandInput, - cb: (err: any, data?: GetMetadataCommandOutput) => void - ): void; - getMetadata( - args: GetMetadataCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetMetadataCommandOutput) => void - ): void; - - /** - * @see {@link GetObjectCommand} - */ - getObject( - args: GetObjectCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - getObject( - args: GetObjectCommandInput, - cb: (err: any, data?: GetObjectCommandOutput) => void - ): void; - getObject( - args: GetObjectCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetObjectCommandOutput) => void - ): void; - - /** - * @see {@link GetObjectListCommand} - */ - getObjectList( - args: GetObjectListCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - getObjectList( - args: GetObjectListCommandInput, - cb: (err: any, data?: GetObjectListCommandOutput) => void - ): void; - getObjectList( - args: GetObjectListCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetObjectListCommandOutput) => void - ): void; - - /** - * @see {@link GetRaftBucketsCommand} - */ - getRaftBuckets( - args: GetRaftBucketsCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - getRaftBuckets( - args: GetRaftBucketsCommandInput, - cb: (err: any, data?: GetRaftBucketsCommandOutput) => void - ): void; - getRaftBuckets( - args: GetRaftBucketsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetRaftBucketsCommandOutput) => void - ): void; - - /** - * @see {@link GetRaftIdCommand} - */ - getRaftId( - args: GetRaftIdCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - getRaftId( - args: GetRaftIdCommandInput, - cb: (err: any, data?: GetRaftIdCommandOutput) => void - ): void; - getRaftId( - args: GetRaftIdCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetRaftIdCommandOutput) => void - ): void; - - /** - * @see {@link GetRaftLogCommand} - */ - getRaftLog( - args: GetRaftLogCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - getRaftLog( - args: GetRaftLogCommandInput, - cb: (err: any, data?: GetRaftLogCommandOutput) => void - ): void; - getRaftLog( - args: GetRaftLogCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetRaftLogCommandOutput) => void - ): void; - - /** - * @see {@link ListLifecycleCurrentsCommand} - */ - listLifecycleCurrents( - args: ListLifecycleCurrentsCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - listLifecycleCurrents( - args: ListLifecycleCurrentsCommandInput, - cb: (err: any, data?: ListLifecycleCurrentsCommandOutput) => void - ): void; - listLifecycleCurrents( - args: ListLifecycleCurrentsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListLifecycleCurrentsCommandOutput) => void - ): void; - - /** - * @see {@link ListLifecycleNonCurrentsCommand} - */ - listLifecycleNonCurrents( - args: ListLifecycleNonCurrentsCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - listLifecycleNonCurrents( - args: ListLifecycleNonCurrentsCommandInput, - cb: (err: any, data?: ListLifecycleNonCurrentsCommandOutput) => void - ): void; - listLifecycleNonCurrents( - args: ListLifecycleNonCurrentsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListLifecycleNonCurrentsCommandOutput) => void - ): void; - - /** - * @see {@link ListLifecycleOrphansCommand} - */ - listLifecycleOrphans( - args: ListLifecycleOrphansCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - listLifecycleOrphans( - args: ListLifecycleOrphansCommandInput, - cb: (err: any, data?: ListLifecycleOrphansCommandOutput) => void - ): void; - listLifecycleOrphans( - args: ListLifecycleOrphansCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListLifecycleOrphansCommandOutput) => void - ): void; - - /** - * @see {@link MultipleBackendAbortMPUCommand} - */ - multipleBackendAbortMPU( - args: MultipleBackendAbortMPUCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - multipleBackendAbortMPU( - args: MultipleBackendAbortMPUCommandInput, - cb: (err: any, data?: MultipleBackendAbortMPUCommandOutput) => void - ): void; - multipleBackendAbortMPU( - args: MultipleBackendAbortMPUCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: MultipleBackendAbortMPUCommandOutput) => void - ): void; - - /** - * @see {@link MultipleBackendCompleteMPUCommand} - */ - multipleBackendCompleteMPU( - args: MultipleBackendCompleteMPUCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - multipleBackendCompleteMPU( - args: MultipleBackendCompleteMPUCommandInput, - cb: (err: any, data?: MultipleBackendCompleteMPUCommandOutput) => void - ): void; - multipleBackendCompleteMPU( - args: MultipleBackendCompleteMPUCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: MultipleBackendCompleteMPUCommandOutput) => void - ): void; - - /** - * @see {@link MultipleBackendDeleteObjectCommand} - */ - multipleBackendDeleteObject( - args: MultipleBackendDeleteObjectCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - multipleBackendDeleteObject( - args: MultipleBackendDeleteObjectCommandInput, - cb: (err: any, data?: MultipleBackendDeleteObjectCommandOutput) => void - ): void; - multipleBackendDeleteObject( - args: MultipleBackendDeleteObjectCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: MultipleBackendDeleteObjectCommandOutput) => void - ): void; - - /** - * @see {@link MultipleBackendDeleteObjectTaggingCommand} - */ - multipleBackendDeleteObjectTagging( - args: MultipleBackendDeleteObjectTaggingCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - multipleBackendDeleteObjectTagging( - args: MultipleBackendDeleteObjectTaggingCommandInput, - cb: (err: any, data?: MultipleBackendDeleteObjectTaggingCommandOutput) => void - ): void; - multipleBackendDeleteObjectTagging( - args: MultipleBackendDeleteObjectTaggingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: MultipleBackendDeleteObjectTaggingCommandOutput) => void - ): void; - - /** - * @see {@link MultipleBackendHeadObjectCommand} - */ - multipleBackendHeadObject( - args: MultipleBackendHeadObjectCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - multipleBackendHeadObject( - args: MultipleBackendHeadObjectCommandInput, - cb: (err: any, data?: MultipleBackendHeadObjectCommandOutput) => void - ): void; - multipleBackendHeadObject( - args: MultipleBackendHeadObjectCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: MultipleBackendHeadObjectCommandOutput) => void - ): void; - - /** - * @see {@link MultipleBackendInitiateMPUCommand} - */ - multipleBackendInitiateMPU( - args: MultipleBackendInitiateMPUCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - multipleBackendInitiateMPU( - args: MultipleBackendInitiateMPUCommandInput, - cb: (err: any, data?: MultipleBackendInitiateMPUCommandOutput) => void - ): void; - multipleBackendInitiateMPU( - args: MultipleBackendInitiateMPUCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: MultipleBackendInitiateMPUCommandOutput) => void - ): void; - - /** - * @see {@link MultipleBackendPutMPUPartCommand} - */ - multipleBackendPutMPUPart( - args: MultipleBackendPutMPUPartCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - multipleBackendPutMPUPart( - args: MultipleBackendPutMPUPartCommandInput, - cb: (err: any, data?: MultipleBackendPutMPUPartCommandOutput) => void - ): void; - multipleBackendPutMPUPart( - args: MultipleBackendPutMPUPartCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: MultipleBackendPutMPUPartCommandOutput) => void - ): void; - - /** - * @see {@link MultipleBackendPutObjectCommand} - */ - multipleBackendPutObject( - args: MultipleBackendPutObjectCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - multipleBackendPutObject( - args: MultipleBackendPutObjectCommandInput, - cb: (err: any, data?: MultipleBackendPutObjectCommandOutput) => void - ): void; - multipleBackendPutObject( - args: MultipleBackendPutObjectCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: MultipleBackendPutObjectCommandOutput) => void - ): void; - - /** - * @see {@link MultipleBackendPutObjectTaggingCommand} - */ - multipleBackendPutObjectTagging( - args: MultipleBackendPutObjectTaggingCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - multipleBackendPutObjectTagging( - args: MultipleBackendPutObjectTaggingCommandInput, - cb: (err: any, data?: MultipleBackendPutObjectTaggingCommandOutput) => void - ): void; - multipleBackendPutObjectTagging( - args: MultipleBackendPutObjectTaggingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: MultipleBackendPutObjectTaggingCommandOutput) => void - ): void; - - /** - * @see {@link PutBucketIndexesCommand} - */ - putBucketIndexes( - args: PutBucketIndexesCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - putBucketIndexes( - args: PutBucketIndexesCommandInput, - cb: (err: any, data?: PutBucketIndexesCommandOutput) => void - ): void; - putBucketIndexes( - args: PutBucketIndexesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutBucketIndexesCommandOutput) => void - ): void; - - /** - * @see {@link PutDataCommand} - */ - putData( - args: PutDataCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - putData( - args: PutDataCommandInput, - cb: (err: any, data?: PutDataCommandOutput) => void - ): void; - putData( - args: PutDataCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutDataCommandOutput) => void - ): void; - - /** - * @see {@link PutMetadataCommand} - */ - putMetadata( - args: PutMetadataCommandInput, - options?: __HttpHandlerOptions, - ): Promise; - putMetadata( - args: PutMetadataCommandInput, - cb: (err: any, data?: PutMetadataCommandOutput) => void - ): void; - putMetadata( - args: PutMetadataCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutMetadataCommandOutput) => void - ): void; - -} - -/** - * @public - */ -export class Cloudserver extends CloudserverClient implements Cloudserver {} -createAggregatedClient(commands, Cloudserver); diff --git a/build/smithy/source/typescript-codegen/src/CloudserverClient.ts b/build/smithy/source/typescript-codegen/src/CloudserverClient.ts deleted file mode 100644 index b235bee9..00000000 --- a/build/smithy/source/typescript-codegen/src/CloudserverClient.ts +++ /dev/null @@ -1,518 +0,0 @@ -// smithy-typescript generated code -import { - HttpAuthSchemeInputConfig, - HttpAuthSchemeResolvedConfig, - defaultCloudserverHttpAuthSchemeParametersProvider, - resolveHttpAuthSchemeConfig, -} from "./auth/httpAuthSchemeProvider"; -import { - BatchDeleteCommandInput, - BatchDeleteCommandOutput, -} from "./commands/BatchDeleteCommand"; -import { - DeleteBucketIndexesCommandInput, - DeleteBucketIndexesCommandOutput, -} from "./commands/DeleteBucketIndexesCommand"; -import { - DeleteObjectFromExpirationCommandInput, - DeleteObjectFromExpirationCommandOutput, -} from "./commands/DeleteObjectFromExpirationCommand"; -import { - GetBucketCseqCommandInput, - GetBucketCseqCommandOutput, -} from "./commands/GetBucketCseqCommand"; -import { - GetBucketIndexesCommandInput, - GetBucketIndexesCommandOutput, -} from "./commands/GetBucketIndexesCommand"; -import { - GetBucketMetadataCommandInput, - GetBucketMetadataCommandOutput, -} from "./commands/GetBucketMetadataCommand"; -import { - GetMetadataCommandInput, - GetMetadataCommandOutput, -} from "./commands/GetMetadataCommand"; -import { - GetObjectCommandInput, - GetObjectCommandOutput, -} from "./commands/GetObjectCommand"; -import { - GetObjectListCommandInput, - GetObjectListCommandOutput, -} from "./commands/GetObjectListCommand"; -import { - GetRaftBucketsCommandInput, - GetRaftBucketsCommandOutput, -} from "./commands/GetRaftBucketsCommand"; -import { - GetRaftIdCommandInput, - GetRaftIdCommandOutput, -} from "./commands/GetRaftIdCommand"; -import { - GetRaftLogCommandInput, - GetRaftLogCommandOutput, -} from "./commands/GetRaftLogCommand"; -import { - ListLifecycleCurrentsCommandInput, - ListLifecycleCurrentsCommandOutput, -} from "./commands/ListLifecycleCurrentsCommand"; -import { - ListLifecycleNonCurrentsCommandInput, - ListLifecycleNonCurrentsCommandOutput, -} from "./commands/ListLifecycleNonCurrentsCommand"; -import { - ListLifecycleOrphansCommandInput, - ListLifecycleOrphansCommandOutput, -} from "./commands/ListLifecycleOrphansCommand"; -import { - MultipleBackendAbortMPUCommandInput, - MultipleBackendAbortMPUCommandOutput, -} from "./commands/MultipleBackendAbortMPUCommand"; -import { - MultipleBackendCompleteMPUCommandInput, - MultipleBackendCompleteMPUCommandOutput, -} from "./commands/MultipleBackendCompleteMPUCommand"; -import { - MultipleBackendDeleteObjectCommandInput, - MultipleBackendDeleteObjectCommandOutput, -} from "./commands/MultipleBackendDeleteObjectCommand"; -import { - MultipleBackendDeleteObjectTaggingCommandInput, - MultipleBackendDeleteObjectTaggingCommandOutput, -} from "./commands/MultipleBackendDeleteObjectTaggingCommand"; -import { - MultipleBackendHeadObjectCommandInput, - MultipleBackendHeadObjectCommandOutput, -} from "./commands/MultipleBackendHeadObjectCommand"; -import { - MultipleBackendInitiateMPUCommandInput, - MultipleBackendInitiateMPUCommandOutput, -} from "./commands/MultipleBackendInitiateMPUCommand"; -import { - MultipleBackendPutMPUPartCommandInput, - MultipleBackendPutMPUPartCommandOutput, -} from "./commands/MultipleBackendPutMPUPartCommand"; -import { - MultipleBackendPutObjectCommandInput, - MultipleBackendPutObjectCommandOutput, -} from "./commands/MultipleBackendPutObjectCommand"; -import { - MultipleBackendPutObjectTaggingCommandInput, - MultipleBackendPutObjectTaggingCommandOutput, -} from "./commands/MultipleBackendPutObjectTaggingCommand"; -import { - PutBucketIndexesCommandInput, - PutBucketIndexesCommandOutput, -} from "./commands/PutBucketIndexesCommand"; -import { - PutDataCommandInput, - PutDataCommandOutput, -} from "./commands/PutDataCommand"; -import { - PutMetadataCommandInput, - PutMetadataCommandOutput, -} from "./commands/PutMetadataCommand"; -import { - ClientInputEndpointParameters, - ClientResolvedEndpointParameters, - EndpointParameters, - resolveClientEndpointParameters, -} from "./endpoint/EndpointParameters"; -import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; -import { - RuntimeExtension, - RuntimeExtensionsConfig, - resolveRuntimeExtensions, -} from "./runtimeExtensions"; -import { - HostHeaderInputConfig, - HostHeaderResolvedConfig, - getHostHeaderPlugin, - resolveHostHeaderConfig, -} from "@aws-sdk/middleware-host-header"; -import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; -import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; -import { - UserAgentInputConfig, - UserAgentResolvedConfig, - getUserAgentPlugin, - resolveUserAgentConfig, -} from "@aws-sdk/middleware-user-agent"; -import { - DefaultAwsRegionalEndpointsInputConfig, - DefaultAwsRegionalEndpointsResolvedConfig, - resolveDefaultAwsRegionalEndpointsConfig, -} from "@aws-sdk/util-endpoints"; -import { - RegionInputConfig, - RegionResolvedConfig, - resolveRegionConfig, -} from "@smithy/config-resolver"; -import { - DefaultIdentityProviderConfig, - getHttpAuthSchemeEndpointRuleSetPlugin, - getHttpSigningPlugin, -} from "@smithy/core"; -import { getContentLengthPlugin } from "@smithy/middleware-content-length"; -import { - EndpointInputConfig, - EndpointResolvedConfig, - resolveEndpointConfig, -} from "@smithy/middleware-endpoint"; -import { - RetryInputConfig, - RetryResolvedConfig, - getRetryPlugin, - resolveRetryConfig, -} from "@smithy/middleware-retry"; -import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; -import { - Client as __Client, - DefaultsMode as __DefaultsMode, - SmithyConfiguration as __SmithyConfiguration, - SmithyResolvedConfiguration as __SmithyResolvedConfiguration, -} from "@smithy/smithy-client"; -import { - AwsCredentialIdentityProvider, - Provider, - BodyLengthCalculator as __BodyLengthCalculator, - CheckOptionalClientConfig as __CheckOptionalClientConfig, - ChecksumConstructor as __ChecksumConstructor, - Decoder as __Decoder, - Encoder as __Encoder, - EndpointV2 as __EndpointV2, - HashConstructor as __HashConstructor, - HttpHandlerOptions as __HttpHandlerOptions, - Logger as __Logger, - Provider as __Provider, - SdkStreamMixinInjector as __SdkStreamMixinInjector, - StreamCollector as __StreamCollector, - UrlParser as __UrlParser, - UserAgent as __UserAgent, -} from "@smithy/types"; - -export { __Client } - -/** - * @public - */ -export type ServiceInputTypes = - | BatchDeleteCommandInput - | DeleteBucketIndexesCommandInput - | DeleteObjectFromExpirationCommandInput - | GetBucketCseqCommandInput - | GetBucketIndexesCommandInput - | GetBucketMetadataCommandInput - | GetMetadataCommandInput - | GetObjectCommandInput - | GetObjectListCommandInput - | GetRaftBucketsCommandInput - | GetRaftIdCommandInput - | GetRaftLogCommandInput - | ListLifecycleCurrentsCommandInput - | ListLifecycleNonCurrentsCommandInput - | ListLifecycleOrphansCommandInput - | MultipleBackendAbortMPUCommandInput - | MultipleBackendCompleteMPUCommandInput - | MultipleBackendDeleteObjectCommandInput - | MultipleBackendDeleteObjectTaggingCommandInput - | MultipleBackendHeadObjectCommandInput - | MultipleBackendInitiateMPUCommandInput - | MultipleBackendPutMPUPartCommandInput - | MultipleBackendPutObjectCommandInput - | MultipleBackendPutObjectTaggingCommandInput - | PutBucketIndexesCommandInput - | PutDataCommandInput - | PutMetadataCommandInput; - -/** - * @public - */ -export type ServiceOutputTypes = - | BatchDeleteCommandOutput - | DeleteBucketIndexesCommandOutput - | DeleteObjectFromExpirationCommandOutput - | GetBucketCseqCommandOutput - | GetBucketIndexesCommandOutput - | GetBucketMetadataCommandOutput - | GetMetadataCommandOutput - | GetObjectCommandOutput - | GetObjectListCommandOutput - | GetRaftBucketsCommandOutput - | GetRaftIdCommandOutput - | GetRaftLogCommandOutput - | ListLifecycleCurrentsCommandOutput - | ListLifecycleNonCurrentsCommandOutput - | ListLifecycleOrphansCommandOutput - | MultipleBackendAbortMPUCommandOutput - | MultipleBackendCompleteMPUCommandOutput - | MultipleBackendDeleteObjectCommandOutput - | MultipleBackendDeleteObjectTaggingCommandOutput - | MultipleBackendHeadObjectCommandOutput - | MultipleBackendInitiateMPUCommandOutput - | MultipleBackendPutMPUPartCommandOutput - | MultipleBackendPutObjectCommandOutput - | MultipleBackendPutObjectTaggingCommandOutput - | PutBucketIndexesCommandOutput - | PutDataCommandOutput - | PutMetadataCommandOutput; - -/** - * @public - */ -export interface ClientDefaults - extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { - /** - * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. - */ - requestHandler?: __HttpHandlerUserInput; - - /** - * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface - * that computes the SHA-256 HMAC or checksum of a string or binary buffer. - * @internal - */ - sha256?: __ChecksumConstructor | __HashConstructor; - - /** - * The function that will be used to convert strings into HTTP endpoints. - * @internal - */ - urlParser?: __UrlParser; - - /** - * A function that can calculate the length of a request body. - * @internal - */ - bodyLengthChecker?: __BodyLengthCalculator; - - /** - * A function that converts a stream into an array of bytes. - * @internal - */ - streamCollector?: __StreamCollector; - - /** - * The function that will be used to convert a base64-encoded string to a byte array. - * @internal - */ - base64Decoder?: __Decoder; - - /** - * The function that will be used to convert binary data to a base64-encoded string. - * @internal - */ - base64Encoder?: __Encoder; - - /** - * The function that will be used to convert a UTF8-encoded string to a byte array. - * @internal - */ - utf8Decoder?: __Decoder; - - /** - * The function that will be used to convert binary data to a UTF-8 encoded string. - * @internal - */ - utf8Encoder?: __Encoder; - - /** - * The runtime environment. - * @internal - */ - runtime?: string; - - /** - * Disable dynamically changing the endpoint of the client based on the hostPrefix - * trait of an operation. - */ - disableHostPrefix?: boolean; - - /** - * Unique service identifier. - * @internal - */ - serviceId?: string; - - /** - * Enables IPv6/IPv4 dualstack endpoint. - */ - useDualstackEndpoint?: boolean | __Provider; - - /** - * Enables FIPS compatible endpoints. - */ - useFipsEndpoint?: boolean | __Provider; - - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - - /** - * Setting a client profile is similar to setting a value for the - * AWS_PROFILE environment variable. Setting a profile on a client - * in code only affects the single client instance, unlike AWS_PROFILE. - * - * When set, and only for environments where an AWS configuration - * file exists, fields configurable by this file will be retrieved - * from the specified profile within that file. - * Conflicting code configuration and environment variables will - * still have higher priority. - * - * For client credential resolution that involves checking the AWS - * configuration file, the client's profile (this value) will be - * used unless a different profile is set in the credential - * provider options. - * - */ - profile?: string; - - /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal - */ - defaultUserAgentProvider?: Provider<__UserAgent>; - - /** - * Default credentials provider; Not available in browser runtime. - * @deprecated - * @internal - */ - credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; - - /** - * Value for how many times a request will be made at most in case of retry. - */ - maxAttempts?: number | __Provider; - - /** - * Specifies which retry algorithm to use. - * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ - * - */ - retryMode?: string | __Provider; - - /** - * Optional logger for logging debug/info/warn/error. - */ - logger?: __Logger; - - /** - * Optional extensions - */ - extensions?: RuntimeExtension[]; - - /** - * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. - */ - defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; - - /** - * The internal function that inject utilities to runtime-specific stream to help users consume the data - * @internal - */ - sdkStreamMixin?: __SdkStreamMixinInjector; - -} - -/** - * @public - */ -export type CloudserverClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> - & ClientDefaults - & UserAgentInputConfig - & RetryInputConfig - & RegionInputConfig - & HostHeaderInputConfig - & EndpointInputConfig - & DefaultAwsRegionalEndpointsInputConfig - & HttpAuthSchemeInputConfig - & ClientInputEndpointParameters -/** - * @public - * - * The configuration interface of CloudserverClient class constructor that set the region, credentials and other options. - */ -export interface CloudserverClientConfig extends CloudserverClientConfigType {} - -/** - * @public - */ -export type CloudserverClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> - & Required - & RuntimeExtensionsConfig - & UserAgentResolvedConfig - & RetryResolvedConfig - & RegionResolvedConfig - & HostHeaderResolvedConfig - & EndpointResolvedConfig - & DefaultAwsRegionalEndpointsResolvedConfig - & HttpAuthSchemeResolvedConfig - & ClientResolvedEndpointParameters -/** - * @public - * - * The resolved configuration interface of CloudserverClient class. This is resolved and normalized from the {@link CloudserverClientConfig | constructor configuration interface}. - */ -export interface CloudserverClientResolvedConfig extends CloudserverClientResolvedConfigType {} - -/** - * @public - */ -export class CloudserverClient extends __Client< - __HttpHandlerOptions, - ServiceInputTypes, - ServiceOutputTypes, - CloudserverClientResolvedConfig -> { - /** - * The resolved configuration of CloudserverClient class. This is resolved and normalized from the {@link CloudserverClientConfig | constructor configuration interface}. - */ - readonly config: CloudserverClientResolvedConfig; - - constructor(...[configuration]: __CheckOptionalClientConfig) { - let _config_0 = __getRuntimeConfig(configuration || {}); - super(_config_0 as any); - this.initConfig = _config_0; - let _config_1 = resolveClientEndpointParameters(_config_0); - let _config_2 = resolveUserAgentConfig(_config_1); - let _config_3 = resolveRetryConfig(_config_2); - let _config_4 = resolveRegionConfig(_config_3); - let _config_5 = resolveHostHeaderConfig(_config_4); - let _config_6 = resolveEndpointConfig(_config_5); - let _config_7 = resolveDefaultAwsRegionalEndpointsConfig(_config_6); - let _config_8 = resolveHttpAuthSchemeConfig(_config_7); - let _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []); - this.config = _config_9; - this.middlewareStack.use(getUserAgentPlugin(this.config - )); - this.middlewareStack.use(getRetryPlugin(this.config - )); - this.middlewareStack.use(getContentLengthPlugin(this.config - )); - this.middlewareStack.use(getHostHeaderPlugin(this.config - )); - this.middlewareStack.use(getLoggerPlugin(this.config - )); - this.middlewareStack.use(getRecursionDetectionPlugin(this.config - )); - this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config - , { - httpAuthSchemeParametersProvider: defaultCloudserverHttpAuthSchemeParametersProvider,identityProviderConfigProvider: async (config: CloudserverClientResolvedConfig) => new DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials,}), } - )); - this.middlewareStack.use(getHttpSigningPlugin(this.config - )); - } - - /** - * Destroy underlying resources, like sockets. It's usually not necessary to do this. - * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. - * Otherwise, sockets might stay open for quite a long time before the server terminates them. - */ - destroy(): void { - super.destroy(); - } -} diff --git a/build/smithy/source/typescript-codegen/src/auth/httpAuthExtensionConfiguration.ts b/build/smithy/source/typescript-codegen/src/auth/httpAuthExtensionConfiguration.ts deleted file mode 100644 index 50147675..00000000 --- a/build/smithy/source/typescript-codegen/src/auth/httpAuthExtensionConfiguration.ts +++ /dev/null @@ -1,73 +0,0 @@ -// smithy-typescript generated code -import { CloudserverHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; -import { - AwsCredentialIdentity, - AwsCredentialIdentityProvider, - HttpAuthScheme, -} from "@smithy/types"; - -/** - * @internal - */ -export interface HttpAuthExtensionConfiguration { - setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; - httpAuthSchemes(): HttpAuthScheme[]; - setHttpAuthSchemeProvider(httpAuthSchemeProvider: CloudserverHttpAuthSchemeProvider): void; - httpAuthSchemeProvider(): CloudserverHttpAuthSchemeProvider; - setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; - credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; -} - -/** - * @internal - */ -export type HttpAuthRuntimeConfig = Partial<{ - httpAuthSchemes: HttpAuthScheme[]; - httpAuthSchemeProvider: CloudserverHttpAuthSchemeProvider; - credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; -}>; - -/** - * @internal - */ -export const getHttpAuthExtensionConfiguration = (runtimeConfig: HttpAuthRuntimeConfig): HttpAuthExtensionConfiguration => { - let _httpAuthSchemes = runtimeConfig.httpAuthSchemes!; - let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider!; - let _credentials = runtimeConfig.credentials; - return { - setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void { - const index = _httpAuthSchemes.findIndex(scheme => scheme.schemeId === httpAuthScheme.schemeId); - if (index === -1) { - _httpAuthSchemes.push(httpAuthScheme); - } else { - _httpAuthSchemes.splice(index, 1, httpAuthScheme); - } - }, - httpAuthSchemes(): HttpAuthScheme[] { - return _httpAuthSchemes; - }, - setHttpAuthSchemeProvider(httpAuthSchemeProvider: CloudserverHttpAuthSchemeProvider): void { - _httpAuthSchemeProvider = httpAuthSchemeProvider; - }, - httpAuthSchemeProvider(): CloudserverHttpAuthSchemeProvider { - return _httpAuthSchemeProvider; - }, - setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void { - _credentials = credentials; - }, - credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined { - return _credentials; - }, - } -}; - -/** - * @internal - */ -export const resolveHttpAuthRuntimeConfig = (config: HttpAuthExtensionConfiguration): HttpAuthRuntimeConfig => { - return { - httpAuthSchemes: config.httpAuthSchemes(), - httpAuthSchemeProvider: config.httpAuthSchemeProvider(), - credentials: config.credentials(), - }; -}; diff --git a/build/smithy/source/typescript-codegen/src/auth/httpAuthSchemeProvider.ts b/build/smithy/source/typescript-codegen/src/auth/httpAuthSchemeProvider.ts deleted file mode 100644 index c7065ac0..00000000 --- a/build/smithy/source/typescript-codegen/src/auth/httpAuthSchemeProvider.ts +++ /dev/null @@ -1,149 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientConfig, - CloudserverClientResolvedConfig, -} from "../CloudserverClient"; -import { - AwsSdkSigV4AuthInputConfig, - AwsSdkSigV4AuthResolvedConfig, - AwsSdkSigV4PreviouslyResolved, - resolveAwsSdkSigV4Config, -} from "@aws-sdk/core"; -import { - HandlerExecutionContext, - HttpAuthOption, - HttpAuthScheme, - HttpAuthSchemeParameters, - HttpAuthSchemeParametersProvider, - HttpAuthSchemeProvider, - Provider, -} from "@smithy/types"; -import { - getSmithyContext, - normalizeProvider, -} from "@smithy/util-middleware"; - -/** - * @internal - */ -export interface CloudserverHttpAuthSchemeParameters extends HttpAuthSchemeParameters { - region?: string; -} - -/** - * @internal - */ -export interface CloudserverHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider {} - -/** - * @internal - */ -export const defaultCloudserverHttpAuthSchemeParametersProvider = async (config: CloudserverClientResolvedConfig, context: HandlerExecutionContext, input: object): Promise => { - return { - operation: getSmithyContext(context).operation as string, - region: await normalizeProvider(config.region)() || (() => { - throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); - })(), - }; -}; - -function createAwsAuthSigv4HttpAuthOption(authParameters: CloudserverHttpAuthSchemeParameters): HttpAuthOption { - return { - schemeId: "aws.auth#sigv4", - signingProperties: { - name: "s3", - region: authParameters.region, - }, - propertiesExtractor: (config: Partial, context) => ({ - /** - * @internal - */ - signingProperties: { - config, - context, - }, - }), - }; -}; - -/** - * @internal - */ -export interface CloudserverHttpAuthSchemeProvider extends HttpAuthSchemeProvider {} - -/** - * @internal - */ -export const defaultCloudserverHttpAuthSchemeProvider: CloudserverHttpAuthSchemeProvider = (authParameters) => { - const options: HttpAuthOption[] = []; - switch (authParameters.operation) { - default: { - options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); - }; - }; - return options; -}; - -/** - * @internal - */ -export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { - /** - * A comma-separated list of case-sensitive auth scheme names. - * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. - * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. - * @public - */ - authSchemePreference?: string[] | Provider; - - /** - * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. - * @internal - */ - httpAuthSchemes?: HttpAuthScheme[]; - - /** - * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. - * @internal - */ - httpAuthSchemeProvider?: CloudserverHttpAuthSchemeProvider; - -} - -/** - * @internal - */ -export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { - /** - * A comma-separated list of case-sensitive auth scheme names. - * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. - * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. - * @public - */ - readonly authSchemePreference: Provider; - - /** - * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. - * @internal - */ - readonly httpAuthSchemes: HttpAuthScheme[]; - - /** - * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. - * @internal - */ - readonly httpAuthSchemeProvider: CloudserverHttpAuthSchemeProvider; - -} - -/** - * @internal - */ -export const resolveHttpAuthSchemeConfig = (config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved): T & HttpAuthSchemeResolvedConfig => { - const config_0 = resolveAwsSdkSigV4Config(config - ); - return Object.assign( - config_0, { - authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), - }) as T & HttpAuthSchemeResolvedConfig; -}; diff --git a/build/smithy/source/typescript-codegen/src/commands/BatchDeleteCommand.ts b/build/smithy/source/typescript-codegen/src/commands/BatchDeleteCommand.ts deleted file mode 100644 index a1dacda9..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/BatchDeleteCommand.ts +++ /dev/null @@ -1,110 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - BatchDeleteInput, - BatchDeleteOutput, -} from "../models/models_0"; -import { - de_BatchDeleteCommand, - se_BatchDeleteCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link BatchDeleteCommand}. - */ -export interface BatchDeleteCommandInput extends BatchDeleteInput {} -/** - * @public - * - * The output of {@link BatchDeleteCommand}. - */ -export interface BatchDeleteCommandOutput extends BatchDeleteOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, BatchDeleteCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, BatchDeleteCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // BatchDeleteInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * IfUnmodifiedSince: "STRING_VALUE", - * StorageClass: "STRING_VALUE", - * Tags: "STRING_VALUE", - * ContentType: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Locations: [ // BatchDeleteLocationList - * { // BatchDeleteLocation - * dataStoreName: "STRING_VALUE", - * key: "STRING_VALUE", - * size: Number("int"), - * dataStoreVersionId: "STRING_VALUE", - * }, - * ], - * }; - * const command = new BatchDeleteCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param BatchDeleteCommandInput - {@link BatchDeleteCommandInput} - * @returns {@link BatchDeleteCommandOutput} - * @see {@link BatchDeleteCommandInput} for command's `input` shape. - * @see {@link BatchDeleteCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class BatchDeleteCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "BatchDelete", { - - }) - .n("CloudserverClient", "BatchDeleteCommand") - .f(void 0, void 0) - .ser(se_BatchDeleteCommand) - .de(de_BatchDeleteCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: BatchDeleteInput; - output: {}; - }; - sdk: { - input: BatchDeleteCommandInput; - output: BatchDeleteCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/DeleteBucketIndexesCommand.ts b/build/smithy/source/typescript-codegen/src/commands/DeleteBucketIndexesCommand.ts deleted file mode 100644 index 5b9e97ab..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/DeleteBucketIndexesCommand.ts +++ /dev/null @@ -1,108 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DeleteBucketIndexesInput, - DeleteBucketIndexesOutput, -} from "../models/models_0"; -import { - de_DeleteBucketIndexesCommand, - se_DeleteBucketIndexesCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - BlobPayloadInputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type DeleteBucketIndexesCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; - -/** - * @public - * - * The input for {@link DeleteBucketIndexesCommand}. - */ -export interface DeleteBucketIndexesCommandInput extends DeleteBucketIndexesCommandInputType {} -/** - * @public - * - * The output of {@link DeleteBucketIndexesCommand}. - */ -export interface DeleteBucketIndexesCommandOutput extends DeleteBucketIndexesOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, DeleteBucketIndexesCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, DeleteBucketIndexesCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // DeleteBucketIndexesInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new DeleteBucketIndexesCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteBucketIndexesCommandInput - {@link DeleteBucketIndexesCommandInput} - * @returns {@link DeleteBucketIndexesCommandOutput} - * @see {@link DeleteBucketIndexesCommandInput} for command's `input` shape. - * @see {@link DeleteBucketIndexesCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class DeleteBucketIndexesCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "DeleteBucketIndexes", { - - }) - .n("CloudserverClient", "DeleteBucketIndexesCommand") - .f(void 0, void 0) - .ser(se_DeleteBucketIndexesCommand) - .de(de_DeleteBucketIndexesCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: DeleteBucketIndexesInput; - output: {}; - }; - sdk: { - input: DeleteBucketIndexesCommandInput; - output: DeleteBucketIndexesCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/DeleteObjectFromExpirationCommand.ts b/build/smithy/source/typescript-codegen/src/commands/DeleteObjectFromExpirationCommand.ts deleted file mode 100644 index f6838085..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/DeleteObjectFromExpirationCommand.ts +++ /dev/null @@ -1,101 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - DeleteObjectFromExpirationInput, - DeleteObjectFromExpirationOutput, -} from "../models/models_0"; -import { - de_DeleteObjectFromExpirationCommand, - se_DeleteObjectFromExpirationCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteObjectFromExpirationCommand}. - */ -export interface DeleteObjectFromExpirationCommandInput extends DeleteObjectFromExpirationInput {} -/** - * @public - * - * The output of {@link DeleteObjectFromExpirationCommand}. - */ -export interface DeleteObjectFromExpirationCommandOutput extends DeleteObjectFromExpirationOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, DeleteObjectFromExpirationCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, DeleteObjectFromExpirationCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // DeleteObjectFromExpirationInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * VersionId: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new DeleteObjectFromExpirationCommand(input); - * const response = await client.send(command); - * // { // DeleteObjectFromExpirationOutput - * // versionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param DeleteObjectFromExpirationCommandInput - {@link DeleteObjectFromExpirationCommandInput} - * @returns {@link DeleteObjectFromExpirationCommandOutput} - * @see {@link DeleteObjectFromExpirationCommandInput} for command's `input` shape. - * @see {@link DeleteObjectFromExpirationCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class DeleteObjectFromExpirationCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "DeleteObjectFromExpiration", { - - }) - .n("CloudserverClient", "DeleteObjectFromExpirationCommand") - .f(void 0, void 0) - .ser(se_DeleteObjectFromExpirationCommand) - .de(de_DeleteObjectFromExpirationCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: DeleteObjectFromExpirationInput; - output: DeleteObjectFromExpirationOutput; - }; - sdk: { - input: DeleteObjectFromExpirationCommandInput; - output: DeleteObjectFromExpirationCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/GetBucketCseqCommand.ts b/build/smithy/source/typescript-codegen/src/commands/GetBucketCseqCommand.ts deleted file mode 100644 index 2119cc92..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/GetBucketCseqCommand.ts +++ /dev/null @@ -1,99 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetBucketCseqInput, - GetBucketCseqOutput, -} from "../models/models_0"; -import { - de_GetBucketCseqCommand, - se_GetBucketCseqCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetBucketCseqCommand}. - */ -export interface GetBucketCseqCommandInput extends GetBucketCseqInput {} -/** - * @public - * - * The output of {@link GetBucketCseqCommand}. - */ -export interface GetBucketCseqCommandOutput extends GetBucketCseqOutput, __MetadataBearer {} - -/** - * Retrieves bucket sequence information - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetBucketCseqCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetBucketCseqCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetBucketCseqInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetBucketCseqCommand(input); - * const response = await client.send(command); - * // { // GetBucketCseqOutput - * // CseqInfo: "DOCUMENT_VALUE", - * // }; - * - * ``` - * - * @param GetBucketCseqCommandInput - {@link GetBucketCseqCommandInput} - * @returns {@link GetBucketCseqCommandOutput} - * @see {@link GetBucketCseqCommandInput} for command's `input` shape. - * @see {@link GetBucketCseqCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class GetBucketCseqCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "GetBucketCseq", { - - }) - .n("CloudserverClient", "GetBucketCseqCommand") - .f(void 0, void 0) - .ser(se_GetBucketCseqCommand) - .de(de_GetBucketCseqCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: GetBucketCseqInput; - output: GetBucketCseqOutput; - }; - sdk: { - input: GetBucketCseqCommandInput; - output: GetBucketCseqCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/GetBucketIndexesCommand.ts b/build/smithy/source/typescript-codegen/src/commands/GetBucketIndexesCommand.ts deleted file mode 100644 index 4a442c98..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/GetBucketIndexesCommand.ts +++ /dev/null @@ -1,109 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetBucketIndexesInput, - GetBucketIndexesOutput, -} from "../models/models_0"; -import { - de_GetBucketIndexesCommand, - se_GetBucketIndexesCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetBucketIndexesCommand}. - */ -export interface GetBucketIndexesCommandInput extends GetBucketIndexesInput {} -/** - * @public - * - * The output of {@link GetBucketIndexesCommand}. - */ -export interface GetBucketIndexesCommandOutput extends GetBucketIndexesOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetBucketIndexesCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetBucketIndexesCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetBucketIndexesInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetBucketIndexesCommand(input); - * const response = await client.send(command); - * // { // GetBucketIndexesOutput - * // Indexes: [ // IndexList - * // { // Index - * // name: "STRING_VALUE", - * // keys: [ // IndexKeyList - * // { // IndexKey - * // order: Number("int"), - * // key: "STRING_VALUE", - * // }, - * // ], - * // }, - * // ], - * // }; - * - * ``` - * - * @param GetBucketIndexesCommandInput - {@link GetBucketIndexesCommandInput} - * @returns {@link GetBucketIndexesCommandOutput} - * @see {@link GetBucketIndexesCommandInput} for command's `input` shape. - * @see {@link GetBucketIndexesCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class GetBucketIndexesCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "GetBucketIndexes", { - - }) - .n("CloudserverClient", "GetBucketIndexesCommand") - .f(void 0, void 0) - .ser(se_GetBucketIndexesCommand) - .de(de_GetBucketIndexesCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: GetBucketIndexesInput; - output: GetBucketIndexesOutput; - }; - sdk: { - input: GetBucketIndexesCommandInput; - output: GetBucketIndexesCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/GetBucketMetadataCommand.ts b/build/smithy/source/typescript-codegen/src/commands/GetBucketMetadataCommand.ts deleted file mode 100644 index bed294af..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/GetBucketMetadataCommand.ts +++ /dev/null @@ -1,152 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetBucketMetadataInput, - GetBucketMetadataOutput, -} from "../models/models_0"; -import { - de_GetBucketMetadataCommand, - se_GetBucketMetadataCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetBucketMetadataCommand}. - */ -export interface GetBucketMetadataCommandInput extends GetBucketMetadataInput {} -/** - * @public - * - * The output of {@link GetBucketMetadataCommand}. - */ -export interface GetBucketMetadataCommandOutput extends GetBucketMetadataOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetBucketMetadataCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetBucketMetadataCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetBucketMetadataInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetBucketMetadataCommand(input); - * const response = await client.send(command); - * // { // GetBucketMetadataOutput - * // acl: { // AclObj - * // Canned: "STRING_VALUE", - * // FULL_CONTROL: [ // StringList - * // "STRING_VALUE", - * // ], - * // WRITE: [ - * // "STRING_VALUE", - * // ], - * // WRITE_ACP: [ - * // "STRING_VALUE", - * // ], - * // READ: [ - * // "STRING_VALUE", - * // ], - * // READ_ACP: [ - * // "STRING_VALUE", - * // ], - * // }, - * // name: "STRING_VALUE", - * // owner: "STRING_VALUE", - * // ownerDisplayName: "STRING_VALUE", - * // creationDate: "STRING_VALUE", - * // mdBucketModelVersion: Number("int"), - * // transient: true || false, - * // deleted: true || false, - * // serverSideEncryption: { // ServerSideEncryptionMap - * // "": "STRING_VALUE", - * // }, - * // versioningConfiguration: { // VersioningConfigurationObj - * // "": "STRING_VALUE", - * // }, - * // locationConstraint: "STRING_VALUE", - * // readLocationConstraint: "STRING_VALUE", - * // cors: [ // CorsListObj - * // { // CorsObj - * // "": "STRING_VALUE", - * // }, - * // ], - * // replicationConfiguration: { // ReplicationConfigurationObj - * // "": "STRING_VALUE", - * // }, - * // lifecycleConfiguration: { // LifecycleConfigurationObj - * // Rules: [ // LifecycleRuleList - * // { // LCRuleObj - * // ID: "STRING_VALUE", - * // Status: "Enabled" || "Disabled", - * // Prefix: "STRING_VALUE", - * // Expiration: { // ExpirationConfiguration - * // Days: Number("int"), - * // }, - * // }, - * // ], - * // }, - * // uid: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetBucketMetadataCommandInput - {@link GetBucketMetadataCommandInput} - * @returns {@link GetBucketMetadataCommandOutput} - * @see {@link GetBucketMetadataCommandInput} for command's `input` shape. - * @see {@link GetBucketMetadataCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class GetBucketMetadataCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "GetBucketMetadata", { - - }) - .n("CloudserverClient", "GetBucketMetadataCommand") - .f(void 0, void 0) - .ser(se_GetBucketMetadataCommand) - .de(de_GetBucketMetadataCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: GetBucketMetadataInput; - output: GetBucketMetadataOutput; - }; - sdk: { - input: GetBucketMetadataCommandInput; - output: GetBucketMetadataCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/GetMetadataCommand.ts b/build/smithy/source/typescript-codegen/src/commands/GetMetadataCommand.ts deleted file mode 100644 index f4591b12..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/GetMetadataCommand.ts +++ /dev/null @@ -1,101 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetMetadataInput, - GetMetadataOutput, -} from "../models/models_0"; -import { - de_GetMetadataCommand, - se_GetMetadataCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetMetadataCommand}. - */ -export interface GetMetadataCommandInput extends GetMetadataInput {} -/** - * @public - * - * The output of {@link GetMetadataCommand}. - */ -export interface GetMetadataCommandOutput extends GetMetadataOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetMetadataCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetMetadataCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetMetadataInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * VersionId: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetMetadataCommand(input); - * const response = await client.send(command); - * // { // GetMetadataOutput - * // Body: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetMetadataCommandInput - {@link GetMetadataCommandInput} - * @returns {@link GetMetadataCommandOutput} - * @see {@link GetMetadataCommandInput} for command's `input` shape. - * @see {@link GetMetadataCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class GetMetadataCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "GetMetadata", { - - }) - .n("CloudserverClient", "GetMetadataCommand") - .f(void 0, void 0) - .ser(se_GetMetadataCommand) - .de(de_GetMetadataCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: GetMetadataInput; - output: GetMetadataOutput; - }; - sdk: { - input: GetMetadataCommandInput; - output: GetMetadataCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/GetObjectCommand.ts b/build/smithy/source/typescript-codegen/src/commands/GetObjectCommand.ts deleted file mode 100644 index f7782c06..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/GetObjectCommand.ts +++ /dev/null @@ -1,158 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetObjectInput, - GetObjectInputFilterSensitiveLog, - GetObjectOutput, - GetObjectOutputFilterSensitiveLog, -} from "../models/models_0"; -import { - de_GetObjectCommand, - se_GetObjectCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - StreamingBlobPayloadOutputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetObjectCommand}. - */ -export interface GetObjectCommandInput extends GetObjectInput {} -/** - * @public - * - * The output of {@link GetObjectCommand}. - */ -export interface GetObjectCommandOutput extends Omit, __MetadataBearer { - Body: StreamingBlobPayloadOutputTypes; -} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetObjectCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetObjectCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetObjectInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * IfMatch: "STRING_VALUE", - * IfModifiedSince: new Date("TIMESTAMP"), - * IfNoneMatch: "STRING_VALUE", - * IfUnmodifiedSince: new Date("TIMESTAMP"), - * Range: "STRING_VALUE", - * ResponseCacheControl: "STRING_VALUE", - * ResponseContentDisposition: "STRING_VALUE", - * ResponseContentEncoding: "STRING_VALUE", - * ResponseContentLanguage: "STRING_VALUE", - * ResponseContentType: "STRING_VALUE", - * ResponseExpires: new Date("TIMESTAMP"), - * VersionId: "STRING_VALUE", - * SSECustomerAlgorithm: "STRING_VALUE", - * SSECustomerKey: "STRING_VALUE", - * SSECustomerKeyMD5: "STRING_VALUE", - * RequestPayer: "STRING_VALUE", - * PartNumber: Number("int"), - * LocationConstraint: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetObjectCommand(input); - * const response = await client.send(command); - * // consume or destroy the stream to free the socket. - * const bytes = await response.Body.transformToByteArray(); - * // const str = await response.Body.transformToString(); - * // response.Body.destroy(); // only applicable to Node.js Readable streams. - * - * // { // GetObjectOutput - * // Body: "", // see \@smithy/types -> StreamingBlobPayloadOutputTypes // required - * // DeleteMarker: true || false, - * // AcceptRanges: "STRING_VALUE", - * // Expiration: "STRING_VALUE", - * // Restore: "STRING_VALUE", - * // LastModified: new Date("TIMESTAMP"), - * // ETag: "STRING_VALUE", - * // MissingMeta: Number("int"), - * // VersionId: "STRING_VALUE", - * // CacheControl: "STRING_VALUE", - * // ContentDisposition: "STRING_VALUE", - * // ContentEncoding: "STRING_VALUE", - * // ContentLanguage: "STRING_VALUE", - * // ContentRange: "STRING_VALUE", - * // ContentType: "STRING_VALUE", - * // Expires: new Date("TIMESTAMP"), - * // WebsiteRedirectLocation: "STRING_VALUE", - * // ServerSideEncryption: "STRING_VALUE", - * // Metadata: { // MetadataMap - * // "": "STRING_VALUE", - * // }, - * // SSECustomerAlgorithm: "STRING_VALUE", - * // SSECustomerKeyMD5: "STRING_VALUE", - * // SSEKMSKeyId: "STRING_VALUE", - * // StorageClass: "STRING_VALUE", - * // RequestCharged: "STRING_VALUE", - * // ReplicationStatus: "STRING_VALUE", - * // PartsCount: Number("int"), - * // TagCount: Number("int"), - * // }; - * - * ``` - * - * @param GetObjectCommandInput - {@link GetObjectCommandInput} - * @returns {@link GetObjectCommandOutput} - * @see {@link GetObjectCommandInput} for command's `input` shape. - * @see {@link GetObjectCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class GetObjectCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "GetObject", { - - }) - .n("CloudserverClient", "GetObjectCommand") - .f(GetObjectInputFilterSensitiveLog, GetObjectOutputFilterSensitiveLog) - .ser(se_GetObjectCommand) - .de(de_GetObjectCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: GetObjectInput; - output: GetObjectOutput; - }; - sdk: { - input: GetObjectCommandInput; - output: GetObjectCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/GetObjectListCommand.ts b/build/smithy/source/typescript-codegen/src/commands/GetObjectListCommand.ts deleted file mode 100644 index 78c388e9..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/GetObjectListCommand.ts +++ /dev/null @@ -1,109 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetObjectListInput, - GetObjectListOutput, -} from "../models/models_0"; -import { - de_GetObjectListCommand, - se_GetObjectListCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetObjectListCommand}. - */ -export interface GetObjectListCommandInput extends GetObjectListInput {} -/** - * @public - * - * The output of {@link GetObjectListCommand}. - */ -export interface GetObjectListCommandOutput extends GetObjectListOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetObjectListCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetObjectListCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetObjectListInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetObjectListCommand(input); - * const response = await client.send(command); - * // { // GetObjectListOutput - * // Contents: [ // ObjectMDList - * // { // ObjectMD - * // key: "STRING_VALUE", - * // value: "STRING_VALUE", - * // }, - * // ], - * // CommonPrefixes: [ // CommonPrefixList - * // "STRING_VALUE", - * // ], - * // IsTruncated: true || false, - * // Delimiter: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetObjectListCommandInput - {@link GetObjectListCommandInput} - * @returns {@link GetObjectListCommandOutput} - * @see {@link GetObjectListCommandInput} for command's `input` shape. - * @see {@link GetObjectListCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class GetObjectListCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "GetObjectList", { - - }) - .n("CloudserverClient", "GetObjectListCommand") - .f(void 0, void 0) - .ser(se_GetObjectListCommand) - .de(de_GetObjectListCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: GetObjectListInput; - output: GetObjectListOutput; - }; - sdk: { - input: GetObjectListCommandInput; - output: GetObjectListCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/GetRaftBucketsCommand.ts b/build/smithy/source/typescript-codegen/src/commands/GetRaftBucketsCommand.ts deleted file mode 100644 index 76d45823..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/GetRaftBucketsCommand.ts +++ /dev/null @@ -1,99 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetRaftBucketsInput, - GetRaftBucketsOutput, -} from "../models/models_0"; -import { - de_GetRaftBucketsCommand, - se_GetRaftBucketsCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetRaftBucketsCommand}. - */ -export interface GetRaftBucketsCommandInput extends GetRaftBucketsInput {} -/** - * @public - * - * The output of {@link GetRaftBucketsCommand}. - */ -export interface GetRaftBucketsCommandOutput extends GetRaftBucketsOutput, __MetadataBearer {} - -/** - * Retrieves buckets associated with a specific Raft log ID - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetRaftBucketsCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetRaftBucketsCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetRaftBucketsInput - * LogId: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetRaftBucketsCommand(input); - * const response = await client.send(command); - * // { // GetRaftBucketsOutput - * // Buckets: "DOCUMENT_VALUE", - * // }; - * - * ``` - * - * @param GetRaftBucketsCommandInput - {@link GetRaftBucketsCommandInput} - * @returns {@link GetRaftBucketsCommandOutput} - * @see {@link GetRaftBucketsCommandInput} for command's `input` shape. - * @see {@link GetRaftBucketsCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class GetRaftBucketsCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "GetRaftBuckets", { - - }) - .n("CloudserverClient", "GetRaftBucketsCommand") - .f(void 0, void 0) - .ser(se_GetRaftBucketsCommand) - .de(de_GetRaftBucketsCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: GetRaftBucketsInput; - output: GetRaftBucketsOutput; - }; - sdk: { - input: GetRaftBucketsCommandInput; - output: GetRaftBucketsCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/GetRaftIdCommand.ts b/build/smithy/source/typescript-codegen/src/commands/GetRaftIdCommand.ts deleted file mode 100644 index 21b8fbae..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/GetRaftIdCommand.ts +++ /dev/null @@ -1,99 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetRaftIdInput, - GetRaftIdOutput, -} from "../models/models_0"; -import { - de_GetRaftIdCommand, - se_GetRaftIdCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetRaftIdCommand}. - */ -export interface GetRaftIdCommandInput extends GetRaftIdInput {} -/** - * @public - * - * The output of {@link GetRaftIdCommand}. - */ -export interface GetRaftIdCommandOutput extends GetRaftIdOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetRaftIdCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetRaftIdCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetRaftIdInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetRaftIdCommand(input); - * const response = await client.send(command); - * // { // GetRaftIdOutput - * // RaftId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetRaftIdCommandInput - {@link GetRaftIdCommandInput} - * @returns {@link GetRaftIdCommandOutput} - * @see {@link GetRaftIdCommandInput} for command's `input` shape. - * @see {@link GetRaftIdCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class GetRaftIdCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "GetRaftId", { - - }) - .n("CloudserverClient", "GetRaftIdCommand") - .f(void 0, void 0) - .ser(se_GetRaftIdCommand) - .de(de_GetRaftIdCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: GetRaftIdInput; - output: GetRaftIdOutput; - }; - sdk: { - input: GetRaftIdCommandInput; - output: GetRaftIdCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/GetRaftLogCommand.ts b/build/smithy/source/typescript-codegen/src/commands/GetRaftLogCommand.ts deleted file mode 100644 index a96a03c2..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/GetRaftLogCommand.ts +++ /dev/null @@ -1,116 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - GetRaftLogInput, - GetRaftLogOutput, - GetRaftLogOutputFilterSensitiveLog, -} from "../models/models_0"; -import { - de_GetRaftLogCommand, - se_GetRaftLogCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - StreamingBlobPayloadOutputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetRaftLogCommand}. - */ -export interface GetRaftLogCommandInput extends GetRaftLogInput {} -/** - * @public - * - * The output of {@link GetRaftLogCommand}. - */ -export interface GetRaftLogCommandOutput extends Omit, __MetadataBearer { - Body: StreamingBlobPayloadOutputTypes; -} - -/** - * Retrieves Raft log entries for a specific log ID - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, GetRaftLogCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, GetRaftLogCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // GetRaftLogInput - * LogId: "STRING_VALUE", // required - * Begin: Number("int"), - * Limit: Number("int"), - * TargetLeader: true || false, - * RequestUids: "STRING_VALUE", - * }; - * const command = new GetRaftLogCommand(input); - * const response = await client.send(command); - * // consume or destroy the stream to free the socket. - * const bytes = await response.Body.transformToByteArray(); - * // const str = await response.Body.transformToString(); - * // response.Body.destroy(); // only applicable to Node.js Readable streams. - * - * // { // GetRaftLogOutput - * // Body: "", // see \@smithy/types -> StreamingBlobPayloadOutputTypes // required - * // Start: Number("int"), - * // Cseq: Number("int"), - * // Prune: Number("int"), - * // }; - * - * ``` - * - * @param GetRaftLogCommandInput - {@link GetRaftLogCommandInput} - * @returns {@link GetRaftLogCommandOutput} - * @see {@link GetRaftLogCommandInput} for command's `input` shape. - * @see {@link GetRaftLogCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class GetRaftLogCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "GetRaftLog", { - - }) - .n("CloudserverClient", "GetRaftLogCommand") - .f(void 0, GetRaftLogOutputFilterSensitiveLog) - .ser(se_GetRaftLogCommand) - .de(de_GetRaftLogCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: GetRaftLogInput; - output: GetRaftLogOutput; - }; - sdk: { - input: GetRaftLogCommandInput; - output: GetRaftLogCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/ListLifecycleCurrentsCommand.ts b/build/smithy/source/typescript-codegen/src/commands/ListLifecycleCurrentsCommand.ts deleted file mode 100644 index bd0f5a8c..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/ListLifecycleCurrentsCommand.ts +++ /dev/null @@ -1,134 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListLifecycleCurrentsInput, - ListLifecycleCurrentsOutput, -} from "../models/models_0"; -import { - de_ListLifecycleCurrentsCommand, - se_ListLifecycleCurrentsCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListLifecycleCurrentsCommand}. - */ -export interface ListLifecycleCurrentsCommandInput extends ListLifecycleCurrentsInput {} -/** - * @public - * - * The output of {@link ListLifecycleCurrentsCommand}. - */ -export interface ListLifecycleCurrentsCommandOutput extends ListLifecycleCurrentsOutput, __MetadataBearer {} - -/** - * List lifecycle current objects operation - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, ListLifecycleCurrentsCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, ListLifecycleCurrentsCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // ListLifecycleCurrentsInput - * Bucket: "STRING_VALUE", // required - * BeforeDate: "STRING_VALUE", - * ExcludedDataStoreName: "STRING_VALUE", - * EncodingType: "STRING_VALUE", - * Marker: "STRING_VALUE", - * MaxKeys: Number("int"), - * Prefix: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new ListLifecycleCurrentsCommand(input); - * const response = await client.send(command); - * // { // ListLifecycleCurrentsOutput - * // BeforeDate: "STRING_VALUE", - * // Marker: "STRING_VALUE", - * // IsTruncated: true || false, - * // NextMarker: "STRING_VALUE", - * // Contents: [ // ObjectLifecycleList - * // { // ObjectLifecycle - * // Key: "STRING_VALUE", - * // LastModified: "STRING_VALUE", - * // ETag: "STRING_VALUE", - * // Owner: { // Owner - * // DisplayName: "STRING_VALUE", - * // ID: "STRING_VALUE", - * // }, - * // Size: Number("int"), - * // StorageClass: "STRING_VALUE", - * // TagSet: [ // TagSet - * // { // Tag - * // Key: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required - * // }, - * // ], - * // staleDate: "STRING_VALUE", - * // VersionId: "STRING_VALUE", - * // DataStoreName: "STRING_VALUE", - * // ListType: "STRING_VALUE", - * // }, - * // ], - * // Name: "STRING_VALUE", - * // Prefix: "STRING_VALUE", - * // MaxKeys: Number("int"), - * // }; - * - * ``` - * - * @param ListLifecycleCurrentsCommandInput - {@link ListLifecycleCurrentsCommandInput} - * @returns {@link ListLifecycleCurrentsCommandOutput} - * @see {@link ListLifecycleCurrentsCommandInput} for command's `input` shape. - * @see {@link ListLifecycleCurrentsCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class ListLifecycleCurrentsCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "ListLifecycleCurrents", { - - }) - .n("CloudserverClient", "ListLifecycleCurrentsCommand") - .f(void 0, void 0) - .ser(se_ListLifecycleCurrentsCommand) - .de(de_ListLifecycleCurrentsCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: ListLifecycleCurrentsInput; - output: ListLifecycleCurrentsOutput; - }; - sdk: { - input: ListLifecycleCurrentsCommandInput; - output: ListLifecycleCurrentsCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/ListLifecycleNonCurrentsCommand.ts b/build/smithy/source/typescript-codegen/src/commands/ListLifecycleNonCurrentsCommand.ts deleted file mode 100644 index 7229afe5..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/ListLifecycleNonCurrentsCommand.ts +++ /dev/null @@ -1,137 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListLifecycleNonCurrentsInput, - ListLifecycleNonCurrentsOutput, -} from "../models/models_0"; -import { - de_ListLifecycleNonCurrentsCommand, - se_ListLifecycleNonCurrentsCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListLifecycleNonCurrentsCommand}. - */ -export interface ListLifecycleNonCurrentsCommandInput extends ListLifecycleNonCurrentsInput {} -/** - * @public - * - * The output of {@link ListLifecycleNonCurrentsCommand}. - */ -export interface ListLifecycleNonCurrentsCommandOutput extends ListLifecycleNonCurrentsOutput, __MetadataBearer {} - -/** - * List lifecycle non-current objects operation - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, ListLifecycleNonCurrentsCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, ListLifecycleNonCurrentsCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // ListLifecycleNonCurrentsInput - * Bucket: "STRING_VALUE", // required - * BeforeDate: "STRING_VALUE", - * ExcludedDataStoreName: "STRING_VALUE", - * EncodingType: "STRING_VALUE", - * KeyMarker: "STRING_VALUE", - * VersionIdMarker: "STRING_VALUE", - * MaxKeys: Number("int"), - * Prefix: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new ListLifecycleNonCurrentsCommand(input); - * const response = await client.send(command); - * // { // ListLifecycleNonCurrentsOutput - * // BeforeDate: "STRING_VALUE", - * // KeyMarker: "STRING_VALUE", - * // VersionIdMarker: "STRING_VALUE", - * // IsTruncated: true || false, - * // NextKeyMarker: "STRING_VALUE", - * // NextVersionIdMarker: "STRING_VALUE", - * // Contents: [ // ObjectLifecycleList - * // { // ObjectLifecycle - * // Key: "STRING_VALUE", - * // LastModified: "STRING_VALUE", - * // ETag: "STRING_VALUE", - * // Owner: { // Owner - * // DisplayName: "STRING_VALUE", - * // ID: "STRING_VALUE", - * // }, - * // Size: Number("int"), - * // StorageClass: "STRING_VALUE", - * // TagSet: [ // TagSet - * // { // Tag - * // Key: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required - * // }, - * // ], - * // staleDate: "STRING_VALUE", - * // VersionId: "STRING_VALUE", - * // DataStoreName: "STRING_VALUE", - * // ListType: "STRING_VALUE", - * // }, - * // ], - * // Name: "STRING_VALUE", - * // Prefix: "STRING_VALUE", - * // MaxKeys: Number("int"), - * // }; - * - * ``` - * - * @param ListLifecycleNonCurrentsCommandInput - {@link ListLifecycleNonCurrentsCommandInput} - * @returns {@link ListLifecycleNonCurrentsCommandOutput} - * @see {@link ListLifecycleNonCurrentsCommandInput} for command's `input` shape. - * @see {@link ListLifecycleNonCurrentsCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class ListLifecycleNonCurrentsCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "ListLifecycleNonCurrents", { - - }) - .n("CloudserverClient", "ListLifecycleNonCurrentsCommand") - .f(void 0, void 0) - .ser(se_ListLifecycleNonCurrentsCommand) - .de(de_ListLifecycleNonCurrentsCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: ListLifecycleNonCurrentsInput; - output: ListLifecycleNonCurrentsOutput; - }; - sdk: { - input: ListLifecycleNonCurrentsCommandInput; - output: ListLifecycleNonCurrentsCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/ListLifecycleOrphansCommand.ts b/build/smithy/source/typescript-codegen/src/commands/ListLifecycleOrphansCommand.ts deleted file mode 100644 index 34428e2f..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/ListLifecycleOrphansCommand.ts +++ /dev/null @@ -1,134 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - ListLifecycleOrphansInput, - ListLifecycleOrphansOutput, -} from "../models/models_0"; -import { - de_ListLifecycleOrphansCommand, - se_ListLifecycleOrphansCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListLifecycleOrphansCommand}. - */ -export interface ListLifecycleOrphansCommandInput extends ListLifecycleOrphansInput {} -/** - * @public - * - * The output of {@link ListLifecycleOrphansCommand}. - */ -export interface ListLifecycleOrphansCommandOutput extends ListLifecycleOrphansOutput, __MetadataBearer {} - -/** - * List lifecycle orphan objects operation - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, ListLifecycleOrphansCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, ListLifecycleOrphansCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // ListLifecycleOrphansInput - * Bucket: "STRING_VALUE", // required - * BeforeDate: "STRING_VALUE", - * ExcludedDataStoreName: "STRING_VALUE", - * EncodingType: "STRING_VALUE", - * Marker: "STRING_VALUE", - * MaxKeys: Number("int"), - * Prefix: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new ListLifecycleOrphansCommand(input); - * const response = await client.send(command); - * // { // ListLifecycleOrphansOutput - * // BeforeDate: "STRING_VALUE", - * // Marker: "STRING_VALUE", - * // IsTruncated: true || false, - * // NextMarker: "STRING_VALUE", - * // Contents: [ // ObjectLifecycleList - * // { // ObjectLifecycle - * // Key: "STRING_VALUE", - * // LastModified: "STRING_VALUE", - * // ETag: "STRING_VALUE", - * // Owner: { // Owner - * // DisplayName: "STRING_VALUE", - * // ID: "STRING_VALUE", - * // }, - * // Size: Number("int"), - * // StorageClass: "STRING_VALUE", - * // TagSet: [ // TagSet - * // { // Tag - * // Key: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required - * // }, - * // ], - * // staleDate: "STRING_VALUE", - * // VersionId: "STRING_VALUE", - * // DataStoreName: "STRING_VALUE", - * // ListType: "STRING_VALUE", - * // }, - * // ], - * // Name: "STRING_VALUE", - * // Prefix: "STRING_VALUE", - * // MaxKeys: Number("int"), - * // }; - * - * ``` - * - * @param ListLifecycleOrphansCommandInput - {@link ListLifecycleOrphansCommandInput} - * @returns {@link ListLifecycleOrphansCommandOutput} - * @see {@link ListLifecycleOrphansCommandInput} for command's `input` shape. - * @see {@link ListLifecycleOrphansCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class ListLifecycleOrphansCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "ListLifecycleOrphans", { - - }) - .n("CloudserverClient", "ListLifecycleOrphansCommand") - .f(void 0, void 0) - .ser(se_ListLifecycleOrphansCommand) - .de(de_ListLifecycleOrphansCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: ListLifecycleOrphansInput; - output: ListLifecycleOrphansOutput; - }; - sdk: { - input: ListLifecycleOrphansCommandInput; - output: ListLifecycleOrphansCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendAbortMPUCommand.ts b/build/smithy/source/typescript-codegen/src/commands/MultipleBackendAbortMPUCommand.ts deleted file mode 100644 index 767ad4e4..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendAbortMPUCommand.ts +++ /dev/null @@ -1,101 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - MultipleBackendAbortMPUInput, - MultipleBackendAbortMPUOutput, -} from "../models/models_0"; -import { - de_MultipleBackendAbortMPUCommand, - se_MultipleBackendAbortMPUCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link MultipleBackendAbortMPUCommand}. - */ -export interface MultipleBackendAbortMPUCommandInput extends MultipleBackendAbortMPUInput {} -/** - * @public - * - * The output of {@link MultipleBackendAbortMPUCommand}. - */ -export interface MultipleBackendAbortMPUCommandOutput extends MultipleBackendAbortMPUOutput, __MetadataBearer {} - -/** - * Aborts a multipart upload for multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendAbortMPUCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendAbortMPUCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendAbortMPUInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * UploadId: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * }; - * const command = new MultipleBackendAbortMPUCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param MultipleBackendAbortMPUCommandInput - {@link MultipleBackendAbortMPUCommandInput} - * @returns {@link MultipleBackendAbortMPUCommandOutput} - * @see {@link MultipleBackendAbortMPUCommandInput} for command's `input` shape. - * @see {@link MultipleBackendAbortMPUCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class MultipleBackendAbortMPUCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "MultipleBackendAbortMPU", { - - }) - .n("CloudserverClient", "MultipleBackendAbortMPUCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendAbortMPUCommand) - .de(de_MultipleBackendAbortMPUCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: MultipleBackendAbortMPUInput; - output: {}; - }; - sdk: { - input: MultipleBackendAbortMPUCommandInput; - output: MultipleBackendAbortMPUCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendCompleteMPUCommand.ts b/build/smithy/source/typescript-codegen/src/commands/MultipleBackendCompleteMPUCommand.ts deleted file mode 100644 index b87722ef..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendCompleteMPUCommand.ts +++ /dev/null @@ -1,132 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - MultipleBackendCompleteMPUInput, - MultipleBackendCompleteMPUOutput, -} from "../models/models_0"; -import { - de_MultipleBackendCompleteMPUCommand, - se_MultipleBackendCompleteMPUCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - BlobPayloadInputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type MultipleBackendCompleteMPUCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; - -/** - * @public - * - * The input for {@link MultipleBackendCompleteMPUCommand}. - */ -export interface MultipleBackendCompleteMPUCommandInput extends MultipleBackendCompleteMPUCommandInputType {} -/** - * @public - * - * The output of {@link MultipleBackendCompleteMPUCommand}. - */ -export interface MultipleBackendCompleteMPUCommandOutput extends MultipleBackendCompleteMPUOutput, __MetadataBearer {} - -/** - * Completes a multipart upload for multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendCompleteMPUCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendCompleteMPUCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendCompleteMPUInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * VersionId: "STRING_VALUE", - * ContentType: "STRING_VALUE", - * UserMetaData: "STRING_VALUE", - * CacheControl: "STRING_VALUE", - * ContentDisposition: "STRING_VALUE", - * ContentEncoding: "STRING_VALUE", - * UploadId: "STRING_VALUE", - * Tags: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new MultipleBackendCompleteMPUCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendCompleteMPUOutput - * // versionId: "STRING_VALUE", - * // location: [ // LocationMDList - * // { // LocationMDObj - * // key: "STRING_VALUE", - * // size: Number("int"), - * // start: Number("int"), - * // dataStoreName: "STRING_VALUE", - * // dataStoreType: "STRING_VALUE", - * // dataStoreETag: "STRING_VALUE", - * // dataStoreVersionId: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param MultipleBackendCompleteMPUCommandInput - {@link MultipleBackendCompleteMPUCommandInput} - * @returns {@link MultipleBackendCompleteMPUCommandOutput} - * @see {@link MultipleBackendCompleteMPUCommandInput} for command's `input` shape. - * @see {@link MultipleBackendCompleteMPUCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class MultipleBackendCompleteMPUCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "MultipleBackendCompleteMPU", { - - }) - .n("CloudserverClient", "MultipleBackendCompleteMPUCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendCompleteMPUCommand) - .de(de_MultipleBackendCompleteMPUCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: MultipleBackendCompleteMPUInput; - output: MultipleBackendCompleteMPUOutput; - }; - sdk: { - input: MultipleBackendCompleteMPUCommandInput; - output: MultipleBackendCompleteMPUCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendDeleteObjectCommand.ts b/build/smithy/source/typescript-codegen/src/commands/MultipleBackendDeleteObjectCommand.ts deleted file mode 100644 index 43804e3f..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendDeleteObjectCommand.ts +++ /dev/null @@ -1,102 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - MultipleBackendDeleteObjectInput, - MultipleBackendDeleteObjectOutput, -} from "../models/models_0"; -import { - de_MultipleBackendDeleteObjectCommand, - se_MultipleBackendDeleteObjectCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link MultipleBackendDeleteObjectCommand}. - */ -export interface MultipleBackendDeleteObjectCommandInput extends MultipleBackendDeleteObjectInput {} -/** - * @public - * - * The output of {@link MultipleBackendDeleteObjectCommand}. - */ -export interface MultipleBackendDeleteObjectCommandOutput extends MultipleBackendDeleteObjectOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendDeleteObjectCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendDeleteObjectCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendDeleteObjectInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new MultipleBackendDeleteObjectCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendDeleteObjectOutput - * // versionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param MultipleBackendDeleteObjectCommandInput - {@link MultipleBackendDeleteObjectCommandInput} - * @returns {@link MultipleBackendDeleteObjectCommandOutput} - * @see {@link MultipleBackendDeleteObjectCommandInput} for command's `input` shape. - * @see {@link MultipleBackendDeleteObjectCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class MultipleBackendDeleteObjectCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "MultipleBackendDeleteObject", { - - }) - .n("CloudserverClient", "MultipleBackendDeleteObjectCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendDeleteObjectCommand) - .de(de_MultipleBackendDeleteObjectCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: MultipleBackendDeleteObjectInput; - output: MultipleBackendDeleteObjectOutput; - }; - sdk: { - input: MultipleBackendDeleteObjectCommandInput; - output: MultipleBackendDeleteObjectCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendDeleteObjectTaggingCommand.ts b/build/smithy/source/typescript-codegen/src/commands/MultipleBackendDeleteObjectTaggingCommand.ts deleted file mode 100644 index a29cc318..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendDeleteObjectTaggingCommand.ts +++ /dev/null @@ -1,117 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - MultipleBackendDeleteObjectTaggingInput, - MultipleBackendDeleteObjectTaggingOutput, -} from "../models/models_0"; -import { - de_MultipleBackendDeleteObjectTaggingCommand, - se_MultipleBackendDeleteObjectTaggingCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - BlobPayloadInputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type MultipleBackendDeleteObjectTaggingCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; - -/** - * @public - * - * The input for {@link MultipleBackendDeleteObjectTaggingCommand}. - */ -export interface MultipleBackendDeleteObjectTaggingCommandInput extends MultipleBackendDeleteObjectTaggingCommandInputType {} -/** - * @public - * - * The output of {@link MultipleBackendDeleteObjectTaggingCommand}. - */ -export interface MultipleBackendDeleteObjectTaggingCommandOutput extends MultipleBackendDeleteObjectTaggingOutput, __MetadataBearer {} - -/** - * Removes tags from an object in multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendDeleteObjectTaggingCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendDeleteObjectTaggingCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendDeleteObjectTaggingInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageClass: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * DataStoreVersionId: "STRING_VALUE", - * SourceBucket: "STRING_VALUE", - * SourceVersionId: "STRING_VALUE", - * ReplicationEndpointSite: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new MultipleBackendDeleteObjectTaggingCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendDeleteObjectTaggingOutput - * // versionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param MultipleBackendDeleteObjectTaggingCommandInput - {@link MultipleBackendDeleteObjectTaggingCommandInput} - * @returns {@link MultipleBackendDeleteObjectTaggingCommandOutput} - * @see {@link MultipleBackendDeleteObjectTaggingCommandInput} for command's `input` shape. - * @see {@link MultipleBackendDeleteObjectTaggingCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class MultipleBackendDeleteObjectTaggingCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "MultipleBackendDeleteObjectTagging", { - - }) - .n("CloudserverClient", "MultipleBackendDeleteObjectTaggingCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendDeleteObjectTaggingCommand) - .de(de_MultipleBackendDeleteObjectTaggingCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: MultipleBackendDeleteObjectTaggingInput; - output: MultipleBackendDeleteObjectTaggingOutput; - }; - sdk: { - input: MultipleBackendDeleteObjectTaggingCommandInput; - output: MultipleBackendDeleteObjectTaggingCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendHeadObjectCommand.ts b/build/smithy/source/typescript-codegen/src/commands/MultipleBackendHeadObjectCommand.ts deleted file mode 100644 index 1bfcd4e8..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendHeadObjectCommand.ts +++ /dev/null @@ -1,101 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - MultipleBackendHeadObjectInput, - MultipleBackendHeadObjectOutput, -} from "../models/models_0"; -import { - de_MultipleBackendHeadObjectCommand, - se_MultipleBackendHeadObjectCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link MultipleBackendHeadObjectCommand}. - */ -export interface MultipleBackendHeadObjectCommandInput extends MultipleBackendHeadObjectInput {} -/** - * @public - * - * The output of {@link MultipleBackendHeadObjectCommand}. - */ -export interface MultipleBackendHeadObjectCommandOutput extends MultipleBackendHeadObjectOutput, __MetadataBearer {} - -/** - * Retrieves metadata for an object from multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendHeadObjectCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendHeadObjectCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendHeadObjectInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * Locations: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * }; - * const command = new MultipleBackendHeadObjectCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendHeadObjectOutput - * // lastModified: "STRING_VALUE", - * // }; - * - * ``` - * - * @param MultipleBackendHeadObjectCommandInput - {@link MultipleBackendHeadObjectCommandInput} - * @returns {@link MultipleBackendHeadObjectCommandOutput} - * @see {@link MultipleBackendHeadObjectCommandInput} for command's `input` shape. - * @see {@link MultipleBackendHeadObjectCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class MultipleBackendHeadObjectCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "MultipleBackendHeadObject", { - - }) - .n("CloudserverClient", "MultipleBackendHeadObjectCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendHeadObjectCommand) - .de(de_MultipleBackendHeadObjectCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: MultipleBackendHeadObjectInput; - output: MultipleBackendHeadObjectOutput; - }; - sdk: { - input: MultipleBackendHeadObjectCommandInput; - output: MultipleBackendHeadObjectCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendInitiateMPUCommand.ts b/build/smithy/source/typescript-codegen/src/commands/MultipleBackendInitiateMPUCommand.ts deleted file mode 100644 index f376a77f..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendInitiateMPUCommand.ts +++ /dev/null @@ -1,120 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - MultipleBackendInitiateMPUInput, - MultipleBackendInitiateMPUOutput, -} from "../models/models_0"; -import { - de_MultipleBackendInitiateMPUCommand, - se_MultipleBackendInitiateMPUCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - BlobPayloadInputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type MultipleBackendInitiateMPUCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; - -/** - * @public - * - * The input for {@link MultipleBackendInitiateMPUCommand}. - */ -export interface MultipleBackendInitiateMPUCommandInput extends MultipleBackendInitiateMPUCommandInputType {} -/** - * @public - * - * The output of {@link MultipleBackendInitiateMPUCommand}. - */ -export interface MultipleBackendInitiateMPUCommandOutput extends MultipleBackendInitiateMPUOutput, __MetadataBearer {} - -/** - * Initiates a multipart upload for multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendInitiateMPUCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendInitiateMPUCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendInitiateMPUInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageClass: "STRING_VALUE", // required - * VersionId: "STRING_VALUE", - * StorageType: "STRING_VALUE", - * ContentType: "STRING_VALUE", - * UserMetaData: "STRING_VALUE", - * CacheControl: "STRING_VALUE", - * ContentDisposition: "STRING_VALUE", - * ContentEncoding: "STRING_VALUE", - * Tags: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new MultipleBackendInitiateMPUCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendInitiateMPUOutput - * // uploadId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param MultipleBackendInitiateMPUCommandInput - {@link MultipleBackendInitiateMPUCommandInput} - * @returns {@link MultipleBackendInitiateMPUCommandOutput} - * @see {@link MultipleBackendInitiateMPUCommandInput} for command's `input` shape. - * @see {@link MultipleBackendInitiateMPUCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class MultipleBackendInitiateMPUCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "MultipleBackendInitiateMPU", { - - }) - .n("CloudserverClient", "MultipleBackendInitiateMPUCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendInitiateMPUCommand) - .de(de_MultipleBackendInitiateMPUCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: MultipleBackendInitiateMPUInput; - output: MultipleBackendInitiateMPUOutput; - }; - sdk: { - input: MultipleBackendInitiateMPUCommandInput; - output: MultipleBackendInitiateMPUCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendPutMPUPartCommand.ts b/build/smithy/source/typescript-codegen/src/commands/MultipleBackendPutMPUPartCommand.ts deleted file mode 100644 index 3ade0361..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendPutMPUPartCommand.ts +++ /dev/null @@ -1,114 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - MultipleBackendPutMPUPartInput, - MultipleBackendPutMPUPartInputFilterSensitiveLog, - MultipleBackendPutMPUPartOutput, -} from "../models/models_0"; -import { - de_MultipleBackendPutMPUPartCommand, - se_MultipleBackendPutMPUPartCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - StreamingBlobPayloadInputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link MultipleBackendPutMPUPartCommand}. - */ -export interface MultipleBackendPutMPUPartCommandInput extends Omit { - Body: StreamingBlobPayloadInputTypes; -} - -/** - * @public - * - * The output of {@link MultipleBackendPutMPUPartCommand}. - */ -export interface MultipleBackendPutMPUPartCommandOutput extends MultipleBackendPutMPUPartOutput, __MetadataBearer {} - -/** - * Uploads a part for a multipart upload to multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendPutMPUPartCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendPutMPUPartCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendPutMPUPartInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * PartNumber: Number("int"), - * UploadId: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes // required - * }; - * const command = new MultipleBackendPutMPUPartCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendPutMPUPartOutput - * // partNumber: "STRING_VALUE", - * // ETag: "STRING_VALUE", - * // numberSubParts: Number("int"), - * // }; - * - * ``` - * - * @param MultipleBackendPutMPUPartCommandInput - {@link MultipleBackendPutMPUPartCommandInput} - * @returns {@link MultipleBackendPutMPUPartCommandOutput} - * @see {@link MultipleBackendPutMPUPartCommandInput} for command's `input` shape. - * @see {@link MultipleBackendPutMPUPartCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class MultipleBackendPutMPUPartCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "MultipleBackendPutMPUPart", { - - }) - .n("CloudserverClient", "MultipleBackendPutMPUPartCommand") - .f(MultipleBackendPutMPUPartInputFilterSensitiveLog, void 0) - .ser(se_MultipleBackendPutMPUPartCommand) - .de(de_MultipleBackendPutMPUPartCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: MultipleBackendPutMPUPartInput; - output: MultipleBackendPutMPUPartOutput; - }; - sdk: { - input: MultipleBackendPutMPUPartCommandInput; - output: MultipleBackendPutMPUPartCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendPutObjectCommand.ts b/build/smithy/source/typescript-codegen/src/commands/MultipleBackendPutObjectCommand.ts deleted file mode 100644 index abff8d55..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendPutObjectCommand.ts +++ /dev/null @@ -1,130 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - MultipleBackendPutObjectInput, - MultipleBackendPutObjectInputFilterSensitiveLog, - MultipleBackendPutObjectOutput, -} from "../models/models_0"; -import { - de_MultipleBackendPutObjectCommand, - se_MultipleBackendPutObjectCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - StreamingBlobPayloadInputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link MultipleBackendPutObjectCommand}. - */ -export interface MultipleBackendPutObjectCommandInput extends Omit { - Body?: StreamingBlobPayloadInputTypes; -} - -/** - * @public - * - * The output of {@link MultipleBackendPutObjectCommand}. - */ -export interface MultipleBackendPutObjectCommandOutput extends MultipleBackendPutObjectOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendPutObjectCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendPutObjectCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendPutObjectInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * ContentMD5: "STRING_VALUE", - * ContentType: "STRING_VALUE", - * UserMetaData: "STRING_VALUE", - * CacheControl: "STRING_VALUE", - * ContentDisposition: "STRING_VALUE", - * ContentEncoding: "STRING_VALUE", - * CanonicalID: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * VersionId: "STRING_VALUE", - * Tags: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes - * }; - * const command = new MultipleBackendPutObjectCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendPutObjectOutput - * // versionId: "STRING_VALUE", - * // location: [ // LocationMDList - * // { // LocationMDObj - * // key: "STRING_VALUE", - * // size: Number("int"), - * // start: Number("int"), - * // dataStoreName: "STRING_VALUE", - * // dataStoreType: "STRING_VALUE", - * // dataStoreETag: "STRING_VALUE", - * // dataStoreVersionId: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param MultipleBackendPutObjectCommandInput - {@link MultipleBackendPutObjectCommandInput} - * @returns {@link MultipleBackendPutObjectCommandOutput} - * @see {@link MultipleBackendPutObjectCommandInput} for command's `input` shape. - * @see {@link MultipleBackendPutObjectCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class MultipleBackendPutObjectCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "MultipleBackendPutObject", { - - }) - .n("CloudserverClient", "MultipleBackendPutObjectCommand") - .f(MultipleBackendPutObjectInputFilterSensitiveLog, void 0) - .ser(se_MultipleBackendPutObjectCommand) - .de(de_MultipleBackendPutObjectCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: MultipleBackendPutObjectInput; - output: MultipleBackendPutObjectOutput; - }; - sdk: { - input: MultipleBackendPutObjectCommandInput; - output: MultipleBackendPutObjectCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendPutObjectTaggingCommand.ts b/build/smithy/source/typescript-codegen/src/commands/MultipleBackendPutObjectTaggingCommand.ts deleted file mode 100644 index 421b71f7..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/MultipleBackendPutObjectTaggingCommand.ts +++ /dev/null @@ -1,118 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - MultipleBackendPutObjectTaggingInput, - MultipleBackendPutObjectTaggingOutput, -} from "../models/models_0"; -import { - de_MultipleBackendPutObjectTaggingCommand, - se_MultipleBackendPutObjectTaggingCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - BlobPayloadInputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type MultipleBackendPutObjectTaggingCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; - -/** - * @public - * - * The input for {@link MultipleBackendPutObjectTaggingCommand}. - */ -export interface MultipleBackendPutObjectTaggingCommandInput extends MultipleBackendPutObjectTaggingCommandInputType {} -/** - * @public - * - * The output of {@link MultipleBackendPutObjectTaggingCommand}. - */ -export interface MultipleBackendPutObjectTaggingCommandOutput extends MultipleBackendPutObjectTaggingOutput, __MetadataBearer {} - -/** - * Adds or updates tags for an object in multiple backend storage - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, MultipleBackendPutObjectTaggingCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, MultipleBackendPutObjectTaggingCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // MultipleBackendPutObjectTaggingInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * StorageType: "STRING_VALUE", - * StorageClass: "STRING_VALUE", // required - * DataStoreVersionId: "STRING_VALUE", - * Tags: "STRING_VALUE", - * SourceBucket: "STRING_VALUE", - * SourceVersionId: "STRING_VALUE", - * ReplicationEndpointSite: "STRING_VALUE", - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new MultipleBackendPutObjectTaggingCommand(input); - * const response = await client.send(command); - * // { // MultipleBackendPutObjectTaggingOutput - * // versionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param MultipleBackendPutObjectTaggingCommandInput - {@link MultipleBackendPutObjectTaggingCommandInput} - * @returns {@link MultipleBackendPutObjectTaggingCommandOutput} - * @see {@link MultipleBackendPutObjectTaggingCommandInput} for command's `input` shape. - * @see {@link MultipleBackendPutObjectTaggingCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - * @public - */ -export class MultipleBackendPutObjectTaggingCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "MultipleBackendPutObjectTagging", { - - }) - .n("CloudserverClient", "MultipleBackendPutObjectTaggingCommand") - .f(void 0, void 0) - .ser(se_MultipleBackendPutObjectTaggingCommand) - .de(de_MultipleBackendPutObjectTaggingCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: MultipleBackendPutObjectTaggingInput; - output: MultipleBackendPutObjectTaggingOutput; - }; - sdk: { - input: MultipleBackendPutObjectTaggingCommandInput; - output: MultipleBackendPutObjectTaggingCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/PutBucketIndexesCommand.ts b/build/smithy/source/typescript-codegen/src/commands/PutBucketIndexesCommand.ts deleted file mode 100644 index 5f914ee8..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/PutBucketIndexesCommand.ts +++ /dev/null @@ -1,108 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutBucketIndexesInput, - PutBucketIndexesOutput, -} from "../models/models_0"; -import { - de_PutBucketIndexesCommand, - se_PutBucketIndexesCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - BlobPayloadInputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type PutBucketIndexesCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; - -/** - * @public - * - * The input for {@link PutBucketIndexesCommand}. - */ -export interface PutBucketIndexesCommandInput extends PutBucketIndexesCommandInputType {} -/** - * @public - * - * The output of {@link PutBucketIndexesCommand}. - */ -export interface PutBucketIndexesCommandOutput extends PutBucketIndexesOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, PutBucketIndexesCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, PutBucketIndexesCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // PutBucketIndexesInput - * Bucket: "STRING_VALUE", // required - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new PutBucketIndexesCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param PutBucketIndexesCommandInput - {@link PutBucketIndexesCommandInput} - * @returns {@link PutBucketIndexesCommandOutput} - * @see {@link PutBucketIndexesCommandInput} for command's `input` shape. - * @see {@link PutBucketIndexesCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class PutBucketIndexesCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "PutBucketIndexes", { - - }) - .n("CloudserverClient", "PutBucketIndexesCommand") - .f(void 0, void 0) - .ser(se_PutBucketIndexesCommand) - .de(de_PutBucketIndexesCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: PutBucketIndexesInput; - output: {}; - }; - sdk: { - input: PutBucketIndexesCommandInput; - output: PutBucketIndexesCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/PutDataCommand.ts b/build/smithy/source/typescript-codegen/src/commands/PutDataCommand.ts deleted file mode 100644 index 3739ea74..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/PutDataCommand.ts +++ /dev/null @@ -1,114 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutDataInput, - PutDataInputFilterSensitiveLog, - PutDataOutput, -} from "../models/models_0"; -import { - de_PutDataCommand, - se_PutDataCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - StreamingBlobPayloadInputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutDataCommand}. - */ -export interface PutDataCommandInput extends Omit { - Body?: StreamingBlobPayloadInputTypes; -} - -/** - * @public - * - * The output of {@link PutDataCommand}. - */ -export interface PutDataCommandOutput extends PutDataOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, PutDataCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, PutDataCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // PutDataInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * ContentMD5: "STRING_VALUE", - * CanonicalID: "STRING_VALUE", - * VersioningRequired: true || false, - * RequestUids: "STRING_VALUE", - * Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes - * }; - * const command = new PutDataCommand(input); - * const response = await client.send(command); - * // { // PutDataOutput - * // Location: "DOCUMENT_VALUE", - * // ServerSideEncryption: "STRING_VALUE", - * // SSECustomerAlgorithm: "STRING_VALUE", - * // SSEKMSKeyId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param PutDataCommandInput - {@link PutDataCommandInput} - * @returns {@link PutDataCommandOutput} - * @see {@link PutDataCommandInput} for command's `input` shape. - * @see {@link PutDataCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class PutDataCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "PutData", { - - }) - .n("CloudserverClient", "PutDataCommand") - .f(PutDataInputFilterSensitiveLog, void 0) - .ser(se_PutDataCommand) - .de(de_PutDataCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: PutDataInput; - output: PutDataOutput; - }; - sdk: { - input: PutDataCommandInput; - output: PutDataCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/PutMetadataCommand.ts b/build/smithy/source/typescript-codegen/src/commands/PutMetadataCommand.ts deleted file mode 100644 index 717685fb..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/PutMetadataCommand.ts +++ /dev/null @@ -1,116 +0,0 @@ -// smithy-typescript generated code -import { - CloudserverClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../CloudserverClient"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { - PutMetadataInput, - PutMetadataOutput, -} from "../models/models_0"; -import { - de_PutMetadataCommand, - se_PutMetadataCommand, -} from "../protocols/Aws_restJson1"; -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - BlobPayloadInputTypes, - MetadataBearer as __MetadataBearer, -} from "@smithy/types"; - -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - */ -export type PutMetadataCommandInputType = Omit & { - Body?: BlobPayloadInputTypes; -}; - -/** - * @public - * - * The input for {@link PutMetadataCommand}. - */ -export interface PutMetadataCommandInput extends PutMetadataCommandInputType {} -/** - * @public - * - * The output of {@link PutMetadataCommand}. - */ -export interface PutMetadataCommandOutput extends PutMetadataOutput, __MetadataBearer {} - -/** - * @public - * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { CloudserverClient, PutMetadataCommand } from "@scality/cloudserverclient"; // ES Modules import - * // const { CloudserverClient, PutMetadataCommand } = require("@scality/cloudserverclient"); // CommonJS import - * const client = new CloudserverClient(config); - * const input = { // PutMetadataInput - * Bucket: "STRING_VALUE", // required - * Key: "STRING_VALUE", // required - * VersionId: "STRING_VALUE", - * AccountId: "STRING_VALUE", - * ContentMD5: "STRING_VALUE", - * ReplicationContent: "STRING_VALUE", - * VersioningRequired: true || false, - * RequestUids: "STRING_VALUE", - * Body: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * }; - * const command = new PutMetadataCommand(input); - * const response = await client.send(command); - * // { // PutMetadataOutput - * // versionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param PutMetadataCommandInput - {@link PutMetadataCommandInput} - * @returns {@link PutMetadataCommandOutput} - * @see {@link PutMetadataCommandInput} for command's `input` shape. - * @see {@link PutMetadataCommandOutput} for command's `response` shape. - * @see {@link CloudserverClientResolvedConfig | config} for CloudserverClient's `config` shape. - * - * @throws {@link CloudserverServiceException} - *

Base exception class for all service exceptions from Cloudserver service.

- * - * - */ -export class PutMetadataCommand extends $Command.classBuilder() - .ep(commonParams) - .m(function (this: any, Command: any, cs: any, config: CloudserverClientResolvedConfig, o: any) { - return [ - - getSerdePlugin(config, this.serialize, this.deserialize), - getEndpointPlugin(config, Command.getEndpointParameterInstructions()), - ]; - }) - .s("cloudserver", "PutMetadata", { - - }) - .n("CloudserverClient", "PutMetadataCommand") - .f(void 0, void 0) - .ser(se_PutMetadataCommand) - .de(de_PutMetadataCommand) -.build() { -/** @internal type navigation helper, not in runtime. */ -declare protected static __types: { - api: { - input: PutMetadataInput; - output: PutMetadataOutput; - }; - sdk: { - input: PutMetadataCommandInput; - output: PutMetadataCommandOutput; - }; -}; -} diff --git a/build/smithy/source/typescript-codegen/src/commands/index.ts b/build/smithy/source/typescript-codegen/src/commands/index.ts deleted file mode 100644 index 0af343cd..00000000 --- a/build/smithy/source/typescript-codegen/src/commands/index.ts +++ /dev/null @@ -1,28 +0,0 @@ -// smithy-typescript generated code -export * from "./BatchDeleteCommand"; -export * from "./DeleteBucketIndexesCommand"; -export * from "./DeleteObjectFromExpirationCommand"; -export * from "./GetBucketCseqCommand"; -export * from "./GetBucketIndexesCommand"; -export * from "./GetBucketMetadataCommand"; -export * from "./GetMetadataCommand"; -export * from "./GetObjectCommand"; -export * from "./GetObjectListCommand"; -export * from "./GetRaftBucketsCommand"; -export * from "./GetRaftIdCommand"; -export * from "./GetRaftLogCommand"; -export * from "./ListLifecycleCurrentsCommand"; -export * from "./ListLifecycleNonCurrentsCommand"; -export * from "./ListLifecycleOrphansCommand"; -export * from "./MultipleBackendAbortMPUCommand"; -export * from "./MultipleBackendCompleteMPUCommand"; -export * from "./MultipleBackendDeleteObjectCommand"; -export * from "./MultipleBackendDeleteObjectTaggingCommand"; -export * from "./MultipleBackendHeadObjectCommand"; -export * from "./MultipleBackendInitiateMPUCommand"; -export * from "./MultipleBackendPutMPUPartCommand"; -export * from "./MultipleBackendPutObjectCommand"; -export * from "./MultipleBackendPutObjectTaggingCommand"; -export * from "./PutBucketIndexesCommand"; -export * from "./PutDataCommand"; -export * from "./PutMetadataCommand"; diff --git a/build/smithy/source/typescript-codegen/src/endpoint/EndpointParameters.ts b/build/smithy/source/typescript-codegen/src/endpoint/EndpointParameters.ts deleted file mode 100644 index a94693be..00000000 --- a/build/smithy/source/typescript-codegen/src/endpoint/EndpointParameters.ts +++ /dev/null @@ -1,44 +0,0 @@ -// smithy-typescript generated code -import { - Endpoint, - EndpointV2, - Provider, - EndpointParameters as __EndpointParameters, -} from "@smithy/types"; - -/** - * @public - */ -export interface ClientInputEndpointParameters { - region?: string | undefined | Provider; - useDualstackEndpoint?: boolean | undefined | Provider; - useFipsEndpoint?: boolean | undefined | Provider; - endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; -} - -export type ClientResolvedEndpointParameters = Omit & { - - defaultSigningName: string; -}; - -export const resolveClientEndpointParameters = (options: T & ClientInputEndpointParameters): T & ClientResolvedEndpointParameters => { - return Object.assign(options, { - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "s3", - }); -} - -export const commonParams = { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, -} as const - -export interface EndpointParameters extends __EndpointParameters { - Region?: string | undefined; - UseDualStack?: boolean | undefined; - UseFIPS?: boolean | undefined; - Endpoint?: string | undefined; -} diff --git a/build/smithy/source/typescript-codegen/src/endpoint/endpointResolver.ts b/build/smithy/source/typescript-codegen/src/endpoint/endpointResolver.ts deleted file mode 100644 index 7346aa5f..00000000 --- a/build/smithy/source/typescript-codegen/src/endpoint/endpointResolver.ts +++ /dev/null @@ -1,34 +0,0 @@ -// smithy-typescript generated code -import { EndpointParameters } from "./EndpointParameters"; -import { ruleSet } from "./ruleset"; -import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; -import { - EndpointV2, - Logger, -} from "@smithy/types"; -import { - EndpointCache, - EndpointParams, - customEndpointFunctions, - resolveEndpoint, -} from "@smithy/util-endpoints"; - -const cache = new EndpointCache({ - size: 50, - params: ["Endpoint", - "Region", - "UseDualStack", - "UseFIPS"] -}); - -export const defaultEndpointResolver = ( - endpointParams: EndpointParameters, - context: { logger?: Logger } = {} -): EndpointV2 => { - return cache.get(endpointParams as EndpointParams, () => resolveEndpoint(ruleSet, { - endpointParams: endpointParams as EndpointParams, - logger: context.logger, - })); -}; - -customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/build/smithy/source/typescript-codegen/src/endpoint/ruleset.ts b/build/smithy/source/typescript-codegen/src/endpoint/ruleset.ts deleted file mode 100644 index 8a530c50..00000000 --- a/build/smithy/source/typescript-codegen/src/endpoint/ruleset.ts +++ /dev/null @@ -1,365 +0,0 @@ -// smithy-typescript generated code -import { RuleSetObject } from "@smithy/types"; - -export const ruleSet: RuleSetObject = - { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS Region. This is a default regional AWS endpointRuleSet.", - "type": "String", - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "Whether to use dual-stack.", - "type": "Boolean", - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "Whether to use FIPS-compliant regional endpoint.", - "type": "Boolean", - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint.", - "type": "String", - }, - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint", - }, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS", - }, - true, - ], - }, - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error", - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack", - }, - true, - ], - }, - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error", - }, - { - "conditions": [ - ], - "endpoint": { - "url": { - "ref": "Endpoint", - }, - "properties": { - }, - "headers": { - }, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region", - }, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region", - }, - ], - "assign": "PartitionResult", - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS", - }, - true, - ], - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack", - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsFIPS", - ], - }, - ], - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsDualStack", - ], - }, - ], - }, - ], - "rules": [ - { - "conditions": [ - ], - "endpoint": { - "url": "https://cloudserver-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": { - }, - "headers": { - }, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [ - ], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error", - }, - ], - "type": "tree", - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS", - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsFIPS", - ], - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "name", - ], - }, - "aws-us-gov", - ], - }, - ], - "endpoint": { - "url": "https://cloudserver.{Region}.amazonaws.com", - "properties": { - }, - "headers": { - }, - }, - "type": "endpoint", - }, - { - "conditions": [ - ], - "endpoint": { - "url": "https://cloudserver-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": { - }, - "headers": { - }, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [ - ], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error", - }, - ], - "type": "tree", - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack", - }, - true, - ], - }, - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult", - }, - "supportsDualStack", - ], - }, - ], - }, - ], - "rules": [ - { - "conditions": [ - ], - "endpoint": { - "url": "https://cloudserver.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": { - }, - "headers": { - }, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - { - "conditions": [ - ], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error", - }, - ], - "type": "tree", - }, - { - "conditions": [ - ], - "endpoint": { - "url": "https://cloudserver.{Region}.{PartitionResult#dnsSuffix}", - "properties": { - }, - "headers": { - }, - }, - "type": "endpoint", - }, - ], - "type": "tree", - }, - ], - "type": "tree", - }, - { - "conditions": [ - ], - "error": "Invalid Configuration: Missing Region", - "type": "error", - }, - ], - } -; diff --git a/build/smithy/source/typescript-codegen/src/extensionConfiguration.ts b/build/smithy/source/typescript-codegen/src/extensionConfiguration.ts deleted file mode 100644 index bd13a153..00000000 --- a/build/smithy/source/typescript-codegen/src/extensionConfiguration.ts +++ /dev/null @@ -1,10 +0,0 @@ -// smithy-typescript generated code -import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; -import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; -import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; -import { DefaultExtensionConfiguration } from "@smithy/types"; - -/** - * @internal - */ -export interface CloudserverExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {} diff --git a/build/smithy/source/typescript-codegen/src/index.ts b/build/smithy/source/typescript-codegen/src/index.ts deleted file mode 100644 index 87ce37e2..00000000 --- a/build/smithy/source/typescript-codegen/src/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -// smithy-typescript generated code -/* eslint-disable */ -export * from "./CloudserverClient"; -export * from "./Cloudserver"; -export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; -export type { RuntimeExtension } from "./runtimeExtensions"; -export type { CloudserverExtensionConfiguration } from "./extensionConfiguration"; -export * from "./commands"; -export * from "./models"; - -export { CloudserverServiceException } from "./models/CloudserverServiceException"; diff --git a/build/smithy/source/typescript-codegen/src/models/CloudserverServiceException.ts b/build/smithy/source/typescript-codegen/src/models/CloudserverServiceException.ts deleted file mode 100644 index 8c3decb1..00000000 --- a/build/smithy/source/typescript-codegen/src/models/CloudserverServiceException.ts +++ /dev/null @@ -1,24 +0,0 @@ -// smithy-typescript generated code -import { - ServiceException as __ServiceException, - ServiceExceptionOptions as __ServiceExceptionOptions, -} from "@smithy/smithy-client"; - -export type { __ServiceExceptionOptions } - -export { __ServiceException } - -/** - * @public - * - * Base exception class for all service exceptions from Cloudserver service. - */ -export class CloudserverServiceException extends __ServiceException { - /** - * @internal - */ - constructor(options: __ServiceExceptionOptions) { - super(options); - Object.setPrototypeOf(this, CloudserverServiceException.prototype); - } -} diff --git a/build/smithy/source/typescript-codegen/src/models/index.ts b/build/smithy/source/typescript-codegen/src/models/index.ts deleted file mode 100644 index 9eaceb12..00000000 --- a/build/smithy/source/typescript-codegen/src/models/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// smithy-typescript generated code -export * from "./models_0"; diff --git a/build/smithy/source/typescript-codegen/src/models/models_0.ts b/build/smithy/source/typescript-codegen/src/models/models_0.ts deleted file mode 100644 index acff6b7c..00000000 --- a/build/smithy/source/typescript-codegen/src/models/models_0.ts +++ /dev/null @@ -1,1406 +0,0 @@ -// smithy-typescript generated code -import { SENSITIVE_STRING } from "@smithy/smithy-client"; -import { - StreamingBlobTypes, - DocumentType as __DocumentType, -} from "@smithy/types"; - -/** - * @public - */ -export interface AclObj { - /** - * Canned ACL setting - * @public - */ - Canned?: string | undefined; - - /** - * List of users with FULL_CONTROL permission - * @public - */ - FULL_CONTROL?: (string)[] | undefined; - - /** - * List of users with WRITE permission - * @public - */ - WRITE?: (string)[] | undefined; - - /** - * List of users with WRITE_ACP permission - * @public - */ - WRITE_ACP?: (string)[] | undefined; - - /** - * List of users with READ permission - * @public - */ - READ?: (string)[] | undefined; - - /** - * List of users with READ_ACP permission - * @public - */ - READ_ACP?: (string)[] | undefined; -} - -/** - * @public - */ -export interface BatchDeleteLocation { - /** - * The data store name where the object is stored - * @public - */ - dataStoreName?: string | undefined; - - /** - * The storage key for the object - * @public - */ - key?: string | undefined; - - /** - * Size of the object in bytes - * @public - */ - size?: number | undefined; - - /** - * Version ID in the data store - * @public - */ - dataStoreVersionId?: string | undefined; -} - -/** - * @public - */ -export interface BatchDeleteInput { - Bucket: string | undefined; - Key: string | undefined; - IfUnmodifiedSince?: string | undefined; - StorageClass?: string | undefined; - Tags?: string | undefined; - ContentType?: string | undefined; - RequestUids?: string | undefined; - /** - * List of locations to delete - * @public - */ - Locations?: (BatchDeleteLocation)[] | undefined; -} - -/** - * @public - */ -export interface BatchDeleteOutput { -} - -/** - * @public - */ -export interface DeleteBucketIndexesInput { - Bucket: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} - -/** - * @public - */ -export interface DeleteBucketIndexesOutput { -} - -/** - * @public - */ -export interface DeleteObjectFromExpirationInput { - Bucket: string | undefined; - Key: string | undefined; - VersionId?: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface DeleteObjectFromExpirationOutput { - /** - * Version ID of the deleted object - * @public - */ - versionId?: string | undefined; -} - -/** - * @public - */ -export interface GetBucketCseqInput { - Bucket: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface GetBucketCseqOutput { - CseqInfo?: __DocumentType | undefined; -} - -/** - * @public - */ -export interface GetBucketIndexesInput { - Bucket: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface IndexKey { - order?: number | undefined; - key?: string | undefined; -} - -/** - * @public - */ -export interface Index { - name?: string | undefined; - keys?: (IndexKey)[] | undefined; -} - -/** - * @public - */ -export interface GetBucketIndexesOutput { - Indexes?: (Index)[] | undefined; -} - -/** - * @public - */ -export interface GetBucketMetadataInput { - Bucket: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface ExpirationConfiguration { - /** - * Number of days after which the object expires - * @public - */ - Days?: number | undefined; -} - -/** - * @public - * @enum - */ -export const LifecycleRuleStatus = { - DISABLED: "Disabled", - ENABLED: "Enabled", -} as const -/** - * @public - */ -export type LifecycleRuleStatus = typeof LifecycleRuleStatus[keyof typeof LifecycleRuleStatus] - -/** - * @public - */ -export interface LCRuleObj { - /** - * Unique identifier for the rule - * @public - */ - ID?: string | undefined; - - /** - * Whether the rule is enabled or disabled - * @public - */ - Status?: LifecycleRuleStatus | undefined; - - /** - * Prefix for objects to which the rule applies - * @public - */ - Prefix?: string | undefined; - - /** - * Expiration configuration - * @public - */ - Expiration?: ExpirationConfiguration | undefined; -} - -/** - * @public - */ -export interface LifecycleConfigurationObj { - /** - * List of lifecycle rules - * @public - */ - Rules?: (LCRuleObj)[] | undefined; -} - -/** - * @public - */ -export interface GetBucketMetadataOutput { - /** - * Access control list for the bucket - * @public - */ - acl?: AclObj | undefined; - - /** - * Name of the bucket - * @public - */ - name?: string | undefined; - - /** - * Owner of the bucket - * @public - */ - owner?: string | undefined; - - /** - * Display name of the bucket owner - * @public - */ - ownerDisplayName?: string | undefined; - - /** - * Creation date of the bucket - * @public - */ - creationDate?: string | undefined; - - /** - * Metadata bucket model version - * @public - */ - mdBucketModelVersion?: number | undefined; - - /** - * Whether this is a transient bucket - * @public - */ - transient?: boolean | undefined; - - /** - * Whether the bucket is marked as deleted - * @public - */ - deleted?: boolean | undefined; - - /** - * Server-side encryption configuration - * @public - */ - serverSideEncryption?: Record | undefined; - - /** - * Versioning configuration for the bucket - * @public - */ - versioningConfiguration?: Record | undefined; - - /** - * Location constraint for the bucket - * @public - */ - locationConstraint?: string | undefined; - - /** - * Read location constraint for the bucket - * @public - */ - readLocationConstraint?: string | undefined; - - /** - * CORS configuration for the bucket - * @public - */ - cors?: (Record)[] | undefined; - - /** - * Replication configuration for the bucket - * @public - */ - replicationConfiguration?: Record | undefined; - - /** - * Lifecycle configuration for the bucket - * @public - */ - lifecycleConfiguration?: LifecycleConfigurationObj | undefined; - - /** - * Unique identifier for the bucket - * @public - */ - uid?: string | undefined; -} - -/** - * @public - */ -export interface GetMetadataInput { - Bucket: string | undefined; - Key: string | undefined; - VersionId?: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface GetMetadataOutput { - Body?: string | undefined; -} - -/** - * @public - */ -export interface GetObjectInput { - Bucket: string | undefined; - Key: string | undefined; - IfMatch?: string | undefined; - IfModifiedSince?: Date | undefined; - IfNoneMatch?: string | undefined; - IfUnmodifiedSince?: Date | undefined; - Range?: string | undefined; - ResponseCacheControl?: string | undefined; - ResponseContentDisposition?: string | undefined; - ResponseContentEncoding?: string | undefined; - ResponseContentLanguage?: string | undefined; - ResponseContentType?: string | undefined; - ResponseExpires?: Date | undefined; - VersionId?: string | undefined; - SSECustomerAlgorithm?: string | undefined; - /** - * Sensitive string that should be redacted in logs - * @public - */ - SSECustomerKey?: string | undefined; - - SSECustomerKeyMD5?: string | undefined; - RequestPayer?: string | undefined; - PartNumber?: number | undefined; - LocationConstraint?: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @internal - */ -export const GetObjectInputFilterSensitiveLog = (obj: GetObjectInput): any => ({ - ...obj, - ...(obj.SSECustomerKey && { SSECustomerKey: - SENSITIVE_STRING - }), -}) - -/** - * @public - */ -export interface GetObjectOutput { - Body: StreamingBlobTypes | undefined; - DeleteMarker?: boolean | undefined; - AcceptRanges?: string | undefined; - Expiration?: string | undefined; - Restore?: string | undefined; - LastModified?: Date | undefined; - ETag?: string | undefined; - MissingMeta?: number | undefined; - VersionId?: string | undefined; - CacheControl?: string | undefined; - ContentDisposition?: string | undefined; - ContentEncoding?: string | undefined; - ContentLanguage?: string | undefined; - ContentRange?: string | undefined; - ContentType?: string | undefined; - Expires?: Date | undefined; - WebsiteRedirectLocation?: string | undefined; - ServerSideEncryption?: string | undefined; - /** - * Map of metadata key-value pairs - * @public - */ - Metadata?: Record | undefined; - - SSECustomerAlgorithm?: string | undefined; - SSECustomerKeyMD5?: string | undefined; - /** - * Sensitive string that should be redacted in logs - * @public - */ - SSEKMSKeyId?: string | undefined; - - StorageClass?: string | undefined; - RequestCharged?: string | undefined; - ReplicationStatus?: string | undefined; - PartsCount?: number | undefined; - TagCount?: number | undefined; -} - -/** - * @internal - */ -export const GetObjectOutputFilterSensitiveLog = (obj: GetObjectOutput): any => ({ - ...obj, - ...(obj.SSEKMSKeyId && { SSEKMSKeyId: - SENSITIVE_STRING - }), -}) - -/** - * @public - */ -export interface GetObjectListInput { - Bucket: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface ObjectMD { - key?: string | undefined; - value?: string | undefined; -} - -/** - * @public - */ -export interface GetObjectListOutput { - Contents?: (ObjectMD)[] | undefined; - CommonPrefixes?: (string)[] | undefined; - IsTruncated?: boolean | undefined; - Delimiter?: string | undefined; -} - -/** - * @public - */ -export interface GetRaftBucketsInput { - LogId: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface GetRaftBucketsOutput { - Buckets?: __DocumentType | undefined; -} - -/** - * @public - */ -export interface GetRaftIdInput { - Bucket: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface GetRaftIdOutput { - RaftId?: string | undefined; -} - -/** - * @public - */ -export interface GetRaftLogInput { - LogId: string | undefined; - Begin?: number | undefined; - Limit?: number | undefined; - TargetLeader?: boolean | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface GetRaftLogOutput { - /** - * Streaming log data containing the complete JSON response - * @public - */ - Body: StreamingBlobTypes | undefined; - - /** - * Starting sequence number - * @public - */ - Start?: number | undefined; - - /** - * Current sequence number - * @public - */ - Cseq?: number | undefined; - - /** - * Prune sequence number - * @public - */ - Prune?: number | undefined; -} - -/** - * @internal - */ -export const GetRaftLogOutputFilterSensitiveLog = (obj: GetRaftLogOutput): any => ({ - ...obj, -}) - -/** - * Input for ListLifecycleCurrents operation - * @public - */ -export interface ListLifecycleCurrentsInput { - /** - * The bucket name - * @public - */ - Bucket: string | undefined; - - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - - /** - * Limit the response to only include keys that are stored outside of the ExcludedDataStoreName - * @public - */ - ExcludedDataStoreName?: string | undefined; - - /** - * Encoding type for the response - * @public - */ - EncodingType?: string | undefined; - - /** - * Marker for pagination - * @public - */ - Marker?: string | undefined; - - /** - * Maximum number of keys to return - * @public - */ - MaxKeys?: number | undefined; - - /** - * Limits the response to keys that begin with the specified prefix - * @public - */ - Prefix?: string | undefined; - - RequestUids?: string | undefined; -} - -/** - * Owner information - * @public - */ -export interface Owner { - /** - * Container for the display name of the owner - * @public - */ - DisplayName?: string | undefined; - - /** - * Container for the ID of the owner - * @public - */ - ID?: string | undefined; -} - -/** - * Tag key-value pair - * @public - */ -export interface Tag { - /** - * Name of the tag key - * @public - */ - Key: string | undefined; - - /** - * Value of the tag - * @public - */ - Value: string | undefined; -} - -/** - * Object lifecycle information - * @public - */ -export interface ObjectLifecycle { - /** - * The name that you assign to an object - * @public - */ - Key?: string | undefined; - - /** - * Creation date of the object - * @public - */ - LastModified?: string | undefined; - - /** - * The entity tag is a hash of the object - * @public - */ - ETag?: string | undefined; - - /** - * The owner of the object - * @public - */ - Owner?: Owner | undefined; - - /** - * Size in bytes of the object - * @public - */ - Size?: number | undefined; - - /** - * The class of storage used to store the object - * @public - */ - StorageClass?: string | undefined; - - /** - * Contains the tag set - * @public - */ - TagSet?: (Tag)[] | undefined; - - /** - * Contains the stale date - * @public - */ - staleDate?: string | undefined; - - /** - * Version ID - * @public - */ - VersionId?: string | undefined; - - /** - * The data location name - * @public - */ - DataStoreName?: string | undefined; - - /** - * List type - * @public - */ - ListType?: string | undefined; -} - -/** - * Output for ListLifecycleCurrents operation - * @public - */ -export interface ListLifecycleCurrentsOutput { - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - - /** - * Indicates where in the bucket listing begins - * @public - */ - Marker?: string | undefined; - - /** - * Flag that indicates whether all results were returned - * @public - */ - IsTruncated?: boolean | undefined; - - /** - * Next marker for pagination - * @public - */ - NextMarker?: string | undefined; - - /** - * Metadata about each object returned - * @public - */ - Contents?: (ObjectLifecycle)[] | undefined; - - /** - * The bucket name - * @public - */ - Name?: string | undefined; - - /** - * Keys that begin with the indicated prefix - * @public - */ - Prefix?: string | undefined; - - /** - * Maximum number of keys returned in the response body - * @public - */ - MaxKeys?: number | undefined; -} - -/** - * Input for ListLifecycleNonCurrents operation - * @public - */ -export interface ListLifecycleNonCurrentsInput { - /** - * The bucket name - * @public - */ - Bucket: string | undefined; - - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - - /** - * Limit the response to only include keys that are stored outside of the ExcludedDataStoreName - * @public - */ - ExcludedDataStoreName?: string | undefined; - - /** - * Encoding type for the response - * @public - */ - EncodingType?: string | undefined; - - /** - * Key marker for pagination - * @public - */ - KeyMarker?: string | undefined; - - /** - * Version ID marker for pagination - * @public - */ - VersionIdMarker?: string | undefined; - - /** - * Maximum number of keys to return - * @public - */ - MaxKeys?: number | undefined; - - /** - * Limits the response to keys that begin with the specified prefix - * @public - */ - Prefix?: string | undefined; - - RequestUids?: string | undefined; -} - -/** - * Output for ListLifecycleNonCurrents operation - * @public - */ -export interface ListLifecycleNonCurrentsOutput { - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - - /** - * Indicates where in the bucket listing begins - * @public - */ - KeyMarker?: string | undefined; - - /** - * Marks the last version of the key returned in a truncated response - * @public - */ - VersionIdMarker?: string | undefined; - - /** - * Flag that indicates whether all results were returned - * @public - */ - IsTruncated?: boolean | undefined; - - /** - * Next key marker for pagination - * @public - */ - NextKeyMarker?: string | undefined; - - /** - * Next version ID marker for pagination - * @public - */ - NextVersionIdMarker?: string | undefined; - - /** - * Metadata about each object returned - * @public - */ - Contents?: (ObjectLifecycle)[] | undefined; - - /** - * The bucket name - * @public - */ - Name?: string | undefined; - - /** - * Keys that begin with the indicated prefix - * @public - */ - Prefix?: string | undefined; - - /** - * Maximum number of keys returned in the response body - * @public - */ - MaxKeys?: number | undefined; -} - -/** - * Input for ListLifecycleOrphans operation (same structure as ListLifecycleCurrents) - * @public - */ -export interface ListLifecycleOrphansInput { - /** - * The bucket name - * @public - */ - Bucket: string | undefined; - - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - - /** - * Limit the response to only include keys that are stored outside of the ExcludedDataStoreName - * @public - */ - ExcludedDataStoreName?: string | undefined; - - /** - * Encoding type for the response - * @public - */ - EncodingType?: string | undefined; - - /** - * Marker for pagination - * @public - */ - Marker?: string | undefined; - - /** - * Maximum number of keys to return - * @public - */ - MaxKeys?: number | undefined; - - /** - * Limits the response to keys that begin with the specified prefix - * @public - */ - Prefix?: string | undefined; - - RequestUids?: string | undefined; -} - -/** - * Output for ListLifecycleOrphans operation (same structure as ListLifecycleCurrents) - * @public - */ -export interface ListLifecycleOrphansOutput { - /** - * Limit the response to keys modified prior to before date - * @public - */ - BeforeDate?: string | undefined; - - /** - * Indicates where in the bucket listing begins - * @public - */ - Marker?: string | undefined; - - /** - * Flag that indicates whether all results were returned - * @public - */ - IsTruncated?: boolean | undefined; - - /** - * Next marker for pagination - * @public - */ - NextMarker?: string | undefined; - - /** - * Metadata about each object returned - * @public - */ - Contents?: (ObjectLifecycle)[] | undefined; - - /** - * The bucket name - * @public - */ - Name?: string | undefined; - - /** - * Keys that begin with the indicated prefix - * @public - */ - Prefix?: string | undefined; - - /** - * Maximum number of keys returned in the response body - * @public - */ - MaxKeys?: number | undefined; -} - -/** - * @public - */ -export interface MultipleBackendAbortMPUInput { - Bucket: string | undefined; - Key: string | undefined; - StorageType?: string | undefined; - StorageClass: string | undefined; - UploadId?: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface MultipleBackendAbortMPUOutput { -} - -/** - * @public - */ -export interface MultipleBackendCompleteMPUInput { - Bucket: string | undefined; - Key: string | undefined; - StorageType?: string | undefined; - StorageClass: string | undefined; - VersionId?: string | undefined; - ContentType?: string | undefined; - UserMetaData?: string | undefined; - CacheControl?: string | undefined; - ContentDisposition?: string | undefined; - ContentEncoding?: string | undefined; - UploadId?: string | undefined; - Tags?: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} - -/** - * @public - */ -export interface LocationMDObj { - /** - * Storage key for this location - * @public - */ - key?: string | undefined; - - /** - * Size of the data stored at this location - * @public - */ - size?: number | undefined; - - /** - * Start position/offset for this data segment - * @public - */ - start?: number | undefined; - - /** - * Name of the data store where this is located - * @public - */ - dataStoreName?: string | undefined; - - /** - * Type of the data store (e.g., file, mem, etc.) - * @public - */ - dataStoreType?: string | undefined; - - /** - * ETag from the data store for this location - * @public - */ - dataStoreETag?: string | undefined; - - /** - * Version ID in the data store for this location - * @public - */ - dataStoreVersionId?: string | undefined; -} - -/** - * @public - */ -export interface MultipleBackendCompleteMPUOutput { - /** - * Version ID of the completed object - * @public - */ - versionId?: string | undefined; - - /** - * Location information - * @public - */ - location?: (LocationMDObj)[] | undefined; -} - -/** - * @public - */ -export interface MultipleBackendDeleteObjectInput { - Bucket: string | undefined; - Key: string | undefined; - StorageType?: string | undefined; - StorageClass: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface MultipleBackendDeleteObjectOutput { - versionId?: string | undefined; -} - -/** - * @public - */ -export interface MultipleBackendDeleteObjectTaggingInput { - Bucket: string | undefined; - Key: string | undefined; - StorageClass: string | undefined; - StorageType?: string | undefined; - DataStoreVersionId?: string | undefined; - SourceBucket?: string | undefined; - SourceVersionId?: string | undefined; - ReplicationEndpointSite?: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} - -/** - * @public - */ -export interface MultipleBackendDeleteObjectTaggingOutput { - /** - * Version ID of the object after tag removal - * @public - */ - versionId?: string | undefined; -} - -/** - * @public - */ -export interface MultipleBackendHeadObjectInput { - Bucket: string | undefined; - Key: string | undefined; - Locations: string | undefined; - RequestUids?: string | undefined; -} - -/** - * @public - */ -export interface MultipleBackendHeadObjectOutput { - /** - * Last modified timestamp - * @public - */ - lastModified?: string | undefined; -} - -/** - * @public - */ -export interface MultipleBackendInitiateMPUInput { - Bucket: string | undefined; - Key: string | undefined; - StorageClass: string | undefined; - VersionId?: string | undefined; - StorageType?: string | undefined; - ContentType?: string | undefined; - UserMetaData?: string | undefined; - CacheControl?: string | undefined; - ContentDisposition?: string | undefined; - ContentEncoding?: string | undefined; - Tags?: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} - -/** - * @public - */ -export interface MultipleBackendInitiateMPUOutput { - /** - * Upload ID for the multipart upload - * @public - */ - uploadId?: string | undefined; -} - -/** - * @public - */ -export interface MultipleBackendPutMPUPartInput { - Bucket: string | undefined; - Key: string | undefined; - StorageType?: string | undefined; - StorageClass: string | undefined; - PartNumber?: number | undefined; - UploadId?: string | undefined; - RequestUids?: string | undefined; - /** - * Streaming blob type for binary data transfer - * @public - */ - Body: StreamingBlobTypes | undefined; -} - -/** - * @internal - */ -export const MultipleBackendPutMPUPartInputFilterSensitiveLog = (obj: MultipleBackendPutMPUPartInput): any => ({ - ...obj, -}) - -/** - * @public - */ -export interface MultipleBackendPutMPUPartOutput { - /** - * Part number - * @public - */ - partNumber?: string | undefined; - - /** - * ETag of the uploaded part - * @public - */ - ETag?: string | undefined; - - /** - * Number of sub-parts - * @public - */ - numberSubParts?: number | undefined; -} - -/** - * @public - */ -export interface MultipleBackendPutObjectInput { - Bucket: string | undefined; - Key: string | undefined; - ContentMD5?: string | undefined; - ContentType?: string | undefined; - UserMetaData?: string | undefined; - CacheControl?: string | undefined; - ContentDisposition?: string | undefined; - ContentEncoding?: string | undefined; - CanonicalID?: string | undefined; - StorageClass: string | undefined; - StorageType?: string | undefined; - VersionId?: string | undefined; - Tags?: string | undefined; - RequestUids?: string | undefined; - /** - * Streaming blob type for binary data transfer - * @public - */ - Body?: StreamingBlobTypes | undefined; -} - -/** - * @internal - */ -export const MultipleBackendPutObjectInputFilterSensitiveLog = (obj: MultipleBackendPutObjectInput): any => ({ - ...obj, -}) - -/** - * @public - */ -export interface MultipleBackendPutObjectOutput { - /** - * Version ID of the stored object - * @public - */ - versionId?: string | undefined; - - /** - * List of storage locations where the object was stored - * @public - */ - location?: (LocationMDObj)[] | undefined; -} - -/** - * @public - */ -export interface MultipleBackendPutObjectTaggingInput { - Bucket: string | undefined; - Key: string | undefined; - StorageType?: string | undefined; - StorageClass: string | undefined; - DataStoreVersionId?: string | undefined; - Tags?: string | undefined; - SourceBucket?: string | undefined; - SourceVersionId?: string | undefined; - ReplicationEndpointSite?: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} - -/** - * @public - */ -export interface MultipleBackendPutObjectTaggingOutput { - /** - * Version ID of the tagged object - * @public - */ - versionId?: string | undefined; -} - -/** - * @public - */ -export interface PutBucketIndexesInput { - Bucket: string | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} - -/** - * @public - */ -export interface PutBucketIndexesOutput { -} - -/** - * @public - */ -export interface PutDataInput { - Bucket: string | undefined; - Key: string | undefined; - ContentMD5?: string | undefined; - CanonicalID?: string | undefined; - VersioningRequired?: boolean | undefined; - RequestUids?: string | undefined; - /** - * Streaming blob type for binary data transfer - * @public - */ - Body?: StreamingBlobTypes | undefined; -} - -/** - * @internal - */ -export const PutDataInputFilterSensitiveLog = (obj: PutDataInput): any => ({ - ...obj, -}) - -/** - * @public - */ -export interface PutDataOutput { - Location?: __DocumentType | undefined; - ServerSideEncryption?: string | undefined; - SSECustomerAlgorithm?: string | undefined; - SSEKMSKeyId?: string | undefined; -} - -/** - * @public - */ -export interface PutMetadataInput { - Bucket: string | undefined; - Key: string | undefined; - VersionId?: string | undefined; - AccountId?: string | undefined; - ContentMD5?: string | undefined; - ReplicationContent?: string | undefined; - VersioningRequired?: boolean | undefined; - RequestUids?: string | undefined; - Body?: Uint8Array | undefined; -} - -/** - * @public - */ -export interface PutMetadataOutput { - /** - * Version ID of the stored metadata - * @public - */ - versionId?: string | undefined; -} diff --git a/build/smithy/source/typescript-codegen/src/protocols/Aws_restJson1.ts b/build/smithy/source/typescript-codegen/src/protocols/Aws_restJson1.ts deleted file mode 100644 index 4bd329dc..00000000 --- a/build/smithy/source/typescript-codegen/src/protocols/Aws_restJson1.ts +++ /dev/null @@ -1,1794 +0,0 @@ -// smithy-typescript generated code -import { - BatchDeleteCommandInput, - BatchDeleteCommandOutput, -} from "../commands/BatchDeleteCommand"; -import { - DeleteBucketIndexesCommandInput, - DeleteBucketIndexesCommandOutput, -} from "../commands/DeleteBucketIndexesCommand"; -import { - DeleteObjectFromExpirationCommandInput, - DeleteObjectFromExpirationCommandOutput, -} from "../commands/DeleteObjectFromExpirationCommand"; -import { - GetBucketCseqCommandInput, - GetBucketCseqCommandOutput, -} from "../commands/GetBucketCseqCommand"; -import { - GetBucketIndexesCommandInput, - GetBucketIndexesCommandOutput, -} from "../commands/GetBucketIndexesCommand"; -import { - GetBucketMetadataCommandInput, - GetBucketMetadataCommandOutput, -} from "../commands/GetBucketMetadataCommand"; -import { - GetMetadataCommandInput, - GetMetadataCommandOutput, -} from "../commands/GetMetadataCommand"; -import { - GetObjectCommandInput, - GetObjectCommandOutput, -} from "../commands/GetObjectCommand"; -import { - GetObjectListCommandInput, - GetObjectListCommandOutput, -} from "../commands/GetObjectListCommand"; -import { - GetRaftBucketsCommandInput, - GetRaftBucketsCommandOutput, -} from "../commands/GetRaftBucketsCommand"; -import { - GetRaftIdCommandInput, - GetRaftIdCommandOutput, -} from "../commands/GetRaftIdCommand"; -import { - GetRaftLogCommandInput, - GetRaftLogCommandOutput, -} from "../commands/GetRaftLogCommand"; -import { - ListLifecycleCurrentsCommandInput, - ListLifecycleCurrentsCommandOutput, -} from "../commands/ListLifecycleCurrentsCommand"; -import { - ListLifecycleNonCurrentsCommandInput, - ListLifecycleNonCurrentsCommandOutput, -} from "../commands/ListLifecycleNonCurrentsCommand"; -import { - ListLifecycleOrphansCommandInput, - ListLifecycleOrphansCommandOutput, -} from "../commands/ListLifecycleOrphansCommand"; -import { - MultipleBackendAbortMPUCommandInput, - MultipleBackendAbortMPUCommandOutput, -} from "../commands/MultipleBackendAbortMPUCommand"; -import { - MultipleBackendCompleteMPUCommandInput, - MultipleBackendCompleteMPUCommandOutput, -} from "../commands/MultipleBackendCompleteMPUCommand"; -import { - MultipleBackendDeleteObjectCommandInput, - MultipleBackendDeleteObjectCommandOutput, -} from "../commands/MultipleBackendDeleteObjectCommand"; -import { - MultipleBackendDeleteObjectTaggingCommandInput, - MultipleBackendDeleteObjectTaggingCommandOutput, -} from "../commands/MultipleBackendDeleteObjectTaggingCommand"; -import { - MultipleBackendHeadObjectCommandInput, - MultipleBackendHeadObjectCommandOutput, -} from "../commands/MultipleBackendHeadObjectCommand"; -import { - MultipleBackendInitiateMPUCommandInput, - MultipleBackendInitiateMPUCommandOutput, -} from "../commands/MultipleBackendInitiateMPUCommand"; -import { - MultipleBackendPutMPUPartCommandInput, - MultipleBackendPutMPUPartCommandOutput, -} from "../commands/MultipleBackendPutMPUPartCommand"; -import { - MultipleBackendPutObjectCommandInput, - MultipleBackendPutObjectCommandOutput, -} from "../commands/MultipleBackendPutObjectCommand"; -import { - MultipleBackendPutObjectTaggingCommandInput, - MultipleBackendPutObjectTaggingCommandOutput, -} from "../commands/MultipleBackendPutObjectTaggingCommand"; -import { - PutBucketIndexesCommandInput, - PutBucketIndexesCommandOutput, -} from "../commands/PutBucketIndexesCommand"; -import { - PutDataCommandInput, - PutDataCommandOutput, -} from "../commands/PutDataCommand"; -import { - PutMetadataCommandInput, - PutMetadataCommandOutput, -} from "../commands/PutMetadataCommand"; -import { CloudserverServiceException as __BaseException } from "../models/CloudserverServiceException"; -import { BatchDeleteLocation } from "../models/models_0"; -import { - loadRestJsonErrorCode, - parseJsonBody as parseBody, - parseJsonErrorBody as parseErrorBody, -} from "@aws-sdk/core"; -import { requestBuilder as rb } from "@smithy/core"; -import { - HttpRequest as __HttpRequest, - HttpResponse as __HttpResponse, -} from "@smithy/protocol-http"; -import { - dateToUtcString as __dateToUtcString, - expectBoolean as __expectBoolean, - expectInt32 as __expectInt32, - expectNonNull as __expectNonNull, - expectObject as __expectObject, - expectString as __expectString, - extendedEncodeURIComponent as __extendedEncodeURIComponent, - parseBoolean as __parseBoolean, - parseRfc7231DateTime as __parseRfc7231DateTime, - resolvedPath as __resolvedPath, - serializeDateTime as __serializeDateTime, - strictParseInt32 as __strictParseInt32, - _json, - collectBody, - isSerializableHeaderValue, - map, - take, - withBaseException, -} from "@smithy/smithy-client"; -import { - DocumentType as __DocumentType, - Endpoint as __Endpoint, - ResponseMetadata as __ResponseMetadata, - SdkStreamSerdeContext as __SdkStreamSerdeContext, - SerdeContext as __SerdeContext, -} from "@smithy/types"; - -/** - * serializeAws_restJson1BatchDeleteCommand - */ -export const se_BatchDeleteCommand = async( - input: BatchDeleteCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'content-type': 'application/json', - [_ius]: input[_IUS]!, - [_xssc]: input[_SC]!, - [_xst]: input[_T]!, - [_xsct]: input[_CT]!, - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/batchdelete/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - let body: any; - body = JSON.stringify(take(input, { - 'Locations': _ => _json(_), - })); - b.m("POST") - .h(headers) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1DeleteBucketIndexesCommand - */ -export const se_DeleteBucketIndexesCommand = async( - input: DeleteBucketIndexesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/index/{Bucket}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - const query: any = map({ - [_o]: [, "delete"], - }); - let body: any; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1DeleteObjectFromExpirationCommand - */ -export const se_DeleteObjectFromExpirationCommand = async( - input: DeleteObjectFromExpirationCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/expiration/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_vI]: [,input[_VI]!], - }); - let body: any; - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1GetBucketCseqCommand - */ -export const se_GetBucketCseqCommand = async( - input: GetBucketCseqCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/metadata/default/informations/{Bucket}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - let body: any; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1GetBucketIndexesCommand - */ -export const se_GetBucketIndexesCommand = async( - input: GetBucketIndexesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/index/{Bucket}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - let body: any; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1GetBucketMetadataCommand - */ -export const se_GetBucketMetadataCommand = async( - input: GetBucketMetadataCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/metadata/default/attributes/{Bucket}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - let body: any; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1GetMetadataCommand - */ -export const se_GetMetadataCommand = async( - input: GetMetadataCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/metadata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_vI]: [,input[_VI]!], - }); - let body: any; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1GetObjectCommand - */ -export const se_GetObjectCommand = async( - input: GetObjectCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_im]: input[_IM]!, - [_ims]: [() => isSerializableHeaderValue(input[_IMS]), () => __dateToUtcString(input[_IMS]!).toString()], - [_inm]: input[_INM]!, - [_ius]: [() => isSerializableHeaderValue(input[_IUS]), () => __dateToUtcString(input[_IUS]!).toString()], - [_r]: input[_R]!, - [_xasseca]: input[_SSECA]!, - [_xasseck]: input[_SSECK]!, - [_xasseckm]: input[_SSECKMD]!, - [_xarp]: input[_RP]!, - [_xalc]: input[_LC]!, - [_xsru]: input[_RU]!, - }); - b.bp("/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_rcc]: [,input[_RCC]!], - [_rcd]: [,input[_RCD]!], - [_rce]: [,input[_RCE]!], - [_rcl]: [,input[_RCL]!], - [_rct]: [,input[_RCT]!], - [_re]: [() => input.ResponseExpires !== void 0, () => (__serializeDateTime(input[_RE]!).toString())], - [_vI]: [,input[_VI]!], - [_pN]: [() => input.PartNumber !== void 0, () => (input[_PN]!.toString())], - }); - let body: any; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1GetObjectListCommand - */ -export const se_GetObjectListCommand = async( - input: GetObjectListCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/metadata/default/bucket/{Bucket}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - let body: any; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1GetRaftBucketsCommand - */ -export const se_GetRaftBucketsCommand = async( - input: GetRaftBucketsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/metadata/admin/raft_sessions/{LogId}/bucket"); - b.p('LogId', () => input.LogId!, '{LogId}', false) - let body: any; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1GetRaftIdCommand - */ -export const se_GetRaftIdCommand = async( - input: GetRaftIdCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/metadata/admin/buckets/{Bucket}/id"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - let body: any; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1GetRaftLogCommand - */ -export const se_GetRaftLogCommand = async( - input: GetRaftLogCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/metadata/admin/raft_sessions/{LogId}/log"); - b.p('LogId', () => input.LogId!, '{LogId}', false) - const query: any = map({ - [_b]: [() => input.Begin !== void 0, () => (input[_B]!.toString())], - [_l]: [() => input.Limit !== void 0, () => (input[_L]!.toString())], - [_tL]: [() => input.TargetLeader !== void 0, () => (input[_TL]!.toString())], - }); - let body: any; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1ListLifecycleCurrentsCommand - */ -export const se_ListLifecycleCurrentsCommand = async( - input: ListLifecycleCurrentsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/lifecycle/{Bucket}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - const query: any = map({ - [_lt]: [, "current"], - [_bd]: [,input[_BD]!], - [_edsn]: [,input[_EDSN]!], - [_et]: [,input[_ET]!], - [_m]: [,input[_M]!], - [_mk]: [() => input.MaxKeys !== void 0, () => (input[_MK]!.toString())], - [_p]: [,input[_P]!], - }); - let body: any; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1ListLifecycleNonCurrentsCommand - */ -export const se_ListLifecycleNonCurrentsCommand = async( - input: ListLifecycleNonCurrentsCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/lifecycle/{Bucket}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - const query: any = map({ - [_lt]: [, "noncurrent"], - [_bd]: [,input[_BD]!], - [_edsn]: [,input[_EDSN]!], - [_et]: [,input[_ET]!], - [_km]: [,input[_KM]!], - [_vim]: [,input[_VIM]!], - [_mk]: [() => input.MaxKeys !== void 0, () => (input[_MK]!.toString())], - [_p]: [,input[_P]!], - }); - let body: any; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1ListLifecycleOrphansCommand - */ -export const se_ListLifecycleOrphansCommand = async( - input: ListLifecycleOrphansCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/lifecycle/{Bucket}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - const query: any = map({ - [_lt]: [, "orphan"], - [_bd]: [,input[_BD]!], - [_edsn]: [,input[_EDSN]!], - [_et]: [,input[_ET]!], - [_m]: [,input[_M]!], - [_mk]: [() => input.MaxKeys !== void 0, () => (input[_MK]!.toString())], - [_p]: [,input[_P]!], - }); - let body: any; - b.m("GET") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1MultipleBackendAbortMPUCommand - */ -export const se_MultipleBackendAbortMPUCommand = async( - input: MultipleBackendAbortMPUCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsst]: input[_ST]!, - [_xssc]: input[_SC]!, - [_xsui]: input[_UI]!, - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_o]: [, "abortmpu"], - }); - let body: any; - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1MultipleBackendCompleteMPUCommand - */ -export const se_MultipleBackendCompleteMPUCommand = async( - input: MultipleBackendCompleteMPUCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsst]: input[_ST]!, - [_xssc]: input[_SC]!, - [_xsvi]: input[_VI]!, - [_xsct]: input[_CT]!, - [_xsum]: input[_UMD]!, - [_xscc]: input[_CC]!, - [_xscd]: input[_CD]!, - [_xsce]: input[_CE]!, - [_xsui]: input[_UI]!, - [_xst]: input[_T]!, - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_o]: [, "completempu"], - }); - let body: any; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1MultipleBackendDeleteObjectCommand - */ -export const se_MultipleBackendDeleteObjectCommand = async( - input: MultipleBackendDeleteObjectCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsst]: input[_ST]!, - [_xssc]: input[_SC]!, - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_o]: [, "deleteobject"], - }); - let body: any; - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1MultipleBackendDeleteObjectTaggingCommand - */ -export const se_MultipleBackendDeleteObjectTaggingCommand = async( - input: MultipleBackendDeleteObjectTaggingCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xssc]: input[_SC]!, - [_xsst]: input[_ST]!, - [_xsdsvi]: input[_DSVI]!, - [_xssb]: input[_SB]!, - [_xssvi]: input[_SVI]!, - [_xsres]: input[_RES]!, - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_o]: [, "deleteobjecttagging"], - }); - let body: any; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("DELETE") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1MultipleBackendHeadObjectCommand - */ -export const se_MultipleBackendHeadObjectCommand = async( - input: MultipleBackendHeadObjectCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - [_xsl]: input[_Lo]!, - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/multiplebackendmetadata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - let body: any; - b.m("GET") - .h(headers) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1MultipleBackendInitiateMPUCommand - */ -export const se_MultipleBackendInitiateMPUCommand = async( - input: MultipleBackendInitiateMPUCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xssc]: input[_SC]!, - [_xsvi]: input[_VI]!, - [_xsst]: input[_ST]!, - [_xsct]: input[_CT]!, - [_xsum]: input[_UMD]!, - [_xscc]: input[_CC]!, - [_xscd]: input[_CD]!, - [_xsce]: input[_CE]!, - [_xst]: input[_T]!, - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_o]: [, "initiatempu"], - }); - let body: any; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1MultipleBackendPutMPUPartCommand - */ -export const se_MultipleBackendPutMPUPartCommand = async( - input: MultipleBackendPutMPUPartCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'x-amz-content-sha256': 'UNSIGNED-PAYLOAD', - 'content-type': 'application/octet-stream', - [_xsst]: input[_ST]!, - [_xssc]: input[_SC]!, - [_xspn]: [() => isSerializableHeaderValue(input[_PN]), () => input[_PN]!.toString()], - [_xsui]: input[_UI]!, - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_o]: [, "putpart"], - }); - let body: any; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1MultipleBackendPutObjectCommand - */ -export const se_MultipleBackendPutObjectCommand = async( - input: MultipleBackendPutObjectCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'x-amz-content-sha256': 'UNSIGNED-PAYLOAD', - 'content-type': 'application/octet-stream', - [_cm]: input[_CMD]!, - [_xsct]: input[_CT]!, - [_xsum]: input[_UMD]!, - [_xscc]: input[_CC]!, - [_xscd]: input[_CD]!, - [_xsce]: input[_CE]!, - [_xsci]: input[_CID]!, - [_xssc]: input[_SC]!, - [_xsst]: input[_ST]!, - [_xsvi]: input[_VI]!, - [_xst]: input[_T]!, - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_o]: [, "putobject"], - }); - let body: any; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1MultipleBackendPutObjectTaggingCommand - */ -export const se_MultipleBackendPutObjectTaggingCommand = async( - input: MultipleBackendPutObjectTaggingCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsst]: input[_ST]!, - [_xssc]: input[_SC]!, - [_xsdsvi]: input[_DSVI]!, - [_xst]: input[_T]!, - [_xssb]: input[_SB]!, - [_xssvi]: input[_SVI]!, - [_xsres]: input[_RES]!, - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/multiplebackenddata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_o]: [, "puttagging"], - }); - let body: any; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1PutBucketIndexesCommand - */ -export const se_PutBucketIndexesCommand = async( - input: PutBucketIndexesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/index/{Bucket}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - const query: any = map({ - [_o]: [, "add"], - }); - let body: any; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("POST") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1PutDataCommand - */ -export const se_PutDataCommand = async( - input: PutDataCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'x-amz-content-sha256': 'UNSIGNED-PAYLOAD', - 'content-type': 'application/octet-stream', - [_cm]: input[_CMD]!, - [_xsci]: input[_CID]!, - [_xsvr]: [() => isSerializableHeaderValue(input[_VR]), () => input[_VR]!.toString()], - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/data/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_v]: [, ""], - }); - let body: any; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * serializeAws_restJson1PutMetadataCommand - */ -export const se_PutMetadataCommand = async( - input: PutMetadataCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const b = rb(input, context); - const headers: any = map({}, isSerializableHeaderValue, { - 'content-type': 'application/octet-stream', - [_cm]: input[_CMD]!, - [_xsrc]: input[_RC]!, - [_xsvr]: [() => isSerializableHeaderValue(input[_VR]), () => input[_VR]!.toString()], - [_xsru]: input[_RU]!, - }); - b.bp("/_/backbeat/metadata/{Bucket}/{Key+}"); - b.p('Bucket', () => input.Bucket!, '{Bucket}', false) - b.p('Key', () => input.Key!, '{Key+}', true) - const query: any = map({ - [_vI]: [,input[_VI]!], - [_aI]: [,input[_AI]!], - }); - let body: any; - if (input.Body !== undefined) { - body = input.Body; - } - b.m("PUT") - .h(headers) - .q(query) - .b(body); - return b.build(); -} - -/** - * deserializeAws_restJson1BatchDeleteCommand - */ -export const de_BatchDeleteCommand = async( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -} - -/** - * deserializeAws_restJson1DeleteBucketIndexesCommand - */ -export const de_DeleteBucketIndexesCommand = async( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -} - -/** - * deserializeAws_restJson1DeleteObjectFromExpirationCommand - */ -export const de_DeleteObjectFromExpirationCommand = async( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; -} - -/** - * deserializeAws_restJson1GetBucketCseqCommand - */ -export const de_GetBucketCseqCommand = async( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: any = await collectBodyString(output.body, context); - contents.CseqInfo = data; - contents.CseqInfo = JSON.parse(data); - return contents; -} - -/** - * deserializeAws_restJson1GetBucketIndexesCommand - */ -export const de_GetBucketIndexesCommand = async( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'Indexes': _json, - }); - Object.assign(contents, doc); - return contents; -} - -/** - * deserializeAws_restJson1GetBucketMetadataCommand - */ -export const de_GetBucketMetadataCommand = async( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'acl': _json, - 'cors': _json, - 'creationDate': __expectString, - 'deleted': __expectBoolean, - 'lifecycleConfiguration': _json, - 'locationConstraint': __expectString, - 'mdBucketModelVersion': __expectInt32, - 'name': __expectString, - 'owner': __expectString, - 'ownerDisplayName': __expectString, - 'readLocationConstraint': __expectString, - 'replicationConfiguration': _json, - 'serverSideEncryption': _json, - 'transient': __expectBoolean, - 'uid': __expectString, - 'versioningConfiguration': _json, - }); - Object.assign(contents, doc); - return contents; -} - -/** - * deserializeAws_restJson1GetMetadataCommand - */ -export const de_GetMetadataCommand = async( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'Body': __expectString, - }); - Object.assign(contents, doc); - return contents; -} - -/** - * deserializeAws_restJson1GetObjectCommand - */ -export const de_GetObjectCommand = async( - output: __HttpResponse, - context: __SerdeContext & __SdkStreamSerdeContext -): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - [_DM]: [() => void 0 !== output.headers[_xadm], () => __parseBoolean(output.headers[_xadm])], - [_AR]: [, output.headers[_ar]], - [_E]: [, output.headers[_xae]], - [_Re]: [, output.headers[_xar]], - [_LM]: [() => void 0 !== output.headers[_lm], () => __expectNonNull(__parseRfc7231DateTime(output.headers[_lm]))], - [_ETa]: [, output.headers[_e]], - [_MM]: [() => void 0 !== output.headers[_xamm], () => __strictParseInt32(output.headers[_xamm])], - [_VI]: [, output.headers[_xavi]], - [_CC]: [, output.headers[_cc]], - [_CD]: [, output.headers[_cd]], - [_CE]: [, output.headers[_ce]], - [_CL]: [, output.headers[_cl]], - [_CR]: [, output.headers[_cr]], - [_CT]: [, output.headers[_ct]], - [_Ex]: [() => void 0 !== output.headers[_ex], () => __expectNonNull(__parseRfc7231DateTime(output.headers[_ex]))], - [_WRL]: [, output.headers[_xawrl]], - [_SSE]: [, output.headers[_xasse]], - [_SSECA]: [, output.headers[_xasseca]], - [_SSECKMD]: [, output.headers[_xasseckm]], - [_SSEKMSKI]: [, output.headers[_xasseakki]], - [_SC]: [, output.headers[_xasc]], - [_RCe]: [, output.headers[_xarc]], - [_RS]: [, output.headers[_xars]], - [_PC]: [() => void 0 !== output.headers[_xampc], () => __strictParseInt32(output.headers[_xampc])], - [_TC]: [() => void 0 !== output.headers[_xatc], () => __strictParseInt32(output.headers[_xatc])], - Metadata: [, - Object.keys(output.headers).filter(header => header.startsWith('x-amz-meta-')) - .reduce((acc, header) => { - acc[header.substring(11)] = output.headers[header]; - return acc; - }, {} as any) - ], - }); - const data: any = output.body; - context.sdkStreamMixin(data); - contents.Body = data; - return contents; - } - - /** - * deserializeAws_restJson1GetObjectListCommand - */ - export const de_GetObjectListCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'CommonPrefixes': _json, - 'Contents': _json, - 'Delimiter': __expectString, - 'IsTruncated': __expectBoolean, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1GetRaftBucketsCommand - */ - export const de_GetRaftBucketsCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: any = await collectBodyString(output.body, context); - contents.Buckets = data; - contents.Buckets = JSON.parse(data); - return contents; - } - - /** - * deserializeAws_restJson1GetRaftIdCommand - */ - export const de_GetRaftIdCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: any = await collectBodyString(output.body, context); - contents.RaftId = __expectString(data); - return contents; - } - - /** - * deserializeAws_restJson1GetRaftLogCommand - */ - export const de_GetRaftLogCommand = async( - output: __HttpResponse, - context: __SerdeContext & __SdkStreamSerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - [_S]: [() => void 0 !== output.headers[_xrls], () => __strictParseInt32(output.headers[_xrls])], - [_C]: [() => void 0 !== output.headers[_xrlc], () => __strictParseInt32(output.headers[_xrlc])], - [_Pr]: [() => void 0 !== output.headers[_xrlp], () => __strictParseInt32(output.headers[_xrlp])], - }); - const data: any = output.body; - context.sdkStreamMixin(data); - contents.Body = data; - return contents; - } - - /** - * deserializeAws_restJson1ListLifecycleCurrentsCommand - */ - export const de_ListLifecycleCurrentsCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'BeforeDate': __expectString, - 'Contents': _json, - 'IsTruncated': __expectBoolean, - 'Marker': __expectString, - 'MaxKeys': __expectInt32, - 'Name': __expectString, - 'NextMarker': __expectString, - 'Prefix': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1ListLifecycleNonCurrentsCommand - */ - export const de_ListLifecycleNonCurrentsCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'BeforeDate': __expectString, - 'Contents': _json, - 'IsTruncated': __expectBoolean, - 'KeyMarker': __expectString, - 'MaxKeys': __expectInt32, - 'Name': __expectString, - 'NextKeyMarker': __expectString, - 'NextVersionIdMarker': __expectString, - 'Prefix': __expectString, - 'VersionIdMarker': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1ListLifecycleOrphansCommand - */ - export const de_ListLifecycleOrphansCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'BeforeDate': __expectString, - 'Contents': _json, - 'IsTruncated': __expectBoolean, - 'Marker': __expectString, - 'MaxKeys': __expectInt32, - 'Name': __expectString, - 'NextMarker': __expectString, - 'Prefix': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1MultipleBackendAbortMPUCommand - */ - export const de_MultipleBackendAbortMPUCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; - } - - /** - * deserializeAws_restJson1MultipleBackendCompleteMPUCommand - */ - export const de_MultipleBackendCompleteMPUCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'location': _json, - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1MultipleBackendDeleteObjectCommand - */ - export const de_MultipleBackendDeleteObjectCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1MultipleBackendDeleteObjectTaggingCommand - */ - export const de_MultipleBackendDeleteObjectTaggingCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1MultipleBackendHeadObjectCommand - */ - export const de_MultipleBackendHeadObjectCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'lastModified': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1MultipleBackendInitiateMPUCommand - */ - export const de_MultipleBackendInitiateMPUCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'uploadId': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1MultipleBackendPutMPUPartCommand - */ - export const de_MultipleBackendPutMPUPartCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'ETag': __expectString, - 'numberSubParts': __expectInt32, - 'partNumber': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1MultipleBackendPutObjectCommand - */ - export const de_MultipleBackendPutObjectCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'location': _json, - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1MultipleBackendPutObjectTaggingCommand - */ - export const de_MultipleBackendPutObjectTaggingCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserializeAws_restJson1PutBucketIndexesCommand - */ - export const de_PutBucketIndexesCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; - } - - /** - * deserializeAws_restJson1PutDataCommand - */ - export const de_PutDataCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - [_SSE]: [, output.headers[_xasse]], - [_SSECA]: [, output.headers[_xasseca]], - [_SSEKMSKI]: [, output.headers[_xasseakki]], - }); - const data: any = await collectBodyString(output.body, context); - contents.Location = data; - contents.Location = JSON.parse(data); - return contents; - } - - /** - * deserializeAws_restJson1PutMetadataCommand - */ - export const de_PutMetadataCommand = async( - output: __HttpResponse, - context: __SerdeContext - ): Promise => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CommandError(output, context); - } - const contents: any = map({ - $metadata: deserializeMetadata(output), - }); - const data: Record = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body"); - const doc = take(data, { - 'versionId': __expectString, - }); - Object.assign(contents, doc); - return contents; - } - - /** - * deserialize_Aws_restJson1CommandError - */ - const de_CommandError = async( - output: __HttpResponse, - context: __SerdeContext, - ): Promise => { - const parsedOutput: any = { - ...output, - body: await parseErrorBody(output.body, context) - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode - }) as never - } - - const throwDefaultError = withBaseException(__BaseException); - // se_BatchDeleteLocation omitted. - - // se_BatchDeleteLocationList omitted. - - // de_AclObj omitted. - - // de_CommonPrefixList omitted. - - // de_CorsListObj omitted. - - // de_CorsObj omitted. - - // de_ExpirationConfiguration omitted. - - // de_Index omitted. - - // de_IndexKey omitted. - - // de_IndexKeyList omitted. - - // de_IndexList omitted. - - // de_LCRuleObj omitted. - - // de_LifecycleConfigurationObj omitted. - - // de_LifecycleRuleList omitted. - - // de_LocationMDList omitted. - - // de_LocationMDObj omitted. - - // de_ObjectLifecycle omitted. - - // de_ObjectLifecycleList omitted. - - // de_ObjectMD omitted. - - // de_ObjectMDList omitted. - - // de_Owner omitted. - - // de_ReplicationConfigurationObj omitted. - - // de_ServerSideEncryptionMap omitted. - - // de_StringList omitted. - - // de_Tag omitted. - - // de_TagSet omitted. - - // de_VersioningConfigurationObj omitted. - - /** - * deserializeAws_restJson1Document - */ - const de_Document = ( - output: any, - context: __SerdeContext - ): __DocumentType => { - return output; - } - - const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ - httpStatusCode: output.statusCode, - requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"], - }); - - // Encode Uint8Array data into string with utf-8. - const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => collectBody(streamBody, context).then(body => context.utf8Encoder(body)) - - const _AI = "AccountId"; - const _AR = "AcceptRanges"; - const _B = "Begin"; - const _BD = "BeforeDate"; - const _C = "Cseq"; - const _CC = "CacheControl"; - const _CD = "ContentDisposition"; - const _CE = "ContentEncoding"; - const _CID = "CanonicalID"; - const _CL = "ContentLanguage"; - const _CMD = "ContentMD5"; - const _CR = "ContentRange"; - const _CT = "ContentType"; - const _DM = "DeleteMarker"; - const _DSVI = "DataStoreVersionId"; - const _E = "Expiration"; - const _EDSN = "ExcludedDataStoreName"; - const _ET = "EncodingType"; - const _ETa = "ETag"; - const _Ex = "Expires"; - const _IM = "IfMatch"; - const _IMS = "IfModifiedSince"; - const _INM = "IfNoneMatch"; - const _IUS = "IfUnmodifiedSince"; - const _KM = "KeyMarker"; - const _L = "Limit"; - const _LC = "LocationConstraint"; - const _LM = "LastModified"; - const _Lo = "Locations"; - const _M = "Marker"; - const _MK = "MaxKeys"; - const _MM = "MissingMeta"; - const _P = "Prefix"; - const _PC = "PartsCount"; - const _PN = "PartNumber"; - const _Pr = "Prune"; - const _R = "Range"; - const _RC = "ReplicationContent"; - const _RCC = "ResponseCacheControl"; - const _RCD = "ResponseContentDisposition"; - const _RCE = "ResponseContentEncoding"; - const _RCL = "ResponseContentLanguage"; - const _RCT = "ResponseContentType"; - const _RCe = "RequestCharged"; - const _RE = "ResponseExpires"; - const _RES = "ReplicationEndpointSite"; - const _RP = "RequestPayer"; - const _RS = "ReplicationStatus"; - const _RU = "RequestUids"; - const _Re = "Restore"; - const _S = "Start"; - const _SB = "SourceBucket"; - const _SC = "StorageClass"; - const _SSE = "ServerSideEncryption"; - const _SSECA = "SSECustomerAlgorithm"; - const _SSECK = "SSECustomerKey"; - const _SSECKMD = "SSECustomerKeyMD5"; - const _SSEKMSKI = "SSEKMSKeyId"; - const _ST = "StorageType"; - const _SVI = "SourceVersionId"; - const _T = "Tags"; - const _TC = "TagCount"; - const _TL = "TargetLeader"; - const _UI = "UploadId"; - const _UMD = "UserMetaData"; - const _VI = "VersionId"; - const _VIM = "VersionIdMarker"; - const _VR = "VersioningRequired"; - const _WRL = "WebsiteRedirectLocation"; - const _aI = "accountId"; - const _ar = "accept-ranges"; - const _b = "begin"; - const _bd = "before-date"; - const _cc = "cache-control"; - const _cd = "content-disposition"; - const _ce = "content-encoding"; - const _cl = "content-language"; - const _cm = "content-md5"; - const _cr = "content-range"; - const _ct = "content-type"; - const _e = "etag"; - const _edsn = "excluded-data-store-name"; - const _et = "encoding-type"; - const _ex = "expires"; - const _im = "if-match"; - const _ims = "if-modified-since"; - const _inm = "if-none-match"; - const _ius = "if-unmodified-since"; - const _km = "key-marker"; - const _l = "limit"; - const _lm = "last-modified"; - const _lt = "list-type"; - const _m = "marker"; - const _mk = "max-keys"; - const _o = "operation"; - const _p = "prefix"; - const _pN = "partNumber"; - const _r = "range"; - const _rcc = "response-cache-control"; - const _rcd = "response-content-disposition"; - const _rce = "response-content-encoding"; - const _rcl = "response-content-language"; - const _rct = "response-content-type"; - const _re = "response-expires"; - const _tL = "targetLeader"; - const _v = "v2"; - const _vI = "versionId"; - const _vim = "version-id-marker"; - const _xadm = "x-amz-delete-marker"; - const _xae = "x-amz-expiration"; - const _xalc = "x-amz-location-constraint"; - const _xamm = "x-amz-missing-meta"; - const _xampc = "x-amz-mp-parts-count"; - const _xar = "x-amz-restore"; - const _xarc = "x-amz-request-charged"; - const _xarp = "x-amz-request-payer"; - const _xars = "x-amz-replication-status"; - const _xasc = "x-amz-storage-class"; - const _xasse = "x-amz-server-side-encryption"; - const _xasseakki = "x-amz-server-side-encryption-aws-kms-key-id"; - const _xasseca = "x-amz-server-side-encryption-customer-algorithm"; - const _xasseck = "x-amz-server-side-encryption-customer-key"; - const _xasseckm = "x-amz-server-side-encryption-customer-key-md5"; - const _xatc = "x-amz-tagging-count"; - const _xavi = "x-amz-version-id"; - const _xawrl = "x-amz-website-redirect-location"; - const _xrlc = "x-raft-log-cseq"; - const _xrlp = "x-raft-log-prune"; - const _xrls = "x-raft-log-start"; - const _xscc = "x-scal-cache-control"; - const _xscd = "x-scal-content-disposition"; - const _xsce = "x-scal-content-encoding"; - const _xsci = "x-scal-canonical-id"; - const _xsct = "x-scal-content-type"; - const _xsdsvi = "x-scal-data-store-version-id"; - const _xsl = "x-scal-locations"; - const _xspn = "x-scal-part-number"; - const _xsrc = "x-scal-replication-content"; - const _xsres = "x-scal-replication-endpoint-site"; - const _xsru = "x-scal-request-uids"; - const _xssb = "x-scal-source-bucket"; - const _xssc = "x-scal-storage-class"; - const _xsst = "x-scal-storage-type"; - const _xssvi = "x-scal-source-version-id"; - const _xst = "x-scal-tags"; - const _xsui = "x-scal-upload-id"; - const _xsum = "x-scal-user-metadata"; - const _xsvi = "x-scal-version-id"; - const _xsvr = "x-scal-versioning-required"; diff --git a/build/smithy/source/typescript-codegen/src/runtimeConfig.browser.ts b/build/smithy/source/typescript-codegen/src/runtimeConfig.browser.ts deleted file mode 100644 index c18cbfd4..00000000 --- a/build/smithy/source/typescript-codegen/src/runtimeConfig.browser.ts +++ /dev/null @@ -1,50 +0,0 @@ -// smithy-typescript generated code -// @ts-ignore: package.json will be imported from dist folders -import packageInfo from "../package.json"; // eslint-disable-line - -import { Sha256 } from "@aws-crypto/sha256-browser"; -import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; -import { - DEFAULT_USE_DUALSTACK_ENDPOINT, - DEFAULT_USE_FIPS_ENDPOINT, -} from "@smithy/config-resolver"; -import { - FetchHttpHandler as RequestHandler, - streamCollector, -} from "@smithy/fetch-http-handler"; -import { invalidProvider } from "@smithy/invalid-dependency"; -import { calculateBodyLength } from "@smithy/util-body-length-browser"; -import { - DEFAULT_MAX_ATTEMPTS, - DEFAULT_RETRY_MODE, -} from "@smithy/util-retry"; -import { CloudserverClientConfig } from "./CloudserverClient"; -import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; -import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: CloudserverClientConfig) => { - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getSharedRuntimeConfig(config); - return { - ...clientSharedValues, - ...config, - runtime: "browser", - defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_: unknown) => () => Promise.reject(new Error("Credential is missing"))), - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version}), - maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, - region: config?.region ?? invalidProvider("Region is missing"), - requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), - sha256: config?.sha256 ?? Sha256, - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), - useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), - }; -}; diff --git a/build/smithy/source/typescript-codegen/src/runtimeConfig.native.ts b/build/smithy/source/typescript-codegen/src/runtimeConfig.native.ts deleted file mode 100644 index a27a321b..00000000 --- a/build/smithy/source/typescript-codegen/src/runtimeConfig.native.ts +++ /dev/null @@ -1,17 +0,0 @@ -// smithy-typescript generated code -import { Sha256 } from "@aws-crypto/sha256-js"; -import { CloudserverClientConfig } from "./CloudserverClient"; -import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: CloudserverClientConfig) => { - const browserDefaults = getBrowserRuntimeConfig(config); - return { - ...browserDefaults, - ...config, - runtime: "react-native", - sha256: config?.sha256 ?? Sha256, - }; -}; diff --git a/build/smithy/source/typescript-codegen/src/runtimeConfig.shared.ts b/build/smithy/source/typescript-codegen/src/runtimeConfig.shared.ts deleted file mode 100644 index 09603011..00000000 --- a/build/smithy/source/typescript-codegen/src/runtimeConfig.shared.ts +++ /dev/null @@ -1,44 +0,0 @@ -// smithy-typescript generated code -import { defaultCloudserverHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; -import { defaultEndpointResolver } from "./endpoint/endpointResolver"; -import { AwsSdkSigV4Signer } from "@aws-sdk/core"; -import { NoOpLogger } from "@smithy/smithy-client"; -import { IdentityProviderConfig } from "@smithy/types"; -import { parseUrl } from "@smithy/url-parser"; -import { - fromBase64, - toBase64, -} from "@smithy/util-base64"; -import { sdkStreamMixin } from "@smithy/util-stream"; -import { - fromUtf8, - toUtf8, -} from "@smithy/util-utf8"; -import { CloudserverClientConfig } from "./CloudserverClient"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: CloudserverClientConfig) => { - return { - apiVersion: "2017-07-01", - base64Decoder: config?.base64Decoder ?? fromBase64, - base64Encoder: config?.base64Encoder ?? toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, - extensions: config?.extensions ?? [], - httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCloudserverHttpAuthSchemeProvider, - httpAuthSchemes: config?.httpAuthSchemes ?? [{ - schemeId: "aws.auth#sigv4", - identityProvider: (ipc: IdentityProviderConfig) => - ipc.getIdentityProvider("aws.auth#sigv4"), - signer: new AwsSdkSigV4Signer(), - }], - logger: config?.logger ?? new NoOpLogger(), - sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin, - serviceId: config?.serviceId ?? "cloudserver", - urlParser: config?.urlParser ?? parseUrl, - utf8Decoder: config?.utf8Decoder ?? fromUtf8, - utf8Encoder: config?.utf8Encoder ?? toUtf8, - } -}; diff --git a/build/smithy/source/typescript-codegen/src/runtimeConfig.ts b/build/smithy/source/typescript-codegen/src/runtimeConfig.ts deleted file mode 100644 index faddf8b7..00000000 --- a/build/smithy/source/typescript-codegen/src/runtimeConfig.ts +++ /dev/null @@ -1,73 +0,0 @@ -// smithy-typescript generated code -// @ts-ignore: package.json will be imported from dist folders -import packageInfo from "../package.json"; // eslint-disable-line - -import { - NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, - emitWarningIfUnsupportedVersion as awsCheckVersion, -} from "@aws-sdk/core"; -import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; -import { - NODE_APP_ID_CONFIG_OPTIONS, - createDefaultUserAgentProvider, -} from "@aws-sdk/util-user-agent-node"; -import { - NODE_REGION_CONFIG_FILE_OPTIONS, - NODE_REGION_CONFIG_OPTIONS, - NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, - NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, -} from "@smithy/config-resolver"; -import { Hash } from "@smithy/hash-node"; -import { - NODE_MAX_ATTEMPT_CONFIG_OPTIONS, - NODE_RETRY_MODE_CONFIG_OPTIONS, -} from "@smithy/middleware-retry"; -import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; -import { - NodeHttpHandler as RequestHandler, - streamCollector, -} from "@smithy/node-http-handler"; -import { calculateBodyLength } from "@smithy/util-body-length-node"; -import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; -import { CloudserverClientConfig } from "./CloudserverClient"; -import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; -import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; -import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client"; - -/** - * @internal - */ -export const getRuntimeConfig = (config: CloudserverClientConfig) => { - emitWarningIfUnsupportedVersion(process.version); - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getSharedRuntimeConfig(config); - awsCheckVersion(process.version); -const loaderConfig = { - profile: config?.profile, - logger: clientSharedValues.logger, -};return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version}), - maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), - region: config?.region ?? loadNodeConfig( - NODE_REGION_CONFIG_OPTIONS, - {...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig} - ) - , - requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? loadNodeConfig({...NODE_RETRY_MODE_CONFIG_OPTIONS,default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,}, config), - sha256: config?.sha256 ?? Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), - useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), - userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), - }; -}; diff --git a/build/smithy/source/typescript-codegen/src/runtimeExtensions.ts b/build/smithy/source/typescript-codegen/src/runtimeExtensions.ts deleted file mode 100644 index 6d550b94..00000000 --- a/build/smithy/source/typescript-codegen/src/runtimeExtensions.ts +++ /dev/null @@ -1,56 +0,0 @@ -// smithy-typescript generated code -import { - getHttpAuthExtensionConfiguration, - resolveHttpAuthRuntimeConfig, -} from "./auth/httpAuthExtensionConfiguration"; -import { - getAwsRegionExtensionConfiguration, - resolveAwsRegionExtensionConfiguration, -} from "@aws-sdk/region-config-resolver"; -import { - getHttpHandlerExtensionConfiguration, - resolveHttpHandlerRuntimeConfig, -} from "@smithy/protocol-http"; -import { - getDefaultExtensionConfiguration, - resolveDefaultRuntimeConfig, -} from "@smithy/smithy-client"; -import { CloudserverExtensionConfiguration } from "./extensionConfiguration"; - -/** - * @public - */ -export interface RuntimeExtension { - configure(extensionConfiguration: CloudserverExtensionConfiguration): void; -} - -/** - * @public - */ -export interface RuntimeExtensionsConfig { - extensions: RuntimeExtension[] -} - -/** - * @internal - */ -export const resolveRuntimeExtensions = ( - runtimeConfig: any, - extensions: RuntimeExtension[] -) => { - const extensionConfiguration: CloudserverExtensionConfiguration = Object.assign( - getAwsRegionExtensionConfiguration(runtimeConfig), - getDefaultExtensionConfiguration(runtimeConfig), - getHttpHandlerExtensionConfiguration(runtimeConfig), - getHttpAuthExtensionConfiguration(runtimeConfig), - ); - - extensions.forEach(extension => extension.configure(extensionConfiguration)); - - return Object.assign(runtimeConfig, - resolveAwsRegionExtensionConfiguration(extensionConfiguration), - resolveDefaultRuntimeConfig(extensionConfiguration), - resolveHttpHandlerRuntimeConfig(extensionConfiguration), - resolveHttpAuthRuntimeConfig(extensionConfiguration), - ); -} diff --git a/build/smithy/source/typescript-codegen/tsconfig.cjs.json b/build/smithy/source/typescript-codegen/tsconfig.cjs.json deleted file mode 100644 index 9224176d..00000000 --- a/build/smithy/source/typescript-codegen/tsconfig.cjs.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "outDir": "dist-cjs", - "noCheck": true - } -} diff --git a/build/smithy/source/typescript-codegen/tsconfig.es.json b/build/smithy/source/typescript-codegen/tsconfig.es.json deleted file mode 100644 index 5a76fb65..00000000 --- a/build/smithy/source/typescript-codegen/tsconfig.es.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "lib": ["dom"], - "module": "ESNext", - "moduleResolution": "bundler", - "outDir": "dist-es", - "noCheck": true - } -} diff --git a/build/smithy/source/typescript-codegen/tsconfig.json b/build/smithy/source/typescript-codegen/tsconfig.json deleted file mode 100644 index 956bed46..00000000 --- a/build/smithy/source/typescript-codegen/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "@tsconfig/node18/tsconfig.json", - "compilerOptions": { - "downlevelIteration": true, - "importHelpers": true, - "incremental": true, - "removeComments": true, - "resolveJsonModule": true, - "rootDir": "src", - "useUnknownInCatchVariables": false - }, - "exclude": ["test/"] -} diff --git a/build/smithy/source/typescript-codegen/tsconfig.types.json b/build/smithy/source/typescript-codegen/tsconfig.types.json deleted file mode 100644 index b9a5eb78..00000000 --- a/build/smithy/source/typescript-codegen/tsconfig.types.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "removeComments": false, - "declaration": true, - "declarationDir": "dist-types", - "emitDeclarationOnly": true, - "noCheck": false - }, - "exclude": ["test/**/*", "dist-types/**/*"] -} diff --git a/build/smithy/source/typescript-codegen/yarn.lock b/build/smithy/source/typescript-codegen/yarn.lock deleted file mode 100644 index f58b02bc..00000000 --- a/build/smithy/source/typescript-codegen/yarn.lock +++ /dev/null @@ -1,1172 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@aws-crypto/sha256-browser@5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-browser/-/sha256-browser-5.2.0.tgz#153895ef1dba6f9fce38af550e0ef58988eb649e" - integrity sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw== - dependencies: - "@aws-crypto/sha256-js" "^5.2.0" - "@aws-crypto/supports-web-crypto" "^5.2.0" - "@aws-crypto/util" "^5.2.0" - "@aws-sdk/types" "^3.222.0" - "@aws-sdk/util-locate-window" "^3.0.0" - "@smithy/util-utf8" "^2.0.0" - tslib "^2.6.2" - -"@aws-crypto/sha256-js@5.2.0", "@aws-crypto/sha256-js@^5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-js/-/sha256-js-5.2.0.tgz#c4fdb773fdbed9a664fc1a95724e206cf3860042" - integrity sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA== - dependencies: - "@aws-crypto/util" "^5.2.0" - "@aws-sdk/types" "^3.222.0" - tslib "^2.6.2" - -"@aws-crypto/supports-web-crypto@^5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/supports-web-crypto/-/supports-web-crypto-5.2.0.tgz#a1e399af29269be08e695109aa15da0a07b5b5fb" - integrity sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg== - dependencies: - tslib "^2.6.2" - -"@aws-crypto/util@^5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/util/-/util-5.2.0.tgz#71284c9cffe7927ddadac793c14f14886d3876da" - integrity sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ== - dependencies: - "@aws-sdk/types" "^3.222.0" - "@smithy/util-utf8" "^2.0.0" - tslib "^2.6.2" - -"@aws-sdk/client-sso@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.856.0.tgz#7c18c722a7617f9093850bfb681c4c91c32834dd" - integrity sha512-MrLxzTrsipNxp+L0rOJeSUBUJEamnvOzAGzl4lQfl+1mtufKeKskwKuUu1NizLxZGLQQ77T8HFb8z1e1fAgcIg== - dependencies: - "@aws-crypto/sha256-browser" "5.2.0" - "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/core" "3.856.0" - "@aws-sdk/middleware-host-header" "3.840.0" - "@aws-sdk/middleware-logger" "3.840.0" - "@aws-sdk/middleware-recursion-detection" "3.840.0" - "@aws-sdk/middleware-user-agent" "3.856.0" - "@aws-sdk/region-config-resolver" "3.840.0" - "@aws-sdk/types" "3.840.0" - "@aws-sdk/util-endpoints" "3.848.0" - "@aws-sdk/util-user-agent-browser" "3.840.0" - "@aws-sdk/util-user-agent-node" "3.856.0" - "@smithy/config-resolver" "^4.1.4" - "@smithy/core" "^3.7.0" - "@smithy/fetch-http-handler" "^5.1.0" - "@smithy/hash-node" "^4.0.4" - "@smithy/invalid-dependency" "^4.0.4" - "@smithy/middleware-content-length" "^4.0.4" - "@smithy/middleware-endpoint" "^4.1.15" - "@smithy/middleware-retry" "^4.1.16" - "@smithy/middleware-serde" "^4.0.8" - "@smithy/middleware-stack" "^4.0.4" - "@smithy/node-config-provider" "^4.1.3" - "@smithy/node-http-handler" "^4.1.0" - "@smithy/protocol-http" "^5.1.2" - "@smithy/smithy-client" "^4.4.7" - "@smithy/types" "^4.3.1" - "@smithy/url-parser" "^4.0.4" - "@smithy/util-base64" "^4.0.0" - "@smithy/util-body-length-browser" "^4.0.0" - "@smithy/util-body-length-node" "^4.0.0" - "@smithy/util-defaults-mode-browser" "^4.0.23" - "@smithy/util-defaults-mode-node" "^4.0.23" - "@smithy/util-endpoints" "^3.0.6" - "@smithy/util-middleware" "^4.0.4" - "@smithy/util-retry" "^4.0.6" - "@smithy/util-utf8" "^4.0.0" - tslib "^2.6.2" - -"@aws-sdk/core@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.856.0.tgz#ac0d4216399ba8083c7dad17e05542f3b5ddf689" - integrity sha512-8E5qLsjJ/AwOCOwKxKdfaLEWiRZBrtFJaWlDkC8vTT0/nCzCLMxW8lEKMzkvsxRfje0YZ3V1+rcNycvlz0jVTw== - dependencies: - "@aws-sdk/types" "3.840.0" - "@aws-sdk/xml-builder" "3.821.0" - "@smithy/core" "^3.7.0" - "@smithy/node-config-provider" "^4.1.3" - "@smithy/property-provider" "^4.0.4" - "@smithy/protocol-http" "^5.1.2" - "@smithy/signature-v4" "^5.1.2" - "@smithy/smithy-client" "^4.4.7" - "@smithy/types" "^4.3.1" - "@smithy/util-base64" "^4.0.0" - "@smithy/util-body-length-browser" "^4.0.0" - "@smithy/util-middleware" "^4.0.4" - "@smithy/util-utf8" "^4.0.0" - fast-xml-parser "5.2.5" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-env@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.856.0.tgz#ba48eb1660fed655579c052f027d8cd2d00131ca" - integrity sha512-CQ8dVEonRlNHjinKUp3Dr+ihArpXMIjm0/S3N3UoujDaj40HS8Z3yc3S4TfSj5fhEEYxvWi2YDg2gEuKLf5eVw== - dependencies: - "@aws-sdk/core" "3.856.0" - "@aws-sdk/types" "3.840.0" - "@smithy/property-provider" "^4.0.4" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-http@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-http/-/credential-provider-http-3.856.0.tgz#159f7baa894ef93bd503f55d086f9429c8a7bea2" - integrity sha512-tqOmuPNaWJNVw69RmayCCaJ1ZslETvbOD3rUQPdy0OQcZ7MKcXmchPGA4Uu26CRbFxXFDvGtdEAoZfHJOt9IwA== - dependencies: - "@aws-sdk/core" "3.856.0" - "@aws-sdk/types" "3.840.0" - "@smithy/fetch-http-handler" "^5.1.0" - "@smithy/node-http-handler" "^4.1.0" - "@smithy/property-provider" "^4.0.4" - "@smithy/protocol-http" "^5.1.2" - "@smithy/smithy-client" "^4.4.7" - "@smithy/types" "^4.3.1" - "@smithy/util-stream" "^4.2.3" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-ini@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.856.0.tgz#8cc8bc8f3d15276a90651863024bf1c638b7efd4" - integrity sha512-OM41VYwleo/WFY/osHMetI/6ypeaeC597pCsTUX9u7OCt9jFldW0xC8YvWa8q1R195hfoPWjN0QMjkp0iGppCA== - dependencies: - "@aws-sdk/core" "3.856.0" - "@aws-sdk/credential-provider-env" "3.856.0" - "@aws-sdk/credential-provider-http" "3.856.0" - "@aws-sdk/credential-provider-process" "3.856.0" - "@aws-sdk/credential-provider-sso" "3.856.0" - "@aws-sdk/credential-provider-web-identity" "3.856.0" - "@aws-sdk/nested-clients" "3.856.0" - "@aws-sdk/types" "3.840.0" - "@smithy/credential-provider-imds" "^4.0.6" - "@smithy/property-provider" "^4.0.4" - "@smithy/shared-ini-file-loader" "^4.0.4" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-node@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.856.0.tgz#2bb7eed0895516b72f670e79a319d38c665bc01f" - integrity sha512-PklXMo3ReBcXVMsigacQHdfrwHWx2SFctQCBGHRcY6NLoaHnVe4g+oW+BOOCj7c9JGn7c2mMNMzhuxgsfuDXRw== - dependencies: - "@aws-sdk/credential-provider-env" "3.856.0" - "@aws-sdk/credential-provider-http" "3.856.0" - "@aws-sdk/credential-provider-ini" "3.856.0" - "@aws-sdk/credential-provider-process" "3.856.0" - "@aws-sdk/credential-provider-sso" "3.856.0" - "@aws-sdk/credential-provider-web-identity" "3.856.0" - "@aws-sdk/types" "3.840.0" - "@smithy/credential-provider-imds" "^4.0.6" - "@smithy/property-provider" "^4.0.4" - "@smithy/shared-ini-file-loader" "^4.0.4" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-process@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.856.0.tgz#4a14a58aaedf38d0842f896c68c26e666639dcf6" - integrity sha512-mR+3uVhlHBrqRh7rFs8CRJ30go9xuB8uWHf2FL63ZliuYzYCrFknj+y+PLvYl+Aa4Ok57SW9BVrKkj6OpiEFKA== - dependencies: - "@aws-sdk/core" "3.856.0" - "@aws-sdk/types" "3.840.0" - "@smithy/property-provider" "^4.0.4" - "@smithy/shared-ini-file-loader" "^4.0.4" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-sso@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.856.0.tgz#8c2c6ad90911abdba465a7014ac904c56d42f833" - integrity sha512-5/WY5zI8iF+HvxeNBiP7kOnn60jr76/MRGU8qQmbXd2/7GZM2sAHSTY2Qot6D9HwutAsU924y8Kxa/m7VZT4GQ== - dependencies: - "@aws-sdk/client-sso" "3.856.0" - "@aws-sdk/core" "3.856.0" - "@aws-sdk/token-providers" "3.856.0" - "@aws-sdk/types" "3.840.0" - "@smithy/property-provider" "^4.0.4" - "@smithy/shared-ini-file-loader" "^4.0.4" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/credential-provider-web-identity@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.856.0.tgz#fbcb1e26d5c254ca13f216c27b7a0111a3ab4e28" - integrity sha512-QPoHotFD7aiI+l1WF/QTlNVMtR7VY31y1uYaCXBTkmuELNlNFAVptNlct51/OcAqlWLp6wWfz75Sy9vdbNxuXw== - dependencies: - "@aws-sdk/core" "3.856.0" - "@aws-sdk/nested-clients" "3.856.0" - "@aws-sdk/types" "3.840.0" - "@smithy/property-provider" "^4.0.4" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/middleware-host-header@3.840.0": - version "3.840.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.840.0.tgz#7c8b163fb13d588b87523b53f7d98de73262e83f" - integrity sha512-ub+hXJAbAje94+Ya6c6eL7sYujoE8D4Bumu1NUI8TXjUhVVn0HzVWQjpRLshdLsUp1AW7XyeJaxyajRaJQ8+Xg== - dependencies: - "@aws-sdk/types" "3.840.0" - "@smithy/protocol-http" "^5.1.2" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/middleware-logger@3.840.0": - version "3.840.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.840.0.tgz#d92ade1817ac7dc78a3567c1239bb1a3f3b1b57a" - integrity sha512-lSV8FvjpdllpGaRspywss4CtXV8M7NNNH+2/j86vMH+YCOZ6fu2T/TyFd/tHwZ92vDfHctWkRbQxg0bagqwovA== - dependencies: - "@aws-sdk/types" "3.840.0" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/middleware-recursion-detection@3.840.0": - version "3.840.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.840.0.tgz#8ea2c00af258db0b64ea394e044cedb6101b5ffd" - integrity sha512-Gu7lGDyfddyhIkj1Z1JtrY5NHb5+x/CRiB87GjaSrKxkDaydtX2CU977JIABtt69l9wLbcGDIQ+W0uJ5xPof7g== - dependencies: - "@aws-sdk/types" "3.840.0" - "@smithy/protocol-http" "^5.1.2" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/middleware-user-agent@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.856.0.tgz#9772176c418886aa20210ccd20c9fa87b948f5b9" - integrity sha512-yObY8fwTtW6uG0jYfSOiFi8Fpi0ZdKl4kU1XSIJPNiE/wn9JsoAYZ1hHHtRgJHMfmgnsWMWGeOnPt6LzREtXsQ== - dependencies: - "@aws-sdk/core" "3.856.0" - "@aws-sdk/types" "3.840.0" - "@aws-sdk/util-endpoints" "3.848.0" - "@smithy/core" "^3.7.0" - "@smithy/protocol-http" "^5.1.2" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/nested-clients@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/nested-clients/-/nested-clients-3.856.0.tgz#bcea5bab7e014e11ceb0831ece6f9061f28dbbf9" - integrity sha512-ZDpWSlOXChlzNKdbKcW77iRQZKwuN4q9kDFvs0tD2TqhHMx9JMqegHaqLz8GwVVe/nPZRdx8cuguYCIEb4MSUg== - dependencies: - "@aws-crypto/sha256-browser" "5.2.0" - "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/core" "3.856.0" - "@aws-sdk/middleware-host-header" "3.840.0" - "@aws-sdk/middleware-logger" "3.840.0" - "@aws-sdk/middleware-recursion-detection" "3.840.0" - "@aws-sdk/middleware-user-agent" "3.856.0" - "@aws-sdk/region-config-resolver" "3.840.0" - "@aws-sdk/types" "3.840.0" - "@aws-sdk/util-endpoints" "3.848.0" - "@aws-sdk/util-user-agent-browser" "3.840.0" - "@aws-sdk/util-user-agent-node" "3.856.0" - "@smithy/config-resolver" "^4.1.4" - "@smithy/core" "^3.7.0" - "@smithy/fetch-http-handler" "^5.1.0" - "@smithy/hash-node" "^4.0.4" - "@smithy/invalid-dependency" "^4.0.4" - "@smithy/middleware-content-length" "^4.0.4" - "@smithy/middleware-endpoint" "^4.1.15" - "@smithy/middleware-retry" "^4.1.16" - "@smithy/middleware-serde" "^4.0.8" - "@smithy/middleware-stack" "^4.0.4" - "@smithy/node-config-provider" "^4.1.3" - "@smithy/node-http-handler" "^4.1.0" - "@smithy/protocol-http" "^5.1.2" - "@smithy/smithy-client" "^4.4.7" - "@smithy/types" "^4.3.1" - "@smithy/url-parser" "^4.0.4" - "@smithy/util-base64" "^4.0.0" - "@smithy/util-body-length-browser" "^4.0.0" - "@smithy/util-body-length-node" "^4.0.0" - "@smithy/util-defaults-mode-browser" "^4.0.23" - "@smithy/util-defaults-mode-node" "^4.0.23" - "@smithy/util-endpoints" "^3.0.6" - "@smithy/util-middleware" "^4.0.4" - "@smithy/util-retry" "^4.0.6" - "@smithy/util-utf8" "^4.0.0" - tslib "^2.6.2" - -"@aws-sdk/region-config-resolver@3.840.0": - version "3.840.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.840.0.tgz#240690ead3131c4c47186b4929776439fe2f6729" - integrity sha512-Qjnxd/yDv9KpIMWr90ZDPtRj0v75AqGC92Lm9+oHXZ8p1MjG5JE2CW0HL8JRgK9iKzgKBL7pPQRXI8FkvEVfrA== - dependencies: - "@aws-sdk/types" "3.840.0" - "@smithy/node-config-provider" "^4.1.3" - "@smithy/types" "^4.3.1" - "@smithy/util-config-provider" "^4.0.0" - "@smithy/util-middleware" "^4.0.4" - tslib "^2.6.2" - -"@aws-sdk/token-providers@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.856.0.tgz#ca92ca7e5fa10d15a8b156a98213507e63d06e74" - integrity sha512-VTvUxY7hTPfsi4iehKAat3zaJj303f6KkXpA+p4LmijOkXdNoS8ziHlb5A/0PNFX5eobGJrBo391E+4bJPtpZA== - dependencies: - "@aws-sdk/core" "3.856.0" - "@aws-sdk/nested-clients" "3.856.0" - "@aws-sdk/types" "3.840.0" - "@smithy/property-provider" "^4.0.4" - "@smithy/shared-ini-file-loader" "^4.0.4" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/types@3.840.0": - version "3.840.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.840.0.tgz#aadc6843d5c1f24b3d1d228059e702a355bf07c3" - integrity sha512-xliuHaUFZxEx1NSXeLLZ9Dyu6+EJVQKEoD+yM+zqUo3YDZ7medKJWY6fIOKiPX/N7XbLdBYwajb15Q7IL8KkeA== - dependencies: - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/types@^3.222.0": - version "3.936.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.936.0.tgz#ecd3a4bec1a1bd4df834ab21fe52a76e332dc27a" - integrity sha512-uz0/VlMd2pP5MepdrHizd+T+OKfyK4r3OA9JI+L/lPKg0YFQosdJNCKisr6o70E3dh8iMpFYxF1UN/4uZsyARg== - dependencies: - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@aws-sdk/util-endpoints@3.848.0": - version "3.848.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.848.0.tgz#dea15ac0949fcbc518426fb4a86d1e9bd53433db" - integrity sha512-fY/NuFFCq/78liHvRyFKr+aqq1aA/uuVSANjzr5Ym8c+9Z3HRPE9OrExAHoMrZ6zC8tHerQwlsXYYH5XZ7H+ww== - dependencies: - "@aws-sdk/types" "3.840.0" - "@smithy/types" "^4.3.1" - "@smithy/url-parser" "^4.0.4" - "@smithy/util-endpoints" "^3.0.6" - tslib "^2.6.2" - -"@aws-sdk/util-locate-window@^3.0.0": - version "3.893.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.893.0.tgz#5df15f24e1edbe12ff1fe8906f823b51cd53bae8" - integrity sha512-T89pFfgat6c8nMmpI8eKjBcDcgJq36+m9oiXbcUzeU55MP9ZuGgBomGjGnHaEyF36jenW9gmg3NfZDm0AO2XPg== - dependencies: - tslib "^2.6.2" - -"@aws-sdk/util-user-agent-browser@3.840.0": - version "3.840.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.840.0.tgz#6c2f55494352a86048c52852b0c357bb21905984" - integrity sha512-JdyZM3EhhL4PqwFpttZu1afDpPJCCc3eyZOLi+srpX11LsGj6sThf47TYQN75HT1CarZ7cCdQHGzP2uy3/xHfQ== - dependencies: - "@aws-sdk/types" "3.840.0" - "@smithy/types" "^4.3.1" - bowser "^2.11.0" - tslib "^2.6.2" - -"@aws-sdk/util-user-agent-node@3.856.0": - version "3.856.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.856.0.tgz#d7cd7b32d1ff4f75b1042c5d2823f3a811d59ae8" - integrity sha512-BasNKsYoB18hUgBxAhtaU5xtyqe0A4CQ6VBtXzRu5+xYcAXsuP+5l0Wnr5BN9PNrOEvFvxTHZqVPejLNxbeM0Q== - dependencies: - "@aws-sdk/middleware-user-agent" "3.856.0" - "@aws-sdk/types" "3.840.0" - "@smithy/node-config-provider" "^4.1.3" - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@aws-sdk/xml-builder@3.821.0": - version "3.821.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/xml-builder/-/xml-builder-3.821.0.tgz#ff89bf1276fca41276ed508b9c8ae21978d91177" - integrity sha512-DIIotRnefVL6DiaHtO6/21DhJ4JZnnIwdNbpwiAhdt/AVbttcE4yw925gsjur0OGv5BTYXQXU3YnANBYnZjuQA== - dependencies: - "@smithy/types" "^4.3.1" - tslib "^2.6.2" - -"@babel/runtime@^7.21.0": - version "7.28.4" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.28.4.tgz#a70226016fabe25c5783b2f22d3e1c9bc5ca3326" - integrity sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ== - -"@smithy/abort-controller@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-4.2.5.tgz#3386e8fff5a8d05930996d891d06803f2b7e5e2c" - integrity sha512-j7HwVkBw68YW8UmFRcjZOmssE77Rvk0GWAIN1oFBhsaovQmZWYCIcGa9/pwRB0ExI8Sk9MWNALTjftjHZea7VA== - dependencies: - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/config-resolver@^4.1.4", "@smithy/config-resolver@^4.4.3": - version "4.4.3" - resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-4.4.3.tgz#37b0e3cba827272e92612e998a2b17e841e20bab" - integrity sha512-ezHLe1tKLUxDJo2LHtDuEDyWXolw8WGOR92qb4bQdWq/zKenO5BvctZGrVJBK08zjezSk7bmbKFOXIVyChvDLw== - dependencies: - "@smithy/node-config-provider" "^4.3.5" - "@smithy/types" "^4.9.0" - "@smithy/util-config-provider" "^4.2.0" - "@smithy/util-endpoints" "^3.2.5" - "@smithy/util-middleware" "^4.2.5" - tslib "^2.6.2" - -"@smithy/core@^3.18.5", "@smithy/core@^3.7.0", "@smithy/core@^3.7.2": - version "3.18.5" - resolved "https://registry.yarnpkg.com/@smithy/core/-/core-3.18.5.tgz#c304d185e2335cbef9b39431a53a67c84972c27f" - integrity sha512-6gnIz3h+PEPQGDj8MnRSjDvKBah042jEoPgjFGJ4iJLBE78L4lY/n98x14XyPF4u3lN179Ub/ZKFY5za9GeLQw== - dependencies: - "@smithy/middleware-serde" "^4.2.6" - "@smithy/protocol-http" "^5.3.5" - "@smithy/types" "^4.9.0" - "@smithy/util-base64" "^4.3.0" - "@smithy/util-body-length-browser" "^4.2.0" - "@smithy/util-middleware" "^4.2.5" - "@smithy/util-stream" "^4.5.6" - "@smithy/util-utf8" "^4.2.0" - "@smithy/uuid" "^1.1.0" - tslib "^2.6.2" - -"@smithy/credential-provider-imds@^4.0.6", "@smithy/credential-provider-imds@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-4.2.5.tgz#5acbcd1d02ae31700c2f027090c202d7315d70d3" - integrity sha512-BZwotjoZWn9+36nimwm/OLIcVe+KYRwzMjfhd4QT7QxPm9WY0HiOV8t/Wlh+HVUif0SBVV7ksq8//hPaBC/okQ== - dependencies: - "@smithy/node-config-provider" "^4.3.5" - "@smithy/property-provider" "^4.2.5" - "@smithy/types" "^4.9.0" - "@smithy/url-parser" "^4.2.5" - tslib "^2.6.2" - -"@smithy/fetch-http-handler@^5.1.0", "@smithy/fetch-http-handler@^5.3.6": - version "5.3.6" - resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-5.3.6.tgz#d9dcb8d8ca152918224492f4d1cc1b50df93ae13" - integrity sha512-3+RG3EA6BBJ/ofZUeTFJA7mHfSYrZtQIrDP9dI8Lf7X6Jbos2jptuLrAAteDiFVrmbEmLSuRG/bUKzfAXk7dhg== - dependencies: - "@smithy/protocol-http" "^5.3.5" - "@smithy/querystring-builder" "^4.2.5" - "@smithy/types" "^4.9.0" - "@smithy/util-base64" "^4.3.0" - tslib "^2.6.2" - -"@smithy/hash-node@^4.0.4": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-4.2.5.tgz#fb751ec4a4c6347612458430f201f878adc787f6" - integrity sha512-DpYX914YOfA3UDT9CN1BM787PcHfWRBB43fFGCYrZFUH0Jv+5t8yYl+Pd5PW4+QzoGEDvn5d5QIO4j2HyYZQSA== - dependencies: - "@smithy/types" "^4.9.0" - "@smithy/util-buffer-from" "^4.2.0" - "@smithy/util-utf8" "^4.2.0" - tslib "^2.6.2" - -"@smithy/invalid-dependency@^4.0.4": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-4.2.5.tgz#58d997e91e7683ffc59882d8fcb180ed9aa9c7dd" - integrity sha512-2L2erASEro1WC5nV+plwIMxrTXpvpfzl4e+Nre6vBVRR2HKeGGcvpJyyL3/PpiSg+cJG2KpTmZmq934Olb6e5A== - dependencies: - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/is-array-buffer@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz#f84f0d9f9a36601a9ca9381688bd1b726fd39111" - integrity sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA== - dependencies: - tslib "^2.6.2" - -"@smithy/is-array-buffer@^4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-4.2.0.tgz#b0f874c43887d3ad44f472a0f3f961bcce0550c2" - integrity sha512-DZZZBvC7sjcYh4MazJSGiWMI2L7E0oCiRHREDzIxi/M2LY79/21iXt6aPLHge82wi5LsuRF5A06Ds3+0mlh6CQ== - dependencies: - tslib "^2.6.2" - -"@smithy/middleware-content-length@^4.0.4": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-4.2.5.tgz#a6942ce2d7513b46f863348c6c6a8177e9ace752" - integrity sha512-Y/RabVa5vbl5FuHYV2vUCwvh/dqzrEY/K2yWPSqvhFUwIY0atLqO4TienjBXakoy4zrKAMCZwg+YEqmH7jaN7A== - dependencies: - "@smithy/protocol-http" "^5.3.5" - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/middleware-endpoint@^4.1.15", "@smithy/middleware-endpoint@^4.1.17", "@smithy/middleware-endpoint@^4.3.12": - version "4.3.12" - resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-4.3.12.tgz#97c432eec17398277f626b8d2abff9278b89d2ac" - integrity sha512-9pAX/H+VQPzNbouhDhkW723igBMLgrI8OtX+++M7iKJgg/zY/Ig3i1e6seCcx22FWhE6Q/S61BRdi2wXBORT+A== - dependencies: - "@smithy/core" "^3.18.5" - "@smithy/middleware-serde" "^4.2.6" - "@smithy/node-config-provider" "^4.3.5" - "@smithy/shared-ini-file-loader" "^4.4.0" - "@smithy/types" "^4.9.0" - "@smithy/url-parser" "^4.2.5" - "@smithy/util-middleware" "^4.2.5" - tslib "^2.6.2" - -"@smithy/middleware-retry@^4.1.16", "@smithy/middleware-retry@^4.1.18": - version "4.4.12" - resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-4.4.12.tgz#a53f301ce10df29a3c65a0bc4f84a866adf2fe97" - integrity sha512-S4kWNKFowYd0lID7/DBqWHOQxmxlsf0jBaos9chQZUWTVOjSW1Ogyh8/ib5tM+agFDJ/TCxuCTvrnlc+9cIBcQ== - dependencies: - "@smithy/node-config-provider" "^4.3.5" - "@smithy/protocol-http" "^5.3.5" - "@smithy/service-error-classification" "^4.2.5" - "@smithy/smithy-client" "^4.9.8" - "@smithy/types" "^4.9.0" - "@smithy/util-middleware" "^4.2.5" - "@smithy/util-retry" "^4.2.5" - "@smithy/uuid" "^1.1.0" - tslib "^2.6.2" - -"@smithy/middleware-serde@^4.0.8", "@smithy/middleware-serde@^4.2.6": - version "4.2.6" - resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-4.2.6.tgz#7e710f43206e13a8c081a372b276e7b2c51bff5b" - integrity sha512-VkLoE/z7e2g8pirwisLz8XJWedUSY8my/qrp81VmAdyrhi94T+riBfwP+AOEEFR9rFTSonC/5D2eWNmFabHyGQ== - dependencies: - "@smithy/protocol-http" "^5.3.5" - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/middleware-stack@^4.0.4", "@smithy/middleware-stack@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-4.2.5.tgz#2d13415ed3561c882594c8e6340b801d9a2eb222" - integrity sha512-bYrutc+neOyWxtZdbB2USbQttZN0mXaOyYLIsaTbJhFsfpXyGWUxJpEuO1rJ8IIJm2qH4+xJT0mxUSsEDTYwdQ== - dependencies: - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/node-config-provider@^4.1.3", "@smithy/node-config-provider@^4.3.5": - version "4.3.5" - resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-4.3.5.tgz#c09137a79c2930dcc30e6c8bb4f2608d72c1e2c9" - integrity sha512-UTurh1C4qkVCtqggI36DGbLB2Kv8UlcFdMXDcWMbqVY2uRg0XmT9Pb4Vj6oSQ34eizO1fvR0RnFV4Axw4IrrAg== - dependencies: - "@smithy/property-provider" "^4.2.5" - "@smithy/shared-ini-file-loader" "^4.4.0" - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/node-http-handler@^4.1.0", "@smithy/node-http-handler@^4.4.5": - version "4.4.5" - resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-4.4.5.tgz#2aea598fdf3dc4e32667d673d48abd4a073665f4" - integrity sha512-CMnzM9R2WqlqXQGtIlsHMEZfXKJVTIrqCNoSd/QpAyp+Dw0a1Vps13l6ma1fH8g7zSPNsA59B/kWgeylFuA/lw== - dependencies: - "@smithy/abort-controller" "^4.2.5" - "@smithy/protocol-http" "^5.3.5" - "@smithy/querystring-builder" "^4.2.5" - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/property-provider@^4.0.4", "@smithy/property-provider@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-4.2.5.tgz#f75dc5735d29ca684abbc77504be9246340a43f0" - integrity sha512-8iLN1XSE1rl4MuxvQ+5OSk/Zb5El7NJZ1td6Tn+8dQQHIjp59Lwl6bd0+nzw6SKm2wSSriH2v/I9LPzUic7EOg== - dependencies: - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/protocol-http@^5.1.2", "@smithy/protocol-http@^5.3.5": - version "5.3.5" - resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-5.3.5.tgz#a8f4296dd6d190752589e39ee95298d5c65a60db" - integrity sha512-RlaL+sA0LNMp03bf7XPbFmT5gN+w3besXSWMkA8rcmxLSVfiEXElQi4O2IWwPfxzcHkxqrwBFMbngB8yx/RvaQ== - dependencies: - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/querystring-builder@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-4.2.5.tgz#00cafa5a4055600ab8058e26db42f580146b91f3" - integrity sha512-y98otMI1saoajeik2kLfGyRp11e5U/iJYH/wLCh3aTV/XutbGT9nziKGkgCaMD1ghK7p6htHMm6b6scl9JRUWg== - dependencies: - "@smithy/types" "^4.9.0" - "@smithy/util-uri-escape" "^4.2.0" - tslib "^2.6.2" - -"@smithy/querystring-parser@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-4.2.5.tgz#61d2e77c62f44196590fa0927dbacfbeaffe8c53" - integrity sha512-031WCTdPYgiQRYNPXznHXof2YM0GwL6SeaSyTH/P72M1Vz73TvCNH2Nq8Iu2IEPq9QP2yx0/nrw5YmSeAi/AjQ== - dependencies: - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/service-error-classification@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-4.2.5.tgz#a64eb78e096e59cc71141e3fea2b4194ce59b4fd" - integrity sha512-8fEvK+WPE3wUAcDvqDQG1Vk3ANLR8Px979te96m84CbKAjBVf25rPYSzb4xU4hlTyho7VhOGnh5i62D/JVF0JQ== - dependencies: - "@smithy/types" "^4.9.0" - -"@smithy/shared-ini-file-loader@^4.0.4", "@smithy/shared-ini-file-loader@^4.4.0": - version "4.4.0" - resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.4.0.tgz#a2f8282f49982f00bafb1fa8cb7fc188a202a594" - integrity sha512-5WmZ5+kJgJDjwXXIzr1vDTG+RhF9wzSODQBfkrQ2VVkYALKGvZX1lgVSxEkgicSAFnFhPj5rudJV0zoinqS0bA== - dependencies: - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/signature-v4@^5.1.2": - version "5.3.5" - resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-5.3.5.tgz#13ab710653f9f16c325ee7e0a102a44f73f2643f" - integrity sha512-xSUfMu1FT7ccfSXkoLl/QRQBi2rOvi3tiBZU2Tdy3I6cgvZ6SEi9QNey+lqps/sJRnogIS+lq+B1gxxbra2a/w== - dependencies: - "@smithy/is-array-buffer" "^4.2.0" - "@smithy/protocol-http" "^5.3.5" - "@smithy/types" "^4.9.0" - "@smithy/util-hex-encoding" "^4.2.0" - "@smithy/util-middleware" "^4.2.5" - "@smithy/util-uri-escape" "^4.2.0" - "@smithy/util-utf8" "^4.2.0" - tslib "^2.6.2" - -"@smithy/smithy-client@^4.4.7", "@smithy/smithy-client@^4.4.9", "@smithy/smithy-client@^4.9.8": - version "4.9.8" - resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-4.9.8.tgz#a6845215c982cd6331f485c5d7f23bc0b4f498f3" - integrity sha512-8xgq3LgKDEFoIrLWBho/oYKyWByw9/corz7vuh1upv7ZBm0ZMjGYBhbn6v643WoIqA9UTcx5A5htEp/YatUwMA== - dependencies: - "@smithy/core" "^3.18.5" - "@smithy/middleware-endpoint" "^4.3.12" - "@smithy/middleware-stack" "^4.2.5" - "@smithy/protocol-http" "^5.3.5" - "@smithy/types" "^4.9.0" - "@smithy/util-stream" "^4.5.6" - tslib "^2.6.2" - -"@smithy/types@^4.3.1", "@smithy/types@^4.9.0": - version "4.9.0" - resolved "https://registry.yarnpkg.com/@smithy/types/-/types-4.9.0.tgz#c6636ddfa142e1ddcb6e4cf5f3e1a628d420486f" - integrity sha512-MvUbdnXDTwykR8cB1WZvNNwqoWVaTRA0RLlLmf/cIFNMM2cKWz01X4Ly6SMC4Kks30r8tT3Cty0jmeWfiuyHTA== - dependencies: - tslib "^2.6.2" - -"@smithy/url-parser@^4.0.4", "@smithy/url-parser@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-4.2.5.tgz#2fea006108f17f7761432c7ef98d6aa003421487" - integrity sha512-VaxMGsilqFnK1CeBX+LXnSuaMx4sTL/6znSZh2829txWieazdVxr54HmiyTsIbpOTLcf5nYpq9lpzmwRdxj6rQ== - dependencies: - "@smithy/querystring-parser" "^4.2.5" - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/util-base64@^4.0.0", "@smithy/util-base64@^4.3.0": - version "4.3.0" - resolved "https://registry.yarnpkg.com/@smithy/util-base64/-/util-base64-4.3.0.tgz#5e287b528793aa7363877c1a02cd880d2e76241d" - integrity sha512-GkXZ59JfyxsIwNTWFnjmFEI8kZpRNIBfxKjv09+nkAWPt/4aGaEWMM04m4sxgNVWkbt2MdSvE3KF/PfX4nFedQ== - dependencies: - "@smithy/util-buffer-from" "^4.2.0" - "@smithy/util-utf8" "^4.2.0" - tslib "^2.6.2" - -"@smithy/util-body-length-browser@^4.0.0", "@smithy/util-body-length-browser@^4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@smithy/util-body-length-browser/-/util-body-length-browser-4.2.0.tgz#04e9fc51ee7a3e7f648a4b4bcdf96c350cfa4d61" - integrity sha512-Fkoh/I76szMKJnBXWPdFkQJl2r9SjPt3cMzLdOB6eJ4Pnpas8hVoWPYemX/peO0yrrvldgCUVJqOAjUrOLjbxg== - dependencies: - tslib "^2.6.2" - -"@smithy/util-body-length-node@^4.0.0": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@smithy/util-body-length-node/-/util-body-length-node-4.2.1.tgz#79c8a5d18e010cce6c42d5cbaf6c1958523e6fec" - integrity sha512-h53dz/pISVrVrfxV1iqXlx5pRg3V2YWFcSQyPyXZRrZoZj4R4DeWRDo1a7dd3CPTcFi3kE+98tuNyD2axyZReA== - dependencies: - tslib "^2.6.2" - -"@smithy/util-buffer-from@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz#6fc88585165ec73f8681d426d96de5d402021e4b" - integrity sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA== - dependencies: - "@smithy/is-array-buffer" "^2.2.0" - tslib "^2.6.2" - -"@smithy/util-buffer-from@^4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-4.2.0.tgz#7abd12c4991b546e7cee24d1e8b4bfaa35c68a9d" - integrity sha512-kAY9hTKulTNevM2nlRtxAG2FQ3B2OR6QIrPY3zE5LqJy1oxzmgBGsHLWTcNhWXKchgA0WHW+mZkQrng/pgcCew== - dependencies: - "@smithy/is-array-buffer" "^4.2.0" - tslib "^2.6.2" - -"@smithy/util-config-provider@^4.0.0", "@smithy/util-config-provider@^4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@smithy/util-config-provider/-/util-config-provider-4.2.0.tgz#2e4722937f8feda4dcb09672c59925a4e6286cfc" - integrity sha512-YEjpl6XJ36FTKmD+kRJJWYvrHeUvm5ykaUS5xK+6oXffQPHeEM4/nXlZPe+Wu0lsgRUcNZiliYNh/y7q9c2y6Q== - dependencies: - tslib "^2.6.2" - -"@smithy/util-defaults-mode-browser@^4.0.23", "@smithy/util-defaults-mode-browser@^4.0.25": - version "4.3.11" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.3.11.tgz#d44b9ee59cf1850e7cf5fb75741840241de33e76" - integrity sha512-yHv+r6wSQXEXTPVCIQTNmXVWs7ekBTpMVErjqZoWkYN75HIFN5y9+/+sYOejfAuvxWGvgzgxbTHa/oz61YTbKw== - dependencies: - "@smithy/property-provider" "^4.2.5" - "@smithy/smithy-client" "^4.9.8" - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/util-defaults-mode-node@^4.0.23", "@smithy/util-defaults-mode-node@^4.0.25": - version "4.2.14" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.2.14.tgz#e9e7c8bd2705535445e811d78e37575b26b7e5ba" - integrity sha512-ljZN3iRvaJUgulfvobIuG97q1iUuCMrvXAlkZ4msY+ZuVHQHDIqn7FKZCEj+bx8omz6kF5yQXms/xhzjIO5XiA== - dependencies: - "@smithy/config-resolver" "^4.4.3" - "@smithy/credential-provider-imds" "^4.2.5" - "@smithy/node-config-provider" "^4.3.5" - "@smithy/property-provider" "^4.2.5" - "@smithy/smithy-client" "^4.9.8" - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/util-endpoints@^3.0.6", "@smithy/util-endpoints@^3.2.5": - version "3.2.5" - resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-3.2.5.tgz#9e0fc34e38ddfbbc434d23a38367638dc100cb14" - integrity sha512-3O63AAWu2cSNQZp+ayl9I3NapW1p1rR5mlVHcF6hAB1dPZUQFfRPYtplWX/3xrzWthPGj5FqB12taJJCfH6s8A== - dependencies: - "@smithy/node-config-provider" "^4.3.5" - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/util-hex-encoding@^4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@smithy/util-hex-encoding/-/util-hex-encoding-4.2.0.tgz#1c22ea3d1e2c3a81ff81c0a4f9c056a175068a7b" - integrity sha512-CCQBwJIvXMLKxVbO88IukazJD9a4kQ9ZN7/UMGBjBcJYvatpWk+9g870El4cB8/EJxfe+k+y0GmR9CAzkF+Nbw== - dependencies: - tslib "^2.6.2" - -"@smithy/util-middleware@^4.0.4", "@smithy/util-middleware@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-4.2.5.tgz#1ace865afe678fd4b0f9217197e2fe30178d4835" - integrity sha512-6Y3+rvBF7+PZOc40ybeZMcGln6xJGVeY60E7jy9Mv5iKpMJpHgRE6dKy9ScsVxvfAYuEX4Q9a65DQX90KaQ3bA== - dependencies: - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/util-retry@^4.0.6", "@smithy/util-retry@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-4.2.5.tgz#70fe4fbbfb9ad43a9ce2ba4ed111ff7b30d7b333" - integrity sha512-GBj3+EZBbN4NAqJ/7pAhsXdfzdlznOh8PydUijy6FpNIMnHPSMO2/rP4HKu+UFeikJxShERk528oy7GT79YiJg== - dependencies: - "@smithy/service-error-classification" "^4.2.5" - "@smithy/types" "^4.9.0" - tslib "^2.6.2" - -"@smithy/util-stream@^4.2.3", "@smithy/util-stream@^4.5.6": - version "4.5.6" - resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-4.5.6.tgz#ebee9e52adeb6f88337778b2f3356a2cc615298c" - integrity sha512-qWw/UM59TiaFrPevefOZ8CNBKbYEP6wBAIlLqxn3VAIo9rgnTNc4ASbVrqDmhuwI87usnjhdQrxodzAGFFzbRQ== - dependencies: - "@smithy/fetch-http-handler" "^5.3.6" - "@smithy/node-http-handler" "^4.4.5" - "@smithy/types" "^4.9.0" - "@smithy/util-base64" "^4.3.0" - "@smithy/util-buffer-from" "^4.2.0" - "@smithy/util-hex-encoding" "^4.2.0" - "@smithy/util-utf8" "^4.2.0" - tslib "^2.6.2" - -"@smithy/util-uri-escape@^4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@smithy/util-uri-escape/-/util-uri-escape-4.2.0.tgz#096a4cec537d108ac24a68a9c60bee73fc7e3a9e" - integrity sha512-igZpCKV9+E/Mzrpq6YacdTQ0qTiLm85gD6N/IrmyDvQFA4UnU3d5g3m8tMT/6zG/vVkWSU+VxeUyGonL62DuxA== - dependencies: - tslib "^2.6.2" - -"@smithy/util-utf8@^2.0.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-2.3.0.tgz#dd96d7640363259924a214313c3cf16e7dd329c5" - integrity sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A== - dependencies: - "@smithy/util-buffer-from" "^2.2.0" - tslib "^2.6.2" - -"@smithy/util-utf8@^4.0.0", "@smithy/util-utf8@^4.2.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-4.2.0.tgz#8b19d1514f621c44a3a68151f3d43e51087fed9d" - integrity sha512-zBPfuzoI8xyBtR2P6WQj63Rz8i3AmfAaJLuNG8dWsfvPe8lO4aCPYLn879mEgHndZH1zQ2oXmG8O1GGzzaoZiw== - dependencies: - "@smithy/util-buffer-from" "^4.2.0" - tslib "^2.6.2" - -"@smithy/uuid@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@smithy/uuid/-/uuid-1.1.0.tgz#9fd09d3f91375eab94f478858123387df1cda987" - integrity sha512-4aUIteuyxtBUhVdiQqcDhKFitwfd9hqoSDYY2KRXiWtgoWJ9Bmise+KfEPDiVHWeJepvF8xJO9/9+WDIciMFFw== - dependencies: - tslib "^2.6.2" - -"@tsconfig/node18@18.2.4": - version "18.2.4" - resolved "https://registry.yarnpkg.com/@tsconfig/node18/-/node18-18.2.4.tgz#094efbdd70f697d37c09f34067bf41bc4a828ae3" - integrity sha512-5xxU8vVs9/FNcvm3gE07fPbn9tl6tqGGWA9tSlwsUEkBxtRnTsNmwrV8gasZ9F/EobaSv9+nu8AxUKccw77JpQ== - -"@types/node@^18.19.69": - version "18.19.130" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.130.tgz#da4c6324793a79defb7a62cba3947ec5add00d59" - integrity sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg== - dependencies: - undici-types "~5.26.4" - -ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -ansi-styles@^4.0.0, ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -bowser@^2.11.0: - version "2.13.0" - resolved "https://registry.yarnpkg.com/bowser/-/bowser-2.13.0.tgz#4b33ae4c9819f16ff8bc0c3ba81dd9c0b3ef8cfc" - integrity sha512-yHAbSRuT6LTeKi6k2aS40csueHqgAsFEgmrOsfRyFpJnFv5O2hl9FYmWEUZ97gZ/dG17U4IQQcTx4YAFYPuWRQ== - -brace-expansion@^1.1.7: - version "1.1.12" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.12.tgz#ab9b454466e5a8cc3a187beaad580412a9c5b843" - integrity sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -chalk@^4.1.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" - integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" - integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - -concurrently@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-7.0.0.tgz#78d31b441cec338dab03316c221a2f9a67c529b0" - integrity sha512-WKM7PUsI8wyXpF80H+zjHP32fsgsHNQfPLw/e70Z5dYkV7hF+rf8q3D+ScWJIEr57CpkO3OWBko6hwhQLPR8Pw== - dependencies: - chalk "^4.1.0" - date-fns "^2.16.1" - lodash "^4.17.21" - rxjs "^6.6.3" - spawn-command "^0.0.2-1" - supports-color "^8.1.0" - tree-kill "^1.2.2" - yargs "^16.2.0" - -date-fns@^2.16.1: - version "2.30.0" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0" - integrity sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw== - dependencies: - "@babel/runtime" "^7.21.0" - -downlevel-dts@0.10.1: - version "0.10.1" - resolved "https://registry.yarnpkg.com/downlevel-dts/-/downlevel-dts-0.10.1.tgz#2f0a09f0e63f43c49da78897edb1bb292c8769cf" - integrity sha512-bwY63Y0Gfwotcly4vU6rB66m5txvfQzDGd1Gai9E9orqsDIswXKjkdR18Tm6TidnAk9+J5N68a5VMDO2bsQCKQ== - dependencies: - semver "^7.3.2" - shelljs "^0.8.3" - typescript next - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -escalade@^3.1.1: - version "3.2.0" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" - integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== - -fast-xml-parser@5.2.5: - version "5.2.5" - resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz#4809fdfb1310494e341098c25cb1341a01a9144a" - integrity sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ== - dependencies: - strnum "^2.1.0" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - -function-bind@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" - integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== - -get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -glob@^7.0.0, glob@^7.1.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -hasown@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" - integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== - dependencies: - function-bind "^1.1.2" - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -interpret@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" - integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== - -is-core-module@^2.16.1: - version "2.16.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" - integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== - dependencies: - hasown "^2.0.2" - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -lodash@^4.17.21: - version "4.17.21" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" - integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== - -minimatch@^3.1.1: - version "3.1.2" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - -once@^1.3.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - -path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw== - dependencies: - resolve "^1.1.6" - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== - -resolve@^1.1.6: - version "1.22.11" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.11.tgz#aad857ce1ffb8bfa9b0b1ac29f1156383f68c262" - integrity sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ== - dependencies: - is-core-module "^2.16.1" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -rimraf@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - -rxjs@^6.6.3: - version "6.6.7" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" - integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== - dependencies: - tslib "^1.9.0" - -semver@^7.3.2: - version "7.7.3" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.3.tgz#4b5f4143d007633a8dc671cd0a6ef9147b8bb946" - integrity sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q== - -shelljs@^0.8.3: - version "0.8.5" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" - integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - -spawn-command@^0.0.2-1: - version "0.0.2" - resolved "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2.tgz#9544e1a43ca045f8531aac1a48cb29bdae62338e" - integrity sha512-zC8zGoGkmc8J9ndvml8Xksr1Amk9qBujgbF0JAIWO7kXr43w0h/0GJNM/Vustixu+YE8N/MTrQ7N31FvHUACxQ== - -string-width@^4.1.0, string-width@^4.2.0: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strnum@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/strnum/-/strnum-2.1.1.tgz#cf2a6e0cf903728b8b2c4b971b7e36b4e82d46ab" - integrity sha512-7ZvoFTiCnGxBtDqJ//Cu6fWtZtc7Y3x+QOirG15wztbdngGSkht27o2pyGWrVy0b4WAy3jbKmnoK6g5VlVNUUw== - -supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - -supports-color@^8.1.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - -supports-preserve-symlinks-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" - integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== - -tree-kill@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" - integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - -tslib@^1.9.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" - integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - -tslib@^2.6.2: - version "2.8.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" - integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== - -typescript@next: - version "6.0.0-dev.20251127" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-6.0.0-dev.20251127.tgz#fe5dfe88fb62cd3aeae0d8c6024aeb1120b41bfe" - integrity sha512-QTE6/0k3VNTwY1O+a7H83JjFnHe480mET582mPAimE9YApewxJ2PFTJl9L+8mKg/wnp3iKbQSfBoYQ3iswejSw== - -typescript@~5.8.3: - version "5.8.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.3.tgz#92f8a3e5e3cf497356f4178c34cd65a7f5e8440e" - integrity sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ== - -undici-types@~5.26.4: - version "5.26.5" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" - integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== - -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - -yargs-parser@^20.2.2: - version "20.2.9" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - -yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" diff --git a/dist/index.d.ts b/dist/index.d.ts deleted file mode 100644 index 8c68264f..00000000 --- a/dist/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { CloudserverClient as GeneratedCloudserverClient, CloudserverClientConfig } from '../build/smithy/source/typescript-codegen'; -export * from '../build/smithy/source/typescript-codegen'; -export * from './utils'; -export declare class CloudserverClient extends GeneratedCloudserverClient { - constructor(config: CloudserverClientConfig); -} diff --git a/dist/index.js b/dist/index.js deleted file mode 100644 index e0294d48..00000000 --- a/dist/index.js +++ /dev/null @@ -1,32 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.CloudserverClient = void 0; -const typescript_codegen_1 = require("../build/smithy/source/typescript-codegen"); -const utils_1 = require("./utils"); -__exportStar(require("../build/smithy/source/typescript-codegen"), exports); -__exportStar(require("./utils"), exports); -class CloudserverClient extends typescript_codegen_1.CloudserverClient { - constructor(config) { - super(config); - this.middlewareStack.add((0, utils_1.createCustomErrorMiddleware)(), { - step: 'deserialize', - name: 'cloudserverErrorHandler', - priority: 'normal', - }); - } -} -exports.CloudserverClient = CloudserverClient; diff --git a/dist/utils.d.ts b/dist/utils.d.ts deleted file mode 100644 index eabed433..00000000 --- a/dist/utils.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Adds middleware to manually set the Content-Length header on a command. - * - * This is useful when streaming data where the SDK cannot automatically determine - * the content length, preventing it from falling back to chunked transfer encoding. - * - * @param command - The command to add middleware to - * @param contentLength - The content length value (number or string) - */ -export declare function addContentLengthMiddleware(command: TCommand, contentLength: number | string | undefined): void; -export declare function createCustomErrorMiddleware(): (next: any) => (args: any) => Promise; diff --git a/dist/utils.js b/dist/utils.js deleted file mode 100644 index 85fc6d1d..00000000 --- a/dist/utils.js +++ /dev/null @@ -1,94 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.addContentLengthMiddleware = addContentLengthMiddleware; -exports.createCustomErrorMiddleware = createCustomErrorMiddleware; -const fast_xml_parser_1 = require("fast-xml-parser"); -const typescript_codegen_1 = require("../build/smithy/source/typescript-codegen"); -/** - * Adds middleware to manually set the Content-Length header on a command. - * - * This is useful when streaming data where the SDK cannot automatically determine - * the content length, preventing it from falling back to chunked transfer encoding. - * - * @param command - The command to add middleware to - * @param contentLength - The content length value (number or string) - */ -function addContentLengthMiddleware(command, contentLength) { - if (!contentLength) { - return; - } - const commandWithMiddleware = command; - if (!commandWithMiddleware.middlewareStack) { - throw new Error('Command does not have a middleware stack'); - } - commandWithMiddleware.middlewareStack.add((next) => async (args) => { - const request = args.request; - if (request?.headers && !request.headers['content-length']) { - request.headers['content-length'] = String(contentLength); - } - return next(args); - }, { step: 'build', priority: 'high' }); - return; -} -function createCustomErrorMiddleware() { - return (next) => async (args) => { - try { - return await next(args); - } - catch (error) { - const parseXmlError = (xml) => { - try { - const result = new fast_xml_parser_1.XMLParser({}).parse(xml); - return { - code: result.Error?.Code, - message: result.Error?.Message, - requestId: result.Error?.RequestId, - }; - } - catch (parseError) { - return { - code: null, - message: 'Malformed XML error response', - requestId: null, - }; - } - }; - const response = error.$response; - const statusCode = error.$metadata?.httpStatusCode; - const headers = response?.headers || {}; - const contentType = (headers['content-type'] || '').toLowerCase(); - if (contentType.includes('application/xml') || contentType.includes('text/xml')) { - const body = response?.body; - const xml = body?.toString() || ''; - const errorInfo = parseXmlError(xml); - const xmlError = new typescript_codegen_1.CloudserverServiceException({ - name: errorInfo.code || error.name, - message: errorInfo.message || 'XML error response', - $fault: statusCode >= 500 ? 'server' : 'client', - $metadata: error.$metadata || {}, - $response: error.$response, - }); - xmlError.parsedXml = errorInfo; - xmlError.code = errorInfo.code; - throw xmlError; - } - const s3cNginxProxyResponse = contentType.includes('text/html'); - if (s3cNginxProxyResponse) { - const body = response?.body; - const html = body?.toString() || ''; - const title = html.match(/]*>([^<]+)<\/title>/i); - const message = title && title[1] || 'HTML error response'; - const htmlError = new typescript_codegen_1.CloudserverServiceException({ - name: `HTML ${response?.reason || 'Error'}`, - message: message, - $fault: statusCode >= 500 ? 'server' : 'client', - $metadata: error.$metadata || {}, - $response: error.$response, - }); - htmlError.rawBody = html; - throw htmlError; - } - throw error; - } - }; -} diff --git a/docker-compose.cloudserver-metadata.yml b/docker-compose.cloudserver-metadata.yml new file mode 100644 index 00000000..5f4c70da --- /dev/null +++ b/docker-compose.cloudserver-metadata.yml @@ -0,0 +1,22 @@ +services: + metadata-standalone: + image: ghcr.io/scality/metadata:8.11.0-standalone + platform: linux/amd64 + network_mode: 'host' + volumes: + - ./md-config.json:/mnt/standalone_workdir/config.json:ro + + cloudserver-metadata: + image: ghcr.io/scality/cloudserver:9.1.4 + platform: linux/amd64 + network_mode: 'host' + environment: + - S3VAULT=mem + - S3METADATA=scality + - S3DATA=mem + - REMOTE_MANAGEMENT_DISABLE=true + - SCALITY_ACCESS_KEY_ID=accessKey1 + - SCALITY_SECRET_ACCESS_KEY=verySecretKey1 + - LOG_LEVEL=info + depends_on: + - metadata-standalone diff --git a/docker-compose.cloudserver-mongo.yml b/docker-compose.cloudserver-mongo.yml new file mode 100644 index 00000000..3ce4f009 --- /dev/null +++ b/docker-compose.cloudserver-mongo.yml @@ -0,0 +1,48 @@ +services: + mongodb: + image: mongo:5.0 + platform: linux/amd64 + command: --replSet rs0 --port 27018 --bind_ip_all + ports: + - "27018:27018" + healthcheck: + test: echo 'db.runCommand("ping").ok' | mongosh --port 27018 --quiet + interval: 5s + timeout: 10s + retries: 5 + start_period: 10s + + mongo-init: + image: mongo:5.0 + platform: linux/amd64 + depends_on: + mongodb: + condition: service_healthy + command: > + mongosh --host mongodb:27018 --eval + 'rs.initiate({_id: "rs0", members: [{_id: 0, host: "mongodb:27018"}]})' + restart: "no" + + cloudserver: + image: ghcr.io/scality/cloudserver:9.1.4 + platform: linux/amd64 + ports: + - "8000:8000" + environment: + - S3VAULT=mem + - S3METADATA=mongodb + - S3DATA=mem + - MONGODB_HOSTS=mongodb:27018 + - MONGODB_RS=rs0 + - REMOTE_MANAGEMENT_DISABLE=true + - SCALITY_ACCESS_KEY_ID=accessKey1 + - SCALITY_SECRET_ACCESS_KEY=verySecretKey1 + - LOG_LEVEL=info + depends_on: + mongo-init: + condition: service_completed_successfully + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8000/"] + interval: 5s + timeout: 5s + retries: 12 diff --git a/md-config.json b/md-config.json new file mode 100644 index 00000000..405c350d --- /dev/null +++ b/md-config.json @@ -0,0 +1,29 @@ +{ + "raftSessions": 1, + "raftMembers": 5, + "bucketdCount": 1, + "bucketdWorkers": 1, + "basePorts": { + "bucketd": 9000, + "repd": 4200, + "repdAdmin": 4250 + }, + "logLevel": "info", + "env": { + "METADATA_NEW_BUCKETS_VFORMAT": "v0", + "S3_VERSION_ID_ENCODING_TYPE":"hex" + }, + "migration": { + "deploy": false, + "raftSessions": 0, + "raftMembers": 5, + "bucketdCount": 1, + "bucketdWorkers": 1, + "basePorts": { + "bucketd": 9001, + "repd": 4700, + "repdAdmin": 4750 + }, + "logLevel": "info" + } +}