| 1 | |||
| 2 | package Paws::IoTAnalytics::UpdatePipeline; | ||
| 3 | use Moose; | ||
| 4 | has PipelineActivities => (is => 'ro', isa => 'ArrayRef[Paws::IoTAnalytics::PipelineActivity]', traits => ['NameInRequest'], request_name => 'pipelineActivities', required => 1); | ||
| 5 | has PipelineName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'pipelineName', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdatePipeline'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/pipelines/{pipelineName}'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::IoTAnalytics::UpdatePipeline - Arguments for method UpdatePipeline on L<Paws::IoTAnalytics> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method UpdatePipeline on the | ||
| 24 | L<AWS IoT Analytics|Paws::IoTAnalytics> service. Use the attributes of this class | ||
| 25 | as arguments to method UpdatePipeline. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdatePipeline. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $iotanalytics = Paws->service('IoTAnalytics'); | ||
| 32 | $iotanalytics->UpdatePipeline( | ||
| 33 | PipelineActivities => [ | ||
| 34 | { | ||
| 35 | AddAttributes => { | ||
| 36 | Attributes => { | ||
| 37 | 'MyAttributeName' => 'MyAttributeName' | ||
| 38 | , # key: min: 1, max: 256, value: min: 1, max: 256 | ||
| 39 | }, # min: 1, max: 50 | ||
| 40 | Name => 'MyActivityName', # min: 1, max: 128 | ||
| 41 | Next => 'MyActivityName', # min: 1, max: 128 | ||
| 42 | }, # OPTIONAL | ||
| 43 | Channel => { | ||
| 44 | ChannelName => 'MyChannelName', # min: 1, max: 128 | ||
| 45 | Name => 'MyActivityName', # min: 1, max: 128 | ||
| 46 | Next => 'MyActivityName', # min: 1, max: 128 | ||
| 47 | }, # OPTIONAL | ||
| 48 | Datastore => { | ||
| 49 | DatastoreName => 'MyDatastoreName', # min: 1, max: 128 | ||
| 50 | Name => 'MyActivityName', # min: 1, max: 128 | ||
| 51 | |||
| 52 | }, # OPTIONAL | ||
| 53 | DeviceRegistryEnrich => { | ||
| 54 | Attribute => 'MyAttributeName', # min: 1, max: 256 | ||
| 55 | Name => 'MyActivityName', # min: 1, max: 128 | ||
| 56 | RoleArn => 'MyRoleArn', # min: 20, max: 2048 | ||
| 57 | ThingName => 'MyAttributeName', # min: 1, max: 256 | ||
| 58 | Next => 'MyActivityName', # min: 1, max: 128 | ||
| 59 | }, # OPTIONAL | ||
| 60 | DeviceShadowEnrich => { | ||
| 61 | Attribute => 'MyAttributeName', # min: 1, max: 256 | ||
| 62 | Name => 'MyActivityName', # min: 1, max: 128 | ||
| 63 | RoleArn => 'MyRoleArn', # min: 20, max: 2048 | ||
| 64 | ThingName => 'MyAttributeName', # min: 1, max: 256 | ||
| 65 | Next => 'MyActivityName', # min: 1, max: 128 | ||
| 66 | }, # OPTIONAL | ||
| 67 | Filter => { | ||
| 68 | Filter => 'MyFilterExpression', # min: 1, max: 256 | ||
| 69 | Name => 'MyActivityName', # min: 1, max: 128 | ||
| 70 | Next => 'MyActivityName', # min: 1, max: 128 | ||
| 71 | }, # OPTIONAL | ||
| 72 | Lambda => { | ||
| 73 | BatchSize => 1, # min: 1, max: 1000 | ||
| 74 | LambdaName => 'MyLambdaName', # min: 1, max: 64 | ||
| 75 | Name => 'MyActivityName', # min: 1, max: 128 | ||
| 76 | Next => 'MyActivityName', # min: 1, max: 128 | ||
| 77 | }, # OPTIONAL | ||
| 78 | Math => { | ||
| 79 | Attribute => 'MyAttributeName', # min: 1, max: 256 | ||
| 80 | Math => 'MyMathExpression', # min: 1, max: 256 | ||
| 81 | Name => 'MyActivityName', # min: 1, max: 128 | ||
| 82 | Next => 'MyActivityName', # min: 1, max: 128 | ||
| 83 | }, # OPTIONAL | ||
| 84 | RemoveAttributes => { | ||
| 85 | Attributes => [ | ||
| 86 | 'MyAttributeName', ... # min: 1, max: 256 | ||
| 87 | ], # min: 1, max: 50 | ||
| 88 | Name => 'MyActivityName', # min: 1, max: 128 | ||
| 89 | Next => 'MyActivityName', # min: 1, max: 128 | ||
| 90 | }, # OPTIONAL | ||
| 91 | SelectAttributes => { | ||
| 92 | Attributes => [ | ||
| 93 | 'MyAttributeName', ... # min: 1, max: 256 | ||
| 94 | ], # min: 1, max: 50 | ||
| 95 | Name => 'MyActivityName', # min: 1, max: 128 | ||
| 96 | Next => 'MyActivityName', # min: 1, max: 128 | ||
| 97 | }, # OPTIONAL | ||
| 98 | }, | ||
| 99 | ... | ||
| 100 | ], | ||
| 101 | PipelineName => 'MyPipelineName', | ||
| 102 | |||
| 103 | ); | ||
| 104 | |||
| 105 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 106 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iotanalytics/UpdatePipeline> | ||
| 107 | |||
| 108 | =head1 ATTRIBUTES | ||
| 109 | |||
| 110 | |||
| 111 | =head2 B<REQUIRED> PipelineActivities => ArrayRef[L<Paws::IoTAnalytics::PipelineActivity>] | ||
| 112 | |||
| 113 | A list of C<PipelineActivity> objects. Activities perform | ||
| 114 | transformations on your messages, such as removing, renaming or adding | ||
| 115 | message attributes; filtering messages based on attribute values; | ||
| 116 | invoking your Lambda functions on messages for advanced processing; or | ||
| 117 | performing mathematical transformations to normalize device data. | ||
| 118 | |||
| 119 | The list can be 2-25 C<PipelineActivity> objects and must contain both | ||
| 120 | a C<channel> and a C<datastore> activity. Each entry in the list must | ||
| 121 | contain only one activity. For example: | ||
| 122 | |||
| 123 | C<pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, | ||
| 124 | ... ]> | ||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | =head2 B<REQUIRED> PipelineName => Str | ||
| 129 | |||
| 130 | The name of the pipeline to update. | ||
| 131 | |||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | =head1 SEE ALSO | ||
| 136 | |||
| 137 | This class forms part of L<Paws>, documenting arguments for method UpdatePipeline in L<Paws::IoTAnalytics> | ||
| 138 | |||
| 139 | =head1 BUGS and CONTRIBUTIONS | ||
| 140 | |||
| 141 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 142 | |||
| 143 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 144 | |||
| 145 | =cut | ||
| 146 |