Skip to content

Commit 1b69203

Browse files
Merge pull request #2256 from nextcloud/dependabot/stable31/composer/aws/aws-sdk-php-3.369.9
build(deps): bump aws/aws-sdk-php from 3.324.13 to 3.369.9
2 parents 2fc536c + f653ca2 commit 1b69203

File tree

1,532 files changed

+22233
-4630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,532 files changed

+22233
-4630
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
namespace Aws\AIOps;
3+
4+
use Aws\AwsClient;
5+
6+
/**
7+
* This client is used to interact with the **AWS AI Ops** service.
8+
* @method \Aws\Result createInvestigationGroup(array $args = [])
9+
* @method \GuzzleHttp\Promise\Promise createInvestigationGroupAsync(array $args = [])
10+
* @method \Aws\Result deleteInvestigationGroup(array $args = [])
11+
* @method \GuzzleHttp\Promise\Promise deleteInvestigationGroupAsync(array $args = [])
12+
* @method \Aws\Result deleteInvestigationGroupPolicy(array $args = [])
13+
* @method \GuzzleHttp\Promise\Promise deleteInvestigationGroupPolicyAsync(array $args = [])
14+
* @method \Aws\Result getInvestigationGroup(array $args = [])
15+
* @method \GuzzleHttp\Promise\Promise getInvestigationGroupAsync(array $args = [])
16+
* @method \Aws\Result getInvestigationGroupPolicy(array $args = [])
17+
* @method \GuzzleHttp\Promise\Promise getInvestigationGroupPolicyAsync(array $args = [])
18+
* @method \Aws\Result listInvestigationGroups(array $args = [])
19+
* @method \GuzzleHttp\Promise\Promise listInvestigationGroupsAsync(array $args = [])
20+
* @method \Aws\Result listTagsForResource(array $args = [])
21+
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
22+
* @method \Aws\Result putInvestigationGroupPolicy(array $args = [])
23+
* @method \GuzzleHttp\Promise\Promise putInvestigationGroupPolicyAsync(array $args = [])
24+
* @method \Aws\Result tagResource(array $args = [])
25+
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
26+
* @method \Aws\Result untagResource(array $args = [])
27+
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
28+
* @method \Aws\Result updateInvestigationGroup(array $args = [])
29+
* @method \GuzzleHttp\Promise\Promise updateInvestigationGroupAsync(array $args = [])
30+
*/
31+
class AIOpsClient extends AwsClient {}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
namespace Aws\AIOps\Exception;
3+
4+
use Aws\Exception\AwsException;
5+
6+
/**
7+
* Represents an error interacting with the **AWS AI Ops** service.
8+
*/
9+
class AIOpsException extends AwsException {}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?php
2+
namespace Aws\ARCRegionSwitch;
3+
4+
use Aws\AwsClient;
5+
6+
/**
7+
* This client is used to interact with the **ARC - Region switch** service.
8+
* @method \Aws\Result approvePlanExecutionStep(array $args = [])
9+
* @method \GuzzleHttp\Promise\Promise approvePlanExecutionStepAsync(array $args = [])
10+
* @method \Aws\Result cancelPlanExecution(array $args = [])
11+
* @method \GuzzleHttp\Promise\Promise cancelPlanExecutionAsync(array $args = [])
12+
* @method \Aws\Result createPlan(array $args = [])
13+
* @method \GuzzleHttp\Promise\Promise createPlanAsync(array $args = [])
14+
* @method \Aws\Result deletePlan(array $args = [])
15+
* @method \GuzzleHttp\Promise\Promise deletePlanAsync(array $args = [])
16+
* @method \Aws\Result getPlan(array $args = [])
17+
* @method \GuzzleHttp\Promise\Promise getPlanAsync(array $args = [])
18+
* @method \Aws\Result getPlanEvaluationStatus(array $args = [])
19+
* @method \GuzzleHttp\Promise\Promise getPlanEvaluationStatusAsync(array $args = [])
20+
* @method \Aws\Result getPlanExecution(array $args = [])
21+
* @method \GuzzleHttp\Promise\Promise getPlanExecutionAsync(array $args = [])
22+
* @method \Aws\Result getPlanInRegion(array $args = [])
23+
* @method \GuzzleHttp\Promise\Promise getPlanInRegionAsync(array $args = [])
24+
* @method \Aws\Result listPlanExecutionEvents(array $args = [])
25+
* @method \GuzzleHttp\Promise\Promise listPlanExecutionEventsAsync(array $args = [])
26+
* @method \Aws\Result listPlanExecutions(array $args = [])
27+
* @method \GuzzleHttp\Promise\Promise listPlanExecutionsAsync(array $args = [])
28+
* @method \Aws\Result listPlans(array $args = [])
29+
* @method \GuzzleHttp\Promise\Promise listPlansAsync(array $args = [])
30+
* @method \Aws\Result listPlansInRegion(array $args = [])
31+
* @method \GuzzleHttp\Promise\Promise listPlansInRegionAsync(array $args = [])
32+
* @method \Aws\Result listRoute53HealthChecks(array $args = [])
33+
* @method \GuzzleHttp\Promise\Promise listRoute53HealthChecksAsync(array $args = [])
34+
* @method \Aws\Result listRoute53HealthChecksInRegion(array $args = [])
35+
* @method \GuzzleHttp\Promise\Promise listRoute53HealthChecksInRegionAsync(array $args = [])
36+
* @method \Aws\Result listTagsForResource(array $args = [])
37+
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
38+
* @method \Aws\Result startPlanExecution(array $args = [])
39+
* @method \GuzzleHttp\Promise\Promise startPlanExecutionAsync(array $args = [])
40+
* @method \Aws\Result tagResource(array $args = [])
41+
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
42+
* @method \Aws\Result untagResource(array $args = [])
43+
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
44+
* @method \Aws\Result updatePlan(array $args = [])
45+
* @method \GuzzleHttp\Promise\Promise updatePlanAsync(array $args = [])
46+
* @method \Aws\Result updatePlanExecution(array $args = [])
47+
* @method \GuzzleHttp\Promise\Promise updatePlanExecutionAsync(array $args = [])
48+
* @method \Aws\Result updatePlanExecutionStep(array $args = [])
49+
* @method \GuzzleHttp\Promise\Promise updatePlanExecutionStepAsync(array $args = [])
50+
*/
51+
class ARCRegionSwitchClient extends AwsClient {}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
namespace Aws\ARCRegionSwitch\Exception;
3+
4+
use Aws\Exception\AwsException;
5+
6+
/**
7+
* Represents an error interacting with the **ARC - Region switch** service.
8+
*/
9+
class ARCRegionSwitchException extends AwsException {}

