amazonka-apigateway-1.4.1: Amazon API Gateway SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.APIGateway.UpdateIntegration

Contents

Description

Represents an update integration.

Synopsis

Creating a Request

updateIntegration Source #

Creates a value of UpdateIntegration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateIntegration Source #

Represents an update integration request.

See: updateIntegration smart constructor.

Instances

Eq UpdateIntegration Source # 
Data UpdateIntegration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateIntegration -> c UpdateIntegration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateIntegration #

toConstr :: UpdateIntegration -> Constr #

dataTypeOf :: UpdateIntegration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateIntegration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateIntegration) #

gmapT :: (forall b. Data b => b -> b) -> UpdateIntegration -> UpdateIntegration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateIntegration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateIntegration -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateIntegration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateIntegration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateIntegration -> m UpdateIntegration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateIntegration -> m UpdateIntegration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateIntegration -> m UpdateIntegration #

Read UpdateIntegration Source # 
Show UpdateIntegration Source # 
Generic UpdateIntegration Source # 
Hashable UpdateIntegration Source # 
ToJSON UpdateIntegration Source # 
NFData UpdateIntegration Source # 

Methods

rnf :: UpdateIntegration -> () #

AWSRequest UpdateIntegration Source # 
ToQuery UpdateIntegration Source # 
ToPath UpdateIntegration Source # 
ToHeaders UpdateIntegration Source # 
type Rep UpdateIntegration Source # 
type Rep UpdateIntegration = D1 (MetaData "UpdateIntegration" "Network.AWS.APIGateway.UpdateIntegration" "amazonka-apigateway-1.4.1-9LwN6bvDRGjBL5d3wQjvoh" False) (C1 (MetaCons "UpdateIntegration'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_updPatchOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchOperation]))) (S1 (MetaSel (Just Symbol "_updRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_updResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_updHttpMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateIntegration Source # 

Request Lenses

updPatchOperations :: Lens' UpdateIntegration [PatchOperation] Source #

A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.

updRestAPIId :: Lens' UpdateIntegration Text Source #

Represents an update integration request's API identifier.

updResourceId :: Lens' UpdateIntegration Text Source #

Represents an update integration request's resource identifier.

updHttpMethod :: Lens' UpdateIntegration Text Source #

Represents an update integration request's HTTP method.

Destructuring the Response

integration :: Integration Source #

Creates a value of Integration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data Integration Source #

Represents a HTTP, AWS, or Mock integration.

See: integration smart constructor.

Instances

Eq Integration Source # 
Data Integration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Integration -> c Integration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Integration #

toConstr :: Integration -> Constr #

dataTypeOf :: Integration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Integration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Integration) #

gmapT :: (forall b. Data b => b -> b) -> Integration -> Integration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Integration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Integration -> r #

gmapQ :: (forall d. Data d => d -> u) -> Integration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Integration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Integration -> m Integration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Integration -> m Integration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Integration -> m Integration #

Read Integration Source # 
Show Integration Source # 
Generic Integration Source # 

Associated Types

type Rep Integration :: * -> * #

Hashable Integration Source # 
FromJSON Integration Source # 
NFData Integration Source # 

Methods

rnf :: Integration -> () #

type Rep Integration Source # 

Response Lenses

iHttpMethod :: Lens' Integration (Maybe Text) Source #

Specifies the integration's HTTP method type.

iRequestTemplates :: Lens' Integration (HashMap Text Text) Source #

Specifies the integration's request templates.

iCredentials :: Lens' Integration (Maybe Text) Source #

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 :: Lens' Integration (HashMap Text Text) Source #

Represents requests parameters that are sent with the backend request. Request parameters are represented as a key/value map, with a destination as the key and a source as the value. A source must match an existing method request parameter, or a static value. Static values must be enclosed with single quotes, and be pre-encoded based on their destination in the request. The destination must match the pattern 'integration.request.{location}.{name}', where location is either querystring, path, or header. name must be a valid, unique parameter name.

iUri :: Lens' Integration (Maybe Text) Source #

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 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 \/.

iIntegrationResponses :: Lens' Integration (HashMap Text IntegrationResponse) Source #

Specifies the integration's responses.

iCacheNamespace :: Lens' Integration (Maybe Text) Source #

Specifies the integration's cache namespace.

iType :: Lens' Integration (Maybe IntegrationType) Source #

Specifies the integration's type. The valid value is HTTP, AWS, or MOCK.

iCacheKeyParameters :: Lens' Integration [Text] Source #

Specifies the integration's cache key parameters.