amazonka-s3outposts-2.0: Amazon S3 on Outposts SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.S3Outposts.CreateEndpoint

Description

Creates an endpoint and associates it with the specified Outpost.

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

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 network connectivity for the Amazon S3 on Outposts endpoint. To use the Amazon Web Services VPC, choose Private. To use the endpoint with an on-premises network, choose CustomerOwnedIp. If you choose CustomerOwnedIp, you must also provide the customer-owned IP address pool (CoIP pool).

    Private is the default access type value.

  • customerOwnedIpv4Pool :: Maybe Text

    The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. IP addresses are allocated from this pool for the endpoint.

  • outpostId :: Text

    The ID of the Outposts.

  • subnetId :: Text

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

  • securityGroupId :: Text

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

Instances

Instances details
ToJSON CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.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

AWSRequest CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Associated Types

type AWSResponse CreateEndpoint #

Generic CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Associated Types

type Rep CreateEndpoint :: Type -> Type #

Read CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Show CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

NFData CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Methods

rnf :: CreateEndpoint -> () #

Eq CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Hashable CreateEndpoint Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

type AWSResponse 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" "amazonka-s3outposts-2.0-FXtMY52WtY5H7dQDI4FXOO" '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)))))

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:

CreateEndpoint, createEndpoint_accessType - The type of access for the network connectivity for the Amazon S3 on Outposts endpoint. To use the Amazon Web Services VPC, choose Private. To use the endpoint with an on-premises network, choose CustomerOwnedIp. If you choose CustomerOwnedIp, you must also provide the customer-owned IP address pool (CoIP pool).

Private is the default access type value.

CreateEndpoint, createEndpoint_customerOwnedIpv4Pool - The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. IP addresses are allocated from this pool for the endpoint.

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

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

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 network connectivity for the Amazon S3 on Outposts endpoint. To use the Amazon Web Services VPC, choose Private. To use the endpoint with an on-premises network, choose CustomerOwnedIp. If you choose CustomerOwnedIp, you must also provide the customer-owned IP address pool (CoIP pool).

Private is the default access type value.

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

The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. IP addresses are 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 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
Generic CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Associated Types

type Rep CreateEndpointResponse :: Type -> Type #

Read CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Show CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

NFData CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

Methods

rnf :: CreateEndpointResponse -> () #

Eq CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

type Rep CreateEndpointResponse Source # 
Instance details

Defined in Amazonka.S3Outposts.CreateEndpoint

type Rep CreateEndpointResponse = D1 ('MetaData "CreateEndpointResponse" "Amazonka.S3Outposts.CreateEndpoint" "amazonka-s3outposts-2.0-FXtMY52WtY5H7dQDI4FXOO" '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:

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.