@aws-sdk/client-grafana 3.1046.0 → 3.1047.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 CHANGED
@@ -493,6 +493,10 @@ const DataSourceType = {
493
493
  TWINMAKER: "TWINMAKER",
494
494
  XRAY: "XRAY",
495
495
  };
496
+ const IPAddressType = {
497
+ DUAL_STACK: "DualStack",
498
+ IPV4: "IPv4",
499
+ };
496
500
  const NotificationDestinationType = {
497
501
  SNS: "SNS",
498
502
  };
@@ -550,6 +554,7 @@ exports.DescribeWorkspaceConfigurationCommand = DescribeWorkspaceConfigurationCo
550
554
  exports.DisassociateLicenseCommand = DisassociateLicenseCommand;
551
555
  exports.Grafana = Grafana;
552
556
  exports.GrafanaClient = GrafanaClient;
557
+ exports.IPAddressType = IPAddressType;
553
558
  exports.LicenseType = LicenseType;
554
559
  exports.ListPermissionsCommand = ListPermissionsCommand;
555
560
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -162,6 +162,7 @@ const _hE = "httpError";
162
162
  const _hH = "httpHeader";
163
163
  const _hQ = "httpQuery";
164
164
  const _i = "id";
165
+ const _iAT = "ipAddressType";
165
166
  const _iD = "isDisabled";
166
167
  const _iM = "idpMetadata";
167
168
  const _k = "key";
@@ -340,8 +341,8 @@ exports.CreateWorkspaceApiKeyResponse$ = [3, n0, _CWAKRr,
340
341
  ];
341
342
  exports.CreateWorkspaceRequest$ = [3, n0, _CWR,
342
343
  0,
343
- [_aAT, _pT, _aP, _cT, _oRN, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _t, _vC, _co, _nAC, _gV, _kKI],
344
- [0, 0, 64 | 0, [0, 4], [() => OrganizationRoleName, 0], 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], 128 | 0, () => exports.VpcConfiguration$, [() => OverridableConfigurationJson, 0], () => exports.NetworkAccessConfiguration$, 0, 0], 3
344
+ [_aAT, _pT, _aP, _cT, _oRN, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _t, _vC, _co, _nAC, _gV, _iAT, _kKI],
345
+ [0, 0, 64 | 0, [0, 4], [() => OrganizationRoleName, 0], 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], 128 | 0, () => exports.VpcConfiguration$, [() => OverridableConfigurationJson, 0], () => exports.NetworkAccessConfiguration$, 0, 0, 0], 3
345
346
  ];
346
347
  exports.CreateWorkspaceResponse$ = [3, n0, _CWRr,
347
348
  0,
@@ -610,8 +611,8 @@ exports.UpdateWorkspaceConfigurationResponse$ = [3, n0, _UWCRp,
610
611
  ];
611
612
  exports.UpdateWorkspaceRequest$ = [3, n0, _UWR,
612
613
  0,
613
- [_wI, _aAT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC],
614
- [[0, 1], 0, [() => OrganizationRoleName, 0], 0, 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], () => exports.VpcConfiguration$, 2, () => exports.NetworkAccessConfiguration$, 2], 1
614
+ [_wI, _aAT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC, _iAT],
615
+ [[0, 1], 0, [() => OrganizationRoleName, 0], 0, 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], () => exports.VpcConfiguration$, 2, () => exports.NetworkAccessConfiguration$, 2, 0], 1
615
616
  ];
