Serverless deploy api gate way -restapiid

Hi , i am developing a gateway with serverless but this dosent generate method response and integration response , i am trying to do this with code (this code)

var AWS = require(‘aws-sdk’);
var credentials = new AWS.SharedIniFileCredentials({
profile: ‘org-stuff’
});
AWS.config.credentials = credentials;

var putMethodResponse = require(‘api-gateway-put-method-response’);

putMethodResponse(
new AWS.APIGateway({
region: ‘ap-northeast-1’
}),
{
restApiId: ‘xxx’,
resourceId: ‘yyy’,
httpMethod: ‘GET’,
responses: [
{
statusCode: ‘200’,
responseModels: {
‘text/html’: ‘Empty’
},
responseParameters: {},
},
],
deleteOthers: false,
dryRun: false,
},
function(err, data) {
if (err) console.error(err);
else console.log(JSON.stringify(data, null, 2));
}
);

But the restApiId: ‘xxx’, resourceId: ‘yyy’, i dont know where is that code.

Someone cal help me plz??

thankz in advance