Code Monkey home page Code Monkey logo

Comments (4)

jderusse avatar jderusse commented on August 22, 2024

Our philosophy aims to reduce complexity of official SDK and emphasise the Developer eXperience.
By removing magic methods, redundante "async" methods and spaghetti middlewares...

Have a look to our SqsClient:

/**
* Delivers a message to the specified queue.
*
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-sqs-2012-11-05.html#sendmessage
*
* @param array{
* QueueUrl: string,
* MessageBody: string,
* DelaySeconds?: int,
* MessageAttributes?: array,
* MessageSystemAttributes?: array,
* MessageDeduplicationId?: string,
* MessageGroupId?: string,
* }|SendMessageRequest $input
*/
public function sendMessage($input): SendMessageResult
{
$input = SendMessageRequest::create($input);
$input->validate();
$response = $this->getResponse(
'POST',
$input->requestBody(),
$input->requestHeaders(),
$this->getEndpoint($input->requestUri(), $input->requestQuery())
);
return new SendMessageResult($response);
}

Is it something that would address your issue?

from aws.

aradoje avatar aradoje commented on August 22, 2024

Yes, that is exactly what I need. I just wanted to state the issue I'm having to compliment the work and point the importance of not removing it 😁

from aws.

Nyholm avatar Nyholm commented on August 22, 2024

First version is released. And it is easy to mock.

from aws.

aradoje avatar aradoje commented on August 22, 2024

Awesome! Thanks.

from aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.