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 |
Gets the settings for an organization.
See: Cloud Security Command Center API Reference for securitycenter.organizations.getOrganizationSettings
.
Synopsis
- type OrganizationsGetOrganizationSettingsResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] OrganizationSettings)))))))
- organizationsGetOrganizationSettings :: Text -> OrganizationsGetOrganizationSettings
- data OrganizationsGetOrganizationSettings
- ogosXgafv :: Lens' OrganizationsGetOrganizationSettings (Maybe Xgafv)
- ogosUploadProtocol :: Lens' OrganizationsGetOrganizationSettings (Maybe Text)
- ogosAccessToken :: Lens' OrganizationsGetOrganizationSettings (Maybe Text)
- ogosUploadType :: Lens' OrganizationsGetOrganizationSettings (Maybe Text)
- ogosName :: Lens' OrganizationsGetOrganizationSettings Text
- ogosCallback :: Lens' OrganizationsGetOrganizationSettings (Maybe Text)
REST Resource
type OrganizationsGetOrganizationSettingsResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] OrganizationSettings))))))) Source #
A resource alias for securitycenter.organizations.getOrganizationSettings
method which the
OrganizationsGetOrganizationSettings
request conforms to.
Creating a Request
organizationsGetOrganizationSettings Source #
Creates a value of OrganizationsGetOrganizationSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsGetOrganizationSettings Source #
Gets the settings for an organization.
See: organizationsGetOrganizationSettings
smart constructor.
Instances
Request Lenses
ogosUploadProtocol :: Lens' OrganizationsGetOrganizationSettings (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ogosAccessToken :: Lens' OrganizationsGetOrganizationSettings (Maybe Text) Source #
OAuth access token.
ogosUploadType :: Lens' OrganizationsGetOrganizationSettings (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").