@aws-sdk/client-resource-explorer-2 3.687.0 → 3.691.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.
@@ -4,7 +4,7 @@ import { ResourceExplorer2ServiceException as __BaseException } from "./Resource
4
4
  export declare class AccessDeniedException extends __BaseException {
5
5
  readonly name: "AccessDeniedException";
6
6
  readonly $fault: "client";
7
- Message?: string;
7
+ Message?: string | undefined;
8
8
  constructor(
9
9
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
10
  );
@@ -13,12 +13,12 @@ export interface AssociateDefaultViewInput {
13
13
  ViewArn: string | undefined;
14
14
  }
15
15
  export interface AssociateDefaultViewOutput {
16
- ViewArn?: string;
16
+ ViewArn?: string | undefined;
17
17
  }
18
18
  export declare class InternalServerException extends __BaseException {
19
19
  readonly name: "InternalServerException";
20
20
  readonly $fault: "server";
21
- Message?: string;
21
+ Message?: string | undefined;
22
22
  constructor(
23
23
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
24
24
  );
@@ -26,7 +26,7 @@ export declare class InternalServerException extends __BaseException {
26
26
  export declare class ResourceNotFoundException extends __BaseException {
27
27
  readonly name: "ResourceNotFoundException";
28
28
  readonly $fault: "client";
29
- Message?: string;
29
+ Message?: string | undefined;
30
30
  constructor(
31
31
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
32
32
  );
@@ -34,7 +34,7 @@ export declare class ResourceNotFoundException extends __BaseException {
34
34
  export declare class ThrottlingException extends __BaseException {
35
35
  readonly name: "ThrottlingException";
36
36
  readonly $fault: "client";
37
- Message?: string;
37
+ Message?: string | undefined;
38
38
  constructor(
39
39
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
40
40
  );
@@ -47,7 +47,7 @@ export declare class ValidationException extends __BaseException {
47
47
  readonly name: "ValidationException";
48
48
  readonly $fault: "client";
49
49
  Message: string | undefined;
50
- FieldList?: ValidationExceptionField[];
50
+ FieldList?: ValidationExceptionField[] | undefined;
51
51
  constructor(
52
52
  opts: __ExceptionOptionType<ValidationException, __BaseException>
53
53
  );
@@ -59,7 +59,7 @@ export declare const AWSServiceAccessStatus: {
59
59
  export type AWSServiceAccessStatus =
60
60
  (typeof AWSServiceAccessStatus)[keyof typeof AWSServiceAccessStatus];
61
61
  export interface BatchGetViewInput {
62
- ViewArns?: string[];
62
+ ViewArns?: string[] | undefined;
63
63
  }
64
64
  export interface BatchGetViewError {
65
65
  ViewArn: string | undefined;
@@ -72,21 +72,21 @@ export interface IncludedProperty {
72
72
  Name: string | undefined;
73
73
  }
74
74
  export interface View {
75
- ViewArn?: string;
76
- Owner?: string;
77
- LastUpdatedAt?: Date;
78
- Scope?: string;
79
- IncludedProperties?: IncludedProperty[];
80
- Filters?: SearchFilter;
75
+ ViewArn?: string | undefined;
76
+ Owner?: string | undefined;
77
+ LastUpdatedAt?: Date | undefined;
78
+ Scope?: string | undefined;
79
+ IncludedProperties?: IncludedProperty[] | undefined;
80
+ Filters?: SearchFilter | undefined;
81
81
  }
82
82
  export interface BatchGetViewOutput {
83
- Views?: View[];
84
- Errors?: BatchGetViewError[];
83
+ Views?: View[] | undefined;
84
+ Errors?: BatchGetViewError[] | undefined;
85
85
  }
86
86
  export declare class UnauthorizedException extends __BaseException {
87
87
  readonly name: "UnauthorizedException";
88
88
  readonly $fault: "client";
89
- Message?: string;
89
+ Message?: string | undefined;
90
90
  constructor(
91
91
  opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
92
92
  );
@@ -98,8 +98,8 @@ export declare class ConflictException extends __BaseException {
98
98
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
99
99
  }
100
100
  export interface CreateIndexInput {
101
- ClientToken?: string;
102
- Tags?: Record<string, string>;
101
+ ClientToken?: string | undefined;
102
+ Tags?: Record<string, string> | undefined;
103
103
  }
104
104
  export declare const IndexState: {
105
105
  readonly ACTIVE: "ACTIVE";
@@ -110,17 +110,17 @@ export declare const IndexState: {
110
110
  };
111
111
  export type IndexState = (typeof IndexState)[keyof typeof IndexState];
112
112
  export interface CreateIndexOutput {
113
- Arn?: string;
114
- State?: IndexState;
115
- CreatedAt?: Date;
113
+ Arn?: string | undefined;
114
+ State?: IndexState | undefined;
115
+ CreatedAt?: Date | undefined;
116
116
  }
117
117
  export interface DeleteIndexInput {
118
118
  Arn: string | undefined;
119
119
  }
120
120
  export interface DeleteIndexOutput {
121
- Arn?: string;
122
- State?: IndexState;
123
- LastUpdatedAt?: Date;
121
+ Arn?: string | undefined;
122
+ State?: IndexState | undefined;
123
+ LastUpdatedAt?: Date | undefined;
124
124
  }
125
125
  export declare const IndexType: {
126
126
  readonly AGGREGATOR: "AGGREGATOR";
@@ -128,19 +128,19 @@ export declare const IndexType: {
128
128
  };
129
129
  export type IndexType = (typeof IndexType)[keyof typeof IndexType];
130
130
  export interface ListIndexesInput {
131
- Type?: IndexType;
132
- Regions?: string[];
133
- MaxResults?: number;
134
- NextToken?: string;
131
+ Type?: IndexType | undefined;
132
+ Regions?: string[] | undefined;
133
+ MaxResults?: number | undefined;
134
+ NextToken?: string | undefined;
135
135
  }
136
136
  export interface Index {
137
- Region?: string;
138
- Arn?: string;
139
- Type?: IndexType;
137
+ Region?: string | undefined;
138
+ Arn?: string | undefined;
139
+ Type?: IndexType | undefined;
140
140
  }
141
141
  export interface ListIndexesOutput {
142
- Indexes?: Index[];
143
- NextToken?: string;
142
+ Indexes?: Index[] | undefined;
143
+ NextToken?: string | undefined;
144
144
  }
145
145
  export declare class ServiceQuotaExceededException extends __BaseException {
146
146
  readonly name: "ServiceQuotaExceededException";
@@ -157,175 +157,175 @@ export interface UpdateIndexTypeInput {
157
157
  Type: IndexType | undefined;
158
158
  }
159
159
  export interface UpdateIndexTypeOutput {
160
- Arn?: string;
161
- Type?: IndexType;
162
- State?: IndexState;
163
- LastUpdatedAt?: Date;
160
+ Arn?: string | undefined;
161
+ Type?: IndexType | undefined;
162
+ State?: IndexState | undefined;
163
+ LastUpdatedAt?: Date | undefined;
164
164
  }
165
165
  export interface CreateViewInput {
166
- ClientToken?: string;
166
+ ClientToken?: string | undefined;
167
167
  ViewName: string | undefined;
168
- IncludedProperties?: IncludedProperty[];
169
- Scope?: string;
170
- Filters?: SearchFilter;
171
- Tags?: Record<string, string>;
168
+ IncludedProperties?: IncludedProperty[] | undefined;
169
+ Scope?: string | undefined;
170
+ Filters?: SearchFilter | undefined;
171
+ Tags?: Record<string, string> | undefined;
172
172
  }
173
173
  export interface CreateViewOutput {
174
- View?: View;
174
+ View?: View | undefined;
175
175
  }
176
176
  export interface DeleteViewInput {
177
177
  ViewArn: string | undefined;
178
178
  }
179
179
  export interface DeleteViewOutput {
180
- ViewArn?: string;
180
+ ViewArn?: string | undefined;
181
181
  }
182
182
  export interface GetViewInput {
183
183
  ViewArn: string | undefined;
184
184
  }
185
185
  export interface GetViewOutput {
186
- View?: View;
187
- Tags?: Record<string, string>;
186
+ View?: View | undefined;
187
+ Tags?: Record<string, string> | undefined;
188
188
  }
189
189
  export interface ListViewsInput {
190
- NextToken?: string;
191
- MaxResults?: number;
190
+ NextToken?: string | undefined;
191
+ MaxResults?: number | undefined;
192
192
  }
193
193
  export interface ListViewsOutput {
194
- Views?: string[];
195
- NextToken?: string;
194
+ Views?: string[] | undefined;
195
+ NextToken?: string | undefined;
196
196
  }
197
197
  export interface UpdateViewInput {
198
198
  ViewArn: string | undefined;
199
- IncludedProperties?: IncludedProperty[];
200
- Filters?: SearchFilter;
199
+ IncludedProperties?: IncludedProperty[] | undefined;
200
+ Filters?: SearchFilter | undefined;
201
201
  }
202
202
  export interface UpdateViewOutput {
203
- View?: View;
203
+ View?: View | undefined;
204
204
  }
205
205
  export interface OrgConfiguration {
206
206
  AWSServiceAccessStatus: AWSServiceAccessStatus | undefined;
207
- ServiceLinkedRole?: string;
207
+ ServiceLinkedRole?: string | undefined;
208
208
  }
209
209
  export interface GetAccountLevelServiceConfigurationOutput {
210
- OrgConfiguration?: OrgConfiguration;
210
+ OrgConfiguration?: OrgConfiguration | undefined;
211
211
  }
212
212
  export interface GetDefaultViewOutput {
213
- ViewArn?: string;
213
+ ViewArn?: string | undefined;
214
214
  }
215
215
  export interface GetIndexOutput {
216
- Arn?: string;
217
- Type?: IndexType;
218
- State?: IndexState;
219
- ReplicatingFrom?: string[];
220
- ReplicatingTo?: string[];
221
- CreatedAt?: Date;
222
- LastUpdatedAt?: Date;
223
- Tags?: Record<string, string>;
216
+ Arn?: string | undefined;
217
+ Type?: IndexType | undefined;
218
+ State?: IndexState | undefined;
219
+ ReplicatingFrom?: string[] | undefined;
220
+ ReplicatingTo?: string[] | undefined;
221
+ CreatedAt?: Date | undefined;
222
+ LastUpdatedAt?: Date | undefined;
223
+ Tags?: Record<string, string> | undefined;
224
224
  }
225
225
  export interface GetManagedViewInput {
226
226
  ManagedViewArn: string | undefined;
227
227
  }
228
228
  export interface ManagedView {
229
- ManagedViewArn?: string;
230
- ManagedViewName?: string;
231
- TrustedService?: string;
232
- LastUpdatedAt?: Date;
233
- Owner?: string;
234
- Scope?: string;
235
- IncludedProperties?: IncludedProperty[];
236
- Filters?: SearchFilter;
237
- ResourcePolicy?: string;
238
- Version?: string;
229
+ ManagedViewArn?: string | undefined;
230
+ ManagedViewName?: string | undefined;
231
+ TrustedService?: string | undefined;
232
+ LastUpdatedAt?: Date | undefined;
233
+ Owner?: string | undefined;
234
+ Scope?: string | undefined;
235
+ IncludedProperties?: IncludedProperty[] | undefined;
236
+ Filters?: SearchFilter | undefined;
237
+ ResourcePolicy?: string | undefined;
238
+ Version?: string | undefined;
239
239
  }
240
240
  export interface GetManagedViewOutput {
241
- ManagedView?: ManagedView;
241
+ ManagedView?: ManagedView | undefined;
242
242
  }
243
243
  export interface ListIndexesForMembersInput {
244
244
  AccountIdList: string[] | undefined;
245
- MaxResults?: number;
246
- NextToken?: string;
245
+ MaxResults?: number | undefined;
246
+ NextToken?: string | undefined;
247
247
  }
248
248
  export interface MemberIndex {
249
- AccountId?: string;
250
- Region?: string;
251
- Arn?: string;
252
- Type?: IndexType;
249
+ AccountId?: string | undefined;
250
+ Region?: string | undefined;
251
+ Arn?: string | undefined;
252
+ Type?: IndexType | undefined;
253
253
  }
254
254
  export interface ListIndexesForMembersOutput {
255
- Indexes?: MemberIndex[];
256
- NextToken?: string;
255
+ Indexes?: MemberIndex[] | undefined;
256
+ NextToken?: string | undefined;
257
257
  }
258
258
  export interface ListManagedViewsInput {
259
- MaxResults?: number;
260
- NextToken?: string;
261
- ServicePrincipal?: string;
259
+ MaxResults?: number | undefined;
260
+ NextToken?: string | undefined;
261
+ ServicePrincipal?: string | undefined;
262
262
  }
263
263
  export interface ListManagedViewsOutput {
264
- NextToken?: string;
265
- ManagedViews?: string[];
264
+ NextToken?: string | undefined;
265
+ ManagedViews?: string[] | undefined;
266
266
  }
267
267
  export interface ListResourcesInput {
268
- Filters?: SearchFilter;
269
- MaxResults?: number;
270
- ViewArn?: string;
271
- NextToken?: string;
268
+ Filters?: SearchFilter | undefined;
269
+ MaxResults?: number | undefined;
270
+ ViewArn?: string | undefined;
271
+ NextToken?: string | undefined;
272
272
  }
273
273
  export interface ResourceProperty {
274
- Name?: string;
275
- LastReportedAt?: Date;
276
- Data?: __DocumentType;
274
+ Name?: string | undefined;
275
+ LastReportedAt?: Date | undefined;
276
+ Data?: __DocumentType | undefined;
277
277
  }
278
278
  export interface Resource {
279
- Arn?: string;
280
- OwningAccountId?: string;
281
- Region?: string;
282
- ResourceType?: string;
283
- Service?: string;
284
- LastReportedAt?: Date;
285
- Properties?: ResourceProperty[];
279
+ Arn?: string | undefined;
280
+ OwningAccountId?: string | undefined;
281
+ Region?: string | undefined;
282
+ ResourceType?: string | undefined;
283
+ Service?: string | undefined;
284
+ LastReportedAt?: Date | undefined;
285
+ Properties?: ResourceProperty[] | undefined;
286
286
  }
287
287
  export interface ListResourcesOutput {
288
- Resources?: Resource[];
289
- NextToken?: string;
290
- ViewArn?: string;
288
+ Resources?: Resource[] | undefined;
289
+ NextToken?: string | undefined;
290
+ ViewArn?: string | undefined;
291
291
  }
292
292
  export interface ListSupportedResourceTypesInput {
293
- NextToken?: string;
294
- MaxResults?: number;
293
+ NextToken?: string | undefined;
294
+ MaxResults?: number | undefined;
295
295
  }
296
296
  export interface SupportedResourceType {
297
- Service?: string;
298
- ResourceType?: string;
297
+ Service?: string | undefined;
298
+ ResourceType?: string | undefined;
299
299
  }
300
300
  export interface ListSupportedResourceTypesOutput {
301
- ResourceTypes?: SupportedResourceType[];
302
- NextToken?: string;
301
+ ResourceTypes?: SupportedResourceType[] | undefined;
302
+ NextToken?: string | undefined;
303
303
  }
304
304
  export interface ListTagsForResourceInput {
305
305
  resourceArn: string | undefined;
306
306
  }
307
307
  export interface ListTagsForResourceOutput {
308
- Tags?: Record<string, string>;
308
+ Tags?: Record<string, string> | undefined;
309
309
  }
310
310
  export interface ResourceCount {
311
- TotalResources?: number;
312
- Complete?: boolean;
311
+ TotalResources?: number | undefined;
312
+ Complete?: boolean | undefined;
313
313
  }
314
314
  export interface SearchInput {
315
315
  QueryString: string | undefined;
316
- MaxResults?: number;
317
- ViewArn?: string;
318
- NextToken?: string;
316
+ MaxResults?: number | undefined;
317
+ ViewArn?: string | undefined;
318
+ NextToken?: string | undefined;
319
319
  }
320
320
  export interface SearchOutput {
321
- Resources?: Resource[];
322
- NextToken?: string;
323
- ViewArn?: string;
324
- Count?: ResourceCount;
321
+ Resources?: Resource[] | undefined;
322
+ NextToken?: string | undefined;
323
+ ViewArn?: string | undefined;
324
+ Count?: ResourceCount | undefined;
325
325
  }
326
326
  export interface TagResourceInput {
327
327
  resourceArn: string | undefined;
328
- Tags?: Record<string, string>;
328
+ Tags?: Record<string, string> | undefined;
329
329
  }
330
330
  export interface TagResourceOutput {}
331
331
  export interface UntagResourceInput {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-explorer-2",
3
3
  "description": "AWS SDK for JavaScript Resource Explorer 2 Client for Node.js, Browser and React Native",
4
- "version": "3.687.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-resource-explorer-2",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",