1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class Outposts extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: Outposts.Types.ClientConfiguration)
|
13 | config: Config & Outposts.Types.ClientConfiguration;
|
14 | /**
|
15 | * Creates an Outpost.
|
16 | */
|
17 | createOutpost(params: Outposts.Types.CreateOutpostInput, callback?: (err: AWSError, data: Outposts.Types.CreateOutpostOutput) => void): Request<Outposts.Types.CreateOutpostOutput, AWSError>;
|
18 | /**
|
19 | * Creates an Outpost.
|
20 | */
|
21 | createOutpost(callback?: (err: AWSError, data: Outposts.Types.CreateOutpostOutput) => void): Request<Outposts.Types.CreateOutpostOutput, AWSError>;
|
22 | /**
|
23 | * Deletes the Outpost.
|
24 | */
|
25 | deleteOutpost(params: Outposts.Types.DeleteOutpostInput, callback?: (err: AWSError, data: Outposts.Types.DeleteOutpostOutput) => void): Request<Outposts.Types.DeleteOutpostOutput, AWSError>;
|
26 | /**
|
27 | * Deletes the Outpost.
|
28 | */
|
29 | deleteOutpost(callback?: (err: AWSError, data: Outposts.Types.DeleteOutpostOutput) => void): Request<Outposts.Types.DeleteOutpostOutput, AWSError>;
|
30 | /**
|
31 | * Deletes the site.
|
32 | */
|
33 | deleteSite(params: Outposts.Types.DeleteSiteInput, callback?: (err: AWSError, data: Outposts.Types.DeleteSiteOutput) => void): Request<Outposts.Types.DeleteSiteOutput, AWSError>;
|
34 | /**
|
35 | * Deletes the site.
|
36 | */
|
37 | deleteSite(callback?: (err: AWSError, data: Outposts.Types.DeleteSiteOutput) => void): Request<Outposts.Types.DeleteSiteOutput, AWSError>;
|
38 | /**
|
39 | * Gets information about the specified Outpost.
|
40 | */
|
41 | getOutpost(params: Outposts.Types.GetOutpostInput, callback?: (err: AWSError, data: Outposts.Types.GetOutpostOutput) => void): Request<Outposts.Types.GetOutpostOutput, AWSError>;
|
42 | /**
|
43 | * Gets information about the specified Outpost.
|
44 | */
|
45 | getOutpost(callback?: (err: AWSError, data: Outposts.Types.GetOutpostOutput) => void): Request<Outposts.Types.GetOutpostOutput, AWSError>;
|
46 | /**
|
47 | * Lists the instance types for the specified Outpost.
|
48 | */
|
49 | getOutpostInstanceTypes(params: Outposts.Types.GetOutpostInstanceTypesInput, callback?: (err: AWSError, data: Outposts.Types.GetOutpostInstanceTypesOutput) => void): Request<Outposts.Types.GetOutpostInstanceTypesOutput, AWSError>;
|
50 | /**
|
51 | * Lists the instance types for the specified Outpost.
|
52 | */
|
53 | getOutpostInstanceTypes(callback?: (err: AWSError, data: Outposts.Types.GetOutpostInstanceTypesOutput) => void): Request<Outposts.Types.GetOutpostInstanceTypesOutput, AWSError>;
|
54 | /**
|
55 | * List the Outposts for your AWS account.
|
56 | */
|
57 | listOutposts(params: Outposts.Types.ListOutpostsInput, callback?: (err: AWSError, data: Outposts.Types.ListOutpostsOutput) => void): Request<Outposts.Types.ListOutpostsOutput, AWSError>;
|
58 | /**
|
59 | * List the Outposts for your AWS account.
|
60 | */
|
61 | listOutposts(callback?: (err: AWSError, data: Outposts.Types.ListOutpostsOutput) => void): Request<Outposts.Types.ListOutpostsOutput, AWSError>;
|
62 | /**
|
63 | * Lists the sites for the specified AWS account.
|
64 | */
|
65 | listSites(params: Outposts.Types.ListSitesInput, callback?: (err: AWSError, data: Outposts.Types.ListSitesOutput) => void): Request<Outposts.Types.ListSitesOutput, AWSError>;
|
66 | /**
|
67 | * Lists the sites for the specified AWS account.
|
68 | */
|
69 | listSites(callback?: (err: AWSError, data: Outposts.Types.ListSitesOutput) => void): Request<Outposts.Types.ListSitesOutput, AWSError>;
|
70 | }
|
71 | declare namespace Outposts {
|
72 | export type AccountId = string;
|
73 | export type AvailabilityZone = string;
|
74 | export type AvailabilityZoneId = string;
|
75 | export interface CreateOutpostInput {
|
76 | Name?: OutpostName;
|
77 | Description?: OutpostDescription;
|
78 | SiteId: SiteId;
|
79 | AvailabilityZone?: AvailabilityZone;
|
80 | AvailabilityZoneId?: AvailabilityZoneId;
|
81 | }
|
82 | export interface CreateOutpostOutput {
|
83 | Outpost?: Outpost;
|
84 | }
|
85 | export interface DeleteOutpostInput {
|
86 | OutpostId: OutpostId;
|
87 | }
|
88 | export interface DeleteOutpostOutput {
|
89 | }
|
90 | export interface DeleteSiteInput {
|
91 | SiteId: SiteId;
|
92 | }
|
93 | export interface DeleteSiteOutput {
|
94 | }
|
95 | export interface GetOutpostInput {
|
96 | OutpostId: OutpostId;
|
97 | }
|
98 | export interface GetOutpostInstanceTypesInput {
|
99 | OutpostId: OutpostId;
|
100 | NextToken?: Token;
|
101 | MaxResults?: MaxResults1000;
|
102 | }
|
103 | export interface GetOutpostInstanceTypesOutput {
|
104 | InstanceTypes?: InstanceTypeListDefinition;
|
105 | NextToken?: Token;
|
106 | OutpostId?: OutpostId;
|
107 | OutpostArn?: OutpostArn;
|
108 | }
|
109 | export interface GetOutpostOutput {
|
110 | Outpost?: Outpost;
|
111 | }
|
112 | export type InstanceType = string;
|
113 | export interface InstanceTypeItem {
|
114 | InstanceType?: InstanceType;
|
115 | }
|
116 | export type InstanceTypeListDefinition = InstanceTypeItem[];
|
117 | export type LifeCycleStatus = string;
|
118 | export interface ListOutpostsInput {
|
119 | NextToken?: Token;
|
120 | MaxResults?: MaxResults1000;
|
121 | }
|
122 | export interface ListOutpostsOutput {
|
123 | Outposts?: outpostListDefinition;
|
124 | NextToken?: Token;
|
125 | }
|
126 | export interface ListSitesInput {
|
127 | NextToken?: Token;
|
128 | MaxResults?: MaxResults1000;
|
129 | }
|
130 | export interface ListSitesOutput {
|
131 | Sites?: siteListDefinition;
|
132 | NextToken?: Token;
|
133 | }
|
134 | export type MaxResults1000 = number;
|
135 | export interface Outpost {
|
136 | OutpostId?: OutpostId;
|
137 | OwnerId?: OwnerId;
|
138 | OutpostArn?: OutpostArn;
|
139 | SiteId?: SiteId;
|
140 | Name?: OutpostName;
|
141 | Description?: OutpostDescription;
|
142 | LifeCycleStatus?: LifeCycleStatus;
|
143 | AvailabilityZone?: AvailabilityZone;
|
144 | AvailabilityZoneId?: AvailabilityZoneId;
|
145 | }
|
146 | export type OutpostArn = string;
|
147 | export type OutpostDescription = string;
|
148 | export type OutpostId = string;
|
149 | export type OutpostName = string;
|
150 | export type OwnerId = string;
|
151 | export interface Site {
|
152 | SiteId?: SiteId;
|
153 | AccountId?: AccountId;
|
154 | Name?: SiteName;
|
155 | Description?: SiteDescription;
|
156 | }
|
157 | export type SiteDescription = string;
|
158 | export type SiteId = string;
|
159 | export type SiteName = string;
|
160 | export type Token = string;
|
161 | export type outpostListDefinition = Outpost[];
|
162 | export type siteListDefinition = Site[];
|
163 | |
164 |
|
165 |
|
166 | export type apiVersion = "2019-12-03"|"latest"|string;
|
167 | export interface ClientApiVersions {
|
168 | |
169 |
|
170 |
|
171 | apiVersion?: apiVersion;
|
172 | }
|
173 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
174 | |
175 |
|
176 |
|
177 | export import Types = Outposts;
|
178 | }
|
179 | export = Outposts;
|