EVS *** Client ====== class EVS.Client A low-level client representing Amazon Elastic VMware Service (EVS) Note: Amazon EVS is in public preview release and is subject to change. Amazon Elastic VMware Service (Amazon EVS) is a service that you can use to deploy a VMware Cloud Foundation (VCF) software environment directly on EC2 bare metal instances within an Amazon Virtual Private Cloud (VPC). Workloads running on Amazon EVS are fully compatible with workloads running on any standard VMware vSphere environment. This means that you can migrate any VMware-based workload to Amazon EVS without workload modification. import boto3 client = boto3.client('evs') These are the available methods: * can_paginate * close * create_environment * create_environment_host * delete_environment * delete_environment_host * get_environment * get_paginator * get_waiter * list_environment_hosts * list_environment_vlans * list_environments * list_tags_for_resource * tag_resource * untag_resource Paginators ========== Paginators are available on a client instance via the "get_paginator" method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide. The available paginators are: * ListEnvironmentHosts * ListEnvironmentVlans * ListEnvironments EVS / Paginator / ListEnvironmentHosts ListEnvironmentHosts ******************** class EVS.Paginator.ListEnvironmentHosts paginator = client.get_paginator('list_environment_hosts') paginate(**kwargs) Creates an iterator that will paginate through responses from "EVS.Client.list_environment_hosts()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( environmentId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **environmentId** (*string*) -- **[REQUIRED]** A unique ID for the environment. * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'environmentHosts': [ { 'hostName': 'string', 'ipAddress': 'string', 'keyName': 'string', 'instanceType': 'i4i.metal', 'placementGroupId': 'string', 'dedicatedHostId': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'hostState': 'CREATING'|'CREATED'|'UPDATING'|'DELETING'|'DELETED'|'CREATE_FAILED'|'UPDATE_FAILED', 'stateDetails': 'string', 'ec2InstanceId': 'string', 'networkInterfaces': [ { 'networkInterfaceId': 'string' }, ] }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **environmentHosts** *(list) --* A list of hosts in the environment. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. An ESXi 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 "CreateEnvironmentHost" operation. Amazon EVS supports 4-16 hosts per environment. * **hostName** *(string) --* The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF. * **ipAddress** *(string) --* The IP address of the host. * **keyName** *(string) --* The name of the SSH key that is used to access the host. * **instanceType** *(string) --* The EC2 instance type of the host. Note: EC2 instances created through Amazon EVS do not support associating an IAM instance profile. * **placementGroupId** *(string) --* The unique ID of the placement group where the host is placed. * **dedicatedHostId** *(string) --* The unique ID of the Amazon EC2 Dedicated Host. * **createdAt** *(datetime) --* The date and time that the host was created. * **modifiedAt** *(datetime) --* The date and time that the host was modified. * **hostState** *(string) --* The state of the host. * **stateDetails** *(string) --* A detailed description of the "hostState" of a host. * **ec2InstanceId** *(string) --* The unique ID of the EC2 instance that represents the host. * **networkInterfaces** *(list) --* The elastic network interfaces that are attached to the host. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. An elastic network interface (ENI) that connects hosts to the VLAN subnets. Amazon EVS provisions two identically configured ENIs in the VMkernel management subnet during host creation. One ENI is active, and the other is in standby mode for automatic switchover during a failure scenario. * **networkInterfaceId** *(string) --* The unique ID of the elastic network interface. * **NextToken** *(string) --* A token to resume pagination. EVS / Paginator / ListEnvironmentVlans ListEnvironmentVlans ******************** class EVS.Paginator.ListEnvironmentVlans paginator = client.get_paginator('list_environment_vlans') paginate(**kwargs) Creates an iterator that will paginate through responses from "EVS.Client.list_environment_vlans()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( environmentId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **environmentId** (*string*) -- **[REQUIRED]** A unique ID for the environment. * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'environmentVlans': [ { 'vlanId': 123, 'cidr': 'string', 'availabilityZone': 'string', 'functionName': 'string', 'subnetId': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'vlanState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', 'stateDetails': 'string' }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **environmentVlans** *(list) --* A list of VLANs that are associated with the specified environment. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. The VLANs that Amazon EVS creates during environment creation. * **vlanId** *(integer) --* The unique ID of the VLAN. * **cidr** *(string) --* The CIDR block of the VLAN. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. * **availabilityZone** *(string) --* The availability zone of the VLAN. * **functionName** *(string) --* The VMware VCF traffic type that is carried over the VLAN. For example, a VLAN with a "functionName" of "hcx" is being used to carry VMware HCX traffic. * **subnetId** *(string) --* The unique ID of the VLAN subnet. * **createdAt** *(datetime) --* The date and time that the VLAN was created. * **modifiedAt** *(datetime) --* The date and time that the VLAN was modified. * **vlanState** *(string) --* The state of the VLAN. * **stateDetails** *(string) --* The state details of the VLAN. * **NextToken** *(string) --* A token to resume pagination. EVS / Paginator / ListEnvironments ListEnvironments **************** class EVS.Paginator.ListEnvironments paginator = client.get_paginator('list_environments') paginate(**kwargs) Creates an iterator that will paginate through responses from "EVS.Client.list_environments()". See also: AWS API Documentation **Request Syntax** response_iterator = paginator.paginate( state=[ 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) Parameters: * **state** (*list*) -- The state of an environment. Used to filter response results to return only environments with the specified "environmentState". * *(string) --* * **PaginationConfig** (*dict*) -- A dictionary that provides parameters to control pagination. * **MaxItems** *(integer) --* The total number of items to return. If the total number of items available is more than the value specified in max-items then a "NextToken" will be provided in the output that you can use to resume pagination. * **PageSize** *(integer) --* The size of each page. * **StartingToken** *(string) --* A token to specify where to start paginating. This is the "NextToken" from a previous response. Return type: dict Returns: **Response Syntax** { 'environmentSummaries': [ { 'environmentId': 'string', 'environmentName': 'string', 'vcfVersion': 'VCF-5.2.1', 'environmentStatus': 'PASSED'|'FAILED'|'UNKNOWN', 'environmentState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'environmentArn': 'string' }, ], 'NextToken': 'string' } **Response Structure** * *(dict) --* * **environmentSummaries** *(list) --* A list of environments with summarized environment details. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. A list of environments with summarized environment details. * **environmentId** *(string) --* A unique ID for the environment. * **environmentName** *(string) --* The name of the environment. * **vcfVersion** *(string) --* The VCF version of the environment. * **environmentStatus** *(string) --* Reports impaired functionality that stems from issues internal to the environment, such as impaired reachability. * **environmentState** *(string) --* The state of an environment. * **createdAt** *(datetime) --* The date and time that the environment was created. * **modifiedAt** *(datetime) --* The date and time that the environment was modified. * **environmentArn** *(string) --* The Amazon Resource Name (ARN) that is associated with the environment. * **NextToken** *(string) --* A token to resume pagination. EVS / Client / get_environment get_environment *************** EVS.Client.get_environment(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. Returns a description of the specified environment. See also: AWS API Documentation **Request Syntax** response = client.get_environment( environmentId='string' ) Parameters: **environmentId** (*string*) -- **[REQUIRED]** A unique ID for the environment. Return type: dict Returns: **Response Syntax** { 'environment': { 'environmentId': 'string', 'environmentState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', 'stateDetails': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'environmentArn': 'string', 'environmentName': 'string', 'vpcId': 'string', 'serviceAccessSubnetId': 'string', 'vcfVersion': 'VCF-5.2.1', 'termsAccepted': True|False, 'licenseInfo': [ { 'solutionKey': 'string', 'vsanKey': 'string' }, ], 'siteId': 'string', 'environmentStatus': 'PASSED'|'FAILED'|'UNKNOWN', 'checks': [ { 'type': 'KEY_REUSE'|'KEY_COVERAGE'|'REACHABILITY'|'HOST_COUNT', 'result': 'PASSED'|'FAILED'|'UNKNOWN', 'impairedSince': datetime(2015, 1, 1) }, ], 'connectivityInfo': { 'privateRouteServerPeerings': [ 'string', ] }, 'vcfHostnames': { 'vCenter': 'string', 'nsx': 'string', 'nsxManager1': 'string', 'nsxManager2': 'string', 'nsxManager3': 'string', 'nsxEdge1': 'string', 'nsxEdge2': 'string', 'sddcManager': 'string', 'cloudBuilder': 'string' }, 'kmsKeyId': 'string', 'serviceAccessSecurityGroups': { 'securityGroups': [ 'string', ] }, 'credentials': [ { 'secretArn': 'string' }, ] } } **Response Structure** * *(dict) --* * **environment** *(dict) --* A description of the requested environment. * **environmentId** *(string) --* The unique ID for the environment. * **environmentState** *(string) --* The state of an environment. * **stateDetails** *(string) --* A detailed description of the "environmentState" of an environment. * **createdAt** *(datetime) --* The date and time that the environment was created. * **modifiedAt** *(datetime) --* The date and time that the environment was modified. * **environmentArn** *(string) --* The Amazon Resource Name (ARN) that is associated with the environment. * **environmentName** *(string) --* The name of the environment. * **vpcId** *(string) --* The VPC associated with the environment. * **serviceAccessSubnetId** *(string) --* The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to perform validations and create the environment. * **vcfVersion** *(string) --* The VCF version of the environment. * **termsAccepted** *(boolean) --* 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. * **licenseInfo** *(list) --* 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 cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. 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. * **solutionKey** *(string) --* The VCF solution key. This license unlocks VMware VCF product features, including vSphere, NSX, SDDC Manager, and vCenter Server. The VCF solution key must cover a minimum of 256 cores. * **vsanKey** *(string) --* The VSAN license key. This license unlocks vSAN features. The vSAN license key must provide at least 110 TiB of vSAN capacity. * **siteId** *(string) --* The Broadcom Site ID that is associated with your Amazon EVS environment. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS. * **environmentStatus** *(string) --* Reports impaired functionality that stems from issues internal to the environment, such as impaired reachability. * **checks** *(list) --* A check on the environment to identify instance health and VMware VCF licensing issues. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. A check on the environment to identify environment health and validate VMware VCF licensing compliance. * **type** *(string) --* The check type. Amazon EVS performs the following checks. * "KEY_REUSE": 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. * "KEY_COVERAGE": 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. * "REACHABILITY": checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails. * "HOST_COUNT": Checks that your environment has a minimum of 4 hosts, which is a requirement for VCF 5.2.1. 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-16 hosts. * **result** *(string) --* The check result. * **impairedSince** *(datetime) --* The time when environment health began to be impaired. * **connectivityInfo** *(dict) --* 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. * **privateRouteServerPeerings** *(list) --* The unique IDs for private route server peers. * *(string) --* * **vcfHostnames** *(dict) --* The DNS hostnames to be used by the VCF management appliances in your environment. For environment creation to be successful, each hostname entry must resolve to a domain name that you've registered in your DNS service of choice and configured in the DHCP option set of your VPC. DNS hostnames cannot be changed after environment creation has started. * **vCenter** *(string) --* The VMware vCenter hostname. * **nsx** *(string) --* The VMware NSX hostname. * **nsxManager1** *(string) --* The hostname for the first VMware NSX Manager virtual machine (VM). * **nsxManager2** *(string) --* The hostname for the second VMware NSX Manager virtual machine (VM). * **nsxManager3** *(string) --* The hostname for the third VMware NSX Manager virtual machine (VM). * **nsxEdge1** *(string) --* The hostname for the first NSX Edge node. * **nsxEdge2** *(string) --* The hostname for the second NSX Edge node. * **sddcManager** *(string) --* The hostname for SDDC Manager. * **cloudBuilder** *(string) --* The hostname for VMware Cloud Builder. * **kmsKeyId** *(string) --* The Amazon Web Services KMS key ID that Amazon Web Services Secrets Manager uses to encrypt secrets that are associated with the environment. These secrets contain the VCF credentials that are needed to install vCenter Server, NSX, and SDDC Manager. By default, Amazon EVS use the Amazon Web Services Secrets Manager managed key "aws/secretsmanager". You can also specify a customer managed key. * **serviceAccessSecurityGroups** *(dict) --* The security groups that allow traffic between the Amazon EVS control plane and your VPC for service access. If a security group is not specified, Amazon EVS uses the default security group in your account for service access. * **securityGroups** *(list) --* The security groups that allow service access. * *(string) --* * **credentials** *(list) --* The VCF credentials that are stored as Amazon EVS managed secrets in Amazon Web Services Secrets Manager. Amazon EVS stores credentials that are needed to install vCenter Server, NSX, and SDDC Manager. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. A managed secret that contains the credentials for installing vCenter Server, NSX, and SDDC Manager. During environment creation, the Amazon EVS control plane uses Amazon Web Services Secrets Manager to create, encrypt, validate, and store secrets. If you choose to delete your environment, Amazon EVS also deletes the secrets that are associated with your environment. Amazon EVS does not provide managed rotation of secrets. We recommend that you rotate secrets regularly to ensure that secrets are not long-lived. * **secretArn** *(string) --* The Amazon Resource Name (ARN) of the secret. **Exceptions** * "EVS.Client.exceptions.ValidationException" * "EVS.Client.exceptions.ResourceNotFoundException" EVS / Client / get_paginator get_paginator ************* EVS.Client.get_paginator(operation_name) Create a paginator for an operation. Parameters: **operation_name** (*string*) -- The operation name. This is the same name as the method name on the client. For example, if the method name is "create_foo", and you'd normally invoke the operation as "client.create_foo(**kwargs)", if the "create_foo" operation can be paginated, you can use the call "client.get_paginator("create_foo")". Raises: **OperationNotPageableError** -- Raised if the operation is not pageable. You can use the "client.can_paginate" method to check if an operation is pageable. Return type: "botocore.paginate.Paginator" Returns: A paginator object. EVS / Client / delete_environment delete_environment ****************** EVS.Client.delete_environment(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. Deletes an Amazon EVS environment. Amazon EVS environments will only be enabled for deletion once the hosts are deleted. You can delete hosts using the "DeleteEnvironmentHost" action. Environment deletion also deletes the associated Amazon EVS VLAN subnets. Other associated Amazon Web Services resources are not deleted. These resources may continue to incur costs. See also: AWS API Documentation **Request Syntax** response = client.delete_environment( clientToken='string', environmentId='string' ) Parameters: * **clientToken** (*string*) -- Note: This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect. A unique, case-sensitive identifier that you provide to ensure the idempotency of the environment deletion request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. This field is autopopulated if not provided. * **environmentId** (*string*) -- **[REQUIRED]** A unique ID associated with the environment to be deleted. Return type: dict Returns: **Response Syntax** { 'environment': { 'environmentId': 'string', 'environmentState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', 'stateDetails': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'environmentArn': 'string', 'environmentName': 'string', 'vpcId': 'string', 'serviceAccessSubnetId': 'string', 'vcfVersion': 'VCF-5.2.1', 'termsAccepted': True|False, 'licenseInfo': [ { 'solutionKey': 'string', 'vsanKey': 'string' }, ], 'siteId': 'string', 'environmentStatus': 'PASSED'|'FAILED'|'UNKNOWN', 'checks': [ { 'type': 'KEY_REUSE'|'KEY_COVERAGE'|'REACHABILITY'|'HOST_COUNT', 'result': 'PASSED'|'FAILED'|'UNKNOWN', 'impairedSince': datetime(2015, 1, 1) }, ], 'connectivityInfo': { 'privateRouteServerPeerings': [ 'string', ] }, 'vcfHostnames': { 'vCenter': 'string', 'nsx': 'string', 'nsxManager1': 'string', 'nsxManager2': 'string', 'nsxManager3': 'string', 'nsxEdge1': 'string', 'nsxEdge2': 'string', 'sddcManager': 'string', 'cloudBuilder': 'string' }, 'kmsKeyId': 'string', 'serviceAccessSecurityGroups': { 'securityGroups': [ 'string', ] }, 'credentials': [ { 'secretArn': 'string' }, ] } } **Response Structure** * *(dict) --* * **environment** *(dict) --* A description of the deleted environment. * **environmentId** *(string) --* The unique ID for the environment. * **environmentState** *(string) --* The state of an environment. * **stateDetails** *(string) --* A detailed description of the "environmentState" of an environment. * **createdAt** *(datetime) --* The date and time that the environment was created. * **modifiedAt** *(datetime) --* The date and time that the environment was modified. * **environmentArn** *(string) --* The Amazon Resource Name (ARN) that is associated with the environment. * **environmentName** *(string) --* The name of the environment. * **vpcId** *(string) --* The VPC associated with the environment. * **serviceAccessSubnetId** *(string) --* The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to perform validations and create the environment. * **vcfVersion** *(string) --* The VCF version of the environment. * **termsAccepted** *(boolean) --* 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. * **licenseInfo** *(list) --* 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 cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. 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. * **solutionKey** *(string) --* The VCF solution key. This license unlocks VMware VCF product features, including vSphere, NSX, SDDC Manager, and vCenter Server. The VCF solution key must cover a minimum of 256 cores. * **vsanKey** *(string) --* The VSAN license key. This license unlocks vSAN features. The vSAN license key must provide at least 110 TiB of vSAN capacity. * **siteId** *(string) --* The Broadcom Site ID that is associated with your Amazon EVS environment. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS. * **environmentStatus** *(string) --* Reports impaired functionality that stems from issues internal to the environment, such as impaired reachability. * **checks** *(list) --* A check on the environment to identify instance health and VMware VCF licensing issues. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. A check on the environment to identify environment health and validate VMware VCF licensing compliance. * **type** *(string) --* The check type. Amazon EVS performs the following checks. * "KEY_REUSE": 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. * "KEY_COVERAGE": 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. * "REACHABILITY": checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails. * "HOST_COUNT": Checks that your environment has a minimum of 4 hosts, which is a requirement for VCF 5.2.1. 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-16 hosts. * **result** *(string) --* The check result. * **impairedSince** *(datetime) --* The time when environment health began to be impaired. * **connectivityInfo** *(dict) --* 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. * **privateRouteServerPeerings** *(list) --* The unique IDs for private route server peers. * *(string) --* * **vcfHostnames** *(dict) --* The DNS hostnames to be used by the VCF management appliances in your environment. For environment creation to be successful, each hostname entry must resolve to a domain name that you've registered in your DNS service of choice and configured in the DHCP option set of your VPC. DNS hostnames cannot be changed after environment creation has started. * **vCenter** *(string) --* The VMware vCenter hostname. * **nsx** *(string) --* The VMware NSX hostname. * **nsxManager1** *(string) --* The hostname for the first VMware NSX Manager virtual machine (VM). * **nsxManager2** *(string) --* The hostname for the second VMware NSX Manager virtual machine (VM). * **nsxManager3** *(string) --* The hostname for the third VMware NSX Manager virtual machine (VM). * **nsxEdge1** *(string) --* The hostname for the first NSX Edge node. * **nsxEdge2** *(string) --* The hostname for the second NSX Edge node. * **sddcManager** *(string) --* The hostname for SDDC Manager. * **cloudBuilder** *(string) --* The hostname for VMware Cloud Builder. * **kmsKeyId** *(string) --* The Amazon Web Services KMS key ID that Amazon Web Services Secrets Manager uses to encrypt secrets that are associated with the environment. These secrets contain the VCF credentials that are needed to install vCenter Server, NSX, and SDDC Manager. By default, Amazon EVS use the Amazon Web Services Secrets Manager managed key "aws/secretsmanager". You can also specify a customer managed key. * **serviceAccessSecurityGroups** *(dict) --* The security groups that allow traffic between the Amazon EVS control plane and your VPC for service access. If a security group is not specified, Amazon EVS uses the default security group in your account for service access. * **securityGroups** *(list) --* The security groups that allow service access. * *(string) --* * **credentials** *(list) --* The VCF credentials that are stored as Amazon EVS managed secrets in Amazon Web Services Secrets Manager. Amazon EVS stores credentials that are needed to install vCenter Server, NSX, and SDDC Manager. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. A managed secret that contains the credentials for installing vCenter Server, NSX, and SDDC Manager. During environment creation, the Amazon EVS control plane uses Amazon Web Services Secrets Manager to create, encrypt, validate, and store secrets. If you choose to delete your environment, Amazon EVS also deletes the secrets that are associated with your environment. Amazon EVS does not provide managed rotation of secrets. We recommend that you rotate secrets regularly to ensure that secrets are not long-lived. * **secretArn** *(string) --* The Amazon Resource Name (ARN) of the secret. **Exceptions** * "EVS.Client.exceptions.ValidationException" * "EVS.Client.exceptions.ResourceNotFoundException" EVS / Client / can_paginate can_paginate ************ EVS.Client.can_paginate(operation_name) Check if an operation can be paginated. Parameters: **operation_name** (*string*) -- The operation name. This is the same name as the method name on the client. For example, if the method name is "create_foo", and you'd normally invoke the operation as "client.create_foo(**kwargs)", if the "create_foo" operation can be paginated, you can use the call "client.get_paginator("create_foo")". Returns: "True" if the operation can be paginated, "False" otherwise. EVS / Client / create_environment create_environment ****************** EVS.Client.create_environment(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server. During environment creation, Amazon EVS performs validations on DNS settings, provisions VLAN subnets and hosts, and deploys the supplied version of VCF. It can take several hours to create an environment. After the deployment completes, you can configure VCF in the vSphere user interface according to your needs. Note: You cannot use the "dedicatedHostId" and "placementGroupId" parameters together in the same "CreateEnvironment" action. This results in a "ValidationException" response. See also: AWS API Documentation **Request Syntax** response = client.create_environment( clientToken='string', environmentName='string', kmsKeyId='string', tags={ 'string': 'string' }, serviceAccessSecurityGroups={ 'securityGroups': [ 'string', ] }, vpcId='string', serviceAccessSubnetId='string', vcfVersion='VCF-5.2.1', termsAccepted=True|False, licenseInfo=[ { 'solutionKey': 'string', 'vsanKey': 'string' }, ], initialVlans={ 'vmkManagement': { 'cidr': 'string' }, 'vmManagement': { 'cidr': 'string' }, 'vMotion': { 'cidr': 'string' }, 'vSan': { 'cidr': 'string' }, 'vTep': { 'cidr': 'string' }, 'edgeVTep': { 'cidr': 'string' }, 'nsxUplink': { 'cidr': 'string' }, 'hcx': { 'cidr': 'string' }, 'expansionVlan1': { 'cidr': 'string' }, 'expansionVlan2': { 'cidr': 'string' } }, hosts=[ { 'hostName': 'string', 'keyName': 'string', 'instanceType': 'i4i.metal', 'placementGroupId': 'string', 'dedicatedHostId': 'string' }, ], connectivityInfo={ 'privateRouteServerPeerings': [ 'string', ] }, vcfHostnames={ 'vCenter': 'string', 'nsx': 'string', 'nsxManager1': 'string', 'nsxManager2': 'string', 'nsxManager3': 'string', 'nsxEdge1': 'string', 'nsxEdge2': 'string', 'sddcManager': 'string', 'cloudBuilder': 'string' }, siteId='string' ) Parameters: * **clientToken** (*string*) -- Note: This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect. A unique, case-sensitive identifier that you provide to ensure the idempotency of the environment creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. This field is autopopulated if not provided. * **environmentName** (*string*) -- The name to give to your environment. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphanumeric character, and can't be longer than 100 characters. The name must be unique within the Amazon Web Services Region and Amazon Web Services account that you're creating the environment in. * **kmsKeyId** (*string*) -- A unique ID for the customer- managed KMS key that is used to encrypt the VCF credential pairs for SDDC Manager, NSX Manager, and vCenter appliances. These credentials are stored in Amazon Web Services Secrets Manager. * **tags** (*dict*) -- Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources. * *(string) --* * *(string) --* * **serviceAccessSecurityGroups** (*dict*) -- The security group that controls communication between the Amazon EVS control plane and VPC. The default security group is used if a custom security group isn't specified. The security group should allow access to the following. * TCP/UDP access to the DNS servers * HTTPS/SSH access to the host management VLAN subnet * HTTPS/SSH access to the Management VM VLAN subnet You should avoid modifying the security group rules after deployment, as this can break the persistent connection between the Amazon EVS control plane and VPC. This can cause future environment actions like adding or removing hosts to fail. * **securityGroups** *(list) --* The security groups that allow service access. * *(string) --* * **vpcId** (*string*) -- **[REQUIRED]** A unique ID for the VPC that the environment is deployed inside. Amazon EVS requires that all VPC subnets exist in a single Availability Zone in a Region where the service is available. The VPC that you specify must have a valid DHCP option set with domain name, at least two DNS servers, and an NTP server. These settings are used to configure your VCF appliances and hosts. The VPC cannot be used with any other deployed Amazon EVS environment. Amazon EVS does not provide multi-VPC support for environments at this time. Amazon EVS does not support the following Amazon Web Services networking options for NSX overlay connectivity: cross-Region VPC peering, Amazon S3 gateway endpoints, or Amazon Web Services Direct Connect virtual private gateway associations. Note: Ensure that you specify a VPC that is adequately sized to accommodate the {evws} subnets. * **serviceAccessSubnetId** (*string*) -- **[REQUIRED]** 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. * **vcfVersion** (*string*) -- **[REQUIRED]** The VCF version to use for the environment. Amazon EVS only supports VCF version 5.2.1 at this time. * **termsAccepted** (*boolean*) -- **[REQUIRED]** 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. * **licenseInfo** (*list*) -- **[REQUIRED]** 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 cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity. VCF licenses can be used for only one Amazon EVS environment. Amazon EVS does not support reuse of VCF licenses for multiple environments. VCF license information can be retrieved from the Broadcom portal. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. 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. * **solutionKey** *(string) --* **[REQUIRED]** The VCF solution key. This license unlocks VMware VCF product features, including vSphere, NSX, SDDC Manager, and vCenter Server. The VCF solution key must cover a minimum of 256 cores. * **vsanKey** *(string) --* **[REQUIRED]** The VSAN license key. This license unlocks vSAN features. The vSAN license key must provide at least 110 TiB of vSAN capacity. * **initialVlans** (*dict*) -- **[REQUIRED]** The initial VLAN subnets for the Amazon EVS environment. Note: 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. * **vmkManagement** *(dict) --* **[REQUIRED]** The host VMkernel management VLAN subnet. This VLAN subnet carries traffic for managing ESXi hosts and communicating with VMware vCenter Server. * **cidr** *(string) --* **[REQUIRED]** The CIDR block that you provide to create an Amazon EVS VLAN subnet. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC. * **vmManagement** *(dict) --* **[REQUIRED]** The VM management VLAN subnet. This VLAN subnet carries traffic for vSphere virtual machines. * **cidr** *(string) --* **[REQUIRED]** The CIDR block that you provide to create an Amazon EVS VLAN subnet. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC. * **vMotion** *(dict) --* **[REQUIRED]** The vMotion VLAN subnet. This VLAN subnet carries traffic for vSphere vMotion. * **cidr** *(string) --* **[REQUIRED]** The CIDR block that you provide to create an Amazon EVS VLAN subnet. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC. * **vSan** *(dict) --* **[REQUIRED]** The vSAN VLAN subnet. This VLAN subnet carries the communication between ESXi hosts to implement a vSAN shared storage pool. * **cidr** *(string) --* **[REQUIRED]** The CIDR block that you provide to create an Amazon EVS VLAN subnet. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC. * **vTep** *(dict) --* **[REQUIRED]** The VTEP VLAN subnet. This VLAN subnet handles internal network traffic between virtual machines within a VCF instance. * **cidr** *(string) --* **[REQUIRED]** The CIDR block that you provide to create an Amazon EVS VLAN subnet. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC. * **edgeVTep** *(dict) --* **[REQUIRED]** The edge VTEP VLAN subnet. This VLAN subnet manages traffic flowing between the internal network and external networks, including internet access and other site connections. * **cidr** *(string) --* **[REQUIRED]** The CIDR block that you provide to create an Amazon EVS VLAN subnet. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC. * **nsxUplink** *(dict) --* **[REQUIRED]** The NSX uplink VLAN subnet. This VLAN subnet allows connectivity to the NSX overlay network. * **cidr** *(string) --* **[REQUIRED]** The CIDR block that you provide to create an Amazon EVS VLAN subnet. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC. * **hcx** *(dict) --* **[REQUIRED]** The HCX VLAN subnet. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation. * **cidr** *(string) --* **[REQUIRED]** The CIDR block that you provide to create an Amazon EVS VLAN subnet. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC. * **expansionVlan1** *(dict) --* **[REQUIRED]** An additional VLAN subnet that can be used to extend VCF capabilities once configured. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations. * **cidr** *(string) --* **[REQUIRED]** The CIDR block that you provide to create an Amazon EVS VLAN subnet. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC. * **expansionVlan2** *(dict) --* **[REQUIRED]** An additional VLAN subnet that can be used to extend VCF capabilities once configured. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations. * **cidr** *(string) --* **[REQUIRED]** The CIDR block that you provide to create an Amazon EVS VLAN subnet. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC. * **hosts** (*list*) -- **[REQUIRED]** The ESXi hosts to add to the environment. Amazon EVS requires that you provide details for a minimum of 4 hosts during environment creation. 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. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. An object that represents a host. Note: You cannot use "dedicatedHostId" and "placementGroupId" together in the same "HostInfoForCreate``object. This results in a ``ValidationException" response. * **hostName** *(string) --* **[REQUIRED]** The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF. * **keyName** *(string) --* **[REQUIRED]** The name of the SSH key that is used to access the host. * **instanceType** *(string) --* **[REQUIRED]** The EC2 instance type that represents the host. * **placementGroupId** *(string) --* The unique ID of the placement group where the host is placed. * **dedicatedHostId** *(string) --* The unique ID of the Amazon EC2 Dedicated Host. * **connectivityInfo** (*dict*) -- **[REQUIRED]** 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. * **privateRouteServerPeerings** *(list) --* **[REQUIRED]** The unique IDs for private route server peers. * *(string) --* * **vcfHostnames** (*dict*) -- **[REQUIRED]** 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. * **vCenter** *(string) --* **[REQUIRED]** The VMware vCenter hostname. * **nsx** *(string) --* **[REQUIRED]** The VMware NSX hostname. * **nsxManager1** *(string) --* **[REQUIRED]** The hostname for the first VMware NSX Manager virtual machine (VM). * **nsxManager2** *(string) --* **[REQUIRED]** The hostname for the second VMware NSX Manager virtual machine (VM). * **nsxManager3** *(string) --* **[REQUIRED]** The hostname for the third VMware NSX Manager virtual machine (VM). * **nsxEdge1** *(string) --* **[REQUIRED]** The hostname for the first NSX Edge node. * **nsxEdge2** *(string) --* **[REQUIRED]** The hostname for the second NSX Edge node. * **sddcManager** *(string) --* **[REQUIRED]** The hostname for SDDC Manager. * **cloudBuilder** *(string) --* **[REQUIRED]** The hostname for VMware Cloud Builder. * **siteId** (*string*) -- **[REQUIRED]** 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. Return type: dict Returns: **Response Syntax** { 'environment': { 'environmentId': 'string', 'environmentState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', 'stateDetails': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'environmentArn': 'string', 'environmentName': 'string', 'vpcId': 'string', 'serviceAccessSubnetId': 'string', 'vcfVersion': 'VCF-5.2.1', 'termsAccepted': True|False, 'licenseInfo': [ { 'solutionKey': 'string', 'vsanKey': 'string' }, ], 'siteId': 'string', 'environmentStatus': 'PASSED'|'FAILED'|'UNKNOWN', 'checks': [ { 'type': 'KEY_REUSE'|'KEY_COVERAGE'|'REACHABILITY'|'HOST_COUNT', 'result': 'PASSED'|'FAILED'|'UNKNOWN', 'impairedSince': datetime(2015, 1, 1) }, ], 'connectivityInfo': { 'privateRouteServerPeerings': [ 'string', ] }, 'vcfHostnames': { 'vCenter': 'string', 'nsx': 'string', 'nsxManager1': 'string', 'nsxManager2': 'string', 'nsxManager3': 'string', 'nsxEdge1': 'string', 'nsxEdge2': 'string', 'sddcManager': 'string', 'cloudBuilder': 'string' }, 'kmsKeyId': 'string', 'serviceAccessSecurityGroups': { 'securityGroups': [ 'string', ] }, 'credentials': [ { 'secretArn': 'string' }, ] } } **Response Structure** * *(dict) --* * **environment** *(dict) --* A description of the created environment. * **environmentId** *(string) --* The unique ID for the environment. * **environmentState** *(string) --* The state of an environment. * **stateDetails** *(string) --* A detailed description of the "environmentState" of an environment. * **createdAt** *(datetime) --* The date and time that the environment was created. * **modifiedAt** *(datetime) --* The date and time that the environment was modified. * **environmentArn** *(string) --* The Amazon Resource Name (ARN) that is associated with the environment. * **environmentName** *(string) --* The name of the environment. * **vpcId** *(string) --* The VPC associated with the environment. * **serviceAccessSubnetId** *(string) --* The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to perform validations and create the environment. * **vcfVersion** *(string) --* The VCF version of the environment. * **termsAccepted** *(boolean) --* 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. * **licenseInfo** *(list) --* 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 cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. 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. * **solutionKey** *(string) --* The VCF solution key. This license unlocks VMware VCF product features, including vSphere, NSX, SDDC Manager, and vCenter Server. The VCF solution key must cover a minimum of 256 cores. * **vsanKey** *(string) --* The VSAN license key. This license unlocks vSAN features. The vSAN license key must provide at least 110 TiB of vSAN capacity. * **siteId** *(string) --* The Broadcom Site ID that is associated with your Amazon EVS environment. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS. * **environmentStatus** *(string) --* Reports impaired functionality that stems from issues internal to the environment, such as impaired reachability. * **checks** *(list) --* A check on the environment to identify instance health and VMware VCF licensing issues. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. A check on the environment to identify environment health and validate VMware VCF licensing compliance. * **type** *(string) --* The check type. Amazon EVS performs the following checks. * "KEY_REUSE": 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. * "KEY_COVERAGE": 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. * "REACHABILITY": checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails. * "HOST_COUNT": Checks that your environment has a minimum of 4 hosts, which is a requirement for VCF 5.2.1. 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-16 hosts. * **result** *(string) --* The check result. * **impairedSince** *(datetime) --* The time when environment health began to be impaired. * **connectivityInfo** *(dict) --* 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. * **privateRouteServerPeerings** *(list) --* The unique IDs for private route server peers. * *(string) --* * **vcfHostnames** *(dict) --* The DNS hostnames to be used by the VCF management appliances in your environment. For environment creation to be successful, each hostname entry must resolve to a domain name that you've registered in your DNS service of choice and configured in the DHCP option set of your VPC. DNS hostnames cannot be changed after environment creation has started. * **vCenter** *(string) --* The VMware vCenter hostname. * **nsx** *(string) --* The VMware NSX hostname. * **nsxManager1** *(string) --* The hostname for the first VMware NSX Manager virtual machine (VM). * **nsxManager2** *(string) --* The hostname for the second VMware NSX Manager virtual machine (VM). * **nsxManager3** *(string) --* The hostname for the third VMware NSX Manager virtual machine (VM). * **nsxEdge1** *(string) --* The hostname for the first NSX Edge node. * **nsxEdge2** *(string) --* The hostname for the second NSX Edge node. * **sddcManager** *(string) --* The hostname for SDDC Manager. * **cloudBuilder** *(string) --* The hostname for VMware Cloud Builder. * **kmsKeyId** *(string) --* The Amazon Web Services KMS key ID that Amazon Web Services Secrets Manager uses to encrypt secrets that are associated with the environment. These secrets contain the VCF credentials that are needed to install vCenter Server, NSX, and SDDC Manager. By default, Amazon EVS use the Amazon Web Services Secrets Manager managed key "aws/secretsmanager". You can also specify a customer managed key. * **serviceAccessSecurityGroups** *(dict) --* The security groups that allow traffic between the Amazon EVS control plane and your VPC for service access. If a security group is not specified, Amazon EVS uses the default security group in your account for service access. * **securityGroups** *(list) --* The security groups that allow service access. * *(string) --* * **credentials** *(list) --* The VCF credentials that are stored as Amazon EVS managed secrets in Amazon Web Services Secrets Manager. Amazon EVS stores credentials that are needed to install vCenter Server, NSX, and SDDC Manager. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. A managed secret that contains the credentials for installing vCenter Server, NSX, and SDDC Manager. During environment creation, the Amazon EVS control plane uses Amazon Web Services Secrets Manager to create, encrypt, validate, and store secrets. If you choose to delete your environment, Amazon EVS also deletes the secrets that are associated with your environment. Amazon EVS does not provide managed rotation of secrets. We recommend that you rotate secrets regularly to ensure that secrets are not long-lived. * **secretArn** *(string) --* The Amazon Resource Name (ARN) of the secret. **Exceptions** * "EVS.Client.exceptions.ValidationException" EVS / Client / delete_environment_host delete_environment_host *********************** EVS.Client.delete_environment_host(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. Deletes a host from an Amazon EVS environment. Note: Before deleting a host, you must unassign and decommission the host from within the SDDC Manager user interface. Not doing so could impact the availability of your virtual machines or result in data loss. See also: AWS API Documentation **Request Syntax** response = client.delete_environment_host( clientToken='string', environmentId='string', hostName='string' ) Parameters: * **clientToken** (*string*) -- Note: This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect. A unique, case-sensitive identifier that you provide to ensure the idempotency of the host deletion request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. This field is autopopulated if not provided. * **environmentId** (*string*) -- **[REQUIRED]** A unique ID for the host's environment. * **hostName** (*string*) -- **[REQUIRED]** The DNS hostname associated with the host to be deleted. Return type: dict Returns: **Response Syntax** { 'environmentSummary': { 'environmentId': 'string', 'environmentName': 'string', 'vcfVersion': 'VCF-5.2.1', 'environmentStatus': 'PASSED'|'FAILED'|'UNKNOWN', 'environmentState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'environmentArn': 'string' }, 'host': { 'hostName': 'string', 'ipAddress': 'string', 'keyName': 'string', 'instanceType': 'i4i.metal', 'placementGroupId': 'string', 'dedicatedHostId': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'hostState': 'CREATING'|'CREATED'|'UPDATING'|'DELETING'|'DELETED'|'CREATE_FAILED'|'UPDATE_FAILED', 'stateDetails': 'string', 'ec2InstanceId': 'string', 'networkInterfaces': [ { 'networkInterfaceId': 'string' }, ] } } **Response Structure** * *(dict) --* * **environmentSummary** *(dict) --* A summary of the environment that the host was deleted from. * **environmentId** *(string) --* A unique ID for the environment. * **environmentName** *(string) --* The name of the environment. * **vcfVersion** *(string) --* The VCF version of the environment. * **environmentStatus** *(string) --* Reports impaired functionality that stems from issues internal to the environment, such as impaired reachability. * **environmentState** *(string) --* The state of an environment. * **createdAt** *(datetime) --* The date and time that the environment was created. * **modifiedAt** *(datetime) --* The date and time that the environment was modified. * **environmentArn** *(string) --* The Amazon Resource Name (ARN) that is associated with the environment. * **host** *(dict) --* A description of the deleted host. * **hostName** *(string) --* The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF. * **ipAddress** *(string) --* The IP address of the host. * **keyName** *(string) --* The name of the SSH key that is used to access the host. * **instanceType** *(string) --* The EC2 instance type of the host. Note: EC2 instances created through Amazon EVS do not support associating an IAM instance profile. * **placementGroupId** *(string) --* The unique ID of the placement group where the host is placed. * **dedicatedHostId** *(string) --* The unique ID of the Amazon EC2 Dedicated Host. * **createdAt** *(datetime) --* The date and time that the host was created. * **modifiedAt** *(datetime) --* The date and time that the host was modified. * **hostState** *(string) --* The state of the host. * **stateDetails** *(string) --* A detailed description of the "hostState" of a host. * **ec2InstanceId** *(string) --* The unique ID of the EC2 instance that represents the host. * **networkInterfaces** *(list) --* The elastic network interfaces that are attached to the host. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. An elastic network interface (ENI) that connects hosts to the VLAN subnets. Amazon EVS provisions two identically configured ENIs in the VMkernel management subnet during host creation. One ENI is active, and the other is in standby mode for automatic switchover during a failure scenario. * **networkInterfaceId** *(string) --* The unique ID of the elastic network interface. **Exceptions** * "EVS.Client.exceptions.ValidationException" * "EVS.Client.exceptions.ResourceNotFoundException" EVS / Client / list_environments list_environments ***************** EVS.Client.list_environments(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. Lists the Amazon EVS environments in your Amazon Web Services account in the specified Amazon Web Services Region. See also: AWS API Documentation **Request Syntax** response = client.list_environments( nextToken='string', maxResults=123, state=[ 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', ] ) Parameters: * **nextToken** (*string*) -- A unique pagination token for each page. If "nextToken" is returned, there are more results available. Make the call again using the returned token with all other arguments unchanged to retrieve the next page. Each pagination token expires after 24 hours. Using an expired pagination token will return an *HTTP 400 InvalidToken* error. * **maxResults** (*integer*) -- The maximum number of results to return. If you specify "MaxResults" in the request, the response includes information up to the limit specified. * **state** (*list*) -- The state of an environment. Used to filter response results to return only environments with the specified "environmentState". * *(string) --* Return type: dict Returns: **Response Syntax** { 'nextToken': 'string', 'environmentSummaries': [ { 'environmentId': 'string', 'environmentName': 'string', 'vcfVersion': 'VCF-5.2.1', 'environmentStatus': 'PASSED'|'FAILED'|'UNKNOWN', 'environmentState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'environmentArn': 'string' }, ] } **Response Structure** * *(dict) --* * **nextToken** *(string) --* A unique pagination token for next page results. Make the call again using this token to retrieve the next page. * **environmentSummaries** *(list) --* A list of environments with summarized environment details. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. A list of environments with summarized environment details. * **environmentId** *(string) --* A unique ID for the environment. * **environmentName** *(string) --* The name of the environment. * **vcfVersion** *(string) --* The VCF version of the environment. * **environmentStatus** *(string) --* Reports impaired functionality that stems from issues internal to the environment, such as impaired reachability. * **environmentState** *(string) --* The state of an environment. * **createdAt** *(datetime) --* The date and time that the environment was created. * **modifiedAt** *(datetime) --* The date and time that the environment was modified. * **environmentArn** *(string) --* The Amazon Resource Name (ARN) that is associated with the environment. **Exceptions** * "EVS.Client.exceptions.ValidationException" EVS / Client / list_environment_hosts list_environment_hosts ********************** EVS.Client.list_environment_hosts(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. List the hosts within an environment. See also: AWS API Documentation **Request Syntax** response = client.list_environment_hosts( nextToken='string', maxResults=123, environmentId='string' ) Parameters: * **nextToken** (*string*) -- A unique pagination token for each page. If "nextToken" is returned, there are more results available. Make the call again using the returned token with all other arguments unchanged to retrieve the next page. Each pagination token expires after 24 hours. Using an expired pagination token will return an *HTTP 400 InvalidToken* error. * **maxResults** (*integer*) -- The maximum number of results to return. If you specify "MaxResults" in the request, the response includes information up to the limit specified. * **environmentId** (*string*) -- **[REQUIRED]** A unique ID for the environment. Return type: dict Returns: **Response Syntax** { 'nextToken': 'string', 'environmentHosts': [ { 'hostName': 'string', 'ipAddress': 'string', 'keyName': 'string', 'instanceType': 'i4i.metal', 'placementGroupId': 'string', 'dedicatedHostId': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'hostState': 'CREATING'|'CREATED'|'UPDATING'|'DELETING'|'DELETED'|'CREATE_FAILED'|'UPDATE_FAILED', 'stateDetails': 'string', 'ec2InstanceId': 'string', 'networkInterfaces': [ { 'networkInterfaceId': 'string' }, ] }, ] } **Response Structure** * *(dict) --* * **nextToken** *(string) --* A unique pagination token for next page results. Make the call again using this token to retrieve the next page. * **environmentHosts** *(list) --* A list of hosts in the environment. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. An ESXi 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 "CreateEnvironmentHost" operation. Amazon EVS supports 4-16 hosts per environment. * **hostName** *(string) --* The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF. * **ipAddress** *(string) --* The IP address of the host. * **keyName** *(string) --* The name of the SSH key that is used to access the host. * **instanceType** *(string) --* The EC2 instance type of the host. Note: EC2 instances created through Amazon EVS do not support associating an IAM instance profile. * **placementGroupId** *(string) --* The unique ID of the placement group where the host is placed. * **dedicatedHostId** *(string) --* The unique ID of the Amazon EC2 Dedicated Host. * **createdAt** *(datetime) --* The date and time that the host was created. * **modifiedAt** *(datetime) --* The date and time that the host was modified. * **hostState** *(string) --* The state of the host. * **stateDetails** *(string) --* A detailed description of the "hostState" of a host. * **ec2InstanceId** *(string) --* The unique ID of the EC2 instance that represents the host. * **networkInterfaces** *(list) --* The elastic network interfaces that are attached to the host. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. An elastic network interface (ENI) that connects hosts to the VLAN subnets. Amazon EVS provisions two identically configured ENIs in the VMkernel management subnet during host creation. One ENI is active, and the other is in standby mode for automatic switchover during a failure scenario. * **networkInterfaceId** *(string) --* The unique ID of the elastic network interface. **Exceptions** * "EVS.Client.exceptions.ValidationException" * "EVS.Client.exceptions.ResourceNotFoundException" EVS / Client / create_environment_host create_environment_host *********************** EVS.Client.create_environment_host(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. Creates an ESXi host and adds it to an Amazon EVS environment. Amazon EVS supports 4-16 hosts per environment. This action can only be used after the Amazon EVS environment is deployed. All Amazon EVS hosts are created with the latest AMI release version for the respective VCF version of the environment. Amazon EVS hosts are commissioned in the SDDC Manager inventory as unassigned hosts. You can use the "dedicatedHostId" parameter to specify an Amazon EC2 Dedicated Host for ESXi host creation. You can use the "placementGroupId" parameter to specify a cluster or partition placement group to launch EC2 instances into. Note: You cannot use the "dedicatedHostId" and "placementGroupId" parameters together in the same "CreateEnvironmentHost" action. This results in a "ValidationException" response. See also: AWS API Documentation **Request Syntax** response = client.create_environment_host( clientToken='string', environmentId='string', host={ 'hostName': 'string', 'keyName': 'string', 'instanceType': 'i4i.metal', 'placementGroupId': 'string', 'dedicatedHostId': 'string' } ) Parameters: * **clientToken** (*string*) -- Note: This parameter is not used in Amazon EVS currently. If you supply input for this parameter, it will have no effect. A unique, case-sensitive identifier that you provide to ensure the idempotency of the host creation request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. This field is autopopulated if not provided. * **environmentId** (*string*) -- **[REQUIRED]** A unique ID for the environment that the host is added to. * **host** (*dict*) -- **[REQUIRED]** The host that is created and added to the environment. * **hostName** *(string) --* **[REQUIRED]** The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF. * **keyName** *(string) --* **[REQUIRED]** The name of the SSH key that is used to access the host. * **instanceType** *(string) --* **[REQUIRED]** The EC2 instance type that represents the host. * **placementGroupId** *(string) --* The unique ID of the placement group where the host is placed. * **dedicatedHostId** *(string) --* The unique ID of the Amazon EC2 Dedicated Host. Return type: dict Returns: **Response Syntax** { 'environmentSummary': { 'environmentId': 'string', 'environmentName': 'string', 'vcfVersion': 'VCF-5.2.1', 'environmentStatus': 'PASSED'|'FAILED'|'UNKNOWN', 'environmentState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'environmentArn': 'string' }, 'host': { 'hostName': 'string', 'ipAddress': 'string', 'keyName': 'string', 'instanceType': 'i4i.metal', 'placementGroupId': 'string', 'dedicatedHostId': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'hostState': 'CREATING'|'CREATED'|'UPDATING'|'DELETING'|'DELETED'|'CREATE_FAILED'|'UPDATE_FAILED', 'stateDetails': 'string', 'ec2InstanceId': 'string', 'networkInterfaces': [ { 'networkInterfaceId': 'string' }, ] } } **Response Structure** * *(dict) --* * **environmentSummary** *(dict) --* A summary of the environment that the host is created in. * **environmentId** *(string) --* A unique ID for the environment. * **environmentName** *(string) --* The name of the environment. * **vcfVersion** *(string) --* The VCF version of the environment. * **environmentStatus** *(string) --* Reports impaired functionality that stems from issues internal to the environment, such as impaired reachability. * **environmentState** *(string) --* The state of an environment. * **createdAt** *(datetime) --* The date and time that the environment was created. * **modifiedAt** *(datetime) --* The date and time that the environment was modified. * **environmentArn** *(string) --* The Amazon Resource Name (ARN) that is associated with the environment. * **host** *(dict) --* A description of the created host. * **hostName** *(string) --* The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF. * **ipAddress** *(string) --* The IP address of the host. * **keyName** *(string) --* The name of the SSH key that is used to access the host. * **instanceType** *(string) --* The EC2 instance type of the host. Note: EC2 instances created through Amazon EVS do not support associating an IAM instance profile. * **placementGroupId** *(string) --* The unique ID of the placement group where the host is placed. * **dedicatedHostId** *(string) --* The unique ID of the Amazon EC2 Dedicated Host. * **createdAt** *(datetime) --* The date and time that the host was created. * **modifiedAt** *(datetime) --* The date and time that the host was modified. * **hostState** *(string) --* The state of the host. * **stateDetails** *(string) --* A detailed description of the "hostState" of a host. * **ec2InstanceId** *(string) --* The unique ID of the EC2 instance that represents the host. * **networkInterfaces** *(list) --* The elastic network interfaces that are attached to the host. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. An elastic network interface (ENI) that connects hosts to the VLAN subnets. Amazon EVS provisions two identically configured ENIs in the VMkernel management subnet during host creation. One ENI is active, and the other is in standby mode for automatic switchover during a failure scenario. * **networkInterfaceId** *(string) --* The unique ID of the elastic network interface. **Exceptions** * "EVS.Client.exceptions.ThrottlingException" * "EVS.Client.exceptions.ValidationException" EVS / Client / list_tags_for_resource list_tags_for_resource ********************** EVS.Client.list_tags_for_resource(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. Lists the tags for an Amazon EVS resource. See also: AWS API Documentation **Request Syntax** response = client.list_tags_for_resource( resourceArn='string' ) Parameters: **resourceArn** (*string*) -- **[REQUIRED]** The Amazon Resource Name (ARN) that identifies the resource to list tags for. Return type: dict Returns: **Response Syntax** { 'tags': { 'string': 'string' } } **Response Structure** * *(dict) --* * **tags** *(dict) --* The tags for the resource. * *(string) --* * *(string) --* **Exceptions** * "EVS.Client.exceptions.ResourceNotFoundException" EVS / Client / untag_resource untag_resource ************** EVS.Client.untag_resource(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. Deletes specified tags from an Amazon EVS resource. See also: AWS API Documentation **Request Syntax** response = client.untag_resource( resourceArn='string', tagKeys=[ 'string', ] ) Parameters: * **resourceArn** (*string*) -- **[REQUIRED]** The Amazon Resource Name (ARN) of the resource to delete tags from. * **tagKeys** (*list*) -- **[REQUIRED]** The keys of the tags to delete. * *(string) --* Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "EVS.Client.exceptions.ResourceNotFoundException" * "EVS.Client.exceptions.TagPolicyException" EVS / Client / get_waiter get_waiter ********** EVS.Client.get_waiter(waiter_name) Returns an object that can wait for some condition. Parameters: **waiter_name** (*str*) -- The name of the waiter to get. See the waiters section of the service docs for a list of available waiters. Returns: The specified waiter object. Return type: "botocore.waiter.Waiter" EVS / Client / close close ***** EVS.Client.close() Closes underlying endpoint connections. EVS / Client / tag_resource tag_resource ************ EVS.Client.tag_resource(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. Associates the specified tags to an Amazon EVS resource with the specified "resourceArn". If existing tags on a resource are not specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted. Tags that you create for Amazon EVS resources don't propagate to any other resources associated with the environment. For example, if you tag an environment with this operation, that tag doesn't automatically propagate to the VLAN subnets and hosts associated with the environment. See also: AWS API Documentation **Request Syntax** response = client.tag_resource( resourceArn='string', tags={ 'string': 'string' } ) Parameters: * **resourceArn** (*string*) -- **[REQUIRED]** The Amazon Resource Name (ARN) of the resource to add tags to. * **tags** (*dict*) -- **[REQUIRED]** Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other environment or Amazon Web Services resources. * *(string) --* * *(string) --* Return type: dict Returns: **Response Syntax** {} **Response Structure** * *(dict) --* **Exceptions** * "EVS.Client.exceptions.ServiceQuotaExceededException" * "EVS.Client.exceptions.ResourceNotFoundException" * "EVS.Client.exceptions.TooManyTagsException" * "EVS.Client.exceptions.TagPolicyException" EVS / Client / list_environment_vlans list_environment_vlans ********************** EVS.Client.list_environment_vlans(**kwargs) Note: Amazon EVS is in public preview release and is subject to change. Lists environment VLANs that are associated with the specified environment. See also: AWS API Documentation **Request Syntax** response = client.list_environment_vlans( nextToken='string', maxResults=123, environmentId='string' ) Parameters: * **nextToken** (*string*) -- A unique pagination token for each page. If "nextToken" is returned, there are more results available. Make the call again using the returned token with all other arguments unchanged to retrieve the next page. Each pagination token expires after 24 hours. Using an expired pagination token will return an *HTTP 400 InvalidToken* error. * **maxResults** (*integer*) -- The maximum number of results to return. If you specify "MaxResults" in the request, the response includes information up to the limit specified. * **environmentId** (*string*) -- **[REQUIRED]** A unique ID for the environment. Return type: dict Returns: **Response Syntax** { 'nextToken': 'string', 'environmentVlans': [ { 'vlanId': 123, 'cidr': 'string', 'availabilityZone': 'string', 'functionName': 'string', 'subnetId': 'string', 'createdAt': datetime(2015, 1, 1), 'modifiedAt': datetime(2015, 1, 1), 'vlanState': 'CREATING'|'CREATED'|'DELETING'|'DELETED'|'CREATE_FAILED', 'stateDetails': 'string' }, ] } **Response Structure** * *(dict) --* * **nextToken** *(string) --* A unique pagination token for next page results. Make the call again using this token to retrieve the next page. * **environmentVlans** *(list) --* A list of VLANs that are associated with the specified environment. * *(dict) --* Note: Amazon EVS is in public preview release and is subject to change. The VLANs that Amazon EVS creates during environment creation. * **vlanId** *(integer) --* The unique ID of the VLAN. * **cidr** *(string) --* The CIDR block of the VLAN. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. * **availabilityZone** *(string) --* The availability zone of the VLAN. * **functionName** *(string) --* The VMware VCF traffic type that is carried over the VLAN. For example, a VLAN with a "functionName" of "hcx" is being used to carry VMware HCX traffic. * **subnetId** *(string) --* The unique ID of the VLAN subnet. * **createdAt** *(datetime) --* The date and time that the VLAN was created. * **modifiedAt** *(datetime) --* The date and time that the VLAN was modified. * **vlanState** *(string) --* The state of the VLAN. * **stateDetails** *(string) --* The state details of the VLAN. **Exceptions** * "EVS.Client.exceptions.ValidationException" * "EVS.Client.exceptions.ResourceNotFoundException"