Skip to content

Commit e7dc2f1

Browse files
committed
Update Structures from AWS SDK for PHP 3.387.1
<https://github.com/aws/aws-sdk-php/releases/tag/3.387.1>
1 parent 54b3684 commit e7dc2f1

132 files changed

Lines changed: 1934 additions & 21 deletions

File tree

Some content is hidden

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": "^8.1",
14-
"aws/aws-sdk-php": "3.387.0"
14+
"aws/aws-sdk-php": "3.387.1"
1515
},
1616
"require-dev": {
1717
"composer/composer": "^2.0",

src/structures/Artifact/ArtifactClient.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@
44

55
class ArtifactClient extends \Aws\Artifact\ArtifactClient
66
{
7+
use CreateComplianceInquiry\CreateComplianceInquiryTrait;
8+
use ExportComplianceInquiry\ExportComplianceInquiryTrait;
79
use GetAccountSettings\GetAccountSettingsTrait;
10+
use GetComplianceInquiryMetadata\GetComplianceInquiryMetadataTrait;
811
use GetReport\GetReportTrait;
912
use GetReportMetadata\GetReportMetadataTrait;
1013
use GetTermForReport\GetTermForReportTrait;
14+
use ListComplianceInquiries\ListComplianceInquiriesTrait;
15+
use ListComplianceInquiryQueries\ListComplianceInquiryQueriesTrait;
1116
use ListCustomerAgreements\ListCustomerAgreementsTrait;
1217
use ListReportVersions\ListReportVersionsTrait;
1318
use ListReports\ListReportsTrait;
19+
use ListTagsForResource\ListTagsForResourceTrait;
1420
use PutAccountSettings\PutAccountSettingsTrait;
21+
use TagResource\TagResourceTrait;
22+
use UntagResource\UntagResourceTrait;
1523
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
namespace Sunaoka\Aws\Structures\Artifact\CreateComplianceInquiry;
4+
5+
use Sunaoka\Aws\Structures\Request;
6+
7+
/**
8+
* @property string $name
9+
* @property Shapes\InquiryContent $inquiryContent
10+
* @property string|null $clientToken
11+
* @property 'AI_ONLY'|'FULL_SUPPORT'|null $supportMode
12+
* @property array<string, string>|null $tags
13+
*/
14+
class CreateComplianceInquiryRequest extends Request
15+
{
16+
/**
17+
* @param array{
18+
* name: string,
19+
* inquiryContent: Shapes\InquiryContent,
20+
* clientToken?: string|null,
21+
* supportMode?: 'AI_ONLY'|'FULL_SUPPORT'|null,
22+
* tags?: array<string, string>|null
23+
* } $args
24+
*/
25+
public function __construct(array $args)
26+
{
27+
$this->__data = $args;
28+
}
29+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Sunaoka\Aws\Structures\Artifact\CreateComplianceInquiry;
4+
5+
use Sunaoka\Aws\Structures\Response;
6+
7+
/**
8+
* @property Shapes\InquirySummary|null $complianceInquirySummary
9+
* @property array<string, string>|null $tags
10+
*/
11+
class CreateComplianceInquiryResponse extends Response
12+
{
13+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
namespace Sunaoka\Aws\Structures\Artifact\CreateComplianceInquiry;
4+
5+
trait CreateComplianceInquiryTrait
6+
{
7+
/**
8+
* @param CreateComplianceInquiryRequest $args
9+
* @return CreateComplianceInquiryResponse
10+
*/
11+
public function createComplianceInquiry(CreateComplianceInquiryRequest $args)
12+
{
13+
$result = parent::createComplianceInquiry($args->toArray());
14+
return new CreateComplianceInquiryResponse($result->toArray());
15+
}
16+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
namespace Sunaoka\Aws\Structures\Artifact\CreateComplianceInquiry\Shapes;
4+
5+
use Sunaoka\Aws\Structures\Shape;
6+
7+
/**
8+
* @property string|null $query
9+
* @property InquiryFileContent|null $fileContent
10+
*/
11+
class InquiryContent extends Shape
12+
{
13+
/**
14+
* @param array{
15+
* query?: string|null,
16+
* fileContent?: InquiryFileContent|null
17+
* } $args
18+
*/
19+
public function __construct(array $args = [])
20+
{
21+
$this->__data = $args;
22+
}
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
namespace Sunaoka\Aws\Structures\Artifact\CreateComplianceInquiry\Shapes;
4+
5+
use Sunaoka\Aws\Structures\Shape;
6+
7+
/**
8+
* @property list<string>|null $fileSections
9+
* @property string|resource|\Psr\Http\Message\StreamInterface $content
10+
*/
11+
class InquiryFileContent extends Shape
12+
{
13+
/**
14+
* @param array{
15+
* fileSections?: list<string>|null,
16+
* content: string|resource|\Psr\Http\Message\StreamInterface
17+
* } $args
18+
*/
19+
public function __construct(array $args)
20+
{
21+
$this->__data = $args;
22+
}
23+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
3+
namespace Sunaoka\Aws\Structures\Artifact\CreateComplianceInquiry\Shapes;
4+
5+
use Sunaoka\Aws\Structures\Shape;
6+
7+
/**
8+
* @property string $arn
9+
* @property string $name
10+
* @property string $id
11+
* @property 'PROCESSING'|'HUMAN_REVIEW'|'COMPLETED'|'FAILED' $status
12+
* @property 'Compliance inquiry processing is complete.'|'Malware was detected on the file. Provide a new file and try again.'|'Compliance inquiry processing is in-progress.'|'An internal error occurred while processing the inquiry. Try again at a later time.'|'Human review is in progress.'|'Compliance inquiry processing is complete. One or more queries encountered errors during processing.' $statusMessage
13+
* @property 'TEXT'|'FILE' $inputSource
14+
* @property \Aws\Api\DateTimeResult $createdAt
15+
*/
16+
class InquirySummary extends Shape
17+
{
18+
/**
19+
* @param array{
20+
* arn: string,
21+
* name: string,
22+
* id: string,
23+
* status: 'PROCESSING'|'HUMAN_REVIEW'|'COMPLETED'|'FAILED',
24+
* statusMessage: 'Compliance inquiry processing is complete.'|'Malware was detected on the file. Provide a new file and try again.'|'Compliance inquiry processing is in-progress.'|'An internal error occurred while processing the inquiry. Try again at a later time.'|'Human review is in progress.'|'Compliance inquiry processing is complete. One or more queries encountered errors during processing.',
25+
* inputSource: 'TEXT'|'FILE',
26+
* createdAt: \Aws\Api\DateTimeResult
27+
* } $args
28+
*/
29+
public function __construct(array $args)
30+
{
31+
$this->__data = $args;
32+
}
33+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
namespace Sunaoka\Aws\Structures\Artifact\ExportComplianceInquiry;
4+
5+
use Sunaoka\Aws\Structures\Request;
6+
7+
/**
8+
* @property string $complianceInquiryId
9+
* @property list<int>|null $queryIdentifiers
10+
* @property bool|null $includeCitations
11+
*/
12+
class ExportComplianceInquiryRequest extends Request
13+
{
14+
/**
15+
* @param array{
16+
* complianceInquiryId: string,
17+
* queryIdentifiers?: list<int>|null,
18+
* includeCitations?: bool|null
19+
* } $args
20+
*/
21+
public function __construct(array $args)
22+
{
23+
$this->__data = $args;
24+
}
25+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Sunaoka\Aws\Structures\Artifact\ExportComplianceInquiry;
4+
5+
use Sunaoka\Aws\Structures\Response;
6+
7+
/**
8+
* @property string|null $documentPresignedUrl
9+
* @property array<string, string>|null $tags
10+
*/
11+
class ExportComplianceInquiryResponse extends Response
12+
{
13+
}

0 commit comments

Comments
 (0)