@aws-sdk/client-serverlessapplicationrepository 3.301.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.
@@ -2,13 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NotFoundException = exports.Status = exports.TooManyRequestsException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.Capability = void 0;
4
4
  const ServerlessApplicationRepositoryServiceException_1 = require("./ServerlessApplicationRepositoryServiceException");
5
- var Capability;
6
- (function (Capability) {
7
- Capability["CAPABILITY_AUTO_EXPAND"] = "CAPABILITY_AUTO_EXPAND";
8
- Capability["CAPABILITY_IAM"] = "CAPABILITY_IAM";
9
- Capability["CAPABILITY_NAMED_IAM"] = "CAPABILITY_NAMED_IAM";
10
- Capability["CAPABILITY_RESOURCE_POLICY"] = "CAPABILITY_RESOURCE_POLICY";
11
- })(Capability = exports.Capability || (exports.Capability = {}));
5
+ exports.Capability = {
6
+ CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND",
7
+ CAPABILITY_IAM: "CAPABILITY_IAM",
8
+ CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM",
9
+ CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY",
10
+ };
12
11
  class BadRequestException extends ServerlessApplicationRepositoryServiceException_1.ServerlessApplicationRepositoryServiceException {
13
12
  constructor(opts) {
14
13
  super({
@@ -84,12 +83,11 @@ class TooManyRequestsException extends ServerlessApplicationRepositoryServiceExc
84
83
  }
85
84
  }
86
85
  exports.TooManyRequestsException = TooManyRequestsException;
87
- var Status;
88
- (function (Status) {
89
- Status["ACTIVE"] = "ACTIVE";
90
- Status["EXPIRED"] = "EXPIRED";
91
- Status["PREPARING"] = "PREPARING";
92
- })(Status = exports.Status || (exports.Status = {}));
86
+ exports.Status = {
87
+ ACTIVE: "ACTIVE",
88
+ EXPIRED: "EXPIRED",
89
+ PREPARING: "PREPARING",
90
+ };
93
91
  class NotFoundException extends ServerlessApplicationRepositoryServiceException_1.ServerlessApplicationRepositoryServiceException {
94
92
  constructor(opts) {
95
93
  super({
@@ -1,11 +1,10 @@
1
1
  import { ServerlessApplicationRepositoryServiceException as __BaseException } from "./ServerlessApplicationRepositoryServiceException";
2
- export var Capability;
3
- (function (Capability) {
4
- Capability["CAPABILITY_AUTO_EXPAND"] = "CAPABILITY_AUTO_EXPAND";
5
- Capability["CAPABILITY_IAM"] = "CAPABILITY_IAM";
6
- Capability["CAPABILITY_NAMED_IAM"] = "CAPABILITY_NAMED_IAM";
7
- Capability["CAPABILITY_RESOURCE_POLICY"] = "CAPABILITY_RESOURCE_POLICY";
8
- })(Capability || (Capability = {}));
2
+ export const Capability = {
3
+ CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND",
4
+ CAPABILITY_IAM: "CAPABILITY_IAM",
5
+ CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM",
6
+ CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY",
7
+ };
9
8
  export class BadRequestException extends __BaseException {
10
9
  constructor(opts) {
11
10
  super({
@@ -76,12 +75,11 @@ export class TooManyRequestsException extends __BaseException {
76
75
  this.Message = opts.Message;
77
76
  }
78
77
  }
79
- export var Status;
80
- (function (Status) {
81
- Status["ACTIVE"] = "ACTIVE";
82
- Status["EXPIRED"] = "EXPIRED";
83
- Status["PREPARING"] = "PREPARING";
84
- })(Status || (Status = {}));
78
+ export const Status = {
79
+ ACTIVE: "ACTIVE",
80
+ EXPIRED: "EXPIRED",
81
+ PREPARING: "PREPARING",
82
+ };
85
83
  export class NotFoundException extends __BaseException {
86
84
  constructor(opts) {
87
85
  super({
@@ -77,13 +77,18 @@ export interface ApplicationSummary {
77
77
  }
78
78
  /**
79
79
  * @public
80
+ * @enum
80
81
  */
81
- export declare enum Capability {
82
- CAPABILITY_AUTO_EXPAND = "CAPABILITY_AUTO_EXPAND",
83
- CAPABILITY_IAM = "CAPABILITY_IAM",
84
- CAPABILITY_NAMED_IAM = "CAPABILITY_NAMED_IAM",
85
- CAPABILITY_RESOURCE_POLICY = "CAPABILITY_RESOURCE_POLICY"
86
- }
82
+ export declare const Capability: {
83
+ readonly CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND";
84
+ readonly CAPABILITY_IAM: "CAPABILITY_IAM";
85
+ readonly CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM";
86
+ readonly CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY";
87
+ };
88
+ /**
89
+ * @public
90
+ */
91
+ export type Capability = (typeof Capability)[keyof typeof Capability];
87
92
  /**
88
93
  * @public
89
94
  * <p>Parameters supported by the application.</p>
@@ -769,12 +774,17 @@ export interface CreateCloudFormationTemplateRequest {
769
774
  }
770
775
  /**
771
776
  * @public
777
+ * @enum
772
778
  */
773
- export declare enum Status {
774
- ACTIVE = "ACTIVE",
775
- EXPIRED = "EXPIRED",
776
- PREPARING = "PREPARING"
777
- }
779
+ export declare const Status: {
780
+ readonly ACTIVE: "ACTIVE";
781
+ readonly EXPIRED: "EXPIRED";
782
+ readonly PREPARING: "PREPARING";
783
+ };
784
+ /**
785
+ * @public
786
+ */
787
+ export type Status = (typeof Status)[keyof typeof Status];
778
788
  /**
779
789
  * @public
780
790
  */
@@ -20,12 +20,13 @@ export interface ApplicationSummary {
20
20
  Name: string | undefined;
21
21
  SpdxLicenseId?: string;
22
22
  }
23
- export declare enum Capability {
24
- CAPABILITY_AUTO_EXPAND = "CAPABILITY_AUTO_EXPAND",
25
- CAPABILITY_IAM = "CAPABILITY_IAM",
26
- CAPABILITY_NAMED_IAM = "CAPABILITY_NAMED_IAM",
27
- CAPABILITY_RESOURCE_POLICY = "CAPABILITY_RESOURCE_POLICY",
28
- }
23
+ export declare const Capability: {
24
+ readonly CAPABILITY_AUTO_EXPAND: "CAPABILITY_AUTO_EXPAND";
25
+ readonly CAPABILITY_IAM: "CAPABILITY_IAM";
26
+ readonly CAPABILITY_NAMED_IAM: "CAPABILITY_NAMED_IAM";
27
+ readonly CAPABILITY_RESOURCE_POLICY: "CAPABILITY_RESOURCE_POLICY";
28
+ };
29
+ export type Capability = (typeof Capability)[keyof typeof Capability];
29
30
  export interface ParameterDefinition {
30
31
  AllowedPattern?: string;
31
32
  AllowedValues?: string[];
@@ -191,11 +192,12 @@ export interface CreateCloudFormationTemplateRequest {
191
192
  ApplicationId: string | undefined;
192
193
  SemanticVersion?: string;
193
194
  }
194
- export declare enum Status {
195
- ACTIVE = "ACTIVE",
196
- EXPIRED = "EXPIRED",
197
- PREPARING = "PREPARING",
198
- }
195
+ export declare const Status: {
196
+ readonly ACTIVE: "ACTIVE";
197
+ readonly EXPIRED: "EXPIRED";
198
+ readonly PREPARING: "PREPARING";
199
+ };
200
+ export type Status = (typeof Status)[keyof typeof Status];
199
201
  export interface CreateCloudFormationTemplateResponse {
200
202
  ApplicationId?: string;
201
203
  CreationTime?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-serverlessapplicationrepository",
3
3
  "description": "AWS SDK for JavaScript Serverlessapplicationrepository Client for Node.js, Browser and React Native",
4
- "version": "3.301.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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.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",