src/Client.php
public function createTopic(CreateTopicRequest $request)
    {
        $response = new CreateTopicResponse($request->getTopicName());

        return $this->client->sendRequest($request, $response);
    }
public function createTopic(CreateTopicRequest $request)
    {
        $response = new CreateTopicResponse($request->getTopicName());

        return $this->client->sendRequest($request, $response);
    }
public function createTopic ( CreateTopicRequest $ request ) { $ response = new CreateTopicResponse ( $ request -> getTopicName ( ) ) ; return $ this -> client -> sendRequest ( $ request , $ response ) ; }
Create Topic and Returns the Topic reference

@param CreateTopicRequest $request :  the TopicName and TopicAttributes

@return CreateTopicResponse $response: the CreateTopicResponse

@throws TopicAlreadyExistException if topic already exists
@throws InvalidArgumentException if any argument value is invalid
@throws MnsException if any other exception happends
Create Topic and Returns the Topic reference