« blib/lib/Paws/ApplicationInsights/ConfigurationEvent.pm
↑ Summary
blib/lib/Paws/ApplicationInsights/CreateApplicationResponse.pm »
| 1 | |||
| 2 | package Paws::ApplicationInsights::CreateApplication; | ||
| 3 | use Moose; | ||
| 4 | has CWEMonitorEnabled => (is => 'ro', isa => 'Bool'); | ||
| 5 | has OpsCenterEnabled => (is => 'ro', isa => 'Bool'); | ||
| 6 | has OpsItemSNSTopicArn => (is => 'ro', isa => 'Str'); | ||
| 7 | has ResourceGroupName => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::ApplicationInsights::Tag]'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateApplication'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApplicationInsights::CreateApplicationResponse'); | ||
| 14 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::ApplicationInsights::CreateApplication - Arguments for method CreateApplication on L<Paws::ApplicationInsights> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method CreateApplication on the | ||
| 26 | L<Amazon CloudWatch Application Insights|Paws::ApplicationInsights> service. Use the attributes of this class | ||
| 27 | as arguments to method CreateApplication. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateApplication. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $applicationinsights = Paws->service('ApplicationInsights'); | ||
| 34 | my $CreateApplicationResponse = $applicationinsights->CreateApplication( | ||
| 35 | ResourceGroupName => 'MyResourceGroupName', | ||
| 36 | CWEMonitorEnabled => 1, # OPTIONAL | ||
| 37 | OpsCenterEnabled => 1, # OPTIONAL | ||
| 38 | OpsItemSNSTopicArn => 'MyOpsItemSNSTopicArn', # OPTIONAL | ||
| 39 | Tags => [ | ||
| 40 | { | ||
| 41 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 42 | Value => 'MyTagValue', # max: 256 | ||
| 43 | |||
| 44 | }, | ||
| 45 | ... | ||
| 46 | ], # OPTIONAL | ||
| 47 | ); | ||
| 48 | |||
| 49 | # Results: | ||
| 50 | my $ApplicationInfo = $CreateApplicationResponse->ApplicationInfo; | ||
| 51 | |||
| 52 | # Returns a L<Paws::ApplicationInsights::CreateApplicationResponse> object. | ||
| 53 | |||
| 54 | 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. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/applicationinsights/CreateApplication> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 CWEMonitorEnabled => Bool | ||
| 61 | |||
| 62 | Indicates whether Application Insights can listen to CloudWatch events | ||
| 63 | for the application resources, such as C<instance terminated>, C<failed | ||
| 64 | deployment>, and others. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 OpsCenterEnabled => Bool | ||
| 69 | |||
| 70 | When set to C<true>, creates opsItems for any problems detected on an | ||
| 71 | application. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 OpsItemSNSTopicArn => Str | ||
| 76 | |||
| 77 | The SNS topic provided to Application Insights that is associated to | ||
| 78 | the created opsItem. Allows you to receive notifications for updates to | ||
| 79 | the opsItem. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> ResourceGroupName => Str | ||
| 84 | |||
| 85 | The name of the resource group. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 Tags => ArrayRef[L<Paws::ApplicationInsights::Tag>] | ||
| 90 | |||
| 91 | List of tags to add to the application. tag key (C<Key>) and an | ||
| 92 | associated tag value (C<Value>). The maximum length of a tag key is 128 | ||
| 93 | characters. The maximum length of a tag value is 256 characters. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head1 SEE ALSO | ||
| 99 | |||
| 100 | This class forms part of L<Paws>, documenting arguments for method CreateApplication in L<Paws::ApplicationInsights> | ||
| 101 | |||
| 102 | =head1 BUGS and CONTRIBUTIONS | ||
| 103 | |||
| 104 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 105 | |||
| 106 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 107 | |||
| 108 | =cut | ||
| 109 |