aws/aws-sdk-php/src/ARCZonalShift/ARCZonalShiftClient.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
/**
77
* This client is used to interact with the **AWS ARC - Zonal Shift** service.
8+
* @method \Aws\Result cancelPracticeRun(array $args = [])
9+
* @method \GuzzleHttp\Promise\Promise cancelPracticeRunAsync(array $args = [])
810
* @method \Aws\Result cancelZonalShift(array $args = [])
911
* @method \GuzzleHttp\Promise\Promise cancelZonalShiftAsync(array $args = [])
1012
* @method \Aws\Result createPracticeRunConfiguration(array $args = [])
@@ -21,6 +23,8 @@
2123
* @method \GuzzleHttp\Promise\Promise listManagedResourcesAsync(array $args = [])
2224
* @method \Aws\Result listZonalShifts(array $args = [])
2325
* @method \GuzzleHttp\Promise\Promise listZonalShiftsAsync(array $args = [])
26+
* @method \Aws\Result startPracticeRun(array $args = [])
27+
* @method \GuzzleHttp\Promise\Promise startPracticeRunAsync(array $args = [])
2428
* @method \Aws\Result startZonalShift(array $args = [])
2529
* @method \GuzzleHttp\Promise\Promise startZonalShiftAsync(array $args = [])
2630
* @method \Aws\Result updateAutoshiftObserverNotificationStatus(array $args = [])

aws/aws-sdk-php/src/AccessAnalyzer/AccessAnalyzerClient.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
* @method \GuzzleHttp\Promise\Promise getFindingRecommendationAsync(array $args = [])
4242
* @method \Aws\Result getFindingV2(array $args = [])
4343
* @method \GuzzleHttp\Promise\Promise getFindingV2Async(array $args = [])
44+
* @method \Aws\Result getFindingsStatistics(array $args = [])
45+
* @method \GuzzleHttp\Promise\Promise getFindingsStatisticsAsync(array $args = [])
4446
* @method \Aws\Result getGeneratedPolicy(array $args = [])
4547
* @method \GuzzleHttp\Promise\Promise getGeneratedPolicyAsync(array $args = [])
4648
* @method \Aws\Result listAccessPreviewFindings(array $args = [])
@@ -69,6 +71,8 @@
6971
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
7072
* @method \Aws\Result untagResource(array $args = [])
7173
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
74+
* @method \Aws\Result updateAnalyzer(array $args = [])
75+
* @method \GuzzleHttp\Promise\Promise updateAnalyzerAsync(array $args = [])
7276
* @method \Aws\Result updateArchiveRule(array $args = [])
7377
* @method \GuzzleHttp\Promise\Promise updateArchiveRuleAsync(array $args = [])
7478
* @method \Aws\Result updateFindings(array $args = [])

aws/aws-sdk-php/src/Account/AccountClient.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,22 @@
1313
* @method \GuzzleHttp\Promise\Promise disableRegionAsync(array $args = [])
1414
* @method \Aws\Result enableRegion(array $args = [])
1515
* @method \GuzzleHttp\Promise\Promise enableRegionAsync(array $args = [])
16+
* @method \Aws\Result getAccountInformation(array $args = [])
17+
* @method \GuzzleHttp\Promise\Promise getAccountInformationAsync(array $args = [])
1618
* @method \Aws\Result getAlternateContact(array $args = [])
1719
* @method \GuzzleHttp\Promise\Promise getAlternateContactAsync(array $args = [])
1820
* @method \Aws\Result getContactInformation(array $args = [])
1921
* @method \GuzzleHttp\Promise\Promise getContactInformationAsync(array $args = [])
22+
* @method \Aws\Result getGovCloudAccountInformation(array $args = [])
23+
* @method \GuzzleHttp\Promise\Promise getGovCloudAccountInformationAsync(array $args = [])
2024
* @method \Aws\Result getPrimaryEmail(array $args = [])
2125
* @method \GuzzleHttp\Promise\Promise getPrimaryEmailAsync(array $args = [])
2226
* @method \Aws\Result getRegionOptStatus(array $args = [])
2327
* @method \GuzzleHttp\Promise\Promise getRegionOptStatusAsync(array $args = [])
2428
* @method \Aws\Result listRegions(array $args = [])
2529
* @method \GuzzleHttp\Promise\Promise listRegionsAsync(array $args = [])
30+
* @method \Aws\Result putAccountName(array $args = [])
31+
* @method \GuzzleHttp\Promise\Promise putAccountNameAsync(array $args = [])
2632
* @method \Aws\Result putAlternateContact(array $args = [])
2733
* @method \GuzzleHttp\Promise\Promise putAlternateContactAsync(array $args = [])
2834
* @method \Aws\Result putContactInformation(array $args = [])

aws/aws-sdk-php/src/Acm/AcmClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
* @method \GuzzleHttp\Promise\Promise requestCertificateAsync(array $args = [])
3535
* @method \Aws\Result resendValidationEmail(array $args = [])
3636
* @method \GuzzleHttp\Promise\Promise resendValidationEmailAsync(array $args = [])
37+
* @method \Aws\Result revokeCertificate(array $args = [])
38+
* @method \GuzzleHttp\Promise\Promise revokeCertificateAsync(array $args = [])
3739
* @method \Aws\Result updateCertificateOptions(array $args = [])
3840
* @method \GuzzleHttp\Promise\Promise updateCertificateOptionsAsync(array $args = [])
3941
*/

