@aws-sdk/client-resource-explorer-2 3.1074.0 → 3.1076.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.
- package/dist-cjs/index.js +1236 -15
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +18 -6
- package/dist-types/commands/GetServiceViewCommand.d.ts +5 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +1 -0
- package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +3 -0
- package/dist-types/commands/SearchCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +37 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/ResourceExplorer2ServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -119
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -879
package/dist-es/models/enums.js
CHANGED
|
@@ -15,12 +15,14 @@ const _BGVO = "BatchGetViewOutput";
|
|
|
15
15
|
const _C = "Code";
|
|
16
16
|
const _CA = "CreatedAt";
|
|
17
17
|
const _CE = "ConflictException";
|
|
18
|
+
const _CFNRT = "CFNResourceTypes";
|
|
18
19
|
const _CI = "CreateIndex";
|
|
19
20
|
const _CII = "CreateIndexInput";
|
|
20
21
|
const _CIO = "CreateIndexOutput";
|
|
21
22
|
const _CRES = "CreateResourceExplorerSetup";
|
|
22
23
|
const _CRESI = "CreateResourceExplorerSetupInput";
|
|
23
24
|
const _CRESO = "CreateResourceExplorerSetupOutput";
|
|
25
|
+
const _CRT = "CfnResourceType";
|
|
24
26
|
const _CT = "ClientToken";
|
|
25
27
|
const _CV = "CreateView";
|
|
26
28
|
const _CVI = "CreateViewInput";
|
|
@@ -125,6 +127,7 @@ const _RC = "ResourceCount";
|
|
|
125
127
|
const _RF = "ReplicatingFrom";
|
|
126
128
|
const _RL = "RegionList";
|
|
127
129
|
const _RLe = "ResourceList";
|
|
130
|
+
const _RN = "RecorderName";
|
|
128
131
|
const _RNFE = "ResourceNotFoundException";
|
|
129
132
|
const _RP = "ResourcePolicy";
|
|
130
133
|
const _RPL = "ResourcePropertyList";
|
|
@@ -134,6 +137,7 @@ const _RSL = "RegionStatusList";
|
|
|
134
137
|
const _RT = "ReplicatingTo";
|
|
135
138
|
const _RTL = "ResourceTypeList";
|
|
136
139
|
const _RTe = "ResourceTypes";
|
|
140
|
+
const _RTec = "RecorderType";
|
|
137
141
|
const _RTes = "ResourceType";
|
|
138
142
|
const _Re = "Region";
|
|
139
143
|
const _Res = "Resources";
|
|
@@ -147,6 +151,8 @@ const _SF = "SearchFilter";
|
|
|
147
151
|
const _SI = "SearchInput";
|
|
148
152
|
const _SL = "StringList";
|
|
149
153
|
const _SLR = "ServiceLinkedRole";
|
|
154
|
+
const _SLRI = "ServiceLinkedRecorderInfo";
|
|
155
|
+
const _SLRe = "ServiceLinkedRecorder";
|
|
150
156
|
const _SO = "SearchOutput";
|
|
151
157
|
const _SP = "ServicePrincipal";
|
|
152
158
|
const _SQEE = "ServiceQuotaExceededException";
|
|
@@ -550,8 +556,8 @@ export var RegionStatus$ = [3, n0, _RS,
|
|
|
550
556
|
];
|
|
551
557
|
export var Resource$ = [3, n0, _Reso,
|
|
552
558
|
0,
|
|
553
|
-
[_A, _OAI, _Re, _RTes, _Se, _LRA, _P],
|
|
554
|
-
[0, 0, 0, 0, 0, 5, () => ResourcePropertyList]
|
|
559
|
+
[_A, _OAI, _Re, _RTes, _Se, _CRT, _LRA, _P],
|
|
560
|
+
[0, 0, 0, 0, 0, 0, 5, () => ResourcePropertyList]
|
|
555
561
|
];
|
|
556
562
|
export var ResourceCount$ = [3, n0, _RC,
|
|
557
563
|
0,
|
|
@@ -578,10 +584,15 @@ export var SearchOutput$ = [3, n0, _SO,
|
|
|
578
584
|
[_Res, _NT, _VA, _Cou],
|
|
579
585
|
[() => ResourceList, 0, 0, () => ResourceCount$]
|
|
580
586
|
];
|
|
587
|
+
export var ServiceLinkedRecorderInfo$ = [3, n0, _SLRI,
|
|
588
|
+
0,
|
|
589
|
+
[_SP, _RN, _RTec],
|
|
590
|
+
[0, 0, 0]
|
|
591
|
+
];
|
|
581
592
|
export var ServiceView$ = [3, n0, _SVe,
|
|
582
593
|
0,
|
|
583
|
-
[_SVA, _SVN, _F, _IP, _SAFSt, _ST],
|
|
584
|
-
[0, 0, [() => SearchFilter$, 0], () => IncludedPropertyList, 0, 0], 1
|
|
594
|
+
[_SVA, _SVN, _F, _IP, _SAFSt, _ST, _SLRe],
|
|
595
|
+
[0, 0, [() => SearchFilter$, 0], () => IncludedPropertyList, 0, 0, () => ServiceLinkedRecorderInfo$], 1
|
|
585
596
|
];
|
|
586
597
|
export var StreamingAccessDetails$ = [3, n0, _SAD,
|
|
587
598
|
0,
|
|
@@ -590,8 +601,8 @@ export var StreamingAccessDetails$ = [3, n0, _SAD,
|
|
|
590
601
|
];
|
|
591
602
|
export var SupportedResourceType$ = [3, n0, _SRT,
|
|
592
603
|
0,
|
|
593
|
-
[_Se, _RTes],
|
|
594
|
-
[0, 0]
|
|
604
|
+
[_Se, _RTes, _CFNRT],
|
|
605
|
+
[0, 0, 64 | 0]
|
|
595
606
|
];
|
|
596
607
|
export var TagResourceInput$ = [3, n0, _TRI,
|
|
597
608
|
0,
|
|
@@ -653,6 +664,7 @@ var AccountIdList = 64 | 0;
|
|
|
653
664
|
var BatchGetViewErrors = [1, n0, _BGVEa,
|
|
654
665
|
0, () => BatchGetViewError$
|
|
655
666
|
];
|
|
667
|
+
var CFNResourceTypeList = 64 | 0;
|
|
656
668
|
var IncludedPropertyList = [1, n0, _IPL,
|
|
657
669
|
0, () => IncludedProperty$
|
|
658
670
|
];
|
|
@@ -57,6 +57,11 @@ declare const GetServiceViewCommand_base: {
|
|
|
57
57
|
* // ],
|
|
58
58
|
* // StreamingAccessForService: "STRING_VALUE",
|
|
59
59
|
* // ScopeType: "STRING_VALUE",
|
|
60
|
+
* // ServiceLinkedRecorder: { // ServiceLinkedRecorderInfo
|
|
61
|
+
* // ServicePrincipal: "STRING_VALUE",
|
|
62
|
+
* // RecorderName: "STRING_VALUE",
|
|
63
|
+
* // RecorderType: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
60
65
|
* // },
|
|
61
66
|
* // };
|
|
62
67
|
*
|
|
@@ -56,6 +56,7 @@ declare const ListResourcesCommand_base: {
|
|
|
56
56
|
* // Region: "STRING_VALUE",
|
|
57
57
|
* // ResourceType: "STRING_VALUE",
|
|
58
58
|
* // Service: "STRING_VALUE",
|
|
59
|
+
* // CfnResourceType: "STRING_VALUE",
|
|
59
60
|
* // LastReportedAt: new Date("TIMESTAMP"),
|
|
60
61
|
* // Properties: [ // ResourcePropertyList
|
|
61
62
|
* // { // ResourceProperty
|
|
@@ -49,6 +49,9 @@ declare const ListSupportedResourceTypesCommand_base: {
|
|
|
49
49
|
* // { // SupportedResourceType
|
|
50
50
|
* // Service: "STRING_VALUE",
|
|
51
51
|
* // ResourceType: "STRING_VALUE",
|
|
52
|
+
* // CFNResourceTypes: [ // CFNResourceTypeList
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
52
55
|
* // },
|
|
53
56
|
* // ],
|
|
54
57
|
* // NextToken: "STRING_VALUE",
|
|
@@ -54,6 +54,7 @@ declare const SearchCommand_base: {
|
|
|
54
54
|
* // Region: "STRING_VALUE",
|
|
55
55
|
* // ResourceType: "STRING_VALUE",
|
|
56
56
|
* // Service: "STRING_VALUE",
|
|
57
|
+
* // CfnResourceType: "STRING_VALUE",
|
|
57
58
|
* // LastReportedAt: new Date("TIMESTAMP"),
|
|
58
59
|
* // Properties: [ // ResourcePropertyList
|
|
59
60
|
* // { // ResourceProperty
|
|
@@ -72,3 +72,15 @@ export declare const OperationStatus: {
|
|
|
72
72
|
* @public
|
|
73
73
|
*/
|
|
74
74
|
export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* @enum
|
|
78
|
+
*/
|
|
79
|
+
export declare const RecorderType: {
|
|
80
|
+
readonly AWS: "AWS";
|
|
81
|
+
readonly THIRD_PARTY: "THIRD_PARTY";
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export type RecorderType = (typeof RecorderType)[keyof typeof RecorderType];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AWSServiceAccessStatus, IndexState, IndexType, OperationStatus } from "./enums";
|
|
2
|
+
import type { AWSServiceAccessStatus, IndexState, IndexType, OperationStatus, RecorderType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -807,6 +807,27 @@ export interface GetServiceViewInput {
|
|
|
807
807
|
*/
|
|
808
808
|
ServiceViewArn: string | undefined;
|
|
809
809
|
}
|
|
810
|
+
/**
|
|
811
|
+
* <p>Contains information about the service-linked recorder paired with a service view.</p>
|
|
812
|
+
* @public
|
|
813
|
+
*/
|
|
814
|
+
export interface ServiceLinkedRecorderInfo {
|
|
815
|
+
/**
|
|
816
|
+
* <p>The service principal of the Amazon Web Services service that owns the service-linked recorder, such as <code>observabilityadmin.amazonaws.com</code>.</p>
|
|
817
|
+
* @public
|
|
818
|
+
*/
|
|
819
|
+
ServicePrincipal?: string | undefined;
|
|
820
|
+
/**
|
|
821
|
+
* <p>The name of the service-linked recorder, such as <code>AWSConfigurationRecorderForObservabilityAdmin</code>.</p>
|
|
822
|
+
* @public
|
|
823
|
+
*/
|
|
824
|
+
RecorderName?: string | undefined;
|
|
825
|
+
/**
|
|
826
|
+
* <p>The type of the recorder. Valid values are <code>AWS</code> and <code>THIRD_PARTY</code>.</p>
|
|
827
|
+
* @public
|
|
828
|
+
*/
|
|
829
|
+
RecorderType?: RecorderType | undefined;
|
|
830
|
+
}
|
|
810
831
|
/**
|
|
811
832
|
* <p>Contains the configuration and properties of a Resource Explorer service view.</p>
|
|
812
833
|
* @public
|
|
@@ -842,6 +863,11 @@ export interface ServiceView {
|
|
|
842
863
|
* @public
|
|
843
864
|
*/
|
|
844
865
|
ScopeType?: string | undefined;
|
|
866
|
+
/**
|
|
867
|
+
* <p>Information about the service-linked recorder associated with this service view. When a service view is paired with a service-linked recorder, Resource Explorer uses the recorder's resource type list to filter search results and streaming data.</p>
|
|
868
|
+
* @public
|
|
869
|
+
*/
|
|
870
|
+
ServiceLinkedRecorder?: ServiceLinkedRecorderInfo | undefined;
|
|
845
871
|
}
|
|
846
872
|
/**
|
|
847
873
|
* @public
|
|
@@ -1025,6 +1051,11 @@ export interface Resource {
|
|
|
1025
1051
|
* @public
|
|
1026
1052
|
*/
|
|
1027
1053
|
Service?: string | undefined;
|
|
1054
|
+
/**
|
|
1055
|
+
* <p>The CloudFormation resource type identifier for the resource, such as <code>AWS::EC2::Instance</code> or <code>AWS::S3::Bucket</code>.</p>
|
|
1056
|
+
* @public
|
|
1057
|
+
*/
|
|
1058
|
+
CfnResourceType?: string | undefined;
|
|
1028
1059
|
/**
|
|
1029
1060
|
* <p>The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.</p>
|
|
1030
1061
|
* @public
|
|
@@ -1197,6 +1228,11 @@ export interface SupportedResourceType {
|
|
|
1197
1228
|
* @public
|
|
1198
1229
|
*/
|
|
1199
1230
|
ResourceType?: string | undefined;
|
|
1231
|
+
/**
|
|
1232
|
+
* <p>The CloudFormation resource type identifiers for this resource type, such as <code>AWS::EC2::Instance</code>.</p>
|
|
1233
|
+
* @public
|
|
1234
|
+
*/
|
|
1235
|
+
CFNResourceTypes?: string[] | undefined;
|
|
1200
1236
|
}
|
|
1201
1237
|
/**
|
|
1202
1238
|
* @public
|
|
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: ResourceExplorer2ClientConfig) =
|
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
|
-
streamCollector: import("
|
|
17
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
20
|
cacheMiddleware?: boolean | undefined;
|
|
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (config: ResourceExplorer2ClientConfig) =
|
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
17
|
sha256: import("@smithy/types").HashConstructor;
|
|
18
|
-
streamCollector: import("
|
|
18
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -15,7 +15,7 @@ export declare const getRuntimeConfig: (config: ResourceExplorer2ClientConfig) =
|
|
|
15
15
|
apiVersion: string;
|
|
16
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
|
-
streamCollector: import("
|
|
18
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
19
|
base64Decoder: import("@smithy/types").Decoder;
|
|
20
20
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
21
21
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -78,6 +78,7 @@ export declare var ResourceProperty$: StaticStructureSchema;
|
|
|
78
78
|
export declare var SearchFilter$: StaticStructureSchema;
|
|
79
79
|
export declare var SearchInput$: StaticStructureSchema;
|
|
80
80
|
export declare var SearchOutput$: StaticStructureSchema;
|
|
81
|
+
export declare var ServiceLinkedRecorderInfo$: StaticStructureSchema;
|
|
81
82
|
export declare var ServiceView$: StaticStructureSchema;
|
|
82
83
|
export declare var StreamingAccessDetails$: StaticStructureSchema;
|
|
83
84
|
export declare var SupportedResourceType$: StaticStructureSchema;
|
|
@@ -25,3 +25,8 @@ export declare const OperationStatus: {
|
|
|
25
25
|
};
|
|
26
26
|
export type OperationStatus =
|
|
27
27
|
(typeof OperationStatus)[keyof typeof OperationStatus];
|
|
28
|
+
export declare const RecorderType: {
|
|
29
|
+
readonly AWS: "AWS";
|
|
30
|
+
readonly THIRD_PARTY: "THIRD_PARTY";
|
|
31
|
+
};
|
|
32
|
+
export type RecorderType = (typeof RecorderType)[keyof typeof RecorderType];
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
IndexState,
|
|
5
5
|
IndexType,
|
|
6
6
|
OperationStatus,
|
|
7
|
+
RecorderType,
|
|
7
8
|
} from "./enums";
|
|
8
9
|
export interface AssociateDefaultViewInput {
|
|
9
10
|
ViewArn: string | undefined;
|
|
@@ -211,6 +212,11 @@ export interface GetServiceIndexOutput {
|
|
|
211
212
|
export interface GetServiceViewInput {
|
|
212
213
|
ServiceViewArn: string | undefined;
|
|
213
214
|
}
|
|
215
|
+
export interface ServiceLinkedRecorderInfo {
|
|
216
|
+
ServicePrincipal?: string | undefined;
|
|
217
|
+
RecorderName?: string | undefined;
|
|
218
|
+
RecorderType?: RecorderType | undefined;
|
|
219
|
+
}
|
|
214
220
|
export interface ServiceView {
|
|
215
221
|
ServiceViewArn: string | undefined;
|
|
216
222
|
ServiceViewName?: string | undefined;
|
|
@@ -218,6 +224,7 @@ export interface ServiceView {
|
|
|
218
224
|
IncludedProperties?: IncludedProperty[] | undefined;
|
|
219
225
|
StreamingAccessForService?: string | undefined;
|
|
220
226
|
ScopeType?: string | undefined;
|
|
227
|
+
ServiceLinkedRecorder?: ServiceLinkedRecorderInfo | undefined;
|
|
221
228
|
}
|
|
222
229
|
export interface GetServiceViewOutput {
|
|
223
230
|
View: ServiceView | undefined;
|
|
@@ -263,6 +270,7 @@ export interface Resource {
|
|
|
263
270
|
Region?: string | undefined;
|
|
264
271
|
ResourceType?: string | undefined;
|
|
265
272
|
Service?: string | undefined;
|
|
273
|
+
CfnResourceType?: string | undefined;
|
|
266
274
|
LastReportedAt?: Date | undefined;
|
|
267
275
|
Properties?: ResourceProperty[] | undefined;
|
|
268
276
|
}
|
|
@@ -307,6 +315,7 @@ export interface ListSupportedResourceTypesInput {
|
|
|
307
315
|
export interface SupportedResourceType {
|
|
308
316
|
Service?: string | undefined;
|
|
309
317
|
ResourceType?: string | undefined;
|
|
318
|
+
CFNResourceTypes?: string[] | undefined;
|
|
310
319
|
}
|
|
311
320
|
export interface ListSupportedResourceTypesOutput {
|
|
312
321
|
ResourceTypes?: SupportedResourceType[] | undefined;
|
|
@@ -23,7 +23,13 @@ export declare const getRuntimeConfig: (
|
|
|
23
23
|
| RequestHandler;
|
|
24
24
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
25
|
sha256: import("@smithy/types").HashConstructor;
|
|
26
|
-
streamCollector:
|
|
26
|
+
streamCollector: (
|
|
27
|
+
stream:
|
|
28
|
+
| import("stream").Readable
|
|
29
|
+
| import("stream/web").ReadableStream
|
|
30
|
+
| ReadableStream
|
|
31
|
+
| Blob
|
|
32
|
+
) => Promise<Uint8Array>;
|
|
27
33
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
34
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
35
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
@@ -24,7 +24,13 @@ export declare const getRuntimeConfig: (
|
|
|
24
24
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
sha256: import("@smithy/types").HashConstructor;
|
|
27
|
-
streamCollector:
|
|
27
|
+
streamCollector: (
|
|
28
|
+
stream:
|
|
29
|
+
| import("stream").Readable
|
|
30
|
+
| import("stream/web").ReadableStream
|
|
31
|
+
| ReadableStream
|
|
32
|
+
| Blob
|
|
33
|
+
) => Promise<Uint8Array>;
|
|
28
34
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
35
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
30
36
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -22,7 +22,13 @@ export declare const getRuntimeConfig: (
|
|
|
22
22
|
apiVersion: string;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
24
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
|
-
streamCollector:
|
|
25
|
+
streamCollector: (
|
|
26
|
+
stream:
|
|
27
|
+
| import("stream").Readable
|
|
28
|
+
| import("stream/web").ReadableStream
|
|
29
|
+
| ReadableStream
|
|
30
|
+
| Blob
|
|
31
|
+
) => Promise<Uint8Array>;
|
|
26
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
27
33
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
28
34
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -77,6 +77,7 @@ export declare var ResourceProperty$: StaticStructureSchema;
|
|
|
77
77
|
export declare var SearchFilter$: StaticStructureSchema;
|
|
78
78
|
export declare var SearchInput$: StaticStructureSchema;
|
|
79
79
|
export declare var SearchOutput$: StaticStructureSchema;
|
|
80
|
+
export declare var ServiceLinkedRecorderInfo$: StaticStructureSchema;
|
|
80
81
|
export declare var ServiceView$: StaticStructureSchema;
|
|
81
82
|
export declare var StreamingAccessDetails$: StaticStructureSchema;
|
|
82
83
|
export declare var SupportedResourceType$: StaticStructureSchema;
|
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.
|
|
4
|
+
"version": "3.1076.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/types": "^3.973.
|
|
27
|
-
"@smithy/core": "^3.
|
|
28
|
-
"@smithy/fetch-http-handler": "^5.
|
|
29
|
-
"@smithy/node-http-handler": "^4.
|
|
30
|
-
"@smithy/types": "^4.
|
|
24
|
+
"@aws-sdk/core": "^3.974.24",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.59",
|
|
26
|
+
"@aws-sdk/types": "^3.973.14",
|
|
27
|
+
"@smithy/core": "^3.27.0",
|
|
28
|
+
"@smithy/fetch-http-handler": "^5.6.0",
|
|
29
|
+
"@smithy/node-http-handler": "^4.9.0",
|
|
30
|
+
"@smithy/types": "^4.15.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
-
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
-
exports.defaultResourceExplorer2HttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
|
-
return {
|
|
5
|
-
operation: getSmithyContext(context).operation,
|
|
6
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
-
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
-
})(),
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
12
|
-
return {
|
|
13
|
-
schemeId: "aws.auth#sigv4",
|
|
14
|
-
signingProperties: {
|
|
15
|
-
name: "resource-explorer-2",
|
|
16
|
-
region: authParameters.region,
|
|
17
|
-
},
|
|
18
|
-
propertiesExtractor: (config, context) => ({
|
|
19
|
-
signingProperties: {
|
|
20
|
-
config,
|
|
21
|
-
context,
|
|
22
|
-
},
|
|
23
|
-
}),
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
exports.defaultResourceExplorer2HttpAuthSchemeProvider = (authParameters) => {
|
|
27
|
-
const options = [];
|
|
28
|
-
switch (authParameters.operation) {
|
|
29
|
-
default: {
|
|
30
|
-
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return options;
|
|
34
|
-
};
|
|
35
|
-
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
-
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
37
|
-
return Object.assign(config_0, {
|
|
38
|
-
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
39
|
-
});
|
|
40
|
-
};
|
package/dist-cjs/endpoint/bdd.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
2
|
-
const k = "ref";
|
|
3
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
|
-
const _data = {
|
|
5
|
-
conditions: [
|
|
6
|
-
[c, [g]],
|
|
7
|
-
[c, j],
|
|
8
|
-
["aws.partition", j, d],
|
|
9
|
-
[e, [{ [k]: "UseFIPS" }, b]],
|
|
10
|
-
[e, [{ [k]: "UseDualStack" }, b]],
|
|
11
|
-
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
12
|
-
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
13
|
-
],
|
|
14
|
-
results: [
|
|
15
|
-
[a],
|
|
16
|
-
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
17
|
-
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
18
|
-
[g, i],
|
|
19
|
-
["https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
20
|
-
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
21
|
-
["https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
22
|
-
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
23
|
-
["https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
24
|
-
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
25
|
-
["https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
26
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
27
|
-
]
|
|
28
|
-
};
|
|
29
|
-
const root = 2;
|
|
30
|
-
const r = 100_000_000;
|
|
31
|
-
const nodes = new Int32Array([
|
|
32
|
-
-1, 1, -1,
|
|
33
|
-
0, 12, 3,
|
|
34
|
-
1, 4, r + 11,
|
|
35
|
-
2, 5, r + 11,
|
|
36
|
-
3, 8, 6,
|
|
37
|
-
4, 7, r + 10,
|
|
38
|
-
5, r + 8, r + 9,
|
|
39
|
-
4, 10, 9,
|
|
40
|
-
6, r + 6, r + 7,
|
|
41
|
-
5, 11, r + 5,
|
|
42
|
-
6, r + 4, r + 5,
|
|
43
|
-
3, r + 1, 13,
|
|
44
|
-
4, r + 2, r + 3,
|
|
45
|
-
]);
|
|
46
|
-
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
-
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
-
const { bdd } = require("./bdd");
|
|
4
|
-
const cache = new EndpointCache({
|
|
5
|
-
size: 50,
|
|
6
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
-
});
|
|
8
|
-
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
-
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
10
|
-
endpointParams: endpointParams,
|
|
11
|
-
logger: context.logger,
|
|
12
|
-
}));
|
|
13
|
-
};
|
|
14
|
-
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
-
exports.__ServiceException = __ServiceException;
|
|
3
|
-
exports.ResourceExplorer2ServiceException = class ResourceExplorer2ServiceException extends __ServiceException {
|
|
4
|
-
constructor(options) {
|
|
5
|
-
super(options);
|
|
6
|
-
Object.setPrototypeOf(this, ResourceExplorer2ServiceException.prototype);
|
|
7
|
-
}
|
|
8
|
-
};
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
const { ResourceExplorer2ServiceException: __BaseException } = require("./ResourceExplorer2ServiceException");
|
|
2
|
-
exports.AccessDeniedException = class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
exports.InternalServerException = class InternalServerException extends __BaseException {
|
|
17
|
-
name = "InternalServerException";
|
|
18
|
-
$fault = "server";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "InternalServerException",
|
|
23
|
-
$fault: "server",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
|
|
31
|
-
name = "ResourceNotFoundException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
Message;
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "ResourceNotFoundException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
41
|
-
this.Message = opts.Message;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
exports.ThrottlingException = class ThrottlingException extends __BaseException {
|
|
45
|
-
name = "ThrottlingException";
|
|
46
|
-
$fault = "client";
|
|
47
|
-
Message;
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "ThrottlingException",
|
|
51
|
-
$fault: "client",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
55
|
-
this.Message = opts.Message;
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
exports.ValidationException = class ValidationException extends __BaseException {
|
|
59
|
-
name = "ValidationException";
|
|
60
|
-
$fault = "client";
|
|
61
|
-
Message;
|
|
62
|
-
FieldList;
|
|
63
|
-
constructor(opts) {
|
|
64
|
-
super({
|
|
65
|
-
name: "ValidationException",
|
|
66
|
-
$fault: "client",
|
|
67
|
-
...opts,
|
|
68
|
-
});
|
|
69
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
70
|
-
this.Message = opts.Message;
|
|
71
|
-
this.FieldList = opts.FieldList;
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
exports.UnauthorizedException = class UnauthorizedException extends __BaseException {
|
|
75
|
-
name = "UnauthorizedException";
|
|
76
|
-
$fault = "client";
|
|
77
|
-
Message;
|
|
78
|
-
constructor(opts) {
|
|
79
|
-
super({
|
|
80
|
-
name: "UnauthorizedException",
|
|
81
|
-
$fault: "client",
|
|
82
|
-
...opts,
|
|
83
|
-
});
|
|
84
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
85
|
-
this.Message = opts.Message;
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
exports.ConflictException = class ConflictException extends __BaseException {
|
|
89
|
-
name = "ConflictException";
|
|
90
|
-
$fault = "client";
|
|
91
|
-
Message;
|
|
92
|
-
constructor(opts) {
|
|
93
|
-
super({
|
|
94
|
-
name: "ConflictException",
|
|
95
|
-
$fault: "client",
|
|
96
|
-
...opts,
|
|
97
|
-
});
|
|
98
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
99
|
-
this.Message = opts.Message;
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
exports.ServiceQuotaExceededException = class ServiceQuotaExceededException extends __BaseException {
|
|
103
|
-
name = "ServiceQuotaExceededException";
|
|
104
|
-
$fault = "client";
|
|
105
|
-
Message;
|
|
106
|
-
Name;
|
|
107
|
-
Value;
|
|
108
|
-
constructor(opts) {
|
|
109
|
-
super({
|
|
110
|
-
name: "ServiceQuotaExceededException",
|
|
111
|
-
$fault: "client",
|
|
112
|
-
...opts,
|
|
113
|
-
});
|
|
114
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
115
|
-
this.Message = opts.Message;
|
|
116
|
-
this.Name = opts.Name;
|
|
117
|
-
this.Value = opts.Value;
|
|
118
|
-
}
|
|
119
|
-
};
|