:doc:`EC2 <../../ec2>` / Client / modify_vpc_endpoint_service_configuration

*****************************************
modify_vpc_endpoint_service_configuration
*****************************************



.. py:method:: EC2.Client.modify_vpc_endpoint_service_configuration(**kwargs)

  

  Modifies the attributes of the specified VPC endpoint service configuration.

   

  If you set or modify the private DNS name, you must prove that you own the private DNS domain name.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfiguration>`_  


  **Request Syntax**
  ::

    response = client.modify_vpc_endpoint_service_configuration(
        DryRun=True|False,
        ServiceId='string',
        PrivateDnsName='string',
        RemovePrivateDnsName=True|False,
        AcceptanceRequired=True|False,
        AddNetworkLoadBalancerArns=[
            'string',
        ],
        RemoveNetworkLoadBalancerArns=[
            'string',
        ],
        AddGatewayLoadBalancerArns=[
            'string',
        ],
        RemoveGatewayLoadBalancerArns=[
            'string',
        ],
        AddSupportedIpAddressTypes=[
            'string',
        ],
        RemoveSupportedIpAddressTypes=[
            'string',
        ],
        AddSupportedRegions=[
            'string',
        ],
        RemoveSupportedRegions=[
            'string',
        ]
    )
    
  :type DryRun: boolean
  :param DryRun: 

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ``DryRunOperation``. Otherwise, it is ``UnauthorizedOperation``.

    

  
  :type ServiceId: string
  :param ServiceId: **[REQUIRED]** 

    The ID of the service.

    

  
  :type PrivateDnsName: string
  :param PrivateDnsName: 

    (Interface endpoint configuration) The private DNS name to assign to the endpoint service.

    

  
  :type RemovePrivateDnsName: boolean
  :param RemovePrivateDnsName: 

    (Interface endpoint configuration) Removes the private DNS name of the endpoint service.

    

  
  :type AcceptanceRequired: boolean
  :param AcceptanceRequired: 

    Indicates whether requests to create an endpoint to the service must be accepted.

    

  
  :type AddNetworkLoadBalancerArns: list
  :param AddNetworkLoadBalancerArns: 

    The Amazon Resource Names (ARNs) of Network Load Balancers to add to the service configuration.

    

  
    - *(string) --* 

    

  :type RemoveNetworkLoadBalancerArns: list
  :param RemoveNetworkLoadBalancerArns: 

    The Amazon Resource Names (ARNs) of Network Load Balancers to remove from the service configuration.

    

  
    - *(string) --* 

    

  :type AddGatewayLoadBalancerArns: list
  :param AddGatewayLoadBalancerArns: 

    The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to the service configuration.

    

  
    - *(string) --* 

    

  :type RemoveGatewayLoadBalancerArns: list
  :param RemoveGatewayLoadBalancerArns: 

    The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from the service configuration.

    

  
    - *(string) --* 

    

  :type AddSupportedIpAddressTypes: list
  :param AddSupportedIpAddressTypes: 

    The IP address types to add to the service configuration.

    

  
    - *(string) --* 

    

  :type RemoveSupportedIpAddressTypes: list
  :param RemoveSupportedIpAddressTypes: 

    The IP address types to remove from the service configuration.

    

  
    - *(string) --* 

    

  :type AddSupportedRegions: list
  :param AddSupportedRegions: 

    The supported Regions to add to the service configuration.

    

  
    - *(string) --* 

    

  :type RemoveSupportedRegions: list
  :param RemoveSupportedRegions: 

    The supported Regions to remove from the service configuration.

    

  
    - *(string) --* 

    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Return': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Return** *(boolean) --* 

        Returns ``true`` if the request succeeds; otherwise, it returns an error.

        
  