@aws-sdk/client-amplify 3.428.0 → 3.430.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.
@@ -36,7 +36,7 @@ export interface AutoBranchCreationConfig {
36
36
  * @public
37
37
  * <p> Describes the current stage for the autocreated branch. </p>
38
38
  */
39
- stage?: Stage | string;
39
+ stage?: Stage;
40
40
  /**
41
41
  * @public
42
42
  * <p> The framework for the autocreated branch. </p>
@@ -177,7 +177,7 @@ export interface CreateAppRequest {
177
177
  * <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to
178
178
  * <code>WEB_DYNAMIC</code>.</p>
179
179
  */
180
- platform?: Platform | string;
180
+ platform?: Platform;
181
181
  /**
182
182
  * @public
183
183
  * <p> The AWS Identity and Access Management (IAM) service role for an Amplify app. </p>
@@ -361,7 +361,7 @@ export interface App {
361
361
  * <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to
362
362
  * <code>WEB_DYNAMIC</code>.</p>
363
363
  */
364
- platform: Platform | string | undefined;
364
+ platform: Platform | undefined;
365
365
  /**
366
366
  * @public
367
367
  * <p> Creates a date and time for the Amplify app. </p>
@@ -457,7 +457,7 @@ export interface App {
457
457
  * repository, <code>SIGV4</code> for an Amazon Web Services CodeCommit repository, and
458
458
  * <code>SSH</code> for GitLab and Bitbucket repositories.</p>
459
459
  */
460
- repositoryCloneMethod?: RepositoryCloneMethod | string;
460
+ repositoryCloneMethod?: RepositoryCloneMethod;
461
461
  }
462
462
  /**
463
463
  * @public
@@ -630,7 +630,7 @@ export interface CreateBranchRequest {
630
630
  * @public
631
631
  * <p> Describes the current stage for the branch. </p>
632
632
  */
633
- stage?: Stage | string;
633
+ stage?: Stage;
634
634
  /**
635
635
  * @public
636
636
  * <p> The framework for the branch. </p>
@@ -737,7 +737,7 @@ export interface Branch {
737
737
  * @public
738
738
  * <p> The current stage for the branch that is part of an Amplify app. </p>
739
739
  */
740
- stage: Stage | string | undefined;
740
+ stage: Stage | undefined;
741
741
  /**
742
742
  * @public
743
743
  * <p> The display name for the branch. This is used as the default domain prefix. </p>
@@ -1043,7 +1043,7 @@ export interface DomainAssociation {
1043
1043
  * @public
1044
1044
  * <p> The current status of the domain association. </p>
1045
1045
  */
1046
- domainStatus: DomainStatus | string | undefined;
1046
+ domainStatus: DomainStatus | undefined;
1047
1047
  /**
1048
1048
  * @public
1049
1049
  * <p> The reason for the current status of the domain association. </p>
@@ -1340,7 +1340,7 @@ export interface JobSummary {
1340
1340
  * @public
1341
1341
  * <p> The current status for the job. </p>
1342
1342
  */
1343
- status: JobStatus | string | undefined;
1343
+ status: JobStatus | undefined;
1344
1344
  /**
1345
1345
  * @public
1346
1346
  * <p> The end date and time for the job. </p>
@@ -1354,7 +1354,7 @@ export interface JobSummary {
1354
1354
  * API. If the value is <code>WEB_HOOK</code>, the job was automatically triggered by
1355
1355
  * webhooks. </p>
1356
1356
  */
1357
- jobType: JobType | string | undefined;
1357
+ jobType: JobType | undefined;
1358
1358
  }
1359
1359
  /**
1360
1360
  * @public
@@ -1598,7 +1598,7 @@ export interface Step {
1598
1598
  * @public
1599
1599
  * <p> The status of the execution step. </p>
1600
1600
  */
1601
- status: JobStatus | string | undefined;
1601
+ status: JobStatus | undefined;
1602
1602
  /**
1603
1603
  * @public
1604
1604
  * <p> The end date and time of the execution step. </p>
@@ -2103,7 +2103,7 @@ export interface StartJobRequest {
2103
2103
  * job. If the job type value is <code>RETRY</code>, the <code>jobId</code> is also
2104
2104
  * required. </p>
2105
2105
  */
2106
- jobType: JobType | string | undefined;
2106
+ jobType: JobType | undefined;
2107
2107
  /**
2108
2108
  * @public
2109
2109
  * <p> A descriptive reason for starting this job. </p>
@@ -2239,7 +2239,7 @@ export interface UpdateAppRequest {
2239
2239
  * <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to
2240
2240
  * <code>WEB_DYNAMIC</code>.</p>
2241
2241
  */
2242
- platform?: Platform | string;
2242
+ platform?: Platform;
2243
2243
  /**
2244
2244
  * @public
2245
2245
  * <p> The AWS Identity and Access Management (IAM) service role for an Amplify app. </p>
@@ -2381,7 +2381,7 @@ export interface UpdateBranchRequest {
2381
2381
  * @public
2382
2382
  * <p> Describes the current stage for the branch. </p>
2383
2383
  */
