Skip to content

Commit

Permalink
Updates SDK to v2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Feb 10, 2017
1 parent f83d12c commit e56cd9e
Show file tree
Hide file tree
Showing 14 changed files with 145 additions and 62 deletions.
7 changes: 7 additions & 0 deletions .changes/2.12.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "feature",
"category": "StorageGateway",
"description": "File gateway mode in AWS Storage gateway provides access to objects in S3 as files on a Network File System (NFS) mount point. This is done by creating Nfs file shares using existing APIs CreateNfsFileShare. Using the feature in this update, the customer can restrict the clients that have read/write access to the gateway by specifying the list of clients as a list of IP addresses or CIDR blocks. This list can be specified using the API CreateNfsFileShare while creating new file shares, or UpdateNfsFileShare while update existing file shares. To find out the list of clients that have access, the existing API DescribeNfsFileShare will now output the list of clients that have access."
}
]
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.11.0-->
<!--LATEST=2.12.0-->
<!--ENTRYINSERT-->

## 2.12.0
* feature: StorageGateway: File gateway mode in AWS Storage gateway provides access to objects in S3 as files on a Network File System (NFS) mount point. This is done by creating Nfs file shares using existing APIs CreateNfsFileShare. Using the feature in this update, the customer can restrict the clients that have read/write access to the gateway by specifying the list of clients as a list of IP addresses or CIDR blocks. This list can be specified using the API CreateNfsFileShare while creating new file shares, or UpdateNfsFileShare while update existing file shares. To find out the list of clients that have access, the existing API DescribeNfsFileShare will now output the list of clients that have access.

