@aws-sdk/client-s3outposts 3.281.0 → 3.287.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 (44) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/S3Outposts.js +15 -0
  3. package/dist-cjs/commands/ListOutpostsWithS3Command.js +46 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoint/ruleset.js +3 -3
  6. package/dist-cjs/models/models_0.js +27 -1
  7. package/dist-cjs/pagination/ListEndpointsPaginator.js +1 -8
  8. package/dist-cjs/pagination/ListOutpostsWithS3Paginator.js +29 -0
  9. package/dist-cjs/pagination/ListSharedEndpointsPaginator.js +1 -8
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_restJson1.js +111 -1
  12. package/dist-es/S3Outposts.js +15 -0
  13. package/dist-es/commands/ListOutpostsWithS3Command.js +42 -0
  14. package/dist-es/commands/index.js +1 -0
  15. package/dist-es/endpoint/ruleset.js +3 -3
  16. package/dist-es/models/models_0.js +22 -0
  17. package/dist-es/pagination/ListEndpointsPaginator.js +1 -8
  18. package/dist-es/pagination/ListOutpostsWithS3Paginator.js +25 -0
  19. package/dist-es/pagination/ListSharedEndpointsPaginator.js +1 -8
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_restJson1.js +110 -2
  22. package/dist-types/S3Outposts.d.ts +25 -16
  23. package/dist-types/S3OutpostsClient.d.ts +3 -2
  24. package/dist-types/commands/CreateEndpointCommand.d.ts +4 -4
  25. package/dist-types/commands/DeleteEndpointCommand.d.ts +4 -4
  26. package/dist-types/commands/ListEndpointsCommand.d.ts +4 -4
  27. package/dist-types/commands/ListOutpostsWithS3Command.d.ts +45 -0
  28. package/dist-types/commands/ListSharedEndpointsCommand.d.ts +4 -4
  29. package/dist-types/commands/index.d.ts +1 -0
  30. package/dist-types/models/models_0.d.ts +80 -1
  31. package/dist-types/pagination/Interfaces.d.ts +1 -2
  32. package/dist-types/pagination/ListOutpostsWithS3Paginator.d.ts +4 -0
  33. package/dist-types/pagination/index.d.ts +1 -0
  34. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  35. package/dist-types/ts3.4/S3Outposts.d.ts +17 -0
  36. package/dist-types/ts3.4/S3OutpostsClient.d.ts +6 -0
  37. package/dist-types/ts3.4/commands/ListOutpostsWithS3Command.d.ts +38 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +29 -0
  40. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  41. package/dist-types/ts3.4/pagination/ListOutpostsWithS3Paginator.d.ts +11 -0
  42. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  43. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  44. package/package.json +19 -19
@@ -1,4 +1,5 @@
1
1
  export * from "./CreateEndpointCommand";
2
2
  export * from "./DeleteEndpointCommand";
3
3
  export * from "./ListEndpointsCommand";
4
+ export * from "./ListOutpostsWithS3Command";
4
5
  export * from "./ListSharedEndpointsCommand";
@@ -44,6 +44,14 @@ export declare class ResourceNotFoundException extends __BaseException {
44
44
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
45
45
  );
46
46
  }
