def list_task_definitions(params={})
if %w(
familyPrefix
maxResults
nextToken
).any? { |k| params.has_key?(k) }
Fog::Logger.warning("list_task_definitions filters are not yet mocked [light_black](#{caller.first})[/]")
Fog::Mock.not_implemented
end
response = Excon::Response.new
response.status = 200
taskdef_arns = self.data[:task_definitions].map { |c| c['taskDefinitionArn'] }
response.body = {
'ListTaskDefinitionsResult' => {
'taskDefinitionArns' => taskdef_arns
},
'ResponseMetadata' => {
'RequestId' => Fog::AWS::Mock.request_id
}
}
response
end