@aws-sdk/client-grafana 3.1087.0 → 3.1089.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 +1 -1
- package/dist-types/ts3.4/Grafana.d.ts +81 -102
- package/dist-types/ts3.4/GrafanaClient.d.ts +16 -29
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/AssociateLicenseCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateWorkspaceApiKeyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateWorkspaceServiceAccountCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateWorkspaceServiceAccountTokenCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteWorkspaceApiKeyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteWorkspaceServiceAccountCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteWorkspaceServiceAccountTokenCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeWorkspaceAuthenticationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DescribeWorkspaceConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DisassociateLicenseCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListWorkspaceServiceAccountTokensCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListWorkspaceServiceAccountsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdatePermissionsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateWorkspaceAuthenticationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateWorkspaceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateWorkspaceConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +4 -8
- package/dist-types/ts3.4/models/errors.d.ts +6 -18
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +38 -38
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
UpdatePermissionsRequest,
|
|
4
|
-
UpdatePermissionsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { UpdatePermissionsRequest, UpdatePermissionsResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface UpdatePermissionsCommandInput
|
|
8
|
-
extends UpdatePermissionsRequest {}
|
|
4
|
+
export interface UpdatePermissionsCommandInput extends UpdatePermissionsRequest {}
|
|
9
5
|
export interface UpdatePermissionsCommandOutput
|
|
10
|
-
extends UpdatePermissionsResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends UpdatePermissionsResponse, __MetadataBearer {}
|
|
12
7
|
declare const UpdatePermissionsCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: UpdatePermissionsCommandInput
|
|
9
|
+
input: UpdatePermissionsCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
UpdatePermissionsCommandInput,
|
|
17
12
|
UpdatePermissionsCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const UpdatePermissionsCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: UpdatePermissionsCommandInput
|
|
18
|
+
input: UpdatePermissionsCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
UpdatePermissionsCommandInput,
|
|
26
21
|
UpdatePermissionsCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
UpdateWorkspaceAuthenticationResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface UpdateWorkspaceAuthenticationCommandInput
|
|
8
|
-
extends UpdateWorkspaceAuthenticationRequest {}
|
|
7
|
+
export interface UpdateWorkspaceAuthenticationCommandInput extends UpdateWorkspaceAuthenticationRequest {}
|
|
9
8
|
export interface UpdateWorkspaceAuthenticationCommandOutput
|
|
10
|
-
extends UpdateWorkspaceAuthenticationResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends UpdateWorkspaceAuthenticationResponse, __MetadataBearer {}
|
|
12
10
|
declare const UpdateWorkspaceAuthenticationCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: UpdateWorkspaceAuthenticationCommandInput
|
|
12
|
+
input: UpdateWorkspaceAuthenticationCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
UpdateWorkspaceAuthenticationCommandInput,
|
|
17
15
|
UpdateWorkspaceAuthenticationCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const UpdateWorkspaceAuthenticationCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: UpdateWorkspaceAuthenticationCommandInput
|
|
21
|
+
input: UpdateWorkspaceAuthenticationCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
UpdateWorkspaceAuthenticationCommandInput,
|
|
26
24
|
UpdateWorkspaceAuthenticationCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
UpdateWorkspaceRequest,
|
|
4
|
-
UpdateWorkspaceResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { UpdateWorkspaceRequest, UpdateWorkspaceResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface UpdateWorkspaceCommandInput extends UpdateWorkspaceRequest {}
|
|
8
|
-
export interface UpdateWorkspaceCommandOutput
|
|
9
|
-
extends UpdateWorkspaceResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface UpdateWorkspaceCommandOutput extends UpdateWorkspaceResponse, __MetadataBearer {}
|
|
11
6
|
declare const UpdateWorkspaceCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: UpdateWorkspaceCommandInput
|
|
8
|
+
input: UpdateWorkspaceCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
UpdateWorkspaceCommandInput,
|
|
16
11
|
UpdateWorkspaceCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const UpdateWorkspaceCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: UpdateWorkspaceCommandInput
|
|
17
|
+
input: UpdateWorkspaceCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
UpdateWorkspaceCommandInput,
|
|
25
20
|
UpdateWorkspaceCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
UpdateWorkspaceConfigurationResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface UpdateWorkspaceConfigurationCommandInput
|
|
8
|
-
extends UpdateWorkspaceConfigurationRequest {}
|
|
7
|
+
export interface UpdateWorkspaceConfigurationCommandInput extends UpdateWorkspaceConfigurationRequest {}
|
|
9
8
|
export interface UpdateWorkspaceConfigurationCommandOutput
|
|
10
|
-
extends UpdateWorkspaceConfigurationResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends UpdateWorkspaceConfigurationResponse, __MetadataBearer {}
|
|
12
10
|
declare const UpdateWorkspaceConfigurationCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: UpdateWorkspaceConfigurationCommandInput
|
|
12
|
+
input: UpdateWorkspaceConfigurationCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
UpdateWorkspaceConfigurationCommandInput,
|
|
17
15
|
UpdateWorkspaceConfigurationCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const UpdateWorkspaceConfigurationCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: UpdateWorkspaceConfigurationCommandInput
|
|
21
|
+
input: UpdateWorkspaceConfigurationCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
UpdateWorkspaceConfigurationCommandInput,
|
|
26
24
|
UpdateWorkspaceConfigurationCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface GrafanaExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -2,8 +2,7 @@ export declare const AccountAccessType: {
|
|
|
2
2
|
readonly CURRENT_ACCOUNT: "CURRENT_ACCOUNT";
|
|
3
3
|
readonly ORGANIZATION: "ORGANIZATION";
|
|
4
4
|
};
|
|
5
|
-
export type AccountAccessType =
|
|
6
|
-
(typeof AccountAccessType)[keyof typeof AccountAccessType];
|
|
5
|
+
export type AccountAccessType = (typeof AccountAccessType)[keyof typeof AccountAccessType];
|
|
7
6
|
export declare const ValidationExceptionReason: {
|
|
8
7
|
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
9
8
|
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
@@ -40,8 +39,7 @@ export declare const DataSourceType: {
|
|
|
40
39
|
readonly TWINMAKER: "TWINMAKER";
|
|
41
40
|
readonly XRAY: "XRAY";
|
|
42
41
|
};
|
|
43
|
-
export type DataSourceType =
|
|
44
|
-
(typeof DataSourceType)[keyof typeof DataSourceType];
|
|
42
|
+
export type DataSourceType = (typeof DataSourceType)[keyof typeof DataSourceType];
|
|
45
43
|
export declare const IPAddressType: {
|
|
46
44
|
readonly DUAL_STACK: "DualStack";
|
|
47
45
|
readonly IPV4: "IPv4";
|
|
@@ -56,8 +54,7 @@ export declare const PermissionType: {
|
|
|
56
54
|
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
|
|
57
55
|
readonly SERVICE_MANAGED: "SERVICE_MANAGED";
|
|
58
56
|
};
|
|
59
|
-
export type PermissionType =
|
|
60
|
-
(typeof PermissionType)[keyof typeof PermissionType];
|
|
57
|
+
export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
|
|
61
58
|
export declare const WorkspaceStatus: {
|
|
62
59
|
readonly ACTIVE: "ACTIVE";
|
|
63
60
|
readonly CREATING: "CREATING";
|
|
@@ -74,8 +71,7 @@ export declare const WorkspaceStatus: {
|
|
|
74
71
|
readonly VERSION_UPDATE_FAILED: "VERSION_UPDATE_FAILED";
|
|
75
72
|
readonly VERSION_UPDATING: "VERSION_UPDATING";
|
|
76
73
|
};
|
|
77
|
-
export type WorkspaceStatus =
|
|
78
|
-
(typeof WorkspaceStatus)[keyof typeof WorkspaceStatus];
|
|
74
|
+
export type WorkspaceStatus = (typeof WorkspaceStatus)[keyof typeof WorkspaceStatus];
|
|
79
75
|
export declare const UserType: {
|
|
80
76
|
readonly SSO_GROUP: "SSO_GROUP";
|
|
81
77
|
readonly SSO_USER: "SSO_USER";
|
|
@@ -5,9 +5,7 @@ import { ValidationExceptionField } from "./models_0";
|
|
|
5
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
6
6
|
readonly name: "AccessDeniedException";
|
|
7
7
|
readonly $fault: "client";
|
|
8
|
-
constructor(
|
|
9
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
-
);
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
11
9
|
}
|
|
12
10
|
export declare class ConflictException extends __BaseException {
|
|
13
11
|
readonly name: "ConflictException";
|
|
@@ -21,18 +19,14 @@ export declare class InternalServerException extends __BaseException {
|
|
|
21
19
|
readonly $fault: "server";
|
|
22
20
|
$retryable: {};
|
|
23
21
|
retryAfterSeconds?: number | undefined;
|
|
24
|
-
constructor(
|
|
25
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
26
|
-
);
|
|
22
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
27
23
|
}
|
|
28
24
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
29
25
|
readonly name: "ResourceNotFoundException";
|
|
30
26
|
readonly $fault: "client";
|
|
31
27
|
resourceId: string | undefined;
|
|
32
28
|
resourceType: string | undefined;
|
|
33
|
-
constructor(
|
|
34
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
35
|
-
);
|
|
29
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
36
30
|
}
|
|
37
31
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
38
32
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -41,9 +35,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
41
35
|
resourceType: string | undefined;
|
|
42
36
|
serviceCode: string | undefined;
|
|
43
37
|
quotaCode: string | undefined;
|
|
44
|
-
constructor(
|
|
45
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
46
|
-
);
|
|
38
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
47
39
|
}
|
|
48
40
|
export declare class ThrottlingException extends __BaseException {
|
|
49
41
|
readonly name: "ThrottlingException";
|
|
@@ -52,16 +44,12 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
52
44
|
serviceCode?: string | undefined;
|
|
53
45
|
quotaCode?: string | undefined;
|
|
54
46
|
retryAfterSeconds?: number | undefined;
|
|
55
|
-
constructor(
|
|
56
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
57
|
-
);
|
|
47
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
58
48
|
}
|
|
59
49
|
export declare class ValidationException extends __BaseException {
|
|
60
50
|
readonly name: "ValidationException";
|
|
61
51
|
readonly $fault: "client";
|
|
62
52
|
reason: ValidationExceptionReason | undefined;
|
|
63
53
|
fieldList?: ValidationExceptionField[] | undefined;
|
|
64
|
-
constructor(
|
|
65
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
66
|
-
);
|
|
54
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
67
55
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { GrafanaClient } from "../GrafanaClient";
|
|
3
|
-
export interface GrafanaPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface GrafanaPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: GrafanaClient;
|
|
6
5
|
}
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
94
81
|
signer?:
|
|
95
82
|
| import("@smithy/types").RequestSigner
|
|
96
83
|
| ((
|
|
97
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
98
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
99
86
|
signingEscapePath?: boolean;
|
|
100
87
|
systemClockOffset?: number;
|
|
101
88
|
signingRegion?: string;
|
|
102
89
|
signerConstructor?: new (
|
|
103
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
104
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
105
92
|
) => import("@smithy/types").RequestSigner;
|
|
106
93
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
89
81
|
signer?:
|
|
90
82
|
| import("@smithy/types").RequestSigner
|
|
91
83
|
| ((
|
|
92
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
93
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
86
|
signingEscapePath?: boolean;
|
|
95
87
|
systemClockOffset?: number;
|
|
96
88
|
signingRegion?: string;
|
|
97
89
|
signerConstructor?: new (
|
|
98
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
100
92
|
) => import("@smithy/types").RequestSigner;
|
|
101
93
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
98
85
|
signer?:
|
|
99
86
|
| import("@smithy/types").RequestSigner
|
|
100
87
|
| ((
|
|
101
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
102
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
103
90
|
signingEscapePath?: boolean;
|
|
104
91
|
systemClockOffset?: number;
|
|
105
92
|
signingRegion?: string;
|
|
106
93
|
signerConstructor?: new (
|
|
107
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
108
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
109
96
|
) => import("@smithy/types").RequestSigner;
|
|
110
97
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: GrafanaClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GrafanaHttpAuthSchemeProvider;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-grafana",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Grafana Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-grafana",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-grafana"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-grafana",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-grafana"
|
|
68
68
|
}
|
|
69
69
|
}
|