Línea 9... |
Línea 9... |
9 |
use Aws\S3\UseArnRegion\ConfigurationProvider as UseArnRegionConfigurationProvider;
|
9 |
use Aws\S3\UseArnRegion\ConfigurationProvider as UseArnRegionConfigurationProvider;
|
10 |
use GuzzleHttp\Promise\PromiseInterface;
|
10 |
use GuzzleHttp\Promise\PromiseInterface;
|
Línea 11... |
Línea 11... |
11 |
|
11 |
|
12 |
/**
|
12 |
/**
|
- |
|
13 |
* This client is used to interact with the **AWS S3 Control** service.
|
- |
|
14 |
* @method \Aws\Result associateAccessGrantsIdentityCenter(array $args = [])
|
- |
|
15 |
* @method \GuzzleHttp\Promise\Promise associateAccessGrantsIdentityCenterAsync(array $args = [])
|
- |
|
16 |
* @method \Aws\Result createAccessGrant(array $args = [])
|
- |
|
17 |
* @method \GuzzleHttp\Promise\Promise createAccessGrantAsync(array $args = [])
|
- |
|
18 |
* @method \Aws\Result createAccessGrantsInstance(array $args = [])
|
- |
|
19 |
* @method \GuzzleHttp\Promise\Promise createAccessGrantsInstanceAsync(array $args = [])
|
- |
|
20 |
* @method \Aws\Result createAccessGrantsLocation(array $args = [])
|
13 |
* This client is used to interact with the **AWS S3 Control** service.
|
21 |
* @method \GuzzleHttp\Promise\Promise createAccessGrantsLocationAsync(array $args = [])
|
14 |
* @method \Aws\Result createAccessPoint(array $args = [])
|
22 |
* @method \Aws\Result createAccessPoint(array $args = [])
|
15 |
* @method \GuzzleHttp\Promise\Promise createAccessPointAsync(array $args = [])
|
23 |
* @method \GuzzleHttp\Promise\Promise createAccessPointAsync(array $args = [])
|
16 |
* @method \Aws\Result createAccessPointForObjectLambda(array $args = [])
|
24 |
* @method \Aws\Result createAccessPointForObjectLambda(array $args = [])
|
17 |
* @method \GuzzleHttp\Promise\Promise createAccessPointForObjectLambdaAsync(array $args = [])
|
25 |
* @method \GuzzleHttp\Promise\Promise createAccessPointForObjectLambdaAsync(array $args = [])
|
18 |
* @method \Aws\Result createBucket(array $args = [])
|
26 |
* @method \Aws\Result createBucket(array $args = [])
|
19 |
* @method \GuzzleHttp\Promise\Promise createBucketAsync(array $args = [])
|
27 |
* @method \GuzzleHttp\Promise\Promise createBucketAsync(array $args = [])
|
20 |
* @method \Aws\Result createJob(array $args = [])
|
28 |
* @method \Aws\Result createJob(array $args = [])
|
21 |
* @method \GuzzleHttp\Promise\Promise createJobAsync(array $args = [])
|
29 |
* @method \GuzzleHttp\Promise\Promise createJobAsync(array $args = [])
|
22 |
* @method \Aws\Result createMultiRegionAccessPoint(array $args = [])
|
30 |
* @method \Aws\Result createMultiRegionAccessPoint(array $args = [])
|
- |
|
31 |
* @method \GuzzleHttp\Promise\Promise createMultiRegionAccessPointAsync(array $args = [])
|
- |
|
32 |
* @method \Aws\Result createStorageLensGroup(array $args = [])
|
- |
|
33 |
* @method \GuzzleHttp\Promise\Promise createStorageLensGroupAsync(array $args = [])
|
- |
|
34 |
* @method \Aws\Result deleteAccessGrant(array $args = [])
|
- |
|
35 |
* @method \GuzzleHttp\Promise\Promise deleteAccessGrantAsync(array $args = [])
|
- |
|
36 |
* @method \Aws\Result deleteAccessGrantsInstance(array $args = [])
|
- |
|
37 |
* @method \GuzzleHttp\Promise\Promise deleteAccessGrantsInstanceAsync(array $args = [])
|
- |
|
38 |
* @method \Aws\Result deleteAccessGrantsInstanceResourcePolicy(array $args = [])
|
- |
|
39 |
* @method \GuzzleHttp\Promise\Promise deleteAccessGrantsInstanceResourcePolicyAsync(array $args = [])
|
- |
|
40 |
* @method \Aws\Result deleteAccessGrantsLocation(array $args = [])
|
23 |
* @method \GuzzleHttp\Promise\Promise createMultiRegionAccessPointAsync(array $args = [])
|
41 |
* @method \GuzzleHttp\Promise\Promise deleteAccessGrantsLocationAsync(array $args = [])
|
24 |
* @method \Aws\Result deleteAccessPoint(array $args = [])
|
42 |
* @method \Aws\Result deleteAccessPoint(array $args = [])
|
25 |
* @method \GuzzleHttp\Promise\Promise deleteAccessPointAsync(array $args = [])
|
43 |
* @method \GuzzleHttp\Promise\Promise deleteAccessPointAsync(array $args = [])
|
26 |
* @method \Aws\Result deleteAccessPointForObjectLambda(array $args = [])
|
44 |
* @method \Aws\Result deleteAccessPointForObjectLambda(array $args = [])
|
27 |
* @method \GuzzleHttp\Promise\Promise deleteAccessPointForObjectLambdaAsync(array $args = [])
|
45 |
* @method \GuzzleHttp\Promise\Promise deleteAccessPointForObjectLambdaAsync(array $args = [])
|
Línea 47... |
Línea 65... |
47 |
* @method \GuzzleHttp\Promise\Promise deletePublicAccessBlockAsync(array $args = [])
|
65 |
* @method \GuzzleHttp\Promise\Promise deletePublicAccessBlockAsync(array $args = [])
|
48 |
* @method \Aws\Result deleteStorageLensConfiguration(array $args = [])
|
66 |
* @method \Aws\Result deleteStorageLensConfiguration(array $args = [])
|
49 |
* @method \GuzzleHttp\Promise\Promise deleteStorageLensConfigurationAsync(array $args = [])
|
67 |
* @method \GuzzleHttp\Promise\Promise deleteStorageLensConfigurationAsync(array $args = [])
|
50 |
* @method \Aws\Result deleteStorageLensConfigurationTagging(array $args = [])
|
68 |
* @method \Aws\Result deleteStorageLensConfigurationTagging(array $args = [])
|
51 |
* @method \GuzzleHttp\Promise\Promise deleteStorageLensConfigurationTaggingAsync(array $args = [])
|
69 |
* @method \GuzzleHttp\Promise\Promise deleteStorageLensConfigurationTaggingAsync(array $args = [])
|
- |
|
70 |
* @method \Aws\Result deleteStorageLensGroup(array $args = [])
|
- |
|
71 |
* @method \GuzzleHttp\Promise\Promise deleteStorageLensGroupAsync(array $args = [])
|
52 |
* @method \Aws\Result describeJob(array $args = [])
|
72 |
* @method \Aws\Result describeJob(array $args = [])
|
53 |
* @method \GuzzleHttp\Promise\Promise describeJobAsync(array $args = [])
|
73 |
* @method \GuzzleHttp\Promise\Promise describeJobAsync(array $args = [])
|
54 |
* @method \Aws\Result describeMultiRegionAccessPointOperation(array $args = [])
|
74 |
* @method \Aws\Result describeMultiRegionAccessPointOperation(array $args = [])
|
55 |
* @method \GuzzleHttp\Promise\Promise describeMultiRegionAccessPointOperationAsync(array $args = [])
|
75 |
* @method \GuzzleHttp\Promise\Promise describeMultiRegionAccessPointOperationAsync(array $args = [])
|
- |
|
76 |
* @method \Aws\Result dissociateAccessGrantsIdentityCenter(array $args = [])
|
- |
|
77 |
* @method \GuzzleHttp\Promise\Promise dissociateAccessGrantsIdentityCenterAsync(array $args = [])
|
- |
|
78 |
* @method \Aws\Result getAccessGrant(array $args = [])
|
- |
|
79 |
* @method \GuzzleHttp\Promise\Promise getAccessGrantAsync(array $args = [])
|
- |
|
80 |
* @method \Aws\Result getAccessGrantsInstance(array $args = [])
|
- |
|
81 |
* @method \GuzzleHttp\Promise\Promise getAccessGrantsInstanceAsync(array $args = [])
|
- |
|
82 |
* @method \Aws\Result getAccessGrantsInstanceForPrefix(array $args = [])
|
- |
|
83 |
* @method \GuzzleHttp\Promise\Promise getAccessGrantsInstanceForPrefixAsync(array $args = [])
|
- |
|
84 |
* @method \Aws\Result getAccessGrantsInstanceResourcePolicy(array $args = [])
|
- |
|
85 |
* @method \GuzzleHttp\Promise\Promise getAccessGrantsInstanceResourcePolicyAsync(array $args = [])
|
- |
|
86 |
* @method \Aws\Result getAccessGrantsLocation(array $args = [])
|
- |
|
87 |
* @method \GuzzleHttp\Promise\Promise getAccessGrantsLocationAsync(array $args = [])
|
56 |
* @method \Aws\Result getAccessPoint(array $args = [])
|
88 |
* @method \Aws\Result getAccessPoint(array $args = [])
|
57 |
* @method \GuzzleHttp\Promise\Promise getAccessPointAsync(array $args = [])
|
89 |
* @method \GuzzleHttp\Promise\Promise getAccessPointAsync(array $args = [])
|
58 |
* @method \Aws\Result getAccessPointConfigurationForObjectLambda(array $args = [])
|
90 |
* @method \Aws\Result getAccessPointConfigurationForObjectLambda(array $args = [])
|
59 |
* @method \GuzzleHttp\Promise\Promise getAccessPointConfigurationForObjectLambdaAsync(array $args = [])
|
91 |
* @method \GuzzleHttp\Promise\Promise getAccessPointConfigurationForObjectLambdaAsync(array $args = [])
|
60 |
* @method \Aws\Result getAccessPointForObjectLambda(array $args = [])
|
92 |
* @method \Aws\Result getAccessPointForObjectLambda(array $args = [])
|
Línea 77... |
Línea 109... |
77 |
* @method \GuzzleHttp\Promise\Promise getBucketReplicationAsync(array $args = [])
|
109 |
* @method \GuzzleHttp\Promise\Promise getBucketReplicationAsync(array $args = [])
|
78 |
* @method \Aws\Result getBucketTagging(array $args = [])
|
110 |
* @method \Aws\Result getBucketTagging(array $args = [])
|
79 |
* @method \GuzzleHttp\Promise\Promise getBucketTaggingAsync(array $args = [])
|
111 |
* @method \GuzzleHttp\Promise\Promise getBucketTaggingAsync(array $args = [])
|
80 |
* @method \Aws\Result getBucketVersioning(array $args = [])
|
112 |
* @method \Aws\Result getBucketVersioning(array $args = [])
|
81 |
* @method \GuzzleHttp\Promise\Promise getBucketVersioningAsync(array $args = [])
|
113 |
* @method \GuzzleHttp\Promise\Promise getBucketVersioningAsync(array $args = [])
|
- |
|
114 |
* @method \Aws\Result getDataAccess(array $args = [])
|
- |
|
115 |
* @method \GuzzleHttp\Promise\Promise getDataAccessAsync(array $args = [])
|
82 |
* @method \Aws\Result getJobTagging(array $args = [])
|
116 |
* @method \Aws\Result getJobTagging(array $args = [])
|
83 |
* @method \GuzzleHttp\Promise\Promise getJobTaggingAsync(array $args = [])
|
117 |
* @method \GuzzleHttp\Promise\Promise getJobTaggingAsync(array $args = [])
|
84 |
* @method \Aws\Result getMultiRegionAccessPoint(array $args = [])
|
118 |
* @method \Aws\Result getMultiRegionAccessPoint(array $args = [])
|
85 |
* @method \GuzzleHttp\Promise\Promise getMultiRegionAccessPointAsync(array $args = [])
|
119 |
* @method \GuzzleHttp\Promise\Promise getMultiRegionAccessPointAsync(array $args = [])
|
86 |
* @method \Aws\Result getMultiRegionAccessPointPolicy(array $args = [])
|
120 |
* @method \Aws\Result getMultiRegionAccessPointPolicy(array $args = [])
|
Línea 93... |
Línea 127... |
93 |
* @method \GuzzleHttp\Promise\Promise getPublicAccessBlockAsync(array $args = [])
|
127 |
* @method \GuzzleHttp\Promise\Promise getPublicAccessBlockAsync(array $args = [])
|
94 |
* @method \Aws\Result getStorageLensConfiguration(array $args = [])
|
128 |
* @method \Aws\Result getStorageLensConfiguration(array $args = [])
|
95 |
* @method \GuzzleHttp\Promise\Promise getStorageLensConfigurationAsync(array $args = [])
|
129 |
* @method \GuzzleHttp\Promise\Promise getStorageLensConfigurationAsync(array $args = [])
|
96 |
* @method \Aws\Result getStorageLensConfigurationTagging(array $args = [])
|
130 |
* @method \Aws\Result getStorageLensConfigurationTagging(array $args = [])
|
97 |
* @method \GuzzleHttp\Promise\Promise getStorageLensConfigurationTaggingAsync(array $args = [])
|
131 |
* @method \GuzzleHttp\Promise\Promise getStorageLensConfigurationTaggingAsync(array $args = [])
|
- |
|
132 |
* @method \Aws\Result getStorageLensGroup(array $args = [])
|
- |
|
133 |
* @method \GuzzleHttp\Promise\Promise getStorageLensGroupAsync(array $args = [])
|
- |
|
134 |
* @method \Aws\Result listAccessGrants(array $args = [])
|
- |
|
135 |
* @method \GuzzleHttp\Promise\Promise listAccessGrantsAsync(array $args = [])
|
- |
|
136 |
* @method \Aws\Result listAccessGrantsInstances(array $args = [])
|
- |
|
137 |
* @method \GuzzleHttp\Promise\Promise listAccessGrantsInstancesAsync(array $args = [])
|
- |
|
138 |
* @method \Aws\Result listAccessGrantsLocations(array $args = [])
|
- |
|
139 |
* @method \GuzzleHttp\Promise\Promise listAccessGrantsLocationsAsync(array $args = [])
|
98 |
* @method \Aws\Result listAccessPoints(array $args = [])
|
140 |
* @method \Aws\Result listAccessPoints(array $args = [])
|
99 |
* @method \GuzzleHttp\Promise\Promise listAccessPointsAsync(array $args = [])
|
141 |
* @method \GuzzleHttp\Promise\Promise listAccessPointsAsync(array $args = [])
|
100 |
* @method \Aws\Result listAccessPointsForObjectLambda(array $args = [])
|
142 |
* @method \Aws\Result listAccessPointsForObjectLambda(array $args = [])
|
101 |
* @method \GuzzleHttp\Promise\Promise listAccessPointsForObjectLambdaAsync(array $args = [])
|
143 |
* @method \GuzzleHttp\Promise\Promise listAccessPointsForObjectLambdaAsync(array $args = [])
|
- |
|
144 |
* @method \Aws\Result listCallerAccessGrants(array $args = [])
|
- |
|
145 |
* @method \GuzzleHttp\Promise\Promise listCallerAccessGrantsAsync(array $args = [])
|
102 |
* @method \Aws\Result listJobs(array $args = [])
|
146 |
* @method \Aws\Result listJobs(array $args = [])
|
103 |
* @method \GuzzleHttp\Promise\Promise listJobsAsync(array $args = [])
|
147 |
* @method \GuzzleHttp\Promise\Promise listJobsAsync(array $args = [])
|
104 |
* @method \Aws\Result listMultiRegionAccessPoints(array $args = [])
|
148 |
* @method \Aws\Result listMultiRegionAccessPoints(array $args = [])
|
105 |
* @method \GuzzleHttp\Promise\Promise listMultiRegionAccessPointsAsync(array $args = [])
|
149 |
* @method \GuzzleHttp\Promise\Promise listMultiRegionAccessPointsAsync(array $args = [])
|
106 |
* @method \Aws\Result listRegionalBuckets(array $args = [])
|
150 |
* @method \Aws\Result listRegionalBuckets(array $args = [])
|
107 |
* @method \GuzzleHttp\Promise\Promise listRegionalBucketsAsync(array $args = [])
|
151 |
* @method \GuzzleHttp\Promise\Promise listRegionalBucketsAsync(array $args = [])
|
108 |
* @method \Aws\Result listStorageLensConfigurations(array $args = [])
|
152 |
* @method \Aws\Result listStorageLensConfigurations(array $args = [])
|
109 |
* @method \GuzzleHttp\Promise\Promise listStorageLensConfigurationsAsync(array $args = [])
|
153 |
* @method \GuzzleHttp\Promise\Promise listStorageLensConfigurationsAsync(array $args = [])
|
- |
|
154 |
* @method \Aws\Result listStorageLensGroups(array $args = [])
|
- |
|
155 |
* @method \GuzzleHttp\Promise\Promise listStorageLensGroupsAsync(array $args = [])
|
- |
|
156 |
* @method \Aws\Result listTagsForResource(array $args = [])
|
- |
|
157 |
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
- |
|
158 |
* @method \Aws\Result putAccessGrantsInstanceResourcePolicy(array $args = [])
|
- |
|
159 |
* @method \GuzzleHttp\Promise\Promise putAccessGrantsInstanceResourcePolicyAsync(array $args = [])
|
110 |
* @method \Aws\Result putAccessPointConfigurationForObjectLambda(array $args = [])
|
160 |
* @method \Aws\Result putAccessPointConfigurationForObjectLambda(array $args = [])
|
111 |
* @method \GuzzleHttp\Promise\Promise putAccessPointConfigurationForObjectLambdaAsync(array $args = [])
|
161 |
* @method \GuzzleHttp\Promise\Promise putAccessPointConfigurationForObjectLambdaAsync(array $args = [])
|
112 |
* @method \Aws\Result putAccessPointPolicy(array $args = [])
|
162 |
* @method \Aws\Result putAccessPointPolicy(array $args = [])
|
113 |
* @method \GuzzleHttp\Promise\Promise putAccessPointPolicyAsync(array $args = [])
|
163 |
* @method \GuzzleHttp\Promise\Promise putAccessPointPolicyAsync(array $args = [])
|
114 |
* @method \Aws\Result putAccessPointPolicyForObjectLambda(array $args = [])
|
164 |
* @method \Aws\Result putAccessPointPolicyForObjectLambda(array $args = [])
|
Línea 133... |
Línea 183... |
133 |
* @method \GuzzleHttp\Promise\Promise putStorageLensConfigurationAsync(array $args = [])
|
183 |
* @method \GuzzleHttp\Promise\Promise putStorageLensConfigurationAsync(array $args = [])
|
134 |
* @method \Aws\Result putStorageLensConfigurationTagging(array $args = [])
|
184 |
* @method \Aws\Result putStorageLensConfigurationTagging(array $args = [])
|
135 |
* @method \GuzzleHttp\Promise\Promise putStorageLensConfigurationTaggingAsync(array $args = [])
|
185 |
* @method \GuzzleHttp\Promise\Promise putStorageLensConfigurationTaggingAsync(array $args = [])
|
136 |
* @method \Aws\Result submitMultiRegionAccessPointRoutes(array $args = [])
|
186 |
* @method \Aws\Result submitMultiRegionAccessPointRoutes(array $args = [])
|
137 |
* @method \GuzzleHttp\Promise\Promise submitMultiRegionAccessPointRoutesAsync(array $args = [])
|
187 |
* @method \GuzzleHttp\Promise\Promise submitMultiRegionAccessPointRoutesAsync(array $args = [])
|
- |
|
188 |
* @method \Aws\Result tagResource(array $args = [])
|
- |
|
189 |
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
- |
|
190 |
* @method \Aws\Result untagResource(array $args = [])
|
- |
|
191 |
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
- |
|
192 |
* @method \Aws\Result updateAccessGrantsLocation(array $args = [])
|
- |
|
193 |
* @method \GuzzleHttp\Promise\Promise updateAccessGrantsLocationAsync(array $args = [])
|
138 |
* @method \Aws\Result updateJobPriority(array $args = [])
|
194 |
* @method \Aws\Result updateJobPriority(array $args = [])
|
139 |
* @method \GuzzleHttp\Promise\Promise updateJobPriorityAsync(array $args = [])
|
195 |
* @method \GuzzleHttp\Promise\Promise updateJobPriorityAsync(array $args = [])
|
140 |
* @method \Aws\Result updateJobStatus(array $args = [])
|
196 |
* @method \Aws\Result updateJobStatus(array $args = [])
|
141 |
* @method \GuzzleHttp\Promise\Promise updateJobStatusAsync(array $args = [])
|
197 |
* @method \GuzzleHttp\Promise\Promise updateJobStatusAsync(array $args = [])
|
- |
|
198 |
* @method \Aws\Result updateStorageLensGroup(array $args = [])
|
- |
|
199 |
* @method \GuzzleHttp\Promise\Promise updateStorageLensGroupAsync(array $args = [])
|
142 |
*/
|
200 |
*/
|
143 |
class S3ControlClient extends AwsClient
|
201 |
class S3ControlClient extends AwsClient
|
144 |
{
|
202 |
{
|
145 |
public static function getArguments()
|
203 |
public static function getArguments()
|
146 |
{
|
204 |
{
|
Línea 209... |
Línea 267... |
209 |
{
|
267 |
{
|
210 |
parent::__construct($args);
|
268 |
parent::__construct($args);
|
Línea 211... |
Línea 269... |
211 |
|
269 |
|
212 |
if ($this->isUseEndpointV2()) {
|
270 |
if ($this->isUseEndpointV2()) {
|
- |
|
271 |
$this->processEndpointV2Model();
|
- |
|
272 |
} else {
|
- |
|
273 |
$stack = $this->getHandlerList();
|
- |
|
274 |
$stack->appendBuild(
|
- |
|
275 |
EndpointArnMiddleware::wrap(
|
- |
|
276 |
$this->getApi(),
|
- |
|
277 |
$this->getRegion(),
|
- |
|
278 |
[
|
- |
|
279 |
'use_arn_region' => $this->getConfig('use_arn_region'),
|
- |
|
280 |
'dual_stack' =>
|
- |
|
281 |
$this->getConfig('use_dual_stack_endpoint')->isUseDualStackEndpoint(),
|
- |
|
282 |
'endpoint' => isset($args['endpoint'])
|
- |
|
283 |
? $args['endpoint']
|
- |
|
284 |
: null,
|
- |
|
285 |
'use_fips_endpoint' => $this->getConfig('use_fips_endpoint'),
|
- |
|
286 |
],
|
- |
|
287 |
$this->isUseEndpointV2()
|
- |
|
288 |
),
|
- |
|
289 |
's3control.endpoint_arn_middleware'
|
213 |
$this->processEndpointV2Model();
|
290 |
);
|
214 |
}
|
- |
|
215 |
$stack = $this->getHandlerList();
|
- |
|
216 |
$stack->appendBuild(
|
- |
|
217 |
EndpointArnMiddleware::wrap(
|
- |
|
218 |
$this->getApi(),
|
- |
|
219 |
$this->getRegion(),
|
- |
|
220 |
[
|
- |
|
221 |
'use_arn_region' => $this->getConfig('use_arn_region'),
|
- |
|
222 |
'dual_stack' =>
|
- |
|
223 |
$this->getConfig('use_dual_stack_endpoint')->isUseDualStackEndpoint(),
|
- |
|
224 |
'endpoint' => isset($args['endpoint'])
|
- |
|
225 |
? $args['endpoint']
|
- |
|
226 |
: null,
|
- |
|
227 |
'use_fips_endpoint' => $this->getConfig('use_fips_endpoint'),
|
- |
|
228 |
],
|
- |
|
229 |
$this->isUseEndpointV2()
|
- |
|
230 |
),
|
- |
|
231 |
's3control.endpoint_arn_middleware'
|
- |
|
232 |
);
|
291 |
}
|
Línea 233... |
Línea 292... |
233 |
}
|
292 |
}
|
234 |
|
293 |
|
235 |
/**
|
294 |
/**
|