Skip to content

Commit

Permalink
Merge pull request #39 from noppoMan/make-core-external-module
Browse files Browse the repository at this point in the history
Make Core external module
  • Loading branch information
noppoMan authored Jun 27, 2017
2 parents bfef78a + 90623da commit e48a813
Show file tree
Hide file tree
Showing 322 changed files with 405 additions and 3,028 deletions.
6 changes: 6 additions & 0 deletions Package.pins
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"autoPin": true,
"pins": [
{
"package": "AWSSDKSwiftCore",
"reason": null,
"repositoryURL": "https://github.com/noppoMan/aws-sdk-swift-core.git",
"version": "0.1.0"
},
{
"package": "CHTTPParser",
"reason": null,
Expand Down
9 changes: 3 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ import PackageDescription
let package = Package(
name: "AWSSDKSwift",
targets: [
Target(name: "Core"),
Target(name: "CodeGenerator", dependencies: ["Core"]),
Target(name: "AWSSDKSwift", dependencies: ["Core"])
Target(name: "CodeGenerator"),
Target(name: "AWSSDKSwift")
],
dependencies: [
.Package(url: "https://github.com/vapor/clibressl.git", majorVersion: 1),
.Package(url: "https://github.com/IBM-Swift/SwiftyJSON.git", majorVersion: 16),
.Package(url: "https://github.com/noppoMan/Prorsum.git", majorVersion: 0, minor: 1),
.Package(url: "https://github.com/noppoMan/HypertextApplicationLanguage.git", majorVersion: 1)
.Package(url: "https://github.com/noppoMan/aws-sdk-swift-core.git", majorVersion: 0, minor: 1),
]
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import Core
import AWSSDKSwiftCore

struct S3RequestMiddleware: AWSRequestMiddleware {
func chain(request: AWSRequest) throws -> AWSRequest {
Expand Down
4 changes: 2 additions & 2 deletions Sources/AWSSDKSwift/Services/acm/Acm_API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

/**
AWS Certificate Manager Welcome to the AWS Certificate Manager (ACM) API documentation. You can use ACM to manage SSL/TLS certificates for your AWS-based websites and applications. For general information about using ACM, see the AWS Certificate Manager User Guide .
Expand All @@ -34,7 +34,7 @@ public struct Acm {

let client: AWSClient

public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: Core.Region? = nil, endpoint: String? = nil) {
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil) {
self.client = AWSClient(
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
Expand Down
2 changes: 1 addition & 1 deletion Sources/AWSSDKSwift/Services/acm/Acm_Error.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
*/

import Core
import AWSSDKSwiftCore

/// Error enum for Acm
public enum AcmError: AWSErrorType {
Expand Down
2 changes: 1 addition & 1 deletion Sources/AWSSDKSwift/Services/acm/Acm_Shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

extension Acm {

Expand Down
4 changes: 2 additions & 2 deletions Sources/AWSSDKSwift/Services/apigateway/Apigateway_API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

/**
Amazon API Gateway Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. Amazon API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.
Expand All @@ -34,7 +34,7 @@ public struct Apigateway {

let client: AWSClient

public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: Core.Region? = nil, endpoint: String? = nil) {
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil) {
self.client = AWSClient(
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
*/

import Core
import AWSSDKSwiftCore

/// Error enum for Apigateway
public enum ApigatewayError: AWSErrorType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

extension Apigateway {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

/**
With Application Auto Scaling, you can automatically scale your AWS resources. The experience similar to that of Auto Scaling. You can use Application Auto Scaling to accomplish the following tasks: Define scaling policies to automatically scale your AWS resources Scale your resources in response to CloudWatch alarms View the history of your scaling events Application Auto Scaling can scale the following AWS resources: Amazon ECS services. For more information, see Service Auto Scaling in the Amazon EC2 Container Service Developer Guide. Amazon EC2 Spot fleets. For more information, see Automatic Scaling for Spot Fleet in the Amazon EC2 User Guide. Amazon EMR clusters. For more information, see Using Automatic Scaling in Amazon EMR in the Amazon EMR Management Guide. For a list of supported regions, see AWS Regions and Endpoints: Application Auto Scaling in the AWS General Reference.
Expand All @@ -34,7 +34,7 @@ public struct ApplicationAutoscaling {

let client: AWSClient

public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: Core.Region? = nil, endpoint: String? = nil) {
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil) {
self.client = AWSClient(
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
*/

import Core
import AWSSDKSwiftCore

/// Error enum for ApplicationAutoscaling
public enum ApplicationAutoscalingError: AWSErrorType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

extension ApplicationAutoscaling {

Expand Down
4 changes: 2 additions & 2 deletions Sources/AWSSDKSwift/Services/appstream/Appstream_API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

/**
Amazon AppStream 2.0 API documentation for Amazon AppStream 2.0.
Expand All @@ -34,7 +34,7 @@ public struct Appstream {

let client: AWSClient

public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: Core.Region? = nil, endpoint: String? = nil) {
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil) {
self.client = AWSClient(
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
*/

import Core
import AWSSDKSwiftCore

/// Error enum for Appstream
public enum AppstreamError: AWSErrorType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

extension Appstream {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

/**
Auto Scaling Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined policies, schedules, and health checks. Use this service in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.
Expand All @@ -34,7 +34,7 @@ public struct Autoscaling {

let client: AWSClient

public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: Core.Region? = nil, endpoint: String? = nil) {
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil) {
self.client = AWSClient(
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
*/

import Core
import AWSSDKSwiftCore

/// Error enum for Autoscaling
public enum AutoscalingError: AWSErrorType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

extension Autoscaling {

Expand Down
4 changes: 2 additions & 2 deletions Sources/AWSSDKSwift/Services/batch/Batch_API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

/**
AWS Batch enables you to run batch computing workloads on the AWS Cloud. Batch computing is a common way for developers, scientists, and engineers to access large amounts of compute resources, and AWS Batch removes the undifferentiated heavy lifting of configuring and managing the required infrastructure. AWS Batch will be familiar to users of traditional batch computing software. This service can efficiently provision resources in response to jobs submitted in order to eliminate capacity constraints, reduce compute costs, and deliver results quickly. As a fully managed service, AWS Batch enables developers, scientists, and engineers to run batch computing workloads of any scale. AWS Batch automatically provisions compute resources and optimizes the workload distribution based on the quantity and scale of the workloads. With AWS Batch, there is no need to install or manage batch computing software, which allows you to focus on analyzing results and solving problems. AWS Batch reduces operational complexities, saves time, and reduces costs, which makes it easy for developers, scientists, and engineers to run their batch jobs in the AWS Cloud.
Expand All @@ -34,7 +34,7 @@ public struct Batch {

let client: AWSClient

public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: Core.Region? = nil, endpoint: String? = nil) {
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil) {
self.client = AWSClient(
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
Expand Down
2 changes: 1 addition & 1 deletion Sources/AWSSDKSwift/Services/batch/Batch_Error.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
*/

import Core
import AWSSDKSwiftCore

/// Error enum for Batch
public enum BatchError: AWSErrorType {
Expand Down
2 changes: 1 addition & 1 deletion Sources/AWSSDKSwift/Services/batch/Batch_Shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

extension Batch {

Expand Down
4 changes: 2 additions & 2 deletions Sources/AWSSDKSwift/Services/budgets/Budgets_API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

/**
All public APIs for AWS Budgets
Expand All @@ -34,7 +34,7 @@ public struct Budgets {

let client: AWSClient

public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: Core.Region? = nil, endpoint: String? = nil) {
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil) {
self.client = AWSClient(
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
Expand Down
2 changes: 1 addition & 1 deletion Sources/AWSSDKSwift/Services/budgets/Budgets_Error.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
*/

import Core
import AWSSDKSwiftCore

/// Error enum for Budgets
public enum BudgetsError: AWSErrorType {
Expand Down
2 changes: 1 addition & 1 deletion Sources/AWSSDKSwift/Services/budgets/Budgets_Shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

extension Budgets {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

/**
Amazon Cloud Directory Amazon Cloud Directory is a component of the AWS Directory Service that simplifies the development and management of cloud-scale web, mobile and IoT applications. This guide describes the Cloud Directory operations that you can call programatically and includes detailed information on data types and errors. For information about AWS Directory Services features, see AWS Directory Service and the AWS Directory Service Administration Guide.
Expand All @@ -34,7 +34,7 @@ public struct Clouddirectory {

let client: AWSClient

public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: Core.Region? = nil, endpoint: String? = nil) {
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil) {
self.client = AWSClient(
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
*/

import Core
import AWSSDKSwiftCore

/// Error enum for Clouddirectory
public enum ClouddirectoryError: AWSErrorType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

extension Clouddirectory {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

/**
AWS CloudFormation AWS CloudFormation allows you to create and manage AWS infrastructure deployments predictably and repeatedly. You can use AWS CloudFormation to leverage AWS products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly-reliable, highly scalable, cost-effective applications without creating or configuring the underlying AWS infrastructure. With AWS CloudFormation, you declare all of your resources and dependencies in a template file. The template defines a collection of resources as a single unit called a stack. AWS CloudFormation creates and deletes all member resources of the stack together and manages all dependencies between the resources for you. For more information about AWS CloudFormation, see the AWS CloudFormation Product Page. Amazon CloudFormation makes use of other AWS products. For additional technical information about a specific AWS product, see its technical documentation.
Expand All @@ -34,7 +34,7 @@ public struct Cloudformation {

let client: AWSClient

public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: Core.Region? = nil, endpoint: String? = nil) {
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil) {
self.client = AWSClient(
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
*/

import Core
import AWSSDKSwiftCore

/// Error enum for Cloudformation
public enum CloudformationError: AWSErrorType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

extension Cloudformation {

Expand Down
4 changes: 2 additions & 2 deletions Sources/AWSSDKSwift/Services/cloudfront/Cloudfront_API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

/**
Amazon CloudFront This is the Amazon CloudFront API Reference. This guide is for developers who need detailed information about the CloudFront API actions, data types, and errors. For detailed information about CloudFront features and their associated API calls, see the Amazon CloudFront Developer Guide.
Expand All @@ -34,7 +34,7 @@ public struct Cloudfront {

let client: AWSClient

public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: Core.Region? = nil, endpoint: String? = nil) {
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil) {
self.client = AWSClient(
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
*/

import Core
import AWSSDKSwiftCore

/// Error enum for Cloudfront
public enum CloudfrontError: AWSErrorType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
*/

import Foundation
import Core
import AWSSDKSwiftCore

extension Cloudfront {

Expand Down
Loading

0 comments on commit e48a813

Please sign in to comment.