Add attributes parameter support for sns create_topic API
This commit is contained in:
parent
1095b7d94b
commit
7e863b0260
3 changed files with 19 additions and 3 deletions
|
|
@ -75,7 +75,8 @@ class SNSResponse(BaseResponse):
|
|||
|
||||
def create_topic(self):
|
||||
name = self._get_param('Name')
|
||||
topic = self.backend.create_topic(name)
|
||||
attributes = self._get_attributes()
|
||||
topic = self.backend.create_topic(name, attributes)
|
||||
|
||||
if self.request_json:
|
||||
return json.dumps({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue