interface ResponseExtractionMappingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Glue.CfnConnectionTypePropsMixin.ResponseExtractionMappingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsglue#CfnConnectionTypePropsMixin_ResponseExtractionMappingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.glue.CfnConnectionTypePropsMixin.ResponseExtractionMappingProperty |
Python | aws_cdk.cfn_property_mixins.aws_glue.CfnConnectionTypePropsMixin.ResponseExtractionMappingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_glue » CfnConnectionTypePropsMixin » ResponseExtractionMappingProperty |
Defines how to extract values from HTTP responses.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from '@aws-cdk/cfn-property-mixins';
const responseExtractionMappingProperty: glue.CfnConnectionTypePropsMixin.ResponseExtractionMappingProperty = {
contentPath: 'contentPath',
headerKey: 'headerKey',
};
Properties
| Name | Type | Description |
|---|---|---|
| content | string | A JSON path expression to extract a value from response body. |
| header | string | The name of an HTTP response header from which to extract the value. |
contentPath?
Type:
string
(optional)
A JSON path expression to extract a value from response body.
headerKey?
Type:
string
(optional)
The name of an HTTP response header from which to extract the value.

.NET
Go
Java
Python
TypeScript