Download the PHP package xp-forge/aws without Composer
On this page you can find all versions of the php package xp-forge/aws. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package aws
Short Description AWS Core for the XP Framework
License BSD-3-Clause
Homepage http://xp-framework.net/
Informations about the package aws
AWS Core for the XP Framework
Provides common AWS functionality in a low-level and therefore lightweight library (less than 3% of the size of the official PHP SDK!)
Invoking a lambda
Credential providers
AWS credentials are stored in various places, depending on the runtime environment. The CredentialProvider class supports the following:
- Environment variables: Uses
AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
and (if present)AWS_SESSION_TOKEN
- Shared credentials and config files: Reads credentials from
~/.aws/config
and (if present)~/.aws/credentials
(honoring alternative locations set via environment variables) - SSO: Uses configured SSO and the cached credentials created by AWS CLI's login command, including SSO session support
- Amazon ECS container credentials: Uses the container API to fetch (and refresh, if necessary) the credentials
See https://docs.aws.amazon.com/sdkref/latest/guide/standardized-credentials.html
Sharing a S3 resource
The following creates a pre-signed link which is valid for 3 minutes:
Streaming uploads to S3
S3 doesn't double-encode its paths when signing them (see https://github.com/aws/aws-sdk-php/pull/633), pass S3Key
instances to support arbitrary filenames:
Streaming responses from Bedrock AI models
See https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html:
See also
All versions of aws with dependencies
xp-framework/http Version ^10.0 | ^9.0
xp-forge/json Version ^5.0 | ^4.0
xp-forge/marshalling Version ^2.0 | ^1.0
php Version >=7.0.0