616
617
  exports.UpdateWorkspaceResponse$ = [3, n0, _UWRp,
617
618
  0,
@@ -635,8 +636,8 @@ exports.VpcConfiguration$ = [3, n0, _VC,
635
636
  ];
636
637
  exports.WorkspaceDescription$ = [3, n0, _WD,
637
638
  0,
638
- [_cr, _dS, _en, _gV, _i, _mo, _st, _au, _aAT, _d, _n, _oRN, _nD, _oU, _pT, _sSN, _wRA, _lT, _fTC, _lE, _fTE, _t, _vC, _nAC, _gT, _kKI],
639
- [4, 64 | 0, 0, 0, 0, 4, 0, () => exports.AuthenticationSummary$, 0, [() => Description, 0], [() => WorkspaceName, 0], [() => OrganizationRoleName, 0], 64 | 0, [() => OrganizationalUnitList, 0], 0, 0, [() => IamRoleArn, 0], 0, 2, 4, 4, 128 | 0, () => exports.VpcConfiguration$, () => exports.NetworkAccessConfiguration$, 0, 0], 8
639
+ [_cr, _dS, _en, _gV, _i, _mo, _st, _au, _aAT, _d, _n, _oRN, _nD, _oU, _pT, _sSN, _wRA, _lT, _fTC, _lE, _fTE, _t, _vC, _nAC, _gT, _iAT, _kKI],
640
+ [4, 64 | 0, 0, 0, 0, 4, 0, () => exports.AuthenticationSummary$, 0, [() => Description, 0], [() => WorkspaceName, 0], [() => OrganizationRoleName, 0], 64 | 0, [() => OrganizationalUnitList, 0], 0, 0, [() => IamRoleArn, 0], 0, 2, 4, 4, 128 | 0, () => exports.VpcConfiguration$, () => exports.NetworkAccessConfiguration$, 0, 0, 0], 8
640
641
  ];
641
642
  exports.WorkspaceSummary$ = [3, n0, _WS,
642
643
  0,
@@ -31,6 +31,10 @@ export const DataSourceType = {
31
31
  TWINMAKER: "TWINMAKER",
32
32
  XRAY: "XRAY",
33
33
  };
34
+ export const IPAddressType = {
35
+ DUAL_STACK: "DualStack",
36
+ IPV4: "IPv4",
37
+ };
34
38
  export const NotificationDestinationType = {
35
39
  SNS: "SNS",
36
40
  };
@@ -157,6 +157,7 @@ const _hE = "httpError";
157
157
  const _hH = "httpHeader";
158
158
  const _hQ = "httpQuery";
159
159
  const _i = "id";
160
+ const _iAT = "ipAddressType";
160
161
  const _iD = "isDisabled";
161
162
  const _iM = "idpMetadata";
162
163
  const _k = "key";
@@ -335,8 +336,8 @@ export var CreateWorkspaceApiKeyResponse$ = [3, n0, _CWAKRr,
335
336
  ];
336
337
  export var CreateWorkspaceRequest$ = [3, n0, _CWR,
337
338
  0,
338
- [_aAT, _pT, _aP, _cT, _oRN, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _t, _vC, _co, _nAC, _gV, _kKI],
339
- [0, 0, 64 | 0, [0, 4], [() => OrganizationRoleName, 0], 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], 128 | 0, () => VpcConfiguration$, [() => OverridableConfigurationJson, 0], () => NetworkAccessConfiguration$, 0, 0], 3
339
+ [_aAT, _pT, _aP, _cT, _oRN, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _t, _vC, _co, _nAC, _gV, _iAT, _kKI],
340
+ [0, 0, 64 | 0, [0, 4], [() => OrganizationRoleName, 0], 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], 128 | 0, () => VpcConfiguration$, [() => OverridableConfigurationJson, 0], () => NetworkAccessConfiguration$, 0, 0, 0], 3
340
341
  ];
341
342
  export var CreateWorkspaceResponse$ = [3, n0, _CWRr,
342
343
  0,
@@ -605,8 +606,8 @@ export var UpdateWorkspaceConfigurationResponse$ = [3, n0, _UWCRp,
605
606
  ];
606
607
  export var UpdateWorkspaceRequest$ = [3, n0, _UWR,
607
608
  0,
608
- [_wI, _aAT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC],
609
- [[0, 1], 0, [() => OrganizationRoleName, 0], 0, 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], () => VpcConfiguration$, 2, () => NetworkAccessConfiguration$, 2], 1
609
+ [_wI, _aAT, _oRN, _pT, _sSN, _wDS, _wD, _wN, _wND, _wOU, _wRA, _vC, _rVC, _nAC, _rNAC, _iAT],
610
+ [[0, 1], 0, [() => OrganizationRoleName, 0], 0, 0, 64 | 0, [() => Description, 0], [() => WorkspaceName, 0], 64 | 0, [() => OrganizationalUnitList, 0], [() => IamRoleArn, 0], () => VpcConfiguration$, 2, () => NetworkAccessConfiguration$, 2, 0], 1
610
611
  ];
