<commit_before># AWS Resource APIs for Java

An object-oriented abstraction over the clients from the [AWS SDK for Java][sdk].

Currently in a developer preview mode with support for [Amazon EC2][ec2],
[AWS Identity and Access Management][iam] and [Amazon Glacier][glacier]. As the library
is still at an early stage, there may still be rough edges left until we get closer to
GA. At this point we're mainly looking to start conversations about the design
of the API while we simultaneously work on adding support for more AWS services
and battle-hardening the implementation.

## Overview

This library provides a set of **Resource** objects that model the cloud resources you
provision through Amazon Web Services. These objects provide a simple, easy-to-use
interface for interacting with your cloud resources. Instead of a single "client"
class for each service that directly maps the service's API, Resource objects
provide contextual information about what you can do with a particular resource
object.

For example, given an EC2 `Vpc` object, you can easily iterate through all of the
`Instance` objects representing the EC2 Instances you have provisioned in that VPC,
printing their DNS names and starting them (if they're currently stopped).

```java
    Vpc myVpc = ec2.getVpc("vpc-xxxxxxx");
    for (Instance instance : vpc.getInstances()) {
        System.out.println(instance.getPublicDnsName());
        if (instance.getState().equals("STOPPED")) {
            instance.start();
        }
    }   
```

## Getting Started

* Download the [latest preview release][releases] or pick it up from Maven:
```xml
    <dependency>
      <groupId>com.amazonaws.resources</groupId>
      <artifactId>aws-resources</artifactId>
      <version>0.0.1</version>
    </dependency>
```
* Read the introduction below.
* Read the [API documentation][api-docs].
* Give us [feedback][issues]!



## Creating a Service object

A Service object is your main point of entry into the Resource APIs. You can create
a service object for the service of your choice by using the [ServiceBuilder][servicebuilder]<commit_msg>README.md: aws-resources has pom packaging<commit_after># AWS Resource APIs for Java

An object-oriented abstraction over the clients from the [AWS SDK for Java][sdk].

Currently in a developer preview mode with support for [Amazon EC2][ec2],
[AWS Identity and Access Management][iam] and [Amazon Glacier][glacier]. As the library
is still at an early stage, there may still be rough edges left until we get closer to
GA. At this point we're mainly looking to start conversations about the design
of the API while we simultaneously work on adding support for more AWS services
and battle-hardening the implementation.

## Overview

This library provides a set of **Resource** objects that model the cloud resources you
provision through Amazon Web Services. These objects provide a simple, easy-to-use
interface for interacting with your cloud resources. Instead of a single "client"
class for each service that directly maps the service's API, Resource objects
provide contextual information about what you can do with a particular resource
object.

For example, given an EC2 `Vpc` object, you can easily iterate through all of the
`Instance` objects representing the EC2 Instances you have provisioned in that VPC,
printing their DNS names and starting them (if they're currently stopped).

```java
    Vpc myVpc = ec2.getVpc("vpc-xxxxxxx");
    for (Instance instance : vpc.getInstances()) {
        System.out.println(instance.getPublicDnsName());
        if (instance.getState().equals("STOPPED")) {
            instance.start();
        }
    }   
```

## Getting Started

* Download the [latest preview release][releases] or pick it up from Maven:
```xml
    <dependency>
      <groupId>com.amazonaws.resources</groupId>
      <artifactId>aws-resources</artifactId>
      <version>0.0.1</version>
      <type>pom</type>
    </dependency>
```
* Read the introduction below.
* Read the [API documentation][api-docs].
* Give us [feedback][issues]!



## Creating a Service object

A Service object is your main point of entry into the Resource APIs. You can create
a service object for the service of your choice by using the [ServiceBuilder][servicebuilder]
{'fraction_non_alphanumeric': 0.07818352059925093, 'fraction_numerical': 0.003745318352059925, 'mean_word_length': 4.2173382173382175, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5054142', 'n_tokens_mistral': 1144, 'n_tokens_neox': 1072, 'n_words': 534}