s3outposts.d.ts
6.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class S3Outposts extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: S3Outposts.Types.ClientConfiguration)
config: Config & S3Outposts.Types.ClientConfiguration;
/**
* S3 on Outposts access points simplify managing data access at scale for shared datasets in Amazon 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). This action creates an endpoint and associates it with the specified Outpost. Related actions include: DeleteEndpoint ListEndpoints
*/
createEndpoint(params: S3Outposts.Types.CreateEndpointRequest, callback?: (err: AWSError, data: S3Outposts.Types.CreateEndpointResult) => void): Request<S3Outposts.Types.CreateEndpointResult, AWSError>;
/**
* S3 on Outposts access points simplify managing data access at scale for shared datasets in Amazon 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). This action creates an endpoint and associates it with the specified Outpost. Related actions include: DeleteEndpoint ListEndpoints
*/
createEndpoint(callback?: (err: AWSError, data: S3Outposts.Types.CreateEndpointResult) => void): Request<S3Outposts.Types.CreateEndpointResult, AWSError>;
/**
* S3 on Outposts access points simplify managing data access at scale for shared datasets in Amazon 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). This action deletes an endpoint. Related actions include: CreateEndpoint ListEndpoints
*/
deleteEndpoint(params: S3Outposts.Types.DeleteEndpointRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* S3 on Outposts access points simplify managing data access at scale for shared datasets in Amazon 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). This action deletes an endpoint. Related actions include: CreateEndpoint ListEndpoints
*/
deleteEndpoint(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
/**
* S3 on Outposts access points simplify managing data access at scale for shared datasets in Amazon 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). This action lists endpoints associated with the Outpost. Related actions include: CreateEndpoint DeleteEndpoint
*/
listEndpoints(params: S3Outposts.Types.ListEndpointsRequest, callback?: (err: AWSError, data: S3Outposts.Types.ListEndpointsResult) => void): Request<S3Outposts.Types.ListEndpointsResult, AWSError>;
/**
* S3 on Outposts access points simplify managing data access at scale for shared datasets in Amazon 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). This action lists endpoints associated with the Outpost. Related actions include: CreateEndpoint DeleteEndpoint
*/
listEndpoints(callback?: (err: AWSError, data: S3Outposts.Types.ListEndpointsResult) => void): Request<S3Outposts.Types.ListEndpointsResult, AWSError>;
}
declare namespace S3Outposts {
export type CidrBlock = string;
export interface CreateEndpointRequest {
/**
* The ID of the AWS Outpost.
*/
OutpostId: OutpostId;
/**
* The ID of the subnet in the selected VPC.
*/
SubnetId: SubnetId;
/**
* The ID of the security group to use with the endpoint.
*/
SecurityGroupId: SecurityGroupId;
}
export interface CreateEndpointResult {
/**
* The Amazon Resource Name (ARN) of the endpoint.
*/
EndpointArn?: EndpointArn;
}
export type CreationTime = Date;
export interface DeleteEndpointRequest {
/**
* The ID of the end point.
*/
EndpointId: EndpointId;
/**
* The ID of the AWS Outpost.
*/
OutpostId: OutpostId;
}
export interface Endpoint {
/**
* The Amazon Resource Name (ARN) of the endpoint.
*/
EndpointArn?: EndpointArn;
/**
* The ID of the AWS Outpost.
*/
OutpostsId?: OutpostId;
/**
* The VPC CIDR committed by this endpoint.
*/
CidrBlock?: CidrBlock;
/**
* The status of the endpoint.
*/
Status?: EndpointStatus;
/**
* The time the endpoint was created.
*/
CreationTime?: CreationTime;
/**
* The network interface of the endpoint.
*/
NetworkInterfaces?: NetworkInterfaces;
}
export type EndpointArn = string;
export type EndpointId = string;
export type EndpointStatus = "PENDING"|"AVAILABLE"|string;
export type Endpoints = Endpoint[];
export interface ListEndpointsRequest {
/**
* The next endpoint requested in the list.
*/
NextToken?: NextToken;
/**
* The max number of endpoints that can be returned on the request.
*/
MaxResults?: MaxResults;
}
export interface ListEndpointsResult {
/**
* Returns an array of endpoints associated with AWS Outpost.
*/
Endpoints?: Endpoints;
/**
* The next endpoint returned in the list.
*/
NextToken?: NextToken;
}
export type MaxResults = number;
export interface NetworkInterface {
/**
* The ID for the network interface.
*/
NetworkInterfaceId?: NetworkInterfaceId;
}
export type NetworkInterfaceId = string;
export type NetworkInterfaces = NetworkInterface[];
export type NextToken = string;
export type OutpostId = string;
export type SecurityGroupId = string;
export type SubnetId = string;
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
export type apiVersion = "2017-07-25"|"latest"|string;
export interface ClientApiVersions {
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
apiVersion?: apiVersion;
}
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
/**
* Contains interfaces for use with the S3Outposts client.
*/
export import Types = S3Outposts;
}
export = S3Outposts;