Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Undocumented operation.
See: AWS API Reference for TestInvokeMethod.
- testInvokeMethod :: Text -> Text -> Text -> TestInvokeMethod
- data TestInvokeMethod
- timPathWithQueryString :: Lens' TestInvokeMethod (Maybe Text)
- timBody :: Lens' TestInvokeMethod (Maybe Text)
- timClientCertificateId :: Lens' TestInvokeMethod (Maybe Text)
- timHeaders :: Lens' TestInvokeMethod (HashMap Text Text)
- timRestAPIId :: Lens' TestInvokeMethod Text
- timResourceId :: Lens' TestInvokeMethod Text
- timHttpMethod :: Lens' TestInvokeMethod Text
- testInvokeMethodResponse :: Int -> TestInvokeMethodResponse
- data TestInvokeMethodResponse
- timrsLog :: Lens' TestInvokeMethodResponse (Maybe Text)
- timrsStatus :: Lens' TestInvokeMethodResponse (Maybe Int)
- timrsBody :: Lens' TestInvokeMethodResponse (Maybe Text)
- timrsLatency :: Lens' TestInvokeMethodResponse (Maybe Integer)
- timrsHeaders :: Lens' TestInvokeMethodResponse (HashMap Text Text)
- timrsResponseStatus :: Lens' TestInvokeMethodResponse Int
Creating a Request
Creates a value of TestInvokeMethod
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TestInvokeMethod Source
See: testInvokeMethod
smart constructor.
Request Lenses
timPathWithQueryString :: Lens' TestInvokeMethod (Maybe Text) Source
Undocumented member.
timClientCertificateId :: Lens' TestInvokeMethod (Maybe Text) Source
Undocumented member.
timHeaders :: Lens' TestInvokeMethod (HashMap Text Text) Source
Undocumented member.
timRestAPIId :: Lens' TestInvokeMethod Text Source
Undocumented member.
timResourceId :: Lens' TestInvokeMethod Text Source
Undocumented member.
timHttpMethod :: Lens' TestInvokeMethod Text Source
Undocumented member.
Destructuring the Response
testInvokeMethodResponse Source
Creates a value of TestInvokeMethodResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TestInvokeMethodResponse Source
Represents the response of the test invoke request in HTTP method.
See: testInvokeMethodResponse
smart constructor.
Response Lenses
timrsLog :: Lens' TestInvokeMethodResponse (Maybe Text) Source
The Amazon API Gateway execution log for the test invoke request.
timrsStatus :: Lens' TestInvokeMethodResponse (Maybe Int) Source
The HTTP status code.
timrsLatency :: Lens' TestInvokeMethodResponse (Maybe Integer) Source
The execution latency of the test invoke request.
timrsHeaders :: Lens' TestInvokeMethodResponse (HashMap Text Text) Source
The headers of HTTP response.
timrsResponseStatus :: Lens' TestInvokeMethodResponse Int Source
The response status code.