laravel-expansions/aws-helpers
最新稳定版本:v1.1.0
Composer 安装命令:
composer create-project laravel-expansions/aws-helpers
包简介
Simple AWS SDK Helpers
README 文档
README
Simple AWS SDK Helpers
Install
Please install in an existing Laravel project.
composer require laravel-expansions/aws-helpers
Helpers
lambda()
Returns my custom lambda instance for simple operations.
- ->get()
Synchronize the specified Lambda and get the result.
$response = lambda($functionName)->get($payload);
- ->push()
Executes the specified Lambda asynchronously. You will not receive any results.
lambda($functionName)->push($payload);
kinesis()
Returns my custom kinesis instance for simple operations.
- ->putRecord()
Send one record.
kinesis()->putRecord($record);
- ->putRecords()
Send max 500 records.
kinesis()->putRecords($records);
ssm()
Returns my custom ssm instance for simple operations.
$secret = ssm(['SecretName1', 'SecretName2']); $secretValue1 = $secret->SecretName1; $secretValue2 = $secret->SecretName2;
If you want not decryption value then set second argument to false.
$secret = ssm(['SecretName1', 'SecretName2'], false);
统计信息
- 总下载量: 112
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-10