Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets an SDK type.
Synopsis
- data GetSdkType = GetSdkType' {}
- newGetSdkType :: Text -> GetSdkType
- getSdkType_id :: Lens' GetSdkType Text
- data SdkType = SdkType' {}
- newSdkType :: SdkType
- sdkType_configurationProperties :: Lens' SdkType (Maybe [SdkConfigurationProperty])
- sdkType_description :: Lens' SdkType (Maybe Text)
- sdkType_friendlyName :: Lens' SdkType (Maybe Text)
- sdkType_id :: Lens' SdkType (Maybe Text)
Creating a Request
data GetSdkType Source #
Get an SdkType instance.
See: newGetSdkType
smart constructor.
Instances
:: Text | |
-> GetSdkType |
Create a value of GetSdkType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetSdkType
, getSdkType_id
- The identifier of the queried SdkType instance.
Request Lenses
getSdkType_id :: Lens' GetSdkType Text Source #
The identifier of the queried SdkType instance.
Destructuring the Response
A type of SDK that API Gateway can generate.
See: newSdkType
smart constructor.
SdkType' | |
|
Instances
FromJSON SdkType Source # | |
Generic SdkType Source # | |
Read SdkType Source # | |
Show SdkType Source # | |
NFData SdkType Source # | |
Defined in Amazonka.APIGateway.Types.SdkType | |
Eq SdkType Source # | |
Hashable SdkType Source # | |
Defined in Amazonka.APIGateway.Types.SdkType | |
type Rep SdkType Source # | |
Defined in Amazonka.APIGateway.Types.SdkType type Rep SdkType = D1 ('MetaData "SdkType" "Amazonka.APIGateway.Types.SdkType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "SdkType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configurationProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SdkConfigurationProperty])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "friendlyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newSdkType :: SdkType Source #
Create a value of SdkType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:configurationProperties:SdkType'
, sdkType_configurationProperties
- A list of configuration properties of an SdkType.
SdkType
, sdkType_description
- The description of an SdkType.
SdkType
, sdkType_friendlyName
- The user-friendly name of an SdkType instance.
$sel:id:SdkType'
, sdkType_id
- The identifier of an SdkType instance.
Response Lenses
sdkType_configurationProperties :: Lens' SdkType (Maybe [SdkConfigurationProperty]) Source #
A list of configuration properties of an SdkType.