@aws-sdk/client-outposts 3.44.0 → 3.47.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Outposts.js +15 -0
  3. package/dist-cjs/commands/UpdateOutpostCommand.js +36 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoints.js +1 -20
  6. package/dist-cjs/models/models_0.js +14 -38
  7. package/dist-cjs/protocols/Aws_restJson1.js +115 -1
  8. package/dist-cjs/runtimeConfig.browser.js +7 -2
  9. package/dist-cjs/runtimeConfig.js +9 -3
  10. package/dist-es/Outposts.js +15 -0
  11. package/dist-es/commands/UpdateOutpostCommand.js +39 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/endpoints.js +1 -20
  14. package/dist-es/models/models_0.js +8 -24
  15. package/dist-es/protocols/Aws_restJson1.js +129 -0
  16. package/dist-es/runtimeConfig.browser.js +12 -3
  17. package/dist-es/runtimeConfig.js +13 -6
  18. package/dist-types/Outposts.d.ts +9 -0
  19. package/dist-types/OutpostsClient.d.ts +8 -3
  20. package/dist-types/commands/UpdateOutpostCommand.d.ts +37 -0
  21. package/dist-types/commands/index.d.ts +1 -0
  22. package/dist-types/models/models_0.d.ts +79 -51
  23. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  24. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  25. package/dist-types/runtimeConfig.d.ts +4 -3
  26. package/dist-types/runtimeConfig.native.d.ts +1 -0
  27. package/dist-types/ts3.4/Outposts.d.ts +5 -0
  28. package/dist-types/ts3.4/OutpostsClient.d.ts +6 -3
  29. package/dist-types/ts3.4/commands/UpdateOutpostCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +22 -24
  32. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  36. package/package.json +39 -46
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
7
7
  $fault: "client";
8
8
  Message?: string;
9
9
  }
10
- export declare namespace AccessDeniedException {
11
- /**
12
- * @internal
13
- */
14
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
15
- }
16
10
  /**
17
11
  * <p>
18
12
  * Information about an address.
@@ -116,12 +110,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
116
110
  */
117
111
  ResourceType?: ResourceType | string;
118
112
  }
119
- export declare namespace ConflictException {
120
- /**
121
- * @internal
122
- */
123
- const filterSensitiveLog: (obj: ConflictException) => any;
124
- }
125
113
  /**
126
114
  * <p>An internal error has occurred.</p>
127
115
  */
@@ -130,12 +118,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
130
118
  $fault: "server";
131
119
  Message?: string;
132
120
  }
133
- export declare namespace InternalServerException {
134
- /**
135
- * @internal
136
- */
137
- const filterSensitiveLog: (obj: InternalServerException) => any;
138
- }
139
121
  /**
140
122
  * <p>The specified request is not valid.</p>
141
123
  */
@@ -144,12 +126,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
144
126
  $fault: "client";
145
127
  Message?: string;
146
128
  }
147
- export declare namespace NotFoundException {
148
- /**
149
- * @internal
150
- */
151
- const filterSensitiveLog: (obj: NotFoundException) => any;
152
- }
153
129
  /**
154
130
  * <p>A parameter is not valid.</p>
155
131
  */
@@ -158,12 +134,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
158
134
  $fault: "client";
159
135
  Message?: string;
160
136
  }
161
- export declare namespace ValidationException {
162
- /**
163
- * @internal
164
- */
165
- const filterSensitiveLog: (obj: ValidationException) => any;
166
- }
167
137
  /**
168
138
  * <p> Information about EC2 capacity. </p>
169
139
  */
