![]() |
![]()
| ![]() |
![]()
NAMEPaws::Kafka::UpdateMonitoring - Arguments for method UpdateMonitoring on Paws::Kafka DESCRIPTIONThis class represents the parameters used for calling the method UpdateMonitoring on the Managed Streaming for Kafka service. Use the attributes of this class as arguments to method UpdateMonitoring. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMonitoring. SYNOPSISmy $kafka = Paws->service('Kafka'); my $UpdateMonitoringResponse = $kafka->UpdateMonitoring( ClusterArn => 'My__string', CurrentVersion => 'My__string', EnhancedMonitoring => 'DEFAULT', # OPTIONAL LoggingInfo => { BrokerLogs => { CloudWatchLogs => { Enabled => 1, LogGroup => 'My__string', }, # OPTIONAL Firehose => { Enabled => 1, DeliveryStream => 'My__string', }, # OPTIONAL S3 => { Enabled => 1, Bucket => 'My__string', Prefix => 'My__string', }, # OPTIONAL }, }, # OPTIONAL OpenMonitoring => { Prometheus => { JmxExporter => { EnabledInBroker => 1, }, # OPTIONAL NodeExporter => { EnabledInBroker => 1, }, # OPTIONAL }, }, # OPTIONAL ); # Results: my $ClusterArn = $UpdateMonitoringResponse->ClusterArn; my $ClusterOperationArn = $UpdateMonitoringResponse->ClusterOperationArn; # Returns a L<Paws::Kafka::UpdateMonitoringResponse> 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/kafka/UpdateMonitoring> ATTRIBUTESREQUIRED ClusterArn => StrThe Amazon Resource Name (ARN) that uniquely identifies the cluster. REQUIRED CurrentVersion => StrThe version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version. EnhancedMonitoring => StrSpecifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster. Valid values are: "DEFAULT", "PER_BROKER", "PER_TOPIC_PER_BROKER", "PER_TOPIC_PER_PARTITION" LoggingInfo => Paws::Kafka::LoggingInfoOpenMonitoring => Paws::Kafka::OpenMonitoringInfoThe settings for open monitoring. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateMonitoring in Paws::Kafka 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>
|