distilled-aws 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -34
- package/lib/category.d.ts +16 -16
- package/lib/category.d.ts.map +1 -1
- package/lib/category.js +2 -2
- package/lib/category.js.map +1 -1
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +8 -4
- package/lib/client/api.js.map +1 -1
- package/lib/client/request-builder.js +1 -1
- package/lib/client/request-builder.js.map +1 -1
- package/lib/client/response-parser.d.ts +4 -0
- package/lib/client/response-parser.d.ts.map +1 -1
- package/lib/client/response-parser.js +6 -1
- package/lib/client/response-parser.js.map +1 -1
- package/lib/errors.d.ts +26 -22
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +4 -0
- package/lib/errors.js.map +1 -1
- package/lib/services/accessanalyzer.d.ts +12 -12
- package/lib/services/account.d.ts +8 -8
- package/lib/services/acm-pca.d.ts +1 -1
- package/lib/services/acm.d.ts +3 -3
- package/lib/services/aiops.d.ts +7 -7
- package/lib/services/amp.d.ts +9 -9
- package/lib/services/amplify.d.ts +7 -7
- package/lib/services/amplifybackend.d.ts +4 -4
- package/lib/services/amplifyuibuilder.d.ts +7 -7
- package/lib/services/api-gateway.d.ts +7 -7
- package/lib/services/apigatewaymanagementapi.d.ts +4 -4
- package/lib/services/apigatewayv2.d.ts +5 -5
- package/lib/services/app-mesh.d.ts +13 -13
- package/lib/services/appconfig.d.ts +6 -6
- package/lib/services/appconfigdata.d.ts +4 -4
- package/lib/services/appfabric.d.ts +9 -9
- package/lib/services/appflow.d.ts +10 -10
- package/lib/services/appintegrations.d.ts +8 -8
- package/lib/services/application-auto-scaling.d.ts +9 -9
- package/lib/services/application-discovery-service.d.ts +10 -10
- package/lib/services/application-insights.d.ts +8 -8
- package/lib/services/application-signals.d.ts +6 -6
- package/lib/services/applicationcostprofiler.d.ts +5 -5
- package/lib/services/apprunner.d.ts +5 -5
- package/lib/services/appstream.d.ts +16 -16
- package/lib/services/appsync.d.ts +13 -13
- package/lib/services/arc-region-switch.d.ts +5 -5
- package/lib/services/arc-zonal-shift.d.ts +6 -6
- package/lib/services/artifact.d.ts +9 -9
- package/lib/services/athena.d.ts +1 -1
- package/lib/services/auditmanager.d.ts +6 -6
- package/lib/services/auto-scaling-plans.d.ts +6 -6
- package/lib/services/auto-scaling.d.ts +12 -12
- package/lib/services/b2bi.d.ts +9 -9
- package/lib/services/backup-gateway.d.ts +3 -3
- package/lib/services/backup.d.ts +3 -3
- package/lib/services/backupsearch.d.ts +3 -3
- package/lib/services/batch.d.ts +2 -2
- package/lib/services/bcm-dashboards.d.ts +6 -6
- package/lib/services/bcm-data-exports.d.ts +5 -5
- package/lib/services/bcm-pricing-calculator.d.ts +4 -4
- package/lib/services/bcm-recommended-actions.d.ts +4 -4
- package/lib/services/bedrock-agent-runtime.d.ts +8 -8
- package/lib/services/bedrock-agent.d.ts +7 -7
- package/lib/services/bedrock-agentcore-control.d.ts +16 -16
- package/lib/services/bedrock-agentcore.d.ts +12 -12
- package/lib/services/bedrock-data-automation-runtime.d.ts +7 -7
- package/lib/services/bedrock-data-automation.d.ts +7 -7
- package/lib/services/bedrock-runtime.d.ts +11 -11
- package/lib/services/bedrock.d.ts +10 -10
- package/lib/services/billing.d.ts +8 -8
- package/lib/services/billingconductor.d.ts +7 -7
- package/lib/services/braket.d.ts +8 -8
- package/lib/services/budgets.d.ts +11 -11
- package/lib/services/chatbot.d.ts +33 -33
- package/lib/services/chime-sdk-identity.d.ts +9 -9
- package/lib/services/chime-sdk-media-pipelines.d.ts +9 -9
- package/lib/services/chime-sdk-meetings.d.ts +12 -12
- package/lib/services/chime-sdk-messaging.d.ts +9 -9
- package/lib/services/chime-sdk-voice.d.ts +12 -12
- package/lib/services/chime.d.ts +11 -11
- package/lib/services/cleanrooms.d.ts +7 -7
- package/lib/services/cleanroomsml.d.ts +7 -7
- package/lib/services/cloudcontrol.d.ts +22 -22
- package/lib/services/clouddirectory.d.ts +37 -37
- package/lib/services/cloudformation.d.ts +33 -33
- package/lib/services/cloudfront-keyvaluestore.d.ts +6 -6
- package/lib/services/cloudfront.d.ts +186 -186
- package/lib/services/cloudhsm-v2.d.ts +1 -1
- package/lib/services/cloudsearch.d.ts +8 -8
- package/lib/services/cloudtrail.d.ts +89 -89
- package/lib/services/cloudwatch-events.d.ts +1 -1
- package/lib/services/cloudwatch-logs.d.ts +5 -5
- package/lib/services/cloudwatch.d.ts +14 -14
- package/lib/services/codeartifact.d.ts +7 -7
- package/lib/services/codebuild.d.ts +1 -1
- package/lib/services/codecommit.d.ts +3 -3
- package/lib/services/codeconnections.d.ts +18 -18
- package/lib/services/codedeploy.d.ts +3 -3
- package/lib/services/codeguru-reviewer.d.ts +7 -7
- package/lib/services/codeguru-security.d.ts +8 -8
- package/lib/services/codeguruprofiler.d.ts +9 -9
- package/lib/services/codepipeline.d.ts +1 -1
- package/lib/services/codestar-connections.d.ts +18 -18
- package/lib/services/codestar-notifications.d.ts +9 -9
- package/lib/services/cognito-identity-provider.d.ts +55 -55
- package/lib/services/cognito-identity.d.ts +11 -11
- package/lib/services/cognito-sync.d.ts +13 -13
- package/lib/services/comprehend.d.ts +16 -16
- package/lib/services/comprehendmedical.d.ts +8 -8
- package/lib/services/compute-optimizer-automation.d.ts +12 -12
- package/lib/services/compute-optimizer.d.ts +9 -9
- package/lib/services/config-service.d.ts +3 -3
- package/lib/services/connect-contact-lens.d.ts +5 -5
- package/lib/services/connect.d.ts +27 -27
- package/lib/services/connectcampaigns.d.ts +11 -11
- package/lib/services/connectcampaignsv2.d.ts +11 -11
- package/lib/services/connectcases.d.ts +9 -9
- package/lib/services/connectparticipant.d.ts +7 -7
- package/lib/services/controlcatalog.d.ts +7 -7
- package/lib/services/controltower.d.ts +9 -9
- package/lib/services/cost-and-usage-report-service.d.ts +1 -1
- package/lib/services/cost-explorer.d.ts +8 -8
- package/lib/services/cost-optimization-hub.d.ts +5 -5
- package/lib/services/customer-profiles.d.ts +5 -5
- package/lib/services/database-migration-service.d.ts +6 -6
- package/lib/services/databrew.d.ts +6 -6
- package/lib/services/dataexchange.d.ts +7 -7
- package/lib/services/datazone.d.ts +9 -9
- package/lib/services/dax.d.ts +32 -32
- package/lib/services/deadline.d.ts +9 -9
- package/lib/services/detective.d.ts +7 -7
- package/lib/services/device-farm.d.ts +5 -5
- package/lib/services/devops-guru.d.ts +7 -7
- package/lib/services/direct-connect.d.ts +1 -1
- package/lib/services/directory-service-data.d.ts +10 -10
- package/lib/services/directory-service.d.ts +3 -3
- package/lib/services/dlm.d.ts +4 -4
- package/lib/services/docdb-elastic.d.ts +9 -9
- package/lib/services/docdb.d.ts +66 -66
- package/lib/services/drs.d.ts +8 -8
- package/lib/services/dsql.d.ts +8 -8
- package/lib/services/dynamodb.d.ts +6 -6
- package/lib/services/ebs.d.ts +8 -8
- package/lib/services/ec2-instance-connect.d.ts +12 -12
- package/lib/services/ec2.d.ts +20 -20
- package/lib/services/ecr-public.d.ts +4 -4
- package/lib/services/ecr.d.ts +8 -8
- package/lib/services/ecs.d.ts +1 -1
- package/lib/services/efs.d.ts +42 -42
- package/lib/services/eks-auth.d.ts +10 -10
- package/lib/services/eks.d.ts +14 -14
- package/lib/services/elastic-beanstalk.d.ts +17 -17
- package/lib/services/elastic-load-balancing-v2.d.ts +56 -56
- package/lib/services/elastic-load-balancing.d.ts +22 -22
- package/lib/services/elasticache.d.ts +91 -91
- package/lib/services/elasticsearch-service.d.ts +11 -11
- package/lib/services/emr-containers.d.ts +5 -5
- package/lib/services/emr-serverless.d.ts +5 -5
- package/lib/services/emr.d.ts +1 -1
- package/lib/services/entityresolution.d.ts +9 -9
- package/lib/services/eventbridge.d.ts +2 -2
- package/lib/services/evidently.d.ts +8 -8
- package/lib/services/evs.d.ts +7 -7
- package/lib/services/finspace-data.d.ts +7 -7
- package/lib/services/finspace.d.ts +11 -11
- package/lib/services/firehose.d.ts +1 -1
- package/lib/services/fis.d.ts +4 -4
- package/lib/services/fms.d.ts +1 -1
- package/lib/services/forecast.d.ts +7 -7
- package/lib/services/forecastquery.d.ts +5 -5
- package/lib/services/frauddetector.d.ts +7 -7
- package/lib/services/freetier.d.ts +5 -5
- package/lib/services/fsx.d.ts +5 -5
- package/lib/services/gamelift.d.ts +1 -1
- package/lib/services/gameliftstreams.d.ts +9 -9
- package/lib/services/geo-maps.d.ts +7 -7
- package/lib/services/geo-places.d.ts +6 -6
- package/lib/services/geo-routes.d.ts +6 -6
- package/lib/services/glacier.d.ts +9 -9
- package/lib/services/global-accelerator.d.ts +22 -22
- package/lib/services/glue.d.ts +11 -11
- package/lib/services/grafana.d.ts +9 -9
- package/lib/services/greengrass.d.ts +2 -2
- package/lib/services/greengrassv2.d.ts +8 -8
- package/lib/services/groundstation.d.ts +4 -4
- package/lib/services/guardduty.d.ts +5 -5
- package/lib/services/healthlake.d.ts +6 -6
- package/lib/services/iam.d.ts +37 -37
- package/lib/services/identitystore.d.ts +4 -4
- package/lib/services/imagebuilder.d.ts +20 -20
- package/lib/services/inspector-scan.d.ts +6 -6
- package/lib/services/inspector.d.ts +2 -2
- package/lib/services/inspector2.d.ts +10 -10
- package/lib/services/internetmonitor.d.ts +15 -15
- package/lib/services/invoicing.d.ts +7 -7
- package/lib/services/iot-data-plane.d.ts +11 -11
- package/lib/services/iot-events-data.d.ts +5 -5
- package/lib/services/iot-events.d.ts +10 -10
- package/lib/services/iot-jobs-data-plane.d.ts +11 -11
- package/lib/services/iot-managed-integrations.d.ts +12 -12
- package/lib/services/iot-wireless.d.ts +7 -7
- package/lib/services/iot.d.ts +35 -35
- package/lib/services/iotanalytics.d.ts +8 -8
- package/lib/services/iotdeviceadvisor.d.ts +4 -4
- package/lib/services/iotfleetwise.d.ts +10 -10
- package/lib/services/iotsecuretunneling.d.ts +2 -2
- package/lib/services/iotsitewise.d.ts +14 -14
- package/lib/services/iotthingsgraph.d.ts +7 -7
- package/lib/services/iottwinmaker.d.ts +10 -10
- package/lib/services/ivs-realtime.d.ts +7 -7
- package/lib/services/ivs.d.ts +10 -10
- package/lib/services/ivschat.d.ts +8 -8
- package/lib/services/kafka.d.ts +8 -8
- package/lib/services/kafkaconnect.d.ts +8 -8
- package/lib/services/kendra-ranking.d.ts +8 -8
- package/lib/services/kendra.d.ts +12 -12
- package/lib/services/keyspaces.d.ts +5 -5
- package/lib/services/keyspacesstreams.d.ts +5 -5
- package/lib/services/kinesis-analytics-v2.d.ts +2 -2
- package/lib/services/kinesis-analytics.d.ts +2 -2
- package/lib/services/kinesis-video-archived-media.d.ts +9 -9
- package/lib/services/kinesis-video-media.d.ts +6 -6
- package/lib/services/kinesis-video-signaling.d.ts +6 -6
- package/lib/services/kinesis-video-webrtc-storage.d.ts +4 -4
- package/lib/services/kinesis-video.d.ts +15 -15
- package/lib/services/kinesis.d.ts +2 -2
- package/lib/services/kms.d.ts +48 -48
- package/lib/services/lakeformation.d.ts +11 -11
- package/lib/services/lambda.d.ts +46 -46
- package/lib/services/launch-wizard.d.ts +4 -4
- package/lib/services/lex-model-building-service.d.ts +7 -7
- package/lib/services/lex-models-v2.d.ts +6 -6
- package/lib/services/lex-runtime-service.d.ts +10 -10
- package/lib/services/lex-runtime-v2.d.ts +7 -7
- package/lib/services/license-manager-user-subscriptions.d.ts +3 -3
- package/lib/services/license-manager.d.ts +14 -14
- package/lib/services/lightsail.d.ts +6 -6
- package/lib/services/location.d.ts +9 -9
- package/lib/services/lookoutequipment.d.ts +7 -7
- package/lib/services/m2.d.ts +13 -13
- package/lib/services/machine-learning.d.ts +5 -5
- package/lib/services/macie2.d.ts +8 -8
- package/lib/services/mailmanager.d.ts +6 -6
- package/lib/services/managedblockchain-query.d.ts +8 -8
- package/lib/services/managedblockchain.d.ts +11 -11
- package/lib/services/marketplace-agreement.d.ts +5 -5
- package/lib/services/marketplace-catalog.d.ts +7 -7
- package/lib/services/marketplace-deployment.d.ts +9 -9
- package/lib/services/marketplace-metering.d.ts +1 -1
- package/lib/services/marketplace-reporting.d.ts +4 -4
- package/lib/services/mediaconnect.d.ts +11 -11
- package/lib/services/mediaconvert.d.ts +7 -7
- package/lib/services/medialive.d.ts +9 -9
- package/lib/services/mediapackage-vod.d.ts +6 -6
- package/lib/services/mediapackage.d.ts +6 -6
- package/lib/services/mediapackagev2.d.ts +6 -6
- package/lib/services/mediastore-data.d.ts +2 -2
- package/lib/services/mediatailor.d.ts +1 -1
- package/lib/services/medical-imaging.d.ts +7 -7
- package/lib/services/memorydb.d.ts +66 -66
- package/lib/services/mgn.d.ts +8 -8
- package/lib/services/migration-hub-refactor-spaces.d.ts +8 -8
- package/lib/services/migration-hub.d.ts +4 -4
- package/lib/services/migrationhub-config.d.ts +3 -3
- package/lib/services/migrationhuborchestrator.d.ts +9 -9
- package/lib/services/migrationhubstrategy.d.ts +9 -9
- package/lib/services/mpa.d.ts +10 -10
- package/lib/services/mq.d.ts +6 -6
- package/lib/services/mturk.d.ts +2 -2
- package/lib/services/mwaa-serverless.d.ts +10 -10
- package/lib/services/mwaa.d.ts +6 -6
- package/lib/services/neptune-graph.d.ts +10 -10
- package/lib/services/neptune.d.ts +77 -77
- package/lib/services/neptunedata.d.ts +46 -46
- package/lib/services/networkflowmonitor.d.ts +9 -9
- package/lib/services/networkmanager.d.ts +8 -8
- package/lib/services/networkmonitor.d.ts +9 -9
- package/lib/services/notifications.d.ts +9 -9
- package/lib/services/notificationscontacts.d.ts +9 -9
- package/lib/services/nova-act.d.ts +9 -9
- package/lib/services/oam.d.ts +8 -8
- package/lib/services/observabilityadmin.d.ts +9 -9
- package/lib/services/odb.d.ts +8 -8
- package/lib/services/omics.d.ts +12 -12
- package/lib/services/opensearch.d.ts +13 -13
- package/lib/services/opensearchserverless.d.ts +6 -6
- package/lib/services/organizations.d.ts +48 -48
- package/lib/services/osis.d.ts +10 -10
- package/lib/services/outposts.d.ts +6 -6
- package/lib/services/panorama.d.ts +6 -6
- package/lib/services/partnercentral-account.d.ts +9 -9
- package/lib/services/partnercentral-benefits.d.ts +8 -8
- package/lib/services/partnercentral-channel.d.ts +10 -10
- package/lib/services/partnercentral-selling.d.ts +7 -7
- package/lib/services/payment-cryptography-data.d.ts +5 -5
- package/lib/services/payment-cryptography.d.ts +8 -8
- package/lib/services/pca-connector-ad.d.ts +9 -9
- package/lib/services/pca-connector-scep.d.ts +10 -10
- package/lib/services/pcs.d.ts +9 -9
- package/lib/services/personalize-events.d.ts +3 -3
- package/lib/services/personalize-runtime.d.ts +2 -2
- package/lib/services/personalize.d.ts +9 -9
- package/lib/services/pinpoint-email.d.ts +11 -11
- package/lib/services/pinpoint-sms-voice-v2.d.ts +4 -4
- package/lib/services/pinpoint-sms-voice.d.ts +6 -6
- package/lib/services/pinpoint.d.ts +8 -8
- package/lib/services/pipes.d.ts +6 -6
- package/lib/services/polly.d.ts +21 -21
- package/lib/services/pricing.d.ts +10 -10
- package/lib/services/proton.d.ts +9 -9
- package/lib/services/qapps.d.ts +11 -11
- package/lib/services/qbusiness.d.ts +9 -9
- package/lib/services/qconnect.d.ts +12 -12
- package/lib/services/quicksight.d.ts +23 -23
- package/lib/services/ram.d.ts +29 -29
- package/lib/services/rbin.d.ts +5 -5
- package/lib/services/rds-data.d.ts +17 -17
- package/lib/services/rds.d.ts +169 -169
- package/lib/services/redshift-data.d.ts +9 -9
- package/lib/services/redshift-serverless.d.ts +15 -15
- package/lib/services/redshift.d.ts +164 -164
- package/lib/services/rekognition.d.ts +3 -3
- package/lib/services/repostspace.d.ts +9 -9
- package/lib/services/resiliencehub.d.ts +7 -7
- package/lib/services/resource-explorer-2.d.ts +8 -8
- package/lib/services/resource-groups.d.ts +7 -7
- package/lib/services/rolesanywhere.d.ts +4 -4
- package/lib/services/route-53-domains.d.ts +10 -10
- package/lib/services/route-53.d.ts +60 -60
- package/lib/services/route53-recovery-cluster.d.ts +8 -8
- package/lib/services/route53-recovery-control-config.d.ts +7 -7
- package/lib/services/route53-recovery-readiness.d.ts +6 -6
- package/lib/services/route53globalresolver.d.ts +9 -9
- package/lib/services/route53profiles.d.ts +1 -1
- package/lib/services/route53resolver.d.ts +1 -1
- package/lib/services/rtbfabric.d.ts +9 -9
- package/lib/services/rum.d.ts +13 -13
- package/lib/services/s3-control.d.ts +2 -2
- package/lib/services/s3.d.ts +15 -15
- package/lib/services/s3.d.ts.map +1 -1
- package/lib/services/s3.js +1 -1
- package/lib/services/s3.js.map +1 -1
- package/lib/services/s3outposts.d.ts +7 -7
- package/lib/services/s3tables.d.ts +8 -8
- package/lib/services/s3vectors.d.ts +10 -10
- package/lib/services/sagemaker-a2i-runtime.d.ts +6 -6
- package/lib/services/sagemaker-featurestore-runtime.d.ts +5 -5
- package/lib/services/sagemaker-geospatial.d.ts +7 -7
- package/lib/services/sagemaker-runtime-http2.d.ts +3 -3
- package/lib/services/sagemaker-runtime.d.ts +5 -5
- package/lib/services/sagemaker.d.ts +2 -2
- package/lib/services/savingsplans.d.ts +4 -4
- package/lib/services/scheduler.d.ts +6 -6
- package/lib/services/schemas.d.ts +9 -9
- package/lib/services/security-ir.d.ts +3 -3
- package/lib/services/securityhub.d.ts +13 -13
- package/lib/services/securitylake.d.ts +8 -8
- package/lib/services/serverlessapplicationrepository.d.ts +6 -6
- package/lib/services/service-catalog-appregistry.d.ts +6 -6
- package/lib/services/service-quotas.d.ts +18 -18
- package/lib/services/servicediscovery.d.ts +19 -19
- package/lib/services/ses.d.ts +39 -39
- package/lib/services/sesv2.d.ts +14 -14
- package/lib/services/sfn.d.ts +13 -13
- package/lib/services/shield.d.ts +4 -4
- package/lib/services/signer.d.ts +10 -10
- package/lib/services/signin.d.ts +4 -4
- package/lib/services/simspaceweaver.d.ts +7 -7
- package/lib/services/snow-device-management.d.ts +8 -8
- package/lib/services/snowball.d.ts +1 -1
- package/lib/services/sns.d.ts +36 -36
- package/lib/services/socialmessaging.d.ts +10 -10
- package/lib/services/sqs.d.ts +26 -26
- package/lib/services/ssm-contacts.d.ts +8 -8
- package/lib/services/ssm-guiconnect.d.ts +7 -7
- package/lib/services/ssm-incidents.d.ts +7 -7
- package/lib/services/ssm-quicksetup.d.ts +8 -8
- package/lib/services/ssm-sap.d.ts +5 -5
- package/lib/services/ssm.d.ts +18 -18
- package/lib/services/sso-admin.d.ts +7 -7
- package/lib/services/sso-oidc.d.ts +16 -16
- package/lib/services/sso.d.ts +4 -4
- package/lib/services/storage-gateway.d.ts +3 -3
- package/lib/services/sts.d.ts +12 -12
- package/lib/services/supplychain.d.ts +9 -9
- package/lib/services/support-app.d.ts +6 -6
- package/lib/services/support.d.ts +5 -5
- package/lib/services/swf.d.ts +3 -3
- package/lib/services/synthetics.d.ts +11 -11
- package/lib/services/taxsettings.d.ts +7 -7
- package/lib/services/textract.d.ts +2 -2
- package/lib/services/timestream-influxdb.d.ts +9 -9
- package/lib/services/timestream-query.d.ts +8 -8
- package/lib/services/timestream-write.d.ts +7 -7
- package/lib/services/tnb.d.ts +6 -6
- package/lib/services/transcribe-streaming.d.ts +6 -6
- package/lib/services/transcribe.d.ts +5 -5
- package/lib/services/transfer.d.ts +9 -9
- package/lib/services/translate.d.ts +15 -15
- package/lib/services/trustedadvisor.d.ts +8 -8
- package/lib/services/verifiedpermissions.d.ts +10 -10
- package/lib/services/voice-id.d.ts +7 -7
- package/lib/services/vpc-lattice.d.ts +9 -9
- package/lib/services/waf-regional.d.ts +2 -2
- package/lib/services/waf.d.ts +2 -2
- package/lib/services/wafv2.d.ts +2 -2
- package/lib/services/wellarchitected.d.ts +7 -7
- package/lib/services/wickr.d.ts +7 -7
- package/lib/services/wisdom.d.ts +8 -8
- package/lib/services/workdocs.d.ts +26 -26
- package/lib/services/workmail.d.ts +2 -2
- package/lib/services/workmailmessageflow.d.ts +1 -1
- package/lib/services/workspaces-instances.d.ts +9 -9
- package/lib/services/workspaces-thin-client.d.ts +7 -7
- package/lib/services/workspaces-web.d.ts +8 -8
- package/lib/services/workspaces.d.ts +2 -2
- package/lib/services/xray.d.ts +8 -8
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +46 -46
- package/lib/traits.js.map +1 -1
- package/package.json +52 -56
- package/src/category.ts +2 -2
- package/src/client/api.ts +12 -8
- package/src/client/request-builder.ts +1 -1
- package/src/client/response-parser.ts +10 -1
- package/src/errors.ts +4 -0
- package/src/services/s3.ts +2 -2
- package/src/traits.ts +58 -46
- package/lib/tsconfig.test.tsbuildinfo +0 -1
package/src/services/s3.ts
CHANGED
|
@@ -14433,12 +14433,12 @@ export const headObject: (
|
|
|
14433
14433
|
input: HeadObjectRequest,
|
|
14434
14434
|
) => effect.Effect<
|
|
14435
14435
|
HeadObjectOutput,
|
|
14436
|
-
NotFound | RequestLimitExceeded | ParseError | CommonErrors,
|
|
14436
|
+
NotFound | RequestLimitExceeded | ParseError | NoSuchBucket | CommonErrors,
|
|
14437
14437
|
Credentials | Rgn | HttpClient.HttpClient
|
|
14438
14438
|
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14439
14439
|
input: HeadObjectRequest,
|
|
14440
14440
|
output: HeadObjectOutput,
|
|
14441
|
-
errors: [NotFound, RequestLimitExceeded, ParseError],
|
|
14441
|
+
errors: [NotFound, RequestLimitExceeded, ParseError, NoSuchBucket],
|
|
14442
14442
|
}));
|
|
14443
14443
|
/**
|
|
14444
14444
|
* This operation is not supported for directory buckets.
|
package/src/traits.ts
CHANGED
|
@@ -18,7 +18,7 @@ import type { RuleSetObject } from "./rules-engine/expression.ts";
|
|
|
18
18
|
/**
|
|
19
19
|
* Internal symbol for annotation metadata storage
|
|
20
20
|
*/
|
|
21
|
-
const annotationMetaSymbol = Symbol.for("
|
|
21
|
+
const annotationMetaSymbol = Symbol.for("distilled-aws/annotation-meta");
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Any type that has an .annotations() method returning itself.
|
|
@@ -92,16 +92,16 @@ export function all(...annotations: Annotation[]): Annotation {
|
|
|
92
92
|
// =============================================================================
|
|
93
93
|
|
|
94
94
|
/** smithy.api#httpHeader - Bind member to an HTTP header */
|
|
95
|
-
export const httpHeaderSymbol = Symbol.for("
|
|
95
|
+
export const httpHeaderSymbol = Symbol.for("distilled-aws/http-header");
|
|
96
96
|
export const HttpHeader = (name: string) =>
|
|
97
97
|
makeAnnotation(httpHeaderSymbol, name);
|
|
98
98
|
|
|
99
99
|
/** smithy.api#httpPayload - Bind member to the HTTP body */
|
|
100
|
-
export const httpPayloadSymbol = Symbol.for("
|
|
100
|
+
export const httpPayloadSymbol = Symbol.for("distilled-aws/http-payload");
|
|
101
101
|
export const HttpPayload = () => makeAnnotation(httpPayloadSymbol, true);
|
|
102
102
|
|
|
103
103
|
/** smithy.api#httpLabel - Bind member to a URI label (path parameter) */
|
|
104
|
-
export const httpLabelSymbol = Symbol.for("
|
|
104
|
+
export const httpLabelSymbol = Symbol.for("distilled-aws/http-label");
|
|
105
105
|
/**
|
|
106
106
|
* HttpLabel trait - binds a member to a URI label (path parameter).
|
|
107
107
|
* @param labelName - Optional. The name to use in the URI template. If provided, this name
|
|
@@ -113,24 +113,28 @@ export const HttpLabel = (labelName?: string) =>
|
|
|
113
113
|
makeAnnotation(httpLabelSymbol, labelName ?? true);
|
|
114
114
|
|
|
115
115
|
/** smithy.api#httpQuery - Bind member to a query string parameter */
|
|
116
|
-
export const httpQuerySymbol = Symbol.for("
|
|
116
|
+
export const httpQuerySymbol = Symbol.for("distilled-aws/http-query");
|
|
117
117
|
export const HttpQuery = (name: string) =>
|
|
118
118
|
makeAnnotation(httpQuerySymbol, name);
|
|
119
119
|
|
|
120
120
|
/** smithy.api#httpQueryParams - Bind map members to query string parameters */
|
|
121
|
-
export const httpQueryParamsSymbol = Symbol.for(
|
|
121
|
+
export const httpQueryParamsSymbol = Symbol.for(
|
|
122
|
+
"distilled-aws/http-query-params",
|
|
123
|
+
);
|
|
122
124
|
export const HttpQueryParams = () =>
|
|
123
125
|
makeAnnotation(httpQueryParamsSymbol, true);
|
|
124
126
|
|
|
125
127
|
/** smithy.api#httpPrefixHeaders - Bind map members to prefixed HTTP headers */
|
|
126
128
|
export const httpPrefixHeadersSymbol = Symbol.for(
|
|
127
|
-
"
|
|
129
|
+
"distilled-aws/http-prefix-headers",
|
|
128
130
|
);
|
|
129
131
|
export const HttpPrefixHeaders = (prefix: string) =>
|
|
130
132
|
makeAnnotation(httpPrefixHeadersSymbol, prefix);
|
|
131
133
|
|
|
132
134
|
/** smithy.api#httpResponseCode - Bind member to the HTTP response status code */
|
|
133
|
-
export const httpResponseCodeSymbol = Symbol.for(
|
|
135
|
+
export const httpResponseCodeSymbol = Symbol.for(
|
|
136
|
+
"distilled-aws/http-response-code",
|
|
137
|
+
);
|
|
134
138
|
export const HttpResponseCode = () =>
|
|
135
139
|
makeAnnotation(httpResponseCodeSymbol, true);
|
|
136
140
|
|
|
@@ -139,23 +143,23 @@ export const HttpResponseCode = () =>
|
|
|
139
143
|
// =============================================================================
|
|
140
144
|
|
|
141
145
|
/** smithy.api#xmlName - Custom XML element name */
|
|
142
|
-
export const xmlNameSymbol = Symbol.for("
|
|
146
|
+
export const xmlNameSymbol = Symbol.for("distilled-aws/xml-name");
|
|
143
147
|
export const XmlName = (name: string) => makeAnnotation(xmlNameSymbol, name);
|
|
144
148
|
|
|
145
149
|
/** smithy.api#xmlFlattened - Flatten list/map (no wrapper element) */
|
|
146
|
-
export const xmlFlattenedSymbol = Symbol.for("
|
|
150
|
+
export const xmlFlattenedSymbol = Symbol.for("distilled-aws/xml-flattened");
|
|
147
151
|
export const XmlFlattened = () => makeAnnotation(xmlFlattenedSymbol, true);
|
|
148
152
|
|
|
149
153
|
/** smithy.api#sparse - List/map may contain null values */
|
|
150
|
-
export const sparseSymbol = Symbol.for("
|
|
154
|
+
export const sparseSymbol = Symbol.for("distilled-aws/sparse");
|
|
151
155
|
export const Sparse = () => makeAnnotation(sparseSymbol, true);
|
|
152
156
|
|
|
153
157
|
/** smithy.api#xmlAttribute - Serialize as XML attribute instead of element */
|
|
154
|
-
export const xmlAttributeSymbol = Symbol.for("
|
|
158
|
+
export const xmlAttributeSymbol = Symbol.for("distilled-aws/xml-attribute");
|
|
155
159
|
export const XmlAttribute = () => makeAnnotation(xmlAttributeSymbol, true);
|
|
156
160
|
|
|
157
161
|
/** smithy.api#xmlNamespace - XML namespace URI for the element */
|
|
158
|
-
export const xmlNamespaceSymbol = Symbol.for("
|
|
162
|
+
export const xmlNamespaceSymbol = Symbol.for("distilled-aws/xml-namespace");
|
|
159
163
|
export const XmlNamespace = (uri: string) =>
|
|
160
164
|
makeAnnotation(xmlNamespaceSymbol, uri);
|
|
161
165
|
|
|
@@ -164,7 +168,7 @@ export const XmlNamespace = (uri: string) =>
|
|
|
164
168
|
// =============================================================================
|
|
165
169
|
|
|
166
170
|
/** smithy.api#jsonName - Custom JSON key name */
|
|
167
|
-
export const jsonNameSymbol = Symbol.for("
|
|
171
|
+
export const jsonNameSymbol = Symbol.for("distilled-aws/json-name");
|
|
168
172
|
|
|
169
173
|
/** Symbol used to detect PropertySignature types */
|
|
170
174
|
const propertySignatureSymbol = Symbol.for("effect/PropertySignature");
|
|
@@ -204,7 +208,7 @@ export const JsonName = (name: string) => {
|
|
|
204
208
|
|
|
205
209
|
/** aws.protocols#ec2QueryName - Custom query key name for EC2 protocol */
|
|
206
210
|
export const ec2QueryNameSymbol = Symbol.for(
|
|
207
|
-
"
|
|
211
|
+
"distilled-aws/aws.protocols#ec2QueryName",
|
|
208
212
|
);
|
|
209
213
|
export const Ec2QueryName = (name: string) =>
|
|
210
214
|
makeAnnotation(ec2QueryNameSymbol, name);
|
|
@@ -214,7 +218,9 @@ export const Ec2QueryName = (name: string) =>
|
|
|
214
218
|
// =============================================================================
|
|
215
219
|
|
|
216
220
|
/** smithy.api#timestampFormat - Timestamp serialization format */
|
|
217
|
-
export const timestampFormatSymbol = Symbol.for(
|
|
221
|
+
export const timestampFormatSymbol = Symbol.for(
|
|
222
|
+
"distilled-aws/timestamp-format",
|
|
223
|
+
);
|
|
218
224
|
export type TimestampFormatType = "date-time" | "http-date" | "epoch-seconds";
|
|
219
225
|
|
|
220
226
|
/**
|
|
@@ -254,7 +260,7 @@ export const TimestampFormat = (format: TimestampFormatType) => {
|
|
|
254
260
|
// =============================================================================
|
|
255
261
|
|
|
256
262
|
/** smithy.api#http - HTTP binding for an operation (applied to request schema) */
|
|
257
|
-
export const httpSymbol = Symbol.for("
|
|
263
|
+
export const httpSymbol = Symbol.for("distilled-aws/smithy.api#http");
|
|
258
264
|
export interface HttpTrait {
|
|
259
265
|
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
|
|
260
266
|
uri: string;
|
|
@@ -266,7 +272,7 @@ export const Http = (trait: HttpTrait) => makeAnnotation(httpSymbol, trait);
|
|
|
266
272
|
// =============================================================================
|
|
267
273
|
|
|
268
274
|
/** aws.api#service - AWS service identification */
|
|
269
|
-
export const awsApiServiceSymbol = Symbol.for("
|
|
275
|
+
export const awsApiServiceSymbol = Symbol.for("distilled-aws/aws.api#service");
|
|
270
276
|
export interface AwsApiServiceTrait {
|
|
271
277
|
sdkId: string;
|
|
272
278
|
arnNamespace?: string;
|
|
@@ -280,7 +286,7 @@ export const AwsApiService = (trait: AwsApiServiceTrait) =>
|
|
|
280
286
|
makeAnnotation(awsApiServiceSymbol, trait);
|
|
281
287
|
|
|
282
288
|
/** aws.auth#sigv4 - SigV4 authentication configuration */
|
|
283
|
-
export const awsAuthSigv4Symbol = Symbol.for("
|
|
289
|
+
export const awsAuthSigv4Symbol = Symbol.for("distilled-aws/aws.auth#sigv4");
|
|
284
290
|
export interface AwsAuthSigv4Trait {
|
|
285
291
|
name: string;
|
|
286
292
|
}
|
|
@@ -298,7 +304,7 @@ export interface ProtocolAnnotationValue {
|
|
|
298
304
|
}
|
|
299
305
|
|
|
300
306
|
/** Common symbol for discovering the protocol from any annotation */
|
|
301
|
-
export const protocolSymbol = Symbol.for("
|
|
307
|
+
export const protocolSymbol = Symbol.for("distilled-aws/protocol");
|
|
302
308
|
|
|
303
309
|
/**
|
|
304
310
|
* Helper to create protocol annotations with embedded implementation.
|
|
@@ -335,7 +341,7 @@ function makeProtocolAnnotation<T extends object = object>(
|
|
|
335
341
|
|
|
336
342
|
/** aws.protocols#restXml */
|
|
337
343
|
export const awsProtocolsRestXmlSymbol = Symbol.for(
|
|
338
|
-
"
|
|
344
|
+
"distilled-aws/aws.protocols#restXml",
|
|
339
345
|
);
|
|
340
346
|
export interface AwsProtocolsRestXmlTrait {
|
|
341
347
|
noErrorWrapping?: boolean;
|
|
@@ -345,7 +351,7 @@ export const AwsProtocolsRestXml = (trait?: AwsProtocolsRestXmlTrait) =>
|
|
|
345
351
|
|
|
346
352
|
/** aws.protocols#restJson1 */
|
|
347
353
|
export const awsProtocolsRestJson1Symbol = Symbol.for(
|
|
348
|
-
"
|
|
354
|
+
"distilled-aws/aws.protocols#restJson1",
|
|
349
355
|
);
|
|
350
356
|
export interface AwsProtocolsRestJson1Trait {
|
|
351
357
|
http?: string[];
|
|
@@ -356,7 +362,7 @@ export const AwsProtocolsRestJson1 = (trait?: AwsProtocolsRestJson1Trait) =>
|
|
|
356
362
|
|
|
357
363
|
/** aws.protocols#awsJson1_0 */
|
|
358
364
|
export const awsProtocolsAwsJson1_0Symbol = Symbol.for(
|
|
359
|
-
"
|
|
365
|
+
"distilled-aws/aws.protocols#awsJson1_0",
|
|
360
366
|
);
|
|
361
367
|
export interface AwsProtocolsAwsJson1_0Trait {
|
|
362
368
|
http?: string[];
|
|
@@ -371,7 +377,7 @@ export const AwsProtocolsAwsJson1_0 = (trait?: AwsProtocolsAwsJson1_0Trait) =>
|
|
|
371
377
|
|
|
372
378
|
/** aws.protocols#awsJson1_1 */
|
|
373
379
|
export const awsProtocolsAwsJson1_1Symbol = Symbol.for(
|
|
374
|
-
"
|
|
380
|
+
"distilled-aws/aws.protocols#awsJson1_1",
|
|
375
381
|
);
|
|
376
382
|
export interface AwsProtocolsAwsJson1_1Trait {
|
|
377
383
|
http?: string[];
|
|
@@ -386,14 +392,14 @@ export const AwsProtocolsAwsJson1_1 = (trait?: AwsProtocolsAwsJson1_1Trait) =>
|
|
|
386
392
|
|
|
387
393
|
/** aws.protocols#awsQuery */
|
|
388
394
|
export const awsProtocolsAwsQuerySymbol = Symbol.for(
|
|
389
|
-
"
|
|
395
|
+
"distilled-aws/aws.protocols#awsQuery",
|
|
390
396
|
);
|
|
391
397
|
export const AwsProtocolsAwsQuery = () =>
|
|
392
398
|
makeProtocolAnnotation(awsProtocolsAwsQuerySymbol, awsQueryProtocol);
|
|
393
399
|
|
|
394
400
|
/** aws.protocols#ec2Query */
|
|
395
401
|
export const awsProtocolsEc2QuerySymbol = Symbol.for(
|
|
396
|
-
"
|
|
402
|
+
"distilled-aws/aws.protocols#ec2Query",
|
|
397
403
|
);
|
|
398
404
|
export const AwsProtocolsEc2Query = () =>
|
|
399
405
|
makeProtocolAnnotation(awsProtocolsEc2QuerySymbol, ec2QueryProtocol);
|
|
@@ -410,11 +416,11 @@ export interface MiddlewareAnnotationValue {
|
|
|
410
416
|
}
|
|
411
417
|
|
|
412
418
|
/** Common symbol for discovering middleware from annotations */
|
|
413
|
-
export const middlewareSymbol = Symbol.for("
|
|
419
|
+
export const middlewareSymbol = Symbol.for("distilled-aws/middleware");
|
|
414
420
|
|
|
415
421
|
/** aws.protocols#httpChecksum - HTTP checksum configuration with embedded middleware */
|
|
416
422
|
export const awsProtocolsHttpChecksumSymbol = Symbol.for(
|
|
417
|
-
"
|
|
423
|
+
"distilled-aws/aws.protocols#httpChecksum",
|
|
418
424
|
);
|
|
419
425
|
export interface AwsProtocolsHttpChecksumTrait {
|
|
420
426
|
requestAlgorithmMember?: string;
|
|
@@ -456,7 +462,7 @@ function getMiddlewareList(
|
|
|
456
462
|
// =============================================================================
|
|
457
463
|
|
|
458
464
|
/** Service API version (from service shape's version property) */
|
|
459
|
-
export const serviceVersionSymbol = Symbol.for("
|
|
465
|
+
export const serviceVersionSymbol = Symbol.for("distilled-aws/service-version");
|
|
460
466
|
export const ServiceVersion = (version: string) =>
|
|
461
467
|
makeAnnotation(serviceVersionSymbol, version);
|
|
462
468
|
|
|
@@ -466,7 +472,7 @@ export const ServiceVersion = (version: string) =>
|
|
|
466
472
|
|
|
467
473
|
/** smithy.rules#endpointRuleSet - Endpoint resolution rule set (legacy JSON) */
|
|
468
474
|
export const endpointRuleSetSymbol = Symbol.for(
|
|
469
|
-
"
|
|
475
|
+
"distilled-aws/smithy.rules#endpointRuleSet",
|
|
470
476
|
);
|
|
471
477
|
export const EndpointRuleSet = (ruleSet: unknown) =>
|
|
472
478
|
makeAnnotation(endpointRuleSetSymbol, ruleSet);
|
|
@@ -511,13 +517,15 @@ export type EndpointResolverFn = (
|
|
|
511
517
|
) => EndpointResolverResult;
|
|
512
518
|
|
|
513
519
|
/** Endpoint resolver - compiled function for endpoint resolution */
|
|
514
|
-
export const endpointResolverSymbol = Symbol.for(
|
|
520
|
+
export const endpointResolverSymbol = Symbol.for(
|
|
521
|
+
"distilled-aws/endpoint-resolver",
|
|
522
|
+
);
|
|
515
523
|
export const EndpointResolver = (resolver: EndpointResolverFn) =>
|
|
516
524
|
makeAnnotation(endpointResolverSymbol, resolver);
|
|
517
525
|
|
|
518
526
|
/** smithy.rules#clientContextParams - Client-level endpoint parameters */
|
|
519
527
|
export const clientContextParamsSymbol = Symbol.for(
|
|
520
|
-
"
|
|
528
|
+
"distilled-aws/smithy.rules#clientContextParams",
|
|
521
529
|
);
|
|
522
530
|
export interface ClientContextParamDefinition {
|
|
523
531
|
type: string;
|
|
@@ -528,29 +536,29 @@ export const ClientContextParams = (
|
|
|
528
536
|
) => makeAnnotation(clientContextParamsSymbol, params);
|
|
529
537
|
|
|
530
538
|
/** smithy.rules#contextParam - Endpoint routing context parameter */
|
|
531
|
-
export const contextParamSymbol = Symbol.for("
|
|
539
|
+
export const contextParamSymbol = Symbol.for("distilled-aws/context-param");
|
|
532
540
|
export const ContextParam = (name: string) =>
|
|
533
541
|
makeAnnotation(contextParamSymbol, name);
|
|
534
542
|
|
|
535
543
|
/** smithy.rules#staticContextParams - Static endpoint parameters for an operation */
|
|
536
544
|
export const staticContextParamsSymbol = Symbol.for(
|
|
537
|
-
"
|
|
545
|
+
"distilled-aws/smithy.rules#staticContextParams",
|
|
538
546
|
);
|
|
539
547
|
export type StaticContextParamsDefinition = Record<string, { value: unknown }>;
|
|
540
548
|
export const StaticContextParams = (params: StaticContextParamsDefinition) =>
|
|
541
549
|
makeAnnotation(staticContextParamsSymbol, params);
|
|
542
550
|
|
|
543
551
|
/** smithy.api#hostLabel - Bind member to a label in the endpoint hostPrefix */
|
|
544
|
-
export const hostLabelSymbol = Symbol.for("
|
|
552
|
+
export const hostLabelSymbol = Symbol.for("distilled-aws/host-label");
|
|
545
553
|
export const HostLabel = () => makeAnnotation(hostLabelSymbol, true);
|
|
546
554
|
|
|
547
555
|
/** smithy.api#httpError - Custom HTTP status code for error responses */
|
|
548
|
-
export const httpErrorSymbol = Symbol.for("
|
|
556
|
+
export const httpErrorSymbol = Symbol.for("distilled-aws/http-error");
|
|
549
557
|
export const HttpError = (statusCode: number) =>
|
|
550
558
|
makeAnnotation(httpErrorSymbol, statusCode);
|
|
551
559
|
|
|
552
560
|
/** smithy.api#retryable - Indicates that an error MAY be retried by the client */
|
|
553
|
-
export const retryableSymbol = Symbol.for("
|
|
561
|
+
export const retryableSymbol = Symbol.for("distilled-aws/retryable");
|
|
554
562
|
export interface RetryableTrait {
|
|
555
563
|
throttling?: boolean;
|
|
556
564
|
}
|
|
@@ -559,14 +567,14 @@ export const Retryable = (trait?: RetryableTrait) =>
|
|
|
559
567
|
|
|
560
568
|
/** smithy.api#httpChecksumRequired - Indicates operation requires Content-MD5 checksum */
|
|
561
569
|
export const httpChecksumRequiredSymbol = Symbol.for(
|
|
562
|
-
"
|
|
570
|
+
"distilled-aws/http-checksum-required",
|
|
563
571
|
);
|
|
564
572
|
export const HttpChecksumRequired = () =>
|
|
565
573
|
makeAnnotation(httpChecksumRequiredSymbol, true);
|
|
566
574
|
|
|
567
575
|
/** aws.protocols#awsQueryError - Custom error Code and HTTP response code for awsQuery protocol */
|
|
568
576
|
export const awsQueryErrorSymbol = Symbol.for(
|
|
569
|
-
"
|
|
577
|
+
"distilled-aws/aws.protocols#awsQueryError",
|
|
570
578
|
);
|
|
571
579
|
export interface AwsQueryErrorTrait {
|
|
572
580
|
code: string;
|
|
@@ -577,7 +585,7 @@ export const AwsQueryError = (trait: AwsQueryErrorTrait) =>
|
|
|
577
585
|
|
|
578
586
|
/** aws.customizations#s3UnwrappedXmlOutput - S3 output not wrapped in operation-level XML node */
|
|
579
587
|
export const s3UnwrappedXmlOutputSymbol = Symbol.for(
|
|
580
|
-
"
|
|
588
|
+
"distilled-aws/aws.customizations#s3UnwrappedXmlOutput",
|
|
581
589
|
);
|
|
582
590
|
export const S3UnwrappedXmlOutput = () =>
|
|
583
591
|
makeAnnotation(s3UnwrappedXmlOutputSymbol, true);
|
|
@@ -590,7 +598,9 @@ export const S3UnwrappedXmlOutput = () =>
|
|
|
590
598
|
* smithy.api#idempotencyToken - Marks a member as an idempotency token.
|
|
591
599
|
* When set, the SDK will automatically generate a UUID if the value is not provided.
|
|
592
600
|
*/
|
|
593
|
-
export const idempotencyTokenSymbol = Symbol.for(
|
|
601
|
+
export const idempotencyTokenSymbol = Symbol.for(
|
|
602
|
+
"distilled-aws/idempotency-token",
|
|
603
|
+
);
|
|
594
604
|
export const IdempotencyToken = () =>
|
|
595
605
|
makeAnnotation(idempotencyTokenSymbol, true);
|
|
596
606
|
|
|
@@ -627,7 +637,7 @@ export const Blob = S.transform(
|
|
|
627
637
|
// =============================================================================
|
|
628
638
|
|
|
629
639
|
/** smithy.api#streaming - Marks a type as streaming/blob (raw body, not serialized) */
|
|
630
|
-
export const streamingSymbol = Symbol.for("
|
|
640
|
+
export const streamingSymbol = Symbol.for("distilled-aws/streaming");
|
|
631
641
|
|
|
632
642
|
/**
|
|
633
643
|
* Streaming trait - behavior depends on what it's applied to:
|
|
@@ -707,7 +717,7 @@ export const isStreamingType = (ast: AST.AST): boolean => {
|
|
|
707
717
|
* many AWS services (including S3) don't support it. We buffer all streaming
|
|
708
718
|
* bodies when Content-Length is not provided.
|
|
709
719
|
*/
|
|
710
|
-
export const requiresLengthSymbol = Symbol.for("
|
|
720
|
+
export const requiresLengthSymbol = Symbol.for("distilled-aws/requires-length");
|
|
711
721
|
export const RequiresLength = () => makeAnnotation(requiresLengthSymbol, true);
|
|
712
722
|
|
|
713
723
|
/** Check if an AST has the requiresLength trait */
|
|
@@ -805,11 +815,11 @@ export const StreamBody = () =>
|
|
|
805
815
|
// =============================================================================
|
|
806
816
|
|
|
807
817
|
/** smithy.api#eventHeader - Bind member to an event stream header */
|
|
808
|
-
export const eventHeaderSymbol = Symbol.for("
|
|
818
|
+
export const eventHeaderSymbol = Symbol.for("distilled-aws/event-header");
|
|
809
819
|
export const EventHeader = () => makeAnnotation(eventHeaderSymbol, true);
|
|
810
820
|
|
|
811
821
|
/** smithy.api#eventPayload - Bind member to the event payload */
|
|
812
|
-
export const eventPayloadSymbol = Symbol.for("
|
|
822
|
+
export const eventPayloadSymbol = Symbol.for("distilled-aws/event-payload");
|
|
813
823
|
export const EventPayload = () => makeAnnotation(eventPayloadSymbol, true);
|
|
814
824
|
|
|
815
825
|
/**
|
|
@@ -831,7 +841,9 @@ export const EventStream = <A, I, R>(
|
|
|
831
841
|
});
|
|
832
842
|
|
|
833
843
|
/** Symbol to identify input event streams (request direction) */
|
|
834
|
-
export const inputEventStreamSymbol = Symbol.for(
|
|
844
|
+
export const inputEventStreamSymbol = Symbol.for(
|
|
845
|
+
"distilled-aws/input-event-stream",
|
|
846
|
+
);
|
|
835
847
|
|
|
836
848
|
/**
|
|
837
849
|
* Input event stream schema helper - wraps a union schema into a Stream type for request bodies.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":"7.0.0-dev.20260103.1","root":["../test/category.test.ts","../test/credentials.test.ts","../test/endpoint-resolver.test.ts","../test/event-stream-bidirectional.test.ts","../test/event-stream-request-builder.test.ts","../test/json-schema.test.ts","../test/test.ts","../test/client/generate-idempotency-tokens.test.ts","../test/client/output-type-intersections.test.ts","../test/protocols/aws-json-1.0.test.ts","../test/protocols/aws-json-1.1.test.ts","../test/protocols/aws-query.test.ts","../test/protocols/ec2-query.test.ts","../test/protocols/rest-json.test.ts","../test/protocols/rest-xml.test.ts","../test/services/api-gateway.test.ts","../test/services/apigatewayv2-websocket.test.ts","../test/services/apigatewayv2.test.ts","../test/services/appsync.test.ts","../test/services/cloudfront.test.ts","../test/services/dynamodb.test.ts","../test/services/ebs.test.ts","../test/services/ec2.test.ts","../test/services/ecs.test.ts","../test/services/eventbridge.test.ts","../test/services/firehose.test.ts","../test/services/iam.test.ts","../test/services/kinesis.test.ts","../test/services/kms.test.ts","../test/services/lambda.test.ts","../test/services/lex-runtime-v2.test.ts","../test/services/s3.test.ts","../test/services/sfn.test.ts","../test/services/sns.test.ts","../test/services/sqs.test.ts","../test/services/ssm.test.ts","../test/services/transcribe-streaming.test.ts"]}
|