| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.APIGateway.GetSDK
Description
Generates a client SDK for a RestApi and Stage .
- getSDK :: Text -> Text -> Text -> GetSDK
- data GetSDK
- gsdkParameters :: Lens' GetSDK (HashMap Text Text)
- gsdkRestAPIId :: Lens' GetSDK Text
- gsdkStageName :: Lens' GetSDK Text
- gsdkSdkType :: Lens' GetSDK Text
- getSDKResponse :: Int -> GetSDKResponse
- data GetSDKResponse
- gsdkrsBody :: Lens' GetSDKResponse (Maybe (HashMap Text Value))
- gsdkrsContentDisposition :: Lens' GetSDKResponse (Maybe Text)
- gsdkrsContentType :: Lens' GetSDKResponse (Maybe Text)
- gsdkrsResponseStatus :: Lens' GetSDKResponse Int
Creating a Request
Creates a value of GetSDK with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsdkParameters- A string-to-string key-value map of query parameterssdkType-dependent properties of the SDK. ForsdkTypeofobjectivecorswift, a parameter namedclassPrefixis required. ForsdkTypeofandroid, parameters namedgroupId,artifactId,artifactVersion, andinvokerPackageare required. ForsdkTypeofjava, parameters namedserviceNameandjavaPackageNameare required.gsdkRestAPIId- The string identifier of the associatedRestApi.gsdkStageName- The name of theStagethat the SDK will use.gsdkSdkType- The language for the generated SDK. Currentlyjava,javascript,android,objectivecandswift(for iOS) are supported.
Instances
| Eq GetSDK Source # | |
| Data GetSDK Source # | |
| Read GetSDK Source # | |
| Show GetSDK Source # | |
| Generic GetSDK Source # | |
| Hashable GetSDK Source # | |
| NFData GetSDK Source # | |
| AWSRequest GetSDK Source # | |
| ToQuery GetSDK Source # | |
| ToPath GetSDK Source # | |
| ToHeaders GetSDK Source # | |
| type Rep GetSDK Source # | |
| type Rs GetSDK Source # | |
Request Lenses
gsdkParameters :: Lens' GetSDK (HashMap Text Text) Source #
A string-to-string key-value map of query parameters sdkType -dependent properties of the SDK. For sdkType of objectivec or swift , a parameter named classPrefix is required. For sdkType of android , parameters named groupId , artifactId , artifactVersion , and invokerPackage are required. For sdkType of java , parameters named serviceName and javaPackageName are required.
gsdkSdkType :: Lens' GetSDK Text Source #
The language for the generated SDK. Currently java , javascript , android , objectivec and swift (for iOS) are supported.
Destructuring the Response
Arguments
| :: Int | |
| -> GetSDKResponse |
Creates a value of GetSDKResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsdkrsBody- The binary blob response toGetSdk, which contains the generated SDK.gsdkrsContentDisposition- The content-disposition header value in the HTTP response.gsdkrsContentType- The content-type header value in the HTTP response.gsdkrsResponseStatus- -- | The response status code.
data GetSDKResponse Source #
The binary blob response to GetSdk , which contains the generated SDK.
See: getSDKResponse smart constructor.
Instances
Response Lenses
gsdkrsBody :: Lens' GetSDKResponse (Maybe (HashMap Text Value)) Source #
The binary blob response to GetSdk , which contains the generated SDK.
gsdkrsContentDisposition :: Lens' GetSDKResponse (Maybe Text) Source #
The content-disposition header value in the HTTP response.
gsdkrsContentType :: Lens' GetSDKResponse (Maybe Text) Source #
The content-type header value in the HTTP response.
gsdkrsResponseStatus :: Lens' GetSDKResponse Int Source #
- - | The response status code.