amazonka-apigateway 1.4.4 → 1.4.5
raw patch · 129 files changed
+3774/−1238 lines, 129 filesdep ~amazonka-apigatewaydep ~amazonka-coredep ~amazonka-testPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: amazonka-apigateway, amazonka-core, amazonka-test
API changes (from Hackage documentation)
- Network.AWS.APIGateway: iResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)
- Network.AWS.APIGateway: iResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)
- Network.AWS.APIGateway: iSelectionPattern :: Lens' IntegrationResponse (Maybe Text)
- Network.AWS.APIGateway: iStatusCode :: Lens' IntegrationResponse (Maybe Text)
- Network.AWS.APIGateway.CreateAPIKey: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateAPIKey.CreateAPIKey
- Network.AWS.APIGateway.CreateAuthorizer: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateAuthorizer.CreateAuthorizer
- Network.AWS.APIGateway.CreateBasePathMapping: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateBasePathMapping.CreateBasePathMapping
- Network.AWS.APIGateway.CreateDeployment: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateDeployment.CreateDeployment
- Network.AWS.APIGateway.CreateDomainName: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateDomainName.CreateDomainName
- Network.AWS.APIGateway.CreateModel: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateModel.CreateModel
- Network.AWS.APIGateway.CreateResource: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateResource.CreateResource
- Network.AWS.APIGateway.CreateRestAPI: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateRestAPI.CreateRestAPI
- Network.AWS.APIGateway.CreateStage: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateStage.CreateStage
- Network.AWS.APIGateway.CreateUsagePlan: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateUsagePlan.CreateUsagePlan
- Network.AWS.APIGateway.CreateUsagePlanKey: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.CreateUsagePlanKey.CreateUsagePlanKey
- Network.AWS.APIGateway.GenerateClientCertificate: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.GenerateClientCertificate.GenerateClientCertificate
- Network.AWS.APIGateway.GetIntegrationResponse: getHttpMethod :: Lens' GetIntegrationResponse Text
- Network.AWS.APIGateway.GetIntegrationResponse: getResourceId :: Lens' GetIntegrationResponse Text
- Network.AWS.APIGateway.GetIntegrationResponse: getRestAPIId :: Lens' GetIntegrationResponse Text
- Network.AWS.APIGateway.GetIntegrationResponse: getStatusCode :: Lens' GetIntegrationResponse Text
- Network.AWS.APIGateway.GetIntegrationResponse: iResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)
- Network.AWS.APIGateway.GetIntegrationResponse: iResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)
- Network.AWS.APIGateway.GetIntegrationResponse: iSelectionPattern :: Lens' IntegrationResponse (Maybe Text)
- Network.AWS.APIGateway.GetIntegrationResponse: iStatusCode :: Lens' IntegrationResponse (Maybe Text)
- Network.AWS.APIGateway.PutIntegration: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.PutIntegration.PutIntegration
- Network.AWS.APIGateway.PutIntegrationResponse: iResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)
- Network.AWS.APIGateway.PutIntegrationResponse: iResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)
- Network.AWS.APIGateway.PutIntegrationResponse: iSelectionPattern :: Lens' IntegrationResponse (Maybe Text)
- Network.AWS.APIGateway.PutIntegrationResponse: iStatusCode :: Lens' IntegrationResponse (Maybe Text)
- Network.AWS.APIGateway.PutIntegrationResponse: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.PutIntegrationResponse.PutIntegrationResponse
- Network.AWS.APIGateway.PutMethod: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.PutMethod.PutMethod
- Network.AWS.APIGateway.PutMethodResponse: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.PutMethodResponse.PutMethodResponse
- Network.AWS.APIGateway.TestInvokeAuthorizer: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.TestInvokeAuthorizer.TestInvokeAuthorizer
- Network.AWS.APIGateway.TestInvokeMethod: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.TestInvokeMethod.TestInvokeMethod
- Network.AWS.APIGateway.Types: iResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)
- Network.AWS.APIGateway.Types: iResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)
- Network.AWS.APIGateway.Types: iSelectionPattern :: Lens' IntegrationResponse (Maybe Text)
- Network.AWS.APIGateway.Types: iStatusCode :: Lens' IntegrationResponse (Maybe Text)
- Network.AWS.APIGateway.UpdateAPIKey: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateAPIKey.UpdateAPIKey
- Network.AWS.APIGateway.UpdateAccount: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateAccount.UpdateAccount
- Network.AWS.APIGateway.UpdateAuthorizer: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateAuthorizer.UpdateAuthorizer
- Network.AWS.APIGateway.UpdateBasePathMapping: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateBasePathMapping.UpdateBasePathMapping
- Network.AWS.APIGateway.UpdateClientCertificate: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateClientCertificate.UpdateClientCertificate
- Network.AWS.APIGateway.UpdateDeployment: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateDeployment.UpdateDeployment
- Network.AWS.APIGateway.UpdateDomainName: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateDomainName.UpdateDomainName
- Network.AWS.APIGateway.UpdateIntegration: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateIntegration.UpdateIntegration
- Network.AWS.APIGateway.UpdateIntegrationResponse: iResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)
- Network.AWS.APIGateway.UpdateIntegrationResponse: iResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)
- Network.AWS.APIGateway.UpdateIntegrationResponse: iSelectionPattern :: Lens' IntegrationResponse (Maybe Text)
- Network.AWS.APIGateway.UpdateIntegrationResponse: iStatusCode :: Lens' IntegrationResponse (Maybe Text)
- Network.AWS.APIGateway.UpdateIntegrationResponse: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateIntegrationResponse.UpdateIntegrationResponse
- Network.AWS.APIGateway.UpdateMethod: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateMethod.UpdateMethod
- Network.AWS.APIGateway.UpdateMethodResponse: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateMethodResponse.UpdateMethodResponse
- Network.AWS.APIGateway.UpdateModel: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateModel.UpdateModel
- Network.AWS.APIGateway.UpdateResource: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateResource.UpdateResource
- Network.AWS.APIGateway.UpdateRestAPI: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateRestAPI.UpdateRestAPI
- Network.AWS.APIGateway.UpdateStage: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateStage.UpdateStage
- Network.AWS.APIGateway.UpdateUsage: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateUsage.UpdateUsage
- Network.AWS.APIGateway.UpdateUsagePlan: instance Data.Aeson.Types.Class.ToJSON Network.AWS.APIGateway.UpdateUsagePlan.UpdateUsagePlan
+ Network.AWS.APIGateway: API :: DocumentationPartType
+ Network.AWS.APIGateway: AWSProxy :: IntegrationType
+ Network.AWS.APIGateway: Authorizer :: DocumentationPartType
+ Network.AWS.APIGateway: ConvertToBinary :: ContentHandlingStrategy
+ Network.AWS.APIGateway: ConvertToText :: ContentHandlingStrategy
+ Network.AWS.APIGateway: HTTPProxy :: IntegrationType
+ Network.AWS.APIGateway: Method :: DocumentationPartType
+ Network.AWS.APIGateway: Model :: DocumentationPartType
+ Network.AWS.APIGateway: PathParameter :: DocumentationPartType
+ Network.AWS.APIGateway: QueryParameter :: DocumentationPartType
+ Network.AWS.APIGateway: RequestBody :: DocumentationPartType
+ Network.AWS.APIGateway: RequestHeader :: DocumentationPartType
+ Network.AWS.APIGateway: Resource :: DocumentationPartType
+ Network.AWS.APIGateway: Response :: DocumentationPartType
+ Network.AWS.APIGateway: ResponseBody :: DocumentationPartType
+ Network.AWS.APIGateway: ResponseHeader :: DocumentationPartType
+ Network.AWS.APIGateway: akCustomerId :: Lens' APIKey (Maybe Text)
+ Network.AWS.APIGateway: data ContentHandlingStrategy
+ Network.AWS.APIGateway: data DocumentationPart
+ Network.AWS.APIGateway: data DocumentationPartLocation
+ Network.AWS.APIGateway: data DocumentationPartType
+ Network.AWS.APIGateway: data DocumentationVersion
+ Network.AWS.APIGateway: documentationPart :: DocumentationPart
+ Network.AWS.APIGateway: documentationPartLocation :: DocumentationPartType -> DocumentationPartLocation
+ Network.AWS.APIGateway: documentationVersion :: DocumentationVersion
+ Network.AWS.APIGateway: dpId :: Lens' DocumentationPart (Maybe Text)
+ Network.AWS.APIGateway: dpLocation :: Lens' DocumentationPart (Maybe DocumentationPartLocation)
+ Network.AWS.APIGateway: dpProperties :: Lens' DocumentationPart (Maybe Text)
+ Network.AWS.APIGateway: dplMethod :: Lens' DocumentationPartLocation (Maybe Text)
+ Network.AWS.APIGateway: dplName :: Lens' DocumentationPartLocation (Maybe Text)
+ Network.AWS.APIGateway: dplPath :: Lens' DocumentationPartLocation (Maybe Text)
+ Network.AWS.APIGateway: dplStatusCode :: Lens' DocumentationPartLocation (Maybe Text)
+ Network.AWS.APIGateway: dplType :: Lens' DocumentationPartLocation DocumentationPartType
+ Network.AWS.APIGateway: dvCreatedDate :: Lens' DocumentationVersion (Maybe UTCTime)
+ Network.AWS.APIGateway: dvDescription :: Lens' DocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway: dvVersion :: Lens' DocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway: iContentHandling :: Lens' Integration (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway: intContentHandling :: Lens' IntegrationResponse (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway: intResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)
+ Network.AWS.APIGateway: intResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)
+ Network.AWS.APIGateway: intSelectionPattern :: Lens' IntegrationResponse (Maybe Text)
+ Network.AWS.APIGateway: intStatusCode :: Lens' IntegrationResponse (Maybe Text)
+ Network.AWS.APIGateway: raBinaryMediaTypes :: Lens' RestAPI [Text]
+ Network.AWS.APIGateway: raVersion :: Lens' RestAPI (Maybe Text)
+ Network.AWS.APIGateway: sDocumentationVersion :: Lens' Stage (Maybe Text)
+ Network.AWS.APIGateway: upProductCode :: Lens' UsagePlan (Maybe Text)
+ Network.AWS.APIGateway.CreateAPIKey: akCustomerId :: Lens' APIKey (Maybe Text)
+ Network.AWS.APIGateway.CreateAPIKey: cakCustomerId :: Lens' CreateAPIKey (Maybe Text)
+ Network.AWS.APIGateway.CreateAPIKey: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateAPIKey.CreateAPIKey
+ Network.AWS.APIGateway.CreateAuthorizer: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateAuthorizer.CreateAuthorizer
+ Network.AWS.APIGateway.CreateBasePathMapping: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateBasePathMapping.CreateBasePathMapping
+ Network.AWS.APIGateway.CreateDeployment: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateDeployment.CreateDeployment
+ Network.AWS.APIGateway.CreateDocumentationPart: cdpLocation :: Lens' CreateDocumentationPart DocumentationPartLocation
+ Network.AWS.APIGateway.CreateDocumentationPart: cdpProperties :: Lens' CreateDocumentationPart Text
+ Network.AWS.APIGateway.CreateDocumentationPart: cdpRestAPIId :: Lens' CreateDocumentationPart Text
+ Network.AWS.APIGateway.CreateDocumentationPart: createDocumentationPart :: Text -> DocumentationPartLocation -> Text -> CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: data CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: data DocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: documentationPart :: DocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: dpId :: Lens' DocumentationPart (Maybe Text)
+ Network.AWS.APIGateway.CreateDocumentationPart: dpLocation :: Lens' DocumentationPart (Maybe DocumentationPartLocation)
+ Network.AWS.APIGateway.CreateDocumentationPart: dpProperties :: Lens' DocumentationPart (Maybe Text)
+ Network.AWS.APIGateway.CreateDocumentationPart: instance Control.DeepSeq.NFData Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance Data.Data.Data Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance GHC.Classes.Eq Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance GHC.Generics.Generic Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance GHC.Read.Read Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance GHC.Show.Show Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationPart: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.CreateDocumentationPart.CreateDocumentationPart
+ Network.AWS.APIGateway.CreateDocumentationVersion: cdvDescription :: Lens' CreateDocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway.CreateDocumentationVersion: cdvDocumentationVersion :: Lens' CreateDocumentationVersion Text
+ Network.AWS.APIGateway.CreateDocumentationVersion: cdvRestAPIId :: Lens' CreateDocumentationVersion Text
+ Network.AWS.APIGateway.CreateDocumentationVersion: cdvStageName :: Lens' CreateDocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway.CreateDocumentationVersion: createDocumentationVersion :: Text -> Text -> CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: data CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: data DocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: documentationVersion :: DocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: dvCreatedDate :: Lens' DocumentationVersion (Maybe UTCTime)
+ Network.AWS.APIGateway.CreateDocumentationVersion: dvDescription :: Lens' DocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway.CreateDocumentationVersion: dvVersion :: Lens' DocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance Control.DeepSeq.NFData Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance Data.Data.Data Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance GHC.Classes.Eq Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance GHC.Generics.Generic Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance GHC.Read.Read Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance GHC.Show.Show Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDocumentationVersion: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.CreateDocumentationVersion.CreateDocumentationVersion
+ Network.AWS.APIGateway.CreateDomainName: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateDomainName.CreateDomainName
+ Network.AWS.APIGateway.CreateModel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateModel.CreateModel
+ Network.AWS.APIGateway.CreateResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateResource.CreateResource
+ Network.AWS.APIGateway.CreateRestAPI: craBinaryMediaTypes :: Lens' CreateRestAPI [Text]
+ Network.AWS.APIGateway.CreateRestAPI: craVersion :: Lens' CreateRestAPI (Maybe Text)
+ Network.AWS.APIGateway.CreateRestAPI: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateRestAPI.CreateRestAPI
+ Network.AWS.APIGateway.CreateRestAPI: raBinaryMediaTypes :: Lens' RestAPI [Text]
+ Network.AWS.APIGateway.CreateRestAPI: raVersion :: Lens' RestAPI (Maybe Text)
+ Network.AWS.APIGateway.CreateStage: csDocumentationVersion :: Lens' CreateStage (Maybe Text)
+ Network.AWS.APIGateway.CreateStage: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateStage.CreateStage
+ Network.AWS.APIGateway.CreateStage: sDocumentationVersion :: Lens' Stage (Maybe Text)
+ Network.AWS.APIGateway.CreateUsagePlan: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateUsagePlan.CreateUsagePlan
+ Network.AWS.APIGateway.CreateUsagePlan: upProductCode :: Lens' UsagePlan (Maybe Text)
+ Network.AWS.APIGateway.CreateUsagePlanKey: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.CreateUsagePlanKey.CreateUsagePlanKey
+ Network.AWS.APIGateway.DeleteDocumentationPart: data DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: data DeleteDocumentationPartResponse
+ Network.AWS.APIGateway.DeleteDocumentationPart: ddpDocumentationPartId :: Lens' DeleteDocumentationPart Text
+ Network.AWS.APIGateway.DeleteDocumentationPart: ddpRestAPIId :: Lens' DeleteDocumentationPart Text
+ Network.AWS.APIGateway.DeleteDocumentationPart: deleteDocumentationPart :: Text -> Text -> DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: deleteDocumentationPartResponse :: DeleteDocumentationPartResponse
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance Control.DeepSeq.NFData Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance Control.DeepSeq.NFData Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPartResponse
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance Data.Data.Data Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance Data.Data.Data Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPartResponse
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance GHC.Classes.Eq Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance GHC.Classes.Eq Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPartResponse
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance GHC.Generics.Generic Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance GHC.Generics.Generic Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPartResponse
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance GHC.Read.Read Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance GHC.Read.Read Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPartResponse
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance GHC.Show.Show Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance GHC.Show.Show Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPartResponse
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationPart: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.DeleteDocumentationPart.DeleteDocumentationPart
+ Network.AWS.APIGateway.DeleteDocumentationVersion: data DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: data DeleteDocumentationVersionResponse
+ Network.AWS.APIGateway.DeleteDocumentationVersion: ddvDocumentationVersion :: Lens' DeleteDocumentationVersion Text
+ Network.AWS.APIGateway.DeleteDocumentationVersion: ddvRestAPIId :: Lens' DeleteDocumentationVersion Text
+ Network.AWS.APIGateway.DeleteDocumentationVersion: deleteDocumentationVersion :: Text -> Text -> DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: deleteDocumentationVersionResponse :: DeleteDocumentationVersionResponse
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance Control.DeepSeq.NFData Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance Control.DeepSeq.NFData Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersionResponse
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance Data.Data.Data Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance Data.Data.Data Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersionResponse
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance GHC.Classes.Eq Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance GHC.Classes.Eq Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersionResponse
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance GHC.Generics.Generic Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance GHC.Generics.Generic Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersionResponse
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance GHC.Read.Read Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance GHC.Read.Read Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersionResponse
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance GHC.Show.Show Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance GHC.Show.Show Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersionResponse
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.DeleteDocumentationVersion: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.DeleteDocumentationVersion.DeleteDocumentationVersion
+ Network.AWS.APIGateway.GenerateClientCertificate: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.GenerateClientCertificate.GenerateClientCertificate
+ Network.AWS.APIGateway.GetAPIKey: akCustomerId :: Lens' APIKey (Maybe Text)
+ Network.AWS.APIGateway.GetAPIKeys: gakCustomerId :: Lens' GetAPIKeys (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationPart: data DocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: data GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: documentationPart :: DocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: dpId :: Lens' DocumentationPart (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationPart: dpLocation :: Lens' DocumentationPart (Maybe DocumentationPartLocation)
+ Network.AWS.APIGateway.GetDocumentationPart: dpProperties :: Lens' DocumentationPart (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationPart: getDocumentationPart :: Text -> Text -> GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: getDocumentationPartId :: Lens' GetDocumentationPart Text
+ Network.AWS.APIGateway.GetDocumentationPart: getRestAPIId :: Lens' GetDocumentationPart Text
+ Network.AWS.APIGateway.GetDocumentationPart: instance Control.DeepSeq.NFData Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: instance Data.Data.Data Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: instance GHC.Classes.Eq Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: instance GHC.Generics.Generic Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: instance GHC.Read.Read Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: instance GHC.Show.Show Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationPart: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.GetDocumentationPart.GetDocumentationPart
+ Network.AWS.APIGateway.GetDocumentationParts: data GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: data GetDocumentationPartsResponse
+ Network.AWS.APIGateway.GetDocumentationParts: gdpLimit :: Lens' GetDocumentationParts (Maybe Int)
+ Network.AWS.APIGateway.GetDocumentationParts: gdpNameQuery :: Lens' GetDocumentationParts (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationParts: gdpPath :: Lens' GetDocumentationParts (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationParts: gdpPosition :: Lens' GetDocumentationParts (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationParts: gdpRestAPIId :: Lens' GetDocumentationParts Text
+ Network.AWS.APIGateway.GetDocumentationParts: gdpType :: Lens' GetDocumentationParts (Maybe DocumentationPartType)
+ Network.AWS.APIGateway.GetDocumentationParts: gdprsItems :: Lens' GetDocumentationPartsResponse [DocumentationPart]
+ Network.AWS.APIGateway.GetDocumentationParts: gdprsPosition :: Lens' GetDocumentationPartsResponse (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationParts: gdprsResponseStatus :: Lens' GetDocumentationPartsResponse Int
+ Network.AWS.APIGateway.GetDocumentationParts: getDocumentationParts :: Text -> GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: getDocumentationPartsResponse :: Int -> GetDocumentationPartsResponse
+ Network.AWS.APIGateway.GetDocumentationParts: instance Control.DeepSeq.NFData Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: instance Control.DeepSeq.NFData Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationPartsResponse
+ Network.AWS.APIGateway.GetDocumentationParts: instance Data.Data.Data Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: instance Data.Data.Data Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationPartsResponse
+ Network.AWS.APIGateway.GetDocumentationParts: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: instance GHC.Classes.Eq Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: instance GHC.Classes.Eq Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationPartsResponse
+ Network.AWS.APIGateway.GetDocumentationParts: instance GHC.Generics.Generic Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: instance GHC.Generics.Generic Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationPartsResponse
+ Network.AWS.APIGateway.GetDocumentationParts: instance GHC.Read.Read Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: instance GHC.Read.Read Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationPartsResponse
+ Network.AWS.APIGateway.GetDocumentationParts: instance GHC.Show.Show Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: instance GHC.Show.Show Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationPartsResponse
+ Network.AWS.APIGateway.GetDocumentationParts: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationParts: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.GetDocumentationParts.GetDocumentationParts
+ Network.AWS.APIGateway.GetDocumentationVersion: data DocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: data GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: documentationVersion :: DocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: dvCreatedDate :: Lens' DocumentationVersion (Maybe UTCTime)
+ Network.AWS.APIGateway.GetDocumentationVersion: dvDescription :: Lens' DocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationVersion: dvVersion :: Lens' DocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationVersion: gdvdDocumentationVersion :: Lens' GetDocumentationVersion Text
+ Network.AWS.APIGateway.GetDocumentationVersion: gdvdRestAPIId :: Lens' GetDocumentationVersion Text
+ Network.AWS.APIGateway.GetDocumentationVersion: getDocumentationVersion :: Text -> Text -> GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance Control.DeepSeq.NFData Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance Data.Data.Data Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance GHC.Classes.Eq Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance GHC.Generics.Generic Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance GHC.Read.Read Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance GHC.Show.Show Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersion: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.GetDocumentationVersion.GetDocumentationVersion
+ Network.AWS.APIGateway.GetDocumentationVersions: data GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: data GetDocumentationVersionsResponse
+ Network.AWS.APIGateway.GetDocumentationVersions: gdvLimit :: Lens' GetDocumentationVersions (Maybe Int)
+ Network.AWS.APIGateway.GetDocumentationVersions: gdvPosition :: Lens' GetDocumentationVersions (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationVersions: gdvRestAPIId :: Lens' GetDocumentationVersions Text
+ Network.AWS.APIGateway.GetDocumentationVersions: gdvrsItems :: Lens' GetDocumentationVersionsResponse [DocumentationVersion]
+ Network.AWS.APIGateway.GetDocumentationVersions: gdvrsPosition :: Lens' GetDocumentationVersionsResponse (Maybe Text)
+ Network.AWS.APIGateway.GetDocumentationVersions: gdvrsResponseStatus :: Lens' GetDocumentationVersionsResponse Int
+ Network.AWS.APIGateway.GetDocumentationVersions: getDocumentationVersions :: Text -> GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: getDocumentationVersionsResponse :: Int -> GetDocumentationVersionsResponse
+ Network.AWS.APIGateway.GetDocumentationVersions: instance Control.DeepSeq.NFData Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: instance Control.DeepSeq.NFData Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersionsResponse
+ Network.AWS.APIGateway.GetDocumentationVersions: instance Data.Data.Data Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: instance Data.Data.Data Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersionsResponse
+ Network.AWS.APIGateway.GetDocumentationVersions: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: instance GHC.Classes.Eq Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: instance GHC.Classes.Eq Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersionsResponse
+ Network.AWS.APIGateway.GetDocumentationVersions: instance GHC.Generics.Generic Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: instance GHC.Generics.Generic Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersionsResponse
+ Network.AWS.APIGateway.GetDocumentationVersions: instance GHC.Read.Read Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: instance GHC.Read.Read Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersionsResponse
+ Network.AWS.APIGateway.GetDocumentationVersions: instance GHC.Show.Show Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: instance GHC.Show.Show Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersionsResponse
+ Network.AWS.APIGateway.GetDocumentationVersions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetDocumentationVersions: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.GetDocumentationVersions.GetDocumentationVersions
+ Network.AWS.APIGateway.GetIntegration: iContentHandling :: Lens' Integration (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway.GetIntegrationResponse: giiHttpMethod :: Lens' GetIntegrationResponse Text
+ Network.AWS.APIGateway.GetIntegrationResponse: giiResourceId :: Lens' GetIntegrationResponse Text
+ Network.AWS.APIGateway.GetIntegrationResponse: giiRestAPIId :: Lens' GetIntegrationResponse Text
+ Network.AWS.APIGateway.GetIntegrationResponse: giiStatusCode :: Lens' GetIntegrationResponse Text
+ Network.AWS.APIGateway.GetIntegrationResponse: intContentHandling :: Lens' IntegrationResponse (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway.GetIntegrationResponse: intResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)
+ Network.AWS.APIGateway.GetIntegrationResponse: intResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)
+ Network.AWS.APIGateway.GetIntegrationResponse: intSelectionPattern :: Lens' IntegrationResponse (Maybe Text)
+ Network.AWS.APIGateway.GetIntegrationResponse: intStatusCode :: Lens' IntegrationResponse (Maybe Text)
+ Network.AWS.APIGateway.GetRestAPI: raBinaryMediaTypes :: Lens' RestAPI [Text]
+ Network.AWS.APIGateway.GetRestAPI: raVersion :: Lens' RestAPI (Maybe Text)
+ Network.AWS.APIGateway.GetStage: sDocumentationVersion :: Lens' Stage (Maybe Text)
+ Network.AWS.APIGateway.GetUsagePlan: upProductCode :: Lens' UsagePlan (Maybe Text)
+ Network.AWS.APIGateway.ImportDocumentationParts: data ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: data ImportDocumentationPartsResponse
+ Network.AWS.APIGateway.ImportDocumentationParts: idpBody :: Lens' ImportDocumentationParts (HashMap Text Value)
+ Network.AWS.APIGateway.ImportDocumentationParts: idpFailOnWarnings :: Lens' ImportDocumentationParts (Maybe Bool)
+ Network.AWS.APIGateway.ImportDocumentationParts: idpMode :: Lens' ImportDocumentationParts (Maybe PutMode)
+ Network.AWS.APIGateway.ImportDocumentationParts: idpRestAPIId :: Lens' ImportDocumentationParts Text
+ Network.AWS.APIGateway.ImportDocumentationParts: idprsIds :: Lens' ImportDocumentationPartsResponse [Text]
+ Network.AWS.APIGateway.ImportDocumentationParts: idprsResponseStatus :: Lens' ImportDocumentationPartsResponse Int
+ Network.AWS.APIGateway.ImportDocumentationParts: idprsWarnings :: Lens' ImportDocumentationPartsResponse [Text]
+ Network.AWS.APIGateway.ImportDocumentationParts: importDocumentationParts :: Text -> HashMap Text Value -> ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: importDocumentationPartsResponse :: Int -> ImportDocumentationPartsResponse
+ Network.AWS.APIGateway.ImportDocumentationParts: instance Control.DeepSeq.NFData Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: instance Control.DeepSeq.NFData Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationPartsResponse
+ Network.AWS.APIGateway.ImportDocumentationParts: instance Data.Data.Data Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: instance Data.Data.Data Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationPartsResponse
+ Network.AWS.APIGateway.ImportDocumentationParts: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: instance GHC.Classes.Eq Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: instance GHC.Classes.Eq Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationPartsResponse
+ Network.AWS.APIGateway.ImportDocumentationParts: instance GHC.Generics.Generic Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: instance GHC.Generics.Generic Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationPartsResponse
+ Network.AWS.APIGateway.ImportDocumentationParts: instance GHC.Read.Read Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationPartsResponse
+ Network.AWS.APIGateway.ImportDocumentationParts: instance GHC.Show.Show Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: instance GHC.Show.Show Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationPartsResponse
+ Network.AWS.APIGateway.ImportDocumentationParts: instance Network.AWS.Data.Body.ToBody Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportDocumentationParts: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.ImportDocumentationParts.ImportDocumentationParts
+ Network.AWS.APIGateway.ImportRestAPI: raBinaryMediaTypes :: Lens' RestAPI [Text]
+ Network.AWS.APIGateway.ImportRestAPI: raVersion :: Lens' RestAPI (Maybe Text)
+ Network.AWS.APIGateway.PutIntegration: iContentHandling :: Lens' Integration (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway.PutIntegration: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.PutIntegration.PutIntegration
+ Network.AWS.APIGateway.PutIntegration: pContentHandling :: Lens' PutIntegration (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway.PutIntegrationResponse: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.PutIntegrationResponse.PutIntegrationResponse
+ Network.AWS.APIGateway.PutIntegrationResponse: intContentHandling :: Lens' IntegrationResponse (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway.PutIntegrationResponse: intResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)
+ Network.AWS.APIGateway.PutIntegrationResponse: intResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)
+ Network.AWS.APIGateway.PutIntegrationResponse: intSelectionPattern :: Lens' IntegrationResponse (Maybe Text)
+ Network.AWS.APIGateway.PutIntegrationResponse: intStatusCode :: Lens' IntegrationResponse (Maybe Text)
+ Network.AWS.APIGateway.PutIntegrationResponse: piContentHandling :: Lens' PutIntegrationResponse (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway.PutMethod: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.PutMethod.PutMethod
+ Network.AWS.APIGateway.PutMethodResponse: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.PutMethodResponse.PutMethodResponse
+ Network.AWS.APIGateway.PutRestAPI: raBinaryMediaTypes :: Lens' RestAPI [Text]
+ Network.AWS.APIGateway.PutRestAPI: raVersion :: Lens' RestAPI (Maybe Text)
+ Network.AWS.APIGateway.TestInvokeAuthorizer: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.TestInvokeAuthorizer.TestInvokeAuthorizer
+ Network.AWS.APIGateway.TestInvokeMethod: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.TestInvokeMethod.TestInvokeMethod
+ Network.AWS.APIGateway.Types: API :: DocumentationPartType
+ Network.AWS.APIGateway.Types: AWSProxy :: IntegrationType
+ Network.AWS.APIGateway.Types: Authorizer :: DocumentationPartType
+ Network.AWS.APIGateway.Types: ConvertToBinary :: ContentHandlingStrategy
+ Network.AWS.APIGateway.Types: ConvertToText :: ContentHandlingStrategy
+ Network.AWS.APIGateway.Types: HTTPProxy :: IntegrationType
+ Network.AWS.APIGateway.Types: Method :: DocumentationPartType
+ Network.AWS.APIGateway.Types: Model :: DocumentationPartType
+ Network.AWS.APIGateway.Types: PathParameter :: DocumentationPartType
+ Network.AWS.APIGateway.Types: QueryParameter :: DocumentationPartType
+ Network.AWS.APIGateway.Types: RequestBody :: DocumentationPartType
+ Network.AWS.APIGateway.Types: RequestHeader :: DocumentationPartType
+ Network.AWS.APIGateway.Types: Resource :: DocumentationPartType
+ Network.AWS.APIGateway.Types: Response :: DocumentationPartType
+ Network.AWS.APIGateway.Types: ResponseBody :: DocumentationPartType
+ Network.AWS.APIGateway.Types: ResponseHeader :: DocumentationPartType
+ Network.AWS.APIGateway.Types: akCustomerId :: Lens' APIKey (Maybe Text)
+ Network.AWS.APIGateway.Types: data ContentHandlingStrategy
+ Network.AWS.APIGateway.Types: data DocumentationPart
+ Network.AWS.APIGateway.Types: data DocumentationPartLocation
+ Network.AWS.APIGateway.Types: data DocumentationPartType
+ Network.AWS.APIGateway.Types: data DocumentationVersion
+ Network.AWS.APIGateway.Types: documentationPart :: DocumentationPart
+ Network.AWS.APIGateway.Types: documentationPartLocation :: DocumentationPartType -> DocumentationPartLocation
+ Network.AWS.APIGateway.Types: documentationVersion :: DocumentationVersion
+ Network.AWS.APIGateway.Types: dpId :: Lens' DocumentationPart (Maybe Text)
+ Network.AWS.APIGateway.Types: dpLocation :: Lens' DocumentationPart (Maybe DocumentationPartLocation)
+ Network.AWS.APIGateway.Types: dpProperties :: Lens' DocumentationPart (Maybe Text)
+ Network.AWS.APIGateway.Types: dplMethod :: Lens' DocumentationPartLocation (Maybe Text)
+ Network.AWS.APIGateway.Types: dplName :: Lens' DocumentationPartLocation (Maybe Text)
+ Network.AWS.APIGateway.Types: dplPath :: Lens' DocumentationPartLocation (Maybe Text)
+ Network.AWS.APIGateway.Types: dplStatusCode :: Lens' DocumentationPartLocation (Maybe Text)
+ Network.AWS.APIGateway.Types: dplType :: Lens' DocumentationPartLocation DocumentationPartType
+ Network.AWS.APIGateway.Types: dvCreatedDate :: Lens' DocumentationVersion (Maybe UTCTime)
+ Network.AWS.APIGateway.Types: dvDescription :: Lens' DocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway.Types: dvVersion :: Lens' DocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway.Types: iContentHandling :: Lens' Integration (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway.Types: intContentHandling :: Lens' IntegrationResponse (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway.Types: intResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)
+ Network.AWS.APIGateway.Types: intResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)
+ Network.AWS.APIGateway.Types: intSelectionPattern :: Lens' IntegrationResponse (Maybe Text)
+ Network.AWS.APIGateway.Types: intStatusCode :: Lens' IntegrationResponse (Maybe Text)
+ Network.AWS.APIGateway.Types: raBinaryMediaTypes :: Lens' RestAPI [Text]
+ Network.AWS.APIGateway.Types: raVersion :: Lens' RestAPI (Maybe Text)
+ Network.AWS.APIGateway.Types: sDocumentationVersion :: Lens' Stage (Maybe Text)
+ Network.AWS.APIGateway.Types: upProductCode :: Lens' UsagePlan (Maybe Text)
+ Network.AWS.APIGateway.UpdateAPIKey: akCustomerId :: Lens' APIKey (Maybe Text)
+ Network.AWS.APIGateway.UpdateAPIKey: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateAPIKey.UpdateAPIKey
+ Network.AWS.APIGateway.UpdateAccount: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateAccount.UpdateAccount
+ Network.AWS.APIGateway.UpdateAuthorizer: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateAuthorizer.UpdateAuthorizer
+ Network.AWS.APIGateway.UpdateBasePathMapping: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateBasePathMapping.UpdateBasePathMapping
+ Network.AWS.APIGateway.UpdateClientCertificate: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateClientCertificate.UpdateClientCertificate
+ Network.AWS.APIGateway.UpdateDeployment: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateDeployment.UpdateDeployment
+ Network.AWS.APIGateway.UpdateDocumentationPart: data DocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: data UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: documentationPart :: DocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: dpId :: Lens' DocumentationPart (Maybe Text)
+ Network.AWS.APIGateway.UpdateDocumentationPart: dpLocation :: Lens' DocumentationPart (Maybe DocumentationPartLocation)
+ Network.AWS.APIGateway.UpdateDocumentationPart: dpProperties :: Lens' DocumentationPart (Maybe Text)
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance Control.DeepSeq.NFData Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance Data.Data.Data Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance GHC.Classes.Eq Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance GHC.Generics.Generic Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance GHC.Read.Read Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance GHC.Show.Show Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.UpdateDocumentationPart.UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationPart: udpDocumentationPartId :: Lens' UpdateDocumentationPart Text
+ Network.AWS.APIGateway.UpdateDocumentationPart: udpPatchOperations :: Lens' UpdateDocumentationPart [PatchOperation]
+ Network.AWS.APIGateway.UpdateDocumentationPart: udpRestAPIId :: Lens' UpdateDocumentationPart Text
+ Network.AWS.APIGateway.UpdateDocumentationPart: updateDocumentationPart :: Text -> Text -> UpdateDocumentationPart
+ Network.AWS.APIGateway.UpdateDocumentationVersion: data DocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: data UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: documentationVersion :: DocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: dvCreatedDate :: Lens' DocumentationVersion (Maybe UTCTime)
+ Network.AWS.APIGateway.UpdateDocumentationVersion: dvDescription :: Lens' DocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway.UpdateDocumentationVersion: dvVersion :: Lens' DocumentationVersion (Maybe Text)
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance Control.DeepSeq.NFData Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance Data.Data.Data Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance Data.Hashable.Class.Hashable Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance GHC.Classes.Eq Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance GHC.Generics.Generic Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance GHC.Read.Read Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance GHC.Show.Show Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance Network.AWS.Data.Path.ToPath Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance Network.AWS.Data.Query.ToQuery Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: instance Network.AWS.Types.AWSRequest Network.AWS.APIGateway.UpdateDocumentationVersion.UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDocumentationVersion: udvDocumentationVersion :: Lens' UpdateDocumentationVersion Text
+ Network.AWS.APIGateway.UpdateDocumentationVersion: udvPatchOperations :: Lens' UpdateDocumentationVersion [PatchOperation]
+ Network.AWS.APIGateway.UpdateDocumentationVersion: udvRestAPIId :: Lens' UpdateDocumentationVersion Text
+ Network.AWS.APIGateway.UpdateDocumentationVersion: updateDocumentationVersion :: Text -> Text -> UpdateDocumentationVersion
+ Network.AWS.APIGateway.UpdateDomainName: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateDomainName.UpdateDomainName
+ Network.AWS.APIGateway.UpdateIntegration: iContentHandling :: Lens' Integration (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway.UpdateIntegration: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateIntegration.UpdateIntegration
+ Network.AWS.APIGateway.UpdateIntegrationResponse: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateIntegrationResponse.UpdateIntegrationResponse
+ Network.AWS.APIGateway.UpdateIntegrationResponse: intContentHandling :: Lens' IntegrationResponse (Maybe ContentHandlingStrategy)
+ Network.AWS.APIGateway.UpdateIntegrationResponse: intResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)
+ Network.AWS.APIGateway.UpdateIntegrationResponse: intResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)
+ Network.AWS.APIGateway.UpdateIntegrationResponse: intSelectionPattern :: Lens' IntegrationResponse (Maybe Text)
+ Network.AWS.APIGateway.UpdateIntegrationResponse: intStatusCode :: Lens' IntegrationResponse (Maybe Text)
+ Network.AWS.APIGateway.UpdateMethod: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateMethod.UpdateMethod
+ Network.AWS.APIGateway.UpdateMethodResponse: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateMethodResponse.UpdateMethodResponse
+ Network.AWS.APIGateway.UpdateModel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateModel.UpdateModel
+ Network.AWS.APIGateway.UpdateResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateResource.UpdateResource
+ Network.AWS.APIGateway.UpdateRestAPI: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateRestAPI.UpdateRestAPI
+ Network.AWS.APIGateway.UpdateRestAPI: raBinaryMediaTypes :: Lens' RestAPI [Text]
+ Network.AWS.APIGateway.UpdateRestAPI: raVersion :: Lens' RestAPI (Maybe Text)
+ Network.AWS.APIGateway.UpdateStage: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateStage.UpdateStage
+ Network.AWS.APIGateway.UpdateStage: sDocumentationVersion :: Lens' Stage (Maybe Text)
+ Network.AWS.APIGateway.UpdateUsage: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateUsage.UpdateUsage
+ Network.AWS.APIGateway.UpdateUsagePlan: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.APIGateway.UpdateUsagePlan.UpdateUsagePlan
+ Network.AWS.APIGateway.UpdateUsagePlan: upProductCode :: Lens' UsagePlan (Maybe Text)
- Network.AWS.APIGateway.CreateDeployment: cdStageName :: Lens' CreateDeployment Text
+ Network.AWS.APIGateway.CreateDeployment: cdStageName :: Lens' CreateDeployment (Maybe Text)
- Network.AWS.APIGateway.CreateDeployment: createDeployment :: Text -> Text -> CreateDeployment
+ Network.AWS.APIGateway.CreateDeployment: createDeployment :: Text -> CreateDeployment
Files
- README.md +9/−8
- amazonka-apigateway.cabal +21/−13
- fixture/CreateDocumentationPart.yaml +0/−0
- fixture/CreateDocumentationPartResponse.proto +0/−0
- fixture/CreateDocumentationVersion.yaml +0/−0
- fixture/CreateDocumentationVersionResponse.proto +0/−0
- fixture/DeleteDocumentationPart.yaml +0/−0
- fixture/DeleteDocumentationPartResponse.proto +0/−0
- fixture/DeleteDocumentationVersion.yaml +0/−0
- fixture/DeleteDocumentationVersionResponse.proto +0/−0
- fixture/GetDocumentationPart.yaml +0/−0
- fixture/GetDocumentationPartResponse.proto +0/−0
- fixture/GetDocumentationParts.yaml +0/−0
- fixture/GetDocumentationPartsResponse.proto +0/−0
- fixture/GetDocumentationVersion.yaml +0/−0
- fixture/GetDocumentationVersionResponse.proto +0/−0
- fixture/GetDocumentationVersions.yaml +0/−0
- fixture/GetDocumentationVersionsResponse.proto +0/−0
- fixture/ImportDocumentationParts.yaml +0/−0
- fixture/ImportDocumentationPartsResponse.proto +0/−0
- fixture/UpdateDocumentationPart.yaml +0/−0
- fixture/UpdateDocumentationPartResponse.proto +0/−0
- fixture/UpdateDocumentationVersion.yaml +0/−0
- fixture/UpdateDocumentationVersionResponse.proto +0/−0
- gen/Network/AWS/APIGateway.hs +86/−5
- gen/Network/AWS/APIGateway/CreateAPIKey.hs +26/−12
- gen/Network/AWS/APIGateway/CreateAuthorizer.hs +19/−16
- gen/Network/AWS/APIGateway/CreateBasePathMapping.hs +12/−8
- gen/Network/AWS/APIGateway/CreateDeployment.hs +29/−26
- gen/Network/AWS/APIGateway/CreateDocumentationPart.hs +121/−0
- gen/Network/AWS/APIGateway/CreateDocumentationVersion.hs +133/−0
- gen/Network/AWS/APIGateway/CreateDomainName.hs +11/−7
- gen/Network/AWS/APIGateway/CreateModel.hs +13/−9
- gen/Network/AWS/APIGateway/CreateResource.hs +11/−7
- gen/Network/AWS/APIGateway/CreateRestAPI.hs +39/−13
- gen/Network/AWS/APIGateway/CreateStage.hs +38/−22
- gen/Network/AWS/APIGateway/CreateUsagePlan.hs +10/−5
- gen/Network/AWS/APIGateway/CreateUsagePlanKey.hs +10/−6
- gen/Network/AWS/APIGateway/DeleteAPIKey.hs +8/−4
- gen/Network/AWS/APIGateway/DeleteAuthorizer.hs +9/−6
- gen/Network/AWS/APIGateway/DeleteBasePathMapping.hs +10/−6
- gen/Network/AWS/APIGateway/DeleteClientCertificate.hs +8/−4
- gen/Network/AWS/APIGateway/DeleteDeployment.hs +10/−6
- gen/Network/AWS/APIGateway/DeleteDocumentationPart.hs +116/−0
- gen/Network/AWS/APIGateway/DeleteDocumentationVersion.hs +116/−0
- gen/Network/AWS/APIGateway/DeleteDomainName.hs +8/−4
- gen/Network/AWS/APIGateway/DeleteIntegration.hs +10/−6
- gen/Network/AWS/APIGateway/DeleteIntegrationResponse.hs +12/−8
- gen/Network/AWS/APIGateway/DeleteMethod.hs +12/−8
- gen/Network/AWS/APIGateway/DeleteMethodResponse.hs +14/−10
- gen/Network/AWS/APIGateway/DeleteModel.hs +8/−4
- gen/Network/AWS/APIGateway/DeleteResource.hs +10/−6
- gen/Network/AWS/APIGateway/DeleteRestAPI.hs +6/−2
- gen/Network/AWS/APIGateway/DeleteStage.hs +10/−6
- gen/Network/AWS/APIGateway/DeleteUsagePlan.hs +5/−1
- gen/Network/AWS/APIGateway/DeleteUsagePlanKey.hs +8/−4
- gen/Network/AWS/APIGateway/FlushStageAuthorizersCache.hs +6/−2
- gen/Network/AWS/APIGateway/FlushStageCache.hs +8/−4
- gen/Network/AWS/APIGateway/GenerateClientCertificate.hs +8/−4
- gen/Network/AWS/APIGateway/GetAPIKey.hs +11/−6
- gen/Network/AWS/APIGateway/GetAPIKeys.hs +32/−17
- gen/Network/AWS/APIGateway/GetAccount.hs +6/−2
- gen/Network/AWS/APIGateway/GetAuthorizer.hs +9/−6
- gen/Network/AWS/APIGateway/GetAuthorizers.hs +18/−14
- gen/Network/AWS/APIGateway/GetBasePathMapping.hs +9/−5
- gen/Network/AWS/APIGateway/GetBasePathMappings.hs +19/−14
- gen/Network/AWS/APIGateway/GetClientCertificate.hs +8/−4
- gen/Network/AWS/APIGateway/GetClientCertificates.hs +17/−12
- gen/Network/AWS/APIGateway/GetDeployment.hs +10/−6
- gen/Network/AWS/APIGateway/GetDeployments.hs +18/−15
- gen/Network/AWS/APIGateway/GetDocumentationPart.hs +105/−0
- gen/Network/AWS/APIGateway/GetDocumentationParts.hs +194/−0
- gen/Network/AWS/APIGateway/GetDocumentationVersion.hs +106/−0
- gen/Network/AWS/APIGateway/GetDocumentationVersions.hs +167/−0
- gen/Network/AWS/APIGateway/GetDomainName.hs +7/−3
- gen/Network/AWS/APIGateway/GetDomainNames.hs +16/−11
- gen/Network/AWS/APIGateway/GetExport.hs +26/−20
- gen/Network/AWS/APIGateway/GetIntegration.hs +11/−6
- gen/Network/AWS/APIGateway/GetIntegrationResponse.hs +45/−40
- gen/Network/AWS/APIGateway/GetMethod.hs +12/−8
- gen/Network/AWS/APIGateway/GetMethodResponse.hs +14/−10
- gen/Network/AWS/APIGateway/GetModel.hs +11/−7
- gen/Network/AWS/APIGateway/GetModelTemplate.hs +11/−6
- gen/Network/AWS/APIGateway/GetModels.hs +19/−14
- gen/Network/AWS/APIGateway/GetResource.hs +8/−4
- gen/Network/AWS/APIGateway/GetResources.hs +18/−13
- gen/Network/AWS/APIGateway/GetRestAPI.hs +10/−4
- gen/Network/AWS/APIGateway/GetRestAPIs.hs +16/−11
- gen/Network/AWS/APIGateway/GetSDK.hs +23/−17
- gen/Network/AWS/APIGateway/GetStage.hs +11/−6
- gen/Network/AWS/APIGateway/GetStages.hs +16/−11
- gen/Network/AWS/APIGateway/GetUsage.hs +10/−6
- gen/Network/AWS/APIGateway/GetUsagePlan.hs +7/−2
- gen/Network/AWS/APIGateway/GetUsagePlanKey.hs +8/−4
- gen/Network/AWS/APIGateway/GetUsagePlanKeys.hs +14/−9
- gen/Network/AWS/APIGateway/GetUsagePlans.hs +17/−12
- gen/Network/AWS/APIGateway/ImportAPIKeys.hs +18/−12
- gen/Network/AWS/APIGateway/ImportDocumentationParts.hs +180/−0
- gen/Network/AWS/APIGateway/ImportRestAPI.hs +10/−4
- gen/Network/AWS/APIGateway/PutIntegration.hs +36/−28
- gen/Network/AWS/APIGateway/PutIntegrationResponse.hs +35/−20
- gen/Network/AWS/APIGateway/PutMethod.hs +21/−17
- gen/Network/AWS/APIGateway/PutMethodResponse.hs +18/−14
- gen/Network/AWS/APIGateway/PutRestAPI.hs +14/−8
- gen/Network/AWS/APIGateway/TestInvokeAuthorizer.hs +30/−25
- gen/Network/AWS/APIGateway/TestInvokeMethod.hs +27/−22
- gen/Network/AWS/APIGateway/Types.hs +41/−5
- gen/Network/AWS/APIGateway/Types/Product.hs +568/−394
- gen/Network/AWS/APIGateway/Types/Sum.hs +107/−5
- gen/Network/AWS/APIGateway/UpdateAPIKey.hs +10/−5
- gen/Network/AWS/APIGateway/UpdateAccount.hs +7/−3
- gen/Network/AWS/APIGateway/UpdateAuthorizer.hs +10/−7
- gen/Network/AWS/APIGateway/UpdateBasePathMapping.hs +11/−7
- gen/Network/AWS/APIGateway/UpdateClientCertificate.hs +9/−5
- gen/Network/AWS/APIGateway/UpdateDeployment.hs +11/−7
- gen/Network/AWS/APIGateway/UpdateDocumentationPart.hs +120/−0
- gen/Network/AWS/APIGateway/UpdateDocumentationVersion.hs +121/−0
- gen/Network/AWS/APIGateway/UpdateDomainName.hs +9/−5
- gen/Network/AWS/APIGateway/UpdateIntegration.hs +12/−7
- gen/Network/AWS/APIGateway/UpdateIntegrationResponse.hs +18/−13
- gen/Network/AWS/APIGateway/UpdateMethod.hs +13/−9
- gen/Network/AWS/APIGateway/UpdateMethodResponse.hs +15/−11
- gen/Network/AWS/APIGateway/UpdateModel.hs +9/−5
- gen/Network/AWS/APIGateway/UpdateResource.hs +11/−7
- gen/Network/AWS/APIGateway/UpdateRestAPI.hs +10/−4
- gen/Network/AWS/APIGateway/UpdateStage.hs +12/−7
- gen/Network/AWS/APIGateway/UpdateUsage.hs +7/−3
- gen/Network/AWS/APIGateway/UpdateUsagePlan.hs +7/−2
- test/Test/AWS/Gen/APIGateway.hs +198/−0
README.md view
@@ -8,26 +8,27 @@ ## Version -`1.4.4`+`1.4.5` ## Description -Amazon API Gateway--Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. Amazon API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.- Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-apigateway) and the [AWS API Reference](https://aws.amazon.com/documentation/). The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka),-which provides mechanisms for specifying AuthN/AuthZ information and sending requests.+which provides mechanisms for specifying AuthN/AuthZ information, sending requests,+and receiving responses. -Use of lenses is required for constructing and manipulating types.-This is due to the amount of nesting of AWS types and transparency regarding+Lenses are used for constructing and manipulating types,+due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core).++See [Network.AWS.APIGateway](http://hackage.haskell.org/package/amazonka-apigateway/docs/Network-AWS-APIGateway.html)+or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.+ ## Contribute
amazonka-apigateway.cabal view
@@ -1,5 +1,5 @@ name: amazonka-apigateway-version: 1.4.4+version: 1.4.5 synopsis: Amazon API Gateway SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -13,22 +13,19 @@ cabal-version: >= 1.10 extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep description:- Amazon API Gateway-- Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. Amazon API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.- . The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information and sending requests.+ mechanisms for specifying AuthN/AuthZ information, sending requests,+ and receiving responses. .- Use of lenses is required for constructing and manipulating types.- This is due to the amount of nesting of AWS types and transparency regarding+ Lenses are used for constructing and manipulating types,+ due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>. .- See "Network.AWS.APIGateway" or <https://aws.amazon.com/documentation/ the AWS Documentation>+ See "Network.AWS.APIGateway" or <https://aws.amazon.com/documentation/ the AWS documentation> to get started. source-repository head@@ -47,6 +44,8 @@ , Network.AWS.APIGateway.CreateAuthorizer , Network.AWS.APIGateway.CreateBasePathMapping , Network.AWS.APIGateway.CreateDeployment+ , Network.AWS.APIGateway.CreateDocumentationPart+ , Network.AWS.APIGateway.CreateDocumentationVersion , Network.AWS.APIGateway.CreateDomainName , Network.AWS.APIGateway.CreateModel , Network.AWS.APIGateway.CreateResource@@ -59,6 +58,8 @@ , Network.AWS.APIGateway.DeleteBasePathMapping , Network.AWS.APIGateway.DeleteClientCertificate , Network.AWS.APIGateway.DeleteDeployment+ , Network.AWS.APIGateway.DeleteDocumentationPart+ , Network.AWS.APIGateway.DeleteDocumentationVersion , Network.AWS.APIGateway.DeleteDomainName , Network.AWS.APIGateway.DeleteIntegration , Network.AWS.APIGateway.DeleteIntegrationResponse@@ -84,6 +85,10 @@ , Network.AWS.APIGateway.GetClientCertificates , Network.AWS.APIGateway.GetDeployment , Network.AWS.APIGateway.GetDeployments+ , Network.AWS.APIGateway.GetDocumentationPart+ , Network.AWS.APIGateway.GetDocumentationParts+ , Network.AWS.APIGateway.GetDocumentationVersion+ , Network.AWS.APIGateway.GetDocumentationVersions , Network.AWS.APIGateway.GetDomainName , Network.AWS.APIGateway.GetDomainNames , Network.AWS.APIGateway.GetExport@@ -107,6 +112,7 @@ , Network.AWS.APIGateway.GetUsagePlanKeys , Network.AWS.APIGateway.GetUsagePlans , Network.AWS.APIGateway.ImportAPIKeys+ , Network.AWS.APIGateway.ImportDocumentationParts , Network.AWS.APIGateway.ImportRestAPI , Network.AWS.APIGateway.PutIntegration , Network.AWS.APIGateway.PutIntegrationResponse@@ -122,6 +128,8 @@ , Network.AWS.APIGateway.UpdateBasePathMapping , Network.AWS.APIGateway.UpdateClientCertificate , Network.AWS.APIGateway.UpdateDeployment+ , Network.AWS.APIGateway.UpdateDocumentationPart+ , Network.AWS.APIGateway.UpdateDocumentationVersion , Network.AWS.APIGateway.UpdateDomainName , Network.AWS.APIGateway.UpdateIntegration , Network.AWS.APIGateway.UpdateIntegrationResponse@@ -140,7 +148,7 @@ , Network.AWS.APIGateway.Types.Sum build-depends:- amazonka-core == 1.4.4.*+ amazonka-core == 1.4.5.* , base >= 4.7 && < 5 test-suite amazonka-apigateway-test@@ -160,9 +168,9 @@ , Test.AWS.APIGateway.Internal build-depends:- amazonka-core == 1.4.4.*- , amazonka-test == 1.4.4.*- , amazonka-apigateway == 1.4.4.*+ amazonka-core == 1.4.5.*+ , amazonka-test == 1.4.5.*+ , amazonka-apigateway == 1.4.5.* , base , bytestring , tasty
+ fixture/CreateDocumentationPart.yaml view
+ fixture/CreateDocumentationPartResponse.proto view
+ fixture/CreateDocumentationVersion.yaml view
+ fixture/CreateDocumentationVersionResponse.proto view
+ fixture/DeleteDocumentationPart.yaml view
+ fixture/DeleteDocumentationPartResponse.proto view
+ fixture/DeleteDocumentationVersion.yaml view
+ fixture/DeleteDocumentationVersionResponse.proto view
+ fixture/GetDocumentationPart.yaml view
+ fixture/GetDocumentationPartResponse.proto view
+ fixture/GetDocumentationParts.yaml view
+ fixture/GetDocumentationPartsResponse.proto view
+ fixture/GetDocumentationVersion.yaml view
+ fixture/GetDocumentationVersionResponse.proto view
+ fixture/GetDocumentationVersions.yaml view
+ fixture/GetDocumentationVersionsResponse.proto view
+ fixture/ImportDocumentationParts.yaml view
+ fixture/ImportDocumentationPartsResponse.proto view
+ fixture/UpdateDocumentationPart.yaml view
+ fixture/UpdateDocumentationPartResponse.proto view
+ fixture/UpdateDocumentationVersion.yaml view
+ fixture/UpdateDocumentationVersionResponse.proto view
gen/Network/AWS/APIGateway.hs view
@@ -11,9 +11,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Amazon API Gateway+-- __Amazon API Gateway__ -- -- Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. Amazon API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.+-- module Network.AWS.APIGateway ( -- * Service Configuration@@ -97,6 +98,9 @@ -- ** GetRestAPIs (Paginated) , module Network.AWS.APIGateway.GetRestAPIs + -- ** GetDocumentationVersions+ , module Network.AWS.APIGateway.GetDocumentationVersions+ -- ** CreateDeployment , module Network.AWS.APIGateway.CreateDeployment @@ -106,6 +110,9 @@ -- ** GetIntegration , module Network.AWS.APIGateway.GetIntegration + -- ** GetDocumentationParts+ , module Network.AWS.APIGateway.GetDocumentationParts+ -- ** UpdateAccount , module Network.AWS.APIGateway.UpdateAccount @@ -118,12 +125,18 @@ -- ** UpdateDeployment , module Network.AWS.APIGateway.UpdateDeployment + -- ** GetDocumentationPart+ , module Network.AWS.APIGateway.GetDocumentationPart+ -- ** DeleteResource , module Network.AWS.APIGateway.DeleteResource -- ** UpdateResource , module Network.AWS.APIGateway.UpdateResource + -- ** ImportDocumentationParts+ , module Network.AWS.APIGateway.ImportDocumentationParts+ -- ** GetUsage , module Network.AWS.APIGateway.GetUsage @@ -145,6 +158,9 @@ -- ** UpdateModel , module Network.AWS.APIGateway.UpdateModel + -- ** GetDocumentationVersion+ , module Network.AWS.APIGateway.GetDocumentationVersion+ -- ** DeleteAPIKey , module Network.AWS.APIGateway.DeleteAPIKey @@ -175,15 +191,27 @@ -- ** ImportAPIKeys , module Network.AWS.APIGateway.ImportAPIKeys + -- ** CreateDocumentationPart+ , module Network.AWS.APIGateway.CreateDocumentationPart+ -- ** TestInvokeMethod , module Network.AWS.APIGateway.TestInvokeMethod -- ** GetDomainName , module Network.AWS.APIGateway.GetDomainName + -- ** DeleteDocumentationPart+ , module Network.AWS.APIGateway.DeleteDocumentationPart++ -- ** UpdateDocumentationPart+ , module Network.AWS.APIGateway.UpdateDocumentationPart+ -- ** GetAuthorizers , module Network.AWS.APIGateway.GetAuthorizers + -- ** CreateDocumentationVersion+ , module Network.AWS.APIGateway.CreateDocumentationVersion+ -- ** PutIntegrationResponse , module Network.AWS.APIGateway.PutIntegrationResponse @@ -310,6 +338,12 @@ -- ** GetModelTemplate , module Network.AWS.APIGateway.GetModelTemplate + -- ** UpdateDocumentationVersion+ , module Network.AWS.APIGateway.UpdateDocumentationVersion++ -- ** DeleteDocumentationVersion+ , module Network.AWS.APIGateway.DeleteDocumentationVersion+ -- ** GetBasePathMappings (Paginated) , module Network.AWS.APIGateway.GetBasePathMappings @@ -330,6 +364,12 @@ -- ** CacheClusterStatus , CacheClusterStatus (..) + -- ** ContentHandlingStrategy+ , ContentHandlingStrategy (..)++ -- ** DocumentationPartType+ , DocumentationPartType (..)+ -- ** IntegrationType , IntegrationType (..) @@ -350,6 +390,7 @@ , apiKey , akEnabled , akValue+ , akCustomerId , akCreatedDate , akName , akId@@ -409,6 +450,29 @@ , dId , dDescription + -- ** DocumentationPart+ , DocumentationPart+ , documentationPart+ , dpLocation+ , dpId+ , dpProperties++ -- ** DocumentationPartLocation+ , DocumentationPartLocation+ , documentationPartLocation+ , dplPath+ , dplName+ , dplMethod+ , dplStatusCode+ , dplType++ -- ** DocumentationVersion+ , DocumentationVersion+ , documentationVersion+ , dvCreatedDate+ , dvVersion+ , dvDescription+ -- ** DomainName , DomainName , domainName@@ -424,6 +488,7 @@ , iRequestTemplates , iCredentials , iRequestParameters+ , iContentHandling , iPassthroughBehavior , iUri , iIntegrationResponses@@ -434,10 +499,11 @@ -- ** IntegrationResponse , IntegrationResponse , integrationResponse- , iResponseTemplates- , iSelectionPattern- , iStatusCode- , iResponseParameters+ , intContentHandling+ , intResponseTemplates+ , intSelectionPattern+ , intStatusCode+ , intResponseParameters -- ** Method , Method@@ -514,9 +580,11 @@ -- ** RestAPI , RestAPI , restAPI+ , raBinaryMediaTypes , raWarnings , raCreatedDate , raName+ , raVersion , raId , raDescription @@ -525,6 +593,7 @@ , stage , sDeploymentId , sVariables+ , sDocumentationVersion , sClientCertificateId , sCreatedDate , sCacheClusterStatus@@ -565,6 +634,7 @@ , upThrottle , upQuota , upDescription+ , upProductCode -- ** UsagePlanKey , UsagePlanKey@@ -579,6 +649,8 @@ import Network.AWS.APIGateway.CreateAuthorizer import Network.AWS.APIGateway.CreateBasePathMapping import Network.AWS.APIGateway.CreateDeployment+import Network.AWS.APIGateway.CreateDocumentationPart+import Network.AWS.APIGateway.CreateDocumentationVersion import Network.AWS.APIGateway.CreateDomainName import Network.AWS.APIGateway.CreateModel import Network.AWS.APIGateway.CreateResource@@ -591,6 +663,8 @@ import Network.AWS.APIGateway.DeleteBasePathMapping import Network.AWS.APIGateway.DeleteClientCertificate import Network.AWS.APIGateway.DeleteDeployment+import Network.AWS.APIGateway.DeleteDocumentationPart+import Network.AWS.APIGateway.DeleteDocumentationVersion import Network.AWS.APIGateway.DeleteDomainName import Network.AWS.APIGateway.DeleteIntegration import Network.AWS.APIGateway.DeleteIntegrationResponse@@ -616,6 +690,10 @@ import Network.AWS.APIGateway.GetClientCertificates import Network.AWS.APIGateway.GetDeployment import Network.AWS.APIGateway.GetDeployments+import Network.AWS.APIGateway.GetDocumentationPart+import Network.AWS.APIGateway.GetDocumentationParts+import Network.AWS.APIGateway.GetDocumentationVersion+import Network.AWS.APIGateway.GetDocumentationVersions import Network.AWS.APIGateway.GetDomainName import Network.AWS.APIGateway.GetDomainNames import Network.AWS.APIGateway.GetExport@@ -639,6 +717,7 @@ import Network.AWS.APIGateway.GetUsagePlanKeys import Network.AWS.APIGateway.GetUsagePlans import Network.AWS.APIGateway.ImportAPIKeys+import Network.AWS.APIGateway.ImportDocumentationParts import Network.AWS.APIGateway.ImportRestAPI import Network.AWS.APIGateway.PutIntegration import Network.AWS.APIGateway.PutIntegrationResponse@@ -654,6 +733,8 @@ import Network.AWS.APIGateway.UpdateBasePathMapping import Network.AWS.APIGateway.UpdateClientCertificate import Network.AWS.APIGateway.UpdateDeployment+import Network.AWS.APIGateway.UpdateDocumentationPart+import Network.AWS.APIGateway.UpdateDocumentationVersion import Network.AWS.APIGateway.UpdateDomainName import Network.AWS.APIGateway.UpdateIntegration import Network.AWS.APIGateway.UpdateIntegrationResponse
gen/Network/AWS/APIGateway/CreateAPIKey.hs view
@@ -18,8 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Create an < ApiKey> resource.+-- Create an 'ApiKey' resource. --+-- -- <http://docs.aws.amazon.com/cli/latest/reference/apigateway/create-api-key.html AWS CLI> module Network.AWS.APIGateway.CreateAPIKey (@@ -29,6 +30,7 @@ -- * Request Lenses , cakEnabled , cakValue+ , cakCustomerId , cakGenerateDistinctId , cakName , cakStageKeys@@ -40,6 +42,7 @@ -- * Response Lenses , akEnabled , akValue+ , akCustomerId , akCreatedDate , akName , akId@@ -55,12 +58,15 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to create an < ApiKey> resource.+-- | Request to create an 'ApiKey' resource. --+--+-- -- /See:/ 'createAPIKey' smart constructor. data CreateAPIKey = CreateAPIKey' { _cakEnabled :: !(Maybe Bool) , _cakValue :: !(Maybe Text)+ , _cakCustomerId :: !(Maybe Text) , _cakGenerateDistinctId :: !(Maybe Bool) , _cakName :: !(Maybe Text) , _cakStageKeys :: !(Maybe [StageKey])@@ -71,30 +77,33 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cakEnabled'+-- * 'cakEnabled' - Specifies whether the 'ApiKey' can be used by callers. ----- * 'cakValue'+-- * 'cakValue' - Specifies a value of the API key. ----- * 'cakGenerateDistinctId'+-- * 'cakCustomerId' - An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace. ----- * 'cakName'+-- * 'cakGenerateDistinctId' - Specifies whether (@true@ ) or not (@false@ ) the key identifier is distinct from the created API key value. ----- * 'cakStageKeys'+-- * 'cakName' - The name of the 'ApiKey' . ----- * 'cakDescription'+-- * 'cakStageKeys' - DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.+--+-- * 'cakDescription' - The description of the 'ApiKey' . createAPIKey :: CreateAPIKey createAPIKey = CreateAPIKey' { _cakEnabled = Nothing , _cakValue = Nothing+ , _cakCustomerId = Nothing , _cakGenerateDistinctId = Nothing , _cakName = Nothing , _cakStageKeys = Nothing , _cakDescription = Nothing } --- | Specifies whether the < ApiKey> can be used by callers.+-- | Specifies whether the 'ApiKey' can be used by callers. cakEnabled :: Lens' CreateAPIKey (Maybe Bool) cakEnabled = lens _cakEnabled (\ s a -> s{_cakEnabled = a}); @@ -102,11 +111,15 @@ cakValue :: Lens' CreateAPIKey (Maybe Text) cakValue = lens _cakValue (\ s a -> s{_cakValue = a}); --- | Specifies whether ('true') or not ('false') the key identifier is distinct from the created API key value.+-- | An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.+cakCustomerId :: Lens' CreateAPIKey (Maybe Text)+cakCustomerId = lens _cakCustomerId (\ s a -> s{_cakCustomerId = a});++-- | Specifies whether (@true@ ) or not (@false@ ) the key identifier is distinct from the created API key value. cakGenerateDistinctId :: Lens' CreateAPIKey (Maybe Bool) cakGenerateDistinctId = lens _cakGenerateDistinctId (\ s a -> s{_cakGenerateDistinctId = a}); --- | The name of the < ApiKey>.+-- | The name of the 'ApiKey' . cakName :: Lens' CreateAPIKey (Maybe Text) cakName = lens _cakName (\ s a -> s{_cakName = a}); @@ -114,7 +127,7 @@ cakStageKeys :: Lens' CreateAPIKey [StageKey] cakStageKeys = lens _cakStageKeys (\ s a -> s{_cakStageKeys = a}) . _Default . _Coerce; --- | The description of the < ApiKey>.+-- | The description of the 'ApiKey' . cakDescription :: Lens' CreateAPIKey (Maybe Text) cakDescription = lens _cakDescription (\ s a -> s{_cakDescription = a}); @@ -139,6 +152,7 @@ (catMaybes [("enabled" .=) <$> _cakEnabled, ("value" .=) <$> _cakValue,+ ("customerId" .=) <$> _cakCustomerId, ("generateDistinctId" .=) <$> _cakGenerateDistinctId, ("name" .=) <$> _cakName, ("stageKeys" .=) <$> _cakStageKeys,
gen/Network/AWS/APIGateway/CreateAuthorizer.hs view
@@ -18,8 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Adds a new < Authorizer> resource to an existing < RestApi> resource.+-- Adds a new 'Authorizer' resource to an existing 'RestApi' resource. --+-- -- <http://docs.aws.amazon.com/cli/latest/reference/apigateway/create-authorizer.html AWS CLI> module Network.AWS.APIGateway.CreateAuthorizer (@@ -61,8 +62,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to add a new < Authorizer> to an existing < RestApi> resource.+-- | Request to add a new 'Authorizer' to an existing 'RestApi' resource. --+--+-- -- /See:/ 'createAuthorizer' smart constructor. data CreateAuthorizer = CreateAuthorizer' { _caAuthorizerURI :: !(Maybe Text)@@ -81,25 +84,25 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'caAuthorizerURI'+-- * 'caAuthorizerURI' - [Required] Specifies the authorizer's Uniform Resource Identifier (URI). ----- * 'caIdentityValidationExpression'+-- * 'caIdentityValidationExpression' - A validation expression for the incoming identity. ----- * 'caProviderARNs'+-- * 'caProviderARNs' - A list of the Cognito Your User Pool authorizer's provider ARNs. ----- * 'caAuthorizerResultTtlInSeconds'+-- * 'caAuthorizerResultTtlInSeconds' - The TTL of cached authorizer results. ----- * 'caAuthType'+-- * 'caAuthType' - Optional customer-defined field, used in Swagger imports/exports. Has no functional impact. ----- * 'caAuthorizerCredentials'+-- * 'caAuthorizerCredentials' - Specifies the credentials required for the authorizer, if any. ----- * 'caRestAPIId'+-- * 'caRestAPIId' - The 'RestApi' identifier under which the 'Authorizer' will be created. ----- * 'caName'+-- * 'caName' - [Required] The name of the authorizer. ----- * 'caType'+-- * 'caType' - [Required] The type of the authorizer. ----- * 'caIdentitySource'+-- * 'caIdentitySource' - [Required] The source of the identity in an incoming request. createAuthorizer :: Text -- ^ 'caRestAPIId' -> Text -- ^ 'caName'@@ -120,7 +123,7 @@ , _caIdentitySource = pIdentitySource_ } --- | [Required] Specifies the authorizer\'s Uniform Resource Identifier (URI).+-- | [Required] Specifies the authorizer's Uniform Resource Identifier (URI). caAuthorizerURI :: Lens' CreateAuthorizer (Maybe Text) caAuthorizerURI = lens _caAuthorizerURI (\ s a -> s{_caAuthorizerURI = a}); @@ -128,7 +131,7 @@ caIdentityValidationExpression :: Lens' CreateAuthorizer (Maybe Text) caIdentityValidationExpression = lens _caIdentityValidationExpression (\ s a -> s{_caIdentityValidationExpression = a}); --- | A list of the Cognito Your User Pool authorizer\'s provider ARNs.+-- | A list of the Cognito Your User Pool authorizer's provider ARNs. caProviderARNs :: Lens' CreateAuthorizer [Text] caProviderARNs = lens _caProviderARNs (\ s a -> s{_caProviderARNs = a}) . _Default . _Coerce; @@ -136,7 +139,7 @@ caAuthorizerResultTtlInSeconds :: Lens' CreateAuthorizer (Maybe Int) caAuthorizerResultTtlInSeconds = lens _caAuthorizerResultTtlInSeconds (\ s a -> s{_caAuthorizerResultTtlInSeconds = a}); --- | Optional customer-defined field, used in Swagger imports\/exports. Has no functional impact.+-- | Optional customer-defined field, used in Swagger imports/exports. Has no functional impact. caAuthType :: Lens' CreateAuthorizer (Maybe Text) caAuthType = lens _caAuthType (\ s a -> s{_caAuthType = a}); @@ -144,7 +147,7 @@ caAuthorizerCredentials :: Lens' CreateAuthorizer (Maybe Text) caAuthorizerCredentials = lens _caAuthorizerCredentials (\ s a -> s{_caAuthorizerCredentials = a}); --- | The < RestApi> identifier under which the < Authorizer> will be created.+-- | The 'RestApi' identifier under which the 'Authorizer' will be created. caRestAPIId :: Lens' CreateAuthorizer Text caRestAPIId = lens _caRestAPIId (\ s a -> s{_caRestAPIId = a});
gen/Network/AWS/APIGateway/CreateBasePathMapping.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new < BasePathMapping> resource.+-- Creates a new 'BasePathMapping' resource.+--+-- module Network.AWS.APIGateway.CreateBasePathMapping ( -- * Creating a Request@@ -46,8 +48,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to create a new < BasePathMapping> resource.+-- | Requests Amazon API Gateway to create a new 'BasePathMapping' resource. --+--+-- -- /See:/ 'createBasePathMapping' smart constructor. data CreateBasePathMapping = CreateBasePathMapping' { _cbpmStage :: !(Maybe Text)@@ -60,13 +64,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cbpmStage'+-- * 'cbpmStage' - The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name. ----- * 'cbpmBasePath'+-- * 'cbpmBasePath' - The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify a base path name after the domain name. ----- * 'cbpmDomainName'+-- * 'cbpmDomainName' - The domain name of the 'BasePathMapping' resource to create. ----- * 'cbpmRestAPIId'+-- * 'cbpmRestAPIId' - The name of the API that you want to apply this mapping to. createBasePathMapping :: Text -- ^ 'cbpmDomainName' -> Text -- ^ 'cbpmRestAPIId'@@ -79,7 +83,7 @@ , _cbpmRestAPIId = pRestAPIId_ } --- | The name of the API\'s stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name.+-- | The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name. cbpmStage :: Lens' CreateBasePathMapping (Maybe Text) cbpmStage = lens _cbpmStage (\ s a -> s{_cbpmStage = a}); @@ -87,7 +91,7 @@ cbpmBasePath :: Lens' CreateBasePathMapping (Maybe Text) cbpmBasePath = lens _cbpmBasePath (\ s a -> s{_cbpmBasePath = a}); --- | The domain name of the < BasePathMapping> resource to create.+-- | The domain name of the 'BasePathMapping' resource to create. cbpmDomainName :: Lens' CreateBasePathMapping Text cbpmDomainName = lens _cbpmDomainName (\ s a -> s{_cbpmDomainName = a});
gen/Network/AWS/APIGateway/CreateDeployment.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a < Deployment> resource, which makes a specified < RestApi> callable over the internet.+-- Creates a 'Deployment' resource, which makes a specified 'RestApi' callable over the internet.+--+-- module Network.AWS.APIGateway.CreateDeployment ( -- * Creating a Request@@ -29,9 +31,9 @@ , cdVariables , cdCacheClusterSize , cdCacheClusterEnabled+ , cdStageName , cdDescription , cdRestAPIId- , cdStageName -- * Destructuring the Response , deployment@@ -50,79 +52,80 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to create a < Deployment> resource.+-- | Requests Amazon API Gateway to create a 'Deployment' resource. --+--+-- -- /See:/ 'createDeployment' smart constructor. data CreateDeployment = CreateDeployment' { _cdStageDescription :: !(Maybe Text) , _cdVariables :: !(Maybe (Map Text Text)) , _cdCacheClusterSize :: !(Maybe CacheClusterSize) , _cdCacheClusterEnabled :: !(Maybe Bool)+ , _cdStageName :: !(Maybe Text) , _cdDescription :: !(Maybe Text) , _cdRestAPIId :: !Text- , _cdStageName :: !Text } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'CreateDeployment' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cdStageDescription'+-- * 'cdStageDescription' - The description of the 'Stage' resource for the 'Deployment' resource to create. ----- * 'cdVariables'+-- * 'cdVariables' - A map that defines the stage variables for the 'Stage' resource that is associated with the new deployment. Variable names can have alphanumeric and underscore characters, and the values must match @[A-Za-z0-9-._~:/?#&=,]+@ . ----- * 'cdCacheClusterSize'+-- * 'cdCacheClusterSize' - Specifies the cache cluster size for the 'Stage' resource specified in the input, if a cache cluster is enabled. ----- * 'cdCacheClusterEnabled'+-- * 'cdCacheClusterEnabled' - Enables a cache cluster for the 'Stage' resource specified in the input. ----- * 'cdDescription'+-- * 'cdStageName' - The name of the 'Stage' resource for the 'Deployment' resource to create. ----- * 'cdRestAPIId'+-- * 'cdDescription' - The description for the 'Deployment' resource to create. ----- * 'cdStageName'+-- * 'cdRestAPIId' - The 'RestApi' resource identifier for the 'Deployment' resource to create. createDeployment :: Text -- ^ 'cdRestAPIId'- -> Text -- ^ 'cdStageName' -> CreateDeployment-createDeployment pRestAPIId_ pStageName_ =+createDeployment pRestAPIId_ = CreateDeployment' { _cdStageDescription = Nothing , _cdVariables = Nothing , _cdCacheClusterSize = Nothing , _cdCacheClusterEnabled = Nothing+ , _cdStageName = Nothing , _cdDescription = Nothing , _cdRestAPIId = pRestAPIId_- , _cdStageName = pStageName_ } --- | The description of the < Stage> resource for the < Deployment> resource to create.+-- | The description of the 'Stage' resource for the 'Deployment' resource to create. cdStageDescription :: Lens' CreateDeployment (Maybe Text) cdStageDescription = lens _cdStageDescription (\ s a -> s{_cdStageDescription = a}); --- | A map that defines the stage variables for the < Stage> resource that is associated with the new deployment. Variable names can have alphanumeric and underscore characters, and the values must match '[A-Za-z0-9-._~:\/?#&=,]+'.+-- | A map that defines the stage variables for the 'Stage' resource that is associated with the new deployment. Variable names can have alphanumeric and underscore characters, and the values must match @[A-Za-z0-9-._~:/?#&=,]+@ . cdVariables :: Lens' CreateDeployment (HashMap Text Text) cdVariables = lens _cdVariables (\ s a -> s{_cdVariables = a}) . _Default . _Map; --- | Specifies the cache cluster size for the < Stage> resource specified in the input, if a cache cluster is enabled.+-- | Specifies the cache cluster size for the 'Stage' resource specified in the input, if a cache cluster is enabled. cdCacheClusterSize :: Lens' CreateDeployment (Maybe CacheClusterSize) cdCacheClusterSize = lens _cdCacheClusterSize (\ s a -> s{_cdCacheClusterSize = a}); --- | Enables a cache cluster for the < Stage> resource specified in the input.+-- | Enables a cache cluster for the 'Stage' resource specified in the input. cdCacheClusterEnabled :: Lens' CreateDeployment (Maybe Bool) cdCacheClusterEnabled = lens _cdCacheClusterEnabled (\ s a -> s{_cdCacheClusterEnabled = a}); --- | The description for the < Deployment> resource to create.+-- | The name of the 'Stage' resource for the 'Deployment' resource to create.+cdStageName :: Lens' CreateDeployment (Maybe Text)+cdStageName = lens _cdStageName (\ s a -> s{_cdStageName = a});++-- | The description for the 'Deployment' resource to create. cdDescription :: Lens' CreateDeployment (Maybe Text) cdDescription = lens _cdDescription (\ s a -> s{_cdDescription = a}); --- | The < RestApi> resource identifier for the < Deployment> resource to create.+-- | The 'RestApi' resource identifier for the 'Deployment' resource to create. cdRestAPIId :: Lens' CreateDeployment Text cdRestAPIId = lens _cdRestAPIId (\ s a -> s{_cdRestAPIId = a}); --- | The name of the < Stage> resource for the < Deployment> resource to create.-cdStageName :: Lens' CreateDeployment Text-cdStageName = lens _cdStageName (\ s a -> s{_cdStageName = a});- instance AWSRequest CreateDeployment where type Rs CreateDeployment = Deployment request = postJSON apiGateway@@ -147,8 +150,8 @@ ("cacheClusterSize" .=) <$> _cdCacheClusterSize, ("cacheClusterEnabled" .=) <$> _cdCacheClusterEnabled,- ("description" .=) <$> _cdDescription,- Just ("stageName" .= _cdStageName)])+ ("stageName" .=) <$> _cdStageName,+ ("description" .=) <$> _cdDescription]) instance ToPath CreateDeployment where toPath CreateDeployment'{..}
+ gen/Network/AWS/APIGateway/CreateDocumentationPart.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.CreateDocumentationPart+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.CreateDocumentationPart+ (+ -- * Creating a Request+ createDocumentationPart+ , CreateDocumentationPart+ -- * Request Lenses+ , cdpRestAPIId+ , cdpLocation+ , cdpProperties++ -- * Destructuring the Response+ , documentationPart+ , DocumentationPart+ -- * Response Lenses+ , dpLocation+ , dpId+ , dpProperties+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Creates a new documentation part of a given API.+--+--+--+-- /See:/ 'createDocumentationPart' smart constructor.+data CreateDocumentationPart = CreateDocumentationPart'+ { _cdpRestAPIId :: !Text+ , _cdpLocation :: !DocumentationPartLocation+ , _cdpProperties :: !Text+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'CreateDocumentationPart' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cdpRestAPIId' - [Required] The identifier of an API of the to-be-created documentation part.+--+-- * 'cdpLocation' - [Required] The location of the targeted API entity of the to-be-created documentation part.+--+-- * 'cdpProperties' - [Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.+createDocumentationPart+ :: Text -- ^ 'cdpRestAPIId'+ -> DocumentationPartLocation -- ^ 'cdpLocation'+ -> Text -- ^ 'cdpProperties'+ -> CreateDocumentationPart+createDocumentationPart pRestAPIId_ pLocation_ pProperties_ =+ CreateDocumentationPart'+ { _cdpRestAPIId = pRestAPIId_+ , _cdpLocation = pLocation_+ , _cdpProperties = pProperties_+ }++-- | [Required] The identifier of an API of the to-be-created documentation part.+cdpRestAPIId :: Lens' CreateDocumentationPart Text+cdpRestAPIId = lens _cdpRestAPIId (\ s a -> s{_cdpRestAPIId = a});++-- | [Required] The location of the targeted API entity of the to-be-created documentation part.+cdpLocation :: Lens' CreateDocumentationPart DocumentationPartLocation+cdpLocation = lens _cdpLocation (\ s a -> s{_cdpLocation = a});++-- | [Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.+cdpProperties :: Lens' CreateDocumentationPart Text+cdpProperties = lens _cdpProperties (\ s a -> s{_cdpProperties = a});++instance AWSRequest CreateDocumentationPart where+ type Rs CreateDocumentationPart = DocumentationPart+ request = postJSON apiGateway+ response = receiveJSON (\ s h x -> eitherParseJSON x)++instance Hashable CreateDocumentationPart++instance NFData CreateDocumentationPart++instance ToHeaders CreateDocumentationPart where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToJSON CreateDocumentationPart where+ toJSON CreateDocumentationPart'{..}+ = object+ (catMaybes+ [Just ("location" .= _cdpLocation),+ Just ("properties" .= _cdpProperties)])++instance ToPath CreateDocumentationPart where+ toPath CreateDocumentationPart'{..}+ = mconcat+ ["/restapis/", toBS _cdpRestAPIId,+ "/documentation/parts"]++instance ToQuery CreateDocumentationPart where+ toQuery = const mempty
+ gen/Network/AWS/APIGateway/CreateDocumentationVersion.hs view
@@ -0,0 +1,133 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.CreateDocumentationVersion+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.CreateDocumentationVersion+ (+ -- * Creating a Request+ createDocumentationVersion+ , CreateDocumentationVersion+ -- * Request Lenses+ , cdvStageName+ , cdvDescription+ , cdvRestAPIId+ , cdvDocumentationVersion++ -- * Destructuring the Response+ , documentationVersion+ , DocumentationVersion+ -- * Response Lenses+ , dvCreatedDate+ , dvVersion+ , dvDescription+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Creates a new documentation version of a given API.+--+--+--+-- /See:/ 'createDocumentationVersion' smart constructor.+data CreateDocumentationVersion = CreateDocumentationVersion'+ { _cdvStageName :: !(Maybe Text)+ , _cdvDescription :: !(Maybe Text)+ , _cdvRestAPIId :: !Text+ , _cdvDocumentationVersion :: !Text+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'CreateDocumentationVersion' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cdvStageName' - The stage name to be associated with the new documentation snapshot.+--+-- * 'cdvDescription' - A description about the new documentation snapshot.+--+-- * 'cdvRestAPIId' - [Required] Specifies the API identifier of the to-be-created documentation version.+--+-- * 'cdvDocumentationVersion' - [Required] The version identifier of the new snapshot.+createDocumentationVersion+ :: Text -- ^ 'cdvRestAPIId'+ -> Text -- ^ 'cdvDocumentationVersion'+ -> CreateDocumentationVersion+createDocumentationVersion pRestAPIId_ pDocumentationVersion_ =+ CreateDocumentationVersion'+ { _cdvStageName = Nothing+ , _cdvDescription = Nothing+ , _cdvRestAPIId = pRestAPIId_+ , _cdvDocumentationVersion = pDocumentationVersion_+ }++-- | The stage name to be associated with the new documentation snapshot.+cdvStageName :: Lens' CreateDocumentationVersion (Maybe Text)+cdvStageName = lens _cdvStageName (\ s a -> s{_cdvStageName = a});++-- | A description about the new documentation snapshot.+cdvDescription :: Lens' CreateDocumentationVersion (Maybe Text)+cdvDescription = lens _cdvDescription (\ s a -> s{_cdvDescription = a});++-- | [Required] Specifies the API identifier of the to-be-created documentation version.+cdvRestAPIId :: Lens' CreateDocumentationVersion Text+cdvRestAPIId = lens _cdvRestAPIId (\ s a -> s{_cdvRestAPIId = a});++-- | [Required] The version identifier of the new snapshot.+cdvDocumentationVersion :: Lens' CreateDocumentationVersion Text+cdvDocumentationVersion = lens _cdvDocumentationVersion (\ s a -> s{_cdvDocumentationVersion = a});++instance AWSRequest CreateDocumentationVersion where+ type Rs CreateDocumentationVersion =+ DocumentationVersion+ request = postJSON apiGateway+ response = receiveJSON (\ s h x -> eitherParseJSON x)++instance Hashable CreateDocumentationVersion++instance NFData CreateDocumentationVersion++instance ToHeaders CreateDocumentationVersion where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToJSON CreateDocumentationVersion where+ toJSON CreateDocumentationVersion'{..}+ = object+ (catMaybes+ [("stageName" .=) <$> _cdvStageName,+ ("description" .=) <$> _cdvDescription,+ Just+ ("documentationVersion" .=+ _cdvDocumentationVersion)])++instance ToPath CreateDocumentationVersion where+ toPath CreateDocumentationVersion'{..}+ = mconcat+ ["/restapis/", toBS _cdvRestAPIId,+ "/documentation/versions"]++instance ToQuery CreateDocumentationVersion where+ toQuery = const mempty
gen/Network/AWS/APIGateway/CreateDomainName.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Creates a new domain name.+--+-- module Network.AWS.APIGateway.CreateDomainName ( -- * Creating a Request@@ -50,6 +52,8 @@ -- | A request to create a new domain name. --+--+-- -- /See:/ 'createDomainName' smart constructor. data CreateDomainName = CreateDomainName' { _cdnDomainName :: !Text@@ -63,15 +67,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cdnDomainName'+-- * 'cdnDomainName' - The name of the 'DomainName' resource. ----- * 'cdnCertificateName'+-- * 'cdnCertificateName' - The name of the certificate. ----- * 'cdnCertificateBody'+-- * 'cdnCertificateBody' - The body of the server certificate provided by your certificate authority. ----- * 'cdnCertificatePrivateKey'+-- * 'cdnCertificatePrivateKey' - Your certificate's private key. ----- * 'cdnCertificateChain'+-- * 'cdnCertificateChain' - The intermediate certificates and optionally the root certificate, one after the other without any blank lines. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path. createDomainName :: Text -- ^ 'cdnDomainName' -> Text -- ^ 'cdnCertificateName'@@ -88,7 +92,7 @@ , _cdnCertificateChain = pCertificateChain_ } --- | The name of the < DomainName> resource.+-- | The name of the 'DomainName' resource. cdnDomainName :: Lens' CreateDomainName Text cdnDomainName = lens _cdnDomainName (\ s a -> s{_cdnDomainName = a}); @@ -100,7 +104,7 @@ cdnCertificateBody :: Lens' CreateDomainName Text cdnCertificateBody = lens _cdnCertificateBody (\ s a -> s{_cdnCertificateBody = a}); --- | Your certificate\'s private key.+-- | Your certificate's private key. cdnCertificatePrivateKey :: Lens' CreateDomainName Text cdnCertificatePrivateKey = lens _cdnCertificatePrivateKey (\ s a -> s{_cdnCertificatePrivateKey = a});
gen/Network/AWS/APIGateway/CreateModel.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Adds a new < Model> resource to an existing < RestApi> resource.+-- Adds a new 'Model' resource to an existing 'RestApi' resource.+--+-- module Network.AWS.APIGateway.CreateModel ( -- * Creating a Request@@ -49,8 +51,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to add a new < Model> to an existing < RestApi> resource.+-- | Request to add a new 'Model' to an existing 'RestApi' resource. --+--+-- -- /See:/ 'createModel' smart constructor. data CreateModel = CreateModel' { _cmSchema :: !(Maybe Text)@@ -64,15 +68,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cmSchema'+-- * 'cmSchema' - The schema for the model. For @application/json@ models, this should be <http://json-schema.org/documentation.html JSON-schema draft v4> model. ----- * 'cmDescription'+-- * 'cmDescription' - The description of the model. ----- * 'cmRestAPIId'+-- * 'cmRestAPIId' - The 'RestApi' identifier under which the 'Model' will be created. ----- * 'cmName'+-- * 'cmName' - The name of the model. ----- * 'cmContentType'+-- * 'cmContentType' - The content-type for the model. createModel :: Text -- ^ 'cmRestAPIId' -> Text -- ^ 'cmName'@@ -87,7 +91,7 @@ , _cmContentType = pContentType_ } --- | The schema for the model. For 'application\/json' models, this should be <http://json-schema.org/documentation.html JSON-schema draft v4> model.+-- | The schema for the model. For @application/json@ models, this should be <http://json-schema.org/documentation.html JSON-schema draft v4> model. cmSchema :: Lens' CreateModel (Maybe Text) cmSchema = lens _cmSchema (\ s a -> s{_cmSchema = a}); @@ -95,7 +99,7 @@ cmDescription :: Lens' CreateModel (Maybe Text) cmDescription = lens _cmDescription (\ s a -> s{_cmDescription = a}); --- | The < RestApi> identifier under which the < Model> will be created.+-- | The 'RestApi' identifier under which the 'Model' will be created. cmRestAPIId :: Lens' CreateModel Text cmRestAPIId = lens _cmRestAPIId (\ s a -> s{_cmRestAPIId = a});
gen/Network/AWS/APIGateway/CreateResource.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a < Resource> resource.+-- Creates a 'Resource' resource.+--+-- module Network.AWS.APIGateway.CreateResource ( -- * Creating a Request@@ -47,8 +49,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to create a < Resource> resource.+-- | Requests Amazon API Gateway to create a 'Resource' resource. --+--+-- -- /See:/ 'createResource' smart constructor. data CreateResource = CreateResource' { _crRestAPIId :: !Text@@ -60,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crRestAPIId'+-- * 'crRestAPIId' - The identifier of the 'RestApi' for the resource. ----- * 'crParentId'+-- * 'crParentId' - The parent resource's identifier. ----- * 'crPathPart'+-- * 'crPathPart' - The last path segment for this resource. createResource :: Text -- ^ 'crRestAPIId' -> Text -- ^ 'crParentId'@@ -77,11 +81,11 @@ , _crPathPart = pPathPart_ } --- | The identifier of the < RestApi> for the resource.+-- | The identifier of the 'RestApi' for the resource. crRestAPIId :: Lens' CreateResource Text crRestAPIId = lens _crRestAPIId (\ s a -> s{_crRestAPIId = a}); --- | The parent resource\'s identifier.+-- | The parent resource's identifier. crParentId :: Lens' CreateResource Text crParentId = lens _crParentId (\ s a -> s{_crParentId = a});
gen/Network/AWS/APIGateway/CreateRestAPI.hs view
@@ -18,13 +18,17 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new < RestApi> resource.+-- Creates a new 'RestApi' resource.+--+-- module Network.AWS.APIGateway.CreateRestAPI ( -- * Creating a Request createRestAPI , CreateRestAPI -- * Request Lenses+ , craBinaryMediaTypes+ , craVersion , craCloneFrom , craDescription , craName@@ -33,9 +37,11 @@ , restAPI , RestAPI -- * Response Lenses+ , raBinaryMediaTypes , raWarnings , raCreatedDate , raName+ , raVersion , raId , raDescription ) where@@ -47,43 +53,61 @@ import Network.AWS.Request import Network.AWS.Response --- | The POST Request to add a new < RestApi> resource to your collection.+-- | The POST Request to add a new 'RestApi' resource to your collection. --+--+-- -- /See:/ 'createRestAPI' smart constructor. data CreateRestAPI = CreateRestAPI'- { _craCloneFrom :: !(Maybe Text)- , _craDescription :: !(Maybe Text)- , _craName :: !Text+ { _craBinaryMediaTypes :: !(Maybe [Text])+ , _craVersion :: !(Maybe Text)+ , _craCloneFrom :: !(Maybe Text)+ , _craDescription :: !(Maybe Text)+ , _craName :: !Text } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'CreateRestAPI' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'craCloneFrom'+-- * 'craBinaryMediaTypes' - The list of binary media types supported by the 'RestApi' . By default, the 'RestApi' supports only UTF-8-encoded text payloads. ----- * 'craDescription'+-- * 'craVersion' - A version identifier for the API. ----- * 'craName'+-- * 'craCloneFrom' - The ID of the 'RestApi' that you want to clone from.+--+-- * 'craDescription' - The description of the 'RestApi' .+--+-- * 'craName' - The name of the 'RestApi' . createRestAPI :: Text -- ^ 'craName' -> CreateRestAPI createRestAPI pName_ = CreateRestAPI'- { _craCloneFrom = Nothing+ { _craBinaryMediaTypes = Nothing+ , _craVersion = Nothing+ , _craCloneFrom = Nothing , _craDescription = Nothing , _craName = pName_ } --- | The ID of the < RestApi> that you want to clone from.+-- | The list of binary media types supported by the 'RestApi' . By default, the 'RestApi' supports only UTF-8-encoded text payloads.+craBinaryMediaTypes :: Lens' CreateRestAPI [Text]+craBinaryMediaTypes = lens _craBinaryMediaTypes (\ s a -> s{_craBinaryMediaTypes = a}) . _Default . _Coerce;++-- | A version identifier for the API.+craVersion :: Lens' CreateRestAPI (Maybe Text)+craVersion = lens _craVersion (\ s a -> s{_craVersion = a});++-- | The ID of the 'RestApi' that you want to clone from. craCloneFrom :: Lens' CreateRestAPI (Maybe Text) craCloneFrom = lens _craCloneFrom (\ s a -> s{_craCloneFrom = a}); --- | The description of the < RestApi>.+-- | The description of the 'RestApi' . craDescription :: Lens' CreateRestAPI (Maybe Text) craDescription = lens _craDescription (\ s a -> s{_craDescription = a}); --- | The name of the < RestApi>.+-- | The name of the 'RestApi' . craName :: Lens' CreateRestAPI Text craName = lens _craName (\ s a -> s{_craName = a}); @@ -106,7 +130,9 @@ toJSON CreateRestAPI'{..} = object (catMaybes- [("cloneFrom" .=) <$> _craCloneFrom,+ [("binaryMediaTypes" .=) <$> _craBinaryMediaTypes,+ ("version" .=) <$> _craVersion,+ ("cloneFrom" .=) <$> _craCloneFrom, ("description" .=) <$> _craDescription, Just ("name" .= _craName)])
gen/Network/AWS/APIGateway/CreateStage.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new < Stage> resource that references a pre-existing < Deployment> for the API.+-- Creates a new 'Stage' resource that references a pre-existing 'Deployment' for the API.+--+-- module Network.AWS.APIGateway.CreateStage ( -- * Creating a Request@@ -26,6 +28,7 @@ , CreateStage -- * Request Lenses , csVariables+ , csDocumentationVersion , csCacheClusterSize , csCacheClusterEnabled , csDescription@@ -39,6 +42,7 @@ -- * Response Lenses , sDeploymentId , sVariables+ , sDocumentationVersion , sClientCertificateId , sCreatedDate , sCacheClusterStatus@@ -57,36 +61,41 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to create a < Stage> resource.+-- | Requests Amazon API Gateway to create a 'Stage' resource. --+--+-- -- /See:/ 'createStage' smart constructor. data CreateStage = CreateStage'- { _csVariables :: !(Maybe (Map Text Text))- , _csCacheClusterSize :: !(Maybe CacheClusterSize)- , _csCacheClusterEnabled :: !(Maybe Bool)- , _csDescription :: !(Maybe Text)- , _csRestAPIId :: !Text- , _csStageName :: !Text- , _csDeploymentId :: !Text+ { _csVariables :: !(Maybe (Map Text Text))+ , _csDocumentationVersion :: !(Maybe Text)+ , _csCacheClusterSize :: !(Maybe CacheClusterSize)+ , _csCacheClusterEnabled :: !(Maybe Bool)+ , _csDescription :: !(Maybe Text)+ , _csRestAPIId :: !Text+ , _csStageName :: !Text+ , _csDeploymentId :: !Text } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'CreateStage' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'csVariables'+-- * 'csVariables' - A map that defines the stage variables for the new 'Stage' resource. Variable names can have alphanumeric and underscore characters, and the values must match @[A-Za-z0-9-._~:/?#&=,]+@ . ----- * 'csCacheClusterSize'+-- * 'csDocumentationVersion' - The version of the associated API documentation. ----- * 'csCacheClusterEnabled'+-- * 'csCacheClusterSize' - The stage's cache cluster size. ----- * 'csDescription'+-- * 'csCacheClusterEnabled' - Whether cache clustering is enabled for the stage. ----- * 'csRestAPIId'+-- * 'csDescription' - The description of the 'Stage' resource. ----- * 'csStageName'+-- * 'csRestAPIId' - The identifier of the 'RestApi' resource for the 'Stage' resource to create. ----- * 'csDeploymentId'+-- * 'csStageName' - The name for the 'Stage' resource.+--+-- * 'csDeploymentId' - The identifier of the 'Deployment' resource for the 'Stage' resource. createStage :: Text -- ^ 'csRestAPIId' -> Text -- ^ 'csStageName'@@ -95,6 +104,7 @@ createStage pRestAPIId_ pStageName_ pDeploymentId_ = CreateStage' { _csVariables = Nothing+ , _csDocumentationVersion = Nothing , _csCacheClusterSize = Nothing , _csCacheClusterEnabled = Nothing , _csDescription = Nothing@@ -103,11 +113,15 @@ , _csDeploymentId = pDeploymentId_ } --- | A map that defines the stage variables for the new < Stage> resource. Variable names can have alphanumeric and underscore characters, and the values must match '[A-Za-z0-9-._~:\/?#&=,]+'.+-- | A map that defines the stage variables for the new 'Stage' resource. Variable names can have alphanumeric and underscore characters, and the values must match @[A-Za-z0-9-._~:/?#&=,]+@ . csVariables :: Lens' CreateStage (HashMap Text Text) csVariables = lens _csVariables (\ s a -> s{_csVariables = a}) . _Default . _Map; --- | The stage\'s cache cluster size.+-- | The version of the associated API documentation.+csDocumentationVersion :: Lens' CreateStage (Maybe Text)+csDocumentationVersion = lens _csDocumentationVersion (\ s a -> s{_csDocumentationVersion = a});++-- | The stage's cache cluster size. csCacheClusterSize :: Lens' CreateStage (Maybe CacheClusterSize) csCacheClusterSize = lens _csCacheClusterSize (\ s a -> s{_csCacheClusterSize = a}); @@ -115,19 +129,19 @@ csCacheClusterEnabled :: Lens' CreateStage (Maybe Bool) csCacheClusterEnabled = lens _csCacheClusterEnabled (\ s a -> s{_csCacheClusterEnabled = a}); --- | The description of the < Stage> resource.+-- | The description of the 'Stage' resource. csDescription :: Lens' CreateStage (Maybe Text) csDescription = lens _csDescription (\ s a -> s{_csDescription = a}); --- | The identifier of the < RestApi> resource for the < Stage> resource to create.+-- | The identifier of the 'RestApi' resource for the 'Stage' resource to create. csRestAPIId :: Lens' CreateStage Text csRestAPIId = lens _csRestAPIId (\ s a -> s{_csRestAPIId = a}); --- | The name for the < Stage> resource.+-- | The name for the 'Stage' resource. csStageName :: Lens' CreateStage Text csStageName = lens _csStageName (\ s a -> s{_csStageName = a}); --- | The identifier of the < Deployment> resource for the < Stage> resource.+-- | The identifier of the 'Deployment' resource for the 'Stage' resource. csDeploymentId :: Lens' CreateStage Text csDeploymentId = lens _csDeploymentId (\ s a -> s{_csDeploymentId = a}); @@ -151,6 +165,8 @@ = object (catMaybes [("variables" .=) <$> _csVariables,+ ("documentationVersion" .=) <$>+ _csDocumentationVersion, ("cacheClusterSize" .=) <$> _csCacheClusterSize, ("cacheClusterEnabled" .=) <$> _csCacheClusterEnabled,
gen/Network/AWS/APIGateway/CreateUsagePlan.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.+--+-- module Network.AWS.APIGateway.CreateUsagePlan ( -- * Creating a Request@@ -41,6 +43,7 @@ , upThrottle , upQuota , upDescription+ , upProductCode ) where import Network.AWS.APIGateway.Types@@ -52,6 +55,8 @@ -- | The POST request to create a usage plan with the name, description, throttle limits and quota limits, as well as the associated API stages, specified in the payload. --+--+-- -- /See:/ 'createUsagePlan' smart constructor. data CreateUsagePlan = CreateUsagePlan' { _cupApiStages :: !(Maybe [APIStage])@@ -65,15 +70,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cupApiStages'+-- * 'cupApiStages' - The associated API stages of the usage plan. ----- * 'cupThrottle'+-- * 'cupThrottle' - The throttling limits of the usage plan. ----- * 'cupQuota'+-- * 'cupQuota' - The quota of the usage plan. ----- * 'cupDescription'+-- * 'cupDescription' - The description of the usage plan. ----- * 'cupName'+-- * 'cupName' - The name of the usage plan. createUsagePlan :: Text -- ^ 'cupName' -> CreateUsagePlan
gen/Network/AWS/APIGateway/CreateUsagePlanKey.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Creates a usage plan key for adding an existing API key to a usage plan.+--+-- module Network.AWS.APIGateway.CreateUsagePlanKey ( -- * Creating a Request@@ -48,6 +50,8 @@ -- | The POST request to create a usage plan key for adding an existing API key to a usage plan. --+--+-- -- /See:/ 'createUsagePlanKey' smart constructor. data CreateUsagePlanKey = CreateUsagePlanKey' { _cupkUsagePlanId :: !Text@@ -59,11 +63,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cupkUsagePlanId'+-- * 'cupkUsagePlanId' - The Id of the 'UsagePlan' resource representing the usage plan containing the to-be-created 'UsagePlanKey' resource representing a plan customer. ----- * 'cupkKeyId'+-- * 'cupkKeyId' - The identifier of a 'UsagePlanKey' resource for a plan customer. ----- * 'cupkKeyType'+-- * 'cupkKeyType' - The type of a 'UsagePlanKey' resource for a plan customer. createUsagePlanKey :: Text -- ^ 'cupkUsagePlanId' -> Text -- ^ 'cupkKeyId'@@ -76,15 +80,15 @@ , _cupkKeyType = pKeyType_ } --- | The Id of the < UsagePlan> resource representing the usage plan containing the to-be-created < UsagePlanKey> resource representing a plan customer.+-- | The Id of the 'UsagePlan' resource representing the usage plan containing the to-be-created 'UsagePlanKey' resource representing a plan customer. cupkUsagePlanId :: Lens' CreateUsagePlanKey Text cupkUsagePlanId = lens _cupkUsagePlanId (\ s a -> s{_cupkUsagePlanId = a}); --- | The identifier of a < UsagePlanKey> resource for a plan customer.+-- | The identifier of a 'UsagePlanKey' resource for a plan customer. cupkKeyId :: Lens' CreateUsagePlanKey Text cupkKeyId = lens _cupkKeyId (\ s a -> s{_cupkKeyId = a}); --- | The type of a < UsagePlanKey> resource for a plan customer.+-- | The type of a 'UsagePlanKey' resource for a plan customer. cupkKeyType :: Lens' CreateUsagePlanKey Text cupkKeyType = lens _cupkKeyType (\ s a -> s{_cupkKeyType = a});
gen/Network/AWS/APIGateway/DeleteAPIKey.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the < ApiKey> resource.+-- Deletes the 'ApiKey' resource.+--+-- module Network.AWS.APIGateway.DeleteAPIKey ( -- * Creating a Request@@ -39,8 +41,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to delete the < ApiKey> resource.+-- | A request to delete the 'ApiKey' resource. --+--+-- -- /See:/ 'deleteAPIKey' smart constructor. newtype DeleteAPIKey = DeleteAPIKey' { _dakApiKey :: Text@@ -50,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dakApiKey'+-- * 'dakApiKey' - The identifier of the 'ApiKey' resource to be deleted. deleteAPIKey :: Text -- ^ 'dakApiKey' -> DeleteAPIKey@@ -59,7 +63,7 @@ { _dakApiKey = pApiKey_ } --- | The identifier of the < ApiKey> resource to be deleted.+-- | The identifier of the 'ApiKey' resource to be deleted. dakApiKey :: Lens' DeleteAPIKey Text dakApiKey = lens _dakApiKey (\ s a -> s{_dakApiKey = a});
gen/Network/AWS/APIGateway/DeleteAuthorizer.hs view
@@ -18,8 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes an existing < Authorizer> resource.+-- Deletes an existing 'Authorizer' resource. --+-- -- <http://docs.aws.amazon.com/cli/latest/reference/apigateway/delete-authorizer.html AWS CLI> module Network.AWS.APIGateway.DeleteAuthorizer (@@ -42,8 +43,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to delete an existing < Authorizer> resource.+-- | Request to delete an existing 'Authorizer' resource. --+--+-- -- /See:/ 'deleteAuthorizer' smart constructor. data DeleteAuthorizer = DeleteAuthorizer' { _daRestAPIId :: !Text@@ -54,9 +57,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'daRestAPIId'+-- * 'daRestAPIId' - The 'RestApi' identifier for the 'Authorizer' resource. ----- * 'daAuthorizerId'+-- * 'daAuthorizerId' - The identifier of the 'Authorizer' resource. deleteAuthorizer :: Text -- ^ 'daRestAPIId' -> Text -- ^ 'daAuthorizerId'@@ -67,11 +70,11 @@ , _daAuthorizerId = pAuthorizerId_ } --- | The < RestApi> identifier for the < Authorizer> resource.+-- | The 'RestApi' identifier for the 'Authorizer' resource. daRestAPIId :: Lens' DeleteAuthorizer Text daRestAPIId = lens _daRestAPIId (\ s a -> s{_daRestAPIId = a}); --- | The identifier of the < Authorizer> resource.+-- | The identifier of the 'Authorizer' resource. daAuthorizerId :: Lens' DeleteAuthorizer Text daAuthorizerId = lens _daAuthorizerId (\ s a -> s{_daAuthorizerId = a});
gen/Network/AWS/APIGateway/DeleteBasePathMapping.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the < BasePathMapping> resource.+-- Deletes the 'BasePathMapping' resource.+--+-- module Network.AWS.APIGateway.DeleteBasePathMapping ( -- * Creating a Request@@ -40,8 +42,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to delete the < BasePathMapping> resource.+-- | A request to delete the 'BasePathMapping' resource. --+--+-- -- /See:/ 'deleteBasePathMapping' smart constructor. data DeleteBasePathMapping = DeleteBasePathMapping' { _dbpmDomainName :: !Text@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dbpmDomainName'+-- * 'dbpmDomainName' - The domain name of the 'BasePathMapping' resource to delete. ----- * 'dbpmBasePath'+-- * 'dbpmBasePath' - The base path name of the 'BasePathMapping' resource to delete. deleteBasePathMapping :: Text -- ^ 'dbpmDomainName' -> Text -- ^ 'dbpmBasePath'@@ -65,11 +69,11 @@ , _dbpmBasePath = pBasePath_ } --- | The domain name of the < BasePathMapping> resource to delete.+-- | The domain name of the 'BasePathMapping' resource to delete. dbpmDomainName :: Lens' DeleteBasePathMapping Text dbpmDomainName = lens _dbpmDomainName (\ s a -> s{_dbpmDomainName = a}); --- | The base path name of the < BasePathMapping> resource to delete.+-- | The base path name of the 'BasePathMapping' resource to delete. dbpmBasePath :: Lens' DeleteBasePathMapping Text dbpmBasePath = lens _dbpmBasePath (\ s a -> s{_dbpmBasePath = a});
gen/Network/AWS/APIGateway/DeleteClientCertificate.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the < ClientCertificate> resource.+-- Deletes the 'ClientCertificate' resource.+--+-- module Network.AWS.APIGateway.DeleteClientCertificate ( -- * Creating a Request@@ -39,8 +41,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to delete the < ClientCertificate> resource.+-- | A request to delete the 'ClientCertificate' resource. --+--+-- -- /See:/ 'deleteClientCertificate' smart constructor. newtype DeleteClientCertificate = DeleteClientCertificate' { _dccClientCertificateId :: Text@@ -50,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dccClientCertificateId'+-- * 'dccClientCertificateId' - The identifier of the 'ClientCertificate' resource to be deleted. deleteClientCertificate :: Text -- ^ 'dccClientCertificateId' -> DeleteClientCertificate@@ -59,7 +63,7 @@ { _dccClientCertificateId = pClientCertificateId_ } --- | The identifier of the < ClientCertificate> resource to be deleted.+-- | The identifier of the 'ClientCertificate' resource to be deleted. dccClientCertificateId :: Lens' DeleteClientCertificate Text dccClientCertificateId = lens _dccClientCertificateId (\ s a -> s{_dccClientCertificateId = a});
gen/Network/AWS/APIGateway/DeleteDeployment.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a < Deployment> resource. Deleting a deployment will only succeed if there are no < Stage> resources associated with it.+-- Deletes a 'Deployment' resource. Deleting a deployment will only succeed if there are no 'Stage' resources associated with it.+--+-- module Network.AWS.APIGateway.DeleteDeployment ( -- * Creating a Request@@ -40,8 +42,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to delete a < Deployment> resource.+-- | Requests Amazon API Gateway to delete a 'Deployment' resource. --+--+-- -- /See:/ 'deleteDeployment' smart constructor. data DeleteDeployment = DeleteDeployment' { _ddRestAPIId :: !Text@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ddRestAPIId'+-- * 'ddRestAPIId' - The identifier of the 'RestApi' resource for the 'Deployment' resource to delete. ----- * 'ddDeploymentId'+-- * 'ddDeploymentId' - The identifier of the 'Deployment' resource to delete. deleteDeployment :: Text -- ^ 'ddRestAPIId' -> Text -- ^ 'ddDeploymentId'@@ -65,11 +69,11 @@ , _ddDeploymentId = pDeploymentId_ } --- | The identifier of the < RestApi> resource for the < Deployment> resource to delete.+-- | The identifier of the 'RestApi' resource for the 'Deployment' resource to delete. ddRestAPIId :: Lens' DeleteDeployment Text ddRestAPIId = lens _ddRestAPIId (\ s a -> s{_ddRestAPIId = a}); --- | The identifier of the < Deployment> resource to delete.+-- | The identifier of the 'Deployment' resource to delete. ddDeploymentId :: Lens' DeleteDeployment Text ddDeploymentId = lens _ddDeploymentId (\ s a -> s{_ddDeploymentId = a});
+ gen/Network/AWS/APIGateway/DeleteDocumentationPart.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.DeleteDocumentationPart+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.DeleteDocumentationPart+ (+ -- * Creating a Request+ deleteDocumentationPart+ , DeleteDocumentationPart+ -- * Request Lenses+ , ddpRestAPIId+ , ddpDocumentationPartId++ -- * Destructuring the Response+ , deleteDocumentationPartResponse+ , DeleteDocumentationPartResponse+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Deletes an existing documentation part of an API.+--+--+--+-- /See:/ 'deleteDocumentationPart' smart constructor.+data DeleteDocumentationPart = DeleteDocumentationPart'+ { _ddpRestAPIId :: !Text+ , _ddpDocumentationPartId :: !Text+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'DeleteDocumentationPart' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ddpRestAPIId' - [Required] Specifies the identifier of an API of the to-be-deleted documentation part.+--+-- * 'ddpDocumentationPartId' - [Required] The identifier of the to-be-deleted documentation part.+deleteDocumentationPart+ :: Text -- ^ 'ddpRestAPIId'+ -> Text -- ^ 'ddpDocumentationPartId'+ -> DeleteDocumentationPart+deleteDocumentationPart pRestAPIId_ pDocumentationPartId_ =+ DeleteDocumentationPart'+ { _ddpRestAPIId = pRestAPIId_+ , _ddpDocumentationPartId = pDocumentationPartId_+ }++-- | [Required] Specifies the identifier of an API of the to-be-deleted documentation part.+ddpRestAPIId :: Lens' DeleteDocumentationPart Text+ddpRestAPIId = lens _ddpRestAPIId (\ s a -> s{_ddpRestAPIId = a});++-- | [Required] The identifier of the to-be-deleted documentation part.+ddpDocumentationPartId :: Lens' DeleteDocumentationPart Text+ddpDocumentationPartId = lens _ddpDocumentationPartId (\ s a -> s{_ddpDocumentationPartId = a});++instance AWSRequest DeleteDocumentationPart where+ type Rs DeleteDocumentationPart =+ DeleteDocumentationPartResponse+ request = delete apiGateway+ response+ = receiveNull DeleteDocumentationPartResponse'++instance Hashable DeleteDocumentationPart++instance NFData DeleteDocumentationPart++instance ToHeaders DeleteDocumentationPart where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToPath DeleteDocumentationPart where+ toPath DeleteDocumentationPart'{..}+ = mconcat+ ["/restapis/", toBS _ddpRestAPIId,+ "/documentation/parts/",+ toBS _ddpDocumentationPartId]++instance ToQuery DeleteDocumentationPart where+ toQuery = const mempty++-- | /See:/ 'deleteDocumentationPartResponse' smart constructor.+data DeleteDocumentationPartResponse =+ DeleteDocumentationPartResponse'+ deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'DeleteDocumentationPartResponse' with the minimum fields required to make a request.+--+deleteDocumentationPartResponse+ :: DeleteDocumentationPartResponse+deleteDocumentationPartResponse = DeleteDocumentationPartResponse'++instance NFData DeleteDocumentationPartResponse
+ gen/Network/AWS/APIGateway/DeleteDocumentationVersion.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.DeleteDocumentationVersion+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.DeleteDocumentationVersion+ (+ -- * Creating a Request+ deleteDocumentationVersion+ , DeleteDocumentationVersion+ -- * Request Lenses+ , ddvRestAPIId+ , ddvDocumentationVersion++ -- * Destructuring the Response+ , deleteDocumentationVersionResponse+ , DeleteDocumentationVersionResponse+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Deletes an existing documentation version of an API.+--+--+--+-- /See:/ 'deleteDocumentationVersion' smart constructor.+data DeleteDocumentationVersion = DeleteDocumentationVersion'+ { _ddvRestAPIId :: !Text+ , _ddvDocumentationVersion :: !Text+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'DeleteDocumentationVersion' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ddvRestAPIId' - [Required] The identifier of an API of a to-be-deleted documentation snapshot.+--+-- * 'ddvDocumentationVersion' - [Required] The version identifier of a to-be-deleted documentation snapshot.+deleteDocumentationVersion+ :: Text -- ^ 'ddvRestAPIId'+ -> Text -- ^ 'ddvDocumentationVersion'+ -> DeleteDocumentationVersion+deleteDocumentationVersion pRestAPIId_ pDocumentationVersion_ =+ DeleteDocumentationVersion'+ { _ddvRestAPIId = pRestAPIId_+ , _ddvDocumentationVersion = pDocumentationVersion_+ }++-- | [Required] The identifier of an API of a to-be-deleted documentation snapshot.+ddvRestAPIId :: Lens' DeleteDocumentationVersion Text+ddvRestAPIId = lens _ddvRestAPIId (\ s a -> s{_ddvRestAPIId = a});++-- | [Required] The version identifier of a to-be-deleted documentation snapshot.+ddvDocumentationVersion :: Lens' DeleteDocumentationVersion Text+ddvDocumentationVersion = lens _ddvDocumentationVersion (\ s a -> s{_ddvDocumentationVersion = a});++instance AWSRequest DeleteDocumentationVersion where+ type Rs DeleteDocumentationVersion =+ DeleteDocumentationVersionResponse+ request = delete apiGateway+ response+ = receiveNull DeleteDocumentationVersionResponse'++instance Hashable DeleteDocumentationVersion++instance NFData DeleteDocumentationVersion++instance ToHeaders DeleteDocumentationVersion where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToPath DeleteDocumentationVersion where+ toPath DeleteDocumentationVersion'{..}+ = mconcat+ ["/restapis/", toBS _ddvRestAPIId,+ "/documentation/versions/",+ toBS _ddvDocumentationVersion]++instance ToQuery DeleteDocumentationVersion where+ toQuery = const mempty++-- | /See:/ 'deleteDocumentationVersionResponse' smart constructor.+data DeleteDocumentationVersionResponse =+ DeleteDocumentationVersionResponse'+ deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'DeleteDocumentationVersionResponse' with the minimum fields required to make a request.+--+deleteDocumentationVersionResponse+ :: DeleteDocumentationVersionResponse+deleteDocumentationVersionResponse = DeleteDocumentationVersionResponse'++instance NFData DeleteDocumentationVersionResponse
gen/Network/AWS/APIGateway/DeleteDomainName.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the < DomainName> resource.+-- Deletes the 'DomainName' resource.+--+-- module Network.AWS.APIGateway.DeleteDomainName ( -- * Creating a Request@@ -39,8 +41,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to delete the < DomainName> resource.+-- | A request to delete the 'DomainName' resource. --+--+-- -- /See:/ 'deleteDomainName' smart constructor. newtype DeleteDomainName = DeleteDomainName' { _ddnDomainName :: Text@@ -50,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ddnDomainName'+-- * 'ddnDomainName' - The name of the 'DomainName' resource to be deleted. deleteDomainName :: Text -- ^ 'ddnDomainName' -> DeleteDomainName@@ -59,7 +63,7 @@ { _ddnDomainName = pDomainName_ } --- | The name of the < DomainName> resource to be deleted.+-- | The name of the 'DomainName' resource to be deleted. ddnDomainName :: Lens' DeleteDomainName Text ddnDomainName = lens _ddnDomainName (\ s a -> s{_ddnDomainName = a});
gen/Network/AWS/APIGateway/DeleteIntegration.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Represents a delete integration.+--+-- module Network.AWS.APIGateway.DeleteIntegration ( -- * Creating a Request@@ -43,6 +45,8 @@ -- | Represents a delete integration request. --+--+-- -- /See:/ 'deleteIntegration' smart constructor. data DeleteIntegration = DeleteIntegration' { _delRestAPIId :: !Text@@ -54,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'delRestAPIId'+-- * 'delRestAPIId' - Specifies a delete integration request's API identifier. ----- * 'delResourceId'+-- * 'delResourceId' - Specifies a delete integration request's resource identifier. ----- * 'delHttpMethod'+-- * 'delHttpMethod' - Specifies a delete integration request's HTTP method. deleteIntegration :: Text -- ^ 'delRestAPIId' -> Text -- ^ 'delResourceId'@@ -71,15 +75,15 @@ , _delHttpMethod = pHttpMethod_ } --- | Specifies a delete integration request\'s API identifier.+-- | Specifies a delete integration request's API identifier. delRestAPIId :: Lens' DeleteIntegration Text delRestAPIId = lens _delRestAPIId (\ s a -> s{_delRestAPIId = a}); --- | Specifies a delete integration request\'s resource identifier.+-- | Specifies a delete integration request's resource identifier. delResourceId :: Lens' DeleteIntegration Text delResourceId = lens _delResourceId (\ s a -> s{_delResourceId = a}); --- | Specifies a delete integration request\'s HTTP method.+-- | Specifies a delete integration request's HTTP method. delHttpMethod :: Lens' DeleteIntegration Text delHttpMethod = lens _delHttpMethod (\ s a -> s{_delHttpMethod = a});
gen/Network/AWS/APIGateway/DeleteIntegrationResponse.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Represents a delete integration response.+--+-- module Network.AWS.APIGateway.DeleteIntegrationResponse ( -- * Creating a Request@@ -44,6 +46,8 @@ -- | Represents a delete integration response request. --+--+-- -- /See:/ 'deleteIntegrationResponse' smart constructor. data DeleteIntegrationResponse = DeleteIntegrationResponse' { _diRestAPIId :: !Text@@ -56,13 +60,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'diRestAPIId'+-- * 'diRestAPIId' - Specifies a delete integration response request's API identifier. ----- * 'diResourceId'+-- * 'diResourceId' - Specifies a delete integration response request's resource identifier. ----- * 'diHttpMethod'+-- * 'diHttpMethod' - Specifies a delete integration response request's HTTP method. ----- * 'diStatusCode'+-- * 'diStatusCode' - Specifies a delete integration response request's status code. deleteIntegrationResponse :: Text -- ^ 'diRestAPIId' -> Text -- ^ 'diResourceId'@@ -77,19 +81,19 @@ , _diStatusCode = pStatusCode_ } --- | Specifies a delete integration response request\'s API identifier.+-- | Specifies a delete integration response request's API identifier. diRestAPIId :: Lens' DeleteIntegrationResponse Text diRestAPIId = lens _diRestAPIId (\ s a -> s{_diRestAPIId = a}); --- | Specifies a delete integration response request\'s resource identifier.+-- | Specifies a delete integration response request's resource identifier. diResourceId :: Lens' DeleteIntegrationResponse Text diResourceId = lens _diResourceId (\ s a -> s{_diResourceId = a}); --- | Specifies a delete integration response request\'s HTTP method.+-- | Specifies a delete integration response request's HTTP method. diHttpMethod :: Lens' DeleteIntegrationResponse Text diHttpMethod = lens _diHttpMethod (\ s a -> s{_diHttpMethod = a}); --- | Specifies a delete integration response request\'s status code.+-- | Specifies a delete integration response request's status code. diStatusCode :: Lens' DeleteIntegrationResponse Text diStatusCode = lens _diStatusCode (\ s a -> s{_diStatusCode = a});
gen/Network/AWS/APIGateway/DeleteMethod.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes an existing < Method> resource.+-- Deletes an existing 'Method' resource.+--+-- module Network.AWS.APIGateway.DeleteMethod ( -- * Creating a Request@@ -41,8 +43,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to delete an existing < Method> resource.+-- | Request to delete an existing 'Method' resource. --+--+-- -- /See:/ 'deleteMethod' smart constructor. data DeleteMethod = DeleteMethod' { _dmmRestAPIId :: !Text@@ -54,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dmmRestAPIId'+-- * 'dmmRestAPIId' - The 'RestApi' identifier for the 'Method' resource. ----- * 'dmmResourceId'+-- * 'dmmResourceId' - The 'Resource' identifier for the 'Method' resource. ----- * 'dmmHttpMethod'+-- * 'dmmHttpMethod' - The HTTP verb of the 'Method' resource. deleteMethod :: Text -- ^ 'dmmRestAPIId' -> Text -- ^ 'dmmResourceId'@@ -71,15 +75,15 @@ , _dmmHttpMethod = pHttpMethod_ } --- | The < RestApi> identifier for the < Method> resource.+-- | The 'RestApi' identifier for the 'Method' resource. dmmRestAPIId :: Lens' DeleteMethod Text dmmRestAPIId = lens _dmmRestAPIId (\ s a -> s{_dmmRestAPIId = a}); --- | The < Resource> identifier for the < Method> resource.+-- | The 'Resource' identifier for the 'Method' resource. dmmResourceId :: Lens' DeleteMethod Text dmmResourceId = lens _dmmResourceId (\ s a -> s{_dmmResourceId = a}); --- | The HTTP verb of the < Method> resource.+-- | The HTTP verb of the 'Method' resource. dmmHttpMethod :: Lens' DeleteMethod Text dmmHttpMethod = lens _dmmHttpMethod (\ s a -> s{_dmmHttpMethod = a});
gen/Network/AWS/APIGateway/DeleteMethodResponse.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes an existing < MethodResponse> resource.+-- Deletes an existing 'MethodResponse' resource.+--+-- module Network.AWS.APIGateway.DeleteMethodResponse ( -- * Creating a Request@@ -42,8 +44,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to delete an existing < MethodResponse> resource.+-- | A request to delete an existing 'MethodResponse' resource. --+--+-- -- /See:/ 'deleteMethodResponse' smart constructor. data DeleteMethodResponse = DeleteMethodResponse' { _dmRestAPIId :: !Text@@ -56,13 +60,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dmRestAPIId'+-- * 'dmRestAPIId' - The 'RestApi' identifier for the 'MethodResponse' resource. ----- * 'dmResourceId'+-- * 'dmResourceId' - The 'Resource' identifier for the 'MethodResponse' resource. ----- * 'dmHttpMethod'+-- * 'dmHttpMethod' - The HTTP verb of the 'Method' resource. ----- * 'dmStatusCode'+-- * 'dmStatusCode' - The status code identifier for the 'MethodResponse' resource. deleteMethodResponse :: Text -- ^ 'dmRestAPIId' -> Text -- ^ 'dmResourceId'@@ -77,19 +81,19 @@ , _dmStatusCode = pStatusCode_ } --- | The < RestApi> identifier for the < MethodResponse> resource.+-- | The 'RestApi' identifier for the 'MethodResponse' resource. dmRestAPIId :: Lens' DeleteMethodResponse Text dmRestAPIId = lens _dmRestAPIId (\ s a -> s{_dmRestAPIId = a}); --- | The < Resource> identifier for the < MethodResponse> resource.+-- | The 'Resource' identifier for the 'MethodResponse' resource. dmResourceId :: Lens' DeleteMethodResponse Text dmResourceId = lens _dmResourceId (\ s a -> s{_dmResourceId = a}); --- | The HTTP verb of the < Method> resource.+-- | The HTTP verb of the 'Method' resource. dmHttpMethod :: Lens' DeleteMethodResponse Text dmHttpMethod = lens _dmHttpMethod (\ s a -> s{_dmHttpMethod = a}); --- | The status code identifier for the < MethodResponse> resource.+-- | The status code identifier for the 'MethodResponse' resource. dmStatusCode :: Lens' DeleteMethodResponse Text dmStatusCode = lens _dmStatusCode (\ s a -> s{_dmStatusCode = a});
gen/Network/AWS/APIGateway/DeleteModel.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes a model.+--+-- module Network.AWS.APIGateway.DeleteModel ( -- * Creating a Request@@ -40,8 +42,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to delete an existing model in an existing < RestApi> resource.+-- | Request to delete an existing model in an existing 'RestApi' resource. --+--+-- -- /See:/ 'deleteModel' smart constructor. data DeleteModel = DeleteModel' { _dRestAPIId :: !Text@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dRestAPIId'+-- * 'dRestAPIId' - The 'RestApi' under which the model will be deleted. ----- * 'dModelName'+-- * 'dModelName' - The name of the model to delete. deleteModel :: Text -- ^ 'dRestAPIId' -> Text -- ^ 'dModelName'@@ -65,7 +69,7 @@ , _dModelName = pModelName_ } --- | The < RestApi> under which the model will be deleted.+-- | The 'RestApi' under which the model will be deleted. dRestAPIId :: Lens' DeleteModel Text dRestAPIId = lens _dRestAPIId (\ s a -> s{_dRestAPIId = a});
gen/Network/AWS/APIGateway/DeleteResource.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a < Resource> resource.+-- Deletes a 'Resource' resource.+--+-- module Network.AWS.APIGateway.DeleteResource ( -- * Creating a Request@@ -40,8 +42,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to delete a < Resource>.+-- | Request to delete a 'Resource' . --+--+-- -- /See:/ 'deleteResource' smart constructor. data DeleteResource = DeleteResource' { _drRestAPIId :: !Text@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drRestAPIId'+-- * 'drRestAPIId' - The 'RestApi' identifier for the 'Resource' resource. ----- * 'drResourceId'+-- * 'drResourceId' - The identifier of the 'Resource' resource. deleteResource :: Text -- ^ 'drRestAPIId' -> Text -- ^ 'drResourceId'@@ -65,11 +69,11 @@ , _drResourceId = pResourceId_ } --- | The < RestApi> identifier for the < Resource> resource.+-- | The 'RestApi' identifier for the 'Resource' resource. drRestAPIId :: Lens' DeleteResource Text drRestAPIId = lens _drRestAPIId (\ s a -> s{_drRestAPIId = a}); --- | The identifier of the < Resource> resource.+-- | The identifier of the 'Resource' resource. drResourceId :: Lens' DeleteResource Text drResourceId = lens _drResourceId (\ s a -> s{_drResourceId = a});
gen/Network/AWS/APIGateway/DeleteRestAPI.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the specified API.+--+-- module Network.AWS.APIGateway.DeleteRestAPI ( -- * Creating a Request@@ -41,6 +43,8 @@ -- | Request to delete the specified API from your collection. --+--+-- -- /See:/ 'deleteRestAPI' smart constructor. newtype DeleteRestAPI = DeleteRestAPI' { _draRestAPIId :: Text@@ -50,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'draRestAPIId'+-- * 'draRestAPIId' - The ID of the 'RestApi' you want to delete. deleteRestAPI :: Text -- ^ 'draRestAPIId' -> DeleteRestAPI@@ -59,7 +63,7 @@ { _draRestAPIId = pRestAPIId_ } --- | The ID of the < RestApi> you want to delete.+-- | The ID of the 'RestApi' you want to delete. draRestAPIId :: Lens' DeleteRestAPI Text draRestAPIId = lens _draRestAPIId (\ s a -> s{_draRestAPIId = a});
gen/Network/AWS/APIGateway/DeleteStage.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a < Stage> resource.+-- Deletes a 'Stage' resource.+--+-- module Network.AWS.APIGateway.DeleteStage ( -- * Creating a Request@@ -40,8 +42,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to delete a < Stage> resource.+-- | Requests Amazon API Gateway to delete a 'Stage' resource. --+--+-- -- /See:/ 'deleteStage' smart constructor. data DeleteStage = DeleteStage' { _dsRestAPIId :: !Text@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsRestAPIId'+-- * 'dsRestAPIId' - The identifier of the 'RestApi' resource for the 'Stage' resource to delete. ----- * 'dsStageName'+-- * 'dsStageName' - The name of the 'Stage' resource to delete. deleteStage :: Text -- ^ 'dsRestAPIId' -> Text -- ^ 'dsStageName'@@ -65,11 +69,11 @@ , _dsStageName = pStageName_ } --- | The identifier of the < RestApi> resource for the < Stage> resource to delete.+-- | The identifier of the 'RestApi' resource for the 'Stage' resource to delete. dsRestAPIId :: Lens' DeleteStage Text dsRestAPIId = lens _dsRestAPIId (\ s a -> s{_dsRestAPIId = a}); --- | The name of the < Stage> resource to delete.+-- | The name of the 'Stage' resource to delete. dsStageName :: Lens' DeleteStage Text dsStageName = lens _dsStageName (\ s a -> s{_dsStageName = a});
gen/Network/AWS/APIGateway/DeleteUsagePlan.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes a usage plan of a given plan Id.+--+-- module Network.AWS.APIGateway.DeleteUsagePlan ( -- * Creating a Request@@ -41,6 +43,8 @@ -- | The DELETE request to delete a uasge plan of a given plan Id. --+--+-- -- /See:/ 'deleteUsagePlan' smart constructor. newtype DeleteUsagePlan = DeleteUsagePlan' { _dupUsagePlanId :: Text@@ -50,7 +54,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dupUsagePlanId'+-- * 'dupUsagePlanId' - The Id of the to-be-deleted usage plan. deleteUsagePlan :: Text -- ^ 'dupUsagePlanId' -> DeleteUsagePlan
gen/Network/AWS/APIGateway/DeleteUsagePlanKey.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes a usage plan key and remove the underlying API key from the associated usage plan.+--+-- module Network.AWS.APIGateway.DeleteUsagePlanKey ( -- * Creating a Request@@ -42,6 +44,8 @@ -- | The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan. --+--+-- -- /See:/ 'deleteUsagePlanKey' smart constructor. data DeleteUsagePlanKey = DeleteUsagePlanKey' { _dupkUsagePlanId :: !Text@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dupkUsagePlanId'+-- * 'dupkUsagePlanId' - The Id of the 'UsagePlan' resource representing the usage plan containing the to-be-deleted 'UsagePlanKey' resource representing a plan customer. ----- * 'dupkKeyId'+-- * 'dupkKeyId' - The Id of the 'UsagePlanKey' resource to be deleted. deleteUsagePlanKey :: Text -- ^ 'dupkUsagePlanId' -> Text -- ^ 'dupkKeyId'@@ -65,11 +69,11 @@ , _dupkKeyId = pKeyId_ } --- | The Id of the < UsagePlan> resource representing the usage plan containing the to-be-deleted < UsagePlanKey> resource representing a plan customer.+-- | The Id of the 'UsagePlan' resource representing the usage plan containing the to-be-deleted 'UsagePlanKey' resource representing a plan customer. dupkUsagePlanId :: Lens' DeleteUsagePlanKey Text dupkUsagePlanId = lens _dupkUsagePlanId (\ s a -> s{_dupkUsagePlanId = a}); --- | The Id of the < UsagePlanKey> resource to be deleted.+-- | The Id of the 'UsagePlanKey' resource to be deleted. dupkKeyId :: Lens' DeleteUsagePlanKey Text dupkKeyId = lens _dupkKeyId (\ s a -> s{_dupkKeyId = a});
gen/Network/AWS/APIGateway/FlushStageAuthorizersCache.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Flushes all authorizer cache entries on a stage.+--+-- module Network.AWS.APIGateway.FlushStageAuthorizersCache ( -- * Creating a Request@@ -42,6 +44,8 @@ -- | Request to flush authorizer cache entries on a specified stage. --+--+-- -- /See:/ 'flushStageAuthorizersCache' smart constructor. data FlushStageAuthorizersCache = FlushStageAuthorizersCache' { _fsacRestAPIId :: !Text@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'fsacRestAPIId'+-- * 'fsacRestAPIId' - The API identifier of the stage to flush. ----- * 'fsacStageName'+-- * 'fsacStageName' - The name of the stage to flush. flushStageAuthorizersCache :: Text -- ^ 'fsacRestAPIId' -> Text -- ^ 'fsacStageName'
gen/Network/AWS/APIGateway/FlushStageCache.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Flushes a stage\'s cache.+-- Flushes a stage's cache.+--+-- module Network.AWS.APIGateway.FlushStageCache ( -- * Creating a Request@@ -40,8 +42,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to flush a stage\'s cache.+-- | Requests Amazon API Gateway to flush a stage's cache. --+--+-- -- /See:/ 'flushStageCache' smart constructor. data FlushStageCache = FlushStageCache' { _fscRestAPIId :: !Text@@ -52,9 +56,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'fscRestAPIId'+-- * 'fscRestAPIId' - The API identifier of the stage to flush its cache. ----- * 'fscStageName'+-- * 'fscStageName' - The name of the stage to flush its cache. flushStageCache :: Text -- ^ 'fscRestAPIId' -> Text -- ^ 'fscStageName'
gen/Network/AWS/APIGateway/GenerateClientCertificate.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Generates a < ClientCertificate> resource.+-- Generates a 'ClientCertificate' resource.+--+-- module Network.AWS.APIGateway.GenerateClientCertificate ( -- * Creating a Request@@ -45,8 +47,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to generate a < ClientCertificate> resource.+-- | A request to generate a 'ClientCertificate' resource. --+--+-- -- /See:/ 'generateClientCertificate' smart constructor. newtype GenerateClientCertificate = GenerateClientCertificate' { _gccDescription :: Maybe Text@@ -56,7 +60,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gccDescription'+-- * 'gccDescription' - The description of the 'ClientCertificate' . generateClientCertificate :: GenerateClientCertificate generateClientCertificate =@@ -64,7 +68,7 @@ { _gccDescription = Nothing } --- | The description of the < ClientCertificate>.+-- | The description of the 'ClientCertificate' . gccDescription :: Lens' GenerateClientCertificate (Maybe Text) gccDescription = lens _gccDescription (\ s a -> s{_gccDescription = a});
gen/Network/AWS/APIGateway/GetAPIKey.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about the current < ApiKey> resource.+-- Gets information about the current 'ApiKey' resource.+--+-- module Network.AWS.APIGateway.GetAPIKey ( -- * Creating a Request@@ -34,6 +36,7 @@ -- * Response Lenses , akEnabled , akValue+ , akCustomerId , akCreatedDate , akName , akId@@ -49,8 +52,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to get information about the current < ApiKey> resource.+-- | A request to get information about the current 'ApiKey' resource. --+--+-- -- /See:/ 'getAPIKey' smart constructor. data GetAPIKey = GetAPIKey' { _gakIncludeValue :: !(Maybe Bool)@@ -61,9 +66,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gakIncludeValue'+-- * 'gakIncludeValue' - A boolean flag to specify whether (@true@ ) or not (@false@ ) the result contains the key value. ----- * 'gakApiKey'+-- * 'gakApiKey' - The identifier of the 'ApiKey' resource. getAPIKey :: Text -- ^ 'gakApiKey' -> GetAPIKey@@ -73,11 +78,11 @@ , _gakApiKey = pApiKey_ } --- | A boolean flag to specify whether ('true') or not ('false') the result contains the key value.+-- | A boolean flag to specify whether (@true@ ) or not (@false@ ) the result contains the key value. gakIncludeValue :: Lens' GetAPIKey (Maybe Bool) gakIncludeValue = lens _gakIncludeValue (\ s a -> s{_gakIncludeValue = a}); --- | The identifier of the < ApiKey> resource.+-- | The identifier of the 'ApiKey' resource. gakApiKey :: Lens' GetAPIKey Text gakApiKey = lens _gakApiKey (\ s a -> s{_gakApiKey = a});
gen/Network/AWS/APIGateway/GetAPIKeys.hs view
@@ -18,8 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about the current < ApiKeys> resource.+-- Gets information about the current 'ApiKeys' resource. --+--+-- -- This operation returns paginated results. module Network.AWS.APIGateway.GetAPIKeys (@@ -28,6 +30,7 @@ , GetAPIKeys -- * Request Lenses , gakIncludeValues+ , gakCustomerId , gakNameQuery , gakLimit , gakPosition@@ -50,11 +53,14 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to get information about the current < ApiKeys> resource.+-- | A request to get information about the current 'ApiKeys' resource. --+--+-- -- /See:/ 'getAPIKeys' smart constructor. data GetAPIKeys = GetAPIKeys' { _gakIncludeValues :: !(Maybe Bool)+ , _gakCustomerId :: !(Maybe Text) , _gakNameQuery :: !(Maybe Text) , _gakLimit :: !(Maybe Int) , _gakPosition :: !(Maybe Text)@@ -64,36 +70,43 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gakIncludeValues'+-- * 'gakIncludeValues' - A boolean flag to specify whether (@true@ ) or not (@false@ ) the result contains key values. ----- * 'gakNameQuery'+-- * 'gakCustomerId' - The identifier of a customer in AWS Marketplace or an external system, such as a developer portal. ----- * 'gakLimit'+-- * 'gakNameQuery' - The name of queried API keys. ----- * 'gakPosition'+-- * 'gakLimit' - The maximum number of 'ApiKeys' to get information about.+--+-- * 'gakPosition' - The position of the current 'ApiKeys' resource to get information about. getAPIKeys :: GetAPIKeys getAPIKeys = GetAPIKeys' { _gakIncludeValues = Nothing+ , _gakCustomerId = Nothing , _gakNameQuery = Nothing , _gakLimit = Nothing , _gakPosition = Nothing } --- | A boolean flag to specify whether ('true') or not ('false') the result contains key values.+-- | A boolean flag to specify whether (@true@ ) or not (@false@ ) the result contains key values. gakIncludeValues :: Lens' GetAPIKeys (Maybe Bool) gakIncludeValues = lens _gakIncludeValues (\ s a -> s{_gakIncludeValues = a}); +-- | The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.+gakCustomerId :: Lens' GetAPIKeys (Maybe Text)+gakCustomerId = lens _gakCustomerId (\ s a -> s{_gakCustomerId = a});+ -- | The name of queried API keys. gakNameQuery :: Lens' GetAPIKeys (Maybe Text) gakNameQuery = lens _gakNameQuery (\ s a -> s{_gakNameQuery = a}); --- | The maximum number of < ApiKeys> to get information about.+-- | The maximum number of 'ApiKeys' to get information about. gakLimit :: Lens' GetAPIKeys (Maybe Int) gakLimit = lens _gakLimit (\ s a -> s{_gakLimit = a}); --- | The position of the current < ApiKeys> resource to get information about.+-- | The position of the current 'ApiKeys' resource to get information about. gakPosition :: Lens' GetAPIKeys (Maybe Text) gakPosition = lens _gakPosition (\ s a -> s{_gakPosition = a}); @@ -133,11 +146,13 @@ toQuery GetAPIKeys'{..} = mconcat ["includeValues" =: _gakIncludeValues,+ "customerId" =: _gakCustomerId, "name" =: _gakNameQuery, "limit" =: _gakLimit, "position" =: _gakPosition] --- | Represents a collection of API keys as represented by an < ApiKeys> resource.+-- | Represents a collection of API keys as represented by an 'ApiKeys' resource. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html Use API Keys> -- -- /See:/ 'getAPIKeysResponse' smart constructor.@@ -152,13 +167,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gakrsItems'+-- * 'gakrsItems' - The current page of any 'ApiKey' resources in the collection of 'ApiKey' resources. ----- * 'gakrsWarnings'+-- * 'gakrsWarnings' - A list of warning messages logged during the import of API keys when the @failOnWarnings@ option is set to true. ----- * 'gakrsPosition'+-- * 'gakrsPosition' - Undocumented member. ----- * 'gakrsResponseStatus'+-- * 'gakrsResponseStatus' - -- | The response status code. getAPIKeysResponse :: Int -- ^ 'gakrsResponseStatus' -> GetAPIKeysResponse@@ -170,11 +185,11 @@ , _gakrsResponseStatus = pResponseStatus_ } --- | The current page of any < ApiKey> resources in the collection of < ApiKey> resources.+-- | The current page of any 'ApiKey' resources in the collection of 'ApiKey' resources. gakrsItems :: Lens' GetAPIKeysResponse [APIKey] gakrsItems = lens _gakrsItems (\ s a -> s{_gakrsItems = a}) . _Default . _Coerce; --- | A list of warning messages logged during the import of API keys when the 'failOnWarnings' option is set to true.+-- | A list of warning messages logged during the import of API keys when the @failOnWarnings@ option is set to true. gakrsWarnings :: Lens' GetAPIKeysResponse [Text] gakrsWarnings = lens _gakrsWarnings (\ s a -> s{_gakrsWarnings = a}) . _Default . _Coerce; @@ -182,7 +197,7 @@ gakrsPosition :: Lens' GetAPIKeysResponse (Maybe Text) gakrsPosition = lens _gakrsPosition (\ s a -> s{_gakrsPosition = a}); --- | The response status code.+-- | -- | The response status code. gakrsResponseStatus :: Lens' GetAPIKeysResponse Int gakrsResponseStatus = lens _gakrsResponseStatus (\ s a -> s{_gakrsResponseStatus = a});
gen/Network/AWS/APIGateway/GetAccount.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about the current < Account> resource.+-- Gets information about the current 'Account' resource.+--+-- module Network.AWS.APIGateway.GetAccount ( -- * Creating a Request@@ -42,7 +44,9 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to get information about the current < Account> resource.+-- | Requests Amazon API Gateway to get information about the current 'Account' resource.+--+-- -- -- /See:/ 'getAccount' smart constructor. data GetAccount =
gen/Network/AWS/APIGateway/GetAuthorizer.hs view
@@ -18,8 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describe an existing < Authorizer> resource.+-- Describe an existing 'Authorizer' resource. --+-- -- <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-authorizer.html AWS CLI> module Network.AWS.APIGateway.GetAuthorizer (@@ -53,8 +54,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to describe an existing < Authorizer> resource.+-- | Request to describe an existing 'Authorizer' resource. --+--+-- -- /See:/ 'getAuthorizer' smart constructor. data GetAuthorizer = GetAuthorizer' { _gaaRestAPIId :: !Text@@ -65,9 +68,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gaaRestAPIId'+-- * 'gaaRestAPIId' - The 'RestApi' identifier for the 'Authorizer' resource. ----- * 'gaaAuthorizerId'+-- * 'gaaAuthorizerId' - The identifier of the 'Authorizer' resource. getAuthorizer :: Text -- ^ 'gaaRestAPIId' -> Text -- ^ 'gaaAuthorizerId'@@ -78,11 +81,11 @@ , _gaaAuthorizerId = pAuthorizerId_ } --- | The < RestApi> identifier for the < Authorizer> resource.+-- | The 'RestApi' identifier for the 'Authorizer' resource. gaaRestAPIId :: Lens' GetAuthorizer Text gaaRestAPIId = lens _gaaRestAPIId (\ s a -> s{_gaaRestAPIId = a}); --- | The identifier of the < Authorizer> resource.+-- | The identifier of the 'Authorizer' resource. gaaAuthorizerId :: Lens' GetAuthorizer Text gaaAuthorizerId = lens _gaaAuthorizerId (\ s a -> s{_gaaAuthorizerId = a});
gen/Network/AWS/APIGateway/GetAuthorizers.hs view
@@ -18,8 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describe an existing < Authorizers> resource.+-- Describe an existing 'Authorizers' resource. --+-- -- <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-authorizers.html AWS CLI> module Network.AWS.APIGateway.GetAuthorizers (@@ -47,8 +48,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to describe an existing < Authorizers> resource.+-- | Request to describe an existing 'Authorizers' resource. --+--+-- -- /See:/ 'getAuthorizers' smart constructor. data GetAuthorizers = GetAuthorizers' { _gaLimit :: !(Maybe Int)@@ -60,11 +63,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gaLimit'+-- * 'gaLimit' - Limit the number of 'Authorizer' resources in the response. ----- * 'gaPosition'+-- * 'gaPosition' - If not all 'Authorizer' resources in the response were present, the position will specify where to start the next page of results. ----- * 'gaRestAPIId'+-- * 'gaRestAPIId' - The 'RestApi' identifier for the 'Authorizers' resource. getAuthorizers :: Text -- ^ 'gaRestAPIId' -> GetAuthorizers@@ -75,15 +78,15 @@ , _gaRestAPIId = pRestAPIId_ } --- | Limit the number of < Authorizer> resources in the response.+-- | Limit the number of 'Authorizer' resources in the response. gaLimit :: Lens' GetAuthorizers (Maybe Int) gaLimit = lens _gaLimit (\ s a -> s{_gaLimit = a}); --- | If not all < Authorizer> resources in the response were present, the position will specify where to start the next page of results.+-- | If not all 'Authorizer' resources in the response were present, the position will specify where to start the next page of results. gaPosition :: Lens' GetAuthorizers (Maybe Text) gaPosition = lens _gaPosition (\ s a -> s{_gaPosition = a}); --- | The < RestApi> identifier for the < Authorizers> resource.+-- | The 'RestApi' identifier for the 'Authorizers' resource. gaRestAPIId :: Lens' GetAuthorizers Text gaRestAPIId = lens _gaRestAPIId (\ s a -> s{_gaRestAPIId = a}); @@ -117,8 +120,9 @@ = mconcat ["limit" =: _gaLimit, "position" =: _gaPosition] --- | Represents a collection of < Authorizer> resources.+-- | Represents a collection of 'Authorizer' resources. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html Enable custom authorization> -- -- /See:/ 'getAuthorizersResponse' smart constructor.@@ -132,11 +136,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'garsItems'+-- * 'garsItems' - Gets the current list of 'Authorizer' resources in the collection. ----- * 'garsPosition'+-- * 'garsPosition' - Undocumented member. ----- * 'garsResponseStatus'+-- * 'garsResponseStatus' - -- | The response status code. getAuthorizersResponse :: Int -- ^ 'garsResponseStatus' -> GetAuthorizersResponse@@ -147,7 +151,7 @@ , _garsResponseStatus = pResponseStatus_ } --- | Gets the current list of < Authorizer> resources in the collection.+-- | Gets the current list of 'Authorizer' resources in the collection. garsItems :: Lens' GetAuthorizersResponse [Authorizer] garsItems = lens _garsItems (\ s a -> s{_garsItems = a}) . _Default . _Coerce; @@ -155,7 +159,7 @@ garsPosition :: Lens' GetAuthorizersResponse (Maybe Text) garsPosition = lens _garsPosition (\ s a -> s{_garsPosition = a}); --- | The response status code.+-- | -- | The response status code. garsResponseStatus :: Lens' GetAuthorizersResponse Int garsResponseStatus = lens _garsResponseStatus (\ s a -> s{_garsResponseStatus = a});
gen/Network/AWS/APIGateway/GetBasePathMapping.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describe a < BasePathMapping> resource.+-- Describe a 'BasePathMapping' resource.+--+-- module Network.AWS.APIGateway.GetBasePathMapping ( -- * Creating a Request@@ -44,8 +46,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to describe a < BasePathMapping> resource.+-- | Request to describe a 'BasePathMapping' resource. --+--+-- -- /See:/ 'getBasePathMapping' smart constructor. data GetBasePathMapping = GetBasePathMapping' { _gbpmDomainName :: !Text@@ -56,9 +60,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gbpmDomainName'+-- * 'gbpmDomainName' - The domain name of the 'BasePathMapping' resource to be described. ----- * 'gbpmBasePath'+-- * 'gbpmBasePath' - The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify any base path name after the domain name. getBasePathMapping :: Text -- ^ 'gbpmDomainName' -> Text -- ^ 'gbpmBasePath'@@ -69,7 +73,7 @@ , _gbpmBasePath = pBasePath_ } --- | The domain name of the < BasePathMapping> resource to be described.+-- | The domain name of the 'BasePathMapping' resource to be described. gbpmDomainName :: Lens' GetBasePathMapping Text gbpmDomainName = lens _gbpmDomainName (\ s a -> s{_gbpmDomainName = a});
gen/Network/AWS/APIGateway/GetBasePathMappings.hs view
@@ -18,8 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Represents a collection of < BasePathMapping> resources.+-- Represents a collection of 'BasePathMapping' resources. --+--+-- -- This operation returns paginated results. module Network.AWS.APIGateway.GetBasePathMappings (@@ -48,8 +50,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to get information about a collection of < BasePathMapping> resources.+-- | A request to get information about a collection of 'BasePathMapping' resources. --+--+-- -- /See:/ 'getBasePathMappings' smart constructor. data GetBasePathMappings = GetBasePathMappings' { _gLimit :: !(Maybe Int)@@ -61,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gLimit'+-- * 'gLimit' - The maximum number of 'BasePathMapping' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. ----- * 'gPosition'+-- * 'gPosition' - The position of the current 'BasePathMapping' resource in the collection to get information about. ----- * 'gDomainName'+-- * 'gDomainName' - The domain name of a 'BasePathMapping' resource. getBasePathMappings :: Text -- ^ 'gDomainName' -> GetBasePathMappings@@ -76,15 +80,15 @@ , _gDomainName = pDomainName_ } --- | The maximum number of < BasePathMapping> resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.+-- | The maximum number of 'BasePathMapping' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. gLimit :: Lens' GetBasePathMappings (Maybe Int) gLimit = lens _gLimit (\ s a -> s{_gLimit = a}); --- | The position of the current < BasePathMapping> resource in the collection to get information about.+-- | The position of the current 'BasePathMapping' resource in the collection to get information about. gPosition :: Lens' GetBasePathMappings (Maybe Text) gPosition = lens _gPosition (\ s a -> s{_gPosition = a}); --- | The domain name of a < BasePathMapping> resource.+-- | The domain name of a 'BasePathMapping' resource. gDomainName :: Lens' GetBasePathMappings Text gDomainName = lens _gDomainName (\ s a -> s{_gDomainName = a}); @@ -127,8 +131,9 @@ = mconcat ["limit" =: _gLimit, "position" =: _gPosition] --- | Represents a collection of < BasePathMapping> resources.+-- | Represents a collection of 'BasePathMapping' resources. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html Use Custom Domain Names> -- -- /See:/ 'getBasePathMappingsResponse' smart constructor.@@ -142,11 +147,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gbpmrsItems'+-- * 'gbpmrsItems' - The current page of any 'BasePathMapping' resources in the collection of base path mapping resources. ----- * 'gbpmrsPosition'+-- * 'gbpmrsPosition' - Undocumented member. ----- * 'gbpmrsResponseStatus'+-- * 'gbpmrsResponseStatus' - -- | The response status code. getBasePathMappingsResponse :: Int -- ^ 'gbpmrsResponseStatus' -> GetBasePathMappingsResponse@@ -157,7 +162,7 @@ , _gbpmrsResponseStatus = pResponseStatus_ } --- | The current page of any < BasePathMapping> resources in the collection of base path mapping resources.+-- | The current page of any 'BasePathMapping' resources in the collection of base path mapping resources. gbpmrsItems :: Lens' GetBasePathMappingsResponse [BasePathMapping] gbpmrsItems = lens _gbpmrsItems (\ s a -> s{_gbpmrsItems = a}) . _Default . _Coerce; @@ -165,7 +170,7 @@ gbpmrsPosition :: Lens' GetBasePathMappingsResponse (Maybe Text) gbpmrsPosition = lens _gbpmrsPosition (\ s a -> s{_gbpmrsPosition = a}); --- | The response status code.+-- | -- | The response status code. gbpmrsResponseStatus :: Lens' GetBasePathMappingsResponse Int gbpmrsResponseStatus = lens _gbpmrsResponseStatus (\ s a -> s{_gbpmrsResponseStatus = a});
gen/Network/AWS/APIGateway/GetClientCertificate.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about the current < ClientCertificate> resource.+-- Gets information about the current 'ClientCertificate' resource.+--+-- module Network.AWS.APIGateway.GetClientCertificate ( -- * Creating a Request@@ -45,8 +47,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to get information about the current < ClientCertificate> resource.+-- | A request to get information about the current 'ClientCertificate' resource. --+--+-- -- /See:/ 'getClientCertificate' smart constructor. newtype GetClientCertificate = GetClientCertificate' { _gccClientCertificateId :: Text@@ -56,7 +60,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gccClientCertificateId'+-- * 'gccClientCertificateId' - The identifier of the 'ClientCertificate' resource to be described. getClientCertificate :: Text -- ^ 'gccClientCertificateId' -> GetClientCertificate@@ -65,7 +69,7 @@ { _gccClientCertificateId = pClientCertificateId_ } --- | The identifier of the < ClientCertificate> resource to be described.+-- | The identifier of the 'ClientCertificate' resource to be described. gccClientCertificateId :: Lens' GetClientCertificate Text gccClientCertificateId = lens _gccClientCertificateId (\ s a -> s{_gccClientCertificateId = a});
gen/Network/AWS/APIGateway/GetClientCertificates.hs view
@@ -18,8 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets a collection of < ClientCertificate> resources.+-- Gets a collection of 'ClientCertificate' resources. --+--+-- -- This operation returns paginated results. module Network.AWS.APIGateway.GetClientCertificates (@@ -47,8 +49,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to get information about a collection of < ClientCertificate> resources.+-- | A request to get information about a collection of 'ClientCertificate' resources. --+--+-- -- /See:/ 'getClientCertificates' smart constructor. data GetClientCertificates = GetClientCertificates' { _gccLimit :: !(Maybe Int)@@ -59,9 +63,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gccLimit'+-- * 'gccLimit' - The maximum number of 'ClientCertificate' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. ----- * 'gccPosition'+-- * 'gccPosition' - The position of the current 'ClientCertificate' resource in the collection to get information about. getClientCertificates :: GetClientCertificates getClientCertificates =@@ -70,11 +74,11 @@ , _gccPosition = Nothing } --- | The maximum number of < ClientCertificate> resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.+-- | The maximum number of 'ClientCertificate' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. gccLimit :: Lens' GetClientCertificates (Maybe Int) gccLimit = lens _gccLimit (\ s a -> s{_gccLimit = a}); --- | The position of the current < ClientCertificate> resource in the collection to get information about.+-- | The position of the current 'ClientCertificate' resource in the collection to get information about. gccPosition :: Lens' GetClientCertificates (Maybe Text) gccPosition = lens _gccPosition (\ s a -> s{_gccPosition = a}); @@ -114,8 +118,9 @@ = mconcat ["limit" =: _gccLimit, "position" =: _gccPosition] --- | Represents a collection of < ClientCertificate> resources.+-- | Represents a collection of 'ClientCertificate' resources. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html Use Client-Side Certificate> -- -- /See:/ 'getClientCertificatesResponse' smart constructor.@@ -129,11 +134,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gccrsItems'+-- * 'gccrsItems' - The current page of any 'ClientCertificate' resources in the collection of 'ClientCertificate' resources. ----- * 'gccrsPosition'+-- * 'gccrsPosition' - Undocumented member. ----- * 'gccrsResponseStatus'+-- * 'gccrsResponseStatus' - -- | The response status code. getClientCertificatesResponse :: Int -- ^ 'gccrsResponseStatus' -> GetClientCertificatesResponse@@ -144,7 +149,7 @@ , _gccrsResponseStatus = pResponseStatus_ } --- | The current page of any < ClientCertificate> resources in the collection of < ClientCertificate> resources.+-- | The current page of any 'ClientCertificate' resources in the collection of 'ClientCertificate' resources. gccrsItems :: Lens' GetClientCertificatesResponse [ClientCertificate] gccrsItems = lens _gccrsItems (\ s a -> s{_gccrsItems = a}) . _Default . _Coerce; @@ -152,7 +157,7 @@ gccrsPosition :: Lens' GetClientCertificatesResponse (Maybe Text) gccrsPosition = lens _gccrsPosition (\ s a -> s{_gccrsPosition = a}); --- | The response status code.+-- | -- | The response status code. gccrsResponseStatus :: Lens' GetClientCertificatesResponse Int gccrsResponseStatus = lens _gccrsResponseStatus (\ s a -> s{_gccrsResponseStatus = a});
gen/Network/AWS/APIGateway/GetDeployment.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about a < Deployment> resource.+-- Gets information about a 'Deployment' resource.+--+-- module Network.AWS.APIGateway.GetDeployment ( -- * Creating a Request@@ -45,8 +47,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to get information about a < Deployment> resource.+-- | Requests Amazon API Gateway to get information about a 'Deployment' resource. --+--+-- -- /See:/ 'getDeployment' smart constructor. data GetDeployment = GetDeployment' { _gRestAPIId :: !Text@@ -57,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gRestAPIId'+-- * 'gRestAPIId' - The identifier of the 'RestApi' resource for the 'Deployment' resource to get information about. ----- * 'gDeploymentId'+-- * 'gDeploymentId' - The identifier of the 'Deployment' resource to get information about. getDeployment :: Text -- ^ 'gRestAPIId' -> Text -- ^ 'gDeploymentId'@@ -70,11 +74,11 @@ , _gDeploymentId = pDeploymentId_ } --- | The identifier of the < RestApi> resource for the < Deployment> resource to get information about.+-- | The identifier of the 'RestApi' resource for the 'Deployment' resource to get information about. gRestAPIId :: Lens' GetDeployment Text gRestAPIId = lens _gRestAPIId (\ s a -> s{_gRestAPIId = a}); --- | The identifier of the < Deployment> resource to get information about.+-- | The identifier of the 'Deployment' resource to get information about. gDeploymentId :: Lens' GetDeployment Text gDeploymentId = lens _gDeploymentId (\ s a -> s{_gDeploymentId = a});
gen/Network/AWS/APIGateway/GetDeployments.hs view
@@ -18,8 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about a < Deployments> collection.+-- Gets information about a 'Deployments' collection. --+--+-- -- This operation returns paginated results. module Network.AWS.APIGateway.GetDeployments (@@ -48,8 +50,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to get information about a < Deployments> collection.+-- | Requests Amazon API Gateway to get information about a 'Deployments' collection. --+--+-- -- /See:/ 'getDeployments' smart constructor. data GetDeployments = GetDeployments' { _gdLimit :: !(Maybe Int)@@ -61,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gdLimit'+-- * 'gdLimit' - The maximum number of 'Deployment' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. ----- * 'gdPosition'+-- * 'gdPosition' - The position of the current 'Deployment' resource in the collection to get information about. ----- * 'gdRestAPIId'+-- * 'gdRestAPIId' - The identifier of the 'RestApi' resource for the collection of 'Deployment' resources to get information about. getDeployments :: Text -- ^ 'gdRestAPIId' -> GetDeployments@@ -76,15 +80,15 @@ , _gdRestAPIId = pRestAPIId_ } --- | The maximum number of < Deployment> resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.+-- | The maximum number of 'Deployment' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. gdLimit :: Lens' GetDeployments (Maybe Int) gdLimit = lens _gdLimit (\ s a -> s{_gdLimit = a}); --- | The position of the current < Deployment> resource in the collection to get information about.+-- | The position of the current 'Deployment' resource in the collection to get information about. gdPosition :: Lens' GetDeployments (Maybe Text) gdPosition = lens _gdPosition (\ s a -> s{_gdPosition = a}); --- | The identifier of the < RestApi> resource for the collection of < Deployment> resources to get information about.+-- | The identifier of the 'RestApi' resource for the collection of 'Deployment' resources to get information about. gdRestAPIId :: Lens' GetDeployments Text gdRestAPIId = lens _gdRestAPIId (\ s a -> s{_gdRestAPIId = a}); @@ -127,9 +131,8 @@ -- | Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments. ----- To create a new deployment of a < RestApi>, make a 'POST' request against this resource. To view, update, or delete an existing deployment, make a 'GET', 'PATCH', or 'DELETE' request, respectively, on a specified < Deployment> resource. ----- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-deploy-api.html Deploying an API>, <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-deployment.html AWS CLI>, <https://aws.amazon.com/tools/ AWS SDKs>+-- To create a new deployment of a 'RestApi' , make a @POST@ request against this resource. To view, update, or delete an existing deployment, make a @GET@ , @PATCH@ , or @DELETE@ request, respectively, on a specified 'Deployment' resource.<http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-deploy-api.html Deploying an API> , <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-deployment.html AWS CLI> , <https://aws.amazon.com/tools/ AWS SDKs> -- -- /See:/ 'getDeploymentsResponse' smart constructor. data GetDeploymentsResponse = GetDeploymentsResponse'@@ -142,11 +145,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gdrsItems'+-- * 'gdrsItems' - The current page of any 'Deployment' resources in the collection of deployment resources. ----- * 'gdrsPosition'+-- * 'gdrsPosition' - Undocumented member. ----- * 'gdrsResponseStatus'+-- * 'gdrsResponseStatus' - -- | The response status code. getDeploymentsResponse :: Int -- ^ 'gdrsResponseStatus' -> GetDeploymentsResponse@@ -157,7 +160,7 @@ , _gdrsResponseStatus = pResponseStatus_ } --- | The current page of any < Deployment> resources in the collection of deployment resources.+-- | The current page of any 'Deployment' resources in the collection of deployment resources. gdrsItems :: Lens' GetDeploymentsResponse [Deployment] gdrsItems = lens _gdrsItems (\ s a -> s{_gdrsItems = a}) . _Default . _Coerce; @@ -165,7 +168,7 @@ gdrsPosition :: Lens' GetDeploymentsResponse (Maybe Text) gdrsPosition = lens _gdrsPosition (\ s a -> s{_gdrsPosition = a}); --- | The response status code.+-- | -- | The response status code. gdrsResponseStatus :: Lens' GetDeploymentsResponse Int gdrsResponseStatus = lens _gdrsResponseStatus (\ s a -> s{_gdrsResponseStatus = a});
+ gen/Network/AWS/APIGateway/GetDocumentationPart.hs view
@@ -0,0 +1,105 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.GetDocumentationPart+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.GetDocumentationPart+ (+ -- * Creating a Request+ getDocumentationPart+ , GetDocumentationPart+ -- * Request Lenses+ , getRestAPIId+ , getDocumentationPartId++ -- * Destructuring the Response+ , documentationPart+ , DocumentationPart+ -- * Response Lenses+ , dpLocation+ , dpId+ , dpProperties+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Gets a specified documentation part of a given API.+--+--+--+-- /See:/ 'getDocumentationPart' smart constructor.+data GetDocumentationPart = GetDocumentationPart'+ { _getRestAPIId :: !Text+ , _getDocumentationPartId :: !Text+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'GetDocumentationPart' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'getRestAPIId' - [Required] The identifier of an API of the to-be-retrieved documentation part.+--+-- * 'getDocumentationPartId' - [Required] The identifier of the to-be-retrieved documentation part.+getDocumentationPart+ :: Text -- ^ 'getRestAPIId'+ -> Text -- ^ 'getDocumentationPartId'+ -> GetDocumentationPart+getDocumentationPart pRestAPIId_ pDocumentationPartId_ =+ GetDocumentationPart'+ { _getRestAPIId = pRestAPIId_+ , _getDocumentationPartId = pDocumentationPartId_+ }++-- | [Required] The identifier of an API of the to-be-retrieved documentation part.+getRestAPIId :: Lens' GetDocumentationPart Text+getRestAPIId = lens _getRestAPIId (\ s a -> s{_getRestAPIId = a});++-- | [Required] The identifier of the to-be-retrieved documentation part.+getDocumentationPartId :: Lens' GetDocumentationPart Text+getDocumentationPartId = lens _getDocumentationPartId (\ s a -> s{_getDocumentationPartId = a});++instance AWSRequest GetDocumentationPart where+ type Rs GetDocumentationPart = DocumentationPart+ request = get apiGateway+ response = receiveJSON (\ s h x -> eitherParseJSON x)++instance Hashable GetDocumentationPart++instance NFData GetDocumentationPart++instance ToHeaders GetDocumentationPart where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToPath GetDocumentationPart where+ toPath GetDocumentationPart'{..}+ = mconcat+ ["/restapis/", toBS _getRestAPIId,+ "/documentation/parts/",+ toBS _getDocumentationPartId]++instance ToQuery GetDocumentationPart where+ toQuery = const mempty
+ gen/Network/AWS/APIGateway/GetDocumentationParts.hs view
@@ -0,0 +1,194 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.GetDocumentationParts+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.GetDocumentationParts+ (+ -- * Creating a Request+ getDocumentationParts+ , GetDocumentationParts+ -- * Request Lenses+ , gdpPath+ , gdpNameQuery+ , gdpLimit+ , gdpType+ , gdpPosition+ , gdpRestAPIId++ -- * Destructuring the Response+ , getDocumentationPartsResponse+ , GetDocumentationPartsResponse+ -- * Response Lenses+ , gdprsItems+ , gdprsPosition+ , gdprsResponseStatus+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).+--+--+--+-- /See:/ 'getDocumentationParts' smart constructor.+data GetDocumentationParts = GetDocumentationParts'+ { _gdpPath :: !(Maybe Text)+ , _gdpNameQuery :: !(Maybe Text)+ , _gdpLimit :: !(Maybe Int)+ , _gdpType :: !(Maybe DocumentationPartType)+ , _gdpPosition :: !(Maybe Text)+ , _gdpRestAPIId :: !Text+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'GetDocumentationParts' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gdpPath' - The path of API entities of the to-be-retrieved documentation parts.+--+-- * 'gdpNameQuery' - The name of API entities of the to-be-retrieved documentation parts.+--+-- * 'gdpLimit' - The size of the paged results.+--+-- * 'gdpType' - The type of API entities of the to-be-retrieved documentation parts.+--+-- * 'gdpPosition' - The position of the to-be-retrieved documentation part in the 'DocumentationParts' collection.+--+-- * 'gdpRestAPIId' - [Required] The identifier of the API of the to-be-retrieved documentation parts.+getDocumentationParts+ :: Text -- ^ 'gdpRestAPIId'+ -> GetDocumentationParts+getDocumentationParts pRestAPIId_ =+ GetDocumentationParts'+ { _gdpPath = Nothing+ , _gdpNameQuery = Nothing+ , _gdpLimit = Nothing+ , _gdpType = Nothing+ , _gdpPosition = Nothing+ , _gdpRestAPIId = pRestAPIId_+ }++-- | The path of API entities of the to-be-retrieved documentation parts.+gdpPath :: Lens' GetDocumentationParts (Maybe Text)+gdpPath = lens _gdpPath (\ s a -> s{_gdpPath = a});++-- | The name of API entities of the to-be-retrieved documentation parts.+gdpNameQuery :: Lens' GetDocumentationParts (Maybe Text)+gdpNameQuery = lens _gdpNameQuery (\ s a -> s{_gdpNameQuery = a});++-- | The size of the paged results.+gdpLimit :: Lens' GetDocumentationParts (Maybe Int)+gdpLimit = lens _gdpLimit (\ s a -> s{_gdpLimit = a});++-- | The type of API entities of the to-be-retrieved documentation parts.+gdpType :: Lens' GetDocumentationParts (Maybe DocumentationPartType)+gdpType = lens _gdpType (\ s a -> s{_gdpType = a});++-- | The position of the to-be-retrieved documentation part in the 'DocumentationParts' collection.+gdpPosition :: Lens' GetDocumentationParts (Maybe Text)+gdpPosition = lens _gdpPosition (\ s a -> s{_gdpPosition = a});++-- | [Required] The identifier of the API of the to-be-retrieved documentation parts.+gdpRestAPIId :: Lens' GetDocumentationParts Text+gdpRestAPIId = lens _gdpRestAPIId (\ s a -> s{_gdpRestAPIId = a});++instance AWSRequest GetDocumentationParts where+ type Rs GetDocumentationParts =+ GetDocumentationPartsResponse+ request = get apiGateway+ response+ = receiveJSON+ (\ s h x ->+ GetDocumentationPartsResponse' <$>+ (x .?> "item" .!@ mempty) <*> (x .?> "position") <*>+ (pure (fromEnum s)))++instance Hashable GetDocumentationParts++instance NFData GetDocumentationParts++instance ToHeaders GetDocumentationParts where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToPath GetDocumentationParts where+ toPath GetDocumentationParts'{..}+ = mconcat+ ["/restapis/", toBS _gdpRestAPIId,+ "/documentation/parts"]++instance ToQuery GetDocumentationParts where+ toQuery GetDocumentationParts'{..}+ = mconcat+ ["path" =: _gdpPath, "name" =: _gdpNameQuery,+ "limit" =: _gdpLimit, "type" =: _gdpType,+ "position" =: _gdpPosition]++-- | The collection of documentation parts of an API.+--+--+-- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html Documenting an API> , 'DocumentationPart'+--+-- /See:/ 'getDocumentationPartsResponse' smart constructor.+data GetDocumentationPartsResponse = GetDocumentationPartsResponse'+ { _gdprsItems :: !(Maybe [DocumentationPart])+ , _gdprsPosition :: !(Maybe Text)+ , _gdprsResponseStatus :: !Int+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'GetDocumentationPartsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gdprsItems' - The current page of 'DocumentationPart' resources in the 'DocumentationParts' collection.+--+-- * 'gdprsPosition' - Undocumented member.+--+-- * 'gdprsResponseStatus' - -- | The response status code.+getDocumentationPartsResponse+ :: Int -- ^ 'gdprsResponseStatus'+ -> GetDocumentationPartsResponse+getDocumentationPartsResponse pResponseStatus_ =+ GetDocumentationPartsResponse'+ { _gdprsItems = Nothing+ , _gdprsPosition = Nothing+ , _gdprsResponseStatus = pResponseStatus_+ }++-- | The current page of 'DocumentationPart' resources in the 'DocumentationParts' collection.+gdprsItems :: Lens' GetDocumentationPartsResponse [DocumentationPart]+gdprsItems = lens _gdprsItems (\ s a -> s{_gdprsItems = a}) . _Default . _Coerce;++-- | Undocumented member.+gdprsPosition :: Lens' GetDocumentationPartsResponse (Maybe Text)+gdprsPosition = lens _gdprsPosition (\ s a -> s{_gdprsPosition = a});++-- | -- | The response status code.+gdprsResponseStatus :: Lens' GetDocumentationPartsResponse Int+gdprsResponseStatus = lens _gdprsResponseStatus (\ s a -> s{_gdprsResponseStatus = a});++instance NFData GetDocumentationPartsResponse
+ gen/Network/AWS/APIGateway/GetDocumentationVersion.hs view
@@ -0,0 +1,106 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.GetDocumentationVersion+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.GetDocumentationVersion+ (+ -- * Creating a Request+ getDocumentationVersion+ , GetDocumentationVersion+ -- * Request Lenses+ , gdvdRestAPIId+ , gdvdDocumentationVersion++ -- * Destructuring the Response+ , documentationVersion+ , DocumentationVersion+ -- * Response Lenses+ , dvCreatedDate+ , dvVersion+ , dvDescription+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Gets a documentation snapshot of an API.+--+--+--+-- /See:/ 'getDocumentationVersion' smart constructor.+data GetDocumentationVersion = GetDocumentationVersion'+ { _gdvdRestAPIId :: !Text+ , _gdvdDocumentationVersion :: !Text+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'GetDocumentationVersion' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gdvdRestAPIId' - [Required] The identifier of the API of the to-be-retrieved documentation snapshot.+--+-- * 'gdvdDocumentationVersion' - [Required] The version identifier of the to-be-retrieved documentation snapshot.+getDocumentationVersion+ :: Text -- ^ 'gdvdRestAPIId'+ -> Text -- ^ 'gdvdDocumentationVersion'+ -> GetDocumentationVersion+getDocumentationVersion pRestAPIId_ pDocumentationVersion_ =+ GetDocumentationVersion'+ { _gdvdRestAPIId = pRestAPIId_+ , _gdvdDocumentationVersion = pDocumentationVersion_+ }++-- | [Required] The identifier of the API of the to-be-retrieved documentation snapshot.+gdvdRestAPIId :: Lens' GetDocumentationVersion Text+gdvdRestAPIId = lens _gdvdRestAPIId (\ s a -> s{_gdvdRestAPIId = a});++-- | [Required] The version identifier of the to-be-retrieved documentation snapshot.+gdvdDocumentationVersion :: Lens' GetDocumentationVersion Text+gdvdDocumentationVersion = lens _gdvdDocumentationVersion (\ s a -> s{_gdvdDocumentationVersion = a});++instance AWSRequest GetDocumentationVersion where+ type Rs GetDocumentationVersion =+ DocumentationVersion+ request = get apiGateway+ response = receiveJSON (\ s h x -> eitherParseJSON x)++instance Hashable GetDocumentationVersion++instance NFData GetDocumentationVersion++instance ToHeaders GetDocumentationVersion where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToPath GetDocumentationVersion where+ toPath GetDocumentationVersion'{..}+ = mconcat+ ["/restapis/", toBS _gdvdRestAPIId,+ "/documentation/versions/",+ toBS _gdvdDocumentationVersion]++instance ToQuery GetDocumentationVersion where+ toQuery = const mempty
+ gen/Network/AWS/APIGateway/GetDocumentationVersions.hs view
@@ -0,0 +1,167 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.GetDocumentationVersions+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.GetDocumentationVersions+ (+ -- * Creating a Request+ getDocumentationVersions+ , GetDocumentationVersions+ -- * Request Lenses+ , gdvLimit+ , gdvPosition+ , gdvRestAPIId++ -- * Destructuring the Response+ , getDocumentationVersionsResponse+ , GetDocumentationVersionsResponse+ -- * Response Lenses+ , gdvrsItems+ , gdvrsPosition+ , gdvrsResponseStatus+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Gets the documentation versions of an API.+--+--+--+-- /See:/ 'getDocumentationVersions' smart constructor.+data GetDocumentationVersions = GetDocumentationVersions'+ { _gdvLimit :: !(Maybe Int)+ , _gdvPosition :: !(Maybe Text)+ , _gdvRestAPIId :: !Text+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'GetDocumentationVersions' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gdvLimit' - The page size of the returned documentation versions.+--+-- * 'gdvPosition' - The position of the returned @DocumentationVersion@ in the 'DocumentationVersions' collection.+--+-- * 'gdvRestAPIId' - [Required] The identifier of an API of the to-be-retrieved documentation versions.+getDocumentationVersions+ :: Text -- ^ 'gdvRestAPIId'+ -> GetDocumentationVersions+getDocumentationVersions pRestAPIId_ =+ GetDocumentationVersions'+ { _gdvLimit = Nothing+ , _gdvPosition = Nothing+ , _gdvRestAPIId = pRestAPIId_+ }++-- | The page size of the returned documentation versions.+gdvLimit :: Lens' GetDocumentationVersions (Maybe Int)+gdvLimit = lens _gdvLimit (\ s a -> s{_gdvLimit = a});++-- | The position of the returned @DocumentationVersion@ in the 'DocumentationVersions' collection.+gdvPosition :: Lens' GetDocumentationVersions (Maybe Text)+gdvPosition = lens _gdvPosition (\ s a -> s{_gdvPosition = a});++-- | [Required] The identifier of an API of the to-be-retrieved documentation versions.+gdvRestAPIId :: Lens' GetDocumentationVersions Text+gdvRestAPIId = lens _gdvRestAPIId (\ s a -> s{_gdvRestAPIId = a});++instance AWSRequest GetDocumentationVersions where+ type Rs GetDocumentationVersions =+ GetDocumentationVersionsResponse+ request = get apiGateway+ response+ = receiveJSON+ (\ s h x ->+ GetDocumentationVersionsResponse' <$>+ (x .?> "item" .!@ mempty) <*> (x .?> "position") <*>+ (pure (fromEnum s)))++instance Hashable GetDocumentationVersions++instance NFData GetDocumentationVersions++instance ToHeaders GetDocumentationVersions where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToPath GetDocumentationVersions where+ toPath GetDocumentationVersions'{..}+ = mconcat+ ["/restapis/", toBS _gdvRestAPIId,+ "/documentation/versions"]++instance ToQuery GetDocumentationVersions where+ toQuery GetDocumentationVersions'{..}+ = mconcat+ ["limit" =: _gdvLimit, "position" =: _gdvPosition]++-- | The collection of documentation snapshots of an API.+--+--+-- Use the 'DocumentationVersions' to manage documentation snapshots associated with various API stages.+--+-- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html Documenting an API> , 'DocumentationPart' , 'DocumentationVersion'+--+-- /See:/ 'getDocumentationVersionsResponse' smart constructor.+data GetDocumentationVersionsResponse = GetDocumentationVersionsResponse'+ { _gdvrsItems :: !(Maybe [DocumentationVersion])+ , _gdvrsPosition :: !(Maybe Text)+ , _gdvrsResponseStatus :: !Int+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'GetDocumentationVersionsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'gdvrsItems' - The current page of 'DocumentationVersion' items from the 'DocumentationVersions' collection of an API.+--+-- * 'gdvrsPosition' - Undocumented member.+--+-- * 'gdvrsResponseStatus' - -- | The response status code.+getDocumentationVersionsResponse+ :: Int -- ^ 'gdvrsResponseStatus'+ -> GetDocumentationVersionsResponse+getDocumentationVersionsResponse pResponseStatus_ =+ GetDocumentationVersionsResponse'+ { _gdvrsItems = Nothing+ , _gdvrsPosition = Nothing+ , _gdvrsResponseStatus = pResponseStatus_+ }++-- | The current page of 'DocumentationVersion' items from the 'DocumentationVersions' collection of an API.+gdvrsItems :: Lens' GetDocumentationVersionsResponse [DocumentationVersion]+gdvrsItems = lens _gdvrsItems (\ s a -> s{_gdvrsItems = a}) . _Default . _Coerce;++-- | Undocumented member.+gdvrsPosition :: Lens' GetDocumentationVersionsResponse (Maybe Text)+gdvrsPosition = lens _gdvrsPosition (\ s a -> s{_gdvrsPosition = a});++-- | -- | The response status code.+gdvrsResponseStatus :: Lens' GetDocumentationVersionsResponse Int+gdvrsResponseStatus = lens _gdvrsResponseStatus (\ s a -> s{_gdvrsResponseStatus = a});++instance NFData GetDocumentationVersionsResponse
gen/Network/AWS/APIGateway/GetDomainName.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Represents a domain name that is contained in a simpler, more intuitive URL that can be called.+--+-- module Network.AWS.APIGateway.GetDomainName ( -- * Creating a Request@@ -44,8 +46,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to get the name of a < DomainName> resource.+-- | Request to get the name of a 'DomainName' resource. --+--+-- -- /See:/ 'getDomainName' smart constructor. newtype GetDomainName = GetDomainName' { _gdnDomainName :: Text@@ -55,7 +59,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gdnDomainName'+-- * 'gdnDomainName' - The name of the 'DomainName' resource. getDomainName :: Text -- ^ 'gdnDomainName' -> GetDomainName@@ -64,7 +68,7 @@ { _gdnDomainName = pDomainName_ } --- | The name of the < DomainName> resource.+-- | The name of the 'DomainName' resource. gdnDomainName :: Lens' GetDomainName Text gdnDomainName = lens _gdnDomainName (\ s a -> s{_gdnDomainName = a});
gen/Network/AWS/APIGateway/GetDomainNames.hs view
@@ -18,8 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Represents a collection of < DomainName> resources.+-- Represents a collection of 'DomainName' resources. --+--+-- -- This operation returns paginated results. module Network.AWS.APIGateway.GetDomainNames (@@ -47,8 +49,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to describe a collection of < DomainName> resources.+-- | Request to describe a collection of 'DomainName' resources. --+--+-- -- /See:/ 'getDomainNames' smart constructor. data GetDomainNames = GetDomainNames' { _gdnLimit :: !(Maybe Int)@@ -59,9 +63,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gdnLimit'+-- * 'gdnLimit' - The maximum number of 'DomainName' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. ----- * 'gdnPosition'+-- * 'gdnPosition' - The position of the current domain names to get information about. getDomainNames :: GetDomainNames getDomainNames =@@ -70,7 +74,7 @@ , _gdnPosition = Nothing } --- | The maximum number of < DomainName> resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.+-- | The maximum number of 'DomainName' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. gdnLimit :: Lens' GetDomainNames (Maybe Int) gdnLimit = lens _gdnLimit (\ s a -> s{_gdnLimit = a}); @@ -113,8 +117,9 @@ = mconcat ["limit" =: _gdnLimit, "position" =: _gdnPosition] --- | Represents a collection of < DomainName> resources.+-- | Represents a collection of 'DomainName' resources. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html Use Client-Side Certificate> -- -- /See:/ 'getDomainNamesResponse' smart constructor.@@ -128,11 +133,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gdnrsItems'+-- * 'gdnrsItems' - The current page of any 'DomainName' resources in the collection of 'DomainName' resources. ----- * 'gdnrsPosition'+-- * 'gdnrsPosition' - Undocumented member. ----- * 'gdnrsResponseStatus'+-- * 'gdnrsResponseStatus' - -- | The response status code. getDomainNamesResponse :: Int -- ^ 'gdnrsResponseStatus' -> GetDomainNamesResponse@@ -143,7 +148,7 @@ , _gdnrsResponseStatus = pResponseStatus_ } --- | The current page of any < DomainName> resources in the collection of < DomainName> resources.+-- | The current page of any 'DomainName' resources in the collection of 'DomainName' resources. gdnrsItems :: Lens' GetDomainNamesResponse [DomainName] gdnrsItems = lens _gdnrsItems (\ s a -> s{_gdnrsItems = a}) . _Default . _Coerce; @@ -151,7 +156,7 @@ gdnrsPosition :: Lens' GetDomainNamesResponse (Maybe Text) gdnrsPosition = lens _gdnrsPosition (\ s a -> s{_gdnrsPosition = a}); --- | The response status code.+-- | -- | The response status code. gdnrsResponseStatus :: Lens' GetDomainNamesResponse Int gdnrsResponseStatus = lens _gdnrsResponseStatus (\ s a -> s{_gdnrsResponseStatus = a});
gen/Network/AWS/APIGateway/GetExport.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Exports a deployed version of a < RestApi> in a specified format.+-- Exports a deployed version of a 'RestApi' in a specified format.+--+-- module Network.AWS.APIGateway.GetExport ( -- * Creating a Request@@ -48,8 +50,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request a new export of a < RestApi> for a particular < Stage>.+-- | Request a new export of a 'RestApi' for a particular 'Stage' . --+--+-- -- /See:/ 'getExport' smart constructor. data GetExport = GetExport' { _geParameters :: !(Maybe (Map Text Text))@@ -63,15 +67,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'geParameters'+-- * 'geParameters' - A key-value map of query string parameters that specify properties of the export, depending on the requested @exportType@ . For @exportType@ @swagger@ , any combination of the following parameters are supported: @integrations@ will export the API with x-amazon-apigateway-integration extensions. @authorizers@ will export the API with x-amazon-apigateway-authorizer extensions. @postman@ will export the API with Postman extensions, allowing for import to the Postman tool ----- * 'geAccepts'+-- * 'geAccepts' - The content-type of the export, for example @application/json@ . Currently @application/json@ and @application/yaml@ are supported for @exportType@ of @swagger@ . This should be specified in the @Accept@ header for direct API requests. ----- * 'geRestAPIId'+-- * 'geRestAPIId' - The identifier of the 'RestApi' to be exported. ----- * 'geStageName'+-- * 'geStageName' - The name of the 'Stage' that will be exported. ----- * 'geExportType'+-- * 'geExportType' - The type of export. Currently only 'swagger' is supported. getExport :: Text -- ^ 'geRestAPIId' -> Text -- ^ 'geStageName'@@ -86,23 +90,23 @@ , _geExportType = pExportType_ } --- | A key-value map of query string parameters that specify properties of the export, depending on the requested 'exportType'. For 'exportType' 'swagger', any combination of the following parameters are supported: 'integrations' will export the API with x-amazon-apigateway-integration extensions. 'authorizers' will export the API with x-amazon-apigateway-authorizer extensions. 'postman' will export the API with Postman extensions, allowing for import to the Postman tool+-- | A key-value map of query string parameters that specify properties of the export, depending on the requested @exportType@ . For @exportType@ @swagger@ , any combination of the following parameters are supported: @integrations@ will export the API with x-amazon-apigateway-integration extensions. @authorizers@ will export the API with x-amazon-apigateway-authorizer extensions. @postman@ will export the API with Postman extensions, allowing for import to the Postman tool geParameters :: Lens' GetExport (HashMap Text Text) geParameters = lens _geParameters (\ s a -> s{_geParameters = a}) . _Default . _Map; --- | The content-type of the export, for example 'application\/json'. Currently 'application\/json' and 'application\/yaml' are supported for 'exportType' of 'swagger'. This should be specified in the 'Accept' header for direct API requests.+-- | The content-type of the export, for example @application/json@ . Currently @application/json@ and @application/yaml@ are supported for @exportType@ of @swagger@ . This should be specified in the @Accept@ header for direct API requests. geAccepts :: Lens' GetExport (Maybe Text) geAccepts = lens _geAccepts (\ s a -> s{_geAccepts = a}); --- | The identifier of the < RestApi> to be exported.+-- | The identifier of the 'RestApi' to be exported. geRestAPIId :: Lens' GetExport Text geRestAPIId = lens _geRestAPIId (\ s a -> s{_geRestAPIId = a}); --- | The name of the < Stage> that will be exported.+-- | The name of the 'Stage' that will be exported. geStageName :: Lens' GetExport Text geStageName = lens _geStageName (\ s a -> s{_geStageName = a}); --- | The type of export. Currently only \'swagger\' is supported.+-- | The type of export. Currently only 'swagger' is supported. geExportType :: Lens' GetExport Text geExportType = lens _geExportType (\ s a -> s{_geExportType = a}); @@ -140,8 +144,10 @@ toQuery (toQueryMap "entry" "key" "value" <$> _geParameters)] --- | The binary blob response to < GetExport>, which contains the generated SDK.+-- | The binary blob response to 'GetExport' , which contains the generated SDK. --+--+-- -- /See:/ 'getExportResponse' smart constructor. data GetExportResponse = GetExportResponse' { _gersBody :: !(Maybe (HashMap Text Value))@@ -154,13 +160,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gersBody'+-- * 'gersBody' - The binary blob response to 'GetExport' , which contains the export. ----- * 'gersContentDisposition'+-- * 'gersContentDisposition' - The content-disposition header value in the HTTP response. ----- * 'gersContentType'+-- * 'gersContentType' - The content-type header value in the HTTP response. This will correspond to a valid 'accept' type in the request. ----- * 'gersResponseStatus'+-- * 'gersResponseStatus' - -- | The response status code. getExportResponse :: Int -- ^ 'gersResponseStatus' -> GetExportResponse@@ -172,7 +178,7 @@ , _gersResponseStatus = pResponseStatus_ } --- | The binary blob response to < GetExport>, which contains the export.+-- | The binary blob response to 'GetExport' , which contains the export. gersBody :: Lens' GetExportResponse (Maybe (HashMap Text Value)) gersBody = lens _gersBody (\ s a -> s{_gersBody = a}); @@ -180,11 +186,11 @@ gersContentDisposition :: Lens' GetExportResponse (Maybe Text) gersContentDisposition = lens _gersContentDisposition (\ s a -> s{_gersContentDisposition = a}); --- | The content-type header value in the HTTP response. This will correspond to a valid \'accept\' type in the request.+-- | The content-type header value in the HTTP response. This will correspond to a valid 'accept' type in the request. gersContentType :: Lens' GetExportResponse (Maybe Text) gersContentType = lens _gersContentType (\ s a -> s{_gersContentType = a}); --- | The response status code.+-- | -- | The response status code. gersResponseStatus :: Lens' GetExportResponse Int gersResponseStatus = lens _gersResponseStatus (\ s a -> s{_gersResponseStatus = a});
gen/Network/AWS/APIGateway/GetIntegration.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Represents a get integration.+--+-- module Network.AWS.APIGateway.GetIntegration ( -- * Creating a Request@@ -37,6 +39,7 @@ , iRequestTemplates , iCredentials , iRequestParameters+ , iContentHandling , iPassthroughBehavior , iUri , iIntegrationResponses@@ -54,6 +57,8 @@ -- | Represents a get integration request. --+--+-- -- /See:/ 'getIntegration' smart constructor. data GetIntegration = GetIntegration' { _giRestAPIId :: !Text@@ -65,11 +70,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'giRestAPIId'+-- * 'giRestAPIId' - Specifies a get integration request's API identifier. ----- * 'giResourceId'+-- * 'giResourceId' - Specifies a get integration request's resource identifier ----- * 'giHttpMethod'+-- * 'giHttpMethod' - Specifies a get integration request's HTTP method. getIntegration :: Text -- ^ 'giRestAPIId' -> Text -- ^ 'giResourceId'@@ -82,15 +87,15 @@ , _giHttpMethod = pHttpMethod_ } --- | Specifies a get integration request\'s API identifier.+-- | Specifies a get integration request's API identifier. giRestAPIId :: Lens' GetIntegration Text giRestAPIId = lens _giRestAPIId (\ s a -> s{_giRestAPIId = a}); --- | Specifies a get integration request\'s resource identifier+-- | Specifies a get integration request's resource identifier giResourceId :: Lens' GetIntegration Text giResourceId = lens _giResourceId (\ s a -> s{_giResourceId = a}); --- | Specifies a get integration request\'s HTTP method.+-- | Specifies a get integration request's HTTP method. giHttpMethod :: Lens' GetIntegration Text giHttpMethod = lens _giHttpMethod (\ s a -> s{_giHttpMethod = a});
gen/Network/AWS/APIGateway/GetIntegrationResponse.hs view
@@ -19,25 +19,28 @@ -- Portability : non-portable (GHC extensions) -- -- Represents a get integration response.+--+-- module Network.AWS.APIGateway.GetIntegrationResponse ( -- * Creating a Request getIntegrationResponse , GetIntegrationResponse -- * Request Lenses- , getRestAPIId- , getResourceId- , getHttpMethod- , getStatusCode+ , giiRestAPIId+ , giiResourceId+ , giiHttpMethod+ , giiStatusCode -- * Destructuring the Response , integrationResponse , IntegrationResponse -- * Response Lenses- , iResponseTemplates- , iSelectionPattern- , iStatusCode- , iResponseParameters+ , intContentHandling+ , intResponseTemplates+ , intSelectionPattern+ , intStatusCode+ , intResponseParameters ) where import Network.AWS.APIGateway.Types@@ -49,54 +52,56 @@ -- | Represents a get integration response request. --+--+-- -- /See:/ 'getIntegrationResponse' smart constructor. data GetIntegrationResponse = GetIntegrationResponse'- { _getRestAPIId :: !Text- , _getResourceId :: !Text- , _getHttpMethod :: !Text- , _getStatusCode :: !Text+ { _giiRestAPIId :: !Text+ , _giiResourceId :: !Text+ , _giiHttpMethod :: !Text+ , _giiStatusCode :: !Text } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'GetIntegrationResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'getRestAPIId'+-- * 'giiRestAPIId' - Specifies a get integration response request's API identifier. ----- * 'getResourceId'+-- * 'giiResourceId' - Specifies a get integration response request's resource identifier. ----- * 'getHttpMethod'+-- * 'giiHttpMethod' - Specifies a get integration response request's HTTP method. ----- * 'getStatusCode'+-- * 'giiStatusCode' - Specifies a get integration response request's status code. getIntegrationResponse- :: Text -- ^ 'getRestAPIId'- -> Text -- ^ 'getResourceId'- -> Text -- ^ 'getHttpMethod'- -> Text -- ^ 'getStatusCode'+ :: Text -- ^ 'giiRestAPIId'+ -> Text -- ^ 'giiResourceId'+ -> Text -- ^ 'giiHttpMethod'+ -> Text -- ^ 'giiStatusCode' -> GetIntegrationResponse getIntegrationResponse pRestAPIId_ pResourceId_ pHttpMethod_ pStatusCode_ = GetIntegrationResponse'- { _getRestAPIId = pRestAPIId_- , _getResourceId = pResourceId_- , _getHttpMethod = pHttpMethod_- , _getStatusCode = pStatusCode_+ { _giiRestAPIId = pRestAPIId_+ , _giiResourceId = pResourceId_+ , _giiHttpMethod = pHttpMethod_+ , _giiStatusCode = pStatusCode_ } --- | Specifies a get integration response request\'s API identifier.-getRestAPIId :: Lens' GetIntegrationResponse Text-getRestAPIId = lens _getRestAPIId (\ s a -> s{_getRestAPIId = a});+-- | Specifies a get integration response request's API identifier.+giiRestAPIId :: Lens' GetIntegrationResponse Text+giiRestAPIId = lens _giiRestAPIId (\ s a -> s{_giiRestAPIId = a}); --- | Specifies a get integration response request\'s resource identifier.-getResourceId :: Lens' GetIntegrationResponse Text-getResourceId = lens _getResourceId (\ s a -> s{_getResourceId = a});+-- | Specifies a get integration response request's resource identifier.+giiResourceId :: Lens' GetIntegrationResponse Text+giiResourceId = lens _giiResourceId (\ s a -> s{_giiResourceId = a}); --- | Specifies a get integration response request\'s HTTP method.-getHttpMethod :: Lens' GetIntegrationResponse Text-getHttpMethod = lens _getHttpMethod (\ s a -> s{_getHttpMethod = a});+-- | Specifies a get integration response request's HTTP method.+giiHttpMethod :: Lens' GetIntegrationResponse Text+giiHttpMethod = lens _giiHttpMethod (\ s a -> s{_giiHttpMethod = a}); --- | Specifies a get integration response request\'s status code.-getStatusCode :: Lens' GetIntegrationResponse Text-getStatusCode = lens _getStatusCode (\ s a -> s{_getStatusCode = a});+-- | Specifies a get integration response request's status code.+giiStatusCode :: Lens' GetIntegrationResponse Text+giiStatusCode = lens _giiStatusCode (\ s a -> s{_giiStatusCode = a}); instance AWSRequest GetIntegrationResponse where type Rs GetIntegrationResponse = IntegrationResponse@@ -116,10 +121,10 @@ instance ToPath GetIntegrationResponse where toPath GetIntegrationResponse'{..} = mconcat- ["/restapis/", toBS _getRestAPIId, "/resources/",- toBS _getResourceId, "/methods/",- toBS _getHttpMethod, "/integration/responses/",- toBS _getStatusCode]+ ["/restapis/", toBS _giiRestAPIId, "/resources/",+ toBS _giiResourceId, "/methods/",+ toBS _giiHttpMethod, "/integration/responses/",+ toBS _giiStatusCode] instance ToQuery GetIntegrationResponse where toQuery = const mempty
gen/Network/AWS/APIGateway/GetMethod.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describe an existing < Method> resource.+-- Describe an existing 'Method' resource.+--+-- module Network.AWS.APIGateway.GetMethod ( -- * Creating a Request@@ -50,8 +52,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to describe an existing < Method> resource.+-- | Request to describe an existing 'Method' resource. --+--+-- -- /See:/ 'getMethod' smart constructor. data GetMethod = GetMethod' { _gmmRestAPIId :: !Text@@ -63,11 +67,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gmmRestAPIId'+-- * 'gmmRestAPIId' - The 'RestApi' identifier for the 'Method' resource. ----- * 'gmmResourceId'+-- * 'gmmResourceId' - The 'Resource' identifier for the 'Method' resource. ----- * 'gmmHttpMethod'+-- * 'gmmHttpMethod' - Specifies the method request's HTTP method type. getMethod :: Text -- ^ 'gmmRestAPIId' -> Text -- ^ 'gmmResourceId'@@ -80,15 +84,15 @@ , _gmmHttpMethod = pHttpMethod_ } --- | The < RestApi> identifier for the < Method> resource.+-- | The 'RestApi' identifier for the 'Method' resource. gmmRestAPIId :: Lens' GetMethod Text gmmRestAPIId = lens _gmmRestAPIId (\ s a -> s{_gmmRestAPIId = a}); --- | The < Resource> identifier for the < Method> resource.+-- | The 'Resource' identifier for the 'Method' resource. gmmResourceId :: Lens' GetMethod Text gmmResourceId = lens _gmmResourceId (\ s a -> s{_gmmResourceId = a}); --- | Specifies the method request\'s HTTP method type.+-- | Specifies the method request's HTTP method type. gmmHttpMethod :: Lens' GetMethod Text gmmHttpMethod = lens _gmmHttpMethod (\ s a -> s{_gmmHttpMethod = a});
gen/Network/AWS/APIGateway/GetMethodResponse.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes a < MethodResponse> resource.+-- Describes a 'MethodResponse' resource.+--+-- module Network.AWS.APIGateway.GetMethodResponse ( -- * Creating a Request@@ -46,8 +48,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to describe a < MethodResponse> resource.+-- | Request to describe a 'MethodResponse' resource. --+--+-- -- /See:/ 'getMethodResponse' smart constructor. data GetMethodResponse = GetMethodResponse' { _gmRestAPIId :: !Text@@ -60,13 +64,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gmRestAPIId'+-- * 'gmRestAPIId' - The 'RestApi' identifier for the 'MethodResponse' resource. ----- * 'gmResourceId'+-- * 'gmResourceId' - The 'Resource' identifier for the 'MethodResponse' resource. ----- * 'gmHttpMethod'+-- * 'gmHttpMethod' - The HTTP verb of the 'Method' resource. ----- * 'gmStatusCode'+-- * 'gmStatusCode' - The status code for the 'MethodResponse' resource. getMethodResponse :: Text -- ^ 'gmRestAPIId' -> Text -- ^ 'gmResourceId'@@ -81,19 +85,19 @@ , _gmStatusCode = pStatusCode_ } --- | The < RestApi> identifier for the < MethodResponse> resource.+-- | The 'RestApi' identifier for the 'MethodResponse' resource. gmRestAPIId :: Lens' GetMethodResponse Text gmRestAPIId = lens _gmRestAPIId (\ s a -> s{_gmRestAPIId = a}); --- | The < Resource> identifier for the < MethodResponse> resource.+-- | The 'Resource' identifier for the 'MethodResponse' resource. gmResourceId :: Lens' GetMethodResponse Text gmResourceId = lens _gmResourceId (\ s a -> s{_gmResourceId = a}); --- | The HTTP verb of the < Method> resource.+-- | The HTTP verb of the 'Method' resource. gmHttpMethod :: Lens' GetMethodResponse Text gmHttpMethod = lens _gmHttpMethod (\ s a -> s{_gmHttpMethod = a}); --- | The status code for the < MethodResponse> resource.+-- | The status code for the 'MethodResponse' resource. gmStatusCode :: Lens' GetMethodResponse Text gmStatusCode = lens _gmStatusCode (\ s a -> s{_gmStatusCode = a});
gen/Network/AWS/APIGateway/GetModel.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes an existing model defined for a < RestApi> resource.+-- Describes an existing model defined for a 'RestApi' resource.+--+-- module Network.AWS.APIGateway.GetModel ( -- * Creating a Request@@ -47,8 +49,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to list information about a model in an existing < RestApi> resource.+-- | Request to list information about a model in an existing 'RestApi' resource. --+--+-- -- /See:/ 'getModel' smart constructor. data GetModel = GetModel' { _ggFlatten :: !(Maybe Bool)@@ -60,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ggFlatten'+-- * 'ggFlatten' - A query parameter of a Boolean value to resolve (@true@ ) all external model references and returns a flattened model schema or not (@false@ ) The default is @false@ . ----- * 'ggRestAPIId'+-- * 'ggRestAPIId' - The 'RestApi' identifier under which the 'Model' exists. ----- * 'ggModelName'+-- * 'ggModelName' - The name of the model as an identifier. getModel :: Text -- ^ 'ggRestAPIId' -> Text -- ^ 'ggModelName'@@ -76,11 +80,11 @@ , _ggModelName = pModelName_ } --- | A query parameter of a Boolean value to resolve ('true') all external model references and returns a flattened model schema or not ('false') The default is 'false'.+-- | A query parameter of a Boolean value to resolve (@true@ ) all external model references and returns a flattened model schema or not (@false@ ) The default is @false@ . ggFlatten :: Lens' GetModel (Maybe Bool) ggFlatten = lens _ggFlatten (\ s a -> s{_ggFlatten = a}); --- | The < RestApi> identifier under which the < Model> exists.+-- | The 'RestApi' identifier under which the 'Model' exists. ggRestAPIId :: Lens' GetModel Text ggRestAPIId = lens _ggRestAPIId (\ s a -> s{_ggRestAPIId = a});
gen/Network/AWS/APIGateway/GetModelTemplate.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Generates a sample mapping template that can be used to transform a payload into the structure of a model.+--+-- module Network.AWS.APIGateway.GetModelTemplate ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | Request to generate a sample mapping template used to transform the payload. --+--+-- -- /See:/ 'getModelTemplate' smart constructor. data GetModelTemplate = GetModelTemplate' { _gmtRestAPIId :: !Text@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gmtRestAPIId'+-- * 'gmtRestAPIId' - The ID of the 'RestApi' under which the model exists. ----- * 'gmtModelName'+-- * 'gmtModelName' - The name of the model for which to generate a template. getModelTemplate :: Text -- ^ 'gmtRestAPIId' -> Text -- ^ 'gmtModelName'@@ -68,7 +72,7 @@ , _gmtModelName = pModelName_ } --- | The ID of the < RestApi> under which the model exists.+-- | The ID of the 'RestApi' under which the model exists. gmtRestAPIId :: Lens' GetModelTemplate Text gmtRestAPIId = lens _gmtRestAPIId (\ s a -> s{_gmtRestAPIId = a}); @@ -106,6 +110,7 @@ -- | Represents a mapping template used to transform a payload. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html#models-mappings-mappings Mapping Templates> -- -- /See:/ 'getModelTemplateResponse' smart constructor.@@ -118,9 +123,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gmtrsValue'+-- * 'gmtrsValue' - The Apache <http://velocity.apache.org/engine/devel/vtl-reference-guide.html Velocity Template Language (VTL)> template content used for the template resource. ----- * 'gmtrsResponseStatus'+-- * 'gmtrsResponseStatus' - -- | The response status code. getModelTemplateResponse :: Int -- ^ 'gmtrsResponseStatus' -> GetModelTemplateResponse@@ -134,7 +139,7 @@ gmtrsValue :: Lens' GetModelTemplateResponse (Maybe Text) gmtrsValue = lens _gmtrsValue (\ s a -> s{_gmtrsValue = a}); --- | The response status code.+-- | -- | The response status code. gmtrsResponseStatus :: Lens' GetModelTemplateResponse Int gmtrsResponseStatus = lens _gmtrsResponseStatus (\ s a -> s{_gmtrsResponseStatus = a});
gen/Network/AWS/APIGateway/GetModels.hs view
@@ -18,8 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Describes existing < Models> defined for a < RestApi> resource.+-- Describes existing 'Models' defined for a 'RestApi' resource. --+--+-- -- This operation returns paginated results. module Network.AWS.APIGateway.GetModels (@@ -48,8 +50,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to list existing < Models> defined for a < RestApi> resource.+-- | Request to list existing 'Models' defined for a 'RestApi' resource. --+--+-- -- /See:/ 'getModels' smart constructor. data GetModels = GetModels' { _gmsLimit :: !(Maybe Int)@@ -61,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gmsLimit'+-- * 'gmsLimit' - The maximum number of models in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. ----- * 'gmsPosition'+-- * 'gmsPosition' - The position of the next set of results in the 'Models' resource to get information about. ----- * 'gmsRestAPIId'+-- * 'gmsRestAPIId' - The 'RestApi' identifier. getModels :: Text -- ^ 'gmsRestAPIId' -> GetModels@@ -80,11 +84,11 @@ gmsLimit :: Lens' GetModels (Maybe Int) gmsLimit = lens _gmsLimit (\ s a -> s{_gmsLimit = a}); --- | The position of the next set of results in the < Models> resource to get information about.+-- | The position of the next set of results in the 'Models' resource to get information about. gmsPosition :: Lens' GetModels (Maybe Text) gmsPosition = lens _gmsPosition (\ s a -> s{_gmsPosition = a}); --- | The < RestApi> identifier.+-- | The 'RestApi' identifier. gmsRestAPIId :: Lens' GetModels Text gmsRestAPIId = lens _gmsRestAPIId (\ s a -> s{_gmsRestAPIId = a}); @@ -125,10 +129,11 @@ = mconcat ["limit" =: _gmsLimit, "position" =: _gmsPosition] --- | Represents a collection of < Model> resources.+-- | Represents a collection of 'Model' resources. ----- < Method>, < MethodResponse>, <http://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html Models and Mappings> --+-- 'Method' , 'MethodResponse' , <http://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html Models and Mappings>+-- -- /See:/ 'getModelsResponse' smart constructor. data GetModelsResponse = GetModelsResponse' { _gmrsItems :: !(Maybe [Model])@@ -140,11 +145,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gmrsItems'+-- * 'gmrsItems' - Gets the current 'Model' resource in the collection. ----- * 'gmrsPosition'+-- * 'gmrsPosition' - Undocumented member. ----- * 'gmrsResponseStatus'+-- * 'gmrsResponseStatus' - -- | The response status code. getModelsResponse :: Int -- ^ 'gmrsResponseStatus' -> GetModelsResponse@@ -155,7 +160,7 @@ , _gmrsResponseStatus = pResponseStatus_ } --- | Gets the current < Model> resource in the collection.+-- | Gets the current 'Model' resource in the collection. gmrsItems :: Lens' GetModelsResponse [Model] gmrsItems = lens _gmrsItems (\ s a -> s{_gmrsItems = a}) . _Default . _Coerce; @@ -163,7 +168,7 @@ gmrsPosition :: Lens' GetModelsResponse (Maybe Text) gmrsPosition = lens _gmrsPosition (\ s a -> s{_gmrsPosition = a}); --- | The response status code.+-- | -- | The response status code. gmrsResponseStatus :: Lens' GetModelsResponse Int gmrsResponseStatus = lens _gmrsResponseStatus (\ s a -> s{_gmrsResponseStatus = a});
gen/Network/AWS/APIGateway/GetResource.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Lists information about a resource.+--+-- module Network.AWS.APIGateway.GetResource ( -- * Creating a Request@@ -48,6 +50,8 @@ -- | Request to list information about a resource. --+--+-- -- /See:/ 'getResource' smart constructor. data GetResource = GetResource' { _grRestAPIId :: !Text@@ -58,9 +62,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grRestAPIId'+-- * 'grRestAPIId' - The 'RestApi' identifier for the resource. ----- * 'grResourceId'+-- * 'grResourceId' - The identifier for the 'Resource' resource. getResource :: Text -- ^ 'grRestAPIId' -> Text -- ^ 'grResourceId'@@ -71,11 +75,11 @@ , _grResourceId = pResourceId_ } --- | The < RestApi> identifier for the resource.+-- | The 'RestApi' identifier for the resource. grRestAPIId :: Lens' GetResource Text grRestAPIId = lens _grRestAPIId (\ s a -> s{_grRestAPIId = a}); --- | The identifier for the < Resource> resource.+-- | The identifier for the 'Resource' resource. grResourceId :: Lens' GetResource Text grResourceId = lens _grResourceId (\ s a -> s{_grResourceId = a});
gen/Network/AWS/APIGateway/GetResources.hs view
@@ -18,8 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists information about a collection of < Resource> resources.+-- Lists information about a collection of 'Resource' resources. --+--+-- -- This operation returns paginated results. module Network.AWS.APIGateway.GetResources (@@ -50,6 +52,8 @@ -- | Request to list information about a collection of resources. --+--+-- -- /See:/ 'getResources' smart constructor. data GetResources = GetResources' { _grsLimit :: !(Maybe Int)@@ -61,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grsLimit'+-- * 'grsLimit' - The maximum number of 'Resource' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. ----- * 'grsPosition'+-- * 'grsPosition' - The position of the next set of results in the current 'Resources' resource to get information about. ----- * 'grsRestAPIId'+-- * 'grsRestAPIId' - The 'RestApi' identifier for the Resource. getResources :: Text -- ^ 'grsRestAPIId' -> GetResources@@ -76,15 +80,15 @@ , _grsRestAPIId = pRestAPIId_ } --- | The maximum number of < Resource> resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.+-- | The maximum number of 'Resource' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. grsLimit :: Lens' GetResources (Maybe Int) grsLimit = lens _grsLimit (\ s a -> s{_grsLimit = a}); --- | The position of the next set of results in the current < Resources> resource to get information about.+-- | The position of the next set of results in the current 'Resources' resource to get information about. grsPosition :: Lens' GetResources (Maybe Text) grsPosition = lens _grsPosition (\ s a -> s{_grsPosition = a}); --- | The < RestApi> identifier for the Resource.+-- | The 'RestApi' identifier for the Resource. grsRestAPIId :: Lens' GetResources Text grsRestAPIId = lens _grsRestAPIId (\ s a -> s{_grsRestAPIId = a}); @@ -125,8 +129,9 @@ = mconcat ["limit" =: _grsLimit, "position" =: _grsPosition] --- | Represents a collection of < Resource> resources.+-- | Represents a collection of 'Resource' resources. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Create an API> -- -- /See:/ 'getResourcesResponse' smart constructor.@@ -140,11 +145,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grrsItems'+-- * 'grrsItems' - Gets the current 'Resource' resource in the collection. ----- * 'grrsPosition'+-- * 'grrsPosition' - Undocumented member. ----- * 'grrsResponseStatus'+-- * 'grrsResponseStatus' - -- | The response status code. getResourcesResponse :: Int -- ^ 'grrsResponseStatus' -> GetResourcesResponse@@ -155,7 +160,7 @@ , _grrsResponseStatus = pResponseStatus_ } --- | Gets the current < Resource> resource in the collection.+-- | Gets the current 'Resource' resource in the collection. grrsItems :: Lens' GetResourcesResponse [Resource] grrsItems = lens _grrsItems (\ s a -> s{_grrsItems = a}) . _Default . _Coerce; @@ -163,7 +168,7 @@ grrsPosition :: Lens' GetResourcesResponse (Maybe Text) grrsPosition = lens _grrsPosition (\ s a -> s{_grrsPosition = a}); --- | The response status code.+-- | -- | The response status code. grrsResponseStatus :: Lens' GetResourcesResponse Int grrsResponseStatus = lens _grrsResponseStatus (\ s a -> s{_grrsResponseStatus = a});
gen/Network/AWS/APIGateway/GetRestAPI.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the < RestApi> resource in the collection.+-- Lists the 'RestApi' resource in the collection.+--+-- module Network.AWS.APIGateway.GetRestAPI ( -- * Creating a Request@@ -31,9 +33,11 @@ , restAPI , RestAPI -- * Response Lenses+ , raBinaryMediaTypes , raWarnings , raCreatedDate , raName+ , raVersion , raId , raDescription ) where@@ -45,8 +49,10 @@ import Network.AWS.Request import Network.AWS.Response --- | The GET request to list an existing < RestApi> defined for your collection.+-- | The GET request to list an existing 'RestApi' defined for your collection. --+--+-- -- /See:/ 'getRestAPI' smart constructor. newtype GetRestAPI = GetRestAPI' { _graRestAPIId :: Text@@ -56,7 +62,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'graRestAPIId'+-- * 'graRestAPIId' - The identifier of the 'RestApi' resource. getRestAPI :: Text -- ^ 'graRestAPIId' -> GetRestAPI@@ -65,7 +71,7 @@ { _graRestAPIId = pRestAPIId_ } --- | The identifier of the < RestApi> resource.+-- | The identifier of the 'RestApi' resource. graRestAPIId :: Lens' GetRestAPI Text graRestAPIId = lens _graRestAPIId (\ s a -> s{_graRestAPIId = a});
gen/Network/AWS/APIGateway/GetRestAPIs.hs view
@@ -18,8 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the < RestApis> resources for your collection.+-- Lists the 'RestApis' resources for your collection. --+--+-- -- This operation returns paginated results. module Network.AWS.APIGateway.GetRestAPIs (@@ -47,8 +49,10 @@ import Network.AWS.Request import Network.AWS.Response --- | The GET request to list existing < RestApis> defined for your collection.+-- | The GET request to list existing 'RestApis' defined for your collection. --+--+-- -- /See:/ 'getRestAPIs' smart constructor. data GetRestAPIs = GetRestAPIs' { _graLimit :: !(Maybe Int)@@ -59,9 +63,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'graLimit'+-- * 'graLimit' - The maximum number of 'RestApi' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. ----- * 'graPosition'+-- * 'graPosition' - The position of the current 'RestApis' resource in the collection to get information about. getRestAPIs :: GetRestAPIs getRestAPIs =@@ -70,11 +74,11 @@ , _graPosition = Nothing } --- | The maximum number of < RestApi> resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.+-- | The maximum number of 'RestApi' resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500. graLimit :: Lens' GetRestAPIs (Maybe Int) graLimit = lens _graLimit (\ s a -> s{_graLimit = a}); --- | The position of the current < RestApis> resource in the collection to get information about.+-- | The position of the current 'RestApis' resource in the collection to get information about. graPosition :: Lens' GetRestAPIs (Maybe Text) graPosition = lens _graPosition (\ s a -> s{_graPosition = a}); @@ -115,6 +119,7 @@ -- | Contains references to your APIs and links that guide you in how to interact with your collection. A collection offers a paginated view of your APIs. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Create an API> -- -- /See:/ 'getRestAPIsResponse' smart constructor.@@ -128,11 +133,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grarsItems'+-- * 'grarsItems' - An array of links to the current page of 'RestApi' resources. ----- * 'grarsPosition'+-- * 'grarsPosition' - Undocumented member. ----- * 'grarsResponseStatus'+-- * 'grarsResponseStatus' - -- | The response status code. getRestAPIsResponse :: Int -- ^ 'grarsResponseStatus' -> GetRestAPIsResponse@@ -143,7 +148,7 @@ , _grarsResponseStatus = pResponseStatus_ } --- | An array of links to the current page of < RestApi> resources.+-- | An array of links to the current page of 'RestApi' resources. grarsItems :: Lens' GetRestAPIsResponse [RestAPI] grarsItems = lens _grarsItems (\ s a -> s{_grarsItems = a}) . _Default . _Coerce; @@ -151,7 +156,7 @@ grarsPosition :: Lens' GetRestAPIsResponse (Maybe Text) grarsPosition = lens _grarsPosition (\ s a -> s{_grarsPosition = a}); --- | The response status code.+-- | -- | The response status code. grarsResponseStatus :: Lens' GetRestAPIsResponse Int grarsResponseStatus = lens _grarsResponseStatus (\ s a -> s{_grarsResponseStatus = a});
gen/Network/AWS/APIGateway/GetSDK.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Generates a client SDK for a < RestApi> and < Stage>.+-- Generates a client SDK for a 'RestApi' and 'Stage' .+--+-- module Network.AWS.APIGateway.GetSDK ( -- * Creating a Request@@ -47,8 +49,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request a new generated client SDK for a < RestApi> and < Stage>.+-- | Request a new generated client SDK for a 'RestApi' and 'Stage' . --+--+-- -- /See:/ 'getSDK' smart constructor. data GetSDK = GetSDK' { _gsdkParameters :: !(Maybe (Map Text Text))@@ -61,13 +65,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gsdkParameters'+-- * 'gsdkParameters' - A key-value map of query string parameters that specify properties of the SDK, depending on the requested @sdkType@ . For @sdkType@ of @objectivec@ , a parameter named @classPrefix@ is required. For @sdkType@ of @android@ , parameters named @groupId@ , @artifactId@ , @artifactVersion@ , and @invokerPackage@ are required. ----- * 'gsdkRestAPIId'+-- * 'gsdkRestAPIId' - The identifier of the 'RestApi' that the SDK will use. ----- * 'gsdkStageName'+-- * 'gsdkStageName' - The name of the 'Stage' that the SDK will use. ----- * 'gsdkSdkType'+-- * 'gsdkSdkType' - The language for the generated SDK. Currently @javascript@ , @android@ , and @objectivec@ (for iOS) are supported. getSDK :: Text -- ^ 'gsdkRestAPIId' -> Text -- ^ 'gsdkStageName'@@ -81,19 +85,19 @@ , _gsdkSdkType = pSdkType_ } --- | A key-value map of query string parameters that specify properties of the SDK, depending on the requested 'sdkType'. For 'sdkType' of 'objectivec', a parameter named 'classPrefix' is required. For 'sdkType' of 'android', parameters named 'groupId', 'artifactId', 'artifactVersion', and 'invokerPackage' are required.+-- | A key-value map of query string parameters that specify properties of the SDK, depending on the requested @sdkType@ . For @sdkType@ of @objectivec@ , a parameter named @classPrefix@ is required. For @sdkType@ of @android@ , parameters named @groupId@ , @artifactId@ , @artifactVersion@ , and @invokerPackage@ are required. gsdkParameters :: Lens' GetSDK (HashMap Text Text) gsdkParameters = lens _gsdkParameters (\ s a -> s{_gsdkParameters = a}) . _Default . _Map; --- | The identifier of the < RestApi> that the SDK will use.+-- | The identifier of the 'RestApi' that the SDK will use. gsdkRestAPIId :: Lens' GetSDK Text gsdkRestAPIId = lens _gsdkRestAPIId (\ s a -> s{_gsdkRestAPIId = a}); --- | The name of the < Stage> that the SDK will use.+-- | The name of the 'Stage' that the SDK will use. gsdkStageName :: Lens' GetSDK Text gsdkStageName = lens _gsdkStageName (\ s a -> s{_gsdkStageName = a}); --- | The language for the generated SDK. Currently 'javascript', 'android', and 'objectivec' (for iOS) are supported.+-- | The language for the generated SDK. Currently @javascript@ , @android@ , and @objectivec@ (for iOS) are supported. gsdkSdkType :: Lens' GetSDK Text gsdkSdkType = lens _gsdkSdkType (\ s a -> s{_gsdkSdkType = a}); @@ -132,8 +136,10 @@ (toQueryMap "entry" "key" "value" <$> _gsdkParameters)] --- | The binary blob response to < GetSdk>, which contains the generated SDK.+-- | The binary blob response to 'GetSdk' , which contains the generated SDK. --+--+-- -- /See:/ 'getSDKResponse' smart constructor. data GetSDKResponse = GetSDKResponse' { _gsdkrsBody :: !(Maybe (HashMap Text Value))@@ -146,13 +152,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gsdkrsBody'+-- * 'gsdkrsBody' - The binary blob response to 'GetSdk' , which contains the generated SDK. ----- * 'gsdkrsContentDisposition'+-- * 'gsdkrsContentDisposition' - The content-disposition header value in the HTTP response. ----- * 'gsdkrsContentType'+-- * 'gsdkrsContentType' - The content-type header value in the HTTP response. ----- * 'gsdkrsResponseStatus'+-- * 'gsdkrsResponseStatus' - -- | The response status code. getSDKResponse :: Int -- ^ 'gsdkrsResponseStatus' -> GetSDKResponse@@ -164,7 +170,7 @@ , _gsdkrsResponseStatus = pResponseStatus_ } --- | The binary blob response to < GetSdk>, which contains the generated SDK.+-- | The binary blob response to 'GetSdk' , which contains the generated SDK. gsdkrsBody :: Lens' GetSDKResponse (Maybe (HashMap Text Value)) gsdkrsBody = lens _gsdkrsBody (\ s a -> s{_gsdkrsBody = a}); @@ -176,7 +182,7 @@ gsdkrsContentType :: Lens' GetSDKResponse (Maybe Text) gsdkrsContentType = lens _gsdkrsContentType (\ s a -> s{_gsdkrsContentType = a}); --- | The response status code.+-- | -- | The response status code. gsdkrsResponseStatus :: Lens' GetSDKResponse Int gsdkrsResponseStatus = lens _gsdkrsResponseStatus (\ s a -> s{_gsdkrsResponseStatus = a});
gen/Network/AWS/APIGateway/GetStage.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about a < Stage> resource.+-- Gets information about a 'Stage' resource.+--+-- module Network.AWS.APIGateway.GetStage ( -- * Creating a Request@@ -34,6 +36,7 @@ -- * Response Lenses , sDeploymentId , sVariables+ , sDocumentationVersion , sClientCertificateId , sCreatedDate , sCacheClusterStatus@@ -52,8 +55,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to get information about a < Stage> resource.+-- | Requests Amazon API Gateway to get information about a 'Stage' resource. --+--+-- -- /See:/ 'getStage' smart constructor. data GetStage = GetStage' { _gssRestAPIId :: !Text@@ -64,9 +69,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gssRestAPIId'+-- * 'gssRestAPIId' - The identifier of the 'RestApi' resource for the 'Stage' resource to get information about. ----- * 'gssStageName'+-- * 'gssStageName' - The name of the 'Stage' resource to get information about. getStage :: Text -- ^ 'gssRestAPIId' -> Text -- ^ 'gssStageName'@@ -77,11 +82,11 @@ , _gssStageName = pStageName_ } --- | The identifier of the < RestApi> resource for the < Stage> resource to get information about.+-- | The identifier of the 'RestApi' resource for the 'Stage' resource to get information about. gssRestAPIId :: Lens' GetStage Text gssRestAPIId = lens _gssRestAPIId (\ s a -> s{_gssRestAPIId = a}); --- | The name of the < Stage> resource to get information about.+-- | The name of the 'Stage' resource to get information about. gssStageName :: Lens' GetStage Text gssStageName = lens _gssStageName (\ s a -> s{_gssStageName = a});
gen/Network/AWS/APIGateway/GetStages.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about one or more < Stage> resources.+-- Gets information about one or more 'Stage' resources.+--+-- module Network.AWS.APIGateway.GetStages ( -- * Creating a Request@@ -43,8 +45,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to get information about one or more < Stage> resources.+-- | Requests Amazon API Gateway to get information about one or more 'Stage' resources. --+--+-- -- /See:/ 'getStages' smart constructor. data GetStages = GetStages' { _gsDeploymentId :: !(Maybe Text)@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gsDeploymentId'+-- * 'gsDeploymentId' - The stages' deployment identifiers. ----- * 'gsRestAPIId'+-- * 'gsRestAPIId' - The stages' API identifiers. getStages :: Text -- ^ 'gsRestAPIId' -> GetStages@@ -67,11 +71,11 @@ , _gsRestAPIId = pRestAPIId_ } --- | The stages\' deployment identifiers.+-- | The stages' deployment identifiers. gsDeploymentId :: Lens' GetStages (Maybe Text) gsDeploymentId = lens _gsDeploymentId (\ s a -> s{_gsDeploymentId = a}); --- | The stages\' API identifiers.+-- | The stages' API identifiers. gsRestAPIId :: Lens' GetStages Text gsRestAPIId = lens _gsRestAPIId (\ s a -> s{_gsRestAPIId = a}); @@ -103,8 +107,9 @@ toQuery GetStages'{..} = mconcat ["deploymentId" =: _gsDeploymentId] --- | A list of < Stage> resources that are associated with the < ApiKey> resource.+-- | A list of 'Stage' resources that are associated with the 'ApiKey' resource. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/stages.html Deploying API in Stages> -- -- /See:/ 'getStagesResponse' smart constructor.@@ -117,9 +122,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gsrsItem'+-- * 'gsrsItem' - An individual 'Stage' resource. ----- * 'gsrsResponseStatus'+-- * 'gsrsResponseStatus' - -- | The response status code. getStagesResponse :: Int -- ^ 'gsrsResponseStatus' -> GetStagesResponse@@ -129,11 +134,11 @@ , _gsrsResponseStatus = pResponseStatus_ } --- | An individual < Stage> resource.+-- | An individual 'Stage' resource. gsrsItem :: Lens' GetStagesResponse [Stage] gsrsItem = lens _gsrsItem (\ s a -> s{_gsrsItem = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. gsrsResponseStatus :: Lens' GetStagesResponse Int gsrsResponseStatus = lens _gsrsResponseStatus (\ s a -> s{_gsrsResponseStatus = a});
gen/Network/AWS/APIGateway/GetUsage.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Gets the usage data of a usage plan in a specified time interval.+--+-- module Network.AWS.APIGateway.GetUsage ( -- * Creating a Request@@ -52,6 +54,8 @@ -- | The GET request to get the usage data of a usage plan in a specified time interval. --+--+-- -- /See:/ 'getUsage' smart constructor. data GetUsage = GetUsage' { _guKeyId :: !(Maybe Text)@@ -66,17 +70,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'guKeyId'+-- * 'guKeyId' - The Id of the API key associated with the resultant usage data. ----- * 'guLimit'+-- * 'guLimit' - The maximum number of results to be returned. ----- * 'guPosition'+-- * 'guPosition' - Position ----- * 'guUsagePlanId'+-- * 'guUsagePlanId' - The Id of the usage plan associated with the usage data. ----- * 'guStartDate'+-- * 'guStartDate' - The starting date (e.g., 2016-01-01) of the usage data. ----- * 'guEndDate'+-- * 'guEndDate' - The ending date (e.g., 2016-12-31) of the usage data. getUsage :: Text -- ^ 'guUsagePlanId' -> Text -- ^ 'guStartDate'
gen/Network/AWS/APIGateway/GetUsagePlan.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Gets a usage plan of a given plan identifier.+--+-- module Network.AWS.APIGateway.GetUsagePlan ( -- * Creating a Request@@ -37,6 +39,7 @@ , upThrottle , upQuota , upDescription+ , upProductCode ) where import Network.AWS.APIGateway.Types@@ -48,6 +51,8 @@ -- | The GET request to get a usage plan of a given plan identifier. --+--+-- -- /See:/ 'getUsagePlan' smart constructor. newtype GetUsagePlan = GetUsagePlan' { _gupUsagePlanId :: Text@@ -57,7 +62,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gupUsagePlanId'+-- * 'gupUsagePlanId' - The identifier of the 'UsagePlan' resource to be retrieved. getUsagePlan :: Text -- ^ 'gupUsagePlanId' -> GetUsagePlan@@ -66,7 +71,7 @@ { _gupUsagePlanId = pUsagePlanId_ } --- | The identifier of the < UsagePlan> resource to be retrieved.+-- | The identifier of the 'UsagePlan' resource to be retrieved. gupUsagePlanId :: Lens' GetUsagePlan Text gupUsagePlanId = lens _gupUsagePlanId (\ s a -> s{_gupUsagePlanId = a});
gen/Network/AWS/APIGateway/GetUsagePlanKey.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Gets a usage plan key of a given key identifier.+--+-- module Network.AWS.APIGateway.GetUsagePlanKey ( -- * Creating a Request@@ -47,6 +49,8 @@ -- | The GET request to get a usage plan key of a given key identifier. --+--+-- -- /See:/ 'getUsagePlanKey' smart constructor. data GetUsagePlanKey = GetUsagePlanKey' { _gUsagePlanId :: !Text@@ -57,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gUsagePlanId'+-- * 'gUsagePlanId' - The Id of the 'UsagePlan' resource representing the usage plan containing the to-be-retrieved 'UsagePlanKey' resource representing a plan customer. ----- * 'gKeyId'+-- * 'gKeyId' - The key Id of the to-be-retrieved 'UsagePlanKey' resource representing a plan customer. getUsagePlanKey :: Text -- ^ 'gUsagePlanId' -> Text -- ^ 'gKeyId'@@ -70,11 +74,11 @@ , _gKeyId = pKeyId_ } --- | The Id of the < UsagePlan> resource representing the usage plan containing the to-be-retrieved < UsagePlanKey> resource representing a plan customer.+-- | The Id of the 'UsagePlan' resource representing the usage plan containing the to-be-retrieved 'UsagePlanKey' resource representing a plan customer. gUsagePlanId :: Lens' GetUsagePlanKey Text gUsagePlanId = lens _gUsagePlanId (\ s a -> s{_gUsagePlanId = a}); --- | The key Id of the to-be-retrieved < UsagePlanKey> resource representing a plan customer.+-- | The key Id of the to-be-retrieved 'UsagePlanKey' resource representing a plan customer. gKeyId :: Lens' GetUsagePlanKey Text gKeyId = lens _gKeyId (\ s a -> s{_gKeyId = a});
gen/Network/AWS/APIGateway/GetUsagePlanKeys.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Gets all the usage plan keys representing the API keys added to a specified usage plan.+--+-- module Network.AWS.APIGateway.GetUsagePlanKeys ( -- * Creating a Request@@ -48,6 +50,8 @@ -- | The GET request to get all the usage plan keys representing the API keys added to a specified usage plan. --+--+-- -- /See:/ 'getUsagePlanKeys' smart constructor. data GetUsagePlanKeys = GetUsagePlanKeys' { _gupkNameQuery :: !(Maybe Text)@@ -60,13 +64,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gupkNameQuery'+-- * 'gupkNameQuery' - A query parameter specifying the name of the to-be-returned usage plan keys. ----- * 'gupkLimit'+-- * 'gupkLimit' - A query parameter specifying the maximum number usage plan keys returned by the GET request. ----- * 'gupkPosition'+-- * 'gupkPosition' - A query parameter specifying the zero-based index specifying the position of a usage plan key. ----- * 'gupkUsagePlanId'+-- * 'gupkUsagePlanId' - The Id of the 'UsagePlan' resource representing the usage plan containing the to-be-retrieved 'UsagePlanKey' resource representing a plan customer. getUsagePlanKeys :: Text -- ^ 'gupkUsagePlanId' -> GetUsagePlanKeys@@ -90,7 +94,7 @@ gupkPosition :: Lens' GetUsagePlanKeys (Maybe Text) gupkPosition = lens _gupkPosition (\ s a -> s{_gupkPosition = a}); --- | The Id of the < UsagePlan> resource representing the usage plan containing the to-be-retrieved < UsagePlanKey> resource representing a plan customer.+-- | The Id of the 'UsagePlan' resource representing the usage plan containing the to-be-retrieved 'UsagePlanKey' resource representing a plan customer. gupkUsagePlanId :: Lens' GetUsagePlanKeys Text gupkUsagePlanId = lens _gupkUsagePlanId (\ s a -> s{_gupkUsagePlanId = a}); @@ -127,6 +131,7 @@ -- | Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html Create and Use Usage Plans> -- -- /See:/ 'getUsagePlanKeysResponse' smart constructor.@@ -140,11 +145,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gupkrsItems'+-- * 'gupkrsItems' - Gets the current item of the usage plan keys collection. ----- * 'gupkrsPosition'+-- * 'gupkrsPosition' - Undocumented member. ----- * 'gupkrsResponseStatus'+-- * 'gupkrsResponseStatus' - -- | The response status code. getUsagePlanKeysResponse :: Int -- ^ 'gupkrsResponseStatus' -> GetUsagePlanKeysResponse@@ -163,7 +168,7 @@ gupkrsPosition :: Lens' GetUsagePlanKeysResponse (Maybe Text) gupkrsPosition = lens _gupkrsPosition (\ s a -> s{_gupkrsPosition = a}); --- | The response status code.+-- | -- | The response status code. gupkrsResponseStatus :: Lens' GetUsagePlanKeysResponse Int gupkrsResponseStatus = lens _gupkrsResponseStatus (\ s a -> s{_gupkrsResponseStatus = a});
gen/Network/AWS/APIGateway/GetUsagePlans.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets all the usage plans of the caller\'s account.+-- Gets all the usage plans of the caller's account.+--+-- module Network.AWS.APIGateway.GetUsagePlans ( -- * Creating a Request@@ -45,8 +47,10 @@ import Network.AWS.Request import Network.AWS.Response --- | The GET request to get all the usage plans of the caller\'s account.+-- | The GET request to get all the usage plans of the caller's account. --+--+-- -- /See:/ 'getUsagePlans' smart constructor. data GetUsagePlans = GetUsagePlans' { _gupKeyId :: !(Maybe Text)@@ -58,11 +62,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gupKeyId'+-- * 'gupKeyId' - The identifier of the API key associated with the usage plans. ----- * 'gupLimit'+-- * 'gupLimit' - The number of 'UsagePlan' resources to be returned as the result. ----- * 'gupPosition'+-- * 'gupPosition' - The zero-based array index specifying the position of the to-be-retrieved 'UsagePlan' resource. getUsagePlans :: GetUsagePlans getUsagePlans =@@ -76,11 +80,11 @@ gupKeyId :: Lens' GetUsagePlans (Maybe Text) gupKeyId = lens _gupKeyId (\ s a -> s{_gupKeyId = a}); --- | The number of < UsagePlan> resources to be returned as the result.+-- | The number of 'UsagePlan' resources to be returned as the result. gupLimit :: Lens' GetUsagePlans (Maybe Int) gupLimit = lens _gupLimit (\ s a -> s{_gupLimit = a}); --- | The zero-based array index specifying the position of the to-be-retrieved < UsagePlan> resource.+-- | The zero-based array index specifying the position of the to-be-retrieved 'UsagePlan' resource. gupPosition :: Lens' GetUsagePlans (Maybe Text) gupPosition = lens _gupPosition (\ s a -> s{_gupPosition = a}); @@ -115,6 +119,7 @@ -- | Represents a collection of usage plans for an AWS account. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html Create and Use Usage Plans> -- -- /See:/ 'getUsagePlansResponse' smart constructor.@@ -128,11 +133,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'guprsItems'+-- * 'guprsItems' - Gets the current item when enumerating the collection of 'UsagePlan' . ----- * 'guprsPosition'+-- * 'guprsPosition' - Undocumented member. ----- * 'guprsResponseStatus'+-- * 'guprsResponseStatus' - -- | The response status code. getUsagePlansResponse :: Int -- ^ 'guprsResponseStatus' -> GetUsagePlansResponse@@ -143,7 +148,7 @@ , _guprsResponseStatus = pResponseStatus_ } --- | Gets the current item when enumerating the collection of < UsagePlan>.+-- | Gets the current item when enumerating the collection of 'UsagePlan' . guprsItems :: Lens' GetUsagePlansResponse [UsagePlan] guprsItems = lens _guprsItems (\ s a -> s{_guprsItems = a}) . _Default . _Coerce; @@ -151,7 +156,7 @@ guprsPosition :: Lens' GetUsagePlansResponse (Maybe Text) guprsPosition = lens _guprsPosition (\ s a -> s{_guprsPosition = a}); --- | The response status code.+-- | -- | The response status code. guprsResponseStatus :: Lens' GetUsagePlansResponse Int guprsResponseStatus = lens _guprsResponseStatus (\ s a -> s{_guprsResponseStatus = a});
gen/Network/AWS/APIGateway/ImportAPIKeys.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Import API keys from an external source, such as a CSV-formatted file.+--+-- module Network.AWS.APIGateway.ImportAPIKeys ( -- * Creating a Request@@ -47,6 +49,8 @@ -- | The POST request to import API keys from an external source, such as a CSV-formatted file. --+--+-- -- /See:/ 'importAPIKeys' smart constructor. data ImportAPIKeys = ImportAPIKeys' { _iakFailOnWarnings :: !(Maybe Bool)@@ -58,11 +62,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'iakFailOnWarnings'+-- * 'iakFailOnWarnings' - A query parameter to indicate whether to rollback 'ApiKey' importation (@true@ ) or not (@false@ ) when error is encountered. ----- * 'iakBody'+-- * 'iakBody' - The payload of the POST request to import API keys. For the payload format, see <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-key-file-format.html API Key File Format> . ----- * 'iakFormat'+-- * 'iakFormat' - A query parameter to specify the input format to imported API keys. Currently, only the @csv@ format is supported. importAPIKeys :: HashMap Text Value -- ^ 'iakBody' -> APIKeysFormat -- ^ 'iakFormat'@@ -74,15 +78,15 @@ , _iakFormat = pFormat_ } --- | A query parameter to indicate whether to rollback < ApiKey> importation ('true') or not ('false') when error is encountered.+-- | A query parameter to indicate whether to rollback 'ApiKey' importation (@true@ ) or not (@false@ ) when error is encountered. iakFailOnWarnings :: Lens' ImportAPIKeys (Maybe Bool) iakFailOnWarnings = lens _iakFailOnWarnings (\ s a -> s{_iakFailOnWarnings = a}); --- | The payload of the POST request to import API keys. For the payload format, see <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-key-file-format.html API Key File Format>.+-- | The payload of the POST request to import API keys. For the payload format, see <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-key-file-format.html API Key File Format> . iakBody :: Lens' ImportAPIKeys (HashMap Text Value) iakBody = lens _iakBody (\ s a -> s{_iakBody = a}); --- | A query parameter to specify the input format to imported API keys. Currently, only the 'csv' format is supported.+-- | A query parameter to specify the input format to imported API keys. Currently, only the @csv@ format is supported. iakFormat :: Lens' ImportAPIKeys APIKeysFormat iakFormat = lens _iakFormat (\ s a -> s{_iakFormat = a}); @@ -119,8 +123,10 @@ ["failonwarnings" =: _iakFailOnWarnings, "format" =: _iakFormat, "mode=import"] --- | The identifier of an API key used to reference an API key in a usage plan.+-- | The identifier of an 'ApiKey' used in a 'UsagePlan' . --+--+-- -- /See:/ 'importAPIKeysResponse' smart constructor. data ImportAPIKeysResponse = ImportAPIKeysResponse' { _iakrsIds :: !(Maybe [Text])@@ -132,11 +138,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'iakrsIds'+-- * 'iakrsIds' - A list of all the 'ApiKey' identifiers. ----- * 'iakrsWarnings'+-- * 'iakrsWarnings' - A list of warning messages. ----- * 'iakrsResponseStatus'+-- * 'iakrsResponseStatus' - -- | The response status code. importAPIKeysResponse :: Int -- ^ 'iakrsResponseStatus' -> ImportAPIKeysResponse@@ -147,7 +153,7 @@ , _iakrsResponseStatus = pResponseStatus_ } --- | A list of all the < ApiKey> identifiers.+-- | A list of all the 'ApiKey' identifiers. iakrsIds :: Lens' ImportAPIKeysResponse [Text] iakrsIds = lens _iakrsIds (\ s a -> s{_iakrsIds = a}) . _Default . _Coerce; @@ -155,7 +161,7 @@ iakrsWarnings :: Lens' ImportAPIKeysResponse [Text] iakrsWarnings = lens _iakrsWarnings (\ s a -> s{_iakrsWarnings = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. iakrsResponseStatus :: Lens' ImportAPIKeysResponse Int iakrsResponseStatus = lens _iakrsResponseStatus (\ s a -> s{_iakrsResponseStatus = a});
+ gen/Network/AWS/APIGateway/ImportDocumentationParts.hs view
@@ -0,0 +1,180 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.ImportDocumentationParts+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.ImportDocumentationParts+ (+ -- * Creating a Request+ importDocumentationParts+ , ImportDocumentationParts+ -- * Request Lenses+ , idpMode+ , idpFailOnWarnings+ , idpRestAPIId+ , idpBody++ -- * Destructuring the Response+ , importDocumentationPartsResponse+ , ImportDocumentationPartsResponse+ -- * Response Lenses+ , idprsIds+ , idprsWarnings+ , idprsResponseStatus+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Import documentation parts from an external (e.g., Swagger) definition file.+--+--+--+-- /See:/ 'importDocumentationParts' smart constructor.+data ImportDocumentationParts = ImportDocumentationParts'+ { _idpMode :: !(Maybe PutMode)+ , _idpFailOnWarnings :: !(Maybe Bool)+ , _idpRestAPIId :: !Text+ , _idpBody :: !(HashMap Text Value)+ } deriving (Eq,Show,Data,Typeable,Generic)++-- | Creates a value of 'ImportDocumentationParts' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'idpMode' - A query parameter to indicate whether to overwrite (@OVERWRITE@ ) any existing 'DocumentationParts' definition or to merge (@MERGE@ ) the new definition into the existing one. The default value is @MERGE@ .+--+-- * 'idpFailOnWarnings' - A query parameter to specify whether to rollback the documentation importation (@true@ ) or not (@false@ ) when a warning is encountered. The default value is @false@ .+--+-- * 'idpRestAPIId' - [Required] The identifier of an API of the to-be-imported documentation parts.+--+-- * 'idpBody' - [Required] Raw byte array representing the to-be-imported documentation parts. To import from a Swagger file, this is a JSON object.+importDocumentationParts+ :: Text -- ^ 'idpRestAPIId'+ -> HashMap Text Value -- ^ 'idpBody'+ -> ImportDocumentationParts+importDocumentationParts pRestAPIId_ pBody_ =+ ImportDocumentationParts'+ { _idpMode = Nothing+ , _idpFailOnWarnings = Nothing+ , _idpRestAPIId = pRestAPIId_+ , _idpBody = pBody_+ }++-- | A query parameter to indicate whether to overwrite (@OVERWRITE@ ) any existing 'DocumentationParts' definition or to merge (@MERGE@ ) the new definition into the existing one. The default value is @MERGE@ .+idpMode :: Lens' ImportDocumentationParts (Maybe PutMode)+idpMode = lens _idpMode (\ s a -> s{_idpMode = a});++-- | A query parameter to specify whether to rollback the documentation importation (@true@ ) or not (@false@ ) when a warning is encountered. The default value is @false@ .+idpFailOnWarnings :: Lens' ImportDocumentationParts (Maybe Bool)+idpFailOnWarnings = lens _idpFailOnWarnings (\ s a -> s{_idpFailOnWarnings = a});++-- | [Required] The identifier of an API of the to-be-imported documentation parts.+idpRestAPIId :: Lens' ImportDocumentationParts Text+idpRestAPIId = lens _idpRestAPIId (\ s a -> s{_idpRestAPIId = a});++-- | [Required] Raw byte array representing the to-be-imported documentation parts. To import from a Swagger file, this is a JSON object.+idpBody :: Lens' ImportDocumentationParts (HashMap Text Value)+idpBody = lens _idpBody (\ s a -> s{_idpBody = a});++instance AWSRequest ImportDocumentationParts where+ type Rs ImportDocumentationParts =+ ImportDocumentationPartsResponse+ request = putBody apiGateway+ response+ = receiveJSON+ (\ s h x ->+ ImportDocumentationPartsResponse' <$>+ (x .?> "ids" .!@ mempty) <*>+ (x .?> "warnings" .!@ mempty)+ <*> (pure (fromEnum s)))++instance Hashable ImportDocumentationParts++instance NFData ImportDocumentationParts++instance ToBody ImportDocumentationParts where+ toBody = toBody . _idpBody++instance ToHeaders ImportDocumentationParts where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToPath ImportDocumentationParts where+ toPath ImportDocumentationParts'{..}+ = mconcat+ ["/restapis/", toBS _idpRestAPIId,+ "/documentation/parts"]++instance ToQuery ImportDocumentationParts where+ toQuery ImportDocumentationParts'{..}+ = mconcat+ ["mode" =: _idpMode,+ "failonwarnings" =: _idpFailOnWarnings]++-- | A collection of the imported 'DocumentationPart' identifiers.+--+--+-- This is used to return the result when documentation parts in an external (e.g., Swagger) file are imported into Amazon API Gateway<http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html Documenting an API> , <http://docs.aws.amazon.com/apigateway/api-reference/link-relation/documentationpart-import/ documentationpart:import> , 'DocumentationPart'+--+-- /See:/ 'importDocumentationPartsResponse' smart constructor.+data ImportDocumentationPartsResponse = ImportDocumentationPartsResponse'+ { _idprsIds :: !(Maybe [Text])+ , _idprsWarnings :: !(Maybe [Text])+ , _idprsResponseStatus :: !Int+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'ImportDocumentationPartsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'idprsIds' - A list of the returned documentation part identifiers.+--+-- * 'idprsWarnings' - A list of warning messages reported during import of documentation parts.+--+-- * 'idprsResponseStatus' - -- | The response status code.+importDocumentationPartsResponse+ :: Int -- ^ 'idprsResponseStatus'+ -> ImportDocumentationPartsResponse+importDocumentationPartsResponse pResponseStatus_ =+ ImportDocumentationPartsResponse'+ { _idprsIds = Nothing+ , _idprsWarnings = Nothing+ , _idprsResponseStatus = pResponseStatus_+ }++-- | A list of the returned documentation part identifiers.+idprsIds :: Lens' ImportDocumentationPartsResponse [Text]+idprsIds = lens _idprsIds (\ s a -> s{_idprsIds = a}) . _Default . _Coerce;++-- | A list of warning messages reported during import of documentation parts.+idprsWarnings :: Lens' ImportDocumentationPartsResponse [Text]+idprsWarnings = lens _idprsWarnings (\ s a -> s{_idprsWarnings = a}) . _Default . _Coerce;++-- | -- | The response status code.+idprsResponseStatus :: Lens' ImportDocumentationPartsResponse Int+idprsResponseStatus = lens _idprsResponseStatus (\ s a -> s{_idprsResponseStatus = a});++instance NFData ImportDocumentationPartsResponse
gen/Network/AWS/APIGateway/ImportRestAPI.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.+--+-- module Network.AWS.APIGateway.ImportRestAPI ( -- * Creating a Request@@ -33,9 +35,11 @@ , restAPI , RestAPI -- * Response Lenses+ , raBinaryMediaTypes , raWarnings , raCreatedDate , raName+ , raVersion , raId , raDescription ) where@@ -49,6 +53,8 @@ -- | A POST request to import an API to Amazon API Gateway using an input of an API definition file. --+--+-- -- /See:/ 'importRestAPI' smart constructor. data ImportRestAPI = ImportRestAPI' { _iraFailOnWarnings :: !(Maybe Bool)@@ -60,11 +66,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'iraFailOnWarnings'+-- * 'iraFailOnWarnings' - A query parameter to indicate whether to rollback the API creation (@true@ ) or not (@false@ ) when a warning is encountered. The default value is @false@ . ----- * 'iraParameters'+-- * 'iraParameters' - Custom header parameters as part of the request. ----- * 'iraBody'+-- * 'iraBody' - The POST request body containing external API definitions. Currently, only Swagger definition JSON files are supported. importRestAPI :: HashMap Text Value -- ^ 'iraBody' -> ImportRestAPI@@ -75,7 +81,7 @@ , _iraBody = pBody_ } --- | A query parameter to indicate whether to rollback the API creation ('true') or not ('false') when a warning is encountered. The default value is 'false'.+-- | A query parameter to indicate whether to rollback the API creation (@true@ ) or not (@false@ ) when a warning is encountered. The default value is @false@ . iraFailOnWarnings :: Lens' ImportRestAPI (Maybe Bool) iraFailOnWarnings = lens _iraFailOnWarnings (\ s a -> s{_iraFailOnWarnings = a});
gen/Network/AWS/APIGateway/PutIntegration.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Represents a put integration.+--+-- module Network.AWS.APIGateway.PutIntegration ( -- * Creating a Request@@ -28,6 +30,7 @@ , pRequestTemplates , pCredentials , pRequestParameters+ , pContentHandling , pPassthroughBehavior , pUri , pCacheNamespace@@ -46,6 +49,7 @@ , iRequestTemplates , iCredentials , iRequestParameters+ , iContentHandling , iPassthroughBehavior , iUri , iIntegrationResponses@@ -63,11 +67,14 @@ -- | Represents a put integration request. --+--+-- -- /See:/ 'putIntegration' smart constructor. data PutIntegration = PutIntegration' { _pRequestTemplates :: !(Maybe (Map Text Text)) , _pCredentials :: !(Maybe Text) , _pRequestParameters :: !(Maybe (Map Text Text))+ , _pContentHandling :: !(Maybe ContentHandlingStrategy) , _pPassthroughBehavior :: !(Maybe Text) , _pUri :: !(Maybe Text) , _pCacheNamespace :: !(Maybe Text)@@ -83,29 +90,31 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pRequestTemplates'+-- * 'pRequestTemplates' - Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. ----- * 'pCredentials'+-- * 'pCredentials' - Specifies whether credentials are required for a put integration. ----- * 'pRequestParameters'+-- * 'pRequestParameters' - A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of @method.request.{location}.{name}@ , where @location@ is @querystring@ , @path@ , or @header@ and @name@ must be a valid and unique method request parameter name. ----- * 'pPassthroughBehavior'+-- * 'pContentHandling' - Specifies how to handle request payload content type conversions. Supported values are @CONVERT_TO_BINARY@ and @CONVERT_TO_TEXT@ , with the following behaviors: * @CONVERT_TO_BINARY@ : Converts a request payload from a Base64-encoded string to the corresponding binary blob. * @CONVERT_TO_TEXT@ : Converts a request payload from a binary blob to a Base64-encoded string. If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the @passthroughBehaviors@ is configured to support payload pass-through. ----- * 'pUri'+-- * 'pPassthroughBehavior' - Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the @requestTemplates@ property on the Integration resource. There are three valid values: @WHEN_NO_MATCH@ , @WHEN_NO_TEMPLATES@ , and @NEVER@ . * @WHEN_NO_MATCH@ passes the request body for unmapped content types through to the integration back end without transformation. * @NEVER@ rejects unmapped content types with an HTTP 415 'Unsupported Media Type' response. * @WHEN_NO_TEMPLATES@ allows pass-through when the integration has NO content types mapped to templates. However if there is at least one content type defined, unmapped content types will be rejected with the same 415 response. ----- * 'pCacheNamespace'+-- * 'pUri' - Specifies a put integration input's Uniform Resource Identifier (URI). When the integration type is HTTP or AWS, this field is required. For integration with Lambda as an AWS service proxy, this value is of the 'arn:aws:apigateway:<region>:lambda:path/2015-03-31/functions/<functionArn>/invocations' format. ----- * 'pIntegrationHTTPMethod'+-- * 'pCacheNamespace' - Specifies a put integration input's cache namespace. ----- * 'pCacheKeyParameters'+-- * 'pIntegrationHTTPMethod' - Specifies a put integration HTTP method. When the integration type is HTTP or AWS, this field is required. ----- * 'pRestAPIId'+-- * 'pCacheKeyParameters' - Specifies a put integration input's cache key parameters. ----- * 'pResourceId'+-- * 'pRestAPIId' - Specifies a put integration request's API identifier. ----- * 'pHttpMethod'+-- * 'pResourceId' - Specifies a put integration request's resource ID. ----- * 'pType'+-- * 'pHttpMethod' - Specifies a put integration request's HTTP method.+--+-- * 'pType' - Specifies a put integration input's type. putIntegration :: Text -- ^ 'pRestAPIId' -> Text -- ^ 'pResourceId'@@ -117,6 +126,7 @@ { _pRequestTemplates = Nothing , _pCredentials = Nothing , _pRequestParameters = Nothing+ , _pContentHandling = Nothing , _pPassthroughBehavior = Nothing , _pUri = Nothing , _pCacheNamespace = Nothing@@ -136,26 +146,23 @@ pCredentials :: Lens' PutIntegration (Maybe Text) pCredentials = lens _pCredentials (\ s a -> s{_pCredentials = a}); --- | A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of 'method.request.{location}.{name}', where 'location' is 'querystring', 'path', or 'header' and 'name' must be a valid and unique method request parameter name.+-- | A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of @method.request.{location}.{name}@ , where @location@ is @querystring@ , @path@ , or @header@ and @name@ must be a valid and unique method request parameter name. pRequestParameters :: Lens' PutIntegration (HashMap Text Text) pRequestParameters = lens _pRequestParameters (\ s a -> s{_pRequestParameters = a}) . _Default . _Map; --- | Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the 'requestTemplates' property on the Integration resource. There are three valid values: 'WHEN_NO_MATCH', 'WHEN_NO_TEMPLATES', and 'NEVER'.------ - 'WHEN_NO_MATCH' passes the request body for unmapped content types through to the integration back end without transformation.------ - 'NEVER' rejects unmapped content types with an HTTP 415 \'Unsupported Media Type\' response.------ - 'WHEN_NO_TEMPLATES' allows pass-through when the integration has NO content types mapped to templates. However if there is at least one content type defined, unmapped content types will be rejected with the same 415 response.---+-- | Specifies how to handle request payload content type conversions. Supported values are @CONVERT_TO_BINARY@ and @CONVERT_TO_TEXT@ , with the following behaviors: * @CONVERT_TO_BINARY@ : Converts a request payload from a Base64-encoded string to the corresponding binary blob. * @CONVERT_TO_TEXT@ : Converts a request payload from a binary blob to a Base64-encoded string. If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the @passthroughBehaviors@ is configured to support payload pass-through.+pContentHandling :: Lens' PutIntegration (Maybe ContentHandlingStrategy)+pContentHandling = lens _pContentHandling (\ s a -> s{_pContentHandling = a});++-- | Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the @requestTemplates@ property on the Integration resource. There are three valid values: @WHEN_NO_MATCH@ , @WHEN_NO_TEMPLATES@ , and @NEVER@ . * @WHEN_NO_MATCH@ passes the request body for unmapped content types through to the integration back end without transformation. * @NEVER@ rejects unmapped content types with an HTTP 415 'Unsupported Media Type' response. * @WHEN_NO_TEMPLATES@ allows pass-through when the integration has NO content types mapped to templates. However if there is at least one content type defined, unmapped content types will be rejected with the same 415 response. pPassthroughBehavior :: Lens' PutIntegration (Maybe Text) pPassthroughBehavior = lens _pPassthroughBehavior (\ s a -> s{_pPassthroughBehavior = a}); --- | Specifies a put integration input\'s Uniform Resource Identifier (URI). When the integration type is HTTP or AWS, this field is required. For integration with Lambda as an AWS service proxy, this value is of the \'arn:aws:apigateway:\<region>:lambda:path\/2015-03-31\/functions\/\<functionArn>\/invocations\' format.+-- | Specifies a put integration input's Uniform Resource Identifier (URI). When the integration type is HTTP or AWS, this field is required. For integration with Lambda as an AWS service proxy, this value is of the 'arn:aws:apigateway:<region>:lambda:path/2015-03-31/functions/<functionArn>/invocations' format. pUri :: Lens' PutIntegration (Maybe Text) pUri = lens _pUri (\ s a -> s{_pUri = a}); --- | Specifies a put integration input\'s cache namespace.+-- | Specifies a put integration input's cache namespace. pCacheNamespace :: Lens' PutIntegration (Maybe Text) pCacheNamespace = lens _pCacheNamespace (\ s a -> s{_pCacheNamespace = a}); @@ -163,23 +170,23 @@ pIntegrationHTTPMethod :: Lens' PutIntegration (Maybe Text) pIntegrationHTTPMethod = lens _pIntegrationHTTPMethod (\ s a -> s{_pIntegrationHTTPMethod = a}); --- | Specifies a put integration input\'s cache key parameters.+-- | Specifies a put integration input's cache key parameters. pCacheKeyParameters :: Lens' PutIntegration [Text] pCacheKeyParameters = lens _pCacheKeyParameters (\ s a -> s{_pCacheKeyParameters = a}) . _Default . _Coerce; --- | Specifies a put integration request\'s API identifier.+-- | Specifies a put integration request's API identifier. pRestAPIId :: Lens' PutIntegration Text pRestAPIId = lens _pRestAPIId (\ s a -> s{_pRestAPIId = a}); --- | Specifies a put integration request\'s resource ID.+-- | Specifies a put integration request's resource ID. pResourceId :: Lens' PutIntegration Text pResourceId = lens _pResourceId (\ s a -> s{_pResourceId = a}); --- | Specifies a put integration request\'s HTTP method.+-- | Specifies a put integration request's HTTP method. pHttpMethod :: Lens' PutIntegration Text pHttpMethod = lens _pHttpMethod (\ s a -> s{_pHttpMethod = a}); --- | Specifies a put integration input\'s type.+-- | Specifies a put integration input's type. pType :: Lens' PutIntegration IntegrationType pType = lens _pType (\ s a -> s{_pType = a}); @@ -205,6 +212,7 @@ [("requestTemplates" .=) <$> _pRequestTemplates, ("credentials" .=) <$> _pCredentials, ("requestParameters" .=) <$> _pRequestParameters,+ ("contentHandling" .=) <$> _pContentHandling, ("passthroughBehavior" .=) <$> _pPassthroughBehavior, ("uri" .=) <$> _pUri, ("cacheNamespace" .=) <$> _pCacheNamespace,
gen/Network/AWS/APIGateway/PutIntegrationResponse.hs view
@@ -19,12 +19,15 @@ -- Portability : non-portable (GHC extensions) -- -- Represents a put integration.+--+-- module Network.AWS.APIGateway.PutIntegrationResponse ( -- * Creating a Request putIntegrationResponse , PutIntegrationResponse -- * Request Lenses+ , piContentHandling , piResponseTemplates , piSelectionPattern , piResponseParameters@@ -37,10 +40,11 @@ , integrationResponse , IntegrationResponse -- * Response Lenses- , iResponseTemplates- , iSelectionPattern- , iStatusCode- , iResponseParameters+ , intContentHandling+ , intResponseTemplates+ , intSelectionPattern+ , intStatusCode+ , intResponseParameters ) where import Network.AWS.APIGateway.Types@@ -52,9 +56,12 @@ -- | Represents a put integration response request. --+--+-- -- /See:/ 'putIntegrationResponse' smart constructor. data PutIntegrationResponse = PutIntegrationResponse'- { _piResponseTemplates :: !(Maybe (Map Text Text))+ { _piContentHandling :: !(Maybe ContentHandlingStrategy)+ , _piResponseTemplates :: !(Maybe (Map Text Text)) , _piSelectionPattern :: !(Maybe Text) , _piResponseParameters :: !(Maybe (Map Text Text)) , _piRestAPIId :: !Text@@ -67,19 +74,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'piResponseTemplates'+-- * 'piContentHandling' - Specifies how to handle response payload content type conversions. Supported values are @CONVERT_TO_BINARY@ and @CONVERT_TO_TEXT@ , with the following behaviors: * @CONVERT_TO_BINARY@ : Converts a response payload from a Base64-encoded string to the corresponding binary blob. * @CONVERT_TO_TEXT@ : Converts a response payload from a binary blob to a Base64-encoded string. If this property is not defined, the response payload will be passed through from the integration response to the method response without modification. ----- * 'piSelectionPattern'+-- * 'piResponseTemplates' - Specifies a put integration response's templates. ----- * 'piResponseParameters'+-- * 'piSelectionPattern' - Specifies the selection pattern of a put integration response. ----- * 'piRestAPIId'+-- * 'piResponseParameters' - A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of @method.response.header.{name}@ , where @name@ is a valid and unique header name. The mapped non-static value must match the pattern of @integration.response.header.{name}@ or @integration.response.body.{JSON-expression}@ , where @name@ must be a valid and unique response header name and @JSON-expression@ a valid JSON expression without the @> @ prefix. ----- * 'piResourceId'+-- * 'piRestAPIId' - Specifies a put integration response request's API identifier. ----- * 'piHttpMethod'+-- * 'piResourceId' - Specifies a put integration response request's resource identifier. ----- * 'piStatusCode'+-- * 'piHttpMethod' - Specifies a put integration response request's HTTP method.+--+-- * 'piStatusCode' - Specifies the status code that is used to map the integration response to an existing 'MethodResponse' . putIntegrationResponse :: Text -- ^ 'piRestAPIId' -> Text -- ^ 'piResourceId'@@ -88,7 +97,8 @@ -> PutIntegrationResponse putIntegrationResponse pRestAPIId_ pResourceId_ pHttpMethod_ pStatusCode_ = PutIntegrationResponse'- { _piResponseTemplates = Nothing+ { _piContentHandling = Nothing+ , _piResponseTemplates = Nothing , _piSelectionPattern = Nothing , _piResponseParameters = Nothing , _piRestAPIId = pRestAPIId_@@ -97,7 +107,11 @@ , _piStatusCode = pStatusCode_ } --- | Specifies a put integration response\'s templates.+-- | Specifies how to handle response payload content type conversions. Supported values are @CONVERT_TO_BINARY@ and @CONVERT_TO_TEXT@ , with the following behaviors: * @CONVERT_TO_BINARY@ : Converts a response payload from a Base64-encoded string to the corresponding binary blob. * @CONVERT_TO_TEXT@ : Converts a response payload from a binary blob to a Base64-encoded string. If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.+piContentHandling :: Lens' PutIntegrationResponse (Maybe ContentHandlingStrategy)+piContentHandling = lens _piContentHandling (\ s a -> s{_piContentHandling = a});++-- | Specifies a put integration response's templates. piResponseTemplates :: Lens' PutIntegrationResponse (HashMap Text Text) piResponseTemplates = lens _piResponseTemplates (\ s a -> s{_piResponseTemplates = a}) . _Default . _Map; @@ -105,23 +119,23 @@ piSelectionPattern :: Lens' PutIntegrationResponse (Maybe Text) piSelectionPattern = lens _piSelectionPattern (\ s a -> s{_piSelectionPattern = a}); --- | A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of 'method.response.header.{name}', where 'name' is a valid and unique header name. The mapped non-static value must match the pattern of 'integration.response.header.{name}' or 'integration.response.body.{JSON-expression}', where 'name' must be a valid and unique response header name and 'JSON-expression' a valid JSON expression without the '>' prefix.+-- | A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of @method.response.header.{name}@ , where @name@ is a valid and unique header name. The mapped non-static value must match the pattern of @integration.response.header.{name}@ or @integration.response.body.{JSON-expression}@ , where @name@ must be a valid and unique response header name and @JSON-expression@ a valid JSON expression without the @> @ prefix. piResponseParameters :: Lens' PutIntegrationResponse (HashMap Text Text) piResponseParameters = lens _piResponseParameters (\ s a -> s{_piResponseParameters = a}) . _Default . _Map; --- | Specifies a put integration response request\'s API identifier.+-- | Specifies a put integration response request's API identifier. piRestAPIId :: Lens' PutIntegrationResponse Text piRestAPIId = lens _piRestAPIId (\ s a -> s{_piRestAPIId = a}); --- | Specifies a put integration response request\'s resource identifier.+-- | Specifies a put integration response request's resource identifier. piResourceId :: Lens' PutIntegrationResponse Text piResourceId = lens _piResourceId (\ s a -> s{_piResourceId = a}); --- | Specifies a put integration response request\'s HTTP method.+-- | Specifies a put integration response request's HTTP method. piHttpMethod :: Lens' PutIntegrationResponse Text piHttpMethod = lens _piHttpMethod (\ s a -> s{_piHttpMethod = a}); --- | Specifies the status code that is used to map the integration response to an existing < MethodResponse>.+-- | Specifies the status code that is used to map the integration response to an existing 'MethodResponse' . piStatusCode :: Lens' PutIntegrationResponse Text piStatusCode = lens _piStatusCode (\ s a -> s{_piStatusCode = a}); @@ -144,7 +158,8 @@ toJSON PutIntegrationResponse'{..} = object (catMaybes- [("responseTemplates" .=) <$> _piResponseTemplates,+ [("contentHandling" .=) <$> _piContentHandling,+ ("responseTemplates" .=) <$> _piResponseTemplates, ("selectionPattern" .=) <$> _piSelectionPattern, ("responseParameters" .=) <$> _piResponseParameters])
gen/Network/AWS/APIGateway/PutMethod.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Add a method to an existing < Resource> resource.+-- Add a method to an existing 'Resource' resource.+--+-- module Network.AWS.APIGateway.PutMethod ( -- * Creating a Request@@ -55,8 +57,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to add a method to an existing < Resource> resource.+-- | Request to add a method to an existing 'Resource' resource. --+--+-- -- /See:/ 'putMethod' smart constructor. data PutMethod = PutMethod' { _putRequestModels :: !(Maybe (Map Text Text))@@ -73,21 +77,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'putRequestModels'+-- * 'putRequestModels' - Specifies the 'Model' resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a 'Model' name as the value. ----- * 'putRequestParameters'+-- * 'putRequestParameters' - A key-value map defining required or optional method request parameters that can be accepted by Amazon API Gateway. A key defines a method request parameter name matching the pattern of @method.request.{location}.{name}@ , where @location@ is @querystring@ , @path@ , or @header@ and @name@ is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (@true@ ) or optional (@false@ ). The method request parameter names defined here are available in 'Integration' to be mapped to integration request parameters or body-mapping templates. ----- * 'putAuthorizerId'+-- * 'putAuthorizerId' - Specifies the identifier of an 'Authorizer' to use on this Method, if the type is CUSTOM. ----- * 'putApiKeyRequired'+-- * 'putApiKeyRequired' - Specifies whether the method required a valid 'ApiKey' . ----- * 'putRestAPIId'+-- * 'putRestAPIId' - The 'RestApi' identifier for the new 'Method' resource. ----- * 'putResourceId'+-- * 'putResourceId' - The 'Resource' identifier for the new 'Method' resource. ----- * 'putHttpMethod'+-- * 'putHttpMethod' - Specifies the method request's HTTP method type. ----- * 'putAuthorizationType'+-- * 'putAuthorizationType' - Specifies the type of authorization used for the method. putMethod :: Text -- ^ 'putRestAPIId' -> Text -- ^ 'putResourceId'@@ -106,31 +110,31 @@ , _putAuthorizationType = pAuthorizationType_ } --- | Specifies the < Model> resources used for the request\'s content type. Request models are represented as a key\/value map, with a content type as the key and a < Model> name as the value.+-- | Specifies the 'Model' resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a 'Model' name as the value. putRequestModels :: Lens' PutMethod (HashMap Text Text) putRequestModels = lens _putRequestModels (\ s a -> s{_putRequestModels = a}) . _Default . _Map; --- | A key-value map defining required or optional method request parameters that can be accepted by Amazon API Gateway. A key defines a method request parameter name matching the pattern of 'method.request.{location}.{name}', where 'location' is 'querystring', 'path', or 'header' and 'name' is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required ('true') or optional ('false'). The method request parameter names defined here are available in < Integration> to be mapped to integration request parameters or body-mapping templates.+-- | A key-value map defining required or optional method request parameters that can be accepted by Amazon API Gateway. A key defines a method request parameter name matching the pattern of @method.request.{location}.{name}@ , where @location@ is @querystring@ , @path@ , or @header@ and @name@ is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (@true@ ) or optional (@false@ ). The method request parameter names defined here are available in 'Integration' to be mapped to integration request parameters or body-mapping templates. putRequestParameters :: Lens' PutMethod (HashMap Text Bool) putRequestParameters = lens _putRequestParameters (\ s a -> s{_putRequestParameters = a}) . _Default . _Map; --- | Specifies the identifier of an < Authorizer> to use on this Method, if the type is CUSTOM.+-- | Specifies the identifier of an 'Authorizer' to use on this Method, if the type is CUSTOM. putAuthorizerId :: Lens' PutMethod (Maybe Text) putAuthorizerId = lens _putAuthorizerId (\ s a -> s{_putAuthorizerId = a}); --- | Specifies whether the method required a valid < ApiKey>.+-- | Specifies whether the method required a valid 'ApiKey' . putApiKeyRequired :: Lens' PutMethod (Maybe Bool) putApiKeyRequired = lens _putApiKeyRequired (\ s a -> s{_putApiKeyRequired = a}); --- | The < RestApi> identifier for the new < Method> resource.+-- | The 'RestApi' identifier for the new 'Method' resource. putRestAPIId :: Lens' PutMethod Text putRestAPIId = lens _putRestAPIId (\ s a -> s{_putRestAPIId = a}); --- | The < Resource> identifier for the new < Method> resource.+-- | The 'Resource' identifier for the new 'Method' resource. putResourceId :: Lens' PutMethod Text putResourceId = lens _putResourceId (\ s a -> s{_putResourceId = a}); --- | Specifies the method request\'s HTTP method type.+-- | Specifies the method request's HTTP method type. putHttpMethod :: Lens' PutMethod Text putHttpMethod = lens _putHttpMethod (\ s a -> s{_putHttpMethod = a});
gen/Network/AWS/APIGateway/PutMethodResponse.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Adds a < MethodResponse> to an existing < Method> resource.+-- Adds a 'MethodResponse' to an existing 'Method' resource.+--+-- module Network.AWS.APIGateway.PutMethodResponse ( -- * Creating a Request@@ -48,8 +50,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to add a < MethodResponse> to an existing < Method> resource.+-- | Request to add a 'MethodResponse' to an existing 'Method' resource. --+--+-- -- /See:/ 'putMethodResponse' smart constructor. data PutMethodResponse = PutMethodResponse' { _pmResponseModels :: !(Maybe (Map Text Text))@@ -64,17 +68,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pmResponseModels'+-- * 'pmResponseModels' - Specifies the 'Model' resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a 'Model' name as the value. ----- * 'pmResponseParameters'+-- * 'pmResponseParameters' - A key-value map specifying required or optional response parameters that Amazon API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of @method.response.header.{name}@ , where @name@ is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in @integration.response.header.{name}@ , a static value enclosed within a pair of single quotes (e.g., @'application/json'@ ), or a JSON expression from the back-end response payload in the form of @integration.response.body.{JSON-expression}@ , where @JSON-expression@ is a valid JSON expression without the @> @ prefix.) ----- * 'pmRestAPIId'+-- * 'pmRestAPIId' - The 'RestApi' identifier for the 'Method' resource. ----- * 'pmResourceId'+-- * 'pmResourceId' - The 'Resource' identifier for the 'Method' resource. ----- * 'pmHttpMethod'+-- * 'pmHttpMethod' - The HTTP verb of the 'Method' resource. ----- * 'pmStatusCode'+-- * 'pmStatusCode' - The method response's status code. putMethodResponse :: Text -- ^ 'pmRestAPIId' -> Text -- ^ 'pmResourceId'@@ -91,27 +95,27 @@ , _pmStatusCode = pStatusCode_ } --- | Specifies the < Model> resources used for the response\'s content type. Response models are represented as a key\/value map, with a content type as the key and a < Model> name as the value.+-- | Specifies the 'Model' resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a 'Model' name as the value. pmResponseModels :: Lens' PutMethodResponse (HashMap Text Text) pmResponseModels = lens _pmResponseModels (\ s a -> s{_pmResponseModels = a}) . _Default . _Map; --- | A key-value map specifying required or optional response parameters that Amazon API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of 'method.response.header.{name}', where 'name' is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in 'integration.response.header.{name}', a static value enclosed within a pair of single quotes (e.g., '\'application\/json\''), or a JSON expression from the back-end response payload in the form of 'integration.response.body.{JSON-expression}', where 'JSON-expression' is a valid JSON expression without the '>' prefix.)+-- | A key-value map specifying required or optional response parameters that Amazon API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of @method.response.header.{name}@ , where @name@ is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in @integration.response.header.{name}@ , a static value enclosed within a pair of single quotes (e.g., @'application/json'@ ), or a JSON expression from the back-end response payload in the form of @integration.response.body.{JSON-expression}@ , where @JSON-expression@ is a valid JSON expression without the @> @ prefix.) pmResponseParameters :: Lens' PutMethodResponse (HashMap Text Bool) pmResponseParameters = lens _pmResponseParameters (\ s a -> s{_pmResponseParameters = a}) . _Default . _Map; --- | The < RestApi> identifier for the < Method> resource.+-- | The 'RestApi' identifier for the 'Method' resource. pmRestAPIId :: Lens' PutMethodResponse Text pmRestAPIId = lens _pmRestAPIId (\ s a -> s{_pmRestAPIId = a}); --- | The < Resource> identifier for the < Method> resource.+-- | The 'Resource' identifier for the 'Method' resource. pmResourceId :: Lens' PutMethodResponse Text pmResourceId = lens _pmResourceId (\ s a -> s{_pmResourceId = a}); --- | The HTTP verb of the < Method> resource.+-- | The HTTP verb of the 'Method' resource. pmHttpMethod :: Lens' PutMethodResponse Text pmHttpMethod = lens _pmHttpMethod (\ s a -> s{_pmHttpMethod = a}); --- | The method response\'s status code.+-- | The method response's status code. pmStatusCode :: Lens' PutMethodResponse Text pmStatusCode = lens _pmStatusCode (\ s a -> s{_pmStatusCode = a});
gen/Network/AWS/APIGateway/PutRestAPI.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- A feature of the Amazon API Gateway control service for updating an existing API with an input of external API definitions. The update can take the form of merging the supplied definition into the existing API or overwriting the existing API.+--+-- module Network.AWS.APIGateway.PutRestAPI ( -- * Creating a Request@@ -35,9 +37,11 @@ , restAPI , RestAPI -- * Response Lenses+ , raBinaryMediaTypes , raWarnings , raCreatedDate , raName+ , raVersion , raId , raDescription ) where@@ -51,6 +55,8 @@ -- | A PUT request to update an existing API, with external API definitions specified as the request body. --+--+-- -- /See:/ 'putRestAPI' smart constructor. data PutRestAPI = PutRestAPI' { _praMode :: !(Maybe PutMode)@@ -64,15 +70,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'praMode'+-- * 'praMode' - The @mode@ query parameter to specify the update mode. Valid values are "merge" and "overwrite". By default, the update mode is "merge". ----- * 'praFailOnWarnings'+-- * 'praFailOnWarnings' - A query parameter to indicate whether to rollback the API update (@true@ ) or not (@false@ ) when a warning is encountered. The default value is @false@ . ----- * 'praParameters'+-- * 'praParameters' - Custom headers supplied as part of the request. ----- * 'praRestAPIId'+-- * 'praRestAPIId' - The identifier of the 'RestApi' to be updated. ----- * 'praBody'+-- * 'praBody' - The PUT request body containing external API definitions. Currently, only Swagger definition JSON files are supported. putRestAPI :: Text -- ^ 'praRestAPIId' -> HashMap Text Value -- ^ 'praBody'@@ -86,11 +92,11 @@ , _praBody = pBody_ } --- | The 'mode' query parameter to specify the update mode. Valid values are \"merge\" and \"overwrite\". By default, the update mode is \"merge\".+-- | The @mode@ query parameter to specify the update mode. Valid values are "merge" and "overwrite". By default, the update mode is "merge". praMode :: Lens' PutRestAPI (Maybe PutMode) praMode = lens _praMode (\ s a -> s{_praMode = a}); --- | A query parameter to indicate whether to rollback the API update ('true') or not ('false') when a warning is encountered. The default value is 'false'.+-- | A query parameter to indicate whether to rollback the API update (@true@ ) or not (@false@ ) when a warning is encountered. The default value is @false@ . praFailOnWarnings :: Lens' PutRestAPI (Maybe Bool) praFailOnWarnings = lens _praFailOnWarnings (\ s a -> s{_praFailOnWarnings = a}); @@ -98,7 +104,7 @@ praParameters :: Lens' PutRestAPI (HashMap Text Text) praParameters = lens _praParameters (\ s a -> s{_praParameters = a}) . _Default . _Map; --- | The identifier of the < RestApi> to be updated.+-- | The identifier of the 'RestApi' to be updated. praRestAPIId :: Lens' PutRestAPI Text praRestAPIId = lens _praRestAPIId (\ s a -> s{_praRestAPIId = a});
gen/Network/AWS/APIGateway/TestInvokeAuthorizer.hs view
@@ -18,8 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Simulate the execution of an < Authorizer> in your < RestApi> with headers, parameters, and an incoming request body.+-- Simulate the execution of an 'Authorizer' in your 'RestApi' with headers, parameters, and an incoming request body. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html Enable custom authorizers> module Network.AWS.APIGateway.TestInvokeAuthorizer (@@ -56,8 +57,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Make a request to simulate the execution of an < Authorizer>.+-- | Make a request to simulate the execution of an 'Authorizer' . --+--+-- -- /See:/ 'testInvokeAuthorizer' smart constructor. data TestInvokeAuthorizer = TestInvokeAuthorizer' { _tiaPathWithQueryString :: !(Maybe Text)@@ -73,19 +76,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tiaPathWithQueryString'+-- * 'tiaPathWithQueryString' - [Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters. ----- * 'tiaBody'+-- * 'tiaBody' - [Optional] The simulated request body of an incoming invocation request. ----- * 'tiaAdditionalContext'+-- * 'tiaAdditionalContext' - [Optional] A key-value map of additional context variables. ----- * 'tiaStageVariables'+-- * 'tiaStageVariables' - A key-value map of stage variables to simulate an invocation on a deployed 'Stage' . ----- * 'tiaHeaders'+-- * 'tiaHeaders' - [Required] A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified. ----- * 'tiaRestAPIId'+-- * 'tiaRestAPIId' - Specifies a test invoke authorizer request's 'RestApi' identifier. ----- * 'tiaAuthorizerId'+-- * 'tiaAuthorizerId' - Specifies a test invoke authorizer request's 'Authorizer' ID. testInvokeAuthorizer :: Text -- ^ 'tiaRestAPIId' -> Text -- ^ 'tiaAuthorizerId'@@ -113,7 +116,7 @@ tiaAdditionalContext :: Lens' TestInvokeAuthorizer (HashMap Text Text) tiaAdditionalContext = lens _tiaAdditionalContext (\ s a -> s{_tiaAdditionalContext = a}) . _Default . _Map; --- | A key-value map of stage variables to simulate an invocation on a deployed < Stage>.+-- | A key-value map of stage variables to simulate an invocation on a deployed 'Stage' . tiaStageVariables :: Lens' TestInvokeAuthorizer (HashMap Text Text) tiaStageVariables = lens _tiaStageVariables (\ s a -> s{_tiaStageVariables = a}) . _Default . _Map; @@ -121,11 +124,11 @@ tiaHeaders :: Lens' TestInvokeAuthorizer (HashMap Text Text) tiaHeaders = lens _tiaHeaders (\ s a -> s{_tiaHeaders = a}) . _Default . _Map; --- | Specifies a test invoke authorizer request\'s < RestApi> identifier.+-- | Specifies a test invoke authorizer request's 'RestApi' identifier. tiaRestAPIId :: Lens' TestInvokeAuthorizer Text tiaRestAPIId = lens _tiaRestAPIId (\ s a -> s{_tiaRestAPIId = a}); --- | Specifies a test invoke authorizer request\'s < Authorizer> ID.+-- | Specifies a test invoke authorizer request's 'Authorizer' ID. tiaAuthorizerId :: Lens' TestInvokeAuthorizer Text tiaAuthorizerId = lens _tiaAuthorizerId (\ s a -> s{_tiaAuthorizerId = a}); @@ -175,8 +178,10 @@ instance ToQuery TestInvokeAuthorizer where toQuery = const mempty --- | Represents the response of the test invoke request for a custom < Authorizer>+-- | Represents the response of the test invoke request for a custom 'Authorizer' --+--+-- -- /See:/ 'testInvokeAuthorizerResponse' smart constructor. data TestInvokeAuthorizerResponse = TestInvokeAuthorizerResponse' { _tiarsLog :: !(Maybe Text)@@ -193,21 +198,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tiarsLog'+-- * 'tiarsLog' - The Amazon API Gateway execution log for the test authorizer request. ----- * 'tiarsPrincipalId'+-- * 'tiarsPrincipalId' - The principal identity returned by the 'Authorizer' ----- * 'tiarsLatency'+-- * 'tiarsLatency' - The execution latency of the test authorizer request. ----- * 'tiarsAuthorization'+-- * 'tiarsAuthorization' - Undocumented member. ----- * 'tiarsClaims'+-- * 'tiarsClaims' - The <http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims open identity claims> , with any supported custom attributes, returned from the Cognito Your User Pool configured for the API. ----- * 'tiarsClientStatus'+-- * 'tiarsClientStatus' - The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded. ----- * 'tiarsPolicy'+-- * 'tiarsPolicy' - The JSON policy document returned by the 'Authorizer' ----- * 'tiarsResponseStatus'+-- * 'tiarsResponseStatus' - -- | The response status code. testInvokeAuthorizerResponse :: Int -- ^ 'tiarsResponseStatus' -> TestInvokeAuthorizerResponse@@ -227,7 +232,7 @@ tiarsLog :: Lens' TestInvokeAuthorizerResponse (Maybe Text) tiarsLog = lens _tiarsLog (\ s a -> s{_tiarsLog = a}); --- | The principal identity returned by the < Authorizer>+-- | The principal identity returned by the 'Authorizer' tiarsPrincipalId :: Lens' TestInvokeAuthorizerResponse (Maybe Text) tiarsPrincipalId = lens _tiarsPrincipalId (\ s a -> s{_tiarsPrincipalId = a}); @@ -239,7 +244,7 @@ tiarsAuthorization :: Lens' TestInvokeAuthorizerResponse (HashMap Text [Text]) tiarsAuthorization = lens _tiarsAuthorization (\ s a -> s{_tiarsAuthorization = a}) . _Default . _Map; --- | The <http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims open identity claims>, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.+-- | The <http://openid.net/specs/openid-connect-core-1_0.html#StandardClaims open identity claims> , with any supported custom attributes, returned from the Cognito Your User Pool configured for the API. tiarsClaims :: Lens' TestInvokeAuthorizerResponse (HashMap Text Text) tiarsClaims = lens _tiarsClaims (\ s a -> s{_tiarsClaims = a}) . _Default . _Map; @@ -247,11 +252,11 @@ tiarsClientStatus :: Lens' TestInvokeAuthorizerResponse (Maybe Int) tiarsClientStatus = lens _tiarsClientStatus (\ s a -> s{_tiarsClientStatus = a}); --- | The JSON policy document returned by the < Authorizer>+-- | The JSON policy document returned by the 'Authorizer' tiarsPolicy :: Lens' TestInvokeAuthorizerResponse (Maybe Text) tiarsPolicy = lens _tiarsPolicy (\ s a -> s{_tiarsPolicy = a}); --- | The response status code.+-- | -- | The response status code. tiarsResponseStatus :: Lens' TestInvokeAuthorizerResponse Int tiarsResponseStatus = lens _tiarsResponseStatus (\ s a -> s{_tiarsResponseStatus = a});
gen/Network/AWS/APIGateway/TestInvokeMethod.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Simulate the execution of a < Method> in your < RestApi> with headers, parameters, and an incoming request body.+-- Simulate the execution of a 'Method' in your 'RestApi' with headers, parameters, and an incoming request body.+--+-- module Network.AWS.APIGateway.TestInvokeMethod ( -- * Creating a Request@@ -53,8 +55,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Make a request to simulate the execution of a < Method>.+-- | Make a request to simulate the execution of a 'Method' . --+--+-- -- /See:/ 'testInvokeMethod' smart constructor. data TestInvokeMethod = TestInvokeMethod' { _timPathWithQueryString :: !(Maybe Text)@@ -71,21 +75,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'timPathWithQueryString'+-- * 'timPathWithQueryString' - The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters. ----- * 'timBody'+-- * 'timBody' - The simulated request body of an incoming invocation request. ----- * 'timClientCertificateId'+-- * 'timClientCertificateId' - A 'ClientCertificate' identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint. ----- * 'timStageVariables'+-- * 'timStageVariables' - A key-value map of stage variables to simulate an invocation on a deployed 'Stage' . ----- * 'timHeaders'+-- * 'timHeaders' - A key-value map of headers to simulate an incoming invocation request. ----- * 'timRestAPIId'+-- * 'timRestAPIId' - Specifies a test invoke method request's API identifier. ----- * 'timResourceId'+-- * 'timResourceId' - Specifies a test invoke method request's resource ID. ----- * 'timHttpMethod'+-- * 'timHttpMethod' - Specifies a test invoke method request's HTTP method. testInvokeMethod :: Text -- ^ 'timRestAPIId' -> Text -- ^ 'timResourceId'@@ -111,11 +115,11 @@ timBody :: Lens' TestInvokeMethod (Maybe Text) timBody = lens _timBody (\ s a -> s{_timBody = a}); --- | A < ClientCertificate> identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.+-- | A 'ClientCertificate' identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint. timClientCertificateId :: Lens' TestInvokeMethod (Maybe Text) timClientCertificateId = lens _timClientCertificateId (\ s a -> s{_timClientCertificateId = a}); --- | A key-value map of stage variables to simulate an invocation on a deployed < Stage>.+-- | A key-value map of stage variables to simulate an invocation on a deployed 'Stage' . timStageVariables :: Lens' TestInvokeMethod (HashMap Text Text) timStageVariables = lens _timStageVariables (\ s a -> s{_timStageVariables = a}) . _Default . _Map; @@ -123,15 +127,15 @@ timHeaders :: Lens' TestInvokeMethod (HashMap Text Text) timHeaders = lens _timHeaders (\ s a -> s{_timHeaders = a}) . _Default . _Map; --- | Specifies a test invoke method request\'s API identifier.+-- | Specifies a test invoke method request's API identifier. timRestAPIId :: Lens' TestInvokeMethod Text timRestAPIId = lens _timRestAPIId (\ s a -> s{_timRestAPIId = a}); --- | Specifies a test invoke method request\'s resource ID.+-- | Specifies a test invoke method request's resource ID. timResourceId :: Lens' TestInvokeMethod Text timResourceId = lens _timResourceId (\ s a -> s{_timResourceId = a}); --- | Specifies a test invoke method request\'s HTTP method.+-- | Specifies a test invoke method request's HTTP method. timHttpMethod :: Lens' TestInvokeMethod Text timHttpMethod = lens _timHttpMethod (\ s a -> s{_timHttpMethod = a}); @@ -181,6 +185,7 @@ -- | Represents the response of the test invoke request in the HTTP method. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-test-method.html#how-to-test-method-console Test API using the API Gateway console> -- -- /See:/ 'testInvokeMethodResponse' smart constructor.@@ -197,17 +202,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'timrsLog'+-- * 'timrsLog' - The Amazon API Gateway execution log for the test invoke request. ----- * 'timrsStatus'+-- * 'timrsStatus' - The HTTP status code. ----- * 'timrsBody'+-- * 'timrsBody' - The body of the HTTP response. ----- * 'timrsLatency'+-- * 'timrsLatency' - The execution latency of the test invoke request. ----- * 'timrsHeaders'+-- * 'timrsHeaders' - The headers of the HTTP response. ----- * 'timrsResponseStatus'+-- * 'timrsResponseStatus' - -- | The response status code. testInvokeMethodResponse :: Int -- ^ 'timrsResponseStatus' -> TestInvokeMethodResponse@@ -241,7 +246,7 @@ timrsHeaders :: Lens' TestInvokeMethodResponse (HashMap Text Text) timrsHeaders = lens _timrsHeaders (\ s a -> s{_timrsHeaders = a}) . _Default . _Map; --- | The response status code.+-- | -- | The response status code. timrsResponseStatus :: Lens' TestInvokeMethodResponse Int timrsResponseStatus = lens _timrsResponseStatus (\ s a -> s{_timrsResponseStatus = a});
gen/Network/AWS/APIGateway/Types.hs view
@@ -36,6 +36,12 @@ -- * CacheClusterStatus , CacheClusterStatus (..) + -- * ContentHandlingStrategy+ , ContentHandlingStrategy (..)++ -- * DocumentationPartType+ , DocumentationPartType (..)+ -- * IntegrationType , IntegrationType (..) @@ -56,6 +62,7 @@ , apiKey , akEnabled , akValue+ , akCustomerId , akCreatedDate , akName , akId@@ -115,6 +122,29 @@ , dId , dDescription + -- * DocumentationPart+ , DocumentationPart+ , documentationPart+ , dpLocation+ , dpId+ , dpProperties++ -- * DocumentationPartLocation+ , DocumentationPartLocation+ , documentationPartLocation+ , dplPath+ , dplName+ , dplMethod+ , dplStatusCode+ , dplType++ -- * DocumentationVersion+ , DocumentationVersion+ , documentationVersion+ , dvCreatedDate+ , dvVersion+ , dvDescription+ -- * DomainName , DomainName , domainName@@ -130,6 +160,7 @@ , iRequestTemplates , iCredentials , iRequestParameters+ , iContentHandling , iPassthroughBehavior , iUri , iIntegrationResponses@@ -140,10 +171,11 @@ -- * IntegrationResponse , IntegrationResponse , integrationResponse- , iResponseTemplates- , iSelectionPattern- , iStatusCode- , iResponseParameters+ , intContentHandling+ , intResponseTemplates+ , intSelectionPattern+ , intStatusCode+ , intResponseParameters -- * Method , Method@@ -220,9 +252,11 @@ -- * RestAPI , RestAPI , restAPI+ , raBinaryMediaTypes , raWarnings , raCreatedDate , raName+ , raVersion , raId , raDescription @@ -231,6 +265,7 @@ , stage , sDeploymentId , sVariables+ , sDocumentationVersion , sClientCertificateId , sCreatedDate , sCacheClusterStatus@@ -271,6 +306,7 @@ , upThrottle , upQuota , upDescription+ , upProductCode -- * UsagePlanKey , UsagePlanKey@@ -287,7 +323,7 @@ import Network.AWS.Prelude import Network.AWS.Sign.V4 --- | API version '2015-07-09' of the Amazon API Gateway SDK configuration.+-- | API version @2015-07-09@ of the Amazon API Gateway SDK configuration. apiGateway :: Service apiGateway = Service
gen/Network/AWS/APIGateway/Types/Product.hs view
@@ -21,14 +21,16 @@ import Network.AWS.Lens import Network.AWS.Prelude --- | A resource that can be distributed to callers for executing < Method> resources that require an API key. API keys can be mapped to any < Stage> on any < RestApi>, which indicates that the callers with the API key can make requests to that stage.+-- | A resource that can be distributed to callers for executing 'Method' resources that require an API key. API keys can be mapped to any 'Stage' on any 'RestApi' , which indicates that the callers with the API key can make requests to that stage. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html Use API Keys> -- -- /See:/ 'apiKey' smart constructor. data APIKey = APIKey' { _akEnabled :: !(Maybe Bool) , _akValue :: !(Maybe Text)+ , _akCustomerId :: !(Maybe Text) , _akCreatedDate :: !(Maybe POSIX) , _akName :: !(Maybe Text) , _akId :: !(Maybe Text)@@ -41,27 +43,30 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'akEnabled'+-- * 'akEnabled' - Specifies whether the API Key can be used by callers. ----- * 'akValue'+-- * 'akValue' - The value of the API Key. ----- * 'akCreatedDate'+-- * 'akCustomerId' - An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace. ----- * 'akName'+-- * 'akCreatedDate' - The date when the API Key was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . ----- * 'akId'+-- * 'akName' - The name of the API Key. ----- * 'akStageKeys'+-- * 'akId' - The identifier of the API Key. ----- * 'akLastUpdatedDate'+-- * 'akStageKeys' - A list of 'Stage' resources that are associated with the 'ApiKey' resource. ----- * 'akDescription'+-- * 'akLastUpdatedDate' - When the API Key was last updated, in ISO 8601 format.+--+-- * 'akDescription' - The description of the API Key. apiKey :: APIKey apiKey = APIKey' { _akEnabled = Nothing , _akValue = Nothing+ , _akCustomerId = Nothing , _akCreatedDate = Nothing , _akName = Nothing , _akId = Nothing@@ -78,7 +83,11 @@ akValue :: Lens' APIKey (Maybe Text) akValue = lens _akValue (\ s a -> s{_akValue = a}); --- | The date when the API Key was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format>.+-- | An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.+akCustomerId :: Lens' APIKey (Maybe Text)+akCustomerId = lens _akCustomerId (\ s a -> s{_akCustomerId = a});++-- | The date when the API Key was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . akCreatedDate :: Lens' APIKey (Maybe UTCTime) akCreatedDate = lens _akCreatedDate (\ s a -> s{_akCreatedDate = a}) . mapping _Time; @@ -90,7 +99,7 @@ akId :: Lens' APIKey (Maybe Text) akId = lens _akId (\ s a -> s{_akId = a}); --- | A list of < Stage> resources that are associated with the < ApiKey> resource.+-- | A list of 'Stage' resources that are associated with the 'ApiKey' resource. akStageKeys :: Lens' APIKey [Text] akStageKeys = lens _akStageKeys (\ s a -> s{_akStageKeys = a}) . _Default . _Coerce; @@ -108,7 +117,8 @@ (\ x -> APIKey' <$> (x .:? "enabled") <*> (x .:? "value") <*>- (x .:? "createdDate")+ (x .:? "customerId")+ <*> (x .:? "createdDate") <*> (x .:? "name") <*> (x .:? "id") <*> (x .:? "stageKeys" .!= mempty)@@ -121,6 +131,8 @@ -- | API stage name of the associated API stage in a usage plan. --+--+-- -- /See:/ 'apiStage' smart constructor. data APIStage = APIStage' { _asStage :: !(Maybe Text)@@ -131,9 +143,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'asStage'+-- * 'asStage' - API stage name of the associated API stage in a usage plan. ----- * 'asApiId'+-- * 'asApiId' - API Id of the associated API stage in a usage plan. apiStage :: APIStage apiStage =@@ -169,37 +181,24 @@ -- | Represents an AWS account that is associated with Amazon API Gateway. ----- To view the account info, call 'GET' on this resource. ----- ==== Error Codes--- #error-codes#+-- To view the account info, call @GET@ on this resource. --+-- __Error Codes__ -- The following exception may be thrown when the request fails. ----- - UnauthorizedException--- - NotFoundException--- - TooManyRequestsException+-- * UnauthorizedException * NotFoundException * TooManyRequestsException -- -- For detailed error code information, including the corresponding HTTP Status Codes, see <http://docs.aws.amazon.com/apigateway/api-reference/handling-errors/#api-error-codes API Gateway Error Codes> ----- ==== Example: Get the information about an account.--- #example-get-the-information-about-an-account.#------ ===== Request--- #request#------ > GET /account HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}------ ===== Response--- #response#------ The successful response returns a '200 OK' status code and a payload similar to the following:------ > { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html", "name": "account", "templated": true }, "self": { "href": "/account" }, "account:update": { "href": "/account" } }, "cloudwatchRoleArn": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "throttleSettings": { "rateLimit": 500, "burstLimit": 1000 } }+-- __Example: Get the information about an account.__+-- __Request__+-- @@GET /account HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} @ @ __Response__+-- The successful response returns a @200 OK@ status code and a payload similar to the following: ----- In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource.+-- @@{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html", "name": "account", "templated": true }, "self": { "href": "/account" }, "account:update": { "href": "/account" } }, "cloudwatchRoleArn": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "throttleSettings": { "rateLimit": 500, "burstLimit": 1000 } } @ @ In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource. ----- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-limits.html API Gateway Limits> <http://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html Developer Guide>, <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-account.html AWS CLI>+-- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-limits.html API Gateway Limits> <http://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html Developer Guide> , <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-account.html AWS CLI> -- -- /See:/ 'account' smart constructor. data Account = Account'@@ -213,13 +212,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aApiKeyVersion'+-- * 'aApiKeyVersion' - The version of the API keys used for the account. ----- * 'aCloudwatchRoleARN'+-- * 'aCloudwatchRoleARN' - The ARN of an Amazon CloudWatch role for the current 'Account' . ----- * 'aFeatures'+-- * 'aFeatures' - A list of features supported for the account. When usage plans are enabled, the features list will include an entry of @"UsagePlans"@ . ----- * 'aThrottleSettings'+-- * 'aThrottleSettings' - Specifies the API request limits configured for the current 'Account' . account :: Account account =@@ -234,15 +233,15 @@ aApiKeyVersion :: Lens' Account (Maybe Text) aApiKeyVersion = lens _aApiKeyVersion (\ s a -> s{_aApiKeyVersion = a}); --- | The ARN of an Amazon CloudWatch role for the current < Account>.+-- | The ARN of an Amazon CloudWatch role for the current 'Account' . aCloudwatchRoleARN :: Lens' Account (Maybe Text) aCloudwatchRoleARN = lens _aCloudwatchRoleARN (\ s a -> s{_aCloudwatchRoleARN = a}); --- | A list of features supported for the account. When usage plans are enabled, the features list will include an entry of '\"UsagePlans\"'.+-- | A list of features supported for the account. When usage plans are enabled, the features list will include an entry of @"UsagePlans"@ . aFeatures :: Lens' Account [Text] aFeatures = lens _aFeatures (\ s a -> s{_aFeatures = a}) . _Default . _Coerce; --- | Specifies the API request limits configured for the current < Account>.+-- | Specifies the API request limits configured for the current 'Account' . aThrottleSettings :: Lens' Account (Maybe ThrottleSettings) aThrottleSettings = lens _aThrottleSettings (\ s a -> s{_aThrottleSettings = a}); @@ -262,6 +261,7 @@ -- | Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html Enable custom authorization> -- -- /See:/ 'authorizer' smart constructor.@@ -282,25 +282,25 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aAuthorizerURI'+-- * 'aAuthorizerURI' - [Required] Specifies the authorizer's Uniform Resource Identifier (URI). For @TOKEN@ authorizers, this must be a well-formed Lambda function URI, for example, @arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations@ . In general, the URI has this form @arn:aws:apigateway:{region}:lambda:path/{service_api}@ , where @{region}@ is the same as the region hosting the Lambda function, @path@ indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial @/@ . For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. ----- * 'aIdentityValidationExpression'+-- * 'aIdentityValidationExpression' - A validation expression for the incoming identity. For @TOKEN@ authorizers, this value should be a regular expression. The incoming token from the client is matched against this expression, and will proceed if the token matches. If the token doesn't match, the client receives a 401 Unauthorized response. ----- * 'aProviderARNs'+-- * 'aProviderARNs' - A list of the provider ARNs of the authorizer. For an @TOKEN@ authorizer, this is not defined. For authorizers of the @COGNITO_USER_POOLS@ type, each element corresponds to a user pool ARN of this format: @arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}@ . ----- * 'aName'+-- * 'aName' - [Required] The name of the authorizer. ----- * 'aId'+-- * 'aId' - The identifier for the authorizer resource. ----- * 'aAuthorizerResultTtlInSeconds'+-- * 'aAuthorizerResultTtlInSeconds' - The TTL in seconds of cached authorizer results. If greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour. ----- * 'aAuthType'+-- * 'aAuthType' - Optional customer-defined field, used in Swagger imports/exports. Has no functional impact. ----- * 'aType'+-- * 'aType' - [Required] The type of the authorizer. Currently, the valid type is @TOKEN@ for a Lambda function or @COGNITO_USER_POOLS@ for an Amazon Cognito user pool. ----- * 'aIdentitySource'+-- * 'aIdentitySource' - [Required] The source of the identity in an incoming request. For a @TOKEN@ authorizer, this value is a mapping expression with the same syntax as integration parameter mappings. The only valid source for tokens is 'header', so the expression should match 'method.request.header.[headerName]'. The value of the header '[headerName]' will be interpreted as the incoming token. For @COGNITO_USER_POOLS@ authorizers, this property is used. ----- * 'aAuthorizerCredentials'+-- * 'aAuthorizerCredentials' - Specifies the credentials required for the authorizer, if any. Two options are available. To specify an IAM role for Amazon API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null. authorizer :: Authorizer authorizer =@@ -317,15 +317,15 @@ , _aAuthorizerCredentials = Nothing } --- | [Required] Specifies the authorizer\'s Uniform Resource Identifier (URI). For TOKEN authorizers, this must be a well-formed Lambda function URI. The URI should be of the form 'arn:aws:apigateway:{region}:lambda:path\/{service_api}'. 'Region' is used to determine the right endpoint. In this case, 'path' is used to indicate that the remaining substring in the URI should be treated as the path to the resource, including the initial '\/'. For Lambda functions, this is usually of the form \/2015-03-31\/functions\/[FunctionARN]\/invocations+-- | [Required] Specifies the authorizer's Uniform Resource Identifier (URI). For @TOKEN@ authorizers, this must be a well-formed Lambda function URI, for example, @arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations@ . In general, the URI has this form @arn:aws:apigateway:{region}:lambda:path/{service_api}@ , where @{region}@ is the same as the region hosting the Lambda function, @path@ indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial @/@ . For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations. aAuthorizerURI :: Lens' Authorizer (Maybe Text) aAuthorizerURI = lens _aAuthorizerURI (\ s a -> s{_aAuthorizerURI = a}); --- | A validation expression for the incoming identity. For TOKEN authorizers, this value should be a regular expression. The incoming token from the client is matched against this expression, and will proceed if the token matches. If the token doesn\'t match, the client receives a 401 Unauthorized response.+-- | A validation expression for the incoming identity. For @TOKEN@ authorizers, this value should be a regular expression. The incoming token from the client is matched against this expression, and will proceed if the token matches. If the token doesn't match, the client receives a 401 Unauthorized response. aIdentityValidationExpression :: Lens' Authorizer (Maybe Text) aIdentityValidationExpression = lens _aIdentityValidationExpression (\ s a -> s{_aIdentityValidationExpression = a}); --- | A list of the provider ARNs of the authorizer.+-- | A list of the provider ARNs of the authorizer. For an @TOKEN@ authorizer, this is not defined. For authorizers of the @COGNITO_USER_POOLS@ type, each element corresponds to a user pool ARN of this format: @arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}@ . aProviderARNs :: Lens' Authorizer [Text] aProviderARNs = lens _aProviderARNs (\ s a -> s{_aProviderARNs = a}) . _Default . _Coerce; @@ -341,19 +341,19 @@ aAuthorizerResultTtlInSeconds :: Lens' Authorizer (Maybe Int) aAuthorizerResultTtlInSeconds = lens _aAuthorizerResultTtlInSeconds (\ s a -> s{_aAuthorizerResultTtlInSeconds = a}); --- | Optional customer-defined field, used in Swagger imports\/exports. Has no functional impact.+-- | Optional customer-defined field, used in Swagger imports/exports. Has no functional impact. aAuthType :: Lens' Authorizer (Maybe Text) aAuthType = lens _aAuthType (\ s a -> s{_aAuthType = a}); --- | [Required] The type of the authorizer. Currently, the only valid type is TOKEN.+-- | [Required] The type of the authorizer. Currently, the valid type is @TOKEN@ for a Lambda function or @COGNITO_USER_POOLS@ for an Amazon Cognito user pool. aType :: Lens' Authorizer (Maybe AuthorizerType) aType = lens _aType (\ s a -> s{_aType = a}); --- | [Required] The source of the identity in an incoming request. For TOKEN authorizers, this value is a mapping expression with the same syntax as integration parameter mappings. The only valid source for tokens is \'header\', so the expression should match \'method.request.header.[headerName]\'. The value of the header \'[headerName]\' will be interpreted as the incoming token.+-- | [Required] The source of the identity in an incoming request. For a @TOKEN@ authorizer, this value is a mapping expression with the same syntax as integration parameter mappings. The only valid source for tokens is 'header', so the expression should match 'method.request.header.[headerName]'. The value of the header '[headerName]' will be interpreted as the incoming token. For @COGNITO_USER_POOLS@ authorizers, this property is used. aIdentitySource :: Lens' Authorizer (Maybe Text) aIdentitySource = lens _aIdentitySource (\ s a -> s{_aIdentitySource = a}); --- | Specifies the credentials required for the authorizer, if any. Two options are available. To specify an IAM role for Amazon API Gateway to assume, use the role\'s Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.+-- | Specifies the credentials required for the authorizer, if any. Two options are available. To specify an IAM role for Amazon API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null. aAuthorizerCredentials :: Lens' Authorizer (Maybe Text) aAuthorizerCredentials = lens _aAuthorizerCredentials (\ s a -> s{_aAuthorizerCredentials = a}); @@ -379,9 +379,8 @@ -- | Represents the base path that callers of the API must provide as part of the URL after the domain name. ----- A custom domain name plus a 'BasePathMapping' specification identifies a deployed < RestApi> in a given stage of the owner < Account>. ----- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html Use Custom Domain Names>+-- A custom domain name plus a @BasePathMapping@ specification identifies a deployed 'RestApi' in a given stage of the owner 'Account' .<http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html Use Custom Domain Names> -- -- /See:/ 'basePathMapping' smart constructor. data BasePathMapping = BasePathMapping'@@ -394,11 +393,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'bpmStage'+-- * 'bpmStage' - The name of the API's stage. ----- * 'bpmBasePath'+-- * 'bpmBasePath' - The base path name that callers of the API must provide as part of the URL after the domain name. ----- * 'bpmRestAPIId'+-- * 'bpmRestAPIId' - The name of the API. basePathMapping :: BasePathMapping basePathMapping =@@ -408,7 +407,7 @@ , _bpmRestAPIId = Nothing } --- | The name of the API\'s stage.+-- | The name of the API's stage. bpmStage :: Lens' BasePathMapping (Maybe Text) bpmStage = lens _bpmStage (\ s a -> s{_bpmStage = a}); @@ -434,9 +433,8 @@ -- | Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint. ----- Client certificates are used authenticate an API by the back-end server. To authenticate an API client (or user), use a custom < Authorizer>. ----- <http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html Use Client-Side Certificate>+-- Client certificates are used authenticate an API by the back-end server. To authenticate an API client (or user), use a custom 'Authorizer' .<http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html Use Client-Side Certificate> -- -- /See:/ 'clientCertificate' smart constructor. data ClientCertificate = ClientCertificate'@@ -451,15 +449,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ccPemEncodedCertificate'+-- * 'ccPemEncodedCertificate' - The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint . ----- * 'ccClientCertificateId'+-- * 'ccClientCertificateId' - The identifier of the client certificate. ----- * 'ccCreatedDate'+-- * 'ccCreatedDate' - The date when the client certificate was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . ----- * 'ccExpirationDate'+-- * 'ccExpirationDate' - The date when the client certificate will expire, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . ----- * 'ccDescription'+-- * 'ccDescription' - The description of the client certificate. clientCertificate :: ClientCertificate clientCertificate =@@ -479,11 +477,11 @@ ccClientCertificateId :: Lens' ClientCertificate (Maybe Text) ccClientCertificateId = lens _ccClientCertificateId (\ s a -> s{_ccClientCertificateId = a}); --- | The date when the client certificate was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format>.+-- | The date when the client certificate was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . ccCreatedDate :: Lens' ClientCertificate (Maybe UTCTime) ccCreatedDate = lens _ccCreatedDate (\ s a -> s{_ccCreatedDate = a}) . mapping _Time; --- | The date when the client certificate will expire, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format>.+-- | The date when the client certificate will expire, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . ccExpirationDate :: Lens' ClientCertificate (Maybe UTCTime) ccExpirationDate = lens _ccExpirationDate (\ s a -> s{_ccExpirationDate = a}) . mapping _Time; @@ -506,11 +504,10 @@ instance NFData ClientCertificate --- | An immutable representation of a < RestApi> resource that can be called by users using < Stages>. A deployment must be associated with a < Stage> for it to be callable over the Internet.+-- | An immutable representation of a 'RestApi' resource that can be called by users using 'Stages' . A deployment must be associated with a 'Stage' for it to be callable over the Internet. ----- To create a deployment, call 'POST' on the < Deployments> resource of a < RestApi>. To view, update, or delete a deployment, call 'GET', 'PATCH', or 'DELETE' on the specified deployment resource ('\/restapis\/{restapi_id}\/deployments\/{deployment_id}'). ----- < RestApi>, < Deployments>, < Stage>, <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-deployment.html AWS CLI>, <https://aws.amazon.com/tools/ AWS SDKs>+-- To create a deployment, call @POST@ on the 'Deployments' resource of a 'RestApi' . To view, update, or delete a deployment, call @GET@ , @PATCH@ , or @DELETE@ on the specified deployment resource (@/restapis/{restapi_id}/deployments/{deployment_id}@ ).'RestApi' , 'Deployments' , 'Stage' , <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-deployment.html AWS CLI> , <https://aws.amazon.com/tools/ AWS SDKs> -- -- /See:/ 'deployment' smart constructor. data Deployment = Deployment'@@ -524,13 +521,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dApiSummary'+-- * 'dApiSummary' - A summary of the 'RestApi' at the date and time that the deployment resource was created. ----- * 'dCreatedDate'+-- * 'dCreatedDate' - The date and time that the deployment resource was created. ----- * 'dId'+-- * 'dId' - The identifier for the deployment resource. ----- * 'dDescription'+-- * 'dDescription' - The description for the deployment resource. deployment :: Deployment deployment =@@ -541,7 +538,7 @@ , _dDescription = Nothing } --- | A summary of the < RestApi> at the date and time that the deployment resource was created.+-- | A summary of the 'RestApi' at the date and time that the deployment resource was created. dApiSummary :: Lens' Deployment (HashMap Text (HashMap Text MethodSnapshot)) dApiSummary = lens _dApiSummary (\ s a -> s{_dApiSummary = a}) . _Default . _Map; @@ -571,8 +568,204 @@ instance NFData Deployment +-- | A documentation part for a targeted API entity.+--+--+-- A documentation part consists of a content map (@properties@ ) and a target (@location@ ). The target specifies an API entity to which the documentation content applies. The supported API entity types are @API@ , @AUTHORIZER@ , @MODEL@ , @RESOURCE@ , @METHOD@ , @PATH_PARAMETER@ , @QUERY_PARAMETER@ , @REQUEST_HEADER@ , @REQUEST_BODY@ , @RESPONSE@ , @RESPONSE_HEADER@ , and @RESPONSE_BODY@ . Valid @location@ fields depend on the API entity type. All valid fields are not required.+--+-- The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the Swagger-compliant documentation fields will be injected into the associated API entity definition in the exported Swagger definition file.+--+-- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html Documenting an API> , 'DocumentationParts'+--+-- /See:/ 'documentationPart' smart constructor.+data DocumentationPart = DocumentationPart'+ { _dpLocation :: !(Maybe DocumentationPartLocation)+ , _dpId :: !(Maybe Text)+ , _dpProperties :: !(Maybe Text)+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'DocumentationPart' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dpLocation' - The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.+--+-- * 'dpId' - The 'DocumentationPart' identifier, generated by Amazon API Gateway when the @DocumentationPart@ is created.+--+-- * 'dpProperties' - A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., @"{ \"description\": \"The API does ...\" }"@ . Only Swagger-compliant documentation-related fields from the @properties@ map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a Swagger extension of @x-amazon-apigateway-documentation@ .+documentationPart+ :: DocumentationPart+documentationPart =+ DocumentationPart'+ { _dpLocation = Nothing+ , _dpId = Nothing+ , _dpProperties = Nothing+ }++-- | The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.+dpLocation :: Lens' DocumentationPart (Maybe DocumentationPartLocation)+dpLocation = lens _dpLocation (\ s a -> s{_dpLocation = a});++-- | The 'DocumentationPart' identifier, generated by Amazon API Gateway when the @DocumentationPart@ is created.+dpId :: Lens' DocumentationPart (Maybe Text)+dpId = lens _dpId (\ s a -> s{_dpId = a});++-- | A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., @"{ \"description\": \"The API does ...\" }"@ . Only Swagger-compliant documentation-related fields from the @properties@ map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a Swagger extension of @x-amazon-apigateway-documentation@ .+dpProperties :: Lens' DocumentationPart (Maybe Text)+dpProperties = lens _dpProperties (\ s a -> s{_dpProperties = a});++instance FromJSON DocumentationPart where+ parseJSON+ = withObject "DocumentationPart"+ (\ x ->+ DocumentationPart' <$>+ (x .:? "location") <*> (x .:? "id") <*>+ (x .:? "properties"))++instance Hashable DocumentationPart++instance NFData DocumentationPart++-- | Specifies the target API entity to which the documentation applies.+--+--+--+-- /See:/ 'documentationPartLocation' smart constructor.+data DocumentationPartLocation = DocumentationPartLocation'+ { _dplPath :: !(Maybe Text)+ , _dplName :: !(Maybe Text)+ , _dplMethod :: !(Maybe Text)+ , _dplStatusCode :: !(Maybe Text)+ , _dplType :: !DocumentationPartType+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'DocumentationPartLocation' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dplPath' - The URL path of the target. It is a valid field for the API entity types of @RESOURCE@ , @METHOD@ , @PATH_PARAMETER@ , @QUERY_PARAMETER@ , @REQUEST_HEADER@ , @REQUEST_BODY@ , @RESPONSE@ , @RESPONSE_HEADER@ , and @RESPONSE_BODY@ . The default value is @/@ for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other @location@ attributes, the child entity's @path@ attribute must match that of the parent entity as a prefix.+--+-- * 'dplName' - The name of the targeted API entity. It is a valid and required field for the API entity types of @AUTHORIZER@ , @MODEL@ , @PATH_PARAMETER@ , @QUERY_PARAMETER@ , @REQUEST_HEADER@ , @REQUEST_BODY@ and @RESPONSE_HEADER@ . It is an invalid field for any other entity type.+--+-- * 'dplMethod' - The HTTP verb of a method. It is a valid field for the API entity types of @METHOD@ , @PATH_PARAMETER@ , @QUERY_PARAMETER@ , @REQUEST_HEADER@ , @REQUEST_BODY@ , @RESPONSE@ , @RESPONSE_HEADER@ , and @RESPONSE_BODY@ . The default value is @*@ for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other @location@ attributes, the child entity's @method@ attribute must match that of the parent entity exactly.+--+-- * 'dplStatusCode' - The HTTP status code of a response. It is a valid field for the API entity types of @RESPONSE@ , @RESPONSE_HEADER@ , and @RESPONSE_BODY@ . The default value is @*@ for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other @location@ attributes, the child entity's @statusCode@ attribute must match that of the parent entity exactly.+--+-- * 'dplType' - The type of API entity to which the documentation content applies. It is a valid and required field for API entity types of @API@ , @AUTHORIZER@ , @MODEL@ , @RESOURCE@ , @METHOD@ , @PATH_PARAMETER@ , @QUERY_PARAMETER@ , @REQUEST_HEADER@ , @REQUEST_BODY@ , @RESPONSE@ , @RESPONSE_HEADER@ , and @RESPONSE_BODY@ . Content inheritance does not apply to any entity of the @API@ , @AUTHROZER@ , @MODEL@ , or @RESOURCE@ type.+documentationPartLocation+ :: DocumentationPartType -- ^ 'dplType'+ -> DocumentationPartLocation+documentationPartLocation pType_ =+ DocumentationPartLocation'+ { _dplPath = Nothing+ , _dplName = Nothing+ , _dplMethod = Nothing+ , _dplStatusCode = Nothing+ , _dplType = pType_+ }++-- | The URL path of the target. It is a valid field for the API entity types of @RESOURCE@ , @METHOD@ , @PATH_PARAMETER@ , @QUERY_PARAMETER@ , @REQUEST_HEADER@ , @REQUEST_BODY@ , @RESPONSE@ , @RESPONSE_HEADER@ , and @RESPONSE_BODY@ . The default value is @/@ for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other @location@ attributes, the child entity's @path@ attribute must match that of the parent entity as a prefix.+dplPath :: Lens' DocumentationPartLocation (Maybe Text)+dplPath = lens _dplPath (\ s a -> s{_dplPath = a});++-- | The name of the targeted API entity. It is a valid and required field for the API entity types of @AUTHORIZER@ , @MODEL@ , @PATH_PARAMETER@ , @QUERY_PARAMETER@ , @REQUEST_HEADER@ , @REQUEST_BODY@ and @RESPONSE_HEADER@ . It is an invalid field for any other entity type.+dplName :: Lens' DocumentationPartLocation (Maybe Text)+dplName = lens _dplName (\ s a -> s{_dplName = a});++-- | The HTTP verb of a method. It is a valid field for the API entity types of @METHOD@ , @PATH_PARAMETER@ , @QUERY_PARAMETER@ , @REQUEST_HEADER@ , @REQUEST_BODY@ , @RESPONSE@ , @RESPONSE_HEADER@ , and @RESPONSE_BODY@ . The default value is @*@ for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other @location@ attributes, the child entity's @method@ attribute must match that of the parent entity exactly.+dplMethod :: Lens' DocumentationPartLocation (Maybe Text)+dplMethod = lens _dplMethod (\ s a -> s{_dplMethod = a});++-- | The HTTP status code of a response. It is a valid field for the API entity types of @RESPONSE@ , @RESPONSE_HEADER@ , and @RESPONSE_BODY@ . The default value is @*@ for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other @location@ attributes, the child entity's @statusCode@ attribute must match that of the parent entity exactly.+dplStatusCode :: Lens' DocumentationPartLocation (Maybe Text)+dplStatusCode = lens _dplStatusCode (\ s a -> s{_dplStatusCode = a});++-- | The type of API entity to which the documentation content applies. It is a valid and required field for API entity types of @API@ , @AUTHORIZER@ , @MODEL@ , @RESOURCE@ , @METHOD@ , @PATH_PARAMETER@ , @QUERY_PARAMETER@ , @REQUEST_HEADER@ , @REQUEST_BODY@ , @RESPONSE@ , @RESPONSE_HEADER@ , and @RESPONSE_BODY@ . Content inheritance does not apply to any entity of the @API@ , @AUTHROZER@ , @MODEL@ , or @RESOURCE@ type.+dplType :: Lens' DocumentationPartLocation DocumentationPartType+dplType = lens _dplType (\ s a -> s{_dplType = a});++instance FromJSON DocumentationPartLocation where+ parseJSON+ = withObject "DocumentationPartLocation"+ (\ x ->+ DocumentationPartLocation' <$>+ (x .:? "path") <*> (x .:? "name") <*>+ (x .:? "method")+ <*> (x .:? "statusCode")+ <*> (x .: "type"))++instance Hashable DocumentationPartLocation++instance NFData DocumentationPartLocation++instance ToJSON DocumentationPartLocation where+ toJSON DocumentationPartLocation'{..}+ = object+ (catMaybes+ [("path" .=) <$> _dplPath, ("name" .=) <$> _dplName,+ ("method" .=) <$> _dplMethod,+ ("statusCode" .=) <$> _dplStatusCode,+ Just ("type" .= _dplType)])++-- | A snapshot of the documentation of an API.+--+--+-- Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., Swagger) file.+--+-- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html Documenting an API> , 'DocumentationPart' , 'DocumentationVersions'+--+-- /See:/ 'documentationVersion' smart constructor.+data DocumentationVersion = DocumentationVersion'+ { _dvCreatedDate :: !(Maybe POSIX)+ , _dvVersion :: !(Maybe Text)+ , _dvDescription :: !(Maybe Text)+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'DocumentationVersion' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dvCreatedDate' - The date when the API documentation snapshot is created.+--+-- * 'dvVersion' - The version identifier of the API documentation snapshot.+--+-- * 'dvDescription' - The description of the API documentation snapshot.+documentationVersion+ :: DocumentationVersion+documentationVersion =+ DocumentationVersion'+ { _dvCreatedDate = Nothing+ , _dvVersion = Nothing+ , _dvDescription = Nothing+ }++-- | The date when the API documentation snapshot is created.+dvCreatedDate :: Lens' DocumentationVersion (Maybe UTCTime)+dvCreatedDate = lens _dvCreatedDate (\ s a -> s{_dvCreatedDate = a}) . mapping _Time;++-- | The version identifier of the API documentation snapshot.+dvVersion :: Lens' DocumentationVersion (Maybe Text)+dvVersion = lens _dvVersion (\ s a -> s{_dvVersion = a});++-- | The description of the API documentation snapshot.+dvDescription :: Lens' DocumentationVersion (Maybe Text)+dvDescription = lens _dvDescription (\ s a -> s{_dvDescription = a});++instance FromJSON DocumentationVersion where+ parseJSON+ = withObject "DocumentationVersion"+ (\ x ->+ DocumentationVersion' <$>+ (x .:? "createdDate") <*> (x .:? "version") <*>+ (x .:? "description"))++instance Hashable DocumentationVersion++instance NFData DocumentationVersion+ -- | Represents a domain name that is contained in a simpler, more intuitive URL that can be called. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html Use Client-Side Certificate> -- -- /See:/ 'domainName' smart constructor.@@ -587,13 +780,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dnCertificateName'+-- * 'dnCertificateName' - The name of the certificate. ----- * 'dnDomainName'+-- * 'dnDomainName' - The name of the 'DomainName' resource. ----- * 'dnCertificateUploadDate'+-- * 'dnCertificateUploadDate' - The date when the certificate was uploaded, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . ----- * 'dnDistributionDomainName'+-- * 'dnDistributionDomainName' - The domain name of the Amazon CloudFront distribution. For more information, see the <http://aws.amazon.com/documentation/cloudfront/ Amazon CloudFront documentation> . domainName :: DomainName domainName =@@ -608,15 +801,15 @@ dnCertificateName :: Lens' DomainName (Maybe Text) dnCertificateName = lens _dnCertificateName (\ s a -> s{_dnCertificateName = a}); --- | The name of the < DomainName> resource.+-- | The name of the 'DomainName' resource. dnDomainName :: Lens' DomainName (Maybe Text) dnDomainName = lens _dnDomainName (\ s a -> s{_dnDomainName = a}); --- | The date when the certificate was uploaded, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format>.+-- | The date when the certificate was uploaded, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . dnCertificateUploadDate :: Lens' DomainName (Maybe UTCTime) dnCertificateUploadDate = lens _dnCertificateUploadDate (\ s a -> s{_dnCertificateUploadDate = a}) . mapping _Time; --- | The domain name of the Amazon CloudFront distribution. For more information, see the <http://aws.amazon.com/documentation/cloudfront/ Amazon CloudFront documentation>.+-- | The domain name of the Amazon CloudFront distribution. For more information, see the <http://aws.amazon.com/documentation/cloudfront/ Amazon CloudFront documentation> . dnDistributionDomainName :: Lens' DomainName (Maybe Text) dnDistributionDomainName = lens _dnDistributionDomainName (\ s a -> s{_dnDistributionDomainName = a}); @@ -633,11 +826,10 @@ instance NFData DomainName --- | Represents an HTTP, AWS, or Mock integration.+-- | Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration. ----- In the API Gateway console, the built-in Lambda integration is an AWS integration. ----- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Creating an API>+-- In the API Gateway console, the built-in Lambda integration is an AWS integration.<http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Creating an API> , <http://docs.aws.amazon.com/apigateway/latest/developerguide/.html > -- -- /See:/ 'integration' smart constructor. data Integration = Integration'@@ -645,6 +837,7 @@ , _iRequestTemplates :: !(Maybe (Map Text Text)) , _iCredentials :: !(Maybe Text) , _iRequestParameters :: !(Maybe (Map Text Text))+ , _iContentHandling :: !(Maybe ContentHandlingStrategy) , _iPassthroughBehavior :: !(Maybe Text) , _iUri :: !(Maybe Text) , _iIntegrationResponses :: !(Maybe (Map Text IntegrationResponse))@@ -657,25 +850,27 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'iHttpMethod'+-- * 'iHttpMethod' - Specifies the integration's HTTP method type. ----- * 'iRequestTemplates'+-- * 'iRequestTemplates' - Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. ----- * 'iCredentials'+-- * 'iCredentials' - Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for Amazon API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string @arn:aws:iam::\*:user/\*@ . To use resource-based permissions on supported AWS services, specify null. ----- * 'iRequestParameters'+-- * 'iRequestParameters' - A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of @method.request.{location}.{name}@ , where @location@ is @querystring@ , @path@ , or @header@ and @name@ must be a valid and unique method request parameter name. ----- * 'iPassthroughBehavior'+-- * 'iContentHandling' - Specifies how to handle request payload content type conversions. Supported values are @CONVERT_TO_BINARY@ and @CONVERT_TO_TEXT@ , with the following behaviors: * @CONVERT_TO_BINARY@ : Converts a request payload from a Base64-encoded string to the corresponding binary blob. * @CONVERT_TO_TEXT@ : Converts a request payload from a binary blob to a Base64-encoded string. If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the @passthroughBehaviors@ is configured to support payload pass-through. ----- * 'iUri'+-- * 'iPassthroughBehavior' - Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in @requestTemplates@ . There are three valid values: @WHEN_NO_MATCH@ , @WHEN_NO_TEMPLATES@ , and @NEVER@ . * @WHEN_NO_MATCH@ passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. * @WHEN_NO_TEMPLATES@ passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP @415 Unsupported Media Type@ response. * @NEVER@ rejects the method request with an HTTP @415 Unsupported Media Type@ response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request. ----- * 'iIntegrationResponses'+-- * 'iUri' - Specifies the integration's Uniform Resource Identifier (URI). For HTTP integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the <https://www.ietf.org/rfc/rfc3986.txt RFC-3986 specification> . For AWS integrations, the URI should be of the form @arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}@ . @Region@ , @subdomain@ and @service@ are used to determine the right endpoint. For AWS services that use the @Action=@ query string parameter, @service_api@ should be a valid action for the desired service. For RESTful AWS service APIs, @path@ is used to indicate that the remaining substring in the URI should be treated as the path to the resource, including the initial @/@ . ----- * 'iCacheNamespace'+-- * 'iIntegrationResponses' - Specifies the integration's responses. __Example: Get integration responses of a method__ __Request__ @@GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} @ @ __Response__ The successful response returns @200 OK@ status and a payload as follows: @@{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" }@ @ <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Creating an API> ----- * 'iType'+-- * 'iCacheNamespace' - Specifies the integration's cache namespace. ----- * 'iCacheKeyParameters'+-- * 'iType' - Specifies the integration's type. The valid value is @HTTP@ for integrating with an HTTP back end, @AWS@ for any AWS service endpoints, @MOCK@ for testing without actually invoking the back end, @HTTP_PROXY@ for integrating with the HTTP proxy integration, or @AWS_PROXY@ for integrating with the Lambda proxy integration type.+--+-- * 'iCacheKeyParameters' - Specifies the integration's cache key parameters. integration :: Integration integration =@@ -684,6 +879,7 @@ , _iRequestTemplates = Nothing , _iCredentials = Nothing , _iRequestParameters = Nothing+ , _iContentHandling = Nothing , _iPassthroughBehavior = Nothing , _iUri = Nothing , _iIntegrationResponses = Nothing@@ -692,7 +888,7 @@ , _iCacheKeyParameters = Nothing } --- | Specifies the integration\'s HTTP method type.+-- | Specifies the integration's HTTP method type. iHttpMethod :: Lens' Integration (Maybe Text) iHttpMethod = lens _iHttpMethod (\ s a -> s{_iHttpMethod = a}); @@ -700,57 +896,39 @@ iRequestTemplates :: Lens' Integration (HashMap Text Text) iRequestTemplates = lens _iRequestTemplates (\ s a -> s{_iRequestTemplates = a}) . _Default . _Map; --- | Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for Amazon API Gateway to assume, use the role\'s Amazon Resource Name (ARN). To require that the caller\'s identity be passed through from the request, specify the string 'arn:aws:iam::\\*:user\/\\*'. To use resource-based permissions on supported AWS services, specify null.+-- | Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for Amazon API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string @arn:aws:iam::\*:user/\*@ . To use resource-based permissions on supported AWS services, specify null. iCredentials :: Lens' Integration (Maybe Text) iCredentials = lens _iCredentials (\ s a -> s{_iCredentials = a}); --- | A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of 'method.request.{location}.{name}', where 'location' is 'querystring', 'path', or 'header' and 'name' must be a valid and unique method request parameter name.+-- | A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of @method.request.{location}.{name}@ , where @location@ is @querystring@ , @path@ , or @header@ and @name@ must be a valid and unique method request parameter name. iRequestParameters :: Lens' Integration (HashMap Text Text) iRequestParameters = lens _iRequestParameters (\ s a -> s{_iRequestParameters = a}) . _Default . _Map; --- | Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in 'requestTemplates'. There are three valid values: 'WHEN_NO_MATCH', 'WHEN_NO_TEMPLATES', and 'NEVER'.------ - 'WHEN_NO_MATCH' passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request.--- - 'WHEN_NO_TEMPLATES' passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP '415 Unsupported Media Type' response.--- - 'NEVER' rejects the method request with an HTTP '415 Unsupported Media Type' response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.---+-- | Specifies how to handle request payload content type conversions. Supported values are @CONVERT_TO_BINARY@ and @CONVERT_TO_TEXT@ , with the following behaviors: * @CONVERT_TO_BINARY@ : Converts a request payload from a Base64-encoded string to the corresponding binary blob. * @CONVERT_TO_TEXT@ : Converts a request payload from a binary blob to a Base64-encoded string. If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the @passthroughBehaviors@ is configured to support payload pass-through.+iContentHandling :: Lens' Integration (Maybe ContentHandlingStrategy)+iContentHandling = lens _iContentHandling (\ s a -> s{_iContentHandling = a});++-- | Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in @requestTemplates@ . There are three valid values: @WHEN_NO_MATCH@ , @WHEN_NO_TEMPLATES@ , and @NEVER@ . * @WHEN_NO_MATCH@ passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. * @WHEN_NO_TEMPLATES@ passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP @415 Unsupported Media Type@ response. * @NEVER@ rejects the method request with an HTTP @415 Unsupported Media Type@ response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request. iPassthroughBehavior :: Lens' Integration (Maybe Text) iPassthroughBehavior = lens _iPassthroughBehavior (\ s a -> s{_iPassthroughBehavior = a}); --- | Specifies the integration\'s Uniform Resource Identifier (URI). For HTTP integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the <https://www.ietf.org/rfc/rfc3986.txt RFC-3986 specification>. For AWS integrations, the URI should be of the form 'arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}\/{service_api}'. 'Region', 'subdomain' and 'service' are used to determine the right endpoint. For AWS services that use the 'Action=' query string parameter, 'service_api' should be a valid action for the desired service. For RESTful AWS service APIs, 'path' is used to indicate that the remaining substring in the URI should be treated as the path to the resource, including the initial '\/'.+-- | Specifies the integration's Uniform Resource Identifier (URI). For HTTP integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the <https://www.ietf.org/rfc/rfc3986.txt RFC-3986 specification> . For AWS integrations, the URI should be of the form @arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}@ . @Region@ , @subdomain@ and @service@ are used to determine the right endpoint. For AWS services that use the @Action=@ query string parameter, @service_api@ should be a valid action for the desired service. For RESTful AWS service APIs, @path@ is used to indicate that the remaining substring in the URI should be treated as the path to the resource, including the initial @/@ . iUri :: Lens' Integration (Maybe Text) iUri = lens _iUri (\ s a -> s{_iUri = a}); --- | Specifies the integration\'s responses.------ ==== Example: Get integration responses of a method--- #example-get-integration-responses-of-a-method#------ ===== Request--- #request#------ > GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}------ ===== Response--- #response#------ The successful response returns '200 OK' status and a payload as follows:------ > { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": ">util.urlDecode(\"%3CkinesisStreams%3E#foreach(>stream in >input.path('>.StreamNames'))%3Cstream%3E%3Cname%3E>stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" }------ <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Creating an API>+-- | Specifies the integration's responses. __Example: Get integration responses of a method__ __Request__ @@GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} @ @ __Response__ The successful response returns @200 OK@ status and a payload as follows: @@{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" }@ @ <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Creating an API> iIntegrationResponses :: Lens' Integration (HashMap Text IntegrationResponse) iIntegrationResponses = lens _iIntegrationResponses (\ s a -> s{_iIntegrationResponses = a}) . _Default . _Map; --- | Specifies the integration\'s cache namespace.+-- | Specifies the integration's cache namespace. iCacheNamespace :: Lens' Integration (Maybe Text) iCacheNamespace = lens _iCacheNamespace (\ s a -> s{_iCacheNamespace = a}); --- | Specifies the integration\'s type. The valid value is 'HTTP', 'AWS', or 'MOCK'.+-- | Specifies the integration's type. The valid value is @HTTP@ for integrating with an HTTP back end, @AWS@ for any AWS service endpoints, @MOCK@ for testing without actually invoking the back end, @HTTP_PROXY@ for integrating with the HTTP proxy integration, or @AWS_PROXY@ for integrating with the Lambda proxy integration type. iType :: Lens' Integration (Maybe IntegrationType) iType = lens _iType (\ s a -> s{_iType = a}); --- | Specifies the integration\'s cache key parameters.+-- | Specifies the integration's cache key parameters. iCacheKeyParameters :: Lens' Integration [Text] iCacheKeyParameters = lens _iCacheKeyParameters (\ s a -> s{_iCacheKeyParameters = a}) . _Default . _Coerce; @@ -763,6 +941,7 @@ (x .:? "requestTemplates" .!= mempty) <*> (x .:? "credentials") <*> (x .:? "requestParameters" .!= mempty)+ <*> (x .:? "contentHandling") <*> (x .:? "passthroughBehavior") <*> (x .:? "uri") <*> (x .:? "integrationResponses" .!= mempty)@@ -774,62 +953,72 @@ instance NFData Integration --- | Represents an integration response. The status code must map to an existing < MethodResponse>, and parameters and templates can be used to transform the back-end response.+-- | Represents an integration response. The status code must map to an existing 'MethodResponse' , and parameters and templates can be used to transform the back-end response. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Creating an API> -- -- /See:/ 'integrationResponse' smart constructor. data IntegrationResponse = IntegrationResponse'- { _iResponseTemplates :: !(Maybe (Map Text Text))- , _iSelectionPattern :: !(Maybe Text)- , _iStatusCode :: !(Maybe Text)- , _iResponseParameters :: !(Maybe (Map Text Text))+ { _intContentHandling :: !(Maybe ContentHandlingStrategy)+ , _intResponseTemplates :: !(Maybe (Map Text Text))+ , _intSelectionPattern :: !(Maybe Text)+ , _intStatusCode :: !(Maybe Text)+ , _intResponseParameters :: !(Maybe (Map Text Text)) } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'IntegrationResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'iResponseTemplates'+-- * 'intContentHandling' - Specifies how to handle response payload content type conversions. Supported values are @CONVERT_TO_BINARY@ and @CONVERT_TO_TEXT@ , with the following behaviors: * @CONVERT_TO_BINARY@ : Converts a response payload from a Base64-encoded string to the corresponding binary blob. * @CONVERT_TO_TEXT@ : Converts a response payload from a binary blob to a Base64-encoded string. If this property is not defined, the response payload will be passed through from the integration response to the method response without modification. ----- * 'iSelectionPattern'+-- * 'intResponseTemplates' - Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value. ----- * 'iStatusCode'+-- * 'intSelectionPattern' - Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the @.+@ regex to match error response. However, make sure that the error response does not contain any newline (@\n@ ) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. ----- * 'iResponseParameters'+-- * 'intStatusCode' - Specifies the status code that is used to map the integration response to an existing 'MethodResponse' .+--+-- * 'intResponseParameters' - A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of @method.response.header.{name}@ , where @name@ is a valid and unique header name. The mapped non-static value must match the pattern of @integration.response.header.{name}@ or @integration.response.body.{JSON-expression}@ , where @name@ is a valid and unique response header name and @JSON-expression@ is a valid JSON expression without the @> @ prefix. integrationResponse :: IntegrationResponse integrationResponse = IntegrationResponse'- { _iResponseTemplates = Nothing- , _iSelectionPattern = Nothing- , _iStatusCode = Nothing- , _iResponseParameters = Nothing+ { _intContentHandling = Nothing+ , _intResponseTemplates = Nothing+ , _intSelectionPattern = Nothing+ , _intStatusCode = Nothing+ , _intResponseParameters = Nothing } --- | Specifies the templates used to transform the integration response body. Response templates are represented as a key\/value map, with a content-type as the key and a template as the value.-iResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)-iResponseTemplates = lens _iResponseTemplates (\ s a -> s{_iResponseTemplates = a}) . _Default . _Map;+-- | Specifies how to handle response payload content type conversions. Supported values are @CONVERT_TO_BINARY@ and @CONVERT_TO_TEXT@ , with the following behaviors: * @CONVERT_TO_BINARY@ : Converts a response payload from a Base64-encoded string to the corresponding binary blob. * @CONVERT_TO_TEXT@ : Converts a response payload from a binary blob to a Base64-encoded string. If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.+intContentHandling :: Lens' IntegrationResponse (Maybe ContentHandlingStrategy)+intContentHandling = lens _intContentHandling (\ s a -> s{_intContentHandling = a}); --- | Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the '.+' regex to match error response. However, make sure that the error response does not contain any newline ('\\n') character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.-iSelectionPattern :: Lens' IntegrationResponse (Maybe Text)-iSelectionPattern = lens _iSelectionPattern (\ s a -> s{_iSelectionPattern = a});+-- | Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.+intResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text)+intResponseTemplates = lens _intResponseTemplates (\ s a -> s{_intResponseTemplates = a}) . _Default . _Map; --- | Specifies the status code that is used to map the integration response to an existing < MethodResponse>.-iStatusCode :: Lens' IntegrationResponse (Maybe Text)-iStatusCode = lens _iStatusCode (\ s a -> s{_iStatusCode = a});+-- | Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the @.+@ regex to match error response. However, make sure that the error response does not contain any newline (@\n@ ) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.+intSelectionPattern :: Lens' IntegrationResponse (Maybe Text)+intSelectionPattern = lens _intSelectionPattern (\ s a -> s{_intSelectionPattern = a}); --- | A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of 'method.response.header.{name}', where 'name' is a valid and unique header name. The mapped non-static value must match the pattern of 'integration.response.header.{name}' or 'integration.response.body.{JSON-expression}', where 'name' is a valid and unique response header name and 'JSON-expression' is a valid JSON expression without the '>' prefix.-iResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)-iResponseParameters = lens _iResponseParameters (\ s a -> s{_iResponseParameters = a}) . _Default . _Map;+-- | Specifies the status code that is used to map the integration response to an existing 'MethodResponse' .+intStatusCode :: Lens' IntegrationResponse (Maybe Text)+intStatusCode = lens _intStatusCode (\ s a -> s{_intStatusCode = a}); +-- | A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of @method.response.header.{name}@ , where @name@ is a valid and unique header name. The mapped non-static value must match the pattern of @integration.response.header.{name}@ or @integration.response.body.{JSON-expression}@ , where @name@ is a valid and unique response header name and @JSON-expression@ is a valid JSON expression without the @> @ prefix.+intResponseParameters :: Lens' IntegrationResponse (HashMap Text Text)+intResponseParameters = lens _intResponseParameters (\ s a -> s{_intResponseParameters = a}) . _Default . _Map;+ instance FromJSON IntegrationResponse where parseJSON = withObject "IntegrationResponse" (\ x -> IntegrationResponse' <$>- (x .:? "responseTemplates" .!= mempty) <*>- (x .:? "selectionPattern")+ (x .:? "contentHandling") <*>+ (x .:? "responseTemplates" .!= mempty)+ <*> (x .:? "selectionPattern") <*> (x .:? "statusCode") <*> (x .:? "responseParameters" .!= mempty)) @@ -837,28 +1026,21 @@ instance NFData IntegrationResponse --- | Represents a client-facing interface by which the client calls the API to access back-end resources. A __Method__ resource is integrated with an < Integration> resource. Both consist of a request and one or more responses. The method request takes the client input that is passed to the back end through the integration request. A method response returns the output from the back end to the client through an integration response. A method request is embodied in a __Method__ resource, whereas an integration request is embodied in an < Integration> resource. On the other hand, a method response is represented by a < MethodResponse> resource, whereas an integration response is represented by an < IntegrationResponse> resource.+-- | Represents a client-facing interface by which the client calls the API to access back-end resources. A __Method__ resource is integrated with an 'Integration' resource. Both consist of a request and one or more responses. The method request takes the client input that is passed to the back end through the integration request. A method response returns the output from the back end to the client through an integration response. A method request is embodied in a __Method__ resource, whereas an integration request is embodied in an 'Integration' resource. On the other hand, a method response is represented by a 'MethodResponse' resource, whereas an integration response is represented by an 'IntegrationResponse' resource. ----- ==== Example: Retrive the GET method on a specified resource--- #example-retrive-the-get-method-on-a-specified-resource# ----- ===== Request--- #request# ----- The following example request retrieves the information about the GET method on an API resource ('3kzxbg5sa2') of an API ('fugvjdxtri'). ----- > GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T210259Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}------ ===== Response--- #response#------ The successful response returns a '200 OK' status code and a payload similar to the following:+-- __Example: Retrive the GET method on a specified resource__+-- __Request__+-- The following example request retrieves the information about the GET method on an API resource (@3kzxbg5sa2@ ) of an API (@fugvjdxtri@ ). ----- > { "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": true, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": ">util.urlDecode(\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\")" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }+-- @@GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T210259Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}@ @ __Response__+-- The successful response returns a @200 OK@ status code and a payload similar to the following: ----- In the example above, the response template for the '200 OK' response maps the JSON output from the 'ListStreams' action in the back end to an XML output. The mapping template is URL-encoded as '%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E' and the output is decoded using the <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#util-templat-reference >util.urlDecode()> helper function.+-- @@{ "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": true, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\")" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }@ @ In the example above, the response template for the @200 OK@ response maps the JSON output from the @ListStreams@ action in the back end to an XML output. The mapping template is URL-encoded as @%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E@ and the output is decoded using the <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#util-templat-reference > util.urlDecode()> helper function. ----- < MethodResponse>, < Integration>, < IntegrationResponse>, < Resource>, <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-method-settings.html Set up an API\'s method>+-- 'MethodResponse' , 'Integration' , 'IntegrationResponse' , 'Resource' , <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-method-settings.html Set up an API's method> -- -- /See:/ 'method' smart constructor. data Method = Method'@@ -876,21 +1058,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mMethodResponses'+-- * 'mMethodResponses' - Gets a method response associated with a given HTTP status code. The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a 'MethodResponse' resource that specifies the response returned to the caller from the back end through the integration response. __Example: Get a 200 OK response of a GET method__ __Request__ @@GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}@ @ __Response__ The successful response returns a @200 OK@ status code and a payload similar to the following: @@{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.operator": false, "method.response.header.operand_2": false, "method.response.header.operand_1": false }, "statusCode": "200" }@ @ <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-method-response.html AWS CLI> ----- * 'mHttpMethod'+-- * 'mHttpMethod' - The method's HTTP verb. ----- * 'mRequestModels'+-- * 'mRequestModels' - A key-value map specifying data schemas, represented by 'Model' resources, (as the mapped value) of the request payloads of given content types (as the mapping key). ----- * 'mRequestParameters'+-- * 'mRequestParameters' - A key-value map defining required or optional method request parameters that can be accepted by Amazon API Gateway. A key is a method request parameter name matching the pattern of @method.request.{location}.{name}@ , where @location@ is @querystring@ , @path@ , or @header@ and @name@ is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (@true@ ) or optional (@false@ ). The method request parameter names defined here are available in 'Integration' to be mapped to integration request parameters or templates. ----- * 'mAuthorizerId'+-- * 'mAuthorizerId' - The identifier of an 'Authorizer' to use on this method. The @authorizationType@ must be @CUSTOM@ . ----- * 'mAuthorizationType'+-- * 'mAuthorizationType' - The method's authorization type. ----- * 'mApiKeyRequired'+-- * 'mApiKeyRequired' - A boolean flag specifying whether a valid 'ApiKey' is required to invoke this method. ----- * 'mMethodIntegration'+-- * 'mMethodIntegration' - Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end. __Example: __ __Request__ @@GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}@ @ __Response__ The successful response returns a @200 OK@ status code and a payload similar to the following: @@{ "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true } ], "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:responses": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.operator": "integration.response.body.op", "method.response.header.operand_2": "integration.response.body.b", "method.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "application/json": "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }@ @ <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-integration.html AWS CLI> method :: Method method =@@ -905,71 +1087,35 @@ , _mMethodIntegration = Nothing } --- | Gets a method response associated with a given HTTP status code.------ The collection of method responses are encapsulated in a key-value map, where the key is a response\'s HTTP status code and the value is a < MethodResponse> resource that specifies the response returned to the caller from the back end through the integration response.------ ==== Example: Get a 200 OK response of a GET method--- #example-get-a-200-ok-response-of-a-get-method#------ ===== Request--- #request#------ > GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}------ ===== Response--- #response#------ The successful response returns a '200 OK' status code and a payload similar to the following:------ > { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.operator": false, "method.response.header.operand_2": false, "method.response.header.operand_1": false }, "statusCode": "200" }------ <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-method-response.html AWS CLI>+-- | Gets a method response associated with a given HTTP status code. The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a 'MethodResponse' resource that specifies the response returned to the caller from the back end through the integration response. __Example: Get a 200 OK response of a GET method__ __Request__ @@GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}@ @ __Response__ The successful response returns a @200 OK@ status code and a payload similar to the following: @@{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.operator": false, "method.response.header.operand_2": false, "method.response.header.operand_1": false }, "statusCode": "200" }@ @ <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-method-response.html AWS CLI> mMethodResponses :: Lens' Method (HashMap Text MethodResponse) mMethodResponses = lens _mMethodResponses (\ s a -> s{_mMethodResponses = a}) . _Default . _Map; --- | The method\'s HTTP verb.+-- | The method's HTTP verb. mHttpMethod :: Lens' Method (Maybe Text) mHttpMethod = lens _mHttpMethod (\ s a -> s{_mHttpMethod = a}); --- | A key-value map specifying data schemas, represented by < Model> resources, (as the mapped value) of the request payloads of given content types (as the mapping key).+-- | A key-value map specifying data schemas, represented by 'Model' resources, (as the mapped value) of the request payloads of given content types (as the mapping key). mRequestModels :: Lens' Method (HashMap Text Text) mRequestModels = lens _mRequestModels (\ s a -> s{_mRequestModels = a}) . _Default . _Map; --- | A key-value map defining required or optional method request parameters that can be accepted by Amazon API Gateway. A key is a method request parameter name matching the pattern of 'method.request.{location}.{name}', where 'location' is 'querystring', 'path', or 'header' and 'name' is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required ('true') or optional ('false'). The method request parameter names defined here are available in < Integration> to be mapped to integration request parameters or templates.+-- | A key-value map defining required or optional method request parameters that can be accepted by Amazon API Gateway. A key is a method request parameter name matching the pattern of @method.request.{location}.{name}@ , where @location@ is @querystring@ , @path@ , or @header@ and @name@ is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (@true@ ) or optional (@false@ ). The method request parameter names defined here are available in 'Integration' to be mapped to integration request parameters or templates. mRequestParameters :: Lens' Method (HashMap Text Bool) mRequestParameters = lens _mRequestParameters (\ s a -> s{_mRequestParameters = a}) . _Default . _Map; --- | The identifier of an < Authorizer> to use on this method. The 'authorizationType' must be 'CUSTOM'.+-- | The identifier of an 'Authorizer' to use on this method. The @authorizationType@ must be @CUSTOM@ . mAuthorizerId :: Lens' Method (Maybe Text) mAuthorizerId = lens _mAuthorizerId (\ s a -> s{_mAuthorizerId = a}); --- | The method\'s authorization type.+-- | The method's authorization type. mAuthorizationType :: Lens' Method (Maybe Text) mAuthorizationType = lens _mAuthorizationType (\ s a -> s{_mAuthorizationType = a}); --- | A boolean flag specifying whether a valid < ApiKey> is required to invoke this method.+-- | A boolean flag specifying whether a valid 'ApiKey' is required to invoke this method. mApiKeyRequired :: Lens' Method (Maybe Bool) mApiKeyRequired = lens _mApiKeyRequired (\ s a -> s{_mApiKeyRequired = a}); --- | Gets the method\'s integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.------ ==== Example:--- #example#------ ===== Request--- #request#------ > GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}------ ===== Response--- #response#------ The successful response returns a '200 OK' status code and a payload similar to the following:------ > { "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true } ], "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:responses": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { "application/json": "{\n \"a\": \">input.params('operand1')\",\n \"b\": \">input.params('operand2')\", \n \"op\": \">input.params('operator')\" \n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.operator": "integration.response.body.op", "method.response.header.operand_2": "integration.response.body.b", "method.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "application/json": "#set(>res = >input.path('>'))\n{\n \"result\": \">res.a, >res.b, >res.op => >res.c\",\n \"a\" : \">res.a\",\n \"b\" : \">res.b\",\n \"op\" : \">res.op\",\n \"c\" : \">res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }------ <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-integration.html AWS CLI>+-- | Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end. __Example: __ __Request__ @@GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}@ @ __Response__ The successful response returns a @200 OK@ status code and a payload similar to the following: @@{ "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true } ], "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:responses": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.operator": "integration.response.body.op", "method.response.header.operand_2": "integration.response.body.b", "method.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "application/json": "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }@ @ <http://docs.aws.amazon.com/cli/latest/reference/apigateway/get-integration.html AWS CLI> mMethodIntegration :: Lens' Method (Maybe Integration) mMethodIntegration = lens _mMethodIntegration (\ s a -> s{_mMethodIntegration = a}); @@ -993,24 +1139,19 @@ -- | Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template. ----- ==== Example: A __MethodResponse__ instance of an API--- #example-a-methodresponse-instance-of-an-api# ----- ===== Request--- #request# ----- The example request retrieves a __MethodResponse__ of the 200 status code. ----- > GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}------ ===== Response--- #response#+-- __Example: A __MethodResponse__ instance of an API__+-- __Request__+-- The example request retrieves a __MethodResponse__ of the 200 status code. ----- The successful response returns '200 OK' status and a payload as follows:+-- @@GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}@ @ __Response__+-- The successful response returns @200 OK@ status and a payload as follows: ----- > { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" }+-- @@{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" }@ @ ----- < Method>, < IntegrationResponse>, < Integration> <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Creating an API>+-- 'Method' , 'IntegrationResponse' , 'Integration' <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Creating an API> -- -- /See:/ 'methodResponse' smart constructor. data MethodResponse = MethodResponse'@@ -1023,11 +1164,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mResponseModels'+-- * 'mResponseModels' - Specifies the 'Model' resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a 'Model' name as the value. ----- * 'mStatusCode'+-- * 'mStatusCode' - The method response's status code. ----- * 'mResponseParameters'+-- * 'mResponseParameters' - A key-value map specifying required or optional response parameters that Amazon API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern @method.response.header.{name}@ , where @name@ is a valid and unique header name. Amazon API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's 'IntegrationResponse' . The integration response data that can be mapped include an integration response header expressed in @integration.response.header.{name}@ , a static value enclosed within a pair of single quotes (e.g., @'application/json'@ ), or a JSON expression from the back-end response payload in the form of @integration.response.body.{JSON-expression}@ , where @JSON-expression@ is a valid JSON expression without the @> @ prefix.) methodResponse :: MethodResponse methodResponse =@@ -1037,15 +1178,15 @@ , _mResponseParameters = Nothing } --- | Specifies the < Model> resources used for the response\'s content-type. Response models are represented as a key\/value map, with a content-type as the key and a < Model> name as the value.+-- | Specifies the 'Model' resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a 'Model' name as the value. mResponseModels :: Lens' MethodResponse (HashMap Text Text) mResponseModels = lens _mResponseModels (\ s a -> s{_mResponseModels = a}) . _Default . _Map; --- | The method response\'s status code.+-- | The method response's status code. mStatusCode :: Lens' MethodResponse (Maybe Text) mStatusCode = lens _mStatusCode (\ s a -> s{_mStatusCode = a}); --- | A key-value map specifying required or optional response parameters that Amazon API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern 'method.response.header.{name}', where 'name' is a valid and unique header name. Amazon API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API\'s < IntegrationResponse>. The integration response data that can be mapped include an integration response header expressed in 'integration.response.header.{name}', a static value enclosed within a pair of single quotes (e.g., '\'application\/json\''), or a JSON expression from the back-end response payload in the form of 'integration.response.body.{JSON-expression}', where 'JSON-expression' is a valid JSON expression without the '>' prefix.)+-- | A key-value map specifying required or optional response parameters that Amazon API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern @method.response.header.{name}@ , where @name@ is a valid and unique header name. Amazon API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's 'IntegrationResponse' . The integration response data that can be mapped include an integration response header expressed in @integration.response.header.{name}@ , a static value enclosed within a pair of single quotes (e.g., @'application/json'@ ), or a JSON expression from the back-end response payload in the form of @integration.response.body.{JSON-expression}@ , where @JSON-expression@ is a valid JSON expression without the @> @ prefix.) mResponseParameters :: Lens' MethodResponse (HashMap Text Bool) mResponseParameters = lens _mResponseParameters (\ s a -> s{_mResponseParameters = a}) . _Default . _Map; @@ -1064,6 +1205,8 @@ -- | Specifies the method setting properties. --+--+-- -- /See:/ 'methodSetting' smart constructor. data MethodSetting = MethodSetting' { _msCacheTtlInSeconds :: !(Maybe Int)@@ -1082,25 +1225,25 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'msCacheTtlInSeconds'+-- * 'msCacheTtlInSeconds' - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is @/{method_setting_key}/caching/ttlInSeconds@ , and the value is an integer. ----- * 'msDataTraceEnabled'+-- * 'msDataTraceEnabled' - Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is @/{method_setting_key}/logging/dataTrace@ , and the value is a Boolean. ----- * 'msThrottlingBurstLimit'+-- * 'msThrottlingBurstLimit' - Specifies the throttling burst limit. The PATCH path for this setting is @/{method_setting_key}/throttling/burstLimit@ , and the value is an integer. ----- * 'msCacheDataEncrypted'+-- * 'msCacheDataEncrypted' - Specifies whether the cached responses are encrypted. The PATCH path for this setting is @/{method_setting_key}/caching/dataEncrypted@ , and the value is a Boolean. ----- * 'msLoggingLevel'+-- * 'msLoggingLevel' - Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is @/{method_setting_key}/logging/loglevel@ , and the available levels are @OFF@ , @ERROR@ , and @INFO@ . ----- * 'msRequireAuthorizationForCacheControl'+-- * 'msRequireAuthorizationForCacheControl' - Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is @/{method_setting_key}/caching/requireAuthorizationForCacheControl@ , and the value is a Boolean. ----- * 'msCachingEnabled'+-- * 'msCachingEnabled' - Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is @/{method_setting_key}/caching/enabled@ , and the value is a Boolean. ----- * 'msMetricsEnabled'+-- * 'msMetricsEnabled' - Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is @/{method_setting_key}/metrics/enabled@ , and the value is a Boolean. ----- * 'msThrottlingRateLimit'+-- * 'msThrottlingRateLimit' - Specifies the throttling rate limit. The PATCH path for this setting is @/{method_setting_key}/throttling/rateLimit@ , and the value is a double. ----- * 'msUnauthorizedCacheControlHeaderStrategy'+-- * 'msUnauthorizedCacheControlHeaderStrategy' - Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is @/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy@ , and the available values are @FAIL_WITH_403@ , @SUCCEED_WITH_RESPONSE_HEADER@ , @SUCCEED_WITHOUT_RESPONSE_HEADER@ . methodSetting :: MethodSetting methodSetting =@@ -1117,43 +1260,43 @@ , _msUnauthorizedCacheControlHeaderStrategy = Nothing } --- | Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is '\/{method_setting_key}\/caching\/ttlInSeconds', and the value is an integer.+-- | Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is @/{method_setting_key}/caching/ttlInSeconds@ , and the value is an integer. msCacheTtlInSeconds :: Lens' MethodSetting (Maybe Int) msCacheTtlInSeconds = lens _msCacheTtlInSeconds (\ s a -> s{_msCacheTtlInSeconds = a}); --- | Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is '\/{method_setting_key}\/logging\/dataTrace', and the value is a Boolean.+-- | Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is @/{method_setting_key}/logging/dataTrace@ , and the value is a Boolean. msDataTraceEnabled :: Lens' MethodSetting (Maybe Bool) msDataTraceEnabled = lens _msDataTraceEnabled (\ s a -> s{_msDataTraceEnabled = a}); --- | Specifies the throttling burst limit. The PATCH path for this setting is '\/{method_setting_key}\/throttling\/burstLimit', and the value is an integer.+-- | Specifies the throttling burst limit. The PATCH path for this setting is @/{method_setting_key}/throttling/burstLimit@ , and the value is an integer. msThrottlingBurstLimit :: Lens' MethodSetting (Maybe Int) msThrottlingBurstLimit = lens _msThrottlingBurstLimit (\ s a -> s{_msThrottlingBurstLimit = a}); --- | Specifies whether the cached responses are encrypted. The PATCH path for this setting is '\/{method_setting_key}\/caching\/dataEncrypted', and the value is a Boolean.+-- | Specifies whether the cached responses are encrypted. The PATCH path for this setting is @/{method_setting_key}/caching/dataEncrypted@ , and the value is a Boolean. msCacheDataEncrypted :: Lens' MethodSetting (Maybe Bool) msCacheDataEncrypted = lens _msCacheDataEncrypted (\ s a -> s{_msCacheDataEncrypted = a}); --- | Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is '\/{method_setting_key}\/logging\/loglevel', and the available levels are 'OFF', 'ERROR', and 'INFO'.+-- | Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is @/{method_setting_key}/logging/loglevel@ , and the available levels are @OFF@ , @ERROR@ , and @INFO@ . msLoggingLevel :: Lens' MethodSetting (Maybe Text) msLoggingLevel = lens _msLoggingLevel (\ s a -> s{_msLoggingLevel = a}); --- | Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is '\/{method_setting_key}\/caching\/requireAuthorizationForCacheControl', and the value is a Boolean.+-- | Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is @/{method_setting_key}/caching/requireAuthorizationForCacheControl@ , and the value is a Boolean. msRequireAuthorizationForCacheControl :: Lens' MethodSetting (Maybe Bool) msRequireAuthorizationForCacheControl = lens _msRequireAuthorizationForCacheControl (\ s a -> s{_msRequireAuthorizationForCacheControl = a}); --- | Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is '\/{method_setting_key}\/caching\/enabled', and the value is a Boolean.+-- | Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is @/{method_setting_key}/caching/enabled@ , and the value is a Boolean. msCachingEnabled :: Lens' MethodSetting (Maybe Bool) msCachingEnabled = lens _msCachingEnabled (\ s a -> s{_msCachingEnabled = a}); --- | Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is '\/{method_setting_key}\/metrics\/enabled', and the value is a Boolean.+-- | Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is @/{method_setting_key}/metrics/enabled@ , and the value is a Boolean. msMetricsEnabled :: Lens' MethodSetting (Maybe Bool) msMetricsEnabled = lens _msMetricsEnabled (\ s a -> s{_msMetricsEnabled = a}); --- | Specifies the throttling rate limit. The PATCH path for this setting is '\/{method_setting_key}\/throttling\/rateLimit', and the value is a double.+-- | Specifies the throttling rate limit. The PATCH path for this setting is @/{method_setting_key}/throttling/rateLimit@ , and the value is a double. msThrottlingRateLimit :: Lens' MethodSetting (Maybe Double) msThrottlingRateLimit = lens _msThrottlingRateLimit (\ s a -> s{_msThrottlingRateLimit = a}); --- | Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is '\/{method_setting_key}\/caching\/unauthorizedCacheControlHeaderStrategy', and the available values are 'FAIL_WITH_403', 'SUCCEED_WITH_RESPONSE_HEADER', 'SUCCEED_WITHOUT_RESPONSE_HEADER'.+-- | Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is @/{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy@ , and the available values are @FAIL_WITH_403@ , @SUCCEED_WITH_RESPONSE_HEADER@ , @SUCCEED_WITHOUT_RESPONSE_HEADER@ . msUnauthorizedCacheControlHeaderStrategy :: Lens' MethodSetting (Maybe UnauthorizedCacheControlHeaderStrategy) msUnauthorizedCacheControlHeaderStrategy = lens _msUnauthorizedCacheControlHeaderStrategy (\ s a -> s{_msUnauthorizedCacheControlHeaderStrategy = a}); @@ -1177,8 +1320,10 @@ instance NFData MethodSetting --- | Represents a summary of a < Method> resource, given a particular date and time.+-- | Represents a summary of a 'Method' resource, given a particular date and time. --+--+-- -- /See:/ 'methodSnapshot' smart constructor. data MethodSnapshot = MethodSnapshot' { _msAuthorizationType :: !(Maybe Text)@@ -1189,9 +1334,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'msAuthorizationType'+-- * 'msAuthorizationType' - Specifies the type of authorization used for the method. ----- * 'msApiKeyRequired'+-- * 'msApiKeyRequired' - Specifies whether the method requires a valid 'ApiKey' . methodSnapshot :: MethodSnapshot methodSnapshot =@@ -1204,7 +1349,7 @@ msAuthorizationType :: Lens' MethodSnapshot (Maybe Text) msAuthorizationType = lens _msAuthorizationType (\ s a -> s{_msAuthorizationType = a}); --- | Specifies whether the method requires a valid < ApiKey>.+-- | Specifies whether the method requires a valid 'ApiKey' . msApiKeyRequired :: Lens' MethodSnapshot (Maybe Bool) msApiKeyRequired = lens _msApiKeyRequired (\ s a -> s{_msApiKeyRequired = a}); @@ -1220,13 +1365,14 @@ instance NFData MethodSnapshot --- | Represents the data structure of a method\'s request or response payload.+-- | Represents the data structure of a method's request or response payload. --+-- -- A request model defines the data structure of the client-supplied request payload. A response model defines the data structure of the response payload returned by the back end. Although not required, models are useful for mapping payloads between the front end and back end. ----- A model is used for generating an API\'s SDK, validating the input request body, and creating a skeletal mapping template.+-- A model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template. ----- < Method>, < MethodResponse>, <http://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html Models and Mappings>+-- 'Method' , 'MethodResponse' , <http://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html Models and Mappings> -- -- /See:/ 'model' smart constructor. data Model = Model'@@ -1241,15 +1387,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'mSchema'+-- * 'mSchema' - The schema for the model. For @application/json@ models, this should be <http://json-schema.org/documentation.html JSON-schema draft v4> model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail. ----- * 'mName'+-- * 'mName' - The name of the model. ----- * 'mId'+-- * 'mId' - The identifier for the model resource. ----- * 'mDescription'+-- * 'mDescription' - The description of the model. ----- * 'mContentType'+-- * 'mContentType' - The content-type for the model. model :: Model model =@@ -1261,7 +1407,7 @@ , _mContentType = Nothing } --- | The schema for the model. For 'application\/json' models, this should be <http://json-schema.org/documentation.html JSON-schema draft v4> model. Do not include \"\\*\/\" characters in the description of any properties because such \"\\*\/\" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API\'s SDK generated by API Gateway to fail.+-- | The schema for the model. For @application/json@ models, this should be <http://json-schema.org/documentation.html JSON-schema draft v4> model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail. mSchema :: Lens' Model (Maybe Text) mSchema = lens _mSchema (\ s a -> s{_mSchema = a}); @@ -1294,7 +1440,7 @@ instance NFData Model --- | A single patch operation to apply to the specified resource. Please refer to http:\/\/tools.ietf.org\/html\/rfc6902#section-4 for an explanation of how each operation is used.+-- | A single patch operation to apply to the specified resource. Please refer to http://tools.ietf.org/html/rfc6902#section-4 for an explanation of how each operation is used. -- -- /See:/ 'patchOperation' smart constructor. data PatchOperation = PatchOperation'@@ -1308,13 +1454,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'poOp'+-- * 'poOp' - An update operation to be performed with this PATCH request. The valid value can be "add", "remove", or "replace". Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message. ----- * 'poPath'+-- * 'poPath' - The @op@ operation's target, as identified by a <https://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-08 JSON Pointer> value that references a location within the targeted resource. For example, if the target resource has an updateable property of @{"name":"value"}@ , the path for this property is @/name@ . If the @name@ property value is a JSON object (e.g., @{"name": {"child/name": "child-value"}}@ ), the path for the @child/name@ property will be @/name/child~1name@ . Any slash ("/") character appearing in path names must be escaped with "~1", as shown in the example above. Each @op@ operation can have only one @path@ associated with it. ----- * 'poValue'+-- * 'poValue' - The new target value of the update operation. ----- * 'poFrom'+-- * 'poFrom' - Not supported. patchOperation :: PatchOperation patchOperation =@@ -1325,11 +1471,11 @@ , _poFrom = Nothing } --- | An update operation to be performed with this PATCH request. The valid value can be \"add\", \"remove\", or \"replace\". Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message.+-- | An update operation to be performed with this PATCH request. The valid value can be "add", "remove", or "replace". Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message. poOp :: Lens' PatchOperation (Maybe Op) poOp = lens _poOp (\ s a -> s{_poOp = a}); --- | The 'op' operation\'s target, as identified by a <https://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-08 JSON Pointer> value that references a location within the targeted resource. For example, if the target resource has an updateable property of '{\"name\":\"value\"}', the path for this property is '\/name'. If the 'name' property value is a JSON object (e.g., '{\"name\": {\"child\/name\": \"child-value\"}}'), the path for the 'child\/name' property will be '\/name\/child~1name'. Any slash (\"\/\") character appearing in path names must be escaped with \"~1\", as shown in the example above. Each 'op' operation can have only one 'path' associated with it.+-- | The @op@ operation's target, as identified by a <https://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-08 JSON Pointer> value that references a location within the targeted resource. For example, if the target resource has an updateable property of @{"name":"value"}@ , the path for this property is @/name@ . If the @name@ property value is a JSON object (e.g., @{"name": {"child/name": "child-value"}}@ ), the path for the @child/name@ property will be @/name/child~1name@ . Any slash ("/") character appearing in path names must be escaped with "~1", as shown in the example above. Each @op@ operation can have only one @path@ associated with it. poPath :: Lens' PatchOperation (Maybe Text) poPath = lens _poPath (\ s a -> s{_poPath = a}); @@ -1354,6 +1500,8 @@ -- | Quotas configured for a usage plan. --+--+-- -- /See:/ 'quotaSettings' smart constructor. data QuotaSettings = QuotaSettings' { _qsOffset :: !(Maybe Int)@@ -1365,11 +1513,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'qsOffset'+-- * 'qsOffset' - The number of requests subtracted from the given limit in the initial time period. ----- * 'qsPeriod'+-- * 'qsPeriod' - The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH". ----- * 'qsLimit'+-- * 'qsLimit' - The maximum number of requests that can be made in a given time period. quotaSettings :: QuotaSettings quotaSettings =@@ -1383,7 +1531,7 @@ qsOffset :: Lens' QuotaSettings (Maybe Int) qsOffset = lens _qsOffset (\ s a -> s{_qsOffset = a}); --- | The time period in which the limit applies. Valid values are \"DAY\", \"WEEK\" or \"MONTH\".+-- | The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH". qsPeriod :: Lens' QuotaSettings (Maybe QuotaPeriodType) qsPeriod = lens _qsPeriod (\ s a -> s{_qsPeriod = a}); @@ -1413,6 +1561,7 @@ -- | Represents an API resource. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Create an API> -- -- /See:/ 'resource' smart constructor.@@ -1428,15 +1577,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rPathPart'+-- * 'rPathPart' - The last path segment for this resource. ----- * 'rPath'+-- * 'rPath' - The full path for this resource. ----- * 'rId'+-- * 'rId' - The resource's identifier. ----- * 'rResourceMethods'+-- * 'rResourceMethods' - Gets an API resource's method of a given HTTP verb. The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the @200 OK@ response of the @GET /restapis/{restapi_id}/resources/{resource_id}@ or @GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods@ request. __Example: Get the GET method of an API resource__ __Request__ @@GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160608T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160608/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}@ @ __Response__ @@{ "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }@ @ If the @OPTIONS@ is enabled on the resource, you can follow the example here to get that method. Just replace the @GET@ of the last path segment in the request URL with @OPTIONS@ . ----- * 'rParentId'+-- * 'rParentId' - The parent resource's identifier. resource :: Resource resource =@@ -1456,33 +1605,15 @@ rPath :: Lens' Resource (Maybe Text) rPath = lens _rPath (\ s a -> s{_rPath = a}); --- | The resource\'s identifier.+-- | The resource's identifier. rId :: Lens' Resource (Maybe Text) rId = lens _rId (\ s a -> s{_rId = a}); --- | Gets an API resource\'s method of a given HTTP verb.------ The resource methods are a map of methods indexed by methods\' HTTP verbs enabled on the resource. This method map is included in the '200 OK' response of the 'GET \/restapis\/{restapi_id}\/resources\/{resource_id}' or 'GET \/restapis\/{restapi_id}\/resources\/{resource_id}?embed=methods' request.------ ==== Example: Get the GET method of an API resource--- #example-get-the-get-method-of-an-api-resource#------ ===== Request--- #request#------ > GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160608T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160608/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}------ ===== Response--- #response#------ > { "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": ">util.urlDecode(\"%3CkinesisStreams%3E#foreach(>stream in >input.path('>.StreamNames'))%3Cstream%3E%3Cname%3E>stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }------ If the 'OPTIONS' is enabled on the resource, you can follow the example here to get that method. Just replace the 'GET' of the last path segment in the request URL with 'OPTIONS'.---+-- | Gets an API resource's method of a given HTTP verb. The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the @200 OK@ response of the @GET /restapis/{restapi_id}/resources/{resource_id}@ or @GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods@ request. __Example: Get the GET method of an API resource__ __Request__ @@GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160608T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160608/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}@ @ __Response__ @@{ "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }@ @ If the @OPTIONS@ is enabled on the resource, you can follow the example here to get that method. Just replace the @GET@ of the last path segment in the request URL with @OPTIONS@ . rResourceMethods :: Lens' Resource (HashMap Text Method) rResourceMethods = lens _rResourceMethods (\ s a -> s{_rResourceMethods = a}) . _Default . _Map; --- | The parent resource\'s identifier.+-- | The parent resource's identifier. rParentId :: Lens' Resource (Maybe Text) rParentId = lens _rParentId (\ s a -> s{_rParentId = a}); @@ -1502,58 +1633,75 @@ -- | Represents a REST API. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html Create an API> -- -- /See:/ 'restAPI' smart constructor. data RestAPI = RestAPI'- { _raWarnings :: !(Maybe [Text])- , _raCreatedDate :: !(Maybe POSIX)- , _raName :: !(Maybe Text)- , _raId :: !(Maybe Text)- , _raDescription :: !(Maybe Text)+ { _raBinaryMediaTypes :: !(Maybe [Text])+ , _raWarnings :: !(Maybe [Text])+ , _raCreatedDate :: !(Maybe POSIX)+ , _raName :: !(Maybe Text)+ , _raVersion :: !(Maybe Text)+ , _raId :: !(Maybe Text)+ , _raDescription :: !(Maybe Text) } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'RestAPI' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'raWarnings'+-- * 'raBinaryMediaTypes' - The list of binary media types supported by the 'RestApi' . By default, the 'RestApi' supports only UTF-8-encoded text payloads. ----- * 'raCreatedDate'+-- * 'raWarnings' - The warning messages reported when @failonwarnings@ is turned on during API import. ----- * 'raName'+-- * 'raCreatedDate' - The date when the API was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . ----- * 'raId'+-- * 'raName' - The API's name. ----- * 'raDescription'+-- * 'raVersion' - A version identifier for the API.+--+-- * 'raId' - The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.+--+-- * 'raDescription' - The API's description. restAPI :: RestAPI restAPI = RestAPI'- { _raWarnings = Nothing+ { _raBinaryMediaTypes = Nothing+ , _raWarnings = Nothing , _raCreatedDate = Nothing , _raName = Nothing+ , _raVersion = Nothing , _raId = Nothing , _raDescription = Nothing } --- | The warning messages reported when 'failonwarnings' is turned on during API import.+-- | The list of binary media types supported by the 'RestApi' . By default, the 'RestApi' supports only UTF-8-encoded text payloads.+raBinaryMediaTypes :: Lens' RestAPI [Text]+raBinaryMediaTypes = lens _raBinaryMediaTypes (\ s a -> s{_raBinaryMediaTypes = a}) . _Default . _Coerce;++-- | The warning messages reported when @failonwarnings@ is turned on during API import. raWarnings :: Lens' RestAPI [Text] raWarnings = lens _raWarnings (\ s a -> s{_raWarnings = a}) . _Default . _Coerce; --- | The date when the API was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format>.+-- | The date when the API was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . raCreatedDate :: Lens' RestAPI (Maybe UTCTime) raCreatedDate = lens _raCreatedDate (\ s a -> s{_raCreatedDate = a}) . mapping _Time; --- | The API\'s name.+-- | The API's name. raName :: Lens' RestAPI (Maybe Text) raName = lens _raName (\ s a -> s{_raName = a}); --- | The API\'s identifier. This identifier is unique across all of your APIs in Amazon API Gateway.+-- | A version identifier for the API.+raVersion :: Lens' RestAPI (Maybe Text)+raVersion = lens _raVersion (\ s a -> s{_raVersion = a});++-- | The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway. raId :: Lens' RestAPI (Maybe Text) raId = lens _raId (\ s a -> s{_raId = a}); --- | The API\'s description.+-- | The API's description. raDescription :: Lens' RestAPI (Maybe Text) raDescription = lens _raDescription (\ s a -> s{_raDescription = a}); @@ -1562,9 +1710,11 @@ = withObject "RestAPI" (\ x -> RestAPI' <$>- (x .:? "warnings" .!= mempty) <*>- (x .:? "createdDate")+ (x .:? "binaryMediaTypes" .!= mempty) <*>+ (x .:? "warnings" .!= mempty)+ <*> (x .:? "createdDate") <*> (x .:? "name")+ <*> (x .:? "version") <*> (x .:? "id") <*> (x .:? "description")) @@ -1572,56 +1722,61 @@ instance NFData RestAPI --- | Represents a unique identifier for a version of a deployed < RestApi> that is callable by users.+-- | Represents a unique identifier for a version of a deployed 'RestApi' that is callable by users. --+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-deploy-api.html Deploy an API> -- -- /See:/ 'stage' smart constructor. data Stage = Stage'- { _sDeploymentId :: !(Maybe Text)- , _sVariables :: !(Maybe (Map Text Text))- , _sClientCertificateId :: !(Maybe Text)- , _sCreatedDate :: !(Maybe POSIX)- , _sCacheClusterStatus :: !(Maybe CacheClusterStatus)- , _sMethodSettings :: !(Maybe (Map Text MethodSetting))- , _sLastUpdatedDate :: !(Maybe POSIX)- , _sCacheClusterSize :: !(Maybe CacheClusterSize)- , _sCacheClusterEnabled :: !(Maybe Bool)- , _sStageName :: !(Maybe Text)- , _sDescription :: !(Maybe Text)+ { _sDeploymentId :: !(Maybe Text)+ , _sVariables :: !(Maybe (Map Text Text))+ , _sDocumentationVersion :: !(Maybe Text)+ , _sClientCertificateId :: !(Maybe Text)+ , _sCreatedDate :: !(Maybe POSIX)+ , _sCacheClusterStatus :: !(Maybe CacheClusterStatus)+ , _sMethodSettings :: !(Maybe (Map Text MethodSetting))+ , _sLastUpdatedDate :: !(Maybe POSIX)+ , _sCacheClusterSize :: !(Maybe CacheClusterSize)+ , _sCacheClusterEnabled :: !(Maybe Bool)+ , _sStageName :: !(Maybe Text)+ , _sDescription :: !(Maybe Text) } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'Stage' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sDeploymentId'+-- * 'sDeploymentId' - The identifier of the 'Deployment' that the stage points to. ----- * 'sVariables'+-- * 'sVariables' - A map that defines the stage variables for a 'Stage' resource. Variable names can have alphanumeric and underscore characters, and the values must match @[A-Za-z0-9-._~:/?#&=,]+@ . ----- * 'sClientCertificateId'+-- * 'sDocumentationVersion' - The version of the associated API documentation. ----- * 'sCreatedDate'+-- * 'sClientCertificateId' - The identifier of a client certificate for an API stage. ----- * 'sCacheClusterStatus'+-- * 'sCreatedDate' - The date and time that the stage was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . ----- * 'sMethodSettings'+-- * 'sCacheClusterStatus' - The status of the cache cluster for the stage, if enabled. ----- * 'sLastUpdatedDate'+-- * 'sMethodSettings' - A map that defines the method settings for a 'Stage' resource. Keys (designated as @/{method_setting_key@ below) are method paths defined as @{resource_path}/{http_method}@ for an individual method override, or @/\*/\*@ for overriding all methods in the stage. ----- * 'sCacheClusterSize'+-- * 'sLastUpdatedDate' - The date and time that information about the stage was last updated, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . ----- * 'sCacheClusterEnabled'+-- * 'sCacheClusterSize' - The size of the cache cluster for the stage, if enabled. ----- * 'sStageName'+-- * 'sCacheClusterEnabled' - Specifies whether a cache cluster is enabled for the stage. ----- * 'sDescription'+-- * 'sStageName' - The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to Amazon API Gateway.+--+-- * 'sDescription' - The stage's description. stage :: Stage stage = Stage' { _sDeploymentId = Nothing , _sVariables = Nothing+ , _sDocumentationVersion = Nothing , _sClientCertificateId = Nothing , _sCreatedDate = Nothing , _sCacheClusterStatus = Nothing@@ -1633,19 +1788,23 @@ , _sDescription = Nothing } --- | The identifier of the < Deployment> that the stage points to.+-- | The identifier of the 'Deployment' that the stage points to. sDeploymentId :: Lens' Stage (Maybe Text) sDeploymentId = lens _sDeploymentId (\ s a -> s{_sDeploymentId = a}); --- | A map that defines the stage variables for a < Stage> resource. Variable names can have alphanumeric and underscore characters, and the values must match '[A-Za-z0-9-._~:\/?#&=,]+'.+-- | A map that defines the stage variables for a 'Stage' resource. Variable names can have alphanumeric and underscore characters, and the values must match @[A-Za-z0-9-._~:/?#&=,]+@ . sVariables :: Lens' Stage (HashMap Text Text) sVariables = lens _sVariables (\ s a -> s{_sVariables = a}) . _Default . _Map; +-- | The version of the associated API documentation.+sDocumentationVersion :: Lens' Stage (Maybe Text)+sDocumentationVersion = lens _sDocumentationVersion (\ s a -> s{_sDocumentationVersion = a});+ -- | The identifier of a client certificate for an API stage. sClientCertificateId :: Lens' Stage (Maybe Text) sClientCertificateId = lens _sClientCertificateId (\ s a -> s{_sClientCertificateId = a}); --- | The date and time that the stage was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format>.+-- | The date and time that the stage was created, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . sCreatedDate :: Lens' Stage (Maybe UTCTime) sCreatedDate = lens _sCreatedDate (\ s a -> s{_sCreatedDate = a}) . mapping _Time; @@ -1653,11 +1812,11 @@ sCacheClusterStatus :: Lens' Stage (Maybe CacheClusterStatus) sCacheClusterStatus = lens _sCacheClusterStatus (\ s a -> s{_sCacheClusterStatus = a}); --- | A map that defines the method settings for a < Stage> resource. Keys (designated as '\/{method_setting_key' below) are method paths defined as '{resource_path}\/{http_method}' for an individual method override, or '\/\\*\/\\*' for overriding all methods in the stage. Any forward slash (\"\/\") characters in the 'resource_path' part must be encoded as \"~1\" as in, for example, '~1resource~1sub-resource\/GET'.+-- | A map that defines the method settings for a 'Stage' resource. Keys (designated as @/{method_setting_key@ below) are method paths defined as @{resource_path}/{http_method}@ for an individual method override, or @/\*/\*@ for overriding all methods in the stage. sMethodSettings :: Lens' Stage (HashMap Text MethodSetting) sMethodSettings = lens _sMethodSettings (\ s a -> s{_sMethodSettings = a}) . _Default . _Map; --- | The date and time that information about the stage was last updated, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format>.+-- | The date and time that information about the stage was last updated, in <http://www.iso.org/iso/home/standards/iso8601.htm ISO 8601 format> . sLastUpdatedDate :: Lens' Stage (Maybe UTCTime) sLastUpdatedDate = lens _sLastUpdatedDate (\ s a -> s{_sLastUpdatedDate = a}) . mapping _Time; @@ -1673,7 +1832,7 @@ sStageName :: Lens' Stage (Maybe Text) sStageName = lens _sStageName (\ s a -> s{_sStageName = a}); --- | The stage\'s description.+-- | The stage's description. sDescription :: Lens' Stage (Maybe Text) sDescription = lens _sDescription (\ s a -> s{_sDescription = a}); @@ -1684,6 +1843,7 @@ Stage' <$> (x .:? "deploymentId") <*> (x .:? "variables" .!= mempty)+ <*> (x .:? "documentationVersion") <*> (x .:? "clientCertificateId") <*> (x .:? "createdDate") <*> (x .:? "cacheClusterStatus")@@ -1698,8 +1858,10 @@ instance NFData Stage --- | A reference to a unique stage identified in the format '{restApiId}\/{stage}'.+-- | A reference to a unique stage identified in the format @{restApiId}/{stage}@ . --+--+-- -- /See:/ 'stageKey' smart constructor. data StageKey = StageKey' { _skRestAPIId :: !(Maybe Text)@@ -1710,9 +1872,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'skRestAPIId'+-- * 'skRestAPIId' - A list of 'Stage' resources that are associated with the 'ApiKey' resource. ----- * 'skStageName'+-- * 'skStageName' - The stage name in the 'RestApi' that the stage key references. stageKey :: StageKey stageKey =@@ -1721,11 +1883,11 @@ , _skStageName = Nothing } --- | A list of < Stage> resources that are associated with the < ApiKey> resource.+-- | A list of 'Stage' resources that are associated with the 'ApiKey' resource. skRestAPIId :: Lens' StageKey (Maybe Text) skRestAPIId = lens _skRestAPIId (\ s a -> s{_skRestAPIId = a}); --- | The stage name in the < RestApi> that the stage key references.+-- | The stage name in the 'RestApi' that the stage key references. skStageName :: Lens' StageKey (Maybe Text) skStageName = lens _skStageName (\ s a -> s{_skStageName = a}); @@ -1742,6 +1904,8 @@ -- | The API request rate limits. --+--+-- -- /See:/ 'throttleSettings' smart constructor. data ThrottleSettings = ThrottleSettings' { _tsBurstLimit :: !(Maybe Int)@@ -1752,9 +1916,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tsBurstLimit'+-- * 'tsBurstLimit' - The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity. ----- * 'tsRateLimit'+-- * 'tsRateLimit' - The API request steady-state rate limit. throttleSettings :: ThrottleSettings throttleSettings =@@ -1791,8 +1955,9 @@ -- | Represents the usage data of a usage plan. ----- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html Create and Use Usage Plans>, <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-manage-usage Manage Usage in a Usage Plan> --+-- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html Create and Use Usage Plans> , <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-manage-usage Manage Usage in a Usage Plan>+-- -- /See:/ 'usage' smart constructor. data Usage = Usage' { _uUsagePlanId :: !(Maybe Text)@@ -1806,15 +1971,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uUsagePlanId'+-- * 'uUsagePlanId' - The plan Id associated with this usage data. ----- * 'uEndDate'+-- * 'uEndDate' - The ending date of the usage data. ----- * 'uItems'+-- * 'uItems' - The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, @{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}@ , where @{api_key}@ stands for an API key value and the daily log entry is of the format @[used quota, remaining quota]@ . ----- * 'uStartDate'+-- * 'uStartDate' - The starting date of the usage data. ----- * 'uPosition'+-- * 'uPosition' - Undocumented member. usage :: Usage usage =@@ -1834,7 +1999,7 @@ uEndDate :: Lens' Usage (Maybe Text) uEndDate = lens _uEndDate (\ s a -> s{_uEndDate = a}); --- | The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, '{..., \"values\" : { \"{api_key}\" : [ [0, 100], [10, 90], [100, 10]]}', where '{api_key}' stands for an API key value and the daily log entry is of the format '[used quota, remaining quota]'.+-- | The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, @{..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}@ , where @{api_key}@ stands for an API key value and the daily log entry is of the format @[used quota, remaining quota]@ . uItems :: Lens' Usage (HashMap Text [[Integer]]) uItems = lens _uItems (\ s a -> s{_uItems = a}) . _Default . _Map; @@ -1862,8 +2027,9 @@ -- | Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas. ----- In a usage plan, you associate an API by specifying the API\'s Id and a stage name of the specified API. You add plan customers by adding API keys to the plan. --+-- In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan.+-- -- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html Create and Use Usage Plans> -- -- /See:/ 'usagePlan' smart constructor.@@ -1874,23 +2040,26 @@ , _upThrottle :: !(Maybe ThrottleSettings) , _upQuota :: !(Maybe QuotaSettings) , _upDescription :: !(Maybe Text)+ , _upProductCode :: !(Maybe Text) } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'UsagePlan' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'upApiStages'+-- * 'upApiStages' - The associated API stages of a usage plan. ----- * 'upName'+-- * 'upName' - The name of a usage plan. ----- * 'upId'+-- * 'upId' - The identifier of a 'UsagePlan' resource. ----- * 'upThrottle'+-- * 'upThrottle' - The request throttle limits of a usage plan. ----- * 'upQuota'+-- * 'upQuota' - The maximum number of permitted requests per a given unit time interval. ----- * 'upDescription'+-- * 'upDescription' - The description of a usage plan.+--+-- * 'upProductCode' - The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace. usagePlan :: UsagePlan usagePlan =@@ -1901,6 +2070,7 @@ , _upThrottle = Nothing , _upQuota = Nothing , _upDescription = Nothing+ , _upProductCode = Nothing } -- | The associated API stages of a usage plan.@@ -1911,7 +2081,7 @@ upName :: Lens' UsagePlan (Maybe Text) upName = lens _upName (\ s a -> s{_upName = a}); --- | The identifier of a < UsagePlan> resource.+-- | The identifier of a 'UsagePlan' resource. upId :: Lens' UsagePlan (Maybe Text) upId = lens _upId (\ s a -> s{_upId = a}); @@ -1927,6 +2097,10 @@ upDescription :: Lens' UsagePlan (Maybe Text) upDescription = lens _upDescription (\ s a -> s{_upDescription = a}); +-- | The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.+upProductCode :: Lens' UsagePlan (Maybe Text)+upProductCode = lens _upProductCode (\ s a -> s{_upProductCode = a});+ instance FromJSON UsagePlan where parseJSON = withObject "UsagePlan"@@ -1936,7 +2110,8 @@ (x .:? "id") <*> (x .:? "throttle") <*> (x .:? "quota")- <*> (x .:? "description"))+ <*> (x .:? "description")+ <*> (x .:? "productCode")) instance Hashable UsagePlan @@ -1944,11 +2119,10 @@ -- | Represents a usage plan key to identify a plan customer. ----- To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected < ApiKey>. ----- \"+-- To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected 'ApiKey' . ----- <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html Create and Use Usage Plans>+-- " <http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html Create and Use Usage Plans> -- -- /See:/ 'usagePlanKey' smart constructor. data UsagePlanKey = UsagePlanKey'@@ -1962,13 +2136,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'upkValue'+-- * 'upkValue' - The value of a usage plan key. ----- * 'upkName'+-- * 'upkName' - The name of a usage plan key. ----- * 'upkId'+-- * 'upkId' - The Id of a usage plan key. ----- * 'upkType'+-- * 'upkType' - The type of a usage plan key. Currently, the valid key type is @API_KEY@ . usagePlanKey :: UsagePlanKey usagePlanKey =@@ -1991,7 +2165,7 @@ upkId :: Lens' UsagePlanKey (Maybe Text) upkId = lens _upkId (\ s a -> s{_upkId = a}); --- | The type of a usage plan key. Currently, the valid key type is 'API_KEY'.+-- | The type of a usage plan key. Currently, the valid key type is @API_KEY@ . upkType :: Lens' UsagePlanKey (Maybe Text) upkType = lens _upkType (\ s a -> s{_upkType = a});
gen/Network/AWS/APIGateway/Types/Sum.hs view
@@ -42,7 +42,9 @@ instance ToJSON APIKeysFormat where toJSON = toJSONText --- | The authorizer type. the only current value is TOKEN.+-- | The authorizer type. the current value is @TOKEN@ for a Lambda function or @COGNITO_USER_POOLS@ for an Amazon Cognito Your User Pool.+--+-- data AuthorizerType = CognitoUserPools | Token@@ -72,7 +74,9 @@ instance FromJSON AuthorizerType where parseJSON = parseJSONText "AuthorizerType" --- | Returns the size of the __CacheCluster__.+-- | Returns the size of the __CacheCluster__ .+--+-- data CacheClusterSize = D0_5 | D118@@ -120,7 +124,9 @@ instance FromJSON CacheClusterSize where parseJSON = parseJSONText "CacheClusterSize" --- | Returns the status of the __CacheCluster__.+-- | Returns the status of the __CacheCluster__ .+--+-- data CacheClusterStatus = Available | CreateInProgress@@ -156,25 +162,121 @@ instance FromJSON CacheClusterStatus where parseJSON = parseJSONText "CacheClusterStatus" --- | The integration type. The valid value is 'HTTP', 'AWS', or 'MOCK'.+data ContentHandlingStrategy+ = ConvertToBinary+ | ConvertToText+ deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)++instance FromText ContentHandlingStrategy where+ parser = takeLowerText >>= \case+ "convert_to_binary" -> pure ConvertToBinary+ "convert_to_text" -> pure ConvertToText+ e -> fromTextError $ "Failure parsing ContentHandlingStrategy from value: '" <> e+ <> "'. Accepted values: convert_to_binary, convert_to_text"++instance ToText ContentHandlingStrategy where+ toText = \case+ ConvertToBinary -> "CONVERT_TO_BINARY"+ ConvertToText -> "CONVERT_TO_TEXT"++instance Hashable ContentHandlingStrategy+instance NFData ContentHandlingStrategy+instance ToByteString ContentHandlingStrategy+instance ToQuery ContentHandlingStrategy+instance ToHeader ContentHandlingStrategy++instance ToJSON ContentHandlingStrategy where+ toJSON = toJSONText++instance FromJSON ContentHandlingStrategy where+ parseJSON = parseJSONText "ContentHandlingStrategy"++data DocumentationPartType+ = API+ | Authorizer+ | Method+ | Model+ | PathParameter+ | QueryParameter+ | RequestBody+ | RequestHeader+ | Resource+ | Response+ | ResponseBody+ | ResponseHeader+ deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)++instance FromText DocumentationPartType where+ parser = takeLowerText >>= \case+ "api" -> pure API+ "authorizer" -> pure Authorizer+ "method" -> pure Method+ "model" -> pure Model+ "path_parameter" -> pure PathParameter+ "query_parameter" -> pure QueryParameter+ "request_body" -> pure RequestBody+ "request_header" -> pure RequestHeader+ "resource" -> pure Resource+ "response" -> pure Response+ "response_body" -> pure ResponseBody+ "response_header" -> pure ResponseHeader+ e -> fromTextError $ "Failure parsing DocumentationPartType from value: '" <> e+ <> "'. Accepted values: api, authorizer, method, model, path_parameter, query_parameter, request_body, request_header, resource, response, response_body, response_header"++instance ToText DocumentationPartType where+ toText = \case+ API -> "API"+ Authorizer -> "AUTHORIZER"+ Method -> "METHOD"+ Model -> "MODEL"+ PathParameter -> "PATH_PARAMETER"+ QueryParameter -> "QUERY_PARAMETER"+ RequestBody -> "REQUEST_BODY"+ RequestHeader -> "REQUEST_HEADER"+ Resource -> "RESOURCE"+ Response -> "RESPONSE"+ ResponseBody -> "RESPONSE_BODY"+ ResponseHeader -> "RESPONSE_HEADER"++instance Hashable DocumentationPartType+instance NFData DocumentationPartType+instance ToByteString DocumentationPartType+instance ToQuery DocumentationPartType+instance ToHeader DocumentationPartType++instance ToJSON DocumentationPartType where+ toJSON = toJSONText++instance FromJSON DocumentationPartType where+ parseJSON = parseJSONText "DocumentationPartType"++-- | The integration type. The valid value is @HTTP@ for integrating with an HTTP back end, @AWS@ for any AWS service endpoints, @MOCK@ for testing without actually invoking the back end, @HTTP_PROXY@ for integrating with the HTTP proxy integration, or @AWS_PROXY@ for integrating with the Lambda proxy integration type.+--+-- data IntegrationType = AWS+ | AWSProxy | HTTP+ | HTTPProxy | Mock deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic) instance FromText IntegrationType where parser = takeLowerText >>= \case "aws" -> pure AWS+ "aws_proxy" -> pure AWSProxy "http" -> pure HTTP+ "http_proxy" -> pure HTTPProxy "mock" -> pure Mock e -> fromTextError $ "Failure parsing IntegrationType from value: '" <> e- <> "'. Accepted values: aws, http, mock"+ <> "'. Accepted values: aws, aws_proxy, http, http_proxy, mock" instance ToText IntegrationType where toText = \case AWS -> "AWS"+ AWSProxy -> "AWS_PROXY" HTTP -> "HTTP"+ HTTPProxy -> "HTTP_PROXY" Mock -> "MOCK" instance Hashable IntegrationType
gen/Network/AWS/APIGateway/UpdateAPIKey.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Changes information about an < ApiKey> resource.+-- Changes information about an 'ApiKey' resource.+--+-- module Network.AWS.APIGateway.UpdateAPIKey ( -- * Creating a Request@@ -34,6 +36,7 @@ -- * Response Lenses , akEnabled , akValue+ , akCustomerId , akCreatedDate , akName , akId@@ -49,8 +52,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to change information about an < ApiKey> resource.+-- | A request to change information about an 'ApiKey' resource. --+--+-- -- /See:/ 'updateAPIKey' smart constructor. data UpdateAPIKey = UpdateAPIKey' { _uakPatchOperations :: !(Maybe [PatchOperation])@@ -61,9 +66,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uakPatchOperations'+-- * 'uakPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'uakApiKey'+-- * 'uakApiKey' - The identifier of the 'ApiKey' resource to be updated. updateAPIKey :: Text -- ^ 'uakApiKey' -> UpdateAPIKey@@ -77,7 +82,7 @@ uakPatchOperations :: Lens' UpdateAPIKey [PatchOperation] uakPatchOperations = lens _uakPatchOperations (\ s a -> s{_uakPatchOperations = a}) . _Default . _Coerce; --- | The identifier of the < ApiKey> resource to be updated.+-- | The identifier of the 'ApiKey' resource to be updated. uakApiKey :: Lens' UpdateAPIKey Text uakApiKey = lens _uakApiKey (\ s a -> s{_uakApiKey = a});
gen/Network/AWS/APIGateway/UpdateAccount.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Changes information about the current < Account> resource.+-- Changes information about the current 'Account' resource.+--+-- module Network.AWS.APIGateway.UpdateAccount ( -- * Creating a Request@@ -44,8 +46,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to change information about the current < Account> resource.+-- | Requests Amazon API Gateway to change information about the current 'Account' resource. --+--+-- -- /See:/ 'updateAccount' smart constructor. newtype UpdateAccount = UpdateAccount' { _uaPatchOperations :: Maybe [PatchOperation]@@ -55,7 +59,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uaPatchOperations'+-- * 'uaPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. updateAccount :: UpdateAccount updateAccount =
gen/Network/AWS/APIGateway/UpdateAuthorizer.hs view
@@ -18,8 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates an existing < Authorizer> resource.+-- Updates an existing 'Authorizer' resource. --+-- -- <http://docs.aws.amazon.com/cli/latest/reference/apigateway/update-authorizer.html AWS CLI> module Network.AWS.APIGateway.UpdateAuthorizer (@@ -54,8 +55,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to update an existing < Authorizer> resource.+-- | Request to update an existing 'Authorizer' resource. --+--+-- -- /See:/ 'updateAuthorizer' smart constructor. data UpdateAuthorizer = UpdateAuthorizer' { _uaaPatchOperations :: !(Maybe [PatchOperation])@@ -67,11 +70,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uaaPatchOperations'+-- * 'uaaPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'uaaRestAPIId'+-- * 'uaaRestAPIId' - The 'RestApi' identifier for the 'Authorizer' resource. ----- * 'uaaAuthorizerId'+-- * 'uaaAuthorizerId' - The identifier of the 'Authorizer' resource. updateAuthorizer :: Text -- ^ 'uaaRestAPIId' -> Text -- ^ 'uaaAuthorizerId'@@ -87,11 +90,11 @@ uaaPatchOperations :: Lens' UpdateAuthorizer [PatchOperation] uaaPatchOperations = lens _uaaPatchOperations (\ s a -> s{_uaaPatchOperations = a}) . _Default . _Coerce; --- | The < RestApi> identifier for the < Authorizer> resource.+-- | The 'RestApi' identifier for the 'Authorizer' resource. uaaRestAPIId :: Lens' UpdateAuthorizer Text uaaRestAPIId = lens _uaaRestAPIId (\ s a -> s{_uaaRestAPIId = a}); --- | The identifier of the < Authorizer> resource.+-- | The identifier of the 'Authorizer' resource. uaaAuthorizerId :: Lens' UpdateAuthorizer Text uaaAuthorizerId = lens _uaaAuthorizerId (\ s a -> s{_uaaAuthorizerId = a});
gen/Network/AWS/APIGateway/UpdateBasePathMapping.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Changes information about the < BasePathMapping> resource.+-- Changes information about the 'BasePathMapping' resource.+--+-- module Network.AWS.APIGateway.UpdateBasePathMapping ( -- * Creating a Request@@ -45,8 +47,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to change information about the < BasePathMapping> resource.+-- | A request to change information about the 'BasePathMapping' resource. --+--+-- -- /See:/ 'updateBasePathMapping' smart constructor. data UpdateBasePathMapping = UpdateBasePathMapping' { _ubpmPatchOperations :: !(Maybe [PatchOperation])@@ -58,11 +62,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ubpmPatchOperations'+-- * 'ubpmPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'ubpmDomainName'+-- * 'ubpmDomainName' - The domain name of the 'BasePathMapping' resource to change. ----- * 'ubpmBasePath'+-- * 'ubpmBasePath' - The base path of the 'BasePathMapping' resource to change. updateBasePathMapping :: Text -- ^ 'ubpmDomainName' -> Text -- ^ 'ubpmBasePath'@@ -78,11 +82,11 @@ ubpmPatchOperations :: Lens' UpdateBasePathMapping [PatchOperation] ubpmPatchOperations = lens _ubpmPatchOperations (\ s a -> s{_ubpmPatchOperations = a}) . _Default . _Coerce; --- | The domain name of the < BasePathMapping> resource to change.+-- | The domain name of the 'BasePathMapping' resource to change. ubpmDomainName :: Lens' UpdateBasePathMapping Text ubpmDomainName = lens _ubpmDomainName (\ s a -> s{_ubpmDomainName = a}); --- | The base path of the < BasePathMapping> resource to change.+-- | The base path of the 'BasePathMapping' resource to change. ubpmBasePath :: Lens' UpdateBasePathMapping Text ubpmBasePath = lens _ubpmBasePath (\ s a -> s{_ubpmBasePath = a});
gen/Network/AWS/APIGateway/UpdateClientCertificate.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Changes information about an < ClientCertificate> resource.+-- Changes information about an 'ClientCertificate' resource.+--+-- module Network.AWS.APIGateway.UpdateClientCertificate ( -- * Creating a Request@@ -46,8 +48,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to change information about an < ClientCertificate> resource.+-- | A request to change information about an 'ClientCertificate' resource. --+--+-- -- /See:/ 'updateClientCertificate' smart constructor. data UpdateClientCertificate = UpdateClientCertificate' { _uccPatchOperations :: !(Maybe [PatchOperation])@@ -58,9 +62,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uccPatchOperations'+-- * 'uccPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'uccClientCertificateId'+-- * 'uccClientCertificateId' - The identifier of the 'ClientCertificate' resource to be updated. updateClientCertificate :: Text -- ^ 'uccClientCertificateId' -> UpdateClientCertificate@@ -74,7 +78,7 @@ uccPatchOperations :: Lens' UpdateClientCertificate [PatchOperation] uccPatchOperations = lens _uccPatchOperations (\ s a -> s{_uccPatchOperations = a}) . _Default . _Coerce; --- | The identifier of the < ClientCertificate> resource to be updated.+-- | The identifier of the 'ClientCertificate' resource to be updated. uccClientCertificateId :: Lens' UpdateClientCertificate Text uccClientCertificateId = lens _uccClientCertificateId (\ s a -> s{_uccClientCertificateId = a});
gen/Network/AWS/APIGateway/UpdateDeployment.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Changes information about a < Deployment> resource.+-- Changes information about a 'Deployment' resource.+--+-- module Network.AWS.APIGateway.UpdateDeployment ( -- * Creating a Request@@ -46,8 +48,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to change information about a < Deployment> resource.+-- | Requests Amazon API Gateway to change information about a 'Deployment' resource. --+--+-- -- /See:/ 'updateDeployment' smart constructor. data UpdateDeployment = UpdateDeployment' { _udPatchOperations :: !(Maybe [PatchOperation])@@ -59,11 +63,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'udPatchOperations'+-- * 'udPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'udRestAPIId'+-- * 'udRestAPIId' - The replacement identifier of the 'RestApi' resource for the 'Deployment' resource to change information about. ----- * 'udDeploymentId'+-- * 'udDeploymentId' - The replacement identifier for the 'Deployment' resource to change information about. updateDeployment :: Text -- ^ 'udRestAPIId' -> Text -- ^ 'udDeploymentId'@@ -79,11 +83,11 @@ udPatchOperations :: Lens' UpdateDeployment [PatchOperation] udPatchOperations = lens _udPatchOperations (\ s a -> s{_udPatchOperations = a}) . _Default . _Coerce; --- | The replacement identifier of the < RestApi> resource for the < Deployment> resource to change information about.+-- | The replacement identifier of the 'RestApi' resource for the 'Deployment' resource to change information about. udRestAPIId :: Lens' UpdateDeployment Text udRestAPIId = lens _udRestAPIId (\ s a -> s{_udRestAPIId = a}); --- | The replacement identifier for the < Deployment> resource to change information about.+-- | The replacement identifier for the 'Deployment' resource to change information about. udDeploymentId :: Lens' UpdateDeployment Text udDeploymentId = lens _udDeploymentId (\ s a -> s{_udDeploymentId = a});
+ gen/Network/AWS/APIGateway/UpdateDocumentationPart.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.UpdateDocumentationPart+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.UpdateDocumentationPart+ (+ -- * Creating a Request+ updateDocumentationPart+ , UpdateDocumentationPart+ -- * Request Lenses+ , udpPatchOperations+ , udpRestAPIId+ , udpDocumentationPartId++ -- * Destructuring the Response+ , documentationPart+ , DocumentationPart+ -- * Response Lenses+ , dpLocation+ , dpId+ , dpProperties+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Updates an existing documentation part of a given API.+--+--+--+-- /See:/ 'updateDocumentationPart' smart constructor.+data UpdateDocumentationPart = UpdateDocumentationPart'+ { _udpPatchOperations :: !(Maybe [PatchOperation])+ , _udpRestAPIId :: !Text+ , _udpDocumentationPartId :: !Text+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'UpdateDocumentationPart' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'udpPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list.+--+-- * 'udpRestAPIId' - [Required] The identifier of an API of the to-be-updated documentation part.+--+-- * 'udpDocumentationPartId' - [Required] The identifier of the to-be-updated documentation part.+updateDocumentationPart+ :: Text -- ^ 'udpRestAPIId'+ -> Text -- ^ 'udpDocumentationPartId'+ -> UpdateDocumentationPart+updateDocumentationPart pRestAPIId_ pDocumentationPartId_ =+ UpdateDocumentationPart'+ { _udpPatchOperations = Nothing+ , _udpRestAPIId = pRestAPIId_+ , _udpDocumentationPartId = pDocumentationPartId_+ }++-- | A list of update operations to be applied to the specified resource and in the order specified in this list.+udpPatchOperations :: Lens' UpdateDocumentationPart [PatchOperation]+udpPatchOperations = lens _udpPatchOperations (\ s a -> s{_udpPatchOperations = a}) . _Default . _Coerce;++-- | [Required] The identifier of an API of the to-be-updated documentation part.+udpRestAPIId :: Lens' UpdateDocumentationPart Text+udpRestAPIId = lens _udpRestAPIId (\ s a -> s{_udpRestAPIId = a});++-- | [Required] The identifier of the to-be-updated documentation part.+udpDocumentationPartId :: Lens' UpdateDocumentationPart Text+udpDocumentationPartId = lens _udpDocumentationPartId (\ s a -> s{_udpDocumentationPartId = a});++instance AWSRequest UpdateDocumentationPart where+ type Rs UpdateDocumentationPart = DocumentationPart+ request = patchJSON apiGateway+ response = receiveJSON (\ s h x -> eitherParseJSON x)++instance Hashable UpdateDocumentationPart++instance NFData UpdateDocumentationPart++instance ToHeaders UpdateDocumentationPart where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToJSON UpdateDocumentationPart where+ toJSON UpdateDocumentationPart'{..}+ = object+ (catMaybes+ [("patchOperations" .=) <$> _udpPatchOperations])++instance ToPath UpdateDocumentationPart where+ toPath UpdateDocumentationPart'{..}+ = mconcat+ ["/restapis/", toBS _udpRestAPIId,+ "/documentation/parts/",+ toBS _udpDocumentationPartId]++instance ToQuery UpdateDocumentationPart where+ toQuery = const mempty
+ gen/Network/AWS/APIGateway/UpdateDocumentationVersion.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.APIGateway.UpdateDocumentationVersion+-- Copyright : (c) 2013-2016 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)+--+-- Undocumented operation.+module Network.AWS.APIGateway.UpdateDocumentationVersion+ (+ -- * Creating a Request+ updateDocumentationVersion+ , UpdateDocumentationVersion+ -- * Request Lenses+ , udvPatchOperations+ , udvRestAPIId+ , udvDocumentationVersion++ -- * Destructuring the Response+ , documentationVersion+ , DocumentationVersion+ -- * Response Lenses+ , dvCreatedDate+ , dvVersion+ , dvDescription+ ) where++import Network.AWS.APIGateway.Types+import Network.AWS.APIGateway.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | Updates an existing documentation version of an API.+--+--+--+-- /See:/ 'updateDocumentationVersion' smart constructor.+data UpdateDocumentationVersion = UpdateDocumentationVersion'+ { _udvPatchOperations :: !(Maybe [PatchOperation])+ , _udvRestAPIId :: !Text+ , _udvDocumentationVersion :: !Text+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'UpdateDocumentationVersion' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'udvPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list.+--+-- * 'udvRestAPIId' - [Required] The identifier of an API of the to-be-updated documentation version.+--+-- * 'udvDocumentationVersion' - [Required] The version identifier of the to-be-updated documentation version.+updateDocumentationVersion+ :: Text -- ^ 'udvRestAPIId'+ -> Text -- ^ 'udvDocumentationVersion'+ -> UpdateDocumentationVersion+updateDocumentationVersion pRestAPIId_ pDocumentationVersion_ =+ UpdateDocumentationVersion'+ { _udvPatchOperations = Nothing+ , _udvRestAPIId = pRestAPIId_+ , _udvDocumentationVersion = pDocumentationVersion_+ }++-- | A list of update operations to be applied to the specified resource and in the order specified in this list.+udvPatchOperations :: Lens' UpdateDocumentationVersion [PatchOperation]+udvPatchOperations = lens _udvPatchOperations (\ s a -> s{_udvPatchOperations = a}) . _Default . _Coerce;++-- | [Required] The identifier of an API of the to-be-updated documentation version.+udvRestAPIId :: Lens' UpdateDocumentationVersion Text+udvRestAPIId = lens _udvRestAPIId (\ s a -> s{_udvRestAPIId = a});++-- | [Required] The version identifier of the to-be-updated documentation version.+udvDocumentationVersion :: Lens' UpdateDocumentationVersion Text+udvDocumentationVersion = lens _udvDocumentationVersion (\ s a -> s{_udvDocumentationVersion = a});++instance AWSRequest UpdateDocumentationVersion where+ type Rs UpdateDocumentationVersion =+ DocumentationVersion+ request = patchJSON apiGateway+ response = receiveJSON (\ s h x -> eitherParseJSON x)++instance Hashable UpdateDocumentationVersion++instance NFData UpdateDocumentationVersion++instance ToHeaders UpdateDocumentationVersion where+ toHeaders+ = const+ (mconcat+ ["Accept" =# ("application/json" :: ByteString)])++instance ToJSON UpdateDocumentationVersion where+ toJSON UpdateDocumentationVersion'{..}+ = object+ (catMaybes+ [("patchOperations" .=) <$> _udvPatchOperations])++instance ToPath UpdateDocumentationVersion where+ toPath UpdateDocumentationVersion'{..}+ = mconcat+ ["/restapis/", toBS _udvRestAPIId,+ "/documentation/versions/",+ toBS _udvDocumentationVersion]++instance ToQuery UpdateDocumentationVersion where+ toQuery = const mempty
gen/Network/AWS/APIGateway/UpdateDomainName.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Changes information about the < DomainName> resource.+-- Changes information about the 'DomainName' resource.+--+-- module Network.AWS.APIGateway.UpdateDomainName ( -- * Creating a Request@@ -45,8 +47,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to change information about the < DomainName> resource.+-- | A request to change information about the 'DomainName' resource. --+--+-- -- /See:/ 'updateDomainName' smart constructor. data UpdateDomainName = UpdateDomainName' { _udnPatchOperations :: !(Maybe [PatchOperation])@@ -57,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'udnPatchOperations'+-- * 'udnPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'udnDomainName'+-- * 'udnDomainName' - The name of the 'DomainName' resource to be changed. updateDomainName :: Text -- ^ 'udnDomainName' -> UpdateDomainName@@ -73,7 +77,7 @@ udnPatchOperations :: Lens' UpdateDomainName [PatchOperation] udnPatchOperations = lens _udnPatchOperations (\ s a -> s{_udnPatchOperations = a}) . _Default . _Coerce; --- | The name of the < DomainName> resource to be changed.+-- | The name of the 'DomainName' resource to be changed. udnDomainName :: Lens' UpdateDomainName Text udnDomainName = lens _udnDomainName (\ s a -> s{_udnDomainName = a});
gen/Network/AWS/APIGateway/UpdateIntegration.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Represents an update integration.+--+-- module Network.AWS.APIGateway.UpdateIntegration ( -- * Creating a Request@@ -38,6 +40,7 @@ , iRequestTemplates , iCredentials , iRequestParameters+ , iContentHandling , iPassthroughBehavior , iUri , iIntegrationResponses@@ -55,6 +58,8 @@ -- | Represents an update integration request. --+--+-- -- /See:/ 'updateIntegration' smart constructor. data UpdateIntegration = UpdateIntegration' { _updPatchOperations :: !(Maybe [PatchOperation])@@ -67,13 +72,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'updPatchOperations'+-- * 'updPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'updRestAPIId'+-- * 'updRestAPIId' - Represents an update integration request's API identifier. ----- * 'updResourceId'+-- * 'updResourceId' - Represents an update integration request's resource identifier. ----- * 'updHttpMethod'+-- * 'updHttpMethod' - Represents an update integration request's HTTP method. updateIntegration :: Text -- ^ 'updRestAPIId' -> Text -- ^ 'updResourceId'@@ -91,15 +96,15 @@ updPatchOperations :: Lens' UpdateIntegration [PatchOperation] updPatchOperations = lens _updPatchOperations (\ s a -> s{_updPatchOperations = a}) . _Default . _Coerce; --- | Represents an update integration request\'s API identifier.+-- | Represents an update integration request's API identifier. updRestAPIId :: Lens' UpdateIntegration Text updRestAPIId = lens _updRestAPIId (\ s a -> s{_updRestAPIId = a}); --- | Represents an update integration request\'s resource identifier.+-- | Represents an update integration request's resource identifier. updResourceId :: Lens' UpdateIntegration Text updResourceId = lens _updResourceId (\ s a -> s{_updResourceId = a}); --- | Represents an update integration request\'s HTTP method.+-- | Represents an update integration request's HTTP method. updHttpMethod :: Lens' UpdateIntegration Text updHttpMethod = lens _updHttpMethod (\ s a -> s{_updHttpMethod = a});
gen/Network/AWS/APIGateway/UpdateIntegrationResponse.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Represents an update integration response.+--+-- module Network.AWS.APIGateway.UpdateIntegrationResponse ( -- * Creating a Request@@ -35,10 +37,11 @@ , integrationResponse , IntegrationResponse -- * Response Lenses- , iResponseTemplates- , iSelectionPattern- , iStatusCode- , iResponseParameters+ , intContentHandling+ , intResponseTemplates+ , intSelectionPattern+ , intStatusCode+ , intResponseParameters ) where import Network.AWS.APIGateway.Types@@ -50,6 +53,8 @@ -- | Represents an update integration response request. --+--+-- -- /See:/ 'updateIntegrationResponse' smart constructor. data UpdateIntegrationResponse = UpdateIntegrationResponse' { _uiPatchOperations :: !(Maybe [PatchOperation])@@ -63,15 +68,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uiPatchOperations'+-- * 'uiPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'uiRestAPIId'+-- * 'uiRestAPIId' - Specifies an update integration response request's API identifier. ----- * 'uiResourceId'+-- * 'uiResourceId' - Specifies an update integration response request's resource identifier. ----- * 'uiHttpMethod'+-- * 'uiHttpMethod' - Specifies an update integration response request's HTTP method. ----- * 'uiStatusCode'+-- * 'uiStatusCode' - Specifies an update integration response request's status code. updateIntegrationResponse :: Text -- ^ 'uiRestAPIId' -> Text -- ^ 'uiResourceId'@@ -91,19 +96,19 @@ uiPatchOperations :: Lens' UpdateIntegrationResponse [PatchOperation] uiPatchOperations = lens _uiPatchOperations (\ s a -> s{_uiPatchOperations = a}) . _Default . _Coerce; --- | Specifies an update integration response request\'s API identifier.+-- | Specifies an update integration response request's API identifier. uiRestAPIId :: Lens' UpdateIntegrationResponse Text uiRestAPIId = lens _uiRestAPIId (\ s a -> s{_uiRestAPIId = a}); --- | Specifies an update integration response request\'s resource identifier.+-- | Specifies an update integration response request's resource identifier. uiResourceId :: Lens' UpdateIntegrationResponse Text uiResourceId = lens _uiResourceId (\ s a -> s{_uiResourceId = a}); --- | Specifies an update integration response request\'s HTTP method.+-- | Specifies an update integration response request's HTTP method. uiHttpMethod :: Lens' UpdateIntegrationResponse Text uiHttpMethod = lens _uiHttpMethod (\ s a -> s{_uiHttpMethod = a}); --- | Specifies an update integration response request\'s status code.+-- | Specifies an update integration response request's status code. uiStatusCode :: Lens' UpdateIntegrationResponse Text uiStatusCode = lens _uiStatusCode (\ s a -> s{_uiStatusCode = a});
gen/Network/AWS/APIGateway/UpdateMethod.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates an existing < Method> resource.+-- Updates an existing 'Method' resource.+--+-- module Network.AWS.APIGateway.UpdateMethod ( -- * Creating a Request@@ -51,8 +53,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to update an existing < Method> resource.+-- | Request to update an existing 'Method' resource. --+--+-- -- /See:/ 'updateMethod' smart constructor. data UpdateMethod = UpdateMethod' { _ummPatchOperations :: !(Maybe [PatchOperation])@@ -65,13 +69,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ummPatchOperations'+-- * 'ummPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'ummRestAPIId'+-- * 'ummRestAPIId' - The 'RestApi' identifier for the 'Method' resource. ----- * 'ummResourceId'+-- * 'ummResourceId' - The 'Resource' identifier for the 'Method' resource. ----- * 'ummHttpMethod'+-- * 'ummHttpMethod' - The HTTP verb of the 'Method' resource. updateMethod :: Text -- ^ 'ummRestAPIId' -> Text -- ^ 'ummResourceId'@@ -89,15 +93,15 @@ ummPatchOperations :: Lens' UpdateMethod [PatchOperation] ummPatchOperations = lens _ummPatchOperations (\ s a -> s{_ummPatchOperations = a}) . _Default . _Coerce; --- | The < RestApi> identifier for the < Method> resource.+-- | The 'RestApi' identifier for the 'Method' resource. ummRestAPIId :: Lens' UpdateMethod Text ummRestAPIId = lens _ummRestAPIId (\ s a -> s{_ummRestAPIId = a}); --- | The < Resource> identifier for the < Method> resource.+-- | The 'Resource' identifier for the 'Method' resource. ummResourceId :: Lens' UpdateMethod Text ummResourceId = lens _ummResourceId (\ s a -> s{_ummResourceId = a}); --- | The HTTP verb of the < Method> resource.+-- | The HTTP verb of the 'Method' resource. ummHttpMethod :: Lens' UpdateMethod Text ummHttpMethod = lens _ummHttpMethod (\ s a -> s{_ummHttpMethod = a});
gen/Network/AWS/APIGateway/UpdateMethodResponse.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates an existing < MethodResponse> resource.+-- Updates an existing 'MethodResponse' resource.+--+-- module Network.AWS.APIGateway.UpdateMethodResponse ( -- * Creating a Request@@ -47,8 +49,10 @@ import Network.AWS.Request import Network.AWS.Response --- | A request to update an existing < MethodResponse> resource.+-- | A request to update an existing 'MethodResponse' resource. --+--+-- -- /See:/ 'updateMethodResponse' smart constructor. data UpdateMethodResponse = UpdateMethodResponse' { _umPatchOperations :: !(Maybe [PatchOperation])@@ -62,15 +66,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'umPatchOperations'+-- * 'umPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'umRestAPIId'+-- * 'umRestAPIId' - The 'RestApi' identifier for the 'MethodResponse' resource. ----- * 'umResourceId'+-- * 'umResourceId' - The 'Resource' identifier for the 'MethodResponse' resource. ----- * 'umHttpMethod'+-- * 'umHttpMethod' - The HTTP verb of the 'Method' resource. ----- * 'umStatusCode'+-- * 'umStatusCode' - The status code for the 'MethodResponse' resource. updateMethodResponse :: Text -- ^ 'umRestAPIId' -> Text -- ^ 'umResourceId'@@ -90,19 +94,19 @@ umPatchOperations :: Lens' UpdateMethodResponse [PatchOperation] umPatchOperations = lens _umPatchOperations (\ s a -> s{_umPatchOperations = a}) . _Default . _Coerce; --- | The < RestApi> identifier for the < MethodResponse> resource.+-- | The 'RestApi' identifier for the 'MethodResponse' resource. umRestAPIId :: Lens' UpdateMethodResponse Text umRestAPIId = lens _umRestAPIId (\ s a -> s{_umRestAPIId = a}); --- | The < Resource> identifier for the < MethodResponse> resource.+-- | The 'Resource' identifier for the 'MethodResponse' resource. umResourceId :: Lens' UpdateMethodResponse Text umResourceId = lens _umResourceId (\ s a -> s{_umResourceId = a}); --- | The HTTP verb of the < Method> resource.+-- | The HTTP verb of the 'Method' resource. umHttpMethod :: Lens' UpdateMethodResponse Text umHttpMethod = lens _umHttpMethod (\ s a -> s{_umHttpMethod = a}); --- | The status code for the < MethodResponse> resource.+-- | The status code for the 'MethodResponse' resource. umStatusCode :: Lens' UpdateMethodResponse Text umStatusCode = lens _umStatusCode (\ s a -> s{_umStatusCode = a});
gen/Network/AWS/APIGateway/UpdateModel.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Changes information about a model.+--+-- module Network.AWS.APIGateway.UpdateModel ( -- * Creating a Request@@ -47,8 +49,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to update an existing model in an existing < RestApi> resource.+-- | Request to update an existing model in an existing 'RestApi' resource. --+--+-- -- /See:/ 'updateModel' smart constructor. data UpdateModel = UpdateModel' { _uPatchOperations :: !(Maybe [PatchOperation])@@ -60,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uPatchOperations'+-- * 'uPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'uRestAPIId'+-- * 'uRestAPIId' - The 'RestApi' identifier under which the model exists. ----- * 'uModelName'+-- * 'uModelName' - The name of the model to update. updateModel :: Text -- ^ 'uRestAPIId' -> Text -- ^ 'uModelName'@@ -80,7 +84,7 @@ uPatchOperations :: Lens' UpdateModel [PatchOperation] uPatchOperations = lens _uPatchOperations (\ s a -> s{_uPatchOperations = a}) . _Default . _Coerce; --- | The < RestApi> identifier under which the model exists.+-- | The 'RestApi' identifier under which the model exists. uRestAPIId :: Lens' UpdateModel Text uRestAPIId = lens _uRestAPIId (\ s a -> s{_uRestAPIId = a});
gen/Network/AWS/APIGateway/UpdateResource.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Changes information about a < Resource> resource.+-- Changes information about a 'Resource' resource.+--+-- module Network.AWS.APIGateway.UpdateResource ( -- * Creating a Request@@ -47,8 +49,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to change information about a < Resource> resource.+-- | Request to change information about a 'Resource' resource. --+--+-- -- /See:/ 'updateResource' smart constructor. data UpdateResource = UpdateResource' { _urPatchOperations :: !(Maybe [PatchOperation])@@ -60,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'urPatchOperations'+-- * 'urPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'urRestAPIId'+-- * 'urRestAPIId' - The 'RestApi' identifier for the 'Resource' resource. ----- * 'urResourceId'+-- * 'urResourceId' - The identifier of the 'Resource' resource. updateResource :: Text -- ^ 'urRestAPIId' -> Text -- ^ 'urResourceId'@@ -80,11 +84,11 @@ urPatchOperations :: Lens' UpdateResource [PatchOperation] urPatchOperations = lens _urPatchOperations (\ s a -> s{_urPatchOperations = a}) . _Default . _Coerce; --- | The < RestApi> identifier for the < Resource> resource.+-- | The 'RestApi' identifier for the 'Resource' resource. urRestAPIId :: Lens' UpdateResource Text urRestAPIId = lens _urRestAPIId (\ s a -> s{_urRestAPIId = a}); --- | The identifier of the < Resource> resource.+-- | The identifier of the 'Resource' resource. urResourceId :: Lens' UpdateResource Text urResourceId = lens _urResourceId (\ s a -> s{_urResourceId = a});
gen/Network/AWS/APIGateway/UpdateRestAPI.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Changes information about the specified API.+--+-- module Network.AWS.APIGateway.UpdateRestAPI ( -- * Creating a Request@@ -32,9 +34,11 @@ , restAPI , RestAPI -- * Response Lenses+ , raBinaryMediaTypes , raWarnings , raCreatedDate , raName+ , raVersion , raId , raDescription ) where@@ -46,8 +50,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Request to update an existing < RestApi> resource in your collection.+-- | Request to update an existing 'RestApi' resource in your collection. --+--+-- -- /See:/ 'updateRestAPI' smart constructor. data UpdateRestAPI = UpdateRestAPI' { _uraPatchOperations :: !(Maybe [PatchOperation])@@ -58,9 +64,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uraPatchOperations'+-- * 'uraPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'uraRestAPIId'+-- * 'uraRestAPIId' - The ID of the 'RestApi' you want to update. updateRestAPI :: Text -- ^ 'uraRestAPIId' -> UpdateRestAPI@@ -74,7 +80,7 @@ uraPatchOperations :: Lens' UpdateRestAPI [PatchOperation] uraPatchOperations = lens _uraPatchOperations (\ s a -> s{_uraPatchOperations = a}) . _Default . _Coerce; --- | The ID of the < RestApi> you want to update.+-- | The ID of the 'RestApi' you want to update. uraRestAPIId :: Lens' UpdateRestAPI Text uraRestAPIId = lens _uraRestAPIId (\ s a -> s{_uraRestAPIId = a});
gen/Network/AWS/APIGateway/UpdateStage.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Changes information about a < Stage> resource.+-- Changes information about a 'Stage' resource.+--+-- module Network.AWS.APIGateway.UpdateStage ( -- * Creating a Request@@ -35,6 +37,7 @@ -- * Response Lenses , sDeploymentId , sVariables+ , sDocumentationVersion , sClientCertificateId , sCreatedDate , sCacheClusterStatus@@ -53,8 +56,10 @@ import Network.AWS.Request import Network.AWS.Response --- | Requests Amazon API Gateway to change information about a < Stage> resource.+-- | Requests Amazon API Gateway to change information about a 'Stage' resource. --+--+-- -- /See:/ 'updateStage' smart constructor. data UpdateStage = UpdateStage' { _usPatchOperations :: !(Maybe [PatchOperation])@@ -66,11 +71,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'usPatchOperations'+-- * 'usPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'usRestAPIId'+-- * 'usRestAPIId' - The identifier of the 'RestApi' resource for the 'Stage' resource to change information about. ----- * 'usStageName'+-- * 'usStageName' - The name of the 'Stage' resource to change information about. updateStage :: Text -- ^ 'usRestAPIId' -> Text -- ^ 'usStageName'@@ -86,11 +91,11 @@ usPatchOperations :: Lens' UpdateStage [PatchOperation] usPatchOperations = lens _usPatchOperations (\ s a -> s{_usPatchOperations = a}) . _Default . _Coerce; --- | The identifier of the < RestApi> resource for the < Stage> resource to change information about.+-- | The identifier of the 'RestApi' resource for the 'Stage' resource to change information about. usRestAPIId :: Lens' UpdateStage Text usRestAPIId = lens _usRestAPIId (\ s a -> s{_usRestAPIId = a}); --- | The name of the < Stage> resource to change information about.+-- | The name of the 'Stage' resource to change information about. usStageName :: Lens' UpdateStage Text usStageName = lens _usStageName (\ s a -> s{_usStageName = a});
gen/Network/AWS/APIGateway/UpdateUsage.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Grants a temporary extension to the reamining quota of a usage plan associated with a specified API key.+--+-- module Network.AWS.APIGateway.UpdateUsage ( -- * Creating a Request@@ -49,6 +51,8 @@ -- | The PATCH request to grant a temporary extension to the reamining quota of a usage plan associated with a specified API key. --+--+-- -- /See:/ 'updateUsage' smart constructor. data UpdateUsage = UpdateUsage' { _uuPatchOperations :: !(Maybe [PatchOperation])@@ -60,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uuPatchOperations'+-- * 'uuPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'uuUsagePlanId'+-- * 'uuUsagePlanId' - The Id of the usage plan associated with the usage data. ----- * 'uuKeyId'+-- * 'uuKeyId' - The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota. updateUsage :: Text -- ^ 'uuUsagePlanId' -> Text -- ^ 'uuKeyId'
gen/Network/AWS/APIGateway/UpdateUsagePlan.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Updates a usage plan of a given plan Id.+--+-- module Network.AWS.APIGateway.UpdateUsagePlan ( -- * Creating a Request@@ -38,6 +40,7 @@ , upThrottle , upQuota , upDescription+ , upProductCode ) where import Network.AWS.APIGateway.Types@@ -49,6 +52,8 @@ -- | The PATCH request to update a usage plan of a given plan Id. --+--+-- -- /See:/ 'updateUsagePlan' smart constructor. data UpdateUsagePlan = UpdateUsagePlan' { _uupPatchOperations :: !(Maybe [PatchOperation])@@ -59,9 +64,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uupPatchOperations'+-- * 'uupPatchOperations' - A list of update operations to be applied to the specified resource and in the order specified in this list. ----- * 'uupUsagePlanId'+-- * 'uupUsagePlanId' - The Id of the to-be-updated usage plan. updateUsagePlan :: Text -- ^ 'uupUsagePlanId' -> UpdateUsagePlan
test/Test/AWS/Gen/APIGateway.hs view
@@ -76,6 +76,9 @@ -- , requestGetRestAPIs $ -- getRestAPIs --+-- , requestGetDocumentationVersions $+-- getDocumentationVersions+-- -- , requestCreateDeployment $ -- createDeployment --@@ -85,6 +88,9 @@ -- , requestGetIntegration $ -- getIntegration --+-- , requestGetDocumentationParts $+-- getDocumentationParts+-- -- , requestUpdateAccount $ -- updateAccount --@@ -97,12 +103,18 @@ -- , requestUpdateDeployment $ -- updateDeployment --+-- , requestGetDocumentationPart $+-- getDocumentationPart+-- -- , requestDeleteResource $ -- deleteResource -- -- , requestUpdateResource $ -- updateResource --+-- , requestImportDocumentationParts $+-- importDocumentationParts+-- -- , requestGetUsage $ -- getUsage --@@ -124,6 +136,9 @@ -- , requestUpdateModel $ -- updateModel --+-- , requestGetDocumentationVersion $+-- getDocumentationVersion+-- -- , requestDeleteAPIKey $ -- deleteAPIKey --@@ -154,15 +169,27 @@ -- , requestImportAPIKeys $ -- importAPIKeys --+-- , requestCreateDocumentationPart $+-- createDocumentationPart+-- -- , requestTestInvokeMethod $ -- testInvokeMethod -- -- , requestGetDomainName $ -- getDomainName --+-- , requestDeleteDocumentationPart $+-- deleteDocumentationPart+--+-- , requestUpdateDocumentationPart $+-- updateDocumentationPart+-- -- , requestGetAuthorizers $ -- getAuthorizers --+-- , requestCreateDocumentationVersion $+-- createDocumentationVersion+-- -- , requestPutIntegrationResponse $ -- putIntegrationResponse --@@ -289,6 +316,12 @@ -- , requestGetModelTemplate $ -- getModelTemplate --+-- , requestUpdateDocumentationVersion $+-- updateDocumentationVersion+--+-- , requestDeleteDocumentationVersion $+-- deleteDocumentationVersion+-- -- , requestGetBasePathMappings $ -- getBasePathMappings --@@ -346,6 +379,9 @@ -- , responseGetRestAPIs $ -- getRestAPIsResponse --+-- , responseGetDocumentationVersions $+-- getDocumentationVersionsResponse+-- -- , responseCreateDeployment $ -- deployment --@@ -355,6 +391,9 @@ -- , responseGetIntegration $ -- integration --+-- , responseGetDocumentationParts $+-- getDocumentationPartsResponse+-- -- , responseUpdateAccount $ -- account --@@ -367,12 +406,18 @@ -- , responseUpdateDeployment $ -- deployment --+-- , responseGetDocumentationPart $+-- documentationPart+-- -- , responseDeleteResource $ -- deleteResourceResponse -- -- , responseUpdateResource $ -- resource --+-- , responseImportDocumentationParts $+-- importDocumentationPartsResponse+-- -- , responseGetUsage $ -- usage --@@ -394,6 +439,9 @@ -- , responseUpdateModel $ -- model --+-- , responseGetDocumentationVersion $+-- documentationVersion+-- -- , responseDeleteAPIKey $ -- deleteAPIKeyResponse --@@ -424,15 +472,27 @@ -- , responseImportAPIKeys $ -- importAPIKeysResponse --+-- , responseCreateDocumentationPart $+-- documentationPart+-- -- , responseTestInvokeMethod $ -- testInvokeMethodResponse -- -- , responseGetDomainName $ -- domainName --+-- , responseDeleteDocumentationPart $+-- deleteDocumentationPartResponse+--+-- , responseUpdateDocumentationPart $+-- documentationPart+-- -- , responseGetAuthorizers $ -- getAuthorizersResponse --+-- , responseCreateDocumentationVersion $+-- documentationVersion+-- -- , responsePutIntegrationResponse $ -- integrationResponse --@@ -559,6 +619,12 @@ -- , responseGetModelTemplate $ -- getModelTemplateResponse --+-- , responseUpdateDocumentationVersion $+-- documentationVersion+--+-- , responseDeleteDocumentationVersion $+-- deleteDocumentationVersionResponse+-- -- , responseGetBasePathMappings $ -- getBasePathMappingsResponse --@@ -650,6 +716,11 @@ "GetRestAPIs" "fixture/GetRestAPIs.yaml" +requestGetDocumentationVersions :: GetDocumentationVersions -> TestTree+requestGetDocumentationVersions = req+ "GetDocumentationVersions"+ "fixture/GetDocumentationVersions.yaml"+ requestCreateDeployment :: CreateDeployment -> TestTree requestCreateDeployment = req "CreateDeployment"@@ -665,6 +736,11 @@ "GetIntegration" "fixture/GetIntegration.yaml" +requestGetDocumentationParts :: GetDocumentationParts -> TestTree+requestGetDocumentationParts = req+ "GetDocumentationParts"+ "fixture/GetDocumentationParts.yaml"+ requestUpdateAccount :: UpdateAccount -> TestTree requestUpdateAccount = req "UpdateAccount"@@ -685,6 +761,11 @@ "UpdateDeployment" "fixture/UpdateDeployment.yaml" +requestGetDocumentationPart :: GetDocumentationPart -> TestTree+requestGetDocumentationPart = req+ "GetDocumentationPart"+ "fixture/GetDocumentationPart.yaml"+ requestDeleteResource :: DeleteResource -> TestTree requestDeleteResource = req "DeleteResource"@@ -695,6 +776,11 @@ "UpdateResource" "fixture/UpdateResource.yaml" +requestImportDocumentationParts :: ImportDocumentationParts -> TestTree+requestImportDocumentationParts = req+ "ImportDocumentationParts"+ "fixture/ImportDocumentationParts.yaml"+ requestGetUsage :: GetUsage -> TestTree requestGetUsage = req "GetUsage"@@ -730,6 +816,11 @@ "UpdateModel" "fixture/UpdateModel.yaml" +requestGetDocumentationVersion :: GetDocumentationVersion -> TestTree+requestGetDocumentationVersion = req+ "GetDocumentationVersion"+ "fixture/GetDocumentationVersion.yaml"+ requestDeleteAPIKey :: DeleteAPIKey -> TestTree requestDeleteAPIKey = req "DeleteAPIKey"@@ -780,6 +871,11 @@ "ImportAPIKeys" "fixture/ImportAPIKeys.yaml" +requestCreateDocumentationPart :: CreateDocumentationPart -> TestTree+requestCreateDocumentationPart = req+ "CreateDocumentationPart"+ "fixture/CreateDocumentationPart.yaml"+ requestTestInvokeMethod :: TestInvokeMethod -> TestTree requestTestInvokeMethod = req "TestInvokeMethod"@@ -790,11 +886,26 @@ "GetDomainName" "fixture/GetDomainName.yaml" +requestDeleteDocumentationPart :: DeleteDocumentationPart -> TestTree+requestDeleteDocumentationPart = req+ "DeleteDocumentationPart"+ "fixture/DeleteDocumentationPart.yaml"++requestUpdateDocumentationPart :: UpdateDocumentationPart -> TestTree+requestUpdateDocumentationPart = req+ "UpdateDocumentationPart"+ "fixture/UpdateDocumentationPart.yaml"+ requestGetAuthorizers :: GetAuthorizers -> TestTree requestGetAuthorizers = req "GetAuthorizers" "fixture/GetAuthorizers.yaml" +requestCreateDocumentationVersion :: CreateDocumentationVersion -> TestTree+requestCreateDocumentationVersion = req+ "CreateDocumentationVersion"+ "fixture/CreateDocumentationVersion.yaml"+ requestPutIntegrationResponse :: PutIntegrationResponse -> TestTree requestPutIntegrationResponse = req "PutIntegrationResponse"@@ -1005,6 +1116,16 @@ "GetModelTemplate" "fixture/GetModelTemplate.yaml" +requestUpdateDocumentationVersion :: UpdateDocumentationVersion -> TestTree+requestUpdateDocumentationVersion = req+ "UpdateDocumentationVersion"+ "fixture/UpdateDocumentationVersion.yaml"++requestDeleteDocumentationVersion :: DeleteDocumentationVersion -> TestTree+requestDeleteDocumentationVersion = req+ "DeleteDocumentationVersion"+ "fixture/DeleteDocumentationVersion.yaml"+ requestGetBasePathMappings :: GetBasePathMappings -> TestTree requestGetBasePathMappings = req "GetBasePathMappings"@@ -1129,6 +1250,13 @@ apiGateway (Proxy :: Proxy GetRestAPIs) +responseGetDocumentationVersions :: GetDocumentationVersionsResponse -> TestTree+responseGetDocumentationVersions = res+ "GetDocumentationVersionsResponse"+ "fixture/GetDocumentationVersionsResponse.proto"+ apiGateway+ (Proxy :: Proxy GetDocumentationVersions)+ responseCreateDeployment :: Deployment -> TestTree responseCreateDeployment = res "CreateDeploymentResponse"@@ -1150,6 +1278,13 @@ apiGateway (Proxy :: Proxy GetIntegration) +responseGetDocumentationParts :: GetDocumentationPartsResponse -> TestTree+responseGetDocumentationParts = res+ "GetDocumentationPartsResponse"+ "fixture/GetDocumentationPartsResponse.proto"+ apiGateway+ (Proxy :: Proxy GetDocumentationParts)+ responseUpdateAccount :: Account -> TestTree responseUpdateAccount = res "UpdateAccountResponse"@@ -1178,6 +1313,13 @@ apiGateway (Proxy :: Proxy UpdateDeployment) +responseGetDocumentationPart :: DocumentationPart -> TestTree+responseGetDocumentationPart = res+ "GetDocumentationPartResponse"+ "fixture/GetDocumentationPartResponse.proto"+ apiGateway+ (Proxy :: Proxy GetDocumentationPart)+ responseDeleteResource :: DeleteResourceResponse -> TestTree responseDeleteResource = res "DeleteResourceResponse"@@ -1192,6 +1334,13 @@ apiGateway (Proxy :: Proxy UpdateResource) +responseImportDocumentationParts :: ImportDocumentationPartsResponse -> TestTree+responseImportDocumentationParts = res+ "ImportDocumentationPartsResponse"+ "fixture/ImportDocumentationPartsResponse.proto"+ apiGateway+ (Proxy :: Proxy ImportDocumentationParts)+ responseGetUsage :: Usage -> TestTree responseGetUsage = res "GetUsageResponse"@@ -1241,6 +1390,13 @@ apiGateway (Proxy :: Proxy UpdateModel) +responseGetDocumentationVersion :: DocumentationVersion -> TestTree+responseGetDocumentationVersion = res+ "GetDocumentationVersionResponse"+ "fixture/GetDocumentationVersionResponse.proto"+ apiGateway+ (Proxy :: Proxy GetDocumentationVersion)+ responseDeleteAPIKey :: DeleteAPIKeyResponse -> TestTree responseDeleteAPIKey = res "DeleteAPIKeyResponse"@@ -1311,6 +1467,13 @@ apiGateway (Proxy :: Proxy ImportAPIKeys) +responseCreateDocumentationPart :: DocumentationPart -> TestTree+responseCreateDocumentationPart = res+ "CreateDocumentationPartResponse"+ "fixture/CreateDocumentationPartResponse.proto"+ apiGateway+ (Proxy :: Proxy CreateDocumentationPart)+ responseTestInvokeMethod :: TestInvokeMethodResponse -> TestTree responseTestInvokeMethod = res "TestInvokeMethodResponse"@@ -1325,6 +1488,20 @@ apiGateway (Proxy :: Proxy GetDomainName) +responseDeleteDocumentationPart :: DeleteDocumentationPartResponse -> TestTree+responseDeleteDocumentationPart = res+ "DeleteDocumentationPartResponse"+ "fixture/DeleteDocumentationPartResponse.proto"+ apiGateway+ (Proxy :: Proxy DeleteDocumentationPart)++responseUpdateDocumentationPart :: DocumentationPart -> TestTree+responseUpdateDocumentationPart = res+ "UpdateDocumentationPartResponse"+ "fixture/UpdateDocumentationPartResponse.proto"+ apiGateway+ (Proxy :: Proxy UpdateDocumentationPart)+ responseGetAuthorizers :: GetAuthorizersResponse -> TestTree responseGetAuthorizers = res "GetAuthorizersResponse"@@ -1332,6 +1509,13 @@ apiGateway (Proxy :: Proxy GetAuthorizers) +responseCreateDocumentationVersion :: DocumentationVersion -> TestTree+responseCreateDocumentationVersion = res+ "CreateDocumentationVersionResponse"+ "fixture/CreateDocumentationVersionResponse.proto"+ apiGateway+ (Proxy :: Proxy CreateDocumentationVersion)+ responsePutIntegrationResponse :: IntegrationResponse -> TestTree responsePutIntegrationResponse = res "PutIntegrationResponseResponse"@@ -1625,6 +1809,20 @@ "fixture/GetModelTemplateResponse.proto" apiGateway (Proxy :: Proxy GetModelTemplate)++responseUpdateDocumentationVersion :: DocumentationVersion -> TestTree+responseUpdateDocumentationVersion = res+ "UpdateDocumentationVersionResponse"+ "fixture/UpdateDocumentationVersionResponse.proto"+ apiGateway+ (Proxy :: Proxy UpdateDocumentationVersion)++responseDeleteDocumentationVersion :: DeleteDocumentationVersionResponse -> TestTree+responseDeleteDocumentationVersion = res+ "DeleteDocumentationVersionResponse"+ "fixture/DeleteDocumentationVersionResponse.proto"+ apiGateway+ (Proxy :: Proxy DeleteDocumentationVersion) responseGetBasePathMappings :: GetBasePathMappingsResponse -> TestTree responseGetBasePathMappings = res