db_parameter_group#
Exec module for managing Amazon Neptune DB Parameter Group.
- async idem_aws.exec.aws.neptune.db_parameter_group.get(hub, ctx, name: str, resource_id: str = None) Dict [source]#
Retrieves the specified AWS Neptune DB Parameter Group.
It also fetches the db parameters for the supplied resource_id. Filters is not supported yet as per documentation for this resource on AWS. It returns idem object representation for db_parameter_group found if resource_id was specified. If resource_id wasn’t specified, it returns the first resource found.
- Parameters:
Note
At the time of writing this module, filters parameter is not supported for this resource as per AWS documentation so idem-aws has omitted it.
- Returns:
- result(bool):
Whether the result of the function has been successful (
True
) or not (False
).- comment(list):
A list of messages.
- ret(dict or None):
The AWS Neptune DB Parameter Group in “present” format.
- Return type:
Examples
Calling this exec module function from the cli:
idem exec aws.neptune.db_parameter_group.get name="idem_name" resource_id="resource_id"
Using in a state:
my_unmanaged_resource: exec.run: - path: aws.neptune.db_parameter_group.get - kwargs: name: resource_id:
- async idem_aws.exec.aws.neptune.db_parameter_group.list_(hub, ctx, name: str = None) Dict [source]#
Use a list of un-managed neptune db parameter groups as a data-source.
- Parameters:
name (str, Optional) – The name of idem state.
Note
At the time of writing this module, filters parameter is not supported for this resource as per AWS documentation so idem-aws has omitted it.
- Returns:
- result(bool):
Whether the result of the function has been successful (
True
) or not (False
).- comment(list):
A list of messages.
- ret(dict or None):
The AWS Neptune DB Parameter Group in “present” format.
- Return type:
Examples
Calling this exec module function from the cli:
idem exec aws.neptune.db_parameter_group.list name=name
Using in a state:
my_unmanaged_resource: exec.run: - path: aws.neptune.db_parameter_group.list - kwargs: name: