Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists all sources belonging to an organization.
See: Cloud Security Command Center API Reference for securitycenter.organizations.sources.list
.
Synopsis
- type OrganizationsSourcesListResource = "v1" :> (Capture "parent" Text :> ("sources" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSourcesResponse))))))))))
- organizationsSourcesList :: Text -> OrganizationsSourcesList
- data OrganizationsSourcesList
- oslParent :: Lens' OrganizationsSourcesList Text
- oslXgafv :: Lens' OrganizationsSourcesList (Maybe Xgafv)
- oslUploadProtocol :: Lens' OrganizationsSourcesList (Maybe Text)
- oslAccessToken :: Lens' OrganizationsSourcesList (Maybe Text)
- oslUploadType :: Lens' OrganizationsSourcesList (Maybe Text)
- oslPageToken :: Lens' OrganizationsSourcesList (Maybe Text)
- oslPageSize :: Lens' OrganizationsSourcesList (Maybe Int32)
- oslCallback :: Lens' OrganizationsSourcesList (Maybe Text)
REST Resource
type OrganizationsSourcesListResource = "v1" :> (Capture "parent" Text :> ("sources" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSourcesResponse)))))))))) Source #
A resource alias for securitycenter.organizations.sources.list
method which the
OrganizationsSourcesList
request conforms to.
Creating a Request
organizationsSourcesList Source #
Creates a value of OrganizationsSourcesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSourcesList Source #
Lists all sources belonging to an organization.
See: organizationsSourcesList
smart constructor.
Instances
Request Lenses
oslParent :: Lens' OrganizationsSourcesList Text Source #
Resource name of the parent of sources to list. Its format should be "organizations/[organization_id]".
oslUploadProtocol :: Lens' OrganizationsSourcesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oslAccessToken :: Lens' OrganizationsSourcesList (Maybe Text) Source #
OAuth access token.
oslUploadType :: Lens' OrganizationsSourcesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
oslPageToken :: Lens' OrganizationsSourcesList (Maybe Text) Source #
The value returned by the last `ListSourcesResponse`; indicates that this is a continuation of a prior `ListSources` call, and that the system should return the next page of data.
oslPageSize :: Lens' OrganizationsSourcesList (Maybe Int32) Source #
The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
oslCallback :: Lens' OrganizationsSourcesList (Maybe Text) Source #
JSONP