@@ -366,7 +336,9 @@ export declare enum OrderStatus {
366
336
  */
367
337
  export interface Order {
368
338
  /**
369
- * <p> The ID of the Outpost in the order. </p>
339
+ * <p>
340
+ * The ID of the Outpost in the order.
341
+ * </p>
370
342
  */
371
343
  OutpostId?: string;
372
344
  /**
@@ -448,12 +420,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
448
420
  $fault: "client";
449
421
  Message?: string;
450
422
  }
451
- export declare namespace ServiceQuotaExceededException {
452
- /**
453
- * @internal
454
- */
455
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
456
- }
457
423
  export declare enum SupportedHardwareType {
458
424
  RACK = "RACK",
459
425
  SERVER = "SERVER"
@@ -468,7 +434,9 @@ export interface CreateOutpostInput {
468
434
  */
469
435
  Description?: string;
470
436
  /**
471
- * <p>The ID of the site.</p>
437
+ * <p>
438
+ * The ID or the Amazon Resource Name (ARN) of the site.
439
+ * </p>
472
440
  */
473
441
  SiteId: string | undefined;
474
442
  /**
@@ -503,7 +471,9 @@ export declare namespace CreateOutpostInput {
503
471
  */
504
472
  export interface Outpost {
505
473
  /**
506
- * <p> The ID of the Outpost. </p>
474
+ * <p>
475
+ * The ID of the Outpost.
476
+ * </p>
507
477
  */
508
478
  OutpostId?: string;
509
479
  /**
@@ -515,7 +485,9 @@ export interface Outpost {
515
485
  */
516
486
  OutpostArn?: string;
517
487
  /**
518
- * <p>The ID of the site.</p>
488
+ * <p>
489
+ * The ID of the site.
490
+ * </p>
519
491
  */
520
492
  SiteId?: string;
521
493
  /**
@@ -749,7 +721,9 @@ export declare namespace CreateSiteInput {
749
721
  */
750
722
  export interface Site {
751
723
  /**
752
- * <p>The ID of the site.</p>
724
+ * <p>
725
+ * The ID of the site.
726
+ * </p>
753
727
  */
754
728
  SiteId?: string;
755
729
  /**
@@ -824,7 +798,7 @@ export declare namespace CreateSiteOutput {
824
798
  export interface DeleteOutpostInput {
825
799
  /**
826
800
  * <p>
827
- * The ID of the Outpost.
801
+ * The ID or the Amazon Resource Name (ARN) of the Outpost.
828
802
  * </p>
829
803
  */
830
804
  OutpostId: string | undefined;
@@ -845,7 +819,9 @@ export declare namespace DeleteOutpostOutput {
845
819
  }
846
820
  export interface DeleteSiteInput {
847
821
  /**
848
- * <p>The ID of the site.</p>
822
+ * <p>
823
+ * The ID or the Amazon Resource Name (ARN) of the site.
824
+ * </p>
849
825
  */
850
826
  SiteId: string | undefined;
851
827
  }
@@ -914,7 +890,7 @@ export declare namespace GetOrderOutput {
914
890
  export interface GetOutpostInput {
915
891
  /**
916
892
  * <p>
917
- * The ID of the Outpost.
893
+ * The ID or the Amazon Resource Name (ARN) of the Outpost.
918
894
  * </p>
919
895
  */
920
896
  OutpostId: string | undefined;
@@ -940,7 +916,7 @@ export declare namespace GetOutpostOutput {
940
916
  export interface GetOutpostInstanceTypesInput {
941
917
  /**
942
918
  * <p>
943
- * The ID of the Outpost.
919
+ * The ID or the Amazon Resource Name (ARN) of the Outpost.
944
920
  * </p>
945
921
  */
946
922
  OutpostId: string | undefined;
@@ -1002,7 +978,9 @@ export declare namespace GetOutpostInstanceTypesOutput {
1002
978
  }
1003
979
  export interface GetSiteInput {
1004
980
  /**
1005
- * <p>The ID of the site.</p>
981
+ * <p>
982
+ * The ID or the Amazon Resource Name (ARN) of the site.
983
+ * </p>
1006
984
  */
1007
985
  SiteId: string | undefined;
1008
986
  }
@@ -1026,7 +1004,9 @@ export declare namespace GetSiteOutput {
1026
1004
  }
1027
1005
  export interface GetSiteAddressInput {
1028
1006
  /**
1029
- * <p>The ID of the site.</p>
1007
+ * <p>
1008
+ * The ID or the Amazon Resource Name (ARN) of the site.
1009
+ * </p>
1030
1010
  */
1031
1011
  SiteId: string | undefined;
1032
1012
  /**
@@ -1042,7 +1022,9 @@ export declare namespace GetSiteAddressInput {
1042
1022
  }
1043
1023
  export interface GetSiteAddressOutput {
1044
1024
  /**
1045
- * <p>The ID of the site.</p>
1025
+ * <p>
1026
+ * The ID of the site.
1027
+ * </p>
1046
1028
  */
1047
1029
  SiteId?: string;
1048
1030
  /**
@@ -1415,9 +1397,51 @@ export declare namespace UntagResourceResponse {
1415
1397
  */
1416
1398
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
1417
1399
  }
1400
+ export interface UpdateOutpostInput {
1401
+ /**
1402
+ * <p>
1403
+ * The ID or the Amazon Resource Name (ARN) of the Outpost.
1404
+ * </p>
1405
+ */
1406
+ OutpostId: string | undefined;
1407
+ /**
1408
+ * <p>The name of the Outpost.</p>
1409
+ */
1410
+ Name?: string;
1411
+ /**
1412
+ * <p>The description of the Outpost.</p>
1413
+ */
1414
+ Description?: string;
1415
+ /**
1416
+ * <p>
1417
+ * The type of hardware for this Outpost.
1418
+ * </p>
1419
+ */
1420
+ SupportedHardwareType?: SupportedHardwareType | string;
1421
+ }
1422
+ export declare namespace UpdateOutpostInput {
1423
+ /**
1424
+ * @internal
1425
+ */
1426
+ const filterSensitiveLog: (obj: UpdateOutpostInput) => any;
1427
+ }
1428
+ export interface UpdateOutpostOutput {
1429
+ /**
1430
+ * <p>Information about an Outpost.</p>
1431
+ */
1432
+ Outpost?: Outpost;
1433
+ }
1434
+ export declare namespace UpdateOutpostOutput {
1435
+ /**
1436
+ * @internal
1437
+ */
1438
+ const filterSensitiveLog: (obj: UpdateOutpostOutput) => any;
1439
+ }
1418
1440
  export interface UpdateSiteInput {
1419
1441
  /**
1420
- * <p>The ID of the site.</p>
1442
+ * <p>
1443
+ * The ID or the Amazon Resource Name (ARN) of the site.
1444
+ * </p>
1421
1445
  */
1422
1446
  SiteId: string | undefined;
1423
1447
  /**
@@ -1455,7 +1479,9 @@ export declare namespace UpdateSiteOutput {
1455
1479
  }
1456
1480
  export interface UpdateSiteAddressInput {
1457
1481
  /**
1458
- * <p>The ID of the site.</p>
1482
+ * <p>
1483
+ * The ID or the Amazon Resource Name (ARN) of the site.
1484
+ * </p>
1459
1485
  */
1460
1486
  SiteId: string | undefined;
1461
1487
  /**
@@ -1499,7 +1525,9 @@ export declare namespace UpdateSiteAddressOutput {
1499
1525
  }
1500
1526
  export interface UpdateSiteRackPhysicalPropertiesInput {
1501
1527
  /**
1502
- * <p>The ID of the site.</p>
1528
+ * <p>
1529
+ * The ID or the Amazon Resource Name (ARN) of the site.
1530
+ * </p>
1503
1531
  */
1504
1532
  SiteId: string | undefined;
1505
1533
  /**
@@ -19,6 +19,7 @@ import { ListSitesCommandInput, ListSitesCommandOutput } from "../commands/ListS
19
19
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
20
20
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
21
21
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
22
+ import { UpdateOutpostCommandInput, UpdateOutpostCommandOutput } from "../commands/UpdateOutpostCommand";
22
23
  import { UpdateSiteAddressCommandInput, UpdateSiteAddressCommandOutput } from "../commands/UpdateSiteAddressCommand";
23
24
  import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "../commands/UpdateSiteCommand";
24
25
  import { UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput } from "../commands/UpdateSiteRackPhysicalPropertiesCommand";
@@ -41,6 +42,7 @@ export declare const serializeAws_restJson1ListSitesCommand: (input: ListSitesCo
41
42
  export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
43
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
44
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ export declare const serializeAws_restJson1UpdateOutpostCommand: (input: UpdateOutpostCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
46
  export declare const serializeAws_restJson1UpdateSiteCommand: (input: UpdateSiteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
47
  export declare const serializeAws_restJson1UpdateSiteAddressCommand: (input: UpdateSiteAddressCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
48
  export declare const serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand: (input: UpdateSiteRackPhysicalPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -63,6 +65,7 @@ export declare const deserializeAws_restJson1ListSitesCommand: (output: __HttpRe
63
65
  export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
64
66
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
65
67
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
68
+ export declare const deserializeAws_restJson1UpdateOutpostCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateOutpostCommandOutput>;
66
69
  export declare const deserializeAws_restJson1UpdateSiteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSiteCommandOutput>;
67
70
  export declare const deserializeAws_restJson1UpdateSiteAddressCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSiteAddressCommandOutput>;
68
71
  export declare const deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSiteRackPhysicalPropertiesCommandOutput>;
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { OutpostsClientConfig } from "./OutpostsClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: OutpostsClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: OutpostsClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { OutpostsClientConfig } from "./OutpostsClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: OutpostsClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: OutpostsClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -18,6 +18,7 @@ import { ListSitesCommandInput, ListSitesCommandOutput } from "./commands/ListSi
18
18
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
19
19
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
20
20
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
21
+ import { UpdateOutpostCommandInput, UpdateOutpostCommandOutput } from "./commands/UpdateOutpostCommand";
21
22
  import { UpdateSiteAddressCommandInput, UpdateSiteAddressCommandOutput } from "./commands/UpdateSiteAddressCommand";
22
23
  import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand";
23
24
  import { UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
@@ -101,6 +102,10 @@ export declare class Outposts extends OutpostsClient {
101
102
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
102
103
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
103
104
 
105
+ updateOutpost(args: UpdateOutpostCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOutpostCommandOutput>;
106
+ updateOutpost(args: UpdateOutpostCommandInput, cb: (err: any, data?: UpdateOutpostCommandOutput) => void): void;
107
+ updateOutpost(args: UpdateOutpostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOutpostCommandOutput) => void): void;
108
+
104
109
  updateSite(args: UpdateSiteCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSiteCommandOutput>;
105
110
  updateSite(args: UpdateSiteCommandInput, cb: (err: any, data?: UpdateSiteCommandOutput) => void): void;
106
111
  updateSite(args: UpdateSiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSiteCommandOutput) => void): void;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CancelOrderCommandInput, CancelOrderCommandOutput } from "./commands/CancelOrderCommand";
10
10
  import { CreateOrderCommandInput, CreateOrderCommandOutput } from "./commands/CreateOrderCommand";
@@ -25,11 +25,12 @@ import { ListSitesCommandInput, ListSitesCommandOutput } from "./commands/ListSi
25
25
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
26
26
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
27
27
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
28
+ import { UpdateOutpostCommandInput, UpdateOutpostCommandOutput } from "./commands/UpdateOutpostCommand";
28
29
  import { UpdateSiteAddressCommandInput, UpdateSiteAddressCommandOutput } from "./commands/UpdateSiteAddressCommand";
29
30
  import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand";
30
31
  import { UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
31
- export declare type ServiceInputTypes = CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCatalogItemCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
32
- export declare type ServiceOutputTypes = CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCatalogItemCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
32
+ export declare type ServiceInputTypes = CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCatalogItemCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateOutpostCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
33
+ export declare type ServiceOutputTypes = CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCatalogItemCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateOutpostCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
33
34
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
34
35
 
35
36
  requestHandler?: __HttpHandler;
@@ -73,6 +74,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
73
74
  regionInfoProvider?: RegionInfoProvider;
74
75
 
75
76
  defaultUserAgentProvider?: Provider<__UserAgent>;
77
+
78
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
76
79
  }
77
80
  declare type OutpostsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
78
81
 
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateOutpostInput, UpdateOutpostOutput } from "../models/models_0";
4
+ import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
5
+ export interface UpdateOutpostCommandInput extends UpdateOutpostInput {
6
+ }
7
+ export interface UpdateOutpostCommandOutput extends UpdateOutpostOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateOutpostCommand extends $Command<UpdateOutpostCommandInput, UpdateOutpostCommandOutput, OutpostsClientResolvedConfig> {
11
+ readonly input: UpdateOutpostCommandInput;
12
+ constructor(input: UpdateOutpostCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateOutpostCommandInput, UpdateOutpostCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -17,6 +17,7 @@ export * from "./ListSitesCommand";
17
17
  export * from "./ListTagsForResourceCommand";
18
18
  export * from "./TagResourceCommand";
19
19
  export * from "./UntagResourceCommand";
20
+ export * from "./UpdateOutpostCommand";
20
21
  export * from "./UpdateSiteAddressCommand";
21
22
  export * from "./UpdateSiteCommand";
22
23
  export * from "./UpdateSiteRackPhysicalPropertiesCommand";
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
5
5
  $fault: "client";
6
6
  Message?: string;
7
7
  }
8
- export declare namespace AccessDeniedException {
9
-
10
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
11
- }
12
8
 
13
9
  export interface Address {
14
10
 
@@ -70,40 +66,24 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
70
66
 
71
67
  ResourceType?: ResourceType | string;
72
68
  }
73
- export declare namespace ConflictException {
74
-
75
- const filterSensitiveLog: (obj: ConflictException) => any;
76
- }
77
69
 
78
70
  export interface InternalServerException extends __SmithyException, $MetadataBearer {
79
71
  name: "InternalServerException";
80
72
  $fault: "server";
81
73
  Message?: string;
82
74
  }
83
- export declare namespace InternalServerException {
84
-
85
- const filterSensitiveLog: (obj: InternalServerException) => any;
86
- }
87
75
 
88
76
  export interface NotFoundException extends __SmithyException, $MetadataBearer {
89
77
  name: "NotFoundException";
90
78
  $fault: "client";
91
79
  Message?: string;
92
80
  }
93
- export declare namespace NotFoundException {
94
-
95
- const filterSensitiveLog: (obj: NotFoundException) => any;
96
- }
97
81
 
98
82
  export interface ValidationException extends __SmithyException, $MetadataBearer {
99
83
  name: "ValidationException";
100
84
  $fault: "client";
101
85
  Message?: string;
102
86
  }
103
- export declare namespace ValidationException {
104
-
105
- const filterSensitiveLog: (obj: ValidationException) => any;
106
- }
107
87
 
108
88
  export interface EC2Capacity {
109
89
 
@@ -255,10 +235,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
255
235
  $fault: "client";
256
236
  Message?: string;
257
237
  }
258
- export declare namespace ServiceQuotaExceededException {
259
-
260
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
261
- }
262
238
  export declare enum SupportedHardwareType {
263
239
  RACK = "RACK",
264
240
  SERVER = "SERVER"
@@ -797,6 +773,28 @@ export declare namespace UntagResourceResponse {
797
773
 
798
774
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
799
775
  }
776
+ export interface UpdateOutpostInput {
777
+
778
+ OutpostId: string | undefined;
779
+
780
+ Name?: string;
781
+
782
+ Description?: string;
783
+
784
+ SupportedHardwareType?: SupportedHardwareType | string;
785
+ }
786
+ export declare namespace UpdateOutpostInput {
787
+
788
+ const filterSensitiveLog: (obj: UpdateOutpostInput) => any;
789
+ }
790
+ export interface UpdateOutpostOutput {
791
+
792
+ Outpost?: Outpost;
793
+ }
794
+ export declare namespace UpdateOutpostOutput {
795
+
796
+ const filterSensitiveLog: (obj: UpdateOutpostOutput) => any;
797
+ }
800
798
  export interface UpdateSiteInput {
801
799
 
802
800
  SiteId: string | undefined;
@@ -19,6 +19,7 @@ import { ListSitesCommandInput, ListSitesCommandOutput } from "../commands/ListS
19
19
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
20
20
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
21
21
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
22
+ import { UpdateOutpostCommandInput, UpdateOutpostCommandOutput } from "../commands/UpdateOutpostCommand";
22
23
  import { UpdateSiteAddressCommandInput, UpdateSiteAddressCommandOutput } from "../commands/UpdateSiteAddressCommand";
23
24
  import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "../commands/UpdateSiteCommand";
24
25
  import { UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput } from "../commands/UpdateSiteRackPhysicalPropertiesCommand";
@@ -41,6 +42,7 @@ export declare const serializeAws_restJson1ListSitesCommand: (input: ListSitesCo
41
42
  export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
43
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
44
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ export declare const serializeAws_restJson1UpdateOutpostCommand: (input: UpdateOutpostCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
46
  export declare const serializeAws_restJson1UpdateSiteCommand: (input: UpdateSiteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
47
  export declare const serializeAws_restJson1UpdateSiteAddressCommand: (input: UpdateSiteAddressCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
48
  export declare const serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand: (input: UpdateSiteRackPhysicalPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -63,6 +65,7 @@ export declare const deserializeAws_restJson1ListSitesCommand: (output: __HttpRe
63
65
  export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
64
66
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
65
67
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
68
+ export declare const deserializeAws_restJson1UpdateOutpostCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateOutpostCommandOutput>;
66
69
  export declare const deserializeAws_restJson1UpdateSiteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSiteCommandOutput>;
67
70
  export declare const deserializeAws_restJson1UpdateSiteAddressCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSiteAddressCommandOutput>;
68
71
  export declare const deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSiteRackPhysicalPropertiesCommandOutput>;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { OutpostsClientConfig } from "./OutpostsClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: OutpostsClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: OutpostsClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { OutpostsClientConfig } from "./OutpostsClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: OutpostsClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: OutpostsClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;