Table of Contents
A low-level client representing Amazon S3 on Outposts (S3 Outposts)
Amazon S3 on Outposts provides access to S3 on Outposts operations.
import boto3
client = boto3.client('s3outposts')
These are the available methods:
Check if an operation can be paginated.
Creates an endpoint and associates it with the specified Outpost.
Note
It can take up to 5 minutes for this action to finish.
Related actions include:
See also: AWS API Documentation
Request Syntax
response = client.create_endpoint(
OutpostId='string',
SubnetId='string',
SecurityGroupId='string',
AccessType='Private'|'CustomerOwnedIp',
CustomerOwnedIpv4Pool='string'
)
[REQUIRED]
The ID of the Outposts.
[REQUIRED]
The ID of the subnet in the selected VPC. The endpoint subnet must belong to the Outpost that has Amazon S3 on Outposts provisioned.
[REQUIRED]
The ID of the security group to use with the endpoint.
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).
Note
Private is the default access type value.
dict
Response Syntax
{
'EndpointArn': 'string'
}
Response Structure
(dict) --
EndpointArn (string) --
The Amazon Resource Name (ARN) of the endpoint.
Exceptions
Deletes an endpoint.
Note
It can take up to 5 minutes for this action to finish.
Related actions include:
See also: AWS API Documentation
Request Syntax
response = client.delete_endpoint(
EndpointId='string',
OutpostId='string'
)
[REQUIRED]
The ID of the endpoint.
[REQUIRED]
The ID of the Outposts.
None
Exceptions
Create a paginator for an operation.
Returns an object that can wait for some condition.
Lists endpoints associated with the specified Outpost.
Related actions include:
See also: AWS API Documentation
Request Syntax
response = client.list_endpoints(
NextToken='string',
MaxResults=123
)
dict
Response Syntax
{
'Endpoints': [
{
'EndpointArn': 'string',
'OutpostsId': 'string',
'CidrBlock': 'string',
'Status': 'Pending'|'Available'|'Deleting',
'CreationTime': datetime(2015, 1, 1),
'NetworkInterfaces': [
{
'NetworkInterfaceId': 'string'
},
],
'VpcId': 'string',
'SubnetId': 'string',
'SecurityGroupId': 'string',
'AccessType': 'Private'|'CustomerOwnedIp',
'CustomerOwnedIpv4Pool': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Endpoints (list) --
The list of endpoints associated with the specified Outpost.
(dict) --
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 in the Amazon Simple Storage Service User Guide .
EndpointArn (string) --
The Amazon Resource Name (ARN) of the endpoint.
OutpostsId (string) --
The ID of the Outposts.
CidrBlock (string) --
The VPC CIDR committed by this endpoint.
Status (string) --
The status of the endpoint.
CreationTime (datetime) --
The time the endpoint was created.
NetworkInterfaces (list) --
The network interface of the endpoint.
(dict) --
The container for the network interface.
NetworkInterfaceId (string) --
The ID for the network interface.
VpcId (string) --
The ID of the VPC used for the endpoint.
SubnetId (string) --
The ID of the subnet used for the endpoint.
SecurityGroupId (string) --
The ID of the security group used for the endpoint.
AccessType (string) --
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
CustomerOwnedIpv4Pool (string) --
The ID of the customer-owned IPv4 address pool used for the endpoint.
NextToken (string) --
If the number of endpoints associated with the specified Outpost exceeds MaxResults , you can include this value in subsequent calls to this operation to retrieve more results.
Exceptions
Lists all endpoints associated with an Outpost that has been shared by Amazon Web Services Resource Access Manager (RAM).
Related actions include:
See also: AWS API Documentation
Request Syntax
response = client.list_shared_endpoints(
NextToken='string',
MaxResults=123,
OutpostId='string'
)
[REQUIRED]
The ID of the Amazon Web Services Outpost.
dict
Response Syntax
{
'Endpoints': [
{
'EndpointArn': 'string',
'OutpostsId': 'string',
'CidrBlock': 'string',
'Status': 'Pending'|'Available'|'Deleting',
'CreationTime': datetime(2015, 1, 1),
'NetworkInterfaces': [
{
'NetworkInterfaceId': 'string'
},
],
'VpcId': 'string',
'SubnetId': 'string',
'SecurityGroupId': 'string',
'AccessType': 'Private'|'CustomerOwnedIp',
'CustomerOwnedIpv4Pool': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Endpoints (list) --
The list of endpoints associated with the specified Outpost that have been shared by Amazon Web Services Resource Access Manager (RAM).
(dict) --
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 in the Amazon Simple Storage Service User Guide .
EndpointArn (string) --
The Amazon Resource Name (ARN) of the endpoint.
OutpostsId (string) --
The ID of the Outposts.
CidrBlock (string) --
The VPC CIDR committed by this endpoint.
Status (string) --
The status of the endpoint.
CreationTime (datetime) --
The time the endpoint was created.
NetworkInterfaces (list) --
The network interface of the endpoint.
(dict) --
The container for the network interface.
NetworkInterfaceId (string) --
The ID for the network interface.
VpcId (string) --
The ID of the VPC used for the endpoint.
SubnetId (string) --
The ID of the subnet used for the endpoint.
SecurityGroupId (string) --
The ID of the security group used for the endpoint.
AccessType (string) --
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
CustomerOwnedIpv4Pool (string) --
The ID of the customer-owned IPv4 address pool used for the endpoint.
NextToken (string) --
If the number of endpoints associated with the specified Outpost exceeds MaxResults , you can include this value in subsequent calls to this operation to retrieve more results.
Exceptions
The available paginators are:
paginator = client.get_paginator('list_endpoints')
Creates an iterator that will paginate through responses from S3Outposts.Client.list_endpoints().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Endpoints': [
{
'EndpointArn': 'string',
'OutpostsId': 'string',
'CidrBlock': 'string',
'Status': 'Pending'|'Available'|'Deleting',
'CreationTime': datetime(2015, 1, 1),
'NetworkInterfaces': [
{
'NetworkInterfaceId': 'string'
},
],
'VpcId': 'string',
'SubnetId': 'string',
'SecurityGroupId': 'string',
'AccessType': 'Private'|'CustomerOwnedIp',
'CustomerOwnedIpv4Pool': 'string'
},
],
}
Response Structure
The list of endpoints associated with the specified Outpost.
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 in the Amazon Simple Storage Service User Guide .
The Amazon Resource Name (ARN) of the endpoint.
The ID of the Outposts.
The VPC CIDR committed by this endpoint.
The status of the endpoint.
The time the endpoint was created.
The network interface of the endpoint.
The container for the network interface.
The ID for the network interface.
The ID of the VPC used for the endpoint.
The ID of the subnet used for the endpoint.
The ID of the security group used for the endpoint.
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
The ID of the customer-owned IPv4 address pool used for the endpoint.
paginator = client.get_paginator('list_shared_endpoints')
Creates an iterator that will paginate through responses from S3Outposts.Client.list_shared_endpoints().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
OutpostId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The ID of the Amazon Web Services Outpost.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Endpoints': [
{
'EndpointArn': 'string',
'OutpostsId': 'string',
'CidrBlock': 'string',
'Status': 'Pending'|'Available'|'Deleting',
'CreationTime': datetime(2015, 1, 1),
'NetworkInterfaces': [
{
'NetworkInterfaceId': 'string'
},
],
'VpcId': 'string',
'SubnetId': 'string',
'SecurityGroupId': 'string',
'AccessType': 'Private'|'CustomerOwnedIp',
'CustomerOwnedIpv4Pool': 'string'
},
],
}
Response Structure
(dict) --
Endpoints (list) --
The list of endpoints associated with the specified Outpost that have been shared by Amazon Web Services Resource Access Manager (RAM).
(dict) --
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 in the Amazon Simple Storage Service User Guide .
EndpointArn (string) --
The Amazon Resource Name (ARN) of the endpoint.
OutpostsId (string) --
The ID of the Outposts.
CidrBlock (string) --
The VPC CIDR committed by this endpoint.
Status (string) --
The status of the endpoint.
CreationTime (datetime) --
The time the endpoint was created.
NetworkInterfaces (list) --
The network interface of the endpoint.
(dict) --
The container for the network interface.
NetworkInterfaceId (string) --
The ID for the network interface.
VpcId (string) --
The ID of the VPC used for the endpoint.
SubnetId (string) --
The ID of the subnet used for the endpoint.
SecurityGroupId (string) --
The ID of the security group used for the endpoint.
AccessType (string) --
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
CustomerOwnedIpv4Pool (string) --
The ID of the customer-owned IPv4 address pool used for the endpoint.