| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpenSearchServerless.BatchGetVpcEndpoint
Description
Returns attributes for one or more VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
Synopsis
- data BatchGetVpcEndpoint = BatchGetVpcEndpoint' {}
- newBatchGetVpcEndpoint :: NonEmpty Text -> BatchGetVpcEndpoint
- batchGetVpcEndpoint_ids :: Lens' BatchGetVpcEndpoint (NonEmpty Text)
- data BatchGetVpcEndpointResponse = BatchGetVpcEndpointResponse' {}
- newBatchGetVpcEndpointResponse :: Int -> BatchGetVpcEndpointResponse
- batchGetVpcEndpointResponse_vpcEndpointDetails :: Lens' BatchGetVpcEndpointResponse (Maybe [VpcEndpointDetail])
- batchGetVpcEndpointResponse_vpcEndpointErrorDetails :: Lens' BatchGetVpcEndpointResponse (Maybe [VpcEndpointErrorDetail])
- batchGetVpcEndpointResponse_httpStatus :: Lens' BatchGetVpcEndpointResponse Int
Creating a Request
data BatchGetVpcEndpoint Source #
See: newBatchGetVpcEndpoint smart constructor.
Constructors
| BatchGetVpcEndpoint' | |
Instances
newBatchGetVpcEndpoint Source #
Arguments
| :: NonEmpty Text | |
| -> BatchGetVpcEndpoint |
Create a value of BatchGetVpcEndpoint with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ids:BatchGetVpcEndpoint', batchGetVpcEndpoint_ids - A list of VPC endpoint identifiers.
Request Lenses
batchGetVpcEndpoint_ids :: Lens' BatchGetVpcEndpoint (NonEmpty Text) Source #
A list of VPC endpoint identifiers.
Destructuring the Response
data BatchGetVpcEndpointResponse Source #
See: newBatchGetVpcEndpointResponse smart constructor.
Constructors
| BatchGetVpcEndpointResponse' | |
Fields
| |
Instances
newBatchGetVpcEndpointResponse Source #
Create a value of BatchGetVpcEndpointResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:vpcEndpointDetails:BatchGetVpcEndpointResponse', batchGetVpcEndpointResponse_vpcEndpointDetails - Details about the specified VPC endpoint.
$sel:vpcEndpointErrorDetails:BatchGetVpcEndpointResponse', batchGetVpcEndpointResponse_vpcEndpointErrorDetails - Error information for a failed request.
$sel:httpStatus:BatchGetVpcEndpointResponse', batchGetVpcEndpointResponse_httpStatus - The response's http status code.
Response Lenses
batchGetVpcEndpointResponse_vpcEndpointDetails :: Lens' BatchGetVpcEndpointResponse (Maybe [VpcEndpointDetail]) Source #
Details about the specified VPC endpoint.
batchGetVpcEndpointResponse_vpcEndpointErrorDetails :: Lens' BatchGetVpcEndpointResponse (Maybe [VpcEndpointErrorDetail]) Source #
Error information for a failed request.
batchGetVpcEndpointResponse_httpStatus :: Lens' BatchGetVpcEndpointResponse Int Source #
The response's http status code.