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 |
Synopsis
- data ServiceNameAndResourceType = ServiceNameAndResourceType' {}
- newServiceNameAndResourceType :: ServiceNameAndResourceType
- serviceNameAndResourceType_resourceRegionScope :: Lens' ServiceNameAndResourceType (Maybe ResourceRegionScope)
- serviceNameAndResourceType_resourceType :: Lens' ServiceNameAndResourceType (Maybe Text)
- serviceNameAndResourceType_serviceName :: Lens' ServiceNameAndResourceType (Maybe Text)
Documentation
data ServiceNameAndResourceType Source #
Information about a shareable resource type and the Amazon Web Services service to which resources of that type belong.
See: newServiceNameAndResourceType
smart constructor.
ServiceNameAndResourceType' | |
|
Instances
newServiceNameAndResourceType :: ServiceNameAndResourceType Source #
Create a value of ServiceNameAndResourceType
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:resourceRegionScope:ServiceNameAndResourceType'
, serviceNameAndResourceType_resourceRegionScope
- Specifies the scope of visibility of resources of this type:
- REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
- GLOBAL – The resource can be accessed from any Amazon Web Services Region.
$sel:resourceType:ServiceNameAndResourceType'
, serviceNameAndResourceType_resourceType
- The type of the resource.
$sel:serviceName:ServiceNameAndResourceType'
, serviceNameAndResourceType_serviceName
- The name of the Amazon Web Services service to which resources of this
type belong.
serviceNameAndResourceType_resourceRegionScope :: Lens' ServiceNameAndResourceType (Maybe ResourceRegionScope) Source #
Specifies the scope of visibility of resources of this type:
- REGIONAL – The resource can be accessed only by using requests that target the Amazon Web Services Region in which the resource exists.
- GLOBAL – The resource can be accessed from any Amazon Web Services Region.
serviceNameAndResourceType_resourceType :: Lens' ServiceNameAndResourceType (Maybe Text) Source #
The type of the resource.
serviceNameAndResourceType_serviceName :: Lens' ServiceNameAndResourceType (Maybe Text) Source #
The name of the Amazon Web Services service to which resources of this type belong.