| 1 | |||
| 2 | package Paws::RedShift::UpdatePartnerStatus; | ||
| 3 | use Moose; | ||
| 4 | has AccountId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ClusterIdentifier => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has DatabaseName => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has PartnerName => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has Status => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has StatusMessage => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdatePartnerStatus'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::PartnerIntegrationOutputMessage'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'UpdatePartnerStatusResult'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::RedShift::UpdatePartnerStatus - Arguments for method UpdatePartnerStatus on L<Paws::RedShift> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdatePartnerStatus on the | ||
| 27 | L<Amazon Redshift|Paws::RedShift> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdatePartnerStatus. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdatePartnerStatus. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $redshift = Paws->service('RedShift'); | ||
| 35 | my $PartnerIntegrationOutputMessage = $redshift->UpdatePartnerStatus( | ||
| 36 | AccountId => 'MyPartnerIntegrationAccountId', | ||
| 37 | ClusterIdentifier => 'MyPartnerIntegrationClusterIdentifier', | ||
| 38 | DatabaseName => 'MyPartnerIntegrationDatabaseName', | ||
| 39 | PartnerName => 'MyPartnerIntegrationPartnerName', | ||
| 40 | Status => 'Active', | ||
| 41 | StatusMessage => 'MyPartnerIntegrationStatusMessage', # OPTIONAL | ||
| 42 | ); | ||
| 43 | |||
| 44 | # Results: | ||
| 45 | my $DatabaseName = $PartnerIntegrationOutputMessage->DatabaseName; | ||
| 46 | my $PartnerName = $PartnerIntegrationOutputMessage->PartnerName; | ||
| 47 | |||
| 48 | # Returns a L<Paws::RedShift::PartnerIntegrationOutputMessage> 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/redshift/UpdatePartnerStatus> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> AccountId => Str | ||
| 57 | |||
| 58 | The AWS account ID that owns the cluster. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> ClusterIdentifier => Str | ||
| 63 | |||
| 64 | The cluster identifier of the cluster whose partner integration status | ||
| 65 | is being updated. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> DatabaseName => Str | ||
| 70 | |||
| 71 | The name of the database whose partner integration status is being | ||
| 72 | updated. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 B<REQUIRED> PartnerName => Str | ||
| 77 | |||
| 78 | The name of the partner whose integration status is being updated. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head2 B<REQUIRED> Status => Str | ||
| 83 | |||
| 84 | The value of the updated status. | ||
| 85 | |||
| 86 | Valid values are: C<"Active">, C<"Inactive">, C<"RuntimeFailure">, C<"ConnectionFailure"> | ||
| 87 | |||
| 88 | =head2 StatusMessage => Str | ||
| 89 | |||
| 90 | The status message provided by the partner. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head1 SEE ALSO | ||
| 96 | |||
| 97 | This class forms part of L<Paws>, documenting arguments for method UpdatePartnerStatus in L<Paws::RedShift> | ||
| 98 | |||
| 99 | =head1 BUGS and CONTRIBUTIONS | ||
| 100 | |||
| 101 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 102 | |||
| 103 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 104 | |||
| 105 | =cut | ||
| 106 |