## 2.11.0
* bugfix: TypeScript: Add `endpoint` property to AWS.S3 instance declaration.
* feature: EC2: This feature allows customers to associate an IAM profile to running instances that do not have any.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ to work with the new major version.
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.11.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.12.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
41 changes: 27 additions & 14 deletions apis/storagegateway-2013-06-30.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@
"KMSKey": {},
"Role": {},
"LocationARN": {},
"DefaultStorageClass": {}
"DefaultStorageClass": {},
"ClientList": {
"shape": "S1d"
}
}
},
"output": {
Expand Down Expand Up @@ -342,7 +345,7 @@
"type": "structure",
"members": {
"TapeARNs": {
"shape": "S1w"
"shape": "S1y"
}
}
}
Expand Down Expand Up @@ -556,7 +559,7 @@
],
"members": {
"VolumeARNs": {
"shape": "S2n"
"shape": "S2p"
}
}
},
Expand All @@ -580,7 +583,7 @@
},
"SourceSnapshotId": {},
"VolumeiSCSIAttributes": {
"shape": "S2v"
"shape": "S2x"
},
"CreatedDate": {
"type": "timestamp"
Expand Down Expand Up @@ -716,7 +719,10 @@
"Path": {},
"Role": {},
"LocationARN": {},
"DefaultStorageClass": {}
"DefaultStorageClass": {},
"ClientList": {
"shape": "S1d"
}
}
}
}
Expand Down Expand Up @@ -756,7 +762,7 @@
],
"members": {
"VolumeARNs": {
"shape": "S2n"
"shape": "S2p"
}
}
},
Expand Down Expand Up @@ -784,7 +790,7 @@
"type": "boolean"
},
"VolumeiSCSIAttributes": {
"shape": "S2v"
"shape": "S2x"
},
"CreatedDate": {
"type": "timestamp"
Expand All @@ -800,7 +806,7 @@
"type": "structure",
"members": {
"TapeARNs": {
"shape": "S1w"
"shape": "S1y"
},
"Marker": {},
"Limit": {
Expand Down Expand Up @@ -883,7 +889,7 @@
"members": {
"GatewayARN": {},
"TapeARNs": {
"shape": "S1w"
"shape": "S1y"
},
"Marker": {},
"Limit": {
Expand Down Expand Up @@ -1164,7 +1170,7 @@
"type": "structure",
"members": {
"TapeARNs": {
"shape": "S1w"
"shape": "S1y"
},
"Marker": {},
"Limit": {
Expand Down Expand Up @@ -1542,7 +1548,10 @@
"NFSFileShareDefaults": {
"shape": "S15"
},
"DefaultStorageClass": {}
"DefaultStorageClass": {},
"ClientList": {
"shape": "S1d"
}
}
},
"output": {
Expand Down Expand Up @@ -1630,15 +1639,19 @@
}
}
},
"S1w": {
"S1d": {
"type": "list",
"member": {}
},
"S1y": {
"type": "list",
"member": {}
},
"S2n": {
"S2p": {
"type": "list",
"member": {}
},
"S2v": {
"S2x": {
"type": "structure",
"members": {
"TargetARN": {},
Expand Down
22 changes: 21 additions & 1 deletion apis/storagegateway-2013-06-30.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,10 @@
"DefaultStorageClass":{
"shape":"StorageClass",
"documentation":"<p>The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.</p>"
},
"ClientList":{
"shape":"FileShareClientList",
"documentation":"<p>The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks.</p>"
}
},
"documentation":"<p>CreateNFSFileShareInput</p>"
Expand Down Expand Up @@ -2137,6 +2141,13 @@
"max":10,
"min":1
},
"FileShareClientList":{
"type":"list",
"member":{"shape":"IPV4AddressCIDR"},
"documentation":"<p>The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. </p>",
"max":100,
"min":1
},
"FileShareId":{
"type":"string",
"documentation":"<p>The ID of the file share. </p>",
Expand Down Expand Up @@ -2240,6 +2251,10 @@
"max":23,
"min":0
},
"IPV4AddressCIDR":{
"type":"string",
"pattern":"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
},
"Initiator":{
"type":"string",
"max":50,
Expand Down Expand Up @@ -2558,7 +2573,8 @@
"DefaultStorageClass":{
"shape":"StorageClass",
"documentation":"<p>The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.</p>"
}
},
"ClientList":{"shape":"FileShareClientList"}
},
"documentation":"<p>The Unix file permissions and ownership information assigned, by default, to native S3 objects when Storage Gateway discovers them in S3 buckets.</p>"
},
Expand Down Expand Up @@ -3226,6 +3242,10 @@
"DefaultStorageClass":{
"shape":"StorageClass",
"documentation":"<p>The default storage class for objects put into an Amazon S3 bucket by a file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.</p>"
},
"ClientList":{
"shape":"FileShareClientList",
"documentation":"<p>The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks.</p>"
}
},
"documentation":"<p>UpdateNFSFileShareInput</p>"
Expand Down
2 changes: 1 addition & 1 deletion apis/storagegateway-2013-06-30.paginators.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@
"result_key": "VolumeInfos"
}
}
}
}
11 changes: 11 additions & 0 deletions clients/storagegateway.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,10 @@ declare namespace StorageGateway {
* The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
*/
DefaultStorageClass?: StorageClass;
/**
* The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks.
*/
ClientList?: FileShareClientList;
}
export interface CreateNFSFileShareOutput {
/**
Expand Down Expand Up @@ -1236,6 +1240,7 @@ declare namespace StorageGateway {
export type ErrorCode = "ActivationKeyExpired"|"ActivationKeyInvalid"|"ActivationKeyNotFound"|"GatewayInternalError"|"GatewayNotConnected"|"GatewayNotFound"|"GatewayProxyNetworkConnectionBusy"|"AuthenticationFailure"|"BandwidthThrottleScheduleNotFound"|"Blocked"|"CannotExportSnapshot"|"ChapCredentialNotFound"|"DiskAlreadyAllocated"|"DiskDoesNotExist"|"DiskSizeGreaterThanVolumeMaxSize"|"DiskSizeLessThanVolumeSize"|"DiskSizeNotGigAligned"|"DuplicateCertificateInfo"|"DuplicateSchedule"|"EndpointNotFound"|"IAMNotSupported"|"InitiatorInvalid"|"InitiatorNotFound"|"InternalError"|"InvalidGateway"|"InvalidEndpoint"|"InvalidParameters"|"InvalidSchedule"|"LocalStorageLimitExceeded"|"LunAlreadyAllocated "|"LunInvalid"|"MaximumContentLengthExceeded"|"MaximumTapeCartridgeCountExceeded"|"MaximumVolumeCountExceeded"|"NetworkConfigurationChanged"|"NoDisksAvailable"|"NotImplemented"|"NotSupported"|"OperationAborted"|"OutdatedGateway"|"ParametersNotImplemented"|"RegionInvalid"|"RequestTimeout"|"ServiceUnavailable"|"SnapshotDeleted"|"SnapshotIdInvalid"|"SnapshotInProgress"|"SnapshotNotFound"|"SnapshotScheduleNotFound"|"StagingAreaFull"|"StorageFailure"|"TapeCartridgeNotFound"|"TargetAlreadyExists"|"TargetInvalid"|"TargetNotFound"|"UnauthorizedOperation"|"VolumeAlreadyExists"|"VolumeIdInvalid"|"VolumeInUse"|"VolumeNotFound"|"VolumeNotReady"|string;
export type FileShareARN = string;
export type FileShareARNList = FileShareARN[];
export type FileShareClientList = IPV4AddressCIDR[];
export type FileShareId = string;
export interface FileShareInfo {
FileShareARN?: FileShareARN;
Expand Down Expand Up @@ -1277,6 +1282,7 @@ declare namespace StorageGateway {
export type GatewayType = string;
export type Gateways = GatewayInfo[];
export type HourOfDay = number;
export type IPV4AddressCIDR = string;
export type Initiator = string;
export type Initiators = Initiator[];
export type IqnName = string;
Expand Down Expand Up @@ -1453,6 +1459,7 @@ declare namespace StorageGateway {
* The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
*/
DefaultStorageClass?: StorageClass;
ClientList?: FileShareClientList;
}
export type NFSFileShareInfoList = NFSFileShareInfo[];
export interface NetworkInterface {
Expand Down Expand Up @@ -1821,6 +1828,10 @@ declare namespace StorageGateway {
* The default storage class for objects put into an Amazon S3 bucket by a file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
*/
DefaultStorageClass?: StorageClass;
/**
* The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks.
*/
ClientList?: FileShareClientList;
}
export interface UpdateNFSFileShareOutput {
/**
Expand Down
Loading

0 comments on commit e56cd9e

Please sign in to comment.