exported
resource. The exported resource is a ZIP archive that contains the
exported resource in JSON format. The structure of the archive may
change. Your code should not rely on the archive structu
sification => Str
An identifier of the data format that the classifier matches, such as
Twitter, JSON, Omniture logs, and so on.
=head2 CreationTime => Str
The time that this classifier was regist
lues act as a
default or fallback option when no other data is available.
The template data is a JSON object, typically consisting of key-value
pairs in which the keys correspond to replacement tags
Time => (is => 'ro', isa => 'Str');
has PolicyHash => (is => 'ro', isa => 'Str');
has PolicyInJson => (is => 'ro', isa => 'Str');
has UpdateTime => (is => 'ro', isa => 'Str');
has _request_id
Contains the hash value associated with this policy.
=head2 PolicyInJson => Str
Contains the requested policy document, in JSON format.
=head2 UpdateTime => Str
The date and time at which the po
<REQUIRED> Payload => Str
A zip archive in binary format. The archive should contain one file, a
JSON file containing the resource to import. The resource should match
the type specified in the C<res
> TemplateData => Str
A list of replacement values to apply to the template. This parameter
is a JSON object, typically consisting of key-value pairs in which the
keys correspond to replacement tags
classification.
=head2 Configuration => Str
Crawler configuration information. This versioned JSON string allows
users to specify aspects of a crawler's behavior. For more information,
see Configu
> TemplateData => Str
A list of replacement values to apply to the template. This parameter
is a JSON object, typically consisting of key-value pairs in which the
keys correspond to replacement tags
ntTemplateData => Str
A list of replacement values to apply to the template. This parameter
is a JSON object, typically consisting of key-value pairs in which the
keys correspond to replacement tags
is API, you must own the identity.
=head2 B<REQUIRED> Policy => Str
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization
package Lilith;
use 5.006;
use strict;
use warnings;
use POE qw(Wheel::FollowTail);
use JSON;
use Sys::Hostname;
use DBI;
use Digest::SHA qw(sha256_base64);
use File::ReadBackwards;
use Sys::Syslog;
json',
},
'foo-lae'=>{
type=>'sagan',
eve=>'/var/log/sagan/alerts-lae.json
);
},
got_log_line => sub {
my $self = $_[HEAP]{self};
my $json;
eval { $json = decode_json( $_[ARG0] ) };
if ($@) {
return;
}
my $dbh;
eval { $d
okClassifier => (is => 'ro', isa => 'Paws::Glue::GrokClassifier');
has JsonClassifier => (is => 'ro', isa => 'Paws::Glue::JsonClassifier');
has XMLClassifier => (is => 'ro', isa => 'Paws::Glue::XM
iate schemas to use for them. A classifier can be a
C<grok> classifier, an C<XML> classifier, a C<JSON> classifier, or a
custom C<CSV> classifier, as specified in one of the fields in the
C<Classifier
:Glue::GrokClassifier>
A classifier that uses C<grok>.
=head2 JsonClassifier => L<Paws::Glue::JsonClassifier>
A classifier for JSON content.
=head2 XMLClassifier => L<Paws::Glue::XMLClassifier>
# Generated by default/object.tt
package Paws::Glue::UpdateJsonClassifierRequest;
use Moose;
has JsonPath => (is => 'ro', isa => 'Str');
has Name => (is => 'ro', isa => 'Str', required => 1);
1
;
### main pod documentation begin ###
=head1 NAME
Paws::Glue::UpdateJsonClassifierRequest
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use the
ct.
As an example, if Att1 is expected to be a Paws::Glue::UpdateJsonClassifierRequest object:
$service_obj->Method(Att1 => { JsonPath => $value, ..., Name => $value });
=head3 Results returned
package Paws::Net::JsonCaller;
use Paws;
use Moose::Role;
use JSON::MaybeXS;
use POSIX qw(strftime);
requires 'json_version';
use Paws::Net::JsonResponse;
has response_to_object => (
ault => sub {
Paws::Net::JsonResponse->new;
}
);
# converts the objects that represent the call into parameters that the API can understand
sub _to_jsoncaller_params {
my ($self,
$_; ( $k => [ map { $self->_to_jsoncaller_params($_) } @{$params->Map->{$_} } ] ) } keys %{ $params->Map } };
} else {
return { map { $_ => $self->_to_jsoncaller_params($params->Map->{$_
::CallerRole';
use Paws::Net::APIResponse;
use File::Slurper qw(read_text write_text);
use JSON::MaybeXS;
use Moose::Util::TypeConstraints;
use Path::Tiny;
has file => (is => 'rw', isa =
lazy => 1,
default => sub { '' },
);
has _encoder => (is => 'ro', default => sub { JSON::MaybeXS->new(canonical => 1) });
sub send_request {
my ($self, $service, $call_object) =
package Paws::Net::RestJsonResponse;
use Moose;
with 'Paws::Net::ResponseRole';
use JSON::MaybeXS;
use Carp qw(croak);
use Paws::Exception;
sub process {
my ($self, $call_object, $res
}
sub unserialize_response {
my ($self, $response) = @_;
my $struct = eval { decode_json( $response->content ) };
if ($@) {
return Paws::Exception->throw(
message => $@
ww.w3.org/TR/html4/interact/forms.html#h-17.13.4.1
# perl 5.6 ready UTF-8 encoding adapted from JSON::PP
our %escapes = map { chr($_) => sprintf("%%%02X", $_) } 0..255;
our $unsafe_char = qr/[^A
::CallerRole';
use Paws::Net::APIResponse;
use File::Slurper qw(read_text write_text);
use JSON::MaybeXS;
use Moose::Util::TypeConstraints;
use Path::Tiny;
has file => (is => 'rw', isa =
lazy => 1,
default => sub { '' },
);
has _encoder => (is => 'ro', default => sub { JSON::MaybeXS->new(canonical => 1) });
sub send_request {
my ($self, $service, $call_object) =
package Paws::Net::JsonResponse;
use Moose;
use JSON::MaybeXS;
use Carp qw(croak);
use Paws::Exception;
use feature 'state';
sub process {
my ($self, $call_object, $response) = @_;
if (not defined $response->content or $response->content eq '');
my $struct = eval { decode_json( $response->content ) };
if ($@) {
return Paws::Exception->throw(
message => $@
is => 'ro', isa => 'Str');
has PolicyHashCondition => (is => 'ro', isa => 'Str');
has PolicyInJson => (is => 'ro', isa => 'Str', required => 1);
has ResourceArn => (is => 'ro', isa => 'Str');
'Glue');
my $PutResourcePolicyResponse = $glue->PutResourcePolicy(
PolicyInJson => 'MyPolicyJsonString',
EnableHybrid => 'TRUE', # OPTIONAL
Poli
meter if no previous
policy has been set.
=head2 B<REQUIRED> PolicyInJson => Str
Contains the policy document to set, in JSON format.
=head2 ResourceArn => Str
Do not use. For internal use onl