| 1 | |||
| 2 | package Paws::MQ::UpdateBroker; | ||
| 3 | use Moose; | ||
| 4 | has AuthenticationStrategy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'authenticationStrategy'); | ||
| 5 | has AutoMinorVersionUpgrade => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'autoMinorVersionUpgrade'); | ||
| 6 | has BrokerId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'broker-id', required => 1); | ||
| 7 | has Configuration => (is => 'ro', isa => 'Paws::MQ::ConfigurationId', traits => ['NameInRequest'], request_name => 'configuration'); | ||
| 8 | has EngineVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'engineVersion'); | ||
| 9 | has HostInstanceType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'hostInstanceType'); | ||
| 10 | has LdapServerMetadata => (is => 'ro', isa => 'Paws::MQ::LdapServerMetadataInput', traits => ['NameInRequest'], request_name => 'ldapServerMetadata'); | ||
| 11 | has Logs => (is => 'ro', isa => 'Paws::MQ::Logs', traits => ['NameInRequest'], request_name => 'logs'); | ||
| 12 | has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'securityGroups'); | ||
| 13 | |||
| 14 | use MooseX::ClassAttribute; | ||
| 15 | |||
| 16 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateBroker'); | ||
| 17 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/brokers/{broker-id}'); | ||
| 18 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 19 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MQ::UpdateBrokerResponse'); | ||
| 20 | 1; | ||
| 21 | |||
| 22 | ### main pod documentation begin ### | ||
| 23 | |||
| 24 | =head1 NAME | ||
| 25 | |||
| 26 | Paws::MQ::UpdateBroker - Arguments for method UpdateBroker on L<Paws::MQ> | ||
| 27 | |||
| 28 | =head1 DESCRIPTION | ||
| 29 | |||
| 30 | This class represents the parameters used for calling the method UpdateBroker on the | ||
| 31 | L<AmazonMQ|Paws::MQ> service. Use the attributes of this class | ||
| 32 | as arguments to method UpdateBroker. | ||
| 33 | |||
| 34 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateBroker. | ||
| 35 | |||
| 36 | =head1 SYNOPSIS | ||
| 37 | |||
| 38 | my $mq = Paws->service('MQ'); | ||
| 39 | my $UpdateBrokerResponse = $mq->UpdateBroker( | ||
| 40 | BrokerId => 'My__string', | ||
| 41 | AuthenticationStrategy => 'SIMPLE', # OPTIONAL | ||
| 42 | AutoMinorVersionUpgrade => 1, # OPTIONAL | ||
| 43 | Configuration => { | ||
| 44 | Id => 'My__string', | ||
| 45 | Revision => 1, # OPTIONAL | ||
| 46 | }, # OPTIONAL | ||
| 47 | EngineVersion => 'My__string', # OPTIONAL | ||
| 48 | HostInstanceType => 'My__string', # OPTIONAL | ||
| 49 | LdapServerMetadata => { | ||
| 50 | Hosts => [ 'My__string', ... ], # OPTIONAL | ||
| 51 | RoleBase => 'My__string', | ||
| 52 | RoleName => 'My__string', | ||
| 53 | RoleSearchMatching => 'My__string', | ||
| 54 | RoleSearchSubtree => 1, | ||
| 55 | ServiceAccountPassword => 'My__string', | ||
| 56 | ServiceAccountUsername => 'My__string', | ||
| 57 | UserBase => 'My__string', | ||
| 58 | UserRoleName => 'My__string', | ||
| 59 | UserSearchMatching => 'My__string', | ||
| 60 | UserSearchSubtree => 1, | ||
| 61 | }, # OPTIONAL | ||
| 62 | Logs => { | ||
| 63 | Audit => 1, | ||
| 64 | General => 1, | ||
| 65 | }, # OPTIONAL | ||
| 66 | SecurityGroups => [ 'My__string', ... ], # OPTIONAL | ||
| 67 | ); | ||
| 68 | |||
| 69 | # Results: | ||
| 70 | my $AuthenticationStrategy = $UpdateBrokerResponse->AuthenticationStrategy; | ||
| 71 | my $AutoMinorVersionUpgrade = | ||
| 72 | $UpdateBrokerResponse->AutoMinorVersionUpgrade; | ||
| 73 | my $BrokerId = $UpdateBrokerResponse->BrokerId; | ||
| 74 | my $Configuration = $UpdateBrokerResponse->Configuration; | ||
| 75 | my $EngineVersion = $UpdateBrokerResponse->EngineVersion; | ||
| 76 | my $HostInstanceType = $UpdateBrokerResponse->HostInstanceType; | ||
| 77 | my $LdapServerMetadata = $UpdateBrokerResponse->LdapServerMetadata; | ||
| 78 | my $Logs = $UpdateBrokerResponse->Logs; | ||
| 79 | my $SecurityGroups = $UpdateBrokerResponse->SecurityGroups; | ||
| 80 | |||
| 81 | # Returns a L<Paws::MQ::UpdateBrokerResponse> object. | ||
| 82 | |||
| 83 | 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. | ||
| 84 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mq/UpdateBroker> | ||
| 85 | |||
| 86 | =head1 ATTRIBUTES | ||
| 87 | |||
| 88 | |||
| 89 | =head2 AuthenticationStrategy => Str | ||
| 90 | |||
| 91 | The authentication strategy used to secure the broker. | ||
| 92 | |||
| 93 | Valid values are: C<"SIMPLE">, C<"LDAP"> | ||
| 94 | |||
| 95 | =head2 AutoMinorVersionUpgrade => Bool | ||
| 96 | |||
| 97 | Enables automatic upgrades to new minor versions for brokers, as Apache | ||
| 98 | releases the versions. The automatic upgrades occur during the | ||
| 99 | maintenance window of the broker or after a manual broker reboot. | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head2 B<REQUIRED> BrokerId => Str | ||
| 104 | |||
| 105 | The unique ID that Amazon MQ generates for the broker. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | =head2 Configuration => L<Paws::MQ::ConfigurationId> | ||
| 110 | |||
| 111 | A list of information about the configuration. | ||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | =head2 EngineVersion => Str | ||
| 116 | |||
| 117 | The version of the broker engine. For a list of supported engine | ||
| 118 | versions, see | ||
| 119 | https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html | ||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | =head2 HostInstanceType => Str | ||
| 124 | |||
| 125 | The host instance type of the broker to upgrade to. For a list of | ||
| 126 | supported instance types, see | ||
| 127 | https://docs.aws.amazon.com/amazon-mq/latest/developer-guide//broker.html#broker-instance-types | ||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | =head2 LdapServerMetadata => L<Paws::MQ::LdapServerMetadataInput> | ||
| 132 | |||
| 133 | The metadata of the LDAP server used to authenticate and authorize | ||
| 134 | connections to the broker. | ||
| 135 | |||
| 136 | |||
| 137 | |||
| 138 | =head2 Logs => L<Paws::MQ::Logs> | ||
| 139 | |||
| 140 | Enables Amazon CloudWatch logging for brokers. | ||
| 141 | |||
| 142 | |||
| 143 | |||
| 144 | =head2 SecurityGroups => ArrayRef[Str|Undef] | ||
| 145 | |||
| 146 | The list of security groups (1 minimum, 5 maximum) that authorizes | ||
| 147 | connections to brokers. | ||
| 148 | |||
| 149 | |||
| 150 | |||
| 151 | |||
| 152 | =head1 SEE ALSO | ||
| 153 | |||
| 154 | This class forms part of L<Paws>, documenting arguments for method UpdateBroker in L<Paws::MQ> | ||
| 155 | |||
| 156 | =head1 BUGS and CONTRIBUTIONS | ||
| 157 | |||
| 158 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 159 | |||
| 160 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 161 | |||
| 162 | =cut | ||
| 163 |