@aws-sdk/client-s3outposts 3.300.0 → 3.303.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.
@@ -30,11 +30,10 @@ class ConflictException extends S3OutpostsServiceException_1.S3OutpostsServiceEx
30
30
  }
31
31
  }
32
32
  exports.ConflictException = ConflictException;
33
- var EndpointAccessType;
34
- (function (EndpointAccessType) {
35
- EndpointAccessType["CUSTOMER_OWNED_IP"] = "CustomerOwnedIp";
36
- EndpointAccessType["PRIVATE"] = "Private";
37
- })(EndpointAccessType = exports.EndpointAccessType || (exports.EndpointAccessType = {}));
33
+ exports.EndpointAccessType = {
34
+ CUSTOMER_OWNED_IP: "CustomerOwnedIp",
35
+ PRIVATE: "Private",
36
+ };
38
37
  class InternalServerException extends S3OutpostsServiceException_1.S3OutpostsServiceException {
39
38
  constructor(opts) {
40
39
  super({
@@ -105,11 +104,10 @@ class ValidationException extends S3OutpostsServiceException_1.S3OutpostsService
105
104
  }
106
105
  }
107
106
  exports.ValidationException = ValidationException;
108
- var EndpointStatus;
109
- (function (EndpointStatus) {
110
- EndpointStatus["AVAILABLE"] = "Available";
111
- EndpointStatus["CREATE_FAILED"] = "Create_Failed";
112
- EndpointStatus["DELETE_FAILED"] = "Delete_Failed";
113
- EndpointStatus["DELETING"] = "Deleting";
114
- EndpointStatus["PENDING"] = "Pending";
115
- })(EndpointStatus = exports.EndpointStatus || (exports.EndpointStatus = {}));
107
+ exports.EndpointStatus = {
108
+ AVAILABLE: "Available",
109
+ CREATE_FAILED: "Create_Failed",
110
+ DELETE_FAILED: "Delete_Failed",
111
+ DELETING: "Deleting",
112
+ PENDING: "Pending",
113
+ };
@@ -25,11 +25,10 @@ export class ConflictException extends __BaseException {
25
25
  this.Message = opts.Message;
26
26
  }
27
27
  }
28
- export var EndpointAccessType;
29
- (function (EndpointAccessType) {
30
- EndpointAccessType["CUSTOMER_OWNED_IP"] = "CustomerOwnedIp";
31
- EndpointAccessType["PRIVATE"] = "Private";
32
- })(EndpointAccessType || (EndpointAccessType = {}));
28
+ export const EndpointAccessType = {
29
+ CUSTOMER_OWNED_IP: "CustomerOwnedIp",
30
+ PRIVATE: "Private",
31
+ };
33
32
  export class InternalServerException extends __BaseException {
34
33
  constructor(opts) {
35
34
  super({
@@ -95,11 +94,10 @@ export class ValidationException extends __BaseException {
95
94
  this.Message = opts.Message;
96
95
  }
97
96
  }
98
- export var EndpointStatus;
99
- (function (EndpointStatus) {
100
- EndpointStatus["AVAILABLE"] = "Available";
101
- EndpointStatus["CREATE_FAILED"] = "Create_Failed";
102
- EndpointStatus["DELETE_FAILED"] = "Delete_Failed";
103
- EndpointStatus["DELETING"] = "Deleting";
104
- EndpointStatus["PENDING"] = "Pending";
105
- })(EndpointStatus || (EndpointStatus = {}));
97
+ export const EndpointStatus = {
98
+ AVAILABLE: "Available",
99
+ CREATE_FAILED: "Create_Failed",
100
+ DELETE_FAILED: "Delete_Failed",
101
+ DELETING: "Deleting",
102
+ PENDING: "Pending",
103
+ };
@@ -43,7 +43,7 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResult, __Met
43
43
  * import { S3OutpostsClient, CreateEndpointCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
44
44
  * // const { S3OutpostsClient, CreateEndpointCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
45
45
  * const client = new S3OutpostsClient(config);
46
- * const input = {
46
+ * const input = { // CreateEndpointRequest
47
47
  * OutpostId: "STRING_VALUE", // required
48
48
  * SubnetId: "STRING_VALUE", // required
49
49
  * SecurityGroupId: "STRING_VALUE", // required
@@ -43,7 +43,7 @@ export interface DeleteEndpointCommandOutput extends __MetadataBearer {
43
43
  * import { S3OutpostsClient, DeleteEndpointCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
44
44
  * // const { S3OutpostsClient, DeleteEndpointCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
45
45
  * const client = new S3OutpostsClient(config);
46
- * const input = {
46
+ * const input = { // DeleteEndpointRequest
47
47
  * EndpointId: "STRING_VALUE", // required
48
48
  * OutpostId: "STRING_VALUE", // required
49
49
  * };
@@ -39,7 +39,7 @@ export interface ListEndpointsCommandOutput extends ListEndpointsResult, __Metad
39
39
  * import { S3OutpostsClient, ListEndpointsCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
40
40
  * // const { S3OutpostsClient, ListEndpointsCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
41
41
  * const client = new S3OutpostsClient(config);
42
- * const input = {
42
+ * const input = { // ListEndpointsRequest
43
43
  * NextToken: "STRING_VALUE",
44
44
  * MaxResults: Number("int"),
45
45
  * };
@@ -28,7 +28,7 @@ export interface ListOutpostsWithS3CommandOutput extends ListOutpostsWithS3Resul
28
28
  * import { S3OutpostsClient, ListOutpostsWithS3Command } from "@aws-sdk/client-s3outposts"; // ES Modules import
29
29
  * // const { S3OutpostsClient, ListOutpostsWithS3Command } = require("@aws-sdk/client-s3outposts"); // CommonJS import
30
30
  * const client = new S3OutpostsClient(config);
31
- * const input = {
31
+ * const input = { // ListOutpostsWithS3Request
32
32
  * NextToken: "STRING_VALUE",
33
33
  * MaxResults: Number("int"),
34
34
  * };
@@ -39,7 +39,7 @@ export interface ListSharedEndpointsCommandOutput extends ListSharedEndpointsRes
39
39
  * import { S3OutpostsClient, ListSharedEndpointsCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
40
40
  * // const { S3OutpostsClient, ListSharedEndpointsCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
41
41
  * const client = new S3OutpostsClient(config);
42
- * const input = {
42
+ * const input = { // ListSharedEndpointsRequest
43
43
  * NextToken: "STRING_VALUE",
44
44
  * MaxResults: Number("int"),
45
45
  * OutpostId: "STRING_VALUE", // required
@@ -28,11 +28,16 @@ export declare class ConflictException extends __BaseException {
28
28
  }
29
29
  /**
30
30
  * @public
31
+ * @enum
31
32
  */
32
- export declare enum EndpointAccessType {
33
- CUSTOMER_OWNED_IP = "CustomerOwnedIp",
34
- PRIVATE = "Private"
35
- }
33
+ export declare const EndpointAccessType: {
34
+ readonly CUSTOMER_OWNED_IP: "CustomerOwnedIp";
35
+ readonly PRIVATE: "Private";
36
+ };
37
+ /**
38
+ * @public
39
+ */
40
+ export type EndpointAccessType = (typeof EndpointAccessType)[keyof typeof EndpointAccessType];
36
41
  /**
37
42
  * @public
38
43
  */
@@ -181,14 +186,19 @@ export interface NetworkInterface {
181
186
  }
182
187
  /**
183
188
  * @public
189
+ * @enum
184
190
  */
185
- export declare enum EndpointStatus {
186
- AVAILABLE = "Available",
187
- CREATE_FAILED = "Create_Failed",
188
- DELETE_FAILED = "Delete_Failed",
189
- DELETING = "Deleting",
190
- PENDING = "Pending"
191
- }
191
+ export declare const EndpointStatus: {
192
+ readonly AVAILABLE: "Available";
193
+ readonly CREATE_FAILED: "Create_Failed";
194
+ readonly DELETE_FAILED: "Delete_Failed";
195
+ readonly DELETING: "Deleting";
196
+ readonly PENDING: "Pending";
197
+ };
198
+ /**
199
+ * @public
200
+ */
201
+ export type EndpointStatus = (typeof EndpointStatus)[keyof typeof EndpointStatus];
192
202
  /**
193
203
  * @public
194
204
  * <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
@@ -14,10 +14,12 @@ export declare class ConflictException extends __BaseException {
14
14
  Message?: string;
15
15
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
16
  }
17
- export declare enum EndpointAccessType {
18
- CUSTOMER_OWNED_IP = "CustomerOwnedIp",
19
- PRIVATE = "Private",
20
- }
17
+ export declare const EndpointAccessType: {
18
+ readonly CUSTOMER_OWNED_IP: "CustomerOwnedIp";
19
+ readonly PRIVATE: "Private";
20
+ };
21
+ export type EndpointAccessType =
22
+ (typeof EndpointAccessType)[keyof typeof EndpointAccessType];
21
23
  export interface CreateEndpointRequest {
22
24
  OutpostId: string | undefined;
23
25
  SubnetId: string | undefined;
@@ -79,13 +81,15 @@ export interface FailedReason {
79
81
  export interface NetworkInterface {
80
82
  NetworkInterfaceId?: string;
81
83
  }
82
- export declare enum EndpointStatus {
83
- AVAILABLE = "Available",
84
- CREATE_FAILED = "Create_Failed",
85
- DELETE_FAILED = "Delete_Failed",
86
- DELETING = "Deleting",
87
- PENDING = "Pending",
88
- }
84
+ export declare const EndpointStatus: {
85
+ readonly AVAILABLE: "Available";
86
+ readonly CREATE_FAILED: "Create_Failed";
87
+ readonly DELETE_FAILED: "Delete_Failed";
88
+ readonly DELETING: "Deleting";
89
+ readonly PENDING: "Pending";
90
+ };
91
+ export type EndpointStatus =
92
+ (typeof EndpointStatus)[keyof typeof EndpointStatus];
89
93
  export interface Endpoint {
90
94
  EndpointArn?: string;
91
95
  OutpostsId?: string;
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.300.0",
4
+ "version": "3.303.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",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",