Spring Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac4s65

A developer is updating an Amazon API Gateway REST API to have a mock endpoint.

A developer is updating an Amazon API Gateway REST API to have a mock endpoint. The developer wants to update the integration request mapping template so the endpoint will respond to mock integration requests with specific HTTP status codes based on various conditions.

A.

{ if( $input.params(‘integration’) == " mock " ) " statusCode " : 404 else " statusCode " : 500 end }

B.

{ if( $input.params( ' scope ' ) == " internal " ) " statusCode " : 200 else " statusCode " : 500 end }

C.

{ if( $input.path( " integration " ) ) " statusCode " : 200 else " statusCode " :404 end }

D.

{ if( $context.integration.status ) " statusCode " : 200 else " statusCode " : 500 end }

DVA-C02 PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now DVA-C02 pdf
Get 65% Discount on All Products, Use Coupon: "ac4s65"