@aws-sdk/client-imagebuilder 3.51.0 → 3.54.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.
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ImagebuilderServiceException as __BaseException } from "./ImagebuilderServiceException";
2
3
 
3
4
  export interface SystemsManagerAgent {
4
5
 
@@ -104,10 +105,11 @@ export declare enum BuildType {
104
105
  USER_INITIATED = "USER_INITIATED"
105
106
  }
106
107
 
107
- export interface CallRateLimitExceededException extends __SmithyException, $MetadataBearer {
108
- name: "CallRateLimitExceededException";
109
- $fault: "client";
110
- message?: string;
108
+ export declare class CallRateLimitExceededException extends __BaseException {
109
+ readonly name: "CallRateLimitExceededException";
110
+ readonly $fault: "client";
111
+
112
+ constructor(opts: __ExceptionOptionType<CallRateLimitExceededException, __BaseException>);
111
113
  }
112
114
  export interface CancelImageCreationRequest {
113
115
 
@@ -132,46 +134,53 @@ export declare namespace CancelImageCreationResponse {
132
134
  const filterSensitiveLog: (obj: CancelImageCreationResponse) => any;
133
135
  }
134
136
 
135
- export interface ClientException extends __SmithyException, $MetadataBearer {
136
- name: "ClientException";
137
- $fault: "client";
138
- message?: string;
137
+ export declare class ClientException extends __BaseException {
138
+ readonly name: "ClientException";
139
+ readonly $fault: "client";
140
+
141
+ constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
139
142
  }
140
143
 
141
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
142
- name: "ForbiddenException";
143
- $fault: "client";
144
- message?: string;
144
+ export declare class ForbiddenException extends __BaseException {
145
+ readonly name: "ForbiddenException";
146
+ readonly $fault: "client";
147
+
148
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
145
149
  }
146
150
 
147
- export interface IdempotentParameterMismatchException extends __SmithyException, $MetadataBearer {
148
- name: "IdempotentParameterMismatchException";
149
- $fault: "client";
150
- message?: string;
151
+ export declare class IdempotentParameterMismatchException extends __BaseException {
152
+ readonly name: "IdempotentParameterMismatchException";
153
+ readonly $fault: "client";
154
+
155
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
151
156
  }
152
157
 
153
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
154
- name: "InvalidRequestException";
155
- $fault: "client";
156
- message?: string;
158
+ export declare class InvalidRequestException extends __BaseException {
159
+ readonly name: "InvalidRequestException";
160
+ readonly $fault: "client";
161
+
162
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
157
163
  }
158
164
 
159
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
160
- name: "ResourceInUseException";
161
- $fault: "client";
162
- message?: string;
165
+ export declare class ResourceInUseException extends __BaseException {
166
+ readonly name: "ResourceInUseException";
167
+ readonly $fault: "client";
168
+
169
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
163
170
  }
164
171
 
165
- export interface ServiceException extends __SmithyException, $MetadataBearer {
166
- name: "ServiceException";
167
- $fault: "server";
168
- message?: string;
172
+ export declare class ServiceException extends __BaseException {
173
+ readonly name: "ServiceException";
174
+ readonly $fault: "server";
175
+
176
+ constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
169
177
  }
170
178
 
171
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
172
- name: "ServiceUnavailableException";
173
- $fault: "server";
174
- message?: string;
179
+ export declare class ServiceUnavailableException extends __BaseException {
180
+ readonly name: "ServiceUnavailableException";
181
+ readonly $fault: "server";
182
+
183
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
175
184
  }
176
185
 
177
186
  export interface ComponentParameterDetail {
@@ -544,22 +553,25 @@ export declare namespace CreateComponentResponse {
544
553
  const filterSensitiveLog: (obj: CreateComponentResponse) => any;
545
554
  }
546
555
 
547
- export interface InvalidParameterCombinationException extends __SmithyException, $MetadataBearer {
548
- name: "InvalidParameterCombinationException";
549
- $fault: "client";
550
- message?: string;
556
+ export declare class InvalidParameterCombinationException extends __BaseException {
557
+ readonly name: "InvalidParameterCombinationException";
558
+ readonly $fault: "client";
559
+
560
+ constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
551
561
  }
552
562
 
553
- export interface InvalidVersionNumberException extends __SmithyException, $MetadataBearer {
554
- name: "InvalidVersionNumberException";
555
- $fault: "client";
556
- message?: string;
563
+ export declare class InvalidVersionNumberException extends __BaseException {
564
+ readonly name: "InvalidVersionNumberException";
565
+ readonly $fault: "client";
566
+
567
+ constructor(opts: __ExceptionOptionType<InvalidVersionNumberException, __BaseException>);
557
568
  }
558
569
 
559
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
560
- name: "ServiceQuotaExceededException";
561
- $fault: "client";
562
- message?: string;
570
+ export declare class ServiceQuotaExceededException extends __BaseException {
571
+ readonly name: "ServiceQuotaExceededException";
572
+ readonly $fault: "client";
573
+
574
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
563
575
  }
564
576
  export interface CreateContainerRecipeRequest {
565
577
 
@@ -614,10 +626,50 @@ export declare namespace CreateContainerRecipeResponse {
614
626
  const filterSensitiveLog: (obj: CreateContainerRecipeResponse) => any;
615
627
  }
616
628
 
617
- export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
618
- name: "ResourceAlreadyExistsException";
619
- $fault: "client";
620
- message?: string;
629
+ export declare class ResourceAlreadyExistsException extends __BaseException {
630
+ readonly name: "ResourceAlreadyExistsException";
631
+ readonly $fault: "client";
632
+
633
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
634
+ }
635
+
636
+ export interface FastLaunchLaunchTemplateSpecification {
637
+
638
+ launchTemplateId?: string;
639
+
640
+ launchTemplateName?: string;
641
+
642
+ launchTemplateVersion?: string;
643
+ }
644
+ export declare namespace FastLaunchLaunchTemplateSpecification {
645
+
646
+ const filterSensitiveLog: (obj: FastLaunchLaunchTemplateSpecification) => any;
647
+ }
648
+
649
+ export interface FastLaunchSnapshotConfiguration {
650
+
651
+ targetResourceCount?: number;
652
+ }
653
+ export declare namespace FastLaunchSnapshotConfiguration {
654
+
655
+ const filterSensitiveLog: (obj: FastLaunchSnapshotConfiguration) => any;
656
+ }
657
+
658
+ export interface FastLaunchConfiguration {
659
+
660
+ enabled: boolean | undefined;
661
+
662
+ snapshotConfiguration?: FastLaunchSnapshotConfiguration;
663
+
664
+ maxParallelLaunches?: number;
665
+
666
+ launchTemplate?: FastLaunchLaunchTemplateSpecification;
667
+
668
+ accountId?: string;
669
+ }
670
+ export declare namespace FastLaunchConfiguration {
671
+
672
+ const filterSensitiveLog: (obj: FastLaunchConfiguration) => any;
621
673
  }
622
674
 
623
675
  export interface LaunchTemplateConfiguration {
@@ -666,6 +718,8 @@ export interface Distribution {
666
718
  launchTemplateConfigurations?: LaunchTemplateConfiguration[];
667
719
 
668
720
  s3ExportConfiguration?: S3ExportConfiguration;
721
+
722
+ fastLaunchConfigurations?: FastLaunchConfiguration[];
669
723
  }
670
724
  export declare namespace Distribution {
671
725
 
@@ -953,10 +1007,11 @@ export declare namespace DeleteComponentResponse {
953
1007
  const filterSensitiveLog: (obj: DeleteComponentResponse) => any;
954
1008
  }
955
1009
 
956
- export interface ResourceDependencyException extends __SmithyException, $MetadataBearer {
957
- name: "ResourceDependencyException";
958
- $fault: "client";
959
- message?: string;
1010
+ export declare class ResourceDependencyException extends __BaseException {
1011
+ readonly name: "ResourceDependencyException";
1012
+ readonly $fault: "client";
1013
+
1014
+ constructor(opts: __ExceptionOptionType<ResourceDependencyException, __BaseException>);
960
1015
  }
961
1016
  export interface DeleteContainerRecipeRequest {
962
1017
 
@@ -1162,10 +1217,11 @@ export declare namespace GetComponentPolicyResponse {
1162
1217
  const filterSensitiveLog: (obj: GetComponentPolicyResponse) => any;
1163
1218
  }
1164
1219
 
1165
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
1166
- name: "ResourceNotFoundException";
1167
- $fault: "client";
1168
- message?: string;
1220
+ export declare class ResourceNotFoundException extends __BaseException {
1221
+ readonly name: "ResourceNotFoundException";
1222
+ readonly $fault: "client";
1223
+
1224
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
1169
1225
  }
1170
1226
  export interface GetContainerRecipeRequest {
1171
1227
 
@@ -1597,10 +1653,11 @@ export declare namespace ImportVmImageResponse {
1597
1653
  const filterSensitiveLog: (obj: ImportVmImageResponse) => any;
1598
1654
  }
1599
1655
 
1600
- export interface InvalidPaginationTokenException extends __SmithyException, $MetadataBearer {
1601
- name: "InvalidPaginationTokenException";
1602
- $fault: "client";
1603
- message?: string;
1656
+ export declare class InvalidPaginationTokenException extends __BaseException {
1657
+ readonly name: "InvalidPaginationTokenException";
1658
+ readonly $fault: "client";
1659
+
1660
+ constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
1604
1661
  }
1605
1662
  export interface ListComponentBuildVersionsRequest {
1606
1663
 
@@ -2011,10 +2068,11 @@ export declare namespace ListInfrastructureConfigurationsResponse {
2011
2068
  const filterSensitiveLog: (obj: ListInfrastructureConfigurationsResponse) => any;
2012
2069
  }
2013
2070
 
2014
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
2015
- name: "InvalidParameterException";
2016
- $fault: "client";
2017
- message?: string;
2071
+ export declare class InvalidParameterException extends __BaseException {
2072
+ readonly name: "InvalidParameterException";
2073
+ readonly $fault: "client";
2074
+
2075
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
2018
2076
  }
2019
2077
  export interface ListTagsForResourceRequest {
2020
2078
 
@@ -2035,10 +2093,11 @@ export declare namespace ListTagsForResourceResponse {
2035
2093
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
2036
2094
  }
2037
2095
 
2038
- export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
2039
- name: "InvalidParameterValueException";
2040
- $fault: "client";
2041
- message?: string;
2096
+ export declare class InvalidParameterValueException extends __BaseException {
2097
+ readonly name: "InvalidParameterValueException";
2098
+ readonly $fault: "client";
2099
+
2100
+ constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
2042
2101
  }
2043
2102
  export interface PutComponentPolicyRequest {
2044
2103
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ImagebuilderClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-imagebuilder",
3
3
  "description": "AWS SDK for JavaScript Imagebuilder Client for Node.js, Browser and React Native",
4
- "version": "3.51.0",
4
+ "version": "3.54.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",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,41 +18,41 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.51.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.51.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.51.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-serde": "3.54.0",
32
+ "@aws-sdk/middleware-signing": "3.54.0",
33
+ "@aws-sdk/middleware-stack": "3.54.0",
34
+ "@aws-sdk/middleware-user-agent": "3.54.0",
35
+ "@aws-sdk/node-config-provider": "3.54.0",
36
+ "@aws-sdk/node-http-handler": "3.54.0",
37
+ "@aws-sdk/protocol-http": "3.54.0",
38
+ "@aws-sdk/smithy-client": "3.54.0",
39
+ "@aws-sdk/types": "3.54.0",
40
+ "@aws-sdk/url-parser": "3.54.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
48
+ "@aws-sdk/util-user-agent-node": "3.54.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0",
52
52
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
56
56
  "@tsconfig/recommended": "1.0.1",
57
57
  "@types/node": "^12.7.5",
58
58
  "@types/uuid": "^8.3.0",