Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes one or more VPC endpoint service configurations in your account.
Before you delete the endpoint service configuration, you must reject
any Available
or PendingAcceptance
interface endpoint connections
that are attached to the service.
Synopsis
- data DeleteVpcEndpointServiceConfigurations = DeleteVpcEndpointServiceConfigurations' {
- dryRun :: Maybe Bool
- serviceIds :: [Text]
- newDeleteVpcEndpointServiceConfigurations :: DeleteVpcEndpointServiceConfigurations
- deleteVpcEndpointServiceConfigurations_dryRun :: Lens' DeleteVpcEndpointServiceConfigurations (Maybe Bool)
- deleteVpcEndpointServiceConfigurations_serviceIds :: Lens' DeleteVpcEndpointServiceConfigurations [Text]
- data DeleteVpcEndpointServiceConfigurationsResponse = DeleteVpcEndpointServiceConfigurationsResponse' {}
- newDeleteVpcEndpointServiceConfigurationsResponse :: Int -> DeleteVpcEndpointServiceConfigurationsResponse
- deleteVpcEndpointServiceConfigurationsResponse_unsuccessful :: Lens' DeleteVpcEndpointServiceConfigurationsResponse (Maybe [UnsuccessfulItem])
- deleteVpcEndpointServiceConfigurationsResponse_httpStatus :: Lens' DeleteVpcEndpointServiceConfigurationsResponse Int
Creating a Request
data DeleteVpcEndpointServiceConfigurations Source #
See: newDeleteVpcEndpointServiceConfigurations
smart constructor.
DeleteVpcEndpointServiceConfigurations' | |
|
Instances
newDeleteVpcEndpointServiceConfigurations :: DeleteVpcEndpointServiceConfigurations Source #
Create a value of DeleteVpcEndpointServiceConfigurations
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DeleteVpcEndpointServiceConfigurations'
, deleteVpcEndpointServiceConfigurations_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
.
$sel:serviceIds:DeleteVpcEndpointServiceConfigurations'
, deleteVpcEndpointServiceConfigurations_serviceIds
- The IDs of one or more services.
Request Lenses
deleteVpcEndpointServiceConfigurations_dryRun :: Lens' DeleteVpcEndpointServiceConfigurations (Maybe Bool) Source #
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
.
deleteVpcEndpointServiceConfigurations_serviceIds :: Lens' DeleteVpcEndpointServiceConfigurations [Text] Source #
The IDs of one or more services.
Destructuring the Response
data DeleteVpcEndpointServiceConfigurationsResponse Source #
See: newDeleteVpcEndpointServiceConfigurationsResponse
smart constructor.
DeleteVpcEndpointServiceConfigurationsResponse' | |
|
Instances
Generic DeleteVpcEndpointServiceConfigurationsResponse Source # | |
Read DeleteVpcEndpointServiceConfigurationsResponse Source # | |
Show DeleteVpcEndpointServiceConfigurationsResponse Source # | |
NFData DeleteVpcEndpointServiceConfigurationsResponse Source # | |
Eq DeleteVpcEndpointServiceConfigurationsResponse Source # | |
type Rep DeleteVpcEndpointServiceConfigurationsResponse Source # | |
Defined in Amazonka.EC2.DeleteVpcEndpointServiceConfigurations type Rep DeleteVpcEndpointServiceConfigurationsResponse = D1 ('MetaData "DeleteVpcEndpointServiceConfigurationsResponse" "Amazonka.EC2.DeleteVpcEndpointServiceConfigurations" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteVpcEndpointServiceConfigurationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unsuccessful") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnsuccessfulItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteVpcEndpointServiceConfigurationsResponse Source #
:: Int |
|
-> DeleteVpcEndpointServiceConfigurationsResponse |
Create a value of DeleteVpcEndpointServiceConfigurationsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:unsuccessful:DeleteVpcEndpointServiceConfigurationsResponse'
, deleteVpcEndpointServiceConfigurationsResponse_unsuccessful
- Information about the service configurations that were not deleted, if
applicable.
$sel:httpStatus:DeleteVpcEndpointServiceConfigurationsResponse'
, deleteVpcEndpointServiceConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteVpcEndpointServiceConfigurationsResponse_unsuccessful :: Lens' DeleteVpcEndpointServiceConfigurationsResponse (Maybe [UnsuccessfulItem]) Source #
Information about the service configurations that were not deleted, if applicable.
deleteVpcEndpointServiceConfigurationsResponse_httpStatus :: Lens' DeleteVpcEndpointServiceConfigurationsResponse Int Source #
The response's http status code.