2384
- stage?: Stage | string;
2384
+ stage?: Stage;
2385
2385
  /**
2386
2386
  * @public
2387
2387
  * <p> Enables notifications for the branch. </p>
@@ -16,7 +16,7 @@ export declare const Stage: {
16
16
  };
17
17
  export type Stage = (typeof Stage)[keyof typeof Stage];
18
18
  export interface AutoBranchCreationConfig {
19
- stage?: Stage | string;
19
+ stage?: Stage;
20
20
  framework?: string;
21
21
  enableAutoBuild?: boolean;
22
22
  environmentVariables?: Record<string, string>;
@@ -43,7 +43,7 @@ export interface CreateAppRequest {
43
43
  name: string | undefined;
44
44
  description?: string;
45
45
  repository?: string;
46
- platform?: Platform | string;
46
+ platform?: Platform;
47
47
  iamServiceRoleArn?: string;
48
48
  oauthToken?: string;
49
49
  accessToken?: string;
@@ -80,7 +80,7 @@ export interface App {
80
80
  tags?: Record<string, string>;
81
81
  description: string | undefined;
82
82
  repository: string | undefined;
83
- platform: Platform | string | undefined;
83
+ platform: Platform | undefined;
84
84
  createTime: Date | undefined;
85
85
  updateTime: Date | undefined;
86
86
  iamServiceRoleArn?: string;
@@ -97,7 +97,7 @@ export interface App {
97
97
  enableAutoBranchCreation?: boolean;
98
98
  autoBranchCreationPatterns?: string[];
99
99
  autoBranchCreationConfig?: AutoBranchCreationConfig;
100
- repositoryCloneMethod?: RepositoryCloneMethod | string;
100
+ repositoryCloneMethod?: RepositoryCloneMethod;
101
101
  }
102
102
  export interface CreateAppResult {
103
103
  app: App | undefined;
@@ -159,7 +159,7 @@ export interface CreateBranchRequest {
159
159
  appId: string | undefined;
160
160
  branchName: string | undefined;
161
161
  description?: string;
162
- stage?: Stage | string;
162
+ stage?: Stage;
163
163
  framework?: string;
164
164
  enableNotification?: boolean;
165
165
  enableAutoBuild?: boolean;
@@ -180,7 +180,7 @@ export interface Branch {
180
180
  branchName: string | undefined;
181
181
  description: string | undefined;
182
182
  tags?: Record<string, string>;
183
- stage: Stage | string | undefined;
183
+ stage: Stage | undefined;
184
184
  displayName: string | undefined;
185
185
  enableNotification: boolean | undefined;
186
186
  createTime: Date | undefined;
@@ -251,7 +251,7 @@ export interface DomainAssociation {
251
251
  enableAutoSubDomain: boolean | undefined;
252
252
  autoSubDomainCreationPatterns?: string[];
253
253
  autoSubDomainIAMRole?: string;
254
- domainStatus: DomainStatus | string | undefined;
254
+ domainStatus: DomainStatus | undefined;
255
255
  statusReason: string | undefined;
256
256
  certificateVerificationDNSRecord?: string;
257
257
  subDomains: SubDomain[] | undefined;
@@ -332,9 +332,9 @@ export interface JobSummary {
332
332
  commitMessage: string | undefined;
333
333
  commitTime: Date | undefined;
334
334
  startTime: Date | undefined;
335
- status: JobStatus | string | undefined;
335
+ status: JobStatus | undefined;
336
336
  endTime?: Date;
337
- jobType: JobType | string | undefined;
337
+ jobType: JobType | undefined;
338
338
  }
339
339
  export interface DeleteJobResult {
340
340
  jobSummary: JobSummary | undefined;
@@ -396,7 +396,7 @@ export interface GetJobRequest {
396
396
  export interface Step {
397
397
  stepName: string | undefined;
398
398
  startTime: Date | undefined;
399
- status: JobStatus | string | undefined;
399
+ status: JobStatus | undefined;
400
400
  endTime: Date | undefined;
401
401
  logUrl?: string;
402
402
  artifactsUrl?: string;
@@ -516,7 +516,7 @@ export interface StartJobRequest {
516
516
  appId: string | undefined;
517
517
  branchName: string | undefined;
518
518
  jobId?: string;
519
- jobType: JobType | string | undefined;
519
+ jobType: JobType | undefined;
520
520
  jobReason?: string;
521
521
  commitId?: string;
522
522
  commitMessage?: string;
@@ -547,7 +547,7 @@ export interface UpdateAppRequest {
547
547
  appId: string | undefined;
548
548
  name?: string;
549
549
  description?: string;
550
- platform?: Platform | string;
550
+ platform?: Platform;
551
551
  iamServiceRoleArn?: string;
552
552
  environmentVariables?: Record<string, string>;
553
553
  enableBranchAutoBuild?: boolean;
@@ -572,7 +572,7 @@ export interface UpdateBranchRequest {
572
572
  branchName: string | undefined;
573
573
  description?: string;
574
574
  framework?: string;
575
- stage?: Stage | string;
575
+ stage?: Stage;
576
576
  enableNotification?: boolean;
577
577
  enableAutoBuild?: boolean;
578
578
  environmentVariables?: Record<string, string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amplify",
3
3
  "description": "AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.430.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,28 +21,28 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"