1 |
efrain |
1 |
<?php
|
|
|
2 |
namespace Aws\Neptune;
|
|
|
3 |
|
|
|
4 |
use Aws\AwsClient;
|
|
|
5 |
use Aws\PresignUrlMiddleware;
|
|
|
6 |
|
|
|
7 |
/**
|
|
|
8 |
* This client is used to interact with the **Amazon Neptune** service.
|
|
|
9 |
* @method \Aws\Result addRoleToDBCluster(array $args = [])
|
|
|
10 |
* @method \GuzzleHttp\Promise\Promise addRoleToDBClusterAsync(array $args = [])
|
|
|
11 |
* @method \Aws\Result addSourceIdentifierToSubscription(array $args = [])
|
|
|
12 |
* @method \GuzzleHttp\Promise\Promise addSourceIdentifierToSubscriptionAsync(array $args = [])
|
|
|
13 |
* @method \Aws\Result addTagsToResource(array $args = [])
|
|
|
14 |
* @method \GuzzleHttp\Promise\Promise addTagsToResourceAsync(array $args = [])
|
|
|
15 |
* @method \Aws\Result applyPendingMaintenanceAction(array $args = [])
|
|
|
16 |
* @method \GuzzleHttp\Promise\Promise applyPendingMaintenanceActionAsync(array $args = [])
|
|
|
17 |
* @method \Aws\Result copyDBClusterParameterGroup(array $args = [])
|
|
|
18 |
* @method \GuzzleHttp\Promise\Promise copyDBClusterParameterGroupAsync(array $args = [])
|
|
|
19 |
* @method \Aws\Result copyDBClusterSnapshot(array $args = [])
|
|
|
20 |
* @method \GuzzleHttp\Promise\Promise copyDBClusterSnapshotAsync(array $args = [])
|
|
|
21 |
* @method \Aws\Result copyDBParameterGroup(array $args = [])
|
|
|
22 |
* @method \GuzzleHttp\Promise\Promise copyDBParameterGroupAsync(array $args = [])
|
|
|
23 |
* @method \Aws\Result createDBCluster(array $args = [])
|
|
|
24 |
* @method \GuzzleHttp\Promise\Promise createDBClusterAsync(array $args = [])
|
|
|
25 |
* @method \Aws\Result createDBClusterEndpoint(array $args = [])
|
|
|
26 |
* @method \GuzzleHttp\Promise\Promise createDBClusterEndpointAsync(array $args = [])
|
|
|
27 |
* @method \Aws\Result createDBClusterParameterGroup(array $args = [])
|
|
|
28 |
* @method \GuzzleHttp\Promise\Promise createDBClusterParameterGroupAsync(array $args = [])
|
|
|
29 |
* @method \Aws\Result createDBClusterSnapshot(array $args = [])
|
|
|
30 |
* @method \GuzzleHttp\Promise\Promise createDBClusterSnapshotAsync(array $args = [])
|
|
|
31 |
* @method \Aws\Result createDBInstance(array $args = [])
|
|
|
32 |
* @method \GuzzleHttp\Promise\Promise createDBInstanceAsync(array $args = [])
|
|
|
33 |
* @method \Aws\Result createDBParameterGroup(array $args = [])
|
|
|
34 |
* @method \GuzzleHttp\Promise\Promise createDBParameterGroupAsync(array $args = [])
|
|
|
35 |
* @method \Aws\Result createDBSubnetGroup(array $args = [])
|
|
|
36 |
* @method \GuzzleHttp\Promise\Promise createDBSubnetGroupAsync(array $args = [])
|
|
|
37 |
* @method \Aws\Result createEventSubscription(array $args = [])
|
|
|
38 |
* @method \GuzzleHttp\Promise\Promise createEventSubscriptionAsync(array $args = [])
|
|
|
39 |
* @method \Aws\Result createGlobalCluster(array $args = [])
|
|
|
40 |
* @method \GuzzleHttp\Promise\Promise createGlobalClusterAsync(array $args = [])
|
|
|
41 |
* @method \Aws\Result deleteDBCluster(array $args = [])
|
|
|
42 |
* @method \GuzzleHttp\Promise\Promise deleteDBClusterAsync(array $args = [])
|
|
|
43 |
* @method \Aws\Result deleteDBClusterEndpoint(array $args = [])
|
|
|
44 |
* @method \GuzzleHttp\Promise\Promise deleteDBClusterEndpointAsync(array $args = [])
|
|
|
45 |
* @method \Aws\Result deleteDBClusterParameterGroup(array $args = [])
|
|
|
46 |
* @method \GuzzleHttp\Promise\Promise deleteDBClusterParameterGroupAsync(array $args = [])
|
|
|
47 |
* @method \Aws\Result deleteDBClusterSnapshot(array $args = [])
|
|
|
48 |
* @method \GuzzleHttp\Promise\Promise deleteDBClusterSnapshotAsync(array $args = [])
|
|
|
49 |
* @method \Aws\Result deleteDBInstance(array $args = [])
|
|
|
50 |
* @method \GuzzleHttp\Promise\Promise deleteDBInstanceAsync(array $args = [])
|
|
|
51 |
* @method \Aws\Result deleteDBParameterGroup(array $args = [])
|
|
|
52 |
* @method \GuzzleHttp\Promise\Promise deleteDBParameterGroupAsync(array $args = [])
|
|
|
53 |
* @method \Aws\Result deleteDBSubnetGroup(array $args = [])
|
|
|
54 |
* @method \GuzzleHttp\Promise\Promise deleteDBSubnetGroupAsync(array $args = [])
|
|
|
55 |
* @method \Aws\Result deleteEventSubscription(array $args = [])
|
|
|
56 |
* @method \GuzzleHttp\Promise\Promise deleteEventSubscriptionAsync(array $args = [])
|
|
|
57 |
* @method \Aws\Result deleteGlobalCluster(array $args = [])
|
|
|
58 |
* @method \GuzzleHttp\Promise\Promise deleteGlobalClusterAsync(array $args = [])
|
|
|
59 |
* @method \Aws\Result describeDBClusterEndpoints(array $args = [])
|
|
|
60 |
* @method \GuzzleHttp\Promise\Promise describeDBClusterEndpointsAsync(array $args = [])
|
|
|
61 |
* @method \Aws\Result describeDBClusterParameterGroups(array $args = [])
|
|
|
62 |
* @method \GuzzleHttp\Promise\Promise describeDBClusterParameterGroupsAsync(array $args = [])
|
|
|
63 |
* @method \Aws\Result describeDBClusterParameters(array $args = [])
|
|
|
64 |
* @method \GuzzleHttp\Promise\Promise describeDBClusterParametersAsync(array $args = [])
|
|
|
65 |
* @method \Aws\Result describeDBClusterSnapshotAttributes(array $args = [])
|
|
|
66 |
* @method \GuzzleHttp\Promise\Promise describeDBClusterSnapshotAttributesAsync(array $args = [])
|
|
|
67 |
* @method \Aws\Result describeDBClusterSnapshots(array $args = [])
|
|
|
68 |
* @method \GuzzleHttp\Promise\Promise describeDBClusterSnapshotsAsync(array $args = [])
|
|
|
69 |
* @method \Aws\Result describeDBClusters(array $args = [])
|
|
|
70 |
* @method \GuzzleHttp\Promise\Promise describeDBClustersAsync(array $args = [])
|
|
|
71 |
* @method \Aws\Result describeDBEngineVersions(array $args = [])
|
|
|
72 |
* @method \GuzzleHttp\Promise\Promise describeDBEngineVersionsAsync(array $args = [])
|
|
|
73 |
* @method \Aws\Result describeDBInstances(array $args = [])
|
|
|
74 |
* @method \GuzzleHttp\Promise\Promise describeDBInstancesAsync(array $args = [])
|
|
|
75 |
* @method \Aws\Result describeDBParameterGroups(array $args = [])
|
|
|
76 |
* @method \GuzzleHttp\Promise\Promise describeDBParameterGroupsAsync(array $args = [])
|
|
|
77 |
* @method \Aws\Result describeDBParameters(array $args = [])
|
|
|
78 |
* @method \GuzzleHttp\Promise\Promise describeDBParametersAsync(array $args = [])
|
|
|
79 |
* @method \Aws\Result describeDBSubnetGroups(array $args = [])
|
|
|
80 |
* @method \GuzzleHttp\Promise\Promise describeDBSubnetGroupsAsync(array $args = [])
|
|
|
81 |
* @method \Aws\Result describeEngineDefaultClusterParameters(array $args = [])
|
|
|
82 |
* @method \GuzzleHttp\Promise\Promise describeEngineDefaultClusterParametersAsync(array $args = [])
|
|
|
83 |
* @method \Aws\Result describeEngineDefaultParameters(array $args = [])
|
|
|
84 |
* @method \GuzzleHttp\Promise\Promise describeEngineDefaultParametersAsync(array $args = [])
|
|
|
85 |
* @method \Aws\Result describeEventCategories(array $args = [])
|
|
|
86 |
* @method \GuzzleHttp\Promise\Promise describeEventCategoriesAsync(array $args = [])
|
|
|
87 |
* @method \Aws\Result describeEventSubscriptions(array $args = [])
|
|
|
88 |
* @method \GuzzleHttp\Promise\Promise describeEventSubscriptionsAsync(array $args = [])
|
|
|
89 |
* @method \Aws\Result describeEvents(array $args = [])
|
|
|
90 |
* @method \GuzzleHttp\Promise\Promise describeEventsAsync(array $args = [])
|
|
|
91 |
* @method \Aws\Result describeGlobalClusters(array $args = [])
|
|
|
92 |
* @method \GuzzleHttp\Promise\Promise describeGlobalClustersAsync(array $args = [])
|
|
|
93 |
* @method \Aws\Result describeOrderableDBInstanceOptions(array $args = [])
|
|
|
94 |
* @method \GuzzleHttp\Promise\Promise describeOrderableDBInstanceOptionsAsync(array $args = [])
|
|
|
95 |
* @method \Aws\Result describePendingMaintenanceActions(array $args = [])
|
|
|
96 |
* @method \GuzzleHttp\Promise\Promise describePendingMaintenanceActionsAsync(array $args = [])
|
|
|
97 |
* @method \Aws\Result describeValidDBInstanceModifications(array $args = [])
|
|
|
98 |
* @method \GuzzleHttp\Promise\Promise describeValidDBInstanceModificationsAsync(array $args = [])
|
|
|
99 |
* @method \Aws\Result failoverDBCluster(array $args = [])
|
|
|
100 |
* @method \GuzzleHttp\Promise\Promise failoverDBClusterAsync(array $args = [])
|
|
|
101 |
* @method \Aws\Result failoverGlobalCluster(array $args = [])
|
|
|
102 |
* @method \GuzzleHttp\Promise\Promise failoverGlobalClusterAsync(array $args = [])
|
|
|
103 |
* @method \Aws\Result listTagsForResource(array $args = [])
|
|
|
104 |
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
|
|
105 |
* @method \Aws\Result modifyDBCluster(array $args = [])
|
|
|
106 |
* @method \GuzzleHttp\Promise\Promise modifyDBClusterAsync(array $args = [])
|
|
|
107 |
* @method \Aws\Result modifyDBClusterEndpoint(array $args = [])
|
|
|
108 |
* @method \GuzzleHttp\Promise\Promise modifyDBClusterEndpointAsync(array $args = [])
|
|
|
109 |
* @method \Aws\Result modifyDBClusterParameterGroup(array $args = [])
|
|
|
110 |
* @method \GuzzleHttp\Promise\Promise modifyDBClusterParameterGroupAsync(array $args = [])
|
|
|
111 |
* @method \Aws\Result modifyDBClusterSnapshotAttribute(array $args = [])
|
|
|
112 |
* @method \GuzzleHttp\Promise\Promise modifyDBClusterSnapshotAttributeAsync(array $args = [])
|
|
|
113 |
* @method \Aws\Result modifyDBInstance(array $args = [])
|
|
|
114 |
* @method \GuzzleHttp\Promise\Promise modifyDBInstanceAsync(array $args = [])
|
|
|
115 |
* @method \Aws\Result modifyDBParameterGroup(array $args = [])
|
|
|
116 |
* @method \GuzzleHttp\Promise\Promise modifyDBParameterGroupAsync(array $args = [])
|
|
|
117 |
* @method \Aws\Result modifyDBSubnetGroup(array $args = [])
|
|
|
118 |
* @method \GuzzleHttp\Promise\Promise modifyDBSubnetGroupAsync(array $args = [])
|
|
|
119 |
* @method \Aws\Result modifyEventSubscription(array $args = [])
|
|
|
120 |
* @method \GuzzleHttp\Promise\Promise modifyEventSubscriptionAsync(array $args = [])
|
|
|
121 |
* @method \Aws\Result modifyGlobalCluster(array $args = [])
|
|
|
122 |
* @method \GuzzleHttp\Promise\Promise modifyGlobalClusterAsync(array $args = [])
|
|
|
123 |
* @method \Aws\Result promoteReadReplicaDBCluster(array $args = [])
|
|
|
124 |
* @method \GuzzleHttp\Promise\Promise promoteReadReplicaDBClusterAsync(array $args = [])
|
|
|
125 |
* @method \Aws\Result rebootDBInstance(array $args = [])
|
|
|
126 |
* @method \GuzzleHttp\Promise\Promise rebootDBInstanceAsync(array $args = [])
|
|
|
127 |
* @method \Aws\Result removeFromGlobalCluster(array $args = [])
|
|
|
128 |
* @method \GuzzleHttp\Promise\Promise removeFromGlobalClusterAsync(array $args = [])
|
|
|
129 |
* @method \Aws\Result removeRoleFromDBCluster(array $args = [])
|
|
|
130 |
* @method \GuzzleHttp\Promise\Promise removeRoleFromDBClusterAsync(array $args = [])
|
|
|
131 |
* @method \Aws\Result removeSourceIdentifierFromSubscription(array $args = [])
|
|
|
132 |
* @method \GuzzleHttp\Promise\Promise removeSourceIdentifierFromSubscriptionAsync(array $args = [])
|
|
|
133 |
* @method \Aws\Result removeTagsFromResource(array $args = [])
|
|
|
134 |
* @method \GuzzleHttp\Promise\Promise removeTagsFromResourceAsync(array $args = [])
|
|
|
135 |
* @method \Aws\Result resetDBClusterParameterGroup(array $args = [])
|
|
|
136 |
* @method \GuzzleHttp\Promise\Promise resetDBClusterParameterGroupAsync(array $args = [])
|
|
|
137 |
* @method \Aws\Result resetDBParameterGroup(array $args = [])
|
|
|
138 |
* @method \GuzzleHttp\Promise\Promise resetDBParameterGroupAsync(array $args = [])
|
|
|
139 |
* @method \Aws\Result restoreDBClusterFromSnapshot(array $args = [])
|
|
|
140 |
* @method \GuzzleHttp\Promise\Promise restoreDBClusterFromSnapshotAsync(array $args = [])
|
|
|
141 |
* @method \Aws\Result restoreDBClusterToPointInTime(array $args = [])
|
|
|
142 |
* @method \GuzzleHttp\Promise\Promise restoreDBClusterToPointInTimeAsync(array $args = [])
|
|
|
143 |
* @method \Aws\Result startDBCluster(array $args = [])
|
|
|
144 |
* @method \GuzzleHttp\Promise\Promise startDBClusterAsync(array $args = [])
|
|
|
145 |
* @method \Aws\Result stopDBCluster(array $args = [])
|
|
|
146 |
* @method \GuzzleHttp\Promise\Promise stopDBClusterAsync(array $args = [])
|
|
|
147 |
*/
|
|
|
148 |
class NeptuneClient extends AwsClient {
|
|
|
149 |
public function __construct(array $args)
|
|
|
150 |
{
|
|
|
151 |
$args['with_resolved'] = function (array $args) {
|
|
|
152 |
$this->getHandlerList()->appendInit(
|
|
|
153 |
PresignUrlMiddleware::wrap(
|
|
|
154 |
$this,
|
|
|
155 |
$args['endpoint_provider'],
|
|
|
156 |
[
|
|
|
157 |
'operations' => [
|
|
|
158 |
'CopyDBClusterSnapshot',
|
|
|
159 |
'CreateDBCluster',
|
|
|
160 |
],
|
|
|
161 |
'service' => 'rds',
|
|
|
162 |
'presign_param' => 'PreSignedUrl',
|
|
|
163 |
'require_different_region' => true,
|
|
|
164 |
'extra_query_params' => [
|
|
|
165 |
'CopyDBClusterSnapshot' => ['DestinationRegion'],
|
|
|
166 |
'CreateDBCluster' => ['DestinationRegion'],
|
|
|
167 |
]
|
|
|
168 |
]
|
|
|
169 |
),
|
|
|
170 |
'rds.presigner'
|
|
|
171 |
);
|
|
|
172 |
};
|
|
|
173 |
parent::__construct($args);
|
|
|
174 |
}
|
|
|
175 |
}
|