forked from brendanhay/amazonka
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerating all services with update licensing, maintainer email, an…
…d formatting
- Loading branch information
1 parent
ea78d45
commit 405c1b2
Showing
4,009 changed files
with
154,227 additions
and
142,540 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
|
||
-- | | ||
-- Module : Network.AWS.APIGateway | ||
-- Copyright : (c) 2013-2016 Brendan Hay | ||
-- Copyright : (c) 2013-2017 Brendan Hay | ||
-- License : Mozilla Public License, v. 2.0. | ||
-- Maintainer : Brendan Hay <[email protected]> | ||
-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> | ||
-- Stability : auto-generated | ||
-- Portability : non-portable (GHC extensions) | ||
-- | ||
|
@@ -721,120 +721,120 @@ module Network.AWS.APIGateway | |
, upkType | ||
) where | ||
|
||
import Network.AWS.APIGateway.CreateAPIKey | ||
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.CreateRequestValidator | ||
import Network.AWS.APIGateway.CreateResource | ||
import Network.AWS.APIGateway.CreateRestAPI | ||
import Network.AWS.APIGateway.CreateStage | ||
import Network.AWS.APIGateway.CreateUsagePlan | ||
import Network.AWS.APIGateway.CreateUsagePlanKey | ||
import Network.AWS.APIGateway.DeleteAPIKey | ||
import Network.AWS.APIGateway.DeleteAuthorizer | ||
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.DeleteGatewayResponse | ||
import Network.AWS.APIGateway.DeleteIntegration | ||
import Network.AWS.APIGateway.DeleteIntegrationResponse | ||
import Network.AWS.APIGateway.DeleteMethod | ||
import Network.AWS.APIGateway.DeleteMethodResponse | ||
import Network.AWS.APIGateway.DeleteModel | ||
import Network.AWS.APIGateway.DeleteRequestValidator | ||
import Network.AWS.APIGateway.DeleteResource | ||
import Network.AWS.APIGateway.DeleteRestAPI | ||
import Network.AWS.APIGateway.DeleteStage | ||
import Network.AWS.APIGateway.DeleteUsagePlan | ||
import Network.AWS.APIGateway.DeleteUsagePlanKey | ||
import Network.AWS.APIGateway.FlushStageAuthorizersCache | ||
import Network.AWS.APIGateway.FlushStageCache | ||
import Network.AWS.APIGateway.GenerateClientCertificate | ||
import Network.AWS.APIGateway.GetAccount | ||
import Network.AWS.APIGateway.GetAPIKey | ||
import Network.AWS.APIGateway.GetAPIKeys | ||
import Network.AWS.APIGateway.GetAuthorizer | ||
import Network.AWS.APIGateway.GetAuthorizers | ||
import Network.AWS.APIGateway.GetBasePathMapping | ||
import Network.AWS.APIGateway.GetBasePathMappings | ||
import Network.AWS.APIGateway.GetClientCertificate | ||
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 | ||
import Network.AWS.APIGateway.GetGatewayResponse | ||
import Network.AWS.APIGateway.GetGatewayResponses | ||
import Network.AWS.APIGateway.GetIntegration | ||
import Network.AWS.APIGateway.GetIntegrationResponse | ||
import Network.AWS.APIGateway.GetMethod | ||
import Network.AWS.APIGateway.GetMethodResponse | ||
import Network.AWS.APIGateway.GetModel | ||
import Network.AWS.APIGateway.GetModels | ||
import Network.AWS.APIGateway.GetModelTemplate | ||
import Network.AWS.APIGateway.GetRequestValidator | ||
import Network.AWS.APIGateway.GetRequestValidators | ||
import Network.AWS.APIGateway.GetResource | ||
import Network.AWS.APIGateway.GetResources | ||
import Network.AWS.APIGateway.GetRestAPI | ||
import Network.AWS.APIGateway.GetRestAPIs | ||
import Network.AWS.APIGateway.GetSDK | ||
import Network.AWS.APIGateway.GetSDKType | ||
import Network.AWS.APIGateway.GetSDKTypes | ||
import Network.AWS.APIGateway.GetStage | ||
import Network.AWS.APIGateway.GetStages | ||
import Network.AWS.APIGateway.GetUsage | ||
import Network.AWS.APIGateway.GetUsagePlan | ||
import Network.AWS.APIGateway.GetUsagePlanKey | ||
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.PutGatewayResponse | ||
import Network.AWS.APIGateway.PutIntegration | ||
import Network.AWS.APIGateway.PutIntegrationResponse | ||
import Network.AWS.APIGateway.PutMethod | ||
import Network.AWS.APIGateway.PutMethodResponse | ||
import Network.AWS.APIGateway.PutRestAPI | ||
import Network.AWS.APIGateway.TestInvokeAuthorizer | ||
import Network.AWS.APIGateway.TestInvokeMethod | ||
import Network.AWS.APIGateway.Types | ||
import Network.AWS.APIGateway.UpdateAccount | ||
import Network.AWS.APIGateway.UpdateAPIKey | ||
import Network.AWS.APIGateway.UpdateAuthorizer | ||
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.UpdateGatewayResponse | ||
import Network.AWS.APIGateway.UpdateIntegration | ||
import Network.AWS.APIGateway.UpdateIntegrationResponse | ||
import Network.AWS.APIGateway.UpdateMethod | ||
import Network.AWS.APIGateway.UpdateMethodResponse | ||
import Network.AWS.APIGateway.UpdateModel | ||
import Network.AWS.APIGateway.UpdateRequestValidator | ||
import Network.AWS.APIGateway.UpdateResource | ||
import Network.AWS.APIGateway.UpdateRestAPI | ||
import Network.AWS.APIGateway.UpdateStage | ||
import Network.AWS.APIGateway.UpdateUsage | ||
import Network.AWS.APIGateway.UpdateUsagePlan | ||
import Network.AWS.APIGateway.Waiters | ||
import Network.AWS.APIGateway.CreateAPIKey | ||
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.CreateRequestValidator | ||
import Network.AWS.APIGateway.CreateResource | ||
import Network.AWS.APIGateway.CreateRestAPI | ||
import Network.AWS.APIGateway.CreateStage | ||
import Network.AWS.APIGateway.CreateUsagePlan | ||
import Network.AWS.APIGateway.CreateUsagePlanKey | ||
import Network.AWS.APIGateway.DeleteAPIKey | ||
import Network.AWS.APIGateway.DeleteAuthorizer | ||
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.DeleteGatewayResponse | ||
import Network.AWS.APIGateway.DeleteIntegration | ||
import Network.AWS.APIGateway.DeleteIntegrationResponse | ||
import Network.AWS.APIGateway.DeleteMethod | ||
import Network.AWS.APIGateway.DeleteMethodResponse | ||
import Network.AWS.APIGateway.DeleteModel | ||
import Network.AWS.APIGateway.DeleteRequestValidator | ||
import Network.AWS.APIGateway.DeleteResource | ||
import Network.AWS.APIGateway.DeleteRestAPI | ||
import Network.AWS.APIGateway.DeleteStage | ||
import Network.AWS.APIGateway.DeleteUsagePlan | ||
import Network.AWS.APIGateway.DeleteUsagePlanKey | ||
import Network.AWS.APIGateway.FlushStageAuthorizersCache | ||
import Network.AWS.APIGateway.FlushStageCache | ||
import Network.AWS.APIGateway.GenerateClientCertificate | ||
import Network.AWS.APIGateway.GetAccount | ||
import Network.AWS.APIGateway.GetAPIKey | ||
import Network.AWS.APIGateway.GetAPIKeys | ||
import Network.AWS.APIGateway.GetAuthorizer | ||
import Network.AWS.APIGateway.GetAuthorizers | ||
import Network.AWS.APIGateway.GetBasePathMapping | ||
import Network.AWS.APIGateway.GetBasePathMappings | ||
import Network.AWS.APIGateway.GetClientCertificate | ||
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 | ||
import Network.AWS.APIGateway.GetGatewayResponse | ||
import Network.AWS.APIGateway.GetGatewayResponses | ||
import Network.AWS.APIGateway.GetIntegration | ||
import Network.AWS.APIGateway.GetIntegrationResponse | ||
import Network.AWS.APIGateway.GetMethod | ||
import Network.AWS.APIGateway.GetMethodResponse | ||
import Network.AWS.APIGateway.GetModel | ||
import Network.AWS.APIGateway.GetModels | ||
import Network.AWS.APIGateway.GetModelTemplate | ||
import Network.AWS.APIGateway.GetRequestValidator | ||
import Network.AWS.APIGateway.GetRequestValidators | ||
import Network.AWS.APIGateway.GetResource | ||
import Network.AWS.APIGateway.GetResources | ||
import Network.AWS.APIGateway.GetRestAPI | ||
import Network.AWS.APIGateway.GetRestAPIs | ||
import Network.AWS.APIGateway.GetSDK | ||
import Network.AWS.APIGateway.GetSDKType | ||
import Network.AWS.APIGateway.GetSDKTypes | ||
import Network.AWS.APIGateway.GetStage | ||
import Network.AWS.APIGateway.GetStages | ||
import Network.AWS.APIGateway.GetUsage | ||
import Network.AWS.APIGateway.GetUsagePlan | ||
import Network.AWS.APIGateway.GetUsagePlanKey | ||
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.PutGatewayResponse | ||
import Network.AWS.APIGateway.PutIntegration | ||
import Network.AWS.APIGateway.PutIntegrationResponse | ||
import Network.AWS.APIGateway.PutMethod | ||
import Network.AWS.APIGateway.PutMethodResponse | ||
import Network.AWS.APIGateway.PutRestAPI | ||
import Network.AWS.APIGateway.TestInvokeAuthorizer | ||
import Network.AWS.APIGateway.TestInvokeMethod | ||
import Network.AWS.APIGateway.Types | ||
import Network.AWS.APIGateway.UpdateAccount | ||
import Network.AWS.APIGateway.UpdateAPIKey | ||
import Network.AWS.APIGateway.UpdateAuthorizer | ||
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.UpdateGatewayResponse | ||
import Network.AWS.APIGateway.UpdateIntegration | ||
import Network.AWS.APIGateway.UpdateIntegrationResponse | ||
import Network.AWS.APIGateway.UpdateMethod | ||
import Network.AWS.APIGateway.UpdateMethodResponse | ||
import Network.AWS.APIGateway.UpdateModel | ||
import Network.AWS.APIGateway.UpdateRequestValidator | ||
import Network.AWS.APIGateway.UpdateResource | ||
import Network.AWS.APIGateway.UpdateRestAPI | ||
import Network.AWS.APIGateway.UpdateStage | ||
import Network.AWS.APIGateway.UpdateUsage | ||
import Network.AWS.APIGateway.UpdateUsagePlan | ||
import Network.AWS.APIGateway.Waiters | ||
|
||
{- $errors | ||
Error matchers are designed for use with the functions provided by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ | |
|
||
-- | | ||
-- Module : Network.AWS.APIGateway.CreateAPIKey | ||
-- Copyright : (c) 2013-2016 Brendan Hay | ||
-- Copyright : (c) 2013-2017 Brendan Hay | ||
-- License : Mozilla Public License, v. 2.0. | ||
-- Maintainer : Brendan Hay <[email protected]> | ||
-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> | ||
-- Stability : auto-generated | ||
-- Portability : non-portable (GHC extensions) | ||
-- | ||
|
@@ -51,27 +51,28 @@ module Network.AWS.APIGateway.CreateAPIKey | |
, akDescription | ||
) 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 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 | ||
|
||
-- | 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]) | ||
, _cakDescription :: !(Maybe Text) | ||
} deriving (Eq,Read,Show,Data,Typeable,Generic) | ||
{ _cakEnabled :: {-# NOUNPACK #-}!(Maybe Bool) | ||
, _cakValue :: {-# NOUNPACK #-}!(Maybe Text) | ||
, _cakCustomerId :: {-# NOUNPACK #-}!(Maybe Text) | ||
, _cakGenerateDistinctId :: {-# NOUNPACK #-}!(Maybe Bool) | ||
, _cakName :: {-# NOUNPACK #-}!(Maybe Text) | ||
, _cakStageKeys :: {-# NOUNPACK #-}!(Maybe [StageKey]) | ||
, _cakDescription :: {-# NOUNPACK #-}!(Maybe Text) | ||
} deriving (Eq, Read, Show, Data, Typeable, Generic) | ||
|
||
|
||
-- | Creates a value of 'CreateAPIKey' with the minimum fields required to make a request. | ||
-- | ||
|
@@ -93,15 +94,16 @@ data CreateAPIKey = CreateAPIKey' | |
createAPIKey | ||
:: CreateAPIKey | ||
createAPIKey = | ||
CreateAPIKey' | ||
{ _cakEnabled = Nothing | ||
, _cakValue = Nothing | ||
, _cakCustomerId = Nothing | ||
, _cakGenerateDistinctId = Nothing | ||
, _cakName = Nothing | ||
, _cakStageKeys = Nothing | ||
, _cakDescription = Nothing | ||
} | ||
CreateAPIKey' | ||
{ _cakEnabled = Nothing | ||
, _cakValue = Nothing | ||
, _cakCustomerId = Nothing | ||
, _cakGenerateDistinctId = Nothing | ||
, _cakName = Nothing | ||
, _cakStageKeys = Nothing | ||
, _cakDescription = Nothing | ||
} | ||
|
||
|
||
-- | Specifies whether the 'ApiKey' can be used by callers. | ||
cakEnabled :: Lens' CreateAPIKey (Maybe Bool) | ||
|
@@ -136,9 +138,9 @@ instance AWSRequest CreateAPIKey where | |
request = postJSON apiGateway | ||
response = receiveJSON (\ s h x -> eitherParseJSON x) | ||
|
||
instance Hashable CreateAPIKey | ||
instance Hashable CreateAPIKey where | ||
|
||
instance NFData CreateAPIKey | ||
instance NFData CreateAPIKey where | ||
|
||
instance ToHeaders CreateAPIKey where | ||
toHeaders | ||
|
Oops, something went wrong.