Add NextToken element to appropriate SNS responses. cc #144
This commit is contained in:
parent
50fae3035f
commit
dc11f71ff0
@ -28,7 +28,8 @@ class SNSResponse(BaseResponse):
|
|||||||
return json.dumps({
|
return json.dumps({
|
||||||
'ListTopicsResponse': {
|
'ListTopicsResponse': {
|
||||||
'ListTopicsResult': {
|
'ListTopicsResult': {
|
||||||
'Topics': [{'TopicArn': topic.arn} for topic in topics]
|
'Topics': [{'TopicArn': topic.arn} for topic in topics],
|
||||||
|
'NextToken': None,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'ResponseMetadata': {
|
'ResponseMetadata': {
|
||||||
@ -129,7 +130,8 @@ class SNSResponse(BaseResponse):
|
|||||||
"SubscriptionArn": subscription.arn,
|
"SubscriptionArn": subscription.arn,
|
||||||
"Owner": subscription.topic.account_id,
|
"Owner": subscription.topic.account_id,
|
||||||
"Endpoint": subscription.endpoint,
|
"Endpoint": subscription.endpoint,
|
||||||
} for subscription in subscriptions]
|
} for subscription in subscriptions],
|
||||||
|
'NextToken': None,
|
||||||
},
|
},
|
||||||
"ResponseMetadata": {
|
"ResponseMetadata": {
|
||||||
"RequestId": "384ac68d-3775-11df-8963-01868b7c937a",
|
"RequestId": "384ac68d-3775-11df-8963-01868b7c937a",
|
||||||
@ -150,7 +152,8 @@ class SNSResponse(BaseResponse):
|
|||||||
"SubscriptionArn": subscription.arn,
|
"SubscriptionArn": subscription.arn,
|
||||||
"Owner": subscription.topic.account_id,
|
"Owner": subscription.topic.account_id,
|
||||||
"Endpoint": subscription.endpoint,
|
"Endpoint": subscription.endpoint,
|
||||||
} for subscription in subscriptions]
|
} for subscription in subscriptions],
|
||||||
|
'NextToken': None,
|
||||||
},
|
},
|
||||||
"ResponseMetadata": {
|
"ResponseMetadata": {
|
||||||
"RequestId": "384ac68d-3775-11df-8963-01868b7c937a",
|
"RequestId": "384ac68d-3775-11df-8963-01868b7c937a",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user