@aws-sdk/client-grafana 3.948.0 → 3.953.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.
Files changed (45) hide show
  1. package/dist-cjs/index.js +372 -234
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AssociateLicenseCommand.js +2 -2
  4. package/dist-es/commands/CreateWorkspaceApiKeyCommand.js +2 -2
  5. package/dist-es/commands/CreateWorkspaceCommand.js +2 -2
  6. package/dist-es/commands/CreateWorkspaceServiceAccountCommand.js +2 -2
  7. package/dist-es/commands/CreateWorkspaceServiceAccountTokenCommand.js +2 -2
  8. package/dist-es/commands/DeleteWorkspaceApiKeyCommand.js +2 -2
  9. package/dist-es/commands/DeleteWorkspaceCommand.js +2 -2
  10. package/dist-es/commands/DeleteWorkspaceServiceAccountCommand.js +2 -2
  11. package/dist-es/commands/DeleteWorkspaceServiceAccountTokenCommand.js +2 -2
  12. package/dist-es/commands/DescribeWorkspaceAuthenticationCommand.js +2 -2
  13. package/dist-es/commands/DescribeWorkspaceCommand.js +2 -2
  14. package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +2 -2
  15. package/dist-es/commands/DisassociateLicenseCommand.js +2 -2
  16. package/dist-es/commands/ListPermissionsCommand.js +2 -2
  17. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  18. package/dist-es/commands/ListVersionsCommand.js +2 -2
  19. package/dist-es/commands/ListWorkspaceServiceAccountTokensCommand.js +2 -2
  20. package/dist-es/commands/ListWorkspaceServiceAccountsCommand.js +2 -2
  21. package/dist-es/commands/ListWorkspacesCommand.js +2 -2
  22. package/dist-es/commands/TagResourceCommand.js +2 -2
  23. package/dist-es/commands/UntagResourceCommand.js +2 -2
  24. package/dist-es/commands/UpdatePermissionsCommand.js +2 -2
  25. package/dist-es/commands/UpdateWorkspaceAuthenticationCommand.js +2 -2
  26. package/dist-es/commands/UpdateWorkspaceCommand.js +2 -2
  27. package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +2 -2
  28. package/dist-es/index.js +1 -0
  29. package/dist-es/runtimeConfig.shared.js +6 -1
  30. package/dist-es/schemas/schemas_0.js +242 -207
  31. package/dist-types/GrafanaClient.d.ts +1 -10
  32. package/dist-types/index.d.ts +1 -0
  33. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  34. package/dist-types/runtimeConfig.d.ts +6 -2
  35. package/dist-types/runtimeConfig.native.d.ts +6 -2
  36. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  37. package/dist-types/schemas/schemas_0.d.ts +104 -132
  38. package/dist-types/ts3.4/GrafanaClient.d.ts +0 -4
  39. package/dist-types/ts3.4/index.d.ts +1 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  44. package/dist-types/ts3.4/schemas/schemas_0.d.ts +103 -133
  45. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.grafana" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.grafana",
32
+ version: "2020-08-18",
33
+ serviceTarget: "AWSGrafanaControlPlane",
34
+ },
30
35
  serviceId: config?.serviceId ?? "grafana",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AssociateLicense } from "../schemas/schemas_0";
4
+ import { AssociateLicense$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AssociateLicenseCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AssociateLicenseCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "AssociateLicense", {})
13
13
  .n("GrafanaClient", "AssociateLicenseCommand")
14
- .sc(AssociateLicense)
14
+ .sc(AssociateLicense$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateWorkspaceApiKey } from "../schemas/schemas_0";
4
+ import { CreateWorkspaceApiKey$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateWorkspaceApiKeyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateWorkspaceApiKeyCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "CreateWorkspaceApiKey", {})
13
13
  .n("GrafanaClient", "CreateWorkspaceApiKeyCommand")
14
- .sc(CreateWorkspaceApiKey)
14
+ .sc(CreateWorkspaceApiKey$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateWorkspace } from "../schemas/schemas_0";
4
+ import { CreateWorkspace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateWorkspaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateWorkspaceCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "CreateWorkspace", {})
13
13
  .n("GrafanaClient", "CreateWorkspaceCommand")
