outposts.d.ts
5.81 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
152
153
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';
interface Blob {}
declare class Outposts extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: Outposts.Types.ClientConfiguration)
config: Config & Outposts.Types.ClientConfiguration;
/**
* Creates an Outpost.
*/
createOutpost(params: Outposts.Types.CreateOutpostInput, callback?: (err: AWSError, data: Outposts.Types.CreateOutpostOutput) => void): Request<Outposts.Types.CreateOutpostOutput, AWSError>;
/**
* Creates an Outpost.
*/
createOutpost(callback?: (err: AWSError, data: Outposts.Types.CreateOutpostOutput) => void): Request<Outposts.Types.CreateOutpostOutput, AWSError>;
/**
* Gets information about the specified Outpost.
*/
getOutpost(params: Outposts.Types.GetOutpostInput, callback?: (err: AWSError, data: Outposts.Types.GetOutpostOutput) => void): Request<Outposts.Types.GetOutpostOutput, AWSError>;
/**
* Gets information about the specified Outpost.
*/
getOutpost(callback?: (err: AWSError, data: Outposts.Types.GetOutpostOutput) => void): Request<Outposts.Types.GetOutpostOutput, AWSError>;
/**
* Lists the instance types for the specified Outpost.
*/
getOutpostInstanceTypes(params: Outposts.Types.GetOutpostInstanceTypesInput, callback?: (err: AWSError, data: Outposts.Types.GetOutpostInstanceTypesOutput) => void): Request<Outposts.Types.GetOutpostInstanceTypesOutput, AWSError>;
/**
* Lists the instance types for the specified Outpost.
*/
getOutpostInstanceTypes(callback?: (err: AWSError, data: Outposts.Types.GetOutpostInstanceTypesOutput) => void): Request<Outposts.Types.GetOutpostInstanceTypesOutput, AWSError>;
/**
* List the Outposts for your AWS account.
*/
listOutposts(params: Outposts.Types.ListOutpostsInput, callback?: (err: AWSError, data: Outposts.Types.ListOutpostsOutput) => void): Request<Outposts.Types.ListOutpostsOutput, AWSError>;
/**
* List the Outposts for your AWS account.
*/
listOutposts(callback?: (err: AWSError, data: Outposts.Types.ListOutpostsOutput) => void): Request<Outposts.Types.ListOutpostsOutput, AWSError>;
/**
* Lists the sites for the specified AWS account.
*/
listSites(params: Outposts.Types.ListSitesInput, callback?: (err: AWSError, data: Outposts.Types.ListSitesOutput) => void): Request<Outposts.Types.ListSitesOutput, AWSError>;
/**
* Lists the sites for the specified AWS account.
*/
listSites(callback?: (err: AWSError, data: Outposts.Types.ListSitesOutput) => void): Request<Outposts.Types.ListSitesOutput, AWSError>;
}
declare namespace Outposts {
export type AccountId = string;
export type AvailabilityZone = string;
export type AvailabilityZoneId = string;
export interface CreateOutpostInput {
Name?: OutpostName;
Description?: OutpostDescription;
SiteId: SiteId;
AvailabilityZone?: AvailabilityZone;
AvailabilityZoneId?: AvailabilityZoneId;
}
export interface CreateOutpostOutput {
Outpost?: Outpost;
}
export interface GetOutpostInput {
OutpostId: OutpostId;
}
export interface GetOutpostInstanceTypesInput {
OutpostId: OutpostId;
NextToken?: Token;
MaxResults?: MaxResults1000;
}
export interface GetOutpostInstanceTypesOutput {
InstanceTypes?: InstanceTypeListDefinition;
NextToken?: Token;
OutpostId?: OutpostId;
OutpostArn?: OutpostArn;
}
export interface GetOutpostOutput {
Outpost?: Outpost;
}
export type InstanceType = string;
export interface InstanceTypeItem {
InstanceType?: InstanceType;
}
export type InstanceTypeListDefinition = InstanceTypeItem[];
export type LifeCycleStatus = string;
export interface ListOutpostsInput {
NextToken?: Token;
MaxResults?: MaxResults1000;
}
export interface ListOutpostsOutput {
Outposts?: outpostListDefinition;
NextToken?: Token;
}
export interface ListSitesInput {
NextToken?: Token;
MaxResults?: MaxResults1000;
}
export interface ListSitesOutput {
Sites?: siteListDefinition;
NextToken?: Token;
}
export type MaxResults1000 = number;
export interface Outpost {
OutpostId?: OutpostId;
OwnerId?: OwnerId;
OutpostArn?: OutpostArn;
SiteId?: SiteId;
Name?: OutpostName;
Description?: OutpostDescription;
LifeCycleStatus?: LifeCycleStatus;
AvailabilityZone?: AvailabilityZone;
AvailabilityZoneId?: AvailabilityZoneId;
}
export type OutpostArn = string;
export type OutpostDescription = string;
export type OutpostId = string;
export type OutpostName = string;
export type OwnerId = string;
export interface Site {
SiteId?: SiteId;
AccountId?: AccountId;
Name?: SiteName;
Description?: SiteDescription;
}
export type SiteDescription = string;
export type SiteId = string;
export type SiteName = string;
export type Token = string;
export type outpostListDefinition = Outpost[];
export type siteListDefinition = Site[];
/**
* 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 = "2019-12-03"|"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 Outposts client.
*/
export import Types = Outposts;
}
export = Outposts;