Group
Extension

Matches 3

Amazon-SNS-V4 ( J/JW/JWRIGHT/Amazon-SNS-V4-2.0.tar.gz, JWRIGHT, 2021; MetaCPAN )
Amazon-SNS-V4/lib/Amazon/SNS/V4/FifoTopic.pm ( view source; MetaCPAN )
opic;

use strict;
use warnings;

our $VERSION = '2.0';
use base qw(Amazon::SNS::V4::Topic);

use JSON;

# add messagegroupid and deduplicationid for FIFO
sub Publish
{
	my ($self, $msg, $subj, $group
 $structure = undef;
	my $attributes = undef;

	# support JSON payload
	if (ref($msg) eq 'HASH') {

		$structure = 'json';
		$msg = encode_json($msg);
	}

	if (defined($attr) and ref($attr) eq 'HASH')
Amazon-SNS-V4 ( J/JW/JWRIGHT/Amazon-SNS-V4-2.0.tar.gz, JWRIGHT, 2021; MetaCPAN )
Amazon-SNS-V4/lib/Amazon/SNS/V4/Target.pm ( view source; MetaCPAN )
e JSON;

__PACKAGE__->mk_accessors(qw/ sns arn /);

sub Publish
{
	my ($self, $msg, $subj, $attr) = @_;

	# XXX croak on invalid arn

	my $structure = undef;
	my $attributes = undef;

	# support JSON 
payload
	if (ref($msg) eq 'HASH') {

		$structure = 'json';
		$msg = encode_json($msg);
	}

	if (defined($attr) and ref($attr) eq 'HASH') {

		my $i = 1;

		foreach my $key (keys %$attr) {

			$attrib
Amazon-SNS-V4 ( J/JW/JWRIGHT/Amazon-SNS-V4-2.0.tar.gz, JWRIGHT, 2021; MetaCPAN )
Amazon-SNS-V4/lib/Amazon/SNS/V4/Topic.pm ( view source; MetaCPAN )
e JSON;

__PACKAGE__->mk_accessors(qw/ sns arn /);

sub Publish
{
	my ($self, $msg, $subj, $attr) = @_;

	# XXX croak on invalid arn

	my $structure = undef;
	my $attributes = undef;

	# support JSON 
payload
	if (ref($msg) eq 'HASH') {

		$structure = 'json';
		$msg = encode_json($msg);
	}

	if (defined($attr) and ref($attr) eq 'HASH') {

		my $i = 1;

		foreach my $key (keys %$attr) {

			$attrib

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.