aws/aws-sdk-php/src/AmplifyBackend/AmplifyBackendClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
* @method \GuzzleHttp\Promise\Promise getBackendJobAsync(array $args = [])
4444
* @method \Aws\Result getBackendStorage(array $args = [])
4545
* @method \GuzzleHttp\Promise\Promise getBackendStorageAsync(array $args = [])
46-
* @method \Aws\Result getToken(array $args = [])
47-
* @method \GuzzleHttp\Promise\Promise getTokenAsync(array $args = [])
46+
* @method \Aws\Result getChallengeToken(array $args = [])
47+
* @method \GuzzleHttp\Promise\Promise getChallengeTokenAsync(array $args = [])
4848
* @method \Aws\Result importBackendAuth(array $args = [])
4949
* @method \GuzzleHttp\Promise\Promise importBackendAuthAsync(array $args = [])
5050
* @method \Aws\Result importBackendStorage(array $args = [])

aws/aws-sdk-php/src/Api/ErrorParser/AbstractErrorParser.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ protected function populateShape(
6060
foreach ($errors as $key => $error) {
6161

6262
// If error code matches a known error shape, populate the body
63-
if ($data['code'] == $error['name']
64-
&& $error instanceof StructureShape
65-
) {
63+
if ($this->errorCodeMatches($data, $error)) {
6664
$modeledError = $error;
6765
$data['body'] = $this->extractPayload(
6866
$modeledError,
@@ -92,4 +90,10 @@ protected function populateShape(
9290

9391
return $data;
9492
}
95-
}
93+
94+
private function errorCodeMatches(array $data, $error): bool
95+
{
96+
return $data['code'] == $error['name']
97+
|| (isset($error['error']['code']) && $data['code'] === $error['error']['code']);
98+
}
99+
}

0 commit comments

Comments
 (0)