Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Commit ce6ae76

Browse files
committed
Merge pull request #1 from mdietz198/master
Update to aws-java-sdk 1.6.12 and add kinesis stubs
2 parents 52cc8f0 + 4ef0ebc commit ce6ae76

File tree

8 files changed

+452
-3
lines changed

8 files changed

+452
-3
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.bizo</groupId>
55
<artifactId>aws-java-sdk-stubs</artifactId>
6-
<version>1.2.0</version>
6+
<version>1.3.0</version>
77
<packaging>jar</packaging>
88
<name>aws-java-sdk-stubs</name>
99
<description>stubs for the aws-java-sdk services</description>
@@ -45,7 +45,7 @@
4545
<dependency>
4646
<groupId>com.amazonaws</groupId>
4747
<artifactId>aws-java-sdk</artifactId>
48-
<version>1.6.4</version>
48+
<version>1.6.12</version>
4949
</dependency>
5050
<dependency>
5151
<groupId>junit</groupId>
@@ -93,4 +93,4 @@
9393
</plugin>
9494
</plugins>
9595
</build>
96-
</project>
96+
</project>

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ This project provides stub classes for the [aws-sdk-java](https://github.com/aws
1818

1919
`mvn clean package` to build the jar
2020

21+
Make sure M2_REPO is defined in java build path classpath variables
22+
2123
## License
2224
[Apache 2](http://www.apache.org/licenses/LICENSE-2.0.html)

src/main/java/com/bizo/awsstubs/services/autoscaling/AmazonAutoScalingStub.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.bizo.awsstubs.services.autoscaling;
22

3+
import com.amazonaws.AmazonClientException;
4+
import com.amazonaws.AmazonServiceException;
35
import com.amazonaws.AmazonWebServiceRequest;
46
import com.amazonaws.ResponseMetadata;
57
import com.amazonaws.regions.Region;
@@ -266,4 +268,21 @@ public TerminateInstanceInAutoScalingGroupResult terminateInstanceInAutoScalingG
266268
public ResponseMetadata getCachedResponseMetadata(final AmazonWebServiceRequest arg0) {
267269
throw new UnsupportedOperationException();
268270
}
271+
272+
@Override
273+
public void attachInstances(final AttachInstancesRequest arg0) throws AmazonServiceException, AmazonClientException {
274+
throw new UnsupportedOperationException();
275+
}
276+
277+
@Override
278+
public DescribeAccountLimitsResult describeAccountLimits() throws AmazonServiceException, AmazonClientException {
279+
throw new UnsupportedOperationException();
280+
}
281+
282+
@Override
283+
public DescribeAccountLimitsResult describeAccountLimits(final DescribeAccountLimitsRequest arg0)
284+
throws AmazonServiceException,
285+
AmazonClientException {
286+
throw new UnsupportedOperationException();
287+
}
269288
}

src/main/java/com/bizo/awsstubs/services/elasticloadbalancing/AmazonElasticLoadBalancingStub.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.bizo.awsstubs.services.elasticloadbalancing;
22

3+
import com.amazonaws.AmazonClientException;
4+
import com.amazonaws.AmazonServiceException;
35
import com.amazonaws.AmazonWebServiceRequest;
46
import com.amazonaws.ResponseMetadata;
57
import com.amazonaws.regions.Region;
@@ -168,4 +170,17 @@ public ResponseMetadata getCachedResponseMetadata(final AmazonWebServiceRequest
168170
throw new UnsupportedOperationException();
169171
}
170172

173+
@Override
174+
public DescribeLoadBalancerAttributesResult describeLoadBalancerAttributes(
175+
final DescribeLoadBalancerAttributesRequest arg0) throws AmazonServiceException, AmazonClientException {
176+
throw new UnsupportedOperationException();
177+
}
178+
179+
@Override
180+
public ModifyLoadBalancerAttributesResult modifyLoadBalancerAttributes(final ModifyLoadBalancerAttributesRequest arg0)
181+
throws AmazonServiceException,
182+
AmazonClientException {
183+
throw new UnsupportedOperationException();
184+
}
185+
171186
}

src/main/java/com/bizo/awsstubs/services/elasticmapreduce/AmazonElasticMapReduceStub.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,24 @@ public ListInstancesResult listInstances() throws AmazonServiceException, Amazon
162162
public DescribeClusterResult describeCluster() throws AmazonServiceException, AmazonClientException {
163163
throw new UnsupportedOperationException();
164164
}
165+
166+
@Override
167+
public AddTagsResult addTags() throws AmazonServiceException, AmazonClientException {
168+
throw new UnsupportedOperationException();
169+
}
170+
171+
@Override
172+
public AddTagsResult addTags(final AddTagsRequest arg0) throws AmazonServiceException, AmazonClientException {
173+
throw new UnsupportedOperationException();
174+
}
175+
176+
@Override
177+
public RemoveTagsResult removeTags() throws AmazonServiceException, AmazonClientException {
178+
throw new UnsupportedOperationException();
179+
}
180+
181+
@Override
182+
public RemoveTagsResult removeTags(final RemoveTagsRequest arg0) throws AmazonServiceException, AmazonClientException {
183+
throw new UnsupportedOperationException();
184+
}
165185
}

src/main/java/com/bizo/awsstubs/services/identitymanagement/AmazonIdentityManagementStub.java

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.bizo.awsstubs.services.identitymanagement;
22

3+
import com.amazonaws.AmazonClientException;
4+
import com.amazonaws.AmazonServiceException;
35
import com.amazonaws.AmazonWebServiceRequest;
46
import com.amazonaws.ResponseMetadata;
57
import com.amazonaws.regions.Region;
@@ -447,4 +449,44 @@ public ResponseMetadata getCachedResponseMetadata(final AmazonWebServiceRequest
447449
throw new UnsupportedOperationException();
448450
}
449451

452+
@Override
453+
public CreateSAMLProviderResult createSAMLProvider(final CreateSAMLProviderRequest arg0)
454+
throws AmazonServiceException,
455+
AmazonClientException {
456+
throw new UnsupportedOperationException();
457+
}
458+
459+
@Override
460+
public void deleteSAMLProvider(final DeleteSAMLProviderRequest arg0)
461+
throws AmazonServiceException,
462+
AmazonClientException {
463+
throw new UnsupportedOperationException();
464+
}
465+
466+
@Override
467+
public GetSAMLProviderResult getSAMLProvider(final GetSAMLProviderRequest arg0)
468+
throws AmazonServiceException,
469+
AmazonClientException {
470+
throw new UnsupportedOperationException();
471+
}
472+
473+
@Override
474+
public ListSAMLProvidersResult listSAMLProviders() throws AmazonServiceException, AmazonClientException {
475+
throw new UnsupportedOperationException();
476+
}
477+
478+
@Override
479+
public ListSAMLProvidersResult listSAMLProviders(final ListSAMLProvidersRequest arg0)
480+
throws AmazonServiceException,
481+
AmazonClientException {
482+
throw new UnsupportedOperationException();
483+
}
484+
485+
@Override
486+
public UpdateSAMLProviderResult updateSAMLProvider(final UpdateSAMLProviderRequest arg0)
487+
throws AmazonServiceException,
488+
AmazonClientException {
489+
throw new UnsupportedOperationException();
490+
}
491+
450492
}

0 commit comments

Comments
 (0)