14
- .sc(CreateWorkspace)
14
+ .sc(CreateWorkspace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateWorkspaceServiceAccount } from "../schemas/schemas_0";
4
+ import { CreateWorkspaceServiceAccount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateWorkspaceServiceAccountCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateWorkspaceServiceAccountCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "CreateWorkspaceServiceAccount", {})
13
13
  .n("GrafanaClient", "CreateWorkspaceServiceAccountCommand")
14
- .sc(CreateWorkspaceServiceAccount)
14
+ .sc(CreateWorkspaceServiceAccount$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateWorkspaceServiceAccountToken } from "../schemas/schemas_0";
4
+ import { CreateWorkspaceServiceAccountToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateWorkspaceServiceAccountTokenCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateWorkspaceServiceAccountTokenCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "CreateWorkspaceServiceAccountToken", {})
13
13
  .n("GrafanaClient", "CreateWorkspaceServiceAccountTokenCommand")
14
- .sc(CreateWorkspaceServiceAccountToken)
14
+ .sc(CreateWorkspaceServiceAccountToken$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteWorkspaceApiKey } from "../schemas/schemas_0";
4
+ import { DeleteWorkspaceApiKey$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteWorkspaceApiKeyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteWorkspaceApiKeyCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "DeleteWorkspaceApiKey", {})
13
13
  .n("GrafanaClient", "DeleteWorkspaceApiKeyCommand")
14
- .sc(DeleteWorkspaceApiKey)
14
+ .sc(DeleteWorkspaceApiKey$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteWorkspace } from "../schemas/schemas_0";
4
+ import { DeleteWorkspace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteWorkspaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteWorkspaceCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "DeleteWorkspace", {})
13
13
  .n("GrafanaClient", "DeleteWorkspaceCommand")
14
- .sc(DeleteWorkspace)
14
+ .sc(DeleteWorkspace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteWorkspaceServiceAccount } from "../schemas/schemas_0";
4
+ import { DeleteWorkspaceServiceAccount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteWorkspaceServiceAccountCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteWorkspaceServiceAccountCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "DeleteWorkspaceServiceAccount", {})
13
13
  .n("GrafanaClient", "DeleteWorkspaceServiceAccountCommand")
14
- .sc(DeleteWorkspaceServiceAccount)
14
+ .sc(DeleteWorkspaceServiceAccount$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteWorkspaceServiceAccountToken } from "../schemas/schemas_0";
4
+ import { DeleteWorkspaceServiceAccountToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteWorkspaceServiceAccountTokenCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteWorkspaceServiceAccountTokenCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "DeleteWorkspaceServiceAccountToken", {})
13
13
  .n("GrafanaClient", "DeleteWorkspaceServiceAccountTokenCommand")
14
- .sc(DeleteWorkspaceServiceAccountToken)
14
+ .sc(DeleteWorkspaceServiceAccountToken$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeWorkspaceAuthentication } from "../schemas/schemas_0";
4
+ import { DescribeWorkspaceAuthentication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeWorkspaceAuthenticationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeWorkspaceAuthenticationCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "DescribeWorkspaceAuthentication", {})
13
13
  .n("GrafanaClient", "DescribeWorkspaceAuthenticationCommand")
14
- .sc(DescribeWorkspaceAuthentication)
14
+ .sc(DescribeWorkspaceAuthentication$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeWorkspace } from "../schemas/schemas_0";
4
+ import { DescribeWorkspace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeWorkspaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeWorkspaceCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "DescribeWorkspace", {})
13
13
  .n("GrafanaClient", "DescribeWorkspaceCommand")
14
- .sc(DescribeWorkspace)
14
+ .sc(DescribeWorkspace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeWorkspaceConfiguration } from "../schemas/schemas_0";
4
+ import { DescribeWorkspaceConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeWorkspaceConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeWorkspaceConfigurationCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "DescribeWorkspaceConfiguration", {})
13
13
  .n("GrafanaClient", "DescribeWorkspaceConfigurationCommand")
14
- .sc(DescribeWorkspaceConfiguration)
14
+ .sc(DescribeWorkspaceConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DisassociateLicense } from "../schemas/schemas_0";
4
+ import { DisassociateLicense$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisassociateLicenseCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisassociateLicenseCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "DisassociateLicense", {})
13
13
  .n("GrafanaClient", "DisassociateLicenseCommand")
