« blib/lib/Paws/Personalize/TunedHPOParams.pm
↑ Summary
blib/lib/Paws/Personalize/UpdateCampaignResponse.pm »
| 1 | |||
| 2 | package Paws::Personalize::UpdateCampaign; | ||
| 3 | use Moose; | ||
| 4 | has CampaignArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'campaignArn' , required => 1); | ||
| 5 | has CampaignConfig => (is => 'ro', isa => 'Paws::Personalize::CampaignConfig', traits => ['NameInRequest'], request_name => 'campaignConfig' ); | ||
| 6 | has MinProvisionedTPS => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'minProvisionedTPS' ); | ||
| 7 | has SolutionVersionArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'solutionVersionArn' ); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateCampaign'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Personalize::UpdateCampaignResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::Personalize::UpdateCampaign - Arguments for method UpdateCampaign on L<Paws::Personalize> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method UpdateCampaign on the | ||
| 25 | L<Amazon Personalize|Paws::Personalize> service. Use the attributes of this class | ||
| 26 | as arguments to method UpdateCampaign. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateCampaign. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $personalize = Paws->service('Personalize'); | ||
| 33 | my $UpdateCampaignResponse = $personalize->UpdateCampaign( | ||
| 34 | CampaignArn => 'MyArn', | ||
| 35 | CampaignConfig => { | ||
| 36 | ItemExplorationConfig => { | ||
| 37 | 'MyParameterName' => | ||
| 38 | 'MyParameterValue', # key: max: 256, value: max: 1000 | ||
| 39 | }, # max: 100; OPTIONAL | ||
| 40 | }, # OPTIONAL | ||
| 41 | MinProvisionedTPS => 1, # OPTIONAL | ||
| 42 | SolutionVersionArn => 'MyArn', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $CampaignArn = $UpdateCampaignResponse->CampaignArn; | ||
| 47 | |||
| 48 | # Returns a L<Paws::Personalize::UpdateCampaignResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/personalize/UpdateCampaign> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> CampaignArn => Str | ||
| 57 | |||
| 58 | The Amazon Resource Name (ARN) of the campaign. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 CampaignConfig => L<Paws::Personalize::CampaignConfig> | ||
| 63 | |||
| 64 | The configuration details of a campaign. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 MinProvisionedTPS => Int | ||
| 69 | |||
| 70 | Specifies the requested minimum provisioned transactions | ||
| 71 | (recommendations) per second that Amazon Personalize will support. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 SolutionVersionArn => Str | ||
| 76 | |||
| 77 | The ARN of a new solution version to deploy. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head1 SEE ALSO | ||
| 83 | |||
| 84 | This class forms part of L<Paws>, documenting arguments for method UpdateCampaign in L<Paws::Personalize> | ||
| 85 | |||
| 86 | =head1 BUGS and CONTRIBUTIONS | ||
| 87 | |||
| 88 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 89 | |||
| 90 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 91 | |||
| 92 | =cut | ||
| 93 |