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

Amazonka.S3Outposts.CreateEndpoint

Description

Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC only access points.

This action creates an endpoint and associates it with the specified Outposts.

It can take up to 5 minutes for this action to complete.

Related actions include:

Synopsis

Creating a Request

data CreateEndpoint Source #

See: newCreateEndpoint smart constructor.

Constructors

CreateEndpoint' 

Fields

  • accessType :: Maybe EndpointAccessType

    The type of access for the on-premise network connectivity for the Outpost endpoint. To access the endpoint from an on-premises network, you must specify the access type and provide the customer owned IPv4 pool.

  • customerOwnedIpv4Pool :: Maybe Text

    The ID of the customer-owned IPv4 pool for the endpoint. IP addresses will be allocated from this pool for the endpoint.

  • outpostId :: Text

    The ID of the AWS Outposts.

  • subnetId :: Text

    The ID of the subnet in the selected VPC. The endpoint subnet must belong to the Outpost that has the Amazon S3 on Outposts provisioned.

  • securityGroupId :: Text

    The ID of the security group to use with the endpoint.

Instances

Instances details
Eq CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Read CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Show CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Generic CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Associated Types

type Rep CreateEndpoint :: Type -> Type #

NFData CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Methods

rnf :: CreateEndpoint -> () #

Hashable CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

ToJSON CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

AWSRequest CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Associated Types

type AWSResponse CreateEndpoint #

ToHeaders CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

ToPath CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

ToQuery CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

type Rep CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

type Rep CreateEndpoint = D1 ('MetaData "CreateEndpoint" "Amazonka.S3Outposts.CreateEndpoint" "libZSservicesZSamazonka-s3outpostsZSamazonka-s3outposts" 'False) (C1 ('MetaCons "CreateEndpoint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointAccessType)) :*: S1 ('MetaSel ('Just "customerOwnedIpv4Pool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "outpostId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "securityGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

newCreateEndpoint Source #

Create a value of CreateEndpoint 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:accessType:CreateEndpoint', createEndpoint_accessType - The type of access for the on-premise network connectivity for the Outpost endpoint. To access the endpoint from an on-premises network, you must specify the access type and provide the customer owned IPv4 pool.

$sel:customerOwnedIpv4Pool:CreateEndpoint', createEndpoint_customerOwnedIpv4Pool - The ID of the customer-owned IPv4 pool for the endpoint. IP addresses will be allocated from this pool for the endpoint.

$sel:outpostId:CreateEndpoint', createEndpoint_outpostId - The ID of the AWS Outposts.

$sel:subnetId:CreateEndpoint', createEndpoint_subnetId - The ID of the subnet in the selected VPC. The endpoint subnet must belong to the Outpost that has the Amazon S3 on Outposts provisioned.

$sel:securityGroupId:CreateEndpoint', createEndpoint_securityGroupId - The ID of the security group to use with the endpoint.

Request Lenses

createEndpoint_accessType :: Lens' CreateEndpoint (Maybe EndpointAccessType) Source #

The type of access for the on-premise network connectivity for the Outpost endpoint. To access the endpoint from an on-premises network, you must specify the access type and provide the customer owned IPv4 pool.

createEndpoint_customerOwnedIpv4Pool :: Lens' CreateEndpoint (Maybe Text) Source #

The ID of the customer-owned IPv4 pool for the endpoint. IP addresses will be allocated from this pool for the endpoint.

createEndpoint_subnetId :: Lens' CreateEndpoint Text Source #

The ID of the subnet in the selected VPC. The endpoint subnet must belong to the Outpost that has the Amazon S3 on Outposts provisioned.

createEndpoint_securityGroupId :: Lens' CreateEndpoint Text Source #

The ID of the security group to use with the endpoint.

Destructuring the Response

data CreateEndpointResponse Source #

See: newCreateEndpointResponse smart constructor.

Constructors

CreateEndpointResponse' 

Fields

Instances

Instances details
Eq CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Read CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Show CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Generic CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Associated Types

type Rep CreateEndpointResponse :: Type -> Type #

NFData CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Methods

rnf :: CreateEndpointResponse -> () #

type Rep CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

type Rep CreateEndpointResponse = D1 ('MetaData "CreateEndpointResponse" "Amazonka.S3Outposts.CreateEndpoint" "libZSservicesZSamazonka-s3outpostsZSamazonka-s3outposts" 'False) (C1 ('MetaCons "CreateEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateEndpointResponse Source #

Create a value of CreateEndpointResponse 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:endpointArn:CreateEndpointResponse', createEndpointResponse_endpointArn - The Amazon Resource Name (ARN) of the endpoint.

$sel:httpStatus:CreateEndpointResponse', createEndpointResponse_httpStatus - The response's http status code.

Response Lenses

createEndpointResponse_endpointArn :: Lens' CreateEndpointResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the endpoint.