47
+ export declare class ThrottlingException extends __BaseException {
48
+ readonly name: "ThrottlingException";
49
+ readonly $fault: "client";
50
+ Message?: string;
51
+ constructor(
52
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
53
+ );
54
+ }
47
55
  export declare class ValidationException extends __BaseException {
48
56
  readonly name: "ValidationException";
49
57
  readonly $fault: "client";
@@ -85,6 +93,20 @@ export interface ListEndpointsResult {
85
93
  Endpoints?: Endpoint[];
86
94
  NextToken?: string;
87
95
  }
96
+ export interface ListOutpostsWithS3Request {
97
+ NextToken?: string;
98
+ MaxResults?: number;
99
+ }
100
+ export interface Outpost {
101
+ OutpostArn?: string;
102
+ OutpostId?: string;
103
+ OwnerId?: string;
104
+ CapacityInBytes?: number;
105
+ }
106
+ export interface ListOutpostsWithS3Result {
107
+ Outposts?: Outpost[];
108
+ NextToken?: string;
109
+ }
88
110
  export interface ListSharedEndpointsRequest {
89
111
  NextToken?: string;
90
112
  MaxResults?: number;
@@ -113,6 +135,13 @@ export declare const ListEndpointsRequestFilterSensitiveLog: (
113
135
  export declare const ListEndpointsResultFilterSensitiveLog: (
114
136
  obj: ListEndpointsResult
115
137
  ) => any;
138
+ export declare const ListOutpostsWithS3RequestFilterSensitiveLog: (
139
+ obj: ListOutpostsWithS3Request
140
+ ) => any;
141
+ export declare const OutpostFilterSensitiveLog: (obj: Outpost) => any;
142
+ export declare const ListOutpostsWithS3ResultFilterSensitiveLog: (
143
+ obj: ListOutpostsWithS3Result
144
+ ) => any;
116
145
  export declare const ListSharedEndpointsRequestFilterSensitiveLog: (
117
146
  obj: ListSharedEndpointsRequest
118
147
  ) => any;
@@ -1,7 +1,6 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
- import { S3Outposts } from "../S3Outposts";
3
2
  import { S3OutpostsClient } from "../S3OutpostsClient";
4
3
  export interface S3OutpostsPaginationConfiguration
5
4
  extends PaginationConfiguration {
6
- client: S3Outposts | S3OutpostsClient;
5
+ client: S3OutpostsClient;
7
6
  }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListOutpostsWithS3CommandInput,
4
+ ListOutpostsWithS3CommandOutput,
5
+ } from "../commands/ListOutpostsWithS3Command";
6
+ import { S3OutpostsPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListOutpostsWithS3(
8
+ config: S3OutpostsPaginationConfiguration,
9
+ input: ListOutpostsWithS3CommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListOutpostsWithS3CommandOutput>;
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListEndpointsPaginator";
3
+ export * from "./ListOutpostsWithS3Paginator";
3
4
  export * from "./ListSharedEndpointsPaginator";
@@ -15,6 +15,10 @@ import {
15
15
  ListEndpointsCommandInput,
16
16
  ListEndpointsCommandOutput,
17
17
  } from "../commands/ListEndpointsCommand";
18
+ import {
19
+ ListOutpostsWithS3CommandInput,
20
+ ListOutpostsWithS3CommandOutput,
21
+ } from "../commands/ListOutpostsWithS3Command";
18
22
  import {
19
23
  ListSharedEndpointsCommandInput,
20
24
  ListSharedEndpointsCommandOutput,
@@ -31,6 +35,10 @@ export declare const serializeAws_restJson1ListEndpointsCommand: (
31
35
  input: ListEndpointsCommandInput,
32
36
  context: __SerdeContext
33
37
  ) => Promise<__HttpRequest>;
38
+ export declare const serializeAws_restJson1ListOutpostsWithS3Command: (
39
+ input: ListOutpostsWithS3CommandInput,
40
+ context: __SerdeContext
41
+ ) => Promise<__HttpRequest>;
34
42
  export declare const serializeAws_restJson1ListSharedEndpointsCommand: (
35
43
  input: ListSharedEndpointsCommandInput,
36
44
  context: __SerdeContext
@@ -47,6 +55,10 @@ export declare const deserializeAws_restJson1ListEndpointsCommand: (
47
55
  output: __HttpResponse,
48
56
  context: __SerdeContext
49
57
  ) => Promise<ListEndpointsCommandOutput>;
58
+ export declare const deserializeAws_restJson1ListOutpostsWithS3Command: (
59
+ output: __HttpResponse,
60
+ context: __SerdeContext
61
+ ) => Promise<ListOutpostsWithS3CommandOutput>;
50
62
  export declare const deserializeAws_restJson1ListSharedEndpointsCommand: (
51
63
  output: __HttpResponse,
52
64
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3outposts",
3
3
  "description": "AWS SDK for JavaScript S3outposts Client for Node.js, Browser and React Native",
4
- "version": "3.281.0",
4
+ "version": "3.287.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,25 +20,25 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.281.0",
24
- "@aws-sdk/config-resolver": "3.272.0",
25
- "@aws-sdk/credential-provider-node": "3.281.0",
26
- "@aws-sdk/fetch-http-handler": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.287.0",
24
+ "@aws-sdk/config-resolver": "3.287.0",
25
+ "@aws-sdk/credential-provider-node": "3.287.0",
26
+ "@aws-sdk/fetch-http-handler": "3.282.0",
27
27
  "@aws-sdk/hash-node": "3.272.0",
28
28
  "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.272.0",
30
- "@aws-sdk/middleware-endpoint": "3.272.0",
31
- "@aws-sdk/middleware-host-header": "3.278.0",
32
- "@aws-sdk/middleware-logger": "3.272.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.272.0",
34
- "@aws-sdk/middleware-retry": "3.272.0",
29
+ "@aws-sdk/middleware-content-length": "3.282.0",
30
+ "@aws-sdk/middleware-endpoint": "3.282.0",
31
+ "@aws-sdk/middleware-host-header": "3.282.0",
32
+ "@aws-sdk/middleware-logger": "3.287.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
+ "@aws-sdk/middleware-retry": "3.287.0",
35
35
  "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.272.0",
36
+ "@aws-sdk/middleware-signing": "3.282.0",
37
37
  "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.272.0",
39
- "@aws-sdk/node-config-provider": "3.272.0",
40
- "@aws-sdk/node-http-handler": "3.272.0",
41
- "@aws-sdk/protocol-http": "3.272.0",
38
+ "@aws-sdk/middleware-user-agent": "3.282.0",
39
+ "@aws-sdk/node-config-provider": "3.287.0",
40
+ "@aws-sdk/node-http-handler": "3.282.0",
41
+ "@aws-sdk/protocol-http": "3.282.0",
42
42
  "@aws-sdk/smithy-client": "3.279.0",
43
43
  "@aws-sdk/types": "3.272.0",
44
44
  "@aws-sdk/url-parser": "3.272.0",
@@ -46,11 +46,11 @@
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.279.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
50
  "@aws-sdk/util-endpoints": "3.272.0",
51
51
  "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.272.0",
53
- "@aws-sdk/util-user-agent-node": "3.272.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.282.0",
53
+ "@aws-sdk/util-user-agent-node": "3.287.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },