@aws-sdk/client-evs 3.1075.0 → 3.1077.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 (41) hide show
  1. package/dist-cjs/index.js +1136 -15
  2. package/dist-es/models/enums.js +9 -0
  3. package/dist-es/runtimeConfig.browser.js +0 -2
  4. package/dist-es/runtimeConfig.js +1 -2
  5. package/dist-es/runtimeConfig.native.js +0 -2
  6. package/dist-es/runtimeConfig.shared.js +2 -0
  7. package/dist-es/schemas/schemas_0.js +5 -4
  8. package/dist-types/commands/CreateEnvironmentCommand.d.ts +18 -17
  9. package/dist-types/commands/CreateEnvironmentConnectorCommand.d.ts +4 -4
  10. package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +2 -2
  11. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -2
  12. package/dist-types/commands/DeleteEnvironmentConnectorCommand.d.ts +3 -3
  13. package/dist-types/commands/DeleteEnvironmentHostCommand.d.ts +1 -1
  14. package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -2
  15. package/dist-types/commands/GetVersionsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListEnvironmentConnectorsCommand.d.ts +2 -2
  17. package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateEnvironmentConnectorCommand.d.ts +2 -2
  19. package/dist-types/models/enums.d.ts +9 -0
  20. package/dist-types/models/models_0.d.ts +29 -24
  21. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  22. package/dist-types/runtimeConfig.d.ts +2 -2
  23. package/dist-types/runtimeConfig.native.d.ts +2 -2
  24. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  25. package/dist-types/ts3.4/models/enums.d.ts +9 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +6 -5
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  31. package/package.json +8 -10
  32. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  33. package/dist-cjs/endpoint/bdd.js +0 -46
  34. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  35. package/dist-cjs/models/EvsServiceException.js +0 -8
  36. package/dist-cjs/models/errors.js +0 -97
  37. package/dist-cjs/runtimeConfig.browser.js +0 -32
  38. package/dist-cjs/runtimeConfig.js +0 -45
  39. package/dist-cjs/runtimeConfig.native.js +0 -12
  40. package/dist-cjs/runtimeConfig.shared.js +0 -38
  41. package/dist-cjs/schemas/schemas_0.js +0 -822
@@ -250,7 +250,7 @@ export interface CreateEntitlementResponse {
250
250
  entitlements?: VmEntitlement[] | undefined;
251
251
  }
252
252
  /**
253
- * <p>The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX uplink VLAN for connectivity to the NSX overlay network.</p>
253
+ * <p>The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX uplink VLAN for connectivity to the NSX overlay network.</p> <note> <p>Not supported when <code>vcfVersion</code> is <code>SELF_DEPLOYED</code>.</p> </note>
254
254
  * @public
255
255
  */
256
256
  export interface ConnectivityInfo {
@@ -396,7 +396,7 @@ export interface ServiceAccessSecurityGroups {
396
396
  securityGroups?: string[] | undefined;
397
397
  }
398
398
  /**
399
- * <p>The DNS hostnames that Amazon EVS uses to install VMware vCenter Server, NSX, SDDC Manager, and Cloud Builder. Each hostname must be unique, and resolve to a domain name that you've registered in your DNS service of choice. Hostnames cannot be changed.</p> <p>VMware VCF requires the deployment of two NSX Edge nodes, and three NSX Manager virtual machines.</p>
399
+ * <p>The DNS hostnames that Amazon EVS uses to install VMware vCenter Server, NSX, SDDC Manager, and Cloud Builder. Each hostname must be unique, and resolve to a domain name that you've registered in your DNS service of choice. Hostnames cannot be changed.</p> <p>VMware VCF requires the deployment of two NSX Edge nodes, and three NSX Manager virtual machines.</p> <note> <p>Not supported when <code>vcfVersion</code> is <code>SELF_DEPLOYED</code>.</p> </note>
400
400
  * @public
401
401
  */
402
402
  export interface VcfHostnames {
@@ -406,7 +406,7 @@ export interface VcfHostnames {
406
406
  */
407
407
  vCenter: string | undefined;
408
408
  /**
409
- * <p>The VMware NSX hostname.</p>
409
+ * <p>The VMware NSX Virtual IP (VIP) hostname.</p>
410
410
  * @public
411
411
  */
412
412
  nsx: string | undefined;
@@ -481,50 +481,50 @@ export interface CreateEnvironmentRequest {
481
481
  */
482
482
  vpcId: string | undefined;
483
483
  /**
484
- * <p>The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to validate mandatory DNS records for your VCF appliances and hosts and create the environment.</p>
484
+ * <p>The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. The Amazon EVS control plane uses this subnet to interface with your environment. This includes validating DNS records and enabling Amazon EVS Connectors.</p>
485
485
  * @public
486
486
  */
487
487
  serviceAccessSubnetId: string | undefined;
488
488
  /**
489
- * <p> The VCF version to use for the environment.</p>
489
+ * <p>The VCF version to use for the environment.</p> <ul> <li> <p> <code>SELF_DEPLOYED</code>: You install VCF yourself. The <code>licenseInfo</code>, <code>hosts</code>, <code>vcfHostnames</code>, <code>siteId</code>, and <code>connectivityInfo</code> parameters are not supported.</p> </li> <li> <p>Any other valid value: Amazon EVS installs and configures VCF for you in the version you specify.</p> </li> </ul>
490
490
  * @public
491
491
  */
492
492
  vcfVersion: VcfVersion | undefined;
493
493
  /**
494
- * <p>Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance. Amazon EVS does not validate license keys. To validate license keys, visit the Broadcom support portal.</p>
494
+ * <p>Confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance. Amazon EVS does not validate license keys. To validate license keys, visit the Broadcom support portal.</p>
495
495
  * @public
496
496
  */
497
497
  termsAccepted: boolean | undefined;
498
498
  /**
499
- * <p>The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. The VCF solution key must meet minimum core requirements, and the vSAN license key must meet minimum capacity requirements for your selected instance type.</p> <p>For information about minimum license requirements, see <a href="https://docs.aws.amazon.com/evs/latest/userguide/vcf-license-mgmt.html">the VCF subscriptions section</a> in the <i>Amazon EVS User Guide</i>.</p> <p>VCF licenses can be used for only one Amazon EVS environment. Amazon EVS does not support reuse of VCF licenses for multiple environments.</p> <p>VCF license information can be retrieved from the Broadcom portal.</p>
499
+ * <p>The initial VLAN subnets for the Amazon EVS environment.</p> <note> <p>For each Amazon EVS VLAN subnet, you must specify a non-overlapping CIDR block. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24.</p> </note>
500
500
  * @public
501
501
  */
502
- licenseInfo: LicenseInfo[] | undefined;
502
+ initialVlans: InitialVlans | undefined;
503
503
  /**
504
- * <p>The initial VLAN subnets for the Amazon EVS environment.</p> <note> <p>For each Amazon EVS VLAN subnet, you must specify a non-overlapping CIDR block. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24.</p> </note>
504
+ * <p>The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX edges over the NSX uplink subnet, providing BGP-based dynamic routing for overlay networks.</p> <note> <p>Not supported when <code>vcfVersion</code> is <code>SELF_DEPLOYED</code>.</p> </note>
505
505
  * @public
506
506
  */
507
- initialVlans: InitialVlans | undefined;
507
+ connectivityInfo?: ConnectivityInfo | undefined;
508
508
  /**
509
- * <p>The ESX hosts to add to the environment. Amazon EVS requires that you provide details for a minimum of 4 hosts during environment creation.</p> <p>For each host, you must provide the desired hostname, EC2 SSH keypair name, and EC2 instance type. Optionally, you can also provide a partition or cluster placement group to use, or use Amazon EC2 Dedicated Hosts.</p>
509
+ * <p>The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. The VCF solution key must meet minimum core requirements, and the vSAN license key must meet minimum capacity requirements for your selected instance type.</p> <p>For information about minimum license requirements, see <a href="https://docs.aws.amazon.com/evs/latest/userguide/vcf-license-mgmt.html">the VCF subscriptions section</a> in the <i>Amazon EVS User Guide</i>.</p> <p>VCF licenses can be used for only one Amazon EVS environment. Amazon EVS does not support reuse of VCF licenses for multiple environments.</p> <p>VCF license information can be retrieved from the Broadcom portal.</p> <note> <p>Not supported when <code>vcfVersion</code> is <code>SELF_DEPLOYED</code>.</p> </note>
510
510
  * @public
511
511
  */
512
- hosts: HostInfoForCreate[] | undefined;
512
+ licenseInfo?: LicenseInfo[] | undefined;
513
513
  /**
514
- * <p> The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX edges over the NSX uplink subnet, providing BGP-based dynamic routing for overlay networks.</p>
514
+ * <p>The ESX hosts to add to the environment. For each host, provide the desired hostname, EC2 SSH keypair name, and EC2 instance type. Optionally, provide a partition or cluster placement group, or use Amazon EC2 Dedicated Hosts.</p> <note> <p>Not supported when <code>vcfVersion</code> is <code>SELF_DEPLOYED</code>. In that case, you can add hosts using <code>CreateEnvironmentHost</code> after the environment is created.</p> </note>
515
515
  * @public
516
516
  */
517
- connectivityInfo: ConnectivityInfo | undefined;
517
+ hosts?: HostInfoForCreate[] | undefined;
518
518
  /**
519
- * <p>The DNS hostnames for the virtual machines that host the VCF management appliances. Amazon EVS requires that you provide DNS hostnames for the following appliances: vCenter, NSX Manager, SDDC Manager, and Cloud Builder.</p>
519
+ * <p>The DNS hostnames for the virtual machines that host the VCF management appliances. Provide hostnames for vCenter, NSX Manager, SDDC Manager, and Cloud Builder.</p> <note> <p>Not supported when <code>vcfVersion</code> is <code>SELF_DEPLOYED</code>.</p> </note>
520
520
  * @public
521
521
  */
522
- vcfHostnames: VcfHostnames | undefined;
522
+ vcfHostnames?: VcfHostnames | undefined;
523
523
  /**
524
- * <p>The Broadcom Site ID that is allocated to you as part of your electronic software delivery. This ID allows customer access to the Broadcom portal, and is provided to you by Broadcom at the close of your software contract or contract renewal. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.</p>
524
+ * <p>The Broadcom Site ID that is allocated to you as part of your electronic software delivery. This ID allows customer access to the Broadcom portal, and is provided to you by Broadcom at the close of your software contract or contract renewal. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.</p> <note> <p>Not supported when <code>vcfVersion</code> is <code>SELF_DEPLOYED</code>.</p> </note>
525
525
  * @public
526
526
  */
527
- siteId: string | undefined;
527
+ siteId?: string | undefined;
528
528
  }
529
529
  /**
530
530
  * <p>A check on the environment to identify environment health and validate VMware VCF licensing compliance.</p>
@@ -532,10 +532,15 @@ export interface CreateEnvironmentRequest {
532
532
  */
533
533
  export interface Check {
534
534
  /**
535
- * <p>The check type. Amazon EVS performs the following checks.</p> <ul> <li> <p> <code>KEY_REUSE</code>: checks that the VCF license key is not used by another Amazon EVS environment. This check fails if a used license is added to the environment.</p> </li> <li> <p> <code>KEY_COVERAGE</code>: checks that your VCF license key allocates sufficient vCPU cores for all deployed hosts. The check fails when any assigned hosts in the EVS environment are not covered by license keys, or when any unassigned hosts cannot be covered by available vCPU cores in keys.</p> </li> <li> <p> <code>REACHABILITY</code>: checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails.</p> </li> <li> <p> <code>HOST_COUNT</code>: Checks that your environment has a minimum of 4 hosts.</p> <p>If this check fails, you will need to add hosts so that your environment meets this minimum requirement. Amazon EVS only supports environments with 4-32 hosts.</p> </li> </ul>
535
+ * <p>The check type. Amazon EVS performs the following checks:</p> <ul> <li> <p> <code>KEY_REUSE</code>: Verifies that the VCF license key is not used by another Amazon EVS environment.</p> </li> <li> <p> <code>KEY_COVERAGE</code>: Verifies that the VCF license key allocates sufficient vCPU cores for all deployed hosts.</p> </li> <li> <p> <code>REACHABILITY</code>: Verifies that the Amazon EVS control plane has a persistent connection to SDDC Manager.</p> </li> <li> <p> <code>HOST_COUNT</code>: Verifies that the environment meets the minimum host count.</p> </li> <li> <p> <code>VCENTER_REACHABILITY</code>: Verifies vCenter Server reachability through the vCenter connector.</p> </li> <li> <p> <code>VCENTER_VM_SYNC</code>: Verifies that the vCenter connector can synchronize VM inventory from vCenter Server.</p> </li> <li> <p> <code>VCENTER_VM_EVENT</code>: Verifies that the vCenter connector can receive VM lifecycle events from vCenter Server.</p> </li> <li> <p> <code>OPERATIONS_MANAGER_REACHABILITY</code>: Verifies Operations Manager reachability through the Operations Manager connector.</p> </li> <li> <p> <code>SDDC_MANAGER_REACHABILITY</code>: Verifies SDDC Manager reachability through the SDDC Manager connector.</p> </li> <li> <p> <code>SDDC_MANAGER_HOST_COUNT</code>: Verifies that the host count reported by SDDC Manager meets Amazon EVS minimum requirements.</p> </li> <li> <p> <code>SDDC_MANAGER_KEY_COVERAGE</code>: Verifies that the VCF license key configured in SDDC Manager covers all deployed hosts.</p> </li> <li> <p> <code>SDDC_MANAGER_KEY_REUSE</code>: Verifies that the VCF license key configured in SDDC Manager is not used by another Amazon EVS environment.</p> </li> <li> <p> <code>CONNECTOR_HEALTH</code>: Aggregate health across all connectors in the environment.</p> </li> </ul>
536
536
  * @public
537
537
  */
538
538
  type?: CheckType | undefined;
539
+ /**
540
+ * <p>A unique ID for the check.</p>
541
+ * @public
542
+ */
543
+ id?: string | undefined;
539
544
  /**
540
545
  * <p> The check result.</p>
541
546
  * @public
@@ -634,7 +639,7 @@ export interface Environment {
634
639
  */
635
640
  environmentStatus?: CheckResult | undefined;
636
641
  /**
637
- * <p>A check on the environment to identify instance health and VMware VCF licensing issues.</p>
642
+ * <p>A check on the environment to identify connector health.</p>
638
643
  * @public
639
644
  */
640
645
  checks?: Check[] | undefined;
@@ -689,7 +694,7 @@ export interface CreateEnvironmentConnectorRequest {
689
694
  */
690
695
  environmentId: string | undefined;
691
696
  /**
692
- * <p>The type of connector to create.</p>
697
+ * <p>The type of connector to create.</p> <ul> <li> <p> <code>OPERATIONS_MANAGER</code>: Connector to an Operations Manager appliance. Required for VCF 9x environments.</p> </li> <li> <p> <code>SDDC_MANAGER</code>: Connector to an SDDC Manager appliance. Required for VCF 5.x environments.</p> </li> <li> <p> <code>VCENTER</code>: Connector to a vCenter Server appliance. Required for features that depend on vCenter, such as Windows Server license-included.</p> </li> </ul>
693
698
  * @public
694
699
  */
695
700
  type: ConnectorType | undefined;
@@ -699,7 +704,7 @@ export interface CreateEnvironmentConnectorRequest {
699
704
  */
700
705
  applianceFqdn: string | undefined;
701
706
  /**
702
- * <p>The ARN or name of the Amazon Web Services Secrets Manager secret that stores the credentials for the VCF appliance.</p> <important> <p>Do not use credentials with Administrator privileges. We recommend using a service account with the minimum required permissions.</p> </important>
707
+ * <p>The ARN or name of the Amazon Web Services Secrets Manager secret that stores the credentials for the VCF appliance. <code>SDDC_MANAGER</code> requires an <code>apiKey</code> field; <code>OPERATIONS_MANAGER</code> and <code>VCENTER</code> require <code>username</code> and <code>password</code> fields.</p> <important> <p>Do not use credentials with Administrator privileges. We recommend using a service account with read-only permissions.</p> </important>
703
708
  * @public
704
709
  */
705
710
  secretIdentifier: string | undefined;
@@ -731,7 +736,7 @@ export interface ConnectorCheck {
731
736
  impairedSince?: Date | undefined;
732
737
  }
733
738
  /**
734
- * <p>An object that represents a connector for an Amazon EVS environment. A connector establishes a vCenter connection using the credentials stored in Amazon Web Services Secrets Manager.</p>
739
+ * <p>An object that represents a connector for an Amazon EVS environment. A connector establishes a connection to the given appliance type using the credentials stored in Amazon Web Services Secrets Manager.</p>
735
740
  * @public
736
741
  */
737
742
  export interface Connector {
@@ -884,7 +889,7 @@ export interface NetworkInterface {
884
889
  networkInterfaceId?: string | undefined;
885
890
  }
886
891
  /**
887
- * <p>An ESX host that runs on an Amazon EC2 bare metal instance. Four hosts are created in an Amazon EVS environment during environment creation. You can add hosts to an environment using the <code>CreateEnvironmentHost</code> operation. Amazon EVS supports 4-32 hosts per environment.</p>
892
+ * <p>An ESX host that runs on an Amazon EC2 bare metal instance.</p>
888
893
  * @public
889
894
  */
890
895
  export interface Host {
@@ -13,8 +13,7 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
- streamCollector: import("@smithy/types").StreamCollector;
16
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
19
  cacheMiddleware?: boolean | undefined;
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
24
23
  [setting: string]: unknown;
25
24
  };
26
25
  apiVersion: string;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -14,8 +14,7 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
14
14
  region: string | import("@smithy/types").Provider<string>;
15
15
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
- sha256: import("@smithy/types").HashConstructor;
18
- streamCollector: import("@smithy/types").StreamCollector;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
20
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
26
25
  [setting: string]: unknown;
27
26
  };
28
27
  apiVersion: string;
28
+ sha256: import("@smithy/types").HashConstructor;
29
29
  urlParser: import("@smithy/types").UrlParser;
30
30
  base64Decoder: import("@smithy/types").Decoder;
31
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ import type { EvsClientConfig } from "./EvsClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: EvsClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
8
  cacheMiddleware?: boolean;
10
9
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
@@ -13,9 +12,10 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
13
12
  [setting: string]: unknown;
14
13
  };
15
14
  apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
- streamCollector: import("@smithy/types").StreamCollector;
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;
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
21
21
  defaultNamespace?: string;
22
22
  };
23
23
  serviceId: string;
24
+ sha256: import("@smithy/types").HashConstructor;
24
25
  urlParser: import("@smithy/types").UrlParser;
25
26
  utf8Decoder: import("@smithy/types").Decoder;
26
27
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -35,6 +35,7 @@ export declare const _InstanceType: {
35
35
  };
36
36
  export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
37
37
  export declare const VcfVersion: {
38
+ readonly SELF_DEPLOYED: "SELF_DEPLOYED";
38
39
  readonly VCF_5_2_1: "VCF-5.2.1";
39
40
  readonly VCF_5_2_2: "VCF-5.2.2";
40
41
  };
@@ -46,10 +47,16 @@ export declare const CheckResult: {
46
47
  };
47
48
  export type CheckResult = (typeof CheckResult)[keyof typeof CheckResult];
48
49
  export declare const CheckType: {
50
+ readonly CONNECTOR_HEALTH: "CONNECTOR_HEALTH";
49
51
  readonly HOST_COUNT: "HOST_COUNT";
50
52
  readonly KEY_COVERAGE: "KEY_COVERAGE";
51
53
  readonly KEY_REUSE: "KEY_REUSE";
54
+ readonly OPERATIONS_MANAGER_REACHABILITY: "OPERATIONS_MANAGER_REACHABILITY";
52
55
  readonly REACHABILITY: "REACHABILITY";
56
+ readonly SDDC_MANAGER_HOST_COUNT: "SDDC_MANAGER_HOST_COUNT";
57
+ readonly SDDC_MANAGER_KEY_COVERAGE: "SDDC_MANAGER_KEY_COVERAGE";
58
+ readonly SDDC_MANAGER_KEY_REUSE: "SDDC_MANAGER_KEY_REUSE";
59
+ readonly SDDC_MANAGER_REACHABILITY: "SDDC_MANAGER_REACHABILITY";
53
60
  readonly VCENTER_REACHABILITY: "VCENTER_REACHABILITY";
54
61
  readonly VCENTER_VM_EVENT: "VCENTER_VM_EVENT";
55
62
  readonly VCENTER_VM_SYNC: "VCENTER_VM_SYNC";
@@ -65,6 +72,8 @@ export declare const EnvironmentState: {
65
72
  export type EnvironmentState =
66
73
  (typeof EnvironmentState)[keyof typeof EnvironmentState];
67
74
  export declare const ConnectorType: {
75
+ readonly OPERATIONS_MANAGER: "OPERATIONS_MANAGER";
76
+ readonly SDDC_MANAGER: "SDDC_MANAGER";
68
77
  readonly VCENTER: "VCENTER";
69
78
  };
70
79
  export type ConnectorType = (typeof ConnectorType)[keyof typeof ConnectorType];
@@ -124,15 +124,16 @@ export interface CreateEnvironmentRequest {
124
124
  serviceAccessSubnetId: string | undefined;
125
125
  vcfVersion: VcfVersion | undefined;
126
126
  termsAccepted: boolean | undefined;
127
- licenseInfo: LicenseInfo[] | undefined;
128
127
  initialVlans: InitialVlans | undefined;
129
- hosts: HostInfoForCreate[] | undefined;
130
- connectivityInfo: ConnectivityInfo | undefined;
131
- vcfHostnames: VcfHostnames | undefined;
132
- siteId: string | undefined;
128
+ connectivityInfo?: ConnectivityInfo | undefined;
129
+ licenseInfo?: LicenseInfo[] | undefined;
130
+ hosts?: HostInfoForCreate[] | undefined;
131
+ vcfHostnames?: VcfHostnames | undefined;
132
+ siteId?: string | undefined;
133
133
  }
134
134
  export interface Check {
135
135
  type?: CheckType | undefined;
136
+ id?: string | undefined;
136
137
  result?: CheckResult | undefined;
137
138
  impairedSince?: Date | undefined;
138
139
  }
@@ -20,8 +20,13 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
20
20
  | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
- sha256: import("@smithy/types").HashConstructor;
24
- streamCollector: import("@smithy/types").StreamCollector;
23
+ streamCollector: (
24
+ stream:
25
+ | import("stream").Readable
26
+ | import("stream/web").ReadableStream
27
+ | ReadableStream
28
+ | Blob
29
+ ) => Promise<Uint8Array>;
25
30
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
31
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
32
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
@@ -36,6 +41,7 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
36
41
  [setting: string]: unknown;
37
42
  };
38
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
39
45
  urlParser: import("@smithy/types").UrlParser;
40
46
  base64Decoder: import("@smithy/types").Decoder;
41
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -21,8 +21,13 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
21
21
  | RequestHandler
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
- sha256: import("@smithy/types").HashConstructor;
25
- streamCollector: import("@smithy/types").StreamCollector;
24
+ streamCollector: (
25
+ stream:
26
+ | import("stream").Readable
27
+ | import("stream/web").ReadableStream
28
+ | ReadableStream
29
+ | Blob
30
+ ) => Promise<Uint8Array>;
26
31
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
32
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
33
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -36,6 +41,7 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
36
41
  [setting: string]: unknown;
37
42
  };
38
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
39
45
  urlParser: import("@smithy/types").UrlParser;
40
46
  base64Decoder: import("@smithy/types").Decoder;
41
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { EvsClientConfig } from "./EvsClient";
2
2
  export declare const getRuntimeConfig: (config: EvsClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,9 +17,16 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
- streamCollector: import("@smithy/types").StreamCollector;
23
+ streamCollector: (
24
+ stream:
25
+ | import("stream").Readable
26
+ | import("stream/web").ReadableStream
27
+ | ReadableStream
28
+ | Blob
29
+ ) => Promise<Uint8Array>;
24
30
  base64Decoder: import("@smithy/types").Decoder;
25
31
  base64Encoder: (_input: Uint8Array | string) => string;
26
32
  utf8Decoder: import("@smithy/types").Decoder;
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: EvsClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-evs",
3
3
  "description": "AWS SDK for JavaScript Evs Client for Node.js, Browser and React Native",
4
- "version": "3.1075.0",
4
+ "version": "3.1077.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",
@@ -19,15 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "5.2.0",
23
- "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.23",
25
- "@aws-sdk/credential-provider-node": "^3.972.58",
26
- "@aws-sdk/types": "^3.973.13",
27
- "@smithy/core": "^3.24.6",
28
- "@smithy/fetch-http-handler": "^5.4.6",
29
- "@smithy/node-http-handler": "^4.7.6",
30
- "@smithy/types": "^4.14.3",
22
+ "@aws-sdk/core": "^3.974.25",
23
+ "@aws-sdk/credential-provider-node": "^3.972.60",
24
+ "@aws-sdk/types": "^3.973.14",
25
+ "@smithy/core": "^3.28.0",
26
+ "@smithy/fetch-http-handler": "^5.6.1",
27
+ "@smithy/node-http-handler": "^4.9.1",
28
+ "@smithy/types": "^4.15.0",
31
29
  "tslib": "^2.6.2"
32
30
  },
33
31
  "devDependencies": {
@@ -1,40 +0,0 @@
1
- const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
2
- const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
3
- exports.defaultEvsHttpAuthSchemeParametersProvider = 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: "evs",
16
- region: authParameters.region,
17
- },
18
- propertiesExtractor: (config, context) => ({
19
- signingProperties: {
20
- config,
21
- context,
22
- },
23
- }),
24
- };
25
- }
26
- exports.defaultEvsHttpAuthSchemeProvider = (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
- };
@@ -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://evs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
20
- [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
21
- ["https://evs-fips.{Region}.{PartitionResult#dnsSuffix}", i],
22
- [a, "FIPS is enabled but this partition does not support FIPS"],
23
- ["https://evs.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
24
- [a, "DualStack is enabled but this partition does not support DualStack"],
25
- ["https://evs.{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.EvsServiceException = class EvsServiceException extends __ServiceException {
4
- constructor(options) {
5
- super(options);
6
- Object.setPrototypeOf(this, EvsServiceException.prototype);
7
- }
8
- };
@@ -1,97 +0,0 @@
1
- const { EvsServiceException: __BaseException } = require("./EvsServiceException");
2
- exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
3
- name = "ResourceNotFoundException";
4
- $fault = "client";
5
- resourceId;
6
- resourceType;
7
- constructor(opts) {
8
- super({
9
- name: "ResourceNotFoundException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
14
- this.resourceId = opts.resourceId;
15
- this.resourceType = opts.resourceType;
16
- }
17
- };
18
- exports.ThrottlingException = class ThrottlingException extends __BaseException {
19
- name = "ThrottlingException";
20
- $fault = "client";
21
- $retryable = {};
22
- retryAfterSeconds;
23
- constructor(opts) {
24
- super({
25
- name: "ThrottlingException",
26
- $fault: "client",
27
- ...opts,
28
- });
29
- Object.setPrototypeOf(this, ThrottlingException.prototype);
30
- this.retryAfterSeconds = opts.retryAfterSeconds;
31
- }
32
- };
33
- exports.ValidationException = class ValidationException extends __BaseException {
34
- name = "ValidationException";
35
- $fault = "client";
36
- reason;
37
- fieldList;
38
- constructor(opts) {
39
- super({
40
- name: "ValidationException",
41
- $fault: "client",
42
- ...opts,
43
- });
44
- Object.setPrototypeOf(this, ValidationException.prototype);
45
- this.reason = opts.reason;
46
- this.fieldList = opts.fieldList;
47
- }
48
- };
49
- exports.InternalServerException = class InternalServerException extends __BaseException {
50
- name = "InternalServerException";
51
- $fault = "server";
52
- $retryable = {};
53
- constructor(opts) {
54
- super({
55
- name: "InternalServerException",
56
- $fault: "server",
57
- ...opts,
58
- });
59
- Object.setPrototypeOf(this, InternalServerException.prototype);
60
- }
61
- };
62
- exports.ServiceQuotaExceededException = class ServiceQuotaExceededException extends __BaseException {
63
- name = "ServiceQuotaExceededException";
64
- $fault = "client";
65
- constructor(opts) {
66
- super({
67
- name: "ServiceQuotaExceededException",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
72
- }
73
- };
74
- exports.TagPolicyException = class TagPolicyException extends __BaseException {
75
- name = "TagPolicyException";
76
- $fault = "client";
77
- constructor(opts) {
78
- super({
79
- name: "TagPolicyException",
80
- $fault: "client",
81
- ...opts,
82
- });
83
- Object.setPrototypeOf(this, TagPolicyException.prototype);
84
- }
85
- };
86
- exports.TooManyTagsException = class TooManyTagsException extends __BaseException {
87
- name = "TooManyTagsException";
88
- $fault = "client";
89
- constructor(opts) {
90
- super({
91
- name: "TooManyTagsException",
92
- $fault: "client",
93
- ...opts,
94
- });
95
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
96
- }
97
- };