« blib/lib/Paws/ElasticBeanstalk/UpdateTagsForResource.pm
↑ Summary
blib/lib/Paws/ElasticBeanstalk/ValidationMessage.pm »
| 1 | |||
| 2 | package Paws::ElasticBeanstalk::ValidateConfigurationSettings; | ||
| 3 | use Moose; | ||
| 4 | has ApplicationName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has EnvironmentName => (is => 'ro', isa => 'Str'); | ||
| 6 | has OptionSettings => (is => 'ro', isa => 'ArrayRef[Paws::ElasticBeanstalk::ConfigurationOptionSetting]', required => 1); | ||
| 7 | has TemplateName => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ValidateConfigurationSettings'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ElasticBeanstalk::ConfigurationSettingsValidationMessages'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'ValidateConfigurationSettingsResult'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::ElasticBeanstalk::ValidateConfigurationSettings - Arguments for method ValidateConfigurationSettings on L<Paws::ElasticBeanstalk> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method ValidateConfigurationSettings on the | ||
| 25 | L<AWS Elastic Beanstalk|Paws::ElasticBeanstalk> service. Use the attributes of this class | ||
| 26 | as arguments to method ValidateConfigurationSettings. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ValidateConfigurationSettings. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $elasticbeanstalk = Paws->service('ElasticBeanstalk'); | ||
| 33 | # To validate configuration settings | ||
| 34 | # The following operation validates a CloudWatch custom metrics config document: | ||
| 35 | my $ConfigurationSettingsValidationMessages = | ||
| 36 | $elasticbeanstalk->ValidateConfigurationSettings( | ||
| 37 | 'ApplicationName' => 'my-app', | ||
| 38 | 'EnvironmentName' => 'my-env', | ||
| 39 | 'OptionSettings' => [ | ||
| 40 | |||
| 41 | { | ||
| 42 | 'Namespace' => 'aws:elasticbeanstalk:healthreporting:system', | ||
| 43 | 'OptionName' => 'ConfigDocument', | ||
| 44 | 'Value' => | ||
| 45 | '{"CloudWatchMetrics": {"Environment": {"ApplicationLatencyP99.9": null,"InstancesSevere": 60,"ApplicationLatencyP90": 60,"ApplicationLatencyP99": null,"ApplicationLatencyP95": 60,"InstancesUnknown": 60,"ApplicationLatencyP85": 60,"InstancesInfo": null,"ApplicationRequests2xx": null,"InstancesDegraded": null,"InstancesWarning": 60,"ApplicationLatencyP50": 60,"ApplicationRequestsTotal": null,"InstancesNoData": null,"InstancesPending": 60,"ApplicationLatencyP10": null,"ApplicationRequests5xx": null,"ApplicationLatencyP75": null,"InstancesOk": 60,"ApplicationRequests3xx": null,"ApplicationRequests4xx": null},"Instance": {"ApplicationLatencyP99.9": null,"ApplicationLatencyP90": 60,"ApplicationLatencyP99": null,"ApplicationLatencyP95": null,"ApplicationLatencyP85": null,"CPUUser": 60,"ApplicationRequests2xx": null,"CPUIdle": null,"ApplicationLatencyP50": null,"ApplicationRequestsTotal": 60,"RootFilesystemUtil": null,"LoadAverage1min": null,"CPUIrq": null,"CPUNice": 60,"CPUIowait": 60,"ApplicationLatencyP10": null,"LoadAverage5min": null,"ApplicationRequests5xx": null,"ApplicationLatencyP75": 60,"CPUSystem": 60,"ApplicationRequests3xx": 60,"ApplicationRequests4xx": null,"InstanceHealth": null,"CPUSoftirq": 60}},"Version": 1}' | ||
| 46 | } | ||
| 47 | ] | ||
| 48 | ); | ||
| 49 | |||
| 50 | # Results: | ||
| 51 | my $Messages = $ConfigurationSettingsValidationMessages->Messages; | ||
| 52 | |||
| 53 | # Returns a L<Paws::ElasticBeanstalk::ConfigurationSettingsValidationMessages> object. | ||
| 54 | |||
| 55 | 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. | ||
| 56 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk/ValidateConfigurationSettings> | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> ApplicationName => Str | ||
| 62 | |||
| 63 | The name of the application that the configuration template or | ||
| 64 | environment belongs to. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 EnvironmentName => Str | ||
| 69 | |||
| 70 | The name of the environment to validate the settings against. | ||
| 71 | |||
| 72 | Condition: You cannot specify both this and a configuration template | ||
| 73 | name. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 B<REQUIRED> OptionSettings => ArrayRef[L<Paws::ElasticBeanstalk::ConfigurationOptionSetting>] | ||
| 78 | |||
| 79 | A list of the options and desired values to evaluate. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 TemplateName => Str | ||
| 84 | |||
| 85 | The name of the configuration template to validate the settings | ||
| 86 | against. | ||
| 87 | |||
| 88 | Condition: You cannot specify both this and an environment name. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | This class forms part of L<Paws>, documenting arguments for method ValidateConfigurationSettings in L<Paws::ElasticBeanstalk> | ||
| 96 | |||
| 97 | =head1 BUGS and CONTRIBUTIONS | ||
| 98 | |||
| 99 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 100 | |||
| 101 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 102 | |||
| 103 | =cut | ||
| 104 |