611
612
  export var UpdateWorkspaceResponse$ = [3, n0, _UWRp,
612
613
  0,
@@ -630,8 +631,8 @@ export var VpcConfiguration$ = [3, n0, _VC,
630
631
  ];
631
632
  export var WorkspaceDescription$ = [3, n0, _WD,
632
633
  0,
633
- [_cr, _dS, _en, _gV, _i, _mo, _st, _au, _aAT, _d, _n, _oRN, _nD, _oU, _pT, _sSN, _wRA, _lT, _fTC, _lE, _fTE, _t, _vC, _nAC, _gT, _kKI],
634
- [4, 64 | 0, 0, 0, 0, 4, 0, () => AuthenticationSummary$, 0, [() => Description, 0], [() => WorkspaceName, 0], [() => OrganizationRoleName, 0], 64 | 0, [() => OrganizationalUnitList, 0], 0, 0, [() => IamRoleArn, 0], 0, 2, 4, 4, 128 | 0, () => VpcConfiguration$, () => NetworkAccessConfiguration$, 0, 0], 8
634
+ [_cr, _dS, _en, _gV, _i, _mo, _st, _au, _aAT, _d, _n, _oRN, _nD, _oU, _pT, _sSN, _wRA, _lT, _fTC, _lE, _fTE, _t, _vC, _nAC, _gT, _iAT, _kKI],
635
+ [4, 64 | 0, 0, 0, 0, 4, 0, () => AuthenticationSummary$, 0, [() => Description, 0], [() => WorkspaceName, 0], [() => OrganizationRoleName, 0], 64 | 0, [() => OrganizationalUnitList, 0], 0, 0, [() => IamRoleArn, 0], 0, 2, 4, 4, 128 | 0, () => VpcConfiguration$, () => NetworkAccessConfiguration$, 0, 0, 0], 8
635
636
  ];
636
637
  export var WorkspaceSummary$ = [3, n0, _WS,
637
638
  0,
@@ -99,6 +99,7 @@ declare const AssociateLicenseCommand_base: {
99
99
  * // ],
100
100
  * // },
101
101
  * // grafanaToken: "STRING_VALUE",
102
+ * // ipAddressType: "STRING_VALUE",
102
103
  * // kmsKeyId: "STRING_VALUE",
103
104
  * // },
104
105
  * // };
@@ -80,6 +80,7 @@ declare const CreateWorkspaceCommand_base: {
80
80
  * ],
81
81
  * },
82
82
  * grafanaVersion: "STRING_VALUE",
83
+ * ipAddressType: "STRING_VALUE",
83
84
  * kmsKeyId: "STRING_VALUE",
84
85
  * };
85
86
  * const command = new CreateWorkspaceCommand(input);
@@ -138,6 +139,7 @@ declare const CreateWorkspaceCommand_base: {
138
139
  * // ],
139
140
  * // },
140
141
  * // grafanaToken: "STRING_VALUE",
142
+ * // ipAddressType: "STRING_VALUE",
141
143
  * // kmsKeyId: "STRING_VALUE",
142
144
  * // },
143
145
  * // };
@@ -97,6 +97,7 @@ declare const DeleteWorkspaceCommand_base: {
97
97
  * // ],
98
98
  * // },
99
99
  * // grafanaToken: "STRING_VALUE",
100
+ * // ipAddressType: "STRING_VALUE",
100
101
  * // kmsKeyId: "STRING_VALUE",
101
102
  * // },
102
103
  * // };
@@ -97,6 +97,7 @@ declare const DescribeWorkspaceCommand_base: {
97
97
  * // ],
98
98
  * // },
99
99
  * // grafanaToken: "STRING_VALUE",
100
+ * // ipAddressType: "STRING_VALUE",
100
101
  * // kmsKeyId: "STRING_VALUE",
101
102
  * // },
102
103
  * // };
@@ -98,6 +98,7 @@ declare const DisassociateLicenseCommand_base: {
98
98
  * // ],
99
99
  * // },
100
100
  * // grafanaToken: "STRING_VALUE",
101
+ * // ipAddressType: "STRING_VALUE",
101
102
  * // kmsKeyId: "STRING_VALUE",
102
103
  * // },
103
104
  * // };
@@ -74,6 +74,7 @@ declare const UpdateWorkspaceCommand_base: {
74
74
  * ],
75
75
  * },
76
76
  * removeNetworkAccessConfiguration: true || false,
77
+ * ipAddressType: "STRING_VALUE",
77
78
  * };
78
79
  * const command = new UpdateWorkspaceCommand(input);
79
80
  * const response = await client.send(command);
@@ -131,6 +132,7 @@ declare const UpdateWorkspaceCommand_base: {
131
132
  * // ],
132
133
  * // },
133
134
  * // grafanaToken: "STRING_VALUE",
135
+ * // ipAddressType: "STRING_VALUE",
134
136
  * // kmsKeyId: "STRING_VALUE",
135
137
  * // },
136
138
  * // };
@@ -130,6 +130,24 @@ export declare const DataSourceType: {
130
130
  * @public
131
131
  */
132
132
  export type DataSourceType = (typeof DataSourceType)[keyof typeof DataSourceType];
133
+ /**
134
+ * @public
135
+ * @enum
136
+ */
137
+ export declare const IPAddressType: {
138
+ /**
139
+ * Indicates that connections to this workspace can be made over IPv4 or IPv6.
140
+ */
141
+ readonly DUAL_STACK: "DualStack";
142
+ /**
143
+ * Indicates that connections to this workspace can only be made over IPv4.
144
+ */
145
+ readonly IPV4: "IPv4";
146
+ };
147
+ /**
148
+ * @public
149
+ */
150
+ export type IPAddressType = (typeof IPAddressType)[keyof typeof IPAddressType];
133
151
  /**
134
152
  * @public
135
153
  * @enum
@@ -1,5 +1,5 @@
1
1
  import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
2
- import type { AccountAccessType, AuthenticationProviderTypes, DataSourceType, LicenseType, NotificationDestinationType, PermissionType, Role, SamlConfigurationStatus, UpdateAction, UserType, WorkspaceStatus } from "./enums";
2
+ import type { AccountAccessType, AuthenticationProviderTypes, DataSourceType, IPAddressType, LicenseType, NotificationDestinationType, PermissionType, Role, SamlConfigurationStatus, UpdateAction, UserType, WorkspaceStatus } from "./enums";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -325,6 +325,11 @@ export interface WorkspaceDescription {
325
325
  * @public
326
326
  */
327
327
  grafanaToken?: string | undefined;
328
+ /**
329
+ * <p>The type of IP addresses supported for connection to the workspace. Valid values are <code>IPv4</code> and <code>DualStack</code>.</p>
330
+ * @public
331
+ */
332
+ ipAddressType?: IPAddressType | undefined;
328
333
  /**
329
334
  * <p>The ID or ARN of the Key Management Service key used for encrypting workspace data.</p>
330
335
  * @public
@@ -1267,6 +1272,11 @@ export interface CreateWorkspaceRequest {
1267
1272
  * @public
1268
1273
  */
1269
1274
  grafanaVersion?: string | undefined;
1275
+ /**
1276
+ * <p>Specifies whether the workspace supports IPv4 only, or IPv4 and IPv6. Valid values are <code>IPv4</code> and <code>DualStack</code>. For more information about IP address types, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-nac.html">Network access control</a>.</p>
1277
+ * @public
1278
+ */
1279
+ ipAddressType?: IPAddressType | undefined;
1270
1280
  /**
1271
1281
  * <p>The ID or ARN of the Key Management Service key to use for encrypting workspace data.</p>
1272
1282
  * @public
@@ -1503,6 +1513,11 @@ export interface UpdateWorkspaceRequest {
1503
1513
  * @public
1504
1514
  */
1505
1515
  removeNetworkAccessConfiguration?: boolean | undefined;
1516
+ /**
1517
+ * <p>Specifies whether the workspace supports IPv4 only, or IPv4 and IPv6. Valid values are <code>IPv4</code> and <code>DualStack</code>. For more information about IP address types, see <a href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-nac.html">Network access control</a>.</p>
1518
+ * @public
1519
+ */
1520
+ ipAddressType?: IPAddressType | undefined;
1506
1521
  }
1507
1522
  /**
1508
1523
  * @public
@@ -42,6 +42,11 @@ export declare const DataSourceType: {
42
42
  };
43
43
  export type DataSourceType =
44
44
  (typeof DataSourceType)[keyof typeof DataSourceType];
45
+ export declare const IPAddressType: {
46
+ readonly DUAL_STACK: "DualStack";
47
+ readonly IPV4: "IPv4";
48
+ };
49
+ export type IPAddressType = (typeof IPAddressType)[keyof typeof IPAddressType];
45
50
  export declare const NotificationDestinationType: {
46
51
  readonly SNS: "SNS";
47
52
  };
@@ -3,6 +3,7 @@ import {
3
3
  AccountAccessType,
4
4
  AuthenticationProviderTypes,
5
5
  DataSourceType,
6
+ IPAddressType,
6
7
  LicenseType,
7
8
  NotificationDestinationType,
8
9
  PermissionType,
@@ -86,6 +87,7 @@ export interface WorkspaceDescription {
86
87
  vpcConfiguration?: VpcConfiguration | undefined;
87
88
  networkAccessControl?: NetworkAccessConfiguration | undefined;
88
89
  grafanaToken?: string | undefined;
90
+ ipAddressType?: IPAddressType | undefined;
89
91
  kmsKeyId?: string | undefined;
90
92
  }
91
93
  export interface AssociateLicenseResponse {
@@ -334,6 +336,7 @@ export interface CreateWorkspaceRequest {
334
336
  configuration?: __AutomaticJsonStringConversion | string | undefined;
335
337
  networkAccessControl?: NetworkAccessConfiguration | undefined;
336
338
  grafanaVersion?: string | undefined;
339
+ ipAddressType?: IPAddressType | undefined;
337
340
  kmsKeyId?: string | undefined;
338
341
  }
339
342
  export interface CreateWorkspaceResponse {
@@ -390,6 +393,7 @@ export interface UpdateWorkspaceRequest {
390
393
  removeVpcConfiguration?: boolean | undefined;
391
394
  networkAccessControl?: NetworkAccessConfiguration | undefined;
392
395
  removeNetworkAccessConfiguration?: boolean | undefined;
396
+ ipAddressType?: IPAddressType | undefined;
393
397
  }
394
398
  export interface UpdateWorkspaceResponse {
395
399
  workspace: WorkspaceDescription | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-grafana",
3
3
  "description": "AWS SDK for JavaScript Grafana Client for Node.js, Browser and React Native",
4
- "version": "3.1046.0",
4
+ "version": "3.1047.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 client-grafana",
@@ -21,17 +21,17 @@
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.9",
25
- "@aws-sdk/credential-provider-node": "^3.972.40",
24
+ "@aws-sdk/core": "^3.974.10",
25
+ "@aws-sdk/credential-provider-node": "^3.972.41",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.11",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.12",
29
- "@aws-sdk/middleware-user-agent": "^3.972.39",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.40",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.14",
31
31
  "@aws-sdk/types": "^3.973.8",
32
32
  "@aws-sdk/util-endpoints": "^3.996.9",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.11",
34
- "@aws-sdk/util-user-agent-node": "^3.973.25",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.26",
35
35
  "@smithy/core": "^3.24.1",
36
36
  "@smithy/fetch-http-handler": "^5.4.1",
37
37
  "@smithy/node-http-handler": "^4.7.1",