@aws-sdk/client-cloud9 3.428.0 → 3.429.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.
@@ -188,7 +188,7 @@ export interface CreateEnvironmentEC2Request {
188
188
  * <p>For more information, see <a href="https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html">Accessing no-ingress EC2 instances with
189
189
  * Amazon EC2 Systems Manager</a> in the <i>Cloud9 User Guide</i>.</p>
190
190
  */
191
- connectionType?: ConnectionType | string;
191
+ connectionType?: ConnectionType;
192
192
  /**
193
193
  * @public
194
194
  * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
@@ -316,7 +316,7 @@ export interface CreateEnvironmentMembershipRequest {
316
316
  * </li>
317
317
  * </ul>
318
318
  */
319
- permissions: MemberPermissions | string | undefined;
319
+ permissions: MemberPermissions | undefined;
320
320
  }
321
321
  /**
322
322
  * @public
@@ -355,7 +355,7 @@ export interface EnvironmentMember {
355
355
  * </li>
356
356
  * </ul>
357
357
  */
358
- permissions: Permissions | string | undefined;
358
+ permissions: Permissions | undefined;
359
359
  /**
360
360
  * @public
361
361
  * <p>The user ID in Identity and Access Management (IAM) of the environment member.</p>
@@ -460,7 +460,7 @@ export interface DescribeEnvironmentMembershipsRequest {
460
460
  * </ul>
461
461
  * <p>If no value is specified, information about all environment members are returned.</p>
462
462
  */
463
- permissions?: (Permissions | string)[];
463
+ permissions?: Permissions[];
464
464
  /**
465
465
  * @public
466
466
  * <p>During a previous call, if there are more than 25 items in the list, only the first 25
@@ -550,7 +550,7 @@ export interface EnvironmentLifecycle {
550
550
  * </li>
551
551
  * </ul>
552
552
  */
553
- status?: EnvironmentLifecycleStatus | string;
553
+ status?: EnvironmentLifecycleStatus;
554
554
  /**
555
555
  * @public
556
556
  * <p>Any informational message about the lifecycle state of the environment.</p>
@@ -630,13 +630,13 @@ export interface Environment {
630
630
  * </li>
631
631
  * </ul>
632
632
  */
633
- type: EnvironmentType | string | undefined;
633
+ type: EnvironmentType | undefined;
634
634
  /**
635
635
  * @public
636
636
  * <p>The connection type used for connecting to an Amazon EC2 environment. <code>CONNECT_SSH</code>
637
637
  * is selected by default.</p>
638
638
  */
639
- connectionType?: ConnectionType | string;
639
+ connectionType?: ConnectionType;
640
640
  /**
641
641
  * @public
642
642
  * <p>The Amazon Resource Name (ARN) of the environment.</p>
@@ -709,7 +709,7 @@ export interface Environment {
709
709
  * </li>
710
710
  * </ul>
711
711
  */
712
- managedCredentialsStatus?: ManagedCredentialsStatus | string;
712
+ managedCredentialsStatus?: ManagedCredentialsStatus;
713
713
  }
714
714
  /**
715
715
  * @public
@@ -786,7 +786,7 @@ export interface DescribeEnvironmentStatusResult {
786
786
  * </li>
787
787
  * </ul>
788
788
  */
789
- status: EnvironmentStatus | string | undefined;
789
+ status: EnvironmentStatus | undefined;
790
790
  /**
791
791
  * @public
792
792
  * <p>Any informational message about the status of the environment.</p>
@@ -959,7 +959,7 @@ export interface UpdateEnvironmentRequest {
959
959
  * owner.</p>
960
960
  * </note>
961
961
  */
962
- managedCredentialsAction?: ManagedCredentialsAction | string;
962
+ managedCredentialsAction?: ManagedCredentialsAction;
963
963
  }
964
964
  /**
965
965
  * @public
@@ -997,7 +997,7 @@ export interface UpdateEnvironmentMembershipRequest {
997
997
  * </li>
998
998
  * </ul>
999
999
  */
1000
- permissions: MemberPermissions | string | undefined;
1000
+ permissions: MemberPermissions | undefined;
1001
1001
  }