14
- .sc(DisassociateLicense)
14
+ .sc(DisassociateLicense$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPermissions } from "../schemas/schemas_0";
4
+ import { ListPermissions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPermissionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPermissionsCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "ListPermissions", {})
13
13
  .n("GrafanaClient", "ListPermissionsCommand")
14
- .sc(ListPermissions)
14
+ .sc(ListPermissions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "ListTagsForResource", {})
13
13
  .n("GrafanaClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListVersions } from "../schemas/schemas_0";
4
+ import { ListVersions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListVersionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListVersionsCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "ListVersions", {})
13
13
  .n("GrafanaClient", "ListVersionsCommand")
14
- .sc(ListVersions)
14
+ .sc(ListVersions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListWorkspaceServiceAccountTokens } from "../schemas/schemas_0";
4
+ import { ListWorkspaceServiceAccountTokens$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListWorkspaceServiceAccountTokensCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListWorkspaceServiceAccountTokensCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "ListWorkspaceServiceAccountTokens", {})
13
13
  .n("GrafanaClient", "ListWorkspaceServiceAccountTokensCommand")
14
- .sc(ListWorkspaceServiceAccountTokens)
14
+ .sc(ListWorkspaceServiceAccountTokens$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListWorkspaceServiceAccounts } from "../schemas/schemas_0";
4
+ import { ListWorkspaceServiceAccounts$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListWorkspaceServiceAccountsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListWorkspaceServiceAccountsCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "ListWorkspaceServiceAccounts", {})
13
13
  .n("GrafanaClient", "ListWorkspaceServiceAccountsCommand")
14
- .sc(ListWorkspaceServiceAccounts)
14
+ .sc(ListWorkspaceServiceAccounts$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListWorkspaces } from "../schemas/schemas_0";
4
+ import { ListWorkspaces$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListWorkspacesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListWorkspacesCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "ListWorkspaces", {})
13
13
  .n("GrafanaClient", "ListWorkspacesCommand")
14
- .sc(ListWorkspaces)
14
+ .sc(ListWorkspaces$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "TagResource", {})
13
13
  .n("GrafanaClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "UntagResource", {})
13
13
  .n("GrafanaClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePermissions } from "../schemas/schemas_0";
4
+ import { UpdatePermissions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePermissionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePermissionsCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "UpdatePermissions", {})
13
13
  .n("GrafanaClient", "UpdatePermissionsCommand")
14
- .sc(UpdatePermissions)
14
+ .sc(UpdatePermissions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateWorkspaceAuthentication } from "../schemas/schemas_0";
4
+ import { UpdateWorkspaceAuthentication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateWorkspaceAuthenticationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateWorkspaceAuthenticationCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "UpdateWorkspaceAuthentication", {})
13
13
  .n("GrafanaClient", "UpdateWorkspaceAuthenticationCommand")
14
- .sc(UpdateWorkspaceAuthentication)
14
+ .sc(UpdateWorkspaceAuthentication$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateWorkspace } from "../schemas/schemas_0";
4
+ import { UpdateWorkspace$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateWorkspaceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateWorkspaceCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "UpdateWorkspace", {})
13
13
  .n("GrafanaClient", "UpdateWorkspaceCommand")
14
- .sc(UpdateWorkspace)
14
+ .sc(UpdateWorkspace$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateWorkspaceConfiguration } from "../schemas/schemas_0";
4
+ import { UpdateWorkspaceConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateWorkspaceConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateWorkspaceConfigurationCommand extends $Command
11
11
  })
12
12
  .s("AWSGrafanaControlPlane", "UpdateWorkspaceConfiguration", {})
13
13
  .n("GrafanaClient", "UpdateWorkspaceConfigurationCommand")
14
- .sc(UpdateWorkspaceConfiguration)
14
+ .sc(UpdateWorkspaceConfiguration$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./GrafanaClient";
2
2
  export * from "./Grafana";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.grafana" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.grafana",
29
+ version: "2020-08-18",
30
+ serviceTarget: "AWSGrafanaControlPlane",
31
+ },
27
32
  serviceId: config?.serviceId ?? "grafana",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,