####################
### JSON parsers
### Heavily inspired by nuba++'s excellent Data::Printer::Filter::JSON
#############################################
sub _parse_json_boolean {
my ($value,
web_json_true', '#ccffcc')
: ('filter_web_json_false', '#ffcccc')
);
return $ddp->maybe_colorize($value, @colors);
}
# JSON::NotString is from JSON::Parser (JSON 1.x)
filter 'JSON::No
tString' => sub { _parse_json_boolean($_[0]->{value}, $_[1]) };
# JSON::Typist
filter 'JSON::Typist::String' => sub {
my ($obj, $ddp) = @_;
require Data::Printer::Common;
my $ret = Data::
QUIRED> RuleSetBody => Str
A collection of matchmaking rules, formatted as a JSON string. Comments
are not allowed in JSON, but most elements support a description field.
=head2 RuleSetName => Str
)
Sometimes you are writing a filter for data that you know will be repeated
several times, like JSON Boolean objects. To prevent Data::Printer from
showing this content as repeated, you can use the
>> to make
debugging much, much easier. Includes filters for many popular classes
from CPAN like JSON::*, URI, HTTP::*, LWP, Digest::*, DBI and DBIx::Class.
printing what really matters to developers
ze/store/restore Perl data structures, this module
will NOT help you. Try Storable, Data::Dumper, JSON, or whatever. CPAN is
full of such solutions!
Whenever you type C<use Data::Printer> or C<use DD
yes, even DBIx::Class),
L<message digests|Data::Printer::Filter::Digest> like MD5 and SHA1, and
L<JSON and Web|Data::Printer::Filter::Web> content like HTTP requests and
responses.
So much so we reco
pca/PutPolicy>
=head1 ATTRIBUTES
=head2 B<REQUIRED> Policy => Str
The path and file name of a JSON-formatted IAM policy to attach to the
specified private CA resource. If this policy does not cont
policy and statement structure, see Overview
of JSON Policies
(https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json).
=head2 B<REQUIRED> ResourceArn => Str
Th
each occurrence of sensitive data in an
Apache Avro object container, Apache Parquet file, JSON file, or JSON
Lines file. This value is null for all other types of files.
For an Avro object container
t
contains the sensitive data. For a JSON or JSON Lines file, each Record
object specifies the path to a field or array that contains the
sensitive data. For a JSON Lines file, it also specifies the i
tionResponse
=head1 ATTRIBUTES
=head2 Entities => ArrayRef[L<Paws::Health::AffectedEntity>]
A JSON set of elements including the C<awsAccountId> and its
C<entityArn>, C<entityValue> and its C<enti
sCode>.
=head2 FailedSet => ArrayRef[L<Paws::Health::OrganizationAffectedEntitiesErrorItem>]
A JSON set of elements of the failed response, including the
C<awsAccountId>, C<errorMessage>, C<errorNa
tion needed to configure the payload.
By default, AWS IoT Events generates a standard payload in JSON for any
action. This action payload contains all attribute-value pairs that
have the information
KB.
=head2 B<REQUIRED> Type => Str
The value of the payload type can be either C<STRING> or C<JSON>.
=head1 SEE ALSO
This class forms part of L<Paws>, describing an object used in L<Paws::IoTE
ntentExpression', # min: 1
Type => 'STRING', # values: STRING, JSON
}, # OPTIONAL
PayloadField => 'MyDynamoKeyField',
ntentExpression', # min: 1
Type => 'STRING', # values: STRING, JSON
}, # OPTIONAL
}, # OPTIONAL
Firehose => {
ntentExpression', # min: 1
Type => 'STRING', # values: STRING, JSON
}, # OPTIONAL
Separator => 'MyFirehoseSeparator', # OPTIONAL
ntentExpression', # min: 1
Type => 'STRING', # values: STRING, JSON
}, # OPTIONAL
PayloadField => 'MyDynamoKeyField',
ntentExpression', # min: 1
Type => 'STRING', # values: STRING, JSON
}, # OPTIONAL
}, # OPTIONAL
Firehose => {
ntentExpression', # min: 1
Type => 'STRING', # values: STRING, JSON
}, # OPTIONAL
Separator => 'MyFirehoseSeparator', # OPTIONAL
I<AWS IoT Greengrass V2 Developer Guide>.
=head1 ATTRIBUTES
=head2 Merge => Str
A serialized JSON string that contains the configuration object to
merge to target devices. The core device merges
st of configuration nodes to reset to default values on target
devices. Use JSON pointers to specify each node to reset. JSON pointers
start with a forward slash (C</>) and use forward slashes to sepa
hat the analysis result references.
=head1 ATTRIBUTES
=head2 Path => Str
A JsonPath (https://github.com/json-path/JsonPath) expression that
identifies the error field in your detector model.
=h
->GetComponent(
Arn => 'MyComponentVersionARN',
RecipeOutputFormat => 'JSON', # OPTIONAL
);
# Results:
my $Recipe = $GetComponent
ent version.
=head2 RecipeOutputFormat => Str
The format of the recipe.
Valid values are: C<"JSON">, C<"YAML">
=head1 SEE ALSO
This class forms part of L<Paws>, documenting arguments for metho
InputPayloadEncodingType => Str
The encoding type that the Lambda function supports.
Default: C<json>
=head2 LinuxProcessParams => L<Paws::GreengrassV2::LambdaLinuxProcessParams>
The parameters f
T Events Developer Guide>.
If the defined payload type is a string, C<DynamoDBAction> writes
non-JSON data to the DynamoDB table as binary data. The DynamoDB
console displays the data as Base64-encod
B<REQUIRED> OutputType => Str
The output type of the exported definition file. Valid values are JSON
and YAML.
=head2 B<REQUIRED> Specification => Str
The version of the API specification to use
smanager/ValidateResourcePolicy>
=head1 ATTRIBUTES
=head2 B<REQUIRED> ResourcePolicy => Str
A JSON-formatted string constructed according to the grammar and syntax
for an AWS resource-based policy
format a JSON parameter for the various command line tool
environments, see Using JSON for Parameters
(http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#cli-using-param-json)
in the
=> [ 'MyLambdaExecArg', ... ], # OPTIONAL
InputPayloadEncodingType => 'json', # values: json, binary; OPTIONAL
LinuxProcessParams => {
ContainerParams =
.
=head2 B<REQUIRED> RecipeOutputFormat => Str
The format of the recipe.
Valid values are: C<"JSON">, C<"YAML">
=head2 Tags => L<Paws::GreengrassV2::TagMap>
A list of key-value pairs that contain
pression', # min: 1
Type => 'STRING', # values: STRING, JSON
}, # OPTIONAL
PayloadField => 'MyDynamoKeyFi
pression', # min: 1
Type => 'STRING', # values: STRING, JSON
}, # OPTIONAL
}, # OPTIONAL
pression', # min: 1
Type => 'STRING', # values: STRING, JSON
}, # OPTIONAL
Separator => 'MyFirehoseSeparat