« blib/lib/Paws/Connect/CreateInstanceResponse.pm
↑ Summary
blib/lib/Paws/Connect/CreateIntegrationAssociationResponse.pm »
| 1 | |||
| 2 | package Paws::Connect::CreateIntegrationAssociation; | ||
| 3 | use Moose; | ||
| 4 | has InstanceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'InstanceId', required => 1); | ||
| 5 | has IntegrationArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has IntegrationType => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has SourceApplicationName => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has SourceApplicationUrl => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has SourceType => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | has Tags => (is => 'ro', isa => 'Paws::Connect::TagMap'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateIntegrationAssociation'); | ||
| 15 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/instance/{InstanceId}/integration-associations'); | ||
| 16 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 17 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Connect::CreateIntegrationAssociationResponse'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::Connect::CreateIntegrationAssociation - Arguments for method CreateIntegrationAssociation on L<Paws::Connect> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method CreateIntegrationAssociation on the | ||
| 29 | L<Amazon Connect Service|Paws::Connect> service. Use the attributes of this class | ||
| 30 | as arguments to method CreateIntegrationAssociation. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateIntegrationAssociation. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $connect = Paws->service('Connect'); | ||
| 37 | my $CreateIntegrationAssociationResponse = | ||
| 38 | $connect->CreateIntegrationAssociation( | ||
| 39 | InstanceId => 'MyInstanceId', | ||
| 40 | IntegrationArn => 'MyARN', | ||
| 41 | IntegrationType => 'EVENT', | ||
| 42 | SourceApplicationName => 'MySourceApplicationName', | ||
| 43 | SourceApplicationUrl => 'MyURI', | ||
| 44 | SourceType => 'SALESFORCE', | ||
| 45 | Tags => { | ||
| 46 | 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 | ||
| 47 | }, # OPTIONAL | ||
| 48 | ); | ||
| 49 | |||
| 50 | # Results: | ||
| 51 | my $IntegrationAssociationArn = | ||
| 52 | $CreateIntegrationAssociationResponse->IntegrationAssociationArn; | ||
| 53 | my $IntegrationAssociationId = | ||
| 54 | $CreateIntegrationAssociationResponse->IntegrationAssociationId; | ||
| 55 | |||
| 56 | # Returns a L<Paws::Connect::CreateIntegrationAssociationResponse> object. | ||
| 57 | |||
| 58 | 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. | ||
| 59 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/connect/CreateIntegrationAssociation> | ||
| 60 | |||
| 61 | =head1 ATTRIBUTES | ||
| 62 | |||
| 63 | |||
| 64 | =head2 B<REQUIRED> InstanceId => Str | ||
| 65 | |||
| 66 | The identifier of the Amazon Connect instance. You can find the | ||
| 67 | instanceId in the ARN of the instance. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 B<REQUIRED> IntegrationArn => Str | ||
| 72 | |||
| 73 | The Amazon Resource Name (ARN) of the integration. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 B<REQUIRED> IntegrationType => Str | ||
| 78 | |||
| 79 | The type of information to be ingested. | ||
| 80 | |||
| 81 | Valid values are: C<"EVENT"> | ||
| 82 | |||
| 83 | =head2 B<REQUIRED> SourceApplicationName => Str | ||
| 84 | |||
| 85 | The name of the external application. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 B<REQUIRED> SourceApplicationUrl => Str | ||
| 90 | |||
| 91 | The URL for the external application. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head2 B<REQUIRED> SourceType => Str | ||
| 96 | |||
| 97 | The type of the data source. | ||
| 98 | |||
| 99 | Valid values are: C<"SALESFORCE">, C<"ZENDESK"> | ||
| 100 | |||
| 101 | =head2 Tags => L<Paws::Connect::TagMap> | ||
| 102 | |||
| 103 | One or more tags. | ||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | =head1 SEE ALSO | ||
| 109 | |||
| 110 | This class forms part of L<Paws>, documenting arguments for method CreateIntegrationAssociation in L<Paws::Connect> | ||
| 111 | |||
| 112 | =head1 BUGS and CONTRIBUTIONS | ||
| 113 | |||
| 114 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 115 | |||
| 116 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 117 | |||
| 118 | =cut | ||
| 119 |