1002
1002
  /**
1003
1003
  * @public
@@ -36,7 +36,7 @@ export interface CreateEnvironmentEC2Request {
36
36
  automaticStopTimeMinutes?: number;
37
37
  ownerArn?: string;
38
38
  tags?: Tag[];
39
- connectionType?: ConnectionType | string;
39
+ connectionType?: ConnectionType;
40
40
  dryRun?: boolean;
41
41
  }
42
42
  export interface CreateEnvironmentEC2Result {
@@ -92,7 +92,7 @@ export type MemberPermissions =
92
92
  export interface CreateEnvironmentMembershipRequest {
93
93
  environmentId: string | undefined;
94
94
  userArn: string | undefined;
95
- permissions: MemberPermissions | string | undefined;
95
+ permissions: MemberPermissions | undefined;
96
96
  }
97
97
  export declare const Permissions: {
98
98
  readonly OWNER: "owner";
@@ -101,7 +101,7 @@ export declare const Permissions: {
101
101
  };
102
102
  export type Permissions = (typeof Permissions)[keyof typeof Permissions];
103
103
  export interface EnvironmentMember {
104
- permissions: Permissions | string | undefined;
104
+ permissions: Permissions | undefined;
105
105
  userId: string | undefined;
106
106
  userArn: string | undefined;
107
107
  environmentId: string | undefined;
@@ -122,7 +122,7 @@ export interface DeleteEnvironmentMembershipResult {}
122
122
  export interface DescribeEnvironmentMembershipsRequest {
123
123
  userArn?: string;
124
124
  environmentId?: string;
125
- permissions?: (Permissions | string)[];
125
+ permissions?: Permissions[];
126
126
  nextToken?: string;
127
127
  maxResults?: number;
128
128
  }
@@ -143,7 +143,7 @@ export declare const EnvironmentLifecycleStatus: {
143
143
  export type EnvironmentLifecycleStatus =
144
144
  (typeof EnvironmentLifecycleStatus)[keyof typeof EnvironmentLifecycleStatus];
145
145
  export interface EnvironmentLifecycle {
146
- status?: EnvironmentLifecycleStatus | string;
146
+ status?: EnvironmentLifecycleStatus;
147
147
  reason?: string;
148
148
  failureResource?: string;
149
149
  }
@@ -172,12 +172,12 @@ export interface Environment {
172
172
  id?: string;
173
173
  name?: string;
174
174
  description?: string;
175
- type: EnvironmentType | string | undefined;
176
- connectionType?: ConnectionType | string;
175
+ type: EnvironmentType | undefined;
176
+ connectionType?: ConnectionType;
177
177
  arn: string | undefined;
178
178
  ownerArn: string | undefined;
179
179
  lifecycle?: EnvironmentLifecycle;
180
- managedCredentialsStatus?: ManagedCredentialsStatus | string;
180
+ managedCredentialsStatus?: ManagedCredentialsStatus;
181
181
  }
182
182
  export interface DescribeEnvironmentsResult {
183
183
  environments?: Environment[];
@@ -197,7 +197,7 @@ export declare const EnvironmentStatus: {
197
197
  export type EnvironmentStatus =
198
198
  (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
199
199
  export interface DescribeEnvironmentStatusResult {
200
- status: EnvironmentStatus | string | undefined;
200
+ status: EnvironmentStatus | undefined;
201
201
  message: string | undefined;
202
202
  }
203
203
  export interface ListEnvironmentsRequest {
@@ -243,13 +243,13 @@ export interface UpdateEnvironmentRequest {
243
243
  environmentId: string | undefined;
244
244
  name?: string;
245
245
  description?: string;
246
- managedCredentialsAction?: ManagedCredentialsAction | string;
246
+ managedCredentialsAction?: ManagedCredentialsAction;
247
247
  }
248
248
  export interface UpdateEnvironmentResult {}
249
249
  export interface UpdateEnvironmentMembershipRequest {
250
250
  environmentId: string | undefined;
251
251
  userArn: string | undefined;
252
- permissions: MemberPermissions | string | undefined;
252
+ permissions: MemberPermissions | undefined;
253
253
  }
254
254
  export interface UpdateEnvironmentMembershipResult {
255
255
  membership?: EnvironmentMember;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloud9",
3
3
  "description": "AWS SDK for JavaScript Cloud9 Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.429.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,9 +21,9 @@
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.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.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",
@@ -38,7 +38,7 @@
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",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",