Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
Information about a resource.
See: newResource
smart constructor.
Resource' | |
|
Instances
Eq Resource Source # | |
Read Resource Source # | |
Show Resource Source # | |
Generic Resource Source # | |
NFData Resource Source # | |
Defined in Amazonka.Greengrass.Types.Resource | |
Hashable Resource Source # | |
Defined in Amazonka.Greengrass.Types.Resource | |
ToJSON Resource Source # | |
Defined in Amazonka.Greengrass.Types.Resource | |
FromJSON Resource Source # | |
type Rep Resource Source # | |
Defined in Amazonka.Greengrass.Types.Resource type Rep Resource = D1 ('MetaData "Resource" "Amazonka.Greengrass.Types.Resource" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceDataContainer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceDataContainer) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
:: ResourceDataContainer | |
-> Text | |
-> Text | |
-> Resource |
Create a value of Resource
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:resourceDataContainer:Resource'
, resource_resourceDataContainer
- A container of data for all resource types.
$sel:id:Resource'
, resource_id
- The resource ID, used to refer to a resource in the Lambda function
configuration. Max length is 128 characters with pattern
''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.
$sel:name:Resource'
, resource_name
- The descriptive resource name, which is displayed on the AWS IoT
Greengrass console. Max length 128 characters with pattern
''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.
resource_resourceDataContainer :: Lens' Resource ResourceDataContainer Source #
A container of data for all resource types.