interface ResponseExtractionMappingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.CfnConnectionType.ResponseExtractionMappingProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnConnectionType_ResponseExtractionMappingProperty |
Java | software.amazon.awscdk.services.glue.CfnConnectionType.ResponseExtractionMappingProperty |
Python | aws_cdk.aws_glue.CfnConnectionType.ResponseExtractionMappingProperty |
TypeScript | aws-cdk-lib » aws_glue » CfnConnectionType » 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-lib';
const responseExtractionMappingProperty: glue.CfnConnectionType.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