@aws-sdk/client-outposts 3.43.0 → 3.47.0

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 +50 -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 +19 -38
  7. package/dist-cjs/protocols/Aws_restJson1.js +118 -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 +13 -24
  15. package/dist-es/protocols/Aws_restJson1.js +133 -2
  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 +94 -50
  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 +29 -23
  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 +38 -45
@@ -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,11 +420,9 @@ 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;
423
+ export declare enum SupportedHardwareType {
424
+ RACK = "RACK",
425
+ SERVER = "SERVER"
456
426
  }
457
427
  export interface CreateOutpostInput {
458
428
  /**
@@ -464,7 +434,9 @@ export interface CreateOutpostInput {
464
434
  */
465
435
  Description?: string;
466
436
  /**
467
- * <p>The ID of the site.</p>
437
+ * <p>
438
+ * The ID or the Amazon Resource Name (ARN) of the site.
439
+ * </p>
468
440
  */
469
441
  SiteId: string | undefined;
470
442
  /**
@@ -481,6 +453,12 @@ export interface CreateOutpostInput {
481
453
  Tags?: {
482
454
  [key: string]: string;
483
455
  };
456
+ /**
457
+ * <p>
458
+ * The type of hardware for this Outpost.
459
+ * </p>
460
+ */
461
+ SupportedHardwareType?: SupportedHardwareType | string;
484
462
  }
