integration_response#
Exec module for managing Amazon API Gateway Integration Responses.
- async idem_aws.exec.aws.apigateway.integration_response.get(hub, ctx, resource_id: str, name: str = None)[source]#
Get an API Gateway Integration Response from AWS.
- Parameters:
- Returns:
{"result": True|False, "comment": A message List, "ret": Dict[str, Any]}
Examples
Calling this exec module function from the cli with resource_id
idem exec aws.apigateway.integration_response.get resource_id="resource_id" name=name
Calling this exec module function from within a state module in pure python
async def state_function(hub, ctx, name, resource_id, name): ret = await hub.exec.aws.apigateway.integration_response.get(ctx, resource_id=resource_id, name=name)