blib/lib/Paws/Appflow/UpdateConnectorProfile.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Appflow::UpdateConnectorProfile;
3 use Moose;
4 has ConnectionMode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'connectionMode', required => 1);
5 has ConnectorProfileConfig => (is => 'ro', isa => 'Paws::Appflow::ConnectorProfileConfig', traits => ['NameInRequest'], request_name => 'connectorProfileConfig', required => 1);
6 has ConnectorProfileName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'connectorProfileName', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateConnectorProfile');
11 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/update-connector-profile');
12 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Appflow::UpdateConnectorProfileResponse');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Appflow::UpdateConnectorProfile - Arguments for method UpdateConnectorProfile on L<Paws::Appflow>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method UpdateConnectorProfile on the
25 L<Amazon Appflow|Paws::Appflow> service. Use the attributes of this class
26 as arguments to method UpdateConnectorProfile.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateConnectorProfile.
29  
30 =head1 SYNOPSIS
31  
32 my $appflow = Paws->service('Appflow');
33 my $UpdateConnectorProfileResponse = $appflow->UpdateConnectorProfile(
34 ConnectionMode => 'Public',
35 ConnectorProfileConfig => {
36 ConnectorProfileCredentials => {
37 Amplitude => {
38 ApiKey => 'MyApiKey', # max: 256
39 SecretKey => 'MySecretKey', # max: 256
40  
41 }, # OPTIONAL
42 Datadog => {
43 ApiKey => 'MyApiKey', # max: 256
44 ApplicationKey => 'MyApplicationKey', # max: 512
45  
46 }, # OPTIONAL
47 Dynatrace => {
48 ApiToken => 'MyApiToken', # max: 256
49  
50 }, # OPTIONAL
51 GoogleAnalytics => {
52 ClientId => 'MyClientId', # max: 512
53 ClientSecret => 'MyClientSecret', # max: 512
54 AccessToken => 'MyAccessToken', # max: 512; OPTIONAL
55 OAuthRequest => {
56 AuthCode => 'MyAuthCode', # max: 512; OPTIONAL
57 RedirectUri => 'MyRedirectUri', # max: 512; OPTIONAL
58 }, # OPTIONAL
59 RefreshToken => 'MyRefreshToken', # max: 512; OPTIONAL
60 }, # OPTIONAL
61 Honeycode => {
62 AccessToken => 'MyAccessToken', # max: 512; OPTIONAL
63 OAuthRequest => {
64 AuthCode => 'MyAuthCode', # max: 512; OPTIONAL
65 RedirectUri => 'MyRedirectUri', # max: 512; OPTIONAL
66 }, # OPTIONAL
67 RefreshToken => 'MyRefreshToken', # max: 512; OPTIONAL
68 }, # OPTIONAL
69 InforNexus => {
70 AccessKeyId => 'MyAccessKeyId', # max: 256
71 Datakey => 'MyKey', # max: 512
72 SecretAccessKey => 'MyKey', # max: 512
73 UserId => 'MyUsername', # max: 512
74  
75 }, # OPTIONAL
76 Marketo => {
77 ClientId => 'MyClientId', # max: 512
78 ClientSecret => 'MyClientSecret', # max: 512
79 AccessToken => 'MyAccessToken', # max: 512; OPTIONAL
80 OAuthRequest => {
81 AuthCode => 'MyAuthCode', # max: 512; OPTIONAL
82 RedirectUri => 'MyRedirectUri', # max: 512; OPTIONAL
83 }, # OPTIONAL
84 }, # OPTIONAL
85 Redshift => {
86 Password => 'MyPassword', # max: 512
87 Username => 'MyUsername', # max: 512
88  
89 }, # OPTIONAL
90 Salesforce => {
91 AccessToken => 'MyAccessToken', # max: 512; OPTIONAL
92 ClientCredentialsArn =>
93 'MyClientCredentialsArn', # min: 20, max: 2048; OPTIONAL
94 OAuthRequest => {
95 AuthCode => 'MyAuthCode', # max: 512; OPTIONAL
96 RedirectUri => 'MyRedirectUri', # max: 512; OPTIONAL
97 }, # OPTIONAL
98 RefreshToken => 'MyRefreshToken', # max: 512; OPTIONAL
99 }, # OPTIONAL
100 ServiceNow => {
101 Password => 'MyPassword', # max: 512
102 Username => 'MyUsername', # max: 512
103  
104 }, # OPTIONAL
105 Singular => {
106 ApiKey => 'MyApiKey', # max: 256
107  
108 }, # OPTIONAL
109 Slack => {
110 ClientId => 'MyClientId', # max: 512
111 ClientSecret => 'MyClientSecret', # max: 512
112 AccessToken => 'MyAccessToken', # max: 512; OPTIONAL
113 OAuthRequest => {
114 AuthCode => 'MyAuthCode', # max: 512; OPTIONAL
115 RedirectUri => 'MyRedirectUri', # max: 512; OPTIONAL
116 }, # OPTIONAL
117 }, # OPTIONAL
118 Snowflake => {
119 Password => 'MyPassword', # max: 512
120 Username => 'MyUsername', # max: 512
121  
122 }, # OPTIONAL
123 Trendmicro => {
124 ApiSecretKey => 'MyApiSecretKey', # max: 256
125  
126 }, # OPTIONAL
127 Veeva => {
128 Password => 'MyPassword', # max: 512
129 Username => 'MyUsername', # max: 512
130  
131 }, # OPTIONAL
132 Zendesk => {
133 ClientId => 'MyClientId', # max: 512
134 ClientSecret => 'MyClientSecret', # max: 512
135 AccessToken => 'MyAccessToken', # max: 512; OPTIONAL
136 OAuthRequest => {
137 AuthCode => 'MyAuthCode', # max: 512; OPTIONAL
138 RedirectUri => 'MyRedirectUri', # max: 512; OPTIONAL
139 }, # OPTIONAL
140 }, # OPTIONAL
141 },
142 ConnectorProfileProperties => {
143 Amplitude => {
144  
145 }, # OPTIONAL
146 Datadog => {
147 InstanceUrl => 'MyInstanceUrl', # max: 256
148  
149 }, # OPTIONAL
150 Dynatrace => {
151 InstanceUrl => 'MyInstanceUrl', # max: 256
152  
153 }, # OPTIONAL
154 GoogleAnalytics => {
155  
156 }, # OPTIONAL
157 Honeycode => {
158  
159 }, # OPTIONAL
160 InforNexus => {
161 InstanceUrl => 'MyInstanceUrl', # max: 256
162  
163 }, # OPTIONAL
164 Marketo => {
165 InstanceUrl => 'MyInstanceUrl', # max: 256
166  
167 }, # OPTIONAL
168 Redshift => {
169 BucketName => 'MyBucketName', # min: 3, max: 63
170 DatabaseUrl => 'MyDatabaseUrl', # max: 512
171 RoleArn => 'MyRoleArn', # max: 512
172 BucketPrefix => 'MyBucketPrefix', # max: 512; OPTIONAL
173 }, # OPTIONAL
174 Salesforce => {
175 InstanceUrl => 'MyInstanceUrl', # max: 256
176 IsSandboxEnvironment => 1, # OPTIONAL
177 }, # OPTIONAL
178 ServiceNow => {
179 InstanceUrl => 'MyInstanceUrl', # max: 256
180  
181 }, # OPTIONAL
182 Singular => {
183  
184 }, # OPTIONAL
185 Slack => {
186 InstanceUrl => 'MyInstanceUrl', # max: 256
187  
188 }, # OPTIONAL
189 Snowflake => {
190 BucketName => 'MyBucketName', # min: 3, max: 63
191 Stage => 'MyStage', # max: 512
192 Warehouse => 'MyWarehouse', # max: 512
193 AccountName => 'MyAccountName', # max: 512; OPTIONAL
194 BucketPrefix => 'MyBucketPrefix', # max: 512; OPTIONAL
195 PrivateLinkServiceName =>
196 'MyPrivateLinkServiceName', # max: 512; OPTIONAL
197 Region => 'MyRegion', # max: 64; OPTIONAL
198 }, # OPTIONAL
199 Trendmicro => {
200  
201 }, # OPTIONAL
202 Veeva => {
203 InstanceUrl => 'MyInstanceUrl', # max: 256
204  
205 }, # OPTIONAL
206 Zendesk => {
207 InstanceUrl => 'MyInstanceUrl', # max: 256
208  
209 }, # OPTIONAL
210 },
211  
212 },
213 ConnectorProfileName => 'MyConnectorProfileName',
214  
215 );
216  
217 # Results:
218 my $ConnectorProfileArn =
219 $UpdateConnectorProfileResponse->ConnectorProfileArn;
220  
221 # Returns a L<Paws::Appflow::UpdateConnectorProfileResponse> object.
222  
223 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.
224 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appflow/UpdateConnectorProfile>
225  
226 =head1 ATTRIBUTES
227  
228  
229 =head2 B<REQUIRED> ConnectionMode => Str
230  
231 Indicates the connection mode and if it is public or private.
232  
233 Valid values are: C<"Public">, C<"Private">
234  
235 =head2 B<REQUIRED> ConnectorProfileConfig => L<Paws::Appflow::ConnectorProfileConfig>
236  
237 Defines the connector-specific profile configuration and credentials.
238  
239  
240  
241 =head2 B<REQUIRED> ConnectorProfileName => Str
242  
243 The name of the connector profile and is unique for each
244 C<ConnectorProfile> in the AWS Account.
245  
246  
247  
248  
249 =head1 SEE ALSO
250  
251 This class forms part of L<Paws>, documenting arguments for method UpdateConnectorProfile in L<Paws::Appflow>
252  
253 =head1 BUGS and CONTRIBUTIONS
254  
255 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
256  
257 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
258  
259 =cut
260