485
463
  export declare namespace CreateOutpostInput {
486
464
  /**
@@ -493,7 +471,9 @@ export declare namespace CreateOutpostInput {
493
471
  */
494
472
  export interface Outpost {
495
473
  /**
496
- * <p> The ID of the Outpost. </p>
474
+ * <p>
475
+ * The ID of the Outpost.
476
+ * </p>
497
477
  */
498
478
  OutpostId?: string;
499
479
  /**
@@ -505,7 +485,9 @@ export interface Outpost {
505
485
  */
506
486
  OutpostArn?: string;
507
487
  /**
508
- * <p>The ID of the site.</p>
488
+ * <p>
489
+ * The ID of the site.
490
+ * </p>
509
491
  */
510
492
  SiteId?: string;
511
493
  /**
@@ -538,6 +520,12 @@ export interface Outpost {
538
520
  * <p>The Amazon Resource Name (ARN) of the site.</p>
539
521
  */
540
522
  SiteArn?: string;
523
+ /**
524
+ * <p>
525
+ * The hardware type.
526
+ * </p>
527
+ */
528
+ SupportedHardwareType?: SupportedHardwareType | string;
541
529
  }
542
530
  export declare namespace Outpost {
543
531
  /**
@@ -733,7 +721,9 @@ export declare namespace CreateSiteInput {
733
721
  */
734
722
  export interface Site {
735
723
  /**
736
- * <p>The ID of the site.</p>
724
+ * <p>
725
+ * The ID of the site.
726
+ * </p>
737
727
  */
738
728
  SiteId?: string;
739
729
  /**
@@ -808,7 +798,7 @@ export declare namespace CreateSiteOutput {
808
798
  export interface DeleteOutpostInput {
809
799
  /**
810
800
  * <p>
811
- * The ID of the Outpost.
801
+ * The ID or the Amazon Resource Name (ARN) of the Outpost.
812
802
  * </p>
813
803
  */
814
804
  OutpostId: string | undefined;
@@ -829,7 +819,9 @@ export declare namespace DeleteOutpostOutput {
829
819
  }
830
820
  export interface DeleteSiteInput {
831
821
  /**
832
- * <p>The ID of the site.</p>
822
+ * <p>
823
+ * The ID or the Amazon Resource Name (ARN) of the site.
824
+ * </p>
833
825
  */
834
826
  SiteId: string | undefined;
835
827
  }
@@ -898,7 +890,7 @@ export declare namespace GetOrderOutput {
898
890
  export interface GetOutpostInput {
899
891
  /**
900
892
  * <p>
901
- * The ID of the Outpost.
893
+ * The ID or the Amazon Resource Name (ARN) of the Outpost.
902
894
  * </p>
903
895
  */
904
896
  OutpostId: string | undefined;
@@ -924,7 +916,7 @@ export declare namespace GetOutpostOutput {
924
916
  export interface GetOutpostInstanceTypesInput {
925
917
  /**
926
918
  * <p>
927
- * The ID of the Outpost.
919
+ * The ID or the Amazon Resource Name (ARN) of the Outpost.
928
920
  * </p>
929
921
  */
930
922
  OutpostId: string | undefined;
@@ -986,7 +978,9 @@ export declare namespace GetOutpostInstanceTypesOutput {
986
978
  }
987
979
  export interface GetSiteInput {
988
980
  /**
989
- * <p>The ID of the site.</p>
981
+ * <p>
982
+ * The ID or the Amazon Resource Name (ARN) of the site.
983
+ * </p>
990
984
  */
991
985
  SiteId: string | undefined;
992
986
  }
@@ -1010,7 +1004,9 @@ export declare namespace GetSiteOutput {
1010
1004
  }
1011
1005
  export interface GetSiteAddressInput {
1012
1006
  /**
1013
- * <p>The ID of the site.</p>
1007
+ * <p>
1008
+ * The ID or the Amazon Resource Name (ARN) of the site.
1009
+ * </p>
1014
1010
  */
1015
1011
  SiteId: string | undefined;
1016
1012
  /**
@@ -1026,7 +1022,9 @@ export declare namespace GetSiteAddressInput {
1026
1022
  }
1027
1023
  export interface GetSiteAddressOutput {
1028
1024
  /**
1029
- * <p>The ID of the site.</p>
1025
+ * <p>
1026
+ * The ID of the site.
1027
+ * </p>
1030
1028
  */
1031
1029
  SiteId?: string;
1032
1030
  /**
@@ -1399,9 +1397,51 @@ export declare namespace UntagResourceResponse {
1399
1397
  */
1400
1398
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
1401
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
+ }
1402
1440
  export interface UpdateSiteInput {
1403
1441
  /**
1404
- * <p>The ID of the site.</p>
1442
+ * <p>
1443
+ * The ID or the Amazon Resource Name (ARN) of the site.
1444
+ * </p>
1405
1445
  */
1406
1446
  SiteId: string | undefined;
1407
1447
  /**
@@ -1439,7 +1479,9 @@ export declare namespace UpdateSiteOutput {
1439
1479
  }
1440
1480
  export interface UpdateSiteAddressInput {
1441
1481
  /**
1442
- * <p>The ID of the site.</p>
1482
+ * <p>
1483
+ * The ID or the Amazon Resource Name (ARN) of the site.
1484
+ * </p>
1443
1485
  */
1444
1486
  SiteId: string | undefined;
1445
1487
  /**
@@ -1483,7 +1525,9 @@ export declare namespace UpdateSiteAddressOutput {
1483
1525
  }
1484
1526
  export interface UpdateSiteRackPhysicalPropertiesInput {
1485
1527
  /**
1486
- * <p>The ID of the site.</p>
1528
+ * <p>
1529
+ * The ID or the Amazon Resource Name (ARN) of the site.
1530
+ * </p>
1487
1531
  */
1488
1532
  SiteId: string | undefined;
1489
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,9 +235,9 @@ 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;
238
+ export declare enum SupportedHardwareType {
239
+ RACK = "RACK",
240
+ SERVER = "SERVER"
261
241
  }
262
242
  export interface CreateOutpostInput {
263
243
 
@@ -274,6 +254,8 @@ export interface CreateOutpostInput {
274
254
  Tags?: {
275
255
  [key: string]: string;
276
256
  };
257
+
258
+ SupportedHardwareType?: SupportedHardwareType | string;
277
259
  }
278
260
  export declare namespace CreateOutpostInput {
279
261
 
@@ -305,6 +287,8 @@ export interface Outpost {
305
287
  };
306
288
 
307
289
  SiteArn?: string;
290
+
291
+ SupportedHardwareType?: SupportedHardwareType | string;
308
292
  }
309
293
  export declare namespace Outpost {
310
294
 
@@ -789,6 +773,28 @@ export declare namespace UntagResourceResponse {
789
773
 
790
774
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
791
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
+ }
792
798
  export interface UpdateSiteInput {
793
799
 
794
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;