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 the specified Network Access Scope.
Synopsis
- data DeleteNetworkInsightsAccessScope = DeleteNetworkInsightsAccessScope' {}
- newDeleteNetworkInsightsAccessScope :: Text -> DeleteNetworkInsightsAccessScope
- deleteNetworkInsightsAccessScope_dryRun :: Lens' DeleteNetworkInsightsAccessScope (Maybe Bool)
- deleteNetworkInsightsAccessScope_networkInsightsAccessScopeId :: Lens' DeleteNetworkInsightsAccessScope Text
- data DeleteNetworkInsightsAccessScopeResponse = DeleteNetworkInsightsAccessScopeResponse' {}
- newDeleteNetworkInsightsAccessScopeResponse :: Int -> DeleteNetworkInsightsAccessScopeResponse
- deleteNetworkInsightsAccessScopeResponse_networkInsightsAccessScopeId :: Lens' DeleteNetworkInsightsAccessScopeResponse (Maybe Text)
- deleteNetworkInsightsAccessScopeResponse_httpStatus :: Lens' DeleteNetworkInsightsAccessScopeResponse Int
Creating a Request
data DeleteNetworkInsightsAccessScope Source #
See: newDeleteNetworkInsightsAccessScope
smart constructor.
DeleteNetworkInsightsAccessScope' | |
|
Instances
newDeleteNetworkInsightsAccessScope Source #
Create a value of DeleteNetworkInsightsAccessScope
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:DeleteNetworkInsightsAccessScope'
, deleteNetworkInsightsAccessScope_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
.
DeleteNetworkInsightsAccessScope
, deleteNetworkInsightsAccessScope_networkInsightsAccessScopeId
- The ID of the Network Access Scope.
Request Lenses
deleteNetworkInsightsAccessScope_dryRun :: Lens' DeleteNetworkInsightsAccessScope (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
.
deleteNetworkInsightsAccessScope_networkInsightsAccessScopeId :: Lens' DeleteNetworkInsightsAccessScope Text Source #
The ID of the Network Access Scope.
Destructuring the Response
data DeleteNetworkInsightsAccessScopeResponse Source #
See: newDeleteNetworkInsightsAccessScopeResponse
smart constructor.
DeleteNetworkInsightsAccessScopeResponse' | |
|
Instances
newDeleteNetworkInsightsAccessScopeResponse Source #
Create a value of DeleteNetworkInsightsAccessScopeResponse
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:
DeleteNetworkInsightsAccessScope
, deleteNetworkInsightsAccessScopeResponse_networkInsightsAccessScopeId
- The ID of the Network Access Scope.
$sel:httpStatus:DeleteNetworkInsightsAccessScopeResponse'
, deleteNetworkInsightsAccessScopeResponse_httpStatus
- The response's http status code.
Response Lenses
deleteNetworkInsightsAccessScopeResponse_networkInsightsAccessScopeId :: Lens' DeleteNetworkInsightsAccessScopeResponse (Maybe Text) Source #
The ID of the Network Access Scope.
deleteNetworkInsightsAccessScopeResponse_httpStatus :: Lens' DeleteNetworkInsightsAccessScopeResponse Int Source #
The response's http status code.