Bumps [aws/aws-sdk-php](https://github.com/aws/aws-sdk-php) from 3.288.1 to 3.368.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aws/aws-sdk-php/releases">aws/aws-sdk-php's releases</a>.</em></p> <blockquote> <h2>Version 3.368.0</h2> <ul> <li><code>Aws\S3</code> - A new <code>S3EncryptionClient</code> implementation and a new <code>KmsMaterialProvider</code> implementation. <code>S3EncryptionClientV3</code> now supports writing and reading objects with Key Commitment. <code>KmsMaterialProviderV3</code> now supports verifying supplied encryption context on <code>decryptCek</code> calls.</li> <li><code>Aws\TimestreamInfluxDB</code> - This release adds support for rebooting InfluxDB DbInstances and DbClusters</li> <li><code>Aws\IoT</code> - Add support for dynamic payloads in IoT Device Management Commands</li> </ul> <h2>Version 3.367.3</h2> <ul> <li><code>Aws\MediaTailor</code> - Added support for Ad Decision Server Configuration enabling HTTP POST requests with custom bodies, headers, GZIP compression, and dynamic variables. No changes required for existing GET request configurations.</li> <li><code>Aws\Connect</code> - Amazon Connect now supports outbound WhatsApp contacts via the Send message block or StartOutboundChatContact API. Send proactive messages for surveys, reminders, and updates. Offer customers the option to switch to WhatsApp while in queue, eliminating hold time.</li> <li><code>Aws\BedrockAgentCoreControl</code> - This release updates broken links for AgentCore Policy APIs in the AWS CLI and SDK resources.</li> <li><code>Aws\Glacier</code> - Documentation updates for Amazon Glacier's maintenance mode</li> <li><code>Aws\Route53Resolver</code> - Adds support for enabling detailed metrics on Route 53 Resolver endpoints using RniEnhancedMetricsEnabled and TargetNameServerMetricsEnabled in the CreateResolverEndpoint and UpdateResolverEndpoint APIs, providing enhanced visibility into Resolver endpoint and target name server performance.</li> <li><code>Aws\CloudWatchLogs</code> - This release allows you to import your historical CloudTrail Lake data into CloudWatch with a few steps, enabling you to easily consolidate operational, security, and compliance data in one place.</li> <li><code>Aws\EC2</code> - EC2 Capacity Manager now supports SpotTotalCount, SpotTotalInterruptions and SpotInterruptionRate metrics for both vCPU and instance units.</li> <li><code>Aws\S3</code> - This release adds support for the new optional field 'LifecycleExpirationDate' in S3 Inventory configurations.</li> <li><code>Aws\Health</code> - Updating Health API endpoint generation for dualstack only regions</li> <li><code>Aws\EntityResolution</code> - Support Customer Profiles Integration for AWS Entity Resolution</li> <li><code>Aws\ServiceQuotas</code> - Add support for SQ Dashboard Api</li> </ul> <h2>Version 3.367.2</h2> <ul> <li><code>Aws\WorkSpacesWeb</code> - Adds support for portal branding customization, enabling administrators to personalize end-user portals with custom assets.</li> <li><code>Aws\Connect</code> - Amazon Connect now offers automated post-chat surveys triggered when customers end conversations. This captures timely feedback while experience is fresh, using either a no-code form builder or Amazon Lex-powered interactive surveys.</li> <li><code>Aws\BCMRecommendedActions</code> - Added new freetier action types to RecommendedAction.type.</li> <li><code>Aws\DataSync</code> - Adds Enhanced mode support for NFS and SMB locations. SMB credentials are now managed via Secrets Manager, and may be encrypted with service or customer managed keys. Increases AgentArns maximum count to 8 (max 4 per TaskMode). Adds folder counters to DescribeTaskExecution for Enhanced mode tasks.</li> </ul> <h2>Version 3.367.1</h2> <ul> <li><code>Aws\SESv2</code> - Update GetEmailIdentity and CreateEmailIdentity response to include SigningHostedZone in DkimAttributes. Updated PutEmailIdentityDkimSigningAttributes Response to include SigningHostedZone.</li> <li><code>Aws\Lambda</code> - Add Dotnet 10 (dotnet10) support to AWS Lambda.</li> <li><code>Aws\QuickSight</code> - This release adds new GetIdentityContext API, Dashboard customization options for tables and pivot tables, Visual styling options- borders and decals, map GeocodingPreferences, KeyPairCredentials for DataSourceCredentials. Snapshot APIs now support registered users. Parameters limit increased to 400</li> <li><code>Aws\Organizations</code> - Add support for policy operations on the NETWORK SECURITY DIRECTOR POLICY policy type.</li> <li><code>Aws\SecretsManager</code> - Add SortBy parameter to ListSecrets</li> </ul> <h2>Version 3.367.0</h2> <ul> <li><code>Aws\S3</code> - A new S3 Transfer Manager implementation with multipart download capabilities. It allows better ways to configure each operation. Includes Progress Tracking, Transfer Event Listeners, and Automatic Multipart Uploads/Downloads.</li> <li><code>Aws\signer</code> - Adds support for Signer GetRevocationStatus with updated endpoints</li> <li><code>Aws\Odb</code> - The following APIs now return CloudExadataInfrastructureArn and OdbNetworkArn fields for improved resource identification and AWS service integration - GetCloudVmCluster, ListCloudVmClusters, GetCloudAutonomousVmCluster, and ListCloudAutonomousVmClusters.</li> <li><code>Aws\BillingConductor</code> - Launch itemized custom line item and service line item filter</li> <li><code>Aws\CloudWatch</code> - This release introduces two additional protocols AWS JSON 1.1 and Smithy RPC v2 CBOR, replacing the currently utilized one, AWSQuery. AWS SDKs will prioritize the protocol that is the most performant for each language.</li> <li><code>Aws\PartnerCentralSelling</code> - Adds support for the new Project.AwsPartition field on Opportunity and AWS Opportunity Summary. Use this field to specify the AWS partition where the opportunity will be deployed.</li> <li><code>Aws\OpenSearchService</code> - The CreateApplication API now supports an optional kms key arn parameter to allow customers to specify a CMK for application encryption.</li> <li><code>Aws\Bedrock</code> - Automated Reasoning checks in Amazon Bedrock Guardrails is capable of generating policy scenarios to validate policies. The GetAutomatedReasoningPolicyBuildWorkflowResultAssets API now adds POLICY SCENARIO asset type, allowing customers to retrieve scenarios generated by the build workflow.</li> </ul> <h2>Version 3.366.4</h2> <ul> <li><code>Aws\IVSRealTime</code> - Token Exchange introduces seamless token exchange capabilities for IVS RTX, enabling customers to upgrade or downgrade token capabilities and update token attributes within the IVS client SDK without forcing clients to disconnect and reconnect.</li> <li><code>Aws\Account</code> - This release adds a new API (GetGovCloudAccountInformation) used to retrieve information about a linked GovCloud account from the standard AWS partition.</li> <li><code>Aws\Route53</code> - Amazon Route 53 now supports the EU (Germany) Region (eusc-de-east-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region</li> <li><code>Aws\AppSync</code> - Update Event API to require EventConfig parameter in creation and update requests.</li> <li><code>Aws\GuardDuty</code> - Adding support for Ec2LaunchTemplate Version field</li> <li><code>Aws\mgn</code> - Added parameters encryption, IPv4/IPv6 protocol configuration, and enhanced tagging support for replication operations.</li> </ul> <h2>Version 3.366.3</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| composer.json | ||
| composer.lock | ||
| index.html | ||
| main.js | ||
| package.json | ||
| readme.md | ||
| s3-sign.php | ||
| serve.php | ||
Uppy + AWS S3 Example
This example uses a server-side PHP endpoint to sign uploads to S3.
Running It
To run this example, make sure you've correctly installed the repository root:
yarn || corepack yarn install
yarn build || corepack yarn build
That will also install the npm dependencies for this example.
This example also uses the AWS PHP SDK. To install it,
get composer and run composer update in this
folder.
corepack yarn workspace @uppy-example/aws-php exec "composer update"
Configure AWS S3 credentials using
environment variables
or a
credentials file in ~/.aws/credentials.
Configure a bucket name and region in the s3-sign.php file.
Then, again in the repository root, start this example by doing:
corepack yarn workspace @uppy-example/aws-php start
The demo should now be available at http://localhost:8080.
You can use a different S3-compatible service like GCS by configuring that
service in ~/.aws/config and ~/.aws/credentials, and then providing
appropriate environment variables:
AWS_PROFILE="gcs" \
COMPANION_AWS_ENDPOINT="https://storage.googleapis.com" \
COMPANION_AWS_BUCKET="test-bucket-name" \
corepack yarn run example aws-php