![]() |
![]()
| ![]() |
![]()
NAMEPaws::CodePipeline::PutWebhook - Arguments for method PutWebhook on Paws::CodePipeline DESCRIPTIONThis class represents the parameters used for calling the method PutWebhook on the AWS CodePipeline service. Use the attributes of this class as arguments to method PutWebhook. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutWebhook. SYNOPSISmy $codepipeline = Paws->service('CodePipeline'); my $PutWebhookOutput = $codepipeline->PutWebhook( Webhook => { Authentication => 'GITHUB_HMAC', # values: GITHUB_HMAC, IP, UNAUTHENTICATED AuthenticationConfiguration => { AllowedIPRange => 'MyWebhookAuthConfigurationAllowedIPRange' , # min: 1, max: 100; OPTIONAL SecretToken => 'MyWebhookAuthConfigurationSecretToken' , # min: 1, max: 100; OPTIONAL }, Filters => [ { JsonPath => 'MyJsonPath', # min: 1, max: 150 MatchEquals => 'MyMatchEquals', # min: 1, max: 150; OPTIONAL }, ... ], # max: 5 Name => 'MyWebhookName', # min: 1, max: 100 TargetAction => 'MyActionName', # min: 1, max: 100 TargetPipeline => 'MyPipelineName', # min: 1, max: 100 }, Tags => [ { Key => 'MyTagKey', # min: 1, max: 128 Value => 'MyTagValue', # max: 256 }, ... ], # OPTIONAL ); # Results: my $Webhook = $PutWebhookOutput->Webhook; # Returns a L<Paws::CodePipeline::PutWebhookOutput> object. 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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/codepipeline/PutWebhook> ATTRIBUTESTags => ArrayRef[Paws::CodePipeline::Tag]The tags for the webhook. REQUIRED Webhook => Paws::CodePipeline::WebhookDefinitionThe detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name that helps you identify it. You might name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later. SEE ALSOThis class forms part of Paws, documenting arguments for method PutWebhook in Paws::CodePipeline BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|