aws-sdk-efs 1.23.0 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,16 +11,34 @@ module Aws::EFS
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ AccessPointAlreadyExists = Shapes::StructureShape.new(name: 'AccessPointAlreadyExists')
15
+ AccessPointArn = Shapes::StringShape.new(name: 'AccessPointArn')
16
+ AccessPointDescription = Shapes::StructureShape.new(name: 'AccessPointDescription')
17
+ AccessPointDescriptions = Shapes::ListShape.new(name: 'AccessPointDescriptions')
18
+ AccessPointId = Shapes::StringShape.new(name: 'AccessPointId')
19
+ AccessPointLimitExceeded = Shapes::StructureShape.new(name: 'AccessPointLimitExceeded')
20
+ AccessPointNotFound = Shapes::StructureShape.new(name: 'AccessPointNotFound')
21
+ AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
22
+ AvailabilityZoneName = Shapes::StringShape.new(name: 'AvailabilityZoneName')
14
23
  AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
15
24
  BadRequest = Shapes::StructureShape.new(name: 'BadRequest')
25
+ BypassPolicyLockoutSafetyCheck = Shapes::BooleanShape.new(name: 'BypassPolicyLockoutSafetyCheck')
26
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
27
+ CreateAccessPointRequest = Shapes::StructureShape.new(name: 'CreateAccessPointRequest')
16
28
  CreateFileSystemRequest = Shapes::StructureShape.new(name: 'CreateFileSystemRequest')
17
29
  CreateMountTargetRequest = Shapes::StructureShape.new(name: 'CreateMountTargetRequest')
18
30
  CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
31
+ CreationInfo = Shapes::StructureShape.new(name: 'CreationInfo')
19
32
  CreationToken = Shapes::StringShape.new(name: 'CreationToken')
33
+ DeleteAccessPointRequest = Shapes::StructureShape.new(name: 'DeleteAccessPointRequest')
34
+ DeleteFileSystemPolicyRequest = Shapes::StructureShape.new(name: 'DeleteFileSystemPolicyRequest')
20
35
  DeleteFileSystemRequest = Shapes::StructureShape.new(name: 'DeleteFileSystemRequest')
21
36
  DeleteMountTargetRequest = Shapes::StructureShape.new(name: 'DeleteMountTargetRequest')
22
37
  DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
23
38
  DependencyTimeout = Shapes::StructureShape.new(name: 'DependencyTimeout')
39
+ DescribeAccessPointsRequest = Shapes::StructureShape.new(name: 'DescribeAccessPointsRequest')
40
+ DescribeAccessPointsResponse = Shapes::StructureShape.new(name: 'DescribeAccessPointsResponse')
41
+ DescribeFileSystemPolicyRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemPolicyRequest')
24
42
  DescribeFileSystemsRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemsRequest')
25
43
  DescribeFileSystemsResponse = Shapes::StructureShape.new(name: 'DescribeFileSystemsResponse')
26
44
  DescribeLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeLifecycleConfigurationRequest')
@@ -41,12 +59,15 @@ module Aws::EFS
41
59
  FileSystemLimitExceeded = Shapes::StructureShape.new(name: 'FileSystemLimitExceeded')
42
60
  FileSystemNotFound = Shapes::StructureShape.new(name: 'FileSystemNotFound')
43
61
  FileSystemNullableSizeValue = Shapes::IntegerShape.new(name: 'FileSystemNullableSizeValue')
62
+ FileSystemPolicyDescription = Shapes::StructureShape.new(name: 'FileSystemPolicyDescription')
44
63
  FileSystemSize = Shapes::StructureShape.new(name: 'FileSystemSize')
45
64
  FileSystemSizeValue = Shapes::IntegerShape.new(name: 'FileSystemSizeValue')
65
+ Gid = Shapes::IntegerShape.new(name: 'Gid')
46
66
  IncorrectFileSystemLifeCycleState = Shapes::StructureShape.new(name: 'IncorrectFileSystemLifeCycleState')
47
67
  IncorrectMountTargetState = Shapes::StructureShape.new(name: 'IncorrectMountTargetState')
48
68
  InsufficientThroughputCapacity = Shapes::StructureShape.new(name: 'InsufficientThroughputCapacity')
49
69
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
70
+ InvalidPolicyException = Shapes::StructureShape.new(name: 'InvalidPolicyException')
50
71
  IpAddress = Shapes::StringShape.new(name: 'IpAddress')
51
72
  IpAddressInUse = Shapes::StructureShape.new(name: 'IpAddressInUse')
52
73
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
@@ -54,8 +75,11 @@ module Aws::EFS
54
75
  LifecycleConfigurationDescription = Shapes::StructureShape.new(name: 'LifecycleConfigurationDescription')
55
76
  LifecyclePolicies = Shapes::ListShape.new(name: 'LifecyclePolicies')
56
77
  LifecyclePolicy = Shapes::StructureShape.new(name: 'LifecyclePolicy')
78
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
79
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
57
80
  Marker = Shapes::StringShape.new(name: 'Marker')
58
81
  MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
82
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
59
83
  ModifyMountTargetSecurityGroupsRequest = Shapes::StructureShape.new(name: 'ModifyMountTargetSecurityGroupsRequest')
60
84
  MountTargetConflict = Shapes::StructureShape.new(name: 'MountTargetConflict')
61
85
  MountTargetCount = Shapes::IntegerShape.new(name: 'MountTargetCount')
@@ -63,12 +87,24 @@ module Aws::EFS
63
87
  MountTargetDescriptions = Shapes::ListShape.new(name: 'MountTargetDescriptions')
64
88
  MountTargetId = Shapes::StringShape.new(name: 'MountTargetId')
65
89
  MountTargetNotFound = Shapes::StructureShape.new(name: 'MountTargetNotFound')
90
+ Name = Shapes::StringShape.new(name: 'Name')
66
91
  NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
67
92
  NetworkInterfaceLimitExceeded = Shapes::StructureShape.new(name: 'NetworkInterfaceLimitExceeded')
68
93
  NoFreeAddressesInSubnet = Shapes::StructureShape.new(name: 'NoFreeAddressesInSubnet')
94
+ OwnerGid = Shapes::IntegerShape.new(name: 'OwnerGid')
95
+ OwnerUid = Shapes::IntegerShape.new(name: 'OwnerUid')
96
+ Path = Shapes::StringShape.new(name: 'Path')
69
97
  PerformanceMode = Shapes::StringShape.new(name: 'PerformanceMode')
98
+ Permissions = Shapes::StringShape.new(name: 'Permissions')
99
+ Policy = Shapes::StringShape.new(name: 'Policy')
100
+ PolicyNotFound = Shapes::StructureShape.new(name: 'PolicyNotFound')
101
+ PosixUser = Shapes::StructureShape.new(name: 'PosixUser')
70
102
  ProvisionedThroughputInMibps = Shapes::FloatShape.new(name: 'ProvisionedThroughputInMibps')
103
+ PutFileSystemPolicyRequest = Shapes::StructureShape.new(name: 'PutFileSystemPolicyRequest')
71
104
  PutLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'PutLifecycleConfigurationRequest')
105
+ ResourceId = Shapes::StringShape.new(name: 'ResourceId')
106
+ RootDirectory = Shapes::StructureShape.new(name: 'RootDirectory')
107
+ SecondaryGids = Shapes::ListShape.new(name: 'SecondaryGids')
72
108
  SecurityGroup = Shapes::StringShape.new(name: 'SecurityGroup')
73
109
  SecurityGroupLimitExceeded = Shapes::StructureShape.new(name: 'SecurityGroupLimitExceeded')
74
110
  SecurityGroupNotFound = Shapes::StructureShape.new(name: 'SecurityGroupNotFound')
@@ -78,21 +114,59 @@ module Aws::EFS
78
114
  Tag = Shapes::StructureShape.new(name: 'Tag')
79
115
  TagKey = Shapes::StringShape.new(name: 'TagKey')
80
116
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
117
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
81
118
  TagValue = Shapes::StringShape.new(name: 'TagValue')
82
119
  Tags = Shapes::ListShape.new(name: 'Tags')
83
120
  ThroughputLimitExceeded = Shapes::StructureShape.new(name: 'ThroughputLimitExceeded')
84
121
  ThroughputMode = Shapes::StringShape.new(name: 'ThroughputMode')
85
122
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
123
+ Token = Shapes::StringShape.new(name: 'Token')
86
124
  TooManyRequests = Shapes::StructureShape.new(name: 'TooManyRequests')
87
125
  TransitionToIARules = Shapes::StringShape.new(name: 'TransitionToIARules')
126
+ Uid = Shapes::IntegerShape.new(name: 'Uid')
88
127
  UnsupportedAvailabilityZone = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZone')
128
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
89
129
  UpdateFileSystemRequest = Shapes::StructureShape.new(name: 'UpdateFileSystemRequest')
90
130
 
131
+ AccessPointAlreadyExists.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
132
+ AccessPointAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
133
+ AccessPointAlreadyExists.add_member(:access_point_id, Shapes::ShapeRef.new(shape: AccessPointId, required: true, location_name: "AccessPointId"))
134
+ AccessPointAlreadyExists.struct_class = Types::AccessPointAlreadyExists
135
+
136
+ AccessPointDescription.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
137
+ AccessPointDescription.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
138
+ AccessPointDescription.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
139
+ AccessPointDescription.add_member(:access_point_id, Shapes::ShapeRef.new(shape: AccessPointId, location_name: "AccessPointId"))
140
+ AccessPointDescription.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: AccessPointArn, location_name: "AccessPointArn"))
141
+ AccessPointDescription.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location_name: "FileSystemId"))
142
+ AccessPointDescription.add_member(:posix_user, Shapes::ShapeRef.new(shape: PosixUser, location_name: "PosixUser"))
143
+ AccessPointDescription.add_member(:root_directory, Shapes::ShapeRef.new(shape: RootDirectory, location_name: "RootDirectory"))
144
+ AccessPointDescription.add_member(:owner_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "OwnerId"))
145
+ AccessPointDescription.add_member(:life_cycle_state, Shapes::ShapeRef.new(shape: LifeCycleState, location_name: "LifeCycleState"))
146
+ AccessPointDescription.struct_class = Types::AccessPointDescription
147
+
148
+ AccessPointDescriptions.member = Shapes::ShapeRef.new(shape: AccessPointDescription)
149
+
150
+ AccessPointLimitExceeded.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
151
+ AccessPointLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
152
+ AccessPointLimitExceeded.struct_class = Types::AccessPointLimitExceeded
153
+
154
+ AccessPointNotFound.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
155
+ AccessPointNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
156
+ AccessPointNotFound.struct_class = Types::AccessPointNotFound
157
+
91
158
  BadRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
92
159
  BadRequest.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
93
160
  BadRequest.struct_class = Types::BadRequest
94
161
 
95
- CreateFileSystemRequest.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, required: true, location_name: "CreationToken"))
162
+ CreateAccessPointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
163
+ CreateAccessPointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
164
+ CreateAccessPointRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
165
+ CreateAccessPointRequest.add_member(:posix_user, Shapes::ShapeRef.new(shape: PosixUser, location_name: "PosixUser"))
166
+ CreateAccessPointRequest.add_member(:root_directory, Shapes::ShapeRef.new(shape: RootDirectory, location_name: "RootDirectory"))
167
+ CreateAccessPointRequest.struct_class = Types::CreateAccessPointRequest
168
+
169
+ CreateFileSystemRequest.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, required: true, location_name: "CreationToken", metadata: {"idempotencyToken"=>true}))
96
170
  CreateFileSystemRequest.add_member(:performance_mode, Shapes::ShapeRef.new(shape: PerformanceMode, location_name: "PerformanceMode"))
97
171
  CreateFileSystemRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Encrypted, location_name: "Encrypted"))
98
172
  CreateFileSystemRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
@@ -111,6 +185,17 @@ module Aws::EFS
111
185
  CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
112
186
  CreateTagsRequest.struct_class = Types::CreateTagsRequest
113
187
 
188
+ CreationInfo.add_member(:owner_uid, Shapes::ShapeRef.new(shape: OwnerUid, required: true, location_name: "OwnerUid"))
189
+ CreationInfo.add_member(:owner_gid, Shapes::ShapeRef.new(shape: OwnerGid, required: true, location_name: "OwnerGid"))
190
+ CreationInfo.add_member(:permissions, Shapes::ShapeRef.new(shape: Permissions, required: true, location_name: "Permissions"))
191
+ CreationInfo.struct_class = Types::CreationInfo
192
+
193
+ DeleteAccessPointRequest.add_member(:access_point_id, Shapes::ShapeRef.new(shape: AccessPointId, required: true, location: "uri", location_name: "AccessPointId"))
194
+ DeleteAccessPointRequest.struct_class = Types::DeleteAccessPointRequest
195
+
196
+ DeleteFileSystemPolicyRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
197
+ DeleteFileSystemPolicyRequest.struct_class = Types::DeleteFileSystemPolicyRequest
198
+
114
199
  DeleteFileSystemRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
115
200
  DeleteFileSystemRequest.struct_class = Types::DeleteFileSystemRequest
116
201
 
@@ -125,6 +210,19 @@ module Aws::EFS
125
210
  DependencyTimeout.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
126
211
  DependencyTimeout.struct_class = Types::DependencyTimeout
127
212
 
213
+ DescribeAccessPointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
214
+ DescribeAccessPointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
215
+ DescribeAccessPointsRequest.add_member(:access_point_id, Shapes::ShapeRef.new(shape: AccessPointId, location: "querystring", location_name: "AccessPointId"))
216
+ DescribeAccessPointsRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location: "querystring", location_name: "FileSystemId"))
217
+ DescribeAccessPointsRequest.struct_class = Types::DescribeAccessPointsRequest
218
+
219
+ DescribeAccessPointsResponse.add_member(:access_points, Shapes::ShapeRef.new(shape: AccessPointDescriptions, location_name: "AccessPoints"))
220
+ DescribeAccessPointsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
221
+ DescribeAccessPointsResponse.struct_class = Types::DescribeAccessPointsResponse
222
+
223
+ DescribeFileSystemPolicyRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
224
+ DescribeFileSystemPolicyRequest.struct_class = Types::DescribeFileSystemPolicyRequest
225
+
128
226
  DescribeFileSystemsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "MaxItems"))
129
227
  DescribeFileSystemsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "Marker"))
130
228
  DescribeFileSystemsRequest.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, location: "querystring", location_name: "CreationToken"))
@@ -149,6 +247,7 @@ module Aws::EFS
149
247
  DescribeMountTargetsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "Marker"))
150
248
  DescribeMountTargetsRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location: "querystring", location_name: "FileSystemId"))
151
249
  DescribeMountTargetsRequest.add_member(:mount_target_id, Shapes::ShapeRef.new(shape: MountTargetId, location: "querystring", location_name: "MountTargetId"))
250
+ DescribeMountTargetsRequest.add_member(:access_point_id, Shapes::ShapeRef.new(shape: AccessPointId, location: "querystring", location_name: "AccessPointId"))
152
251
  DescribeMountTargetsRequest.struct_class = Types::DescribeMountTargetsRequest
153
252
 
154
253
  DescribeMountTargetsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
@@ -201,6 +300,10 @@ module Aws::EFS
201
300
  FileSystemNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
202
301
  FileSystemNotFound.struct_class = Types::FileSystemNotFound
203
302
 
303
+ FileSystemPolicyDescription.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location_name: "FileSystemId"))
304
+ FileSystemPolicyDescription.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "Policy"))
305
+ FileSystemPolicyDescription.struct_class = Types::FileSystemPolicyDescription
306
+
204
307
  FileSystemSize.add_member(:value, Shapes::ShapeRef.new(shape: FileSystemSizeValue, required: true, location_name: "Value"))
205
308
  FileSystemSize.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
206
309
  FileSystemSize.add_member(:value_in_ia, Shapes::ShapeRef.new(shape: FileSystemNullableSizeValue, location_name: "ValueInIA"))
@@ -223,6 +326,10 @@ module Aws::EFS
223
326
  InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
224
327
  InternalServerError.struct_class = Types::InternalServerError
225
328
 
329
+ InvalidPolicyException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
330
+ InvalidPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
331
+ InvalidPolicyException.struct_class = Types::InvalidPolicyException
332
+
226
333
  IpAddressInUse.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
227
334
  IpAddressInUse.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
228
335
  IpAddressInUse.struct_class = Types::IpAddressInUse
@@ -235,6 +342,15 @@ module Aws::EFS
235
342
  LifecyclePolicy.add_member(:transition_to_ia, Shapes::ShapeRef.new(shape: TransitionToIARules, location_name: "TransitionToIA"))
236
343
  LifecyclePolicy.struct_class = Types::LifecyclePolicy
237
344
 
345
+ ListTagsForResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ResourceId"))
346
+ ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
347
+ ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
348
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
349
+
350
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
351
+ ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
352
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
353
+
238
354
  ModifyMountTargetSecurityGroupsRequest.add_member(:mount_target_id, Shapes::ShapeRef.new(shape: MountTargetId, required: true, location: "uri", location_name: "MountTargetId"))
239
355
  ModifyMountTargetSecurityGroupsRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
240
356
  ModifyMountTargetSecurityGroupsRequest.struct_class = Types::ModifyMountTargetSecurityGroupsRequest
@@ -250,6 +366,8 @@ module Aws::EFS
250
366
  MountTargetDescription.add_member(:life_cycle_state, Shapes::ShapeRef.new(shape: LifeCycleState, required: true, location_name: "LifeCycleState"))
251
367
  MountTargetDescription.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
252
368
  MountTargetDescription.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "NetworkInterfaceId"))
369
+ MountTargetDescription.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
370
+ MountTargetDescription.add_member(:availability_zone_name, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZoneName"))
253
371
  MountTargetDescription.struct_class = Types::MountTargetDescription
254
372
 
255
373
  MountTargetDescriptions.member = Shapes::ShapeRef.new(shape: MountTargetDescription)
@@ -266,10 +384,30 @@ module Aws::EFS
266
384
  NoFreeAddressesInSubnet.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
267
385
  NoFreeAddressesInSubnet.struct_class = Types::NoFreeAddressesInSubnet
268
386
 
387
+ PolicyNotFound.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
388
+ PolicyNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
389
+ PolicyNotFound.struct_class = Types::PolicyNotFound
390
+
391
+ PosixUser.add_member(:uid, Shapes::ShapeRef.new(shape: Uid, required: true, location_name: "Uid"))
392
+ PosixUser.add_member(:gid, Shapes::ShapeRef.new(shape: Gid, required: true, location_name: "Gid"))
393
+ PosixUser.add_member(:secondary_gids, Shapes::ShapeRef.new(shape: SecondaryGids, location_name: "SecondaryGids"))
394
+ PosixUser.struct_class = Types::PosixUser
395
+
396
+ PutFileSystemPolicyRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
397
+ PutFileSystemPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "Policy"))
398
+ PutFileSystemPolicyRequest.add_member(:bypass_policy_lockout_safety_check, Shapes::ShapeRef.new(shape: BypassPolicyLockoutSafetyCheck, location_name: "BypassPolicyLockoutSafetyCheck"))
399
+ PutFileSystemPolicyRequest.struct_class = Types::PutFileSystemPolicyRequest
400
+
269
401
  PutLifecycleConfigurationRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
270
402
  PutLifecycleConfigurationRequest.add_member(:lifecycle_policies, Shapes::ShapeRef.new(shape: LifecyclePolicies, required: true, location_name: "LifecyclePolicies"))
271
403
  PutLifecycleConfigurationRequest.struct_class = Types::PutLifecycleConfigurationRequest
272
404
 
405
+ RootDirectory.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
406
+ RootDirectory.add_member(:creation_info, Shapes::ShapeRef.new(shape: CreationInfo, location_name: "CreationInfo"))
407
+ RootDirectory.struct_class = Types::RootDirectory
408
+
409
+ SecondaryGids.member = Shapes::ShapeRef.new(shape: Gid)
410
+
273
411
  SecurityGroupLimitExceeded.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
274
412
  SecurityGroupLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
275
413
  SecurityGroupLimitExceeded.struct_class = Types::SecurityGroupLimitExceeded
@@ -290,6 +428,10 @@ module Aws::EFS
290
428
 
291
429
  TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
292
430
 
431
+ TagResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ResourceId"))
432
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
433
+ TagResourceRequest.struct_class = Types::TagResourceRequest
434
+
293
435
  Tags.member = Shapes::ShapeRef.new(shape: Tag)
294
436
 
295
437
  ThroughputLimitExceeded.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
@@ -304,6 +446,10 @@ module Aws::EFS
304
446
  UnsupportedAvailabilityZone.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
305
447
  UnsupportedAvailabilityZone.struct_class = Types::UnsupportedAvailabilityZone
306
448
 
449
+ UntagResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ResourceId"))
450
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, location_name: "TagKeys"))
451
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
452
+
307
453
  UpdateFileSystemRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
308
454
  UpdateFileSystemRequest.add_member(:throughput_mode, Shapes::ShapeRef.new(shape: ThroughputMode, location_name: "ThroughputMode"))
309
455
  UpdateFileSystemRequest.add_member(:provisioned_throughput_in_mibps, Shapes::ShapeRef.new(shape: ProvisionedThroughputInMibps, location_name: "ProvisionedThroughputInMibps"))
@@ -326,6 +472,19 @@ module Aws::EFS
326
472
  "uid" => "elasticfilesystem-2015-02-01",
327
473
  }
328
474
 
475
+ api.add_operation(:create_access_point, Seahorse::Model::Operation.new.tap do |o|
476
+ o.name = "CreateAccessPoint"
477
+ o.http_method = "POST"
478
+ o.http_request_uri = "/2015-02-01/access-points"
479
+ o.input = Shapes::ShapeRef.new(shape: CreateAccessPointRequest)
480
+ o.output = Shapes::ShapeRef.new(shape: AccessPointDescription)
481
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
482
+ o.errors << Shapes::ShapeRef.new(shape: AccessPointAlreadyExists)
483
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
484
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
485
+ o.errors << Shapes::ShapeRef.new(shape: AccessPointLimitExceeded)
486
+ end)
487
+
329
488
  api.add_operation(:create_file_system, Seahorse::Model::Operation.new.tap do |o|
330
489
  o.name = "CreateFileSystem"
331
490
  o.http_method = "POST"
@@ -364,6 +523,7 @@ module Aws::EFS
364
523
  o.name = "CreateTags"
365
524
  o.http_method = "POST"
366
525
  o.http_request_uri = "/2015-02-01/create-tags/{FileSystemId}"
526
+ o.deprecated = true
367
527
  o.input = Shapes::ShapeRef.new(shape: CreateTagsRequest)
368
528
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
369
529
  o.errors << Shapes::ShapeRef.new(shape: BadRequest)
@@ -371,6 +531,17 @@ module Aws::EFS
371
531
  o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
372
532
  end)
373
533
 
534
+ api.add_operation(:delete_access_point, Seahorse::Model::Operation.new.tap do |o|
535
+ o.name = "DeleteAccessPoint"
536
+ o.http_method = "DELETE"
537
+ o.http_request_uri = "/2015-02-01/access-points/{AccessPointId}"
538
+ o.input = Shapes::ShapeRef.new(shape: DeleteAccessPointRequest)
539
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
540
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
541
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
542
+ o.errors << Shapes::ShapeRef.new(shape: AccessPointNotFound)
543
+ end)
544
+
374
545
  api.add_operation(:delete_file_system, Seahorse::Model::Operation.new.tap do |o|
375
546
  o.name = "DeleteFileSystem"
376
547
  o.http_method = "DELETE"
@@ -383,6 +554,17 @@ module Aws::EFS
383
554
  o.errors << Shapes::ShapeRef.new(shape: FileSystemInUse)
384
555
  end)
385
556
 
557
+ api.add_operation(:delete_file_system_policy, Seahorse::Model::Operation.new.tap do |o|
558
+ o.name = "DeleteFileSystemPolicy"
559
+ o.http_method = "DELETE"
560
+ o.http_request_uri = "/2015-02-01/file-systems/{FileSystemId}/policy"
561
+ o.input = Shapes::ShapeRef.new(shape: DeleteFileSystemPolicyRequest)
562
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
563
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
564
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
565
+ o.errors << Shapes::ShapeRef.new(shape: IncorrectFileSystemLifeCycleState)
566
+ end)
567
+
386
568
  api.add_operation(:delete_mount_target, Seahorse::Model::Operation.new.tap do |o|
387
569
  o.name = "DeleteMountTarget"
388
570
  o.http_method = "DELETE"
@@ -399,6 +581,7 @@ module Aws::EFS
399
581
  o.name = "DeleteTags"
400
582
  o.http_method = "POST"
401
583
  o.http_request_uri = "/2015-02-01/delete-tags/{FileSystemId}"
584
+ o.deprecated = true
402
585
  o.input = Shapes::ShapeRef.new(shape: DeleteTagsRequest)
403
586
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
404
587
  o.errors << Shapes::ShapeRef.new(shape: BadRequest)
@@ -406,6 +589,35 @@ module Aws::EFS
406
589
  o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
407
590
  end)
408
591
 
592
+ api.add_operation(:describe_access_points, Seahorse::Model::Operation.new.tap do |o|
593
+ o.name = "DescribeAccessPoints"
594
+ o.http_method = "GET"
595
+ o.http_request_uri = "/2015-02-01/access-points"
596
+ o.input = Shapes::ShapeRef.new(shape: DescribeAccessPointsRequest)
597
+ o.output = Shapes::ShapeRef.new(shape: DescribeAccessPointsResponse)
598
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
599
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
600
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
601
+ o.errors << Shapes::ShapeRef.new(shape: AccessPointNotFound)
602
+ o[:pager] = Aws::Pager.new(
603
+ limit_key: "max_results",
604
+ tokens: {
605
+ "next_token" => "next_token"
606
+ }
607
+ )
608
+ end)
609
+
610
+ api.add_operation(:describe_file_system_policy, Seahorse::Model::Operation.new.tap do |o|
611
+ o.name = "DescribeFileSystemPolicy"
612
+ o.http_method = "GET"
613
+ o.http_request_uri = "/2015-02-01/file-systems/{FileSystemId}/policy"
614
+ o.input = Shapes::ShapeRef.new(shape: DescribeFileSystemPolicyRequest)
615
+ o.output = Shapes::ShapeRef.new(shape: FileSystemPolicyDescription)
616
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
617
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
618
+ o.errors << Shapes::ShapeRef.new(shape: PolicyNotFound)
619
+ end)
620
+
409
621
  api.add_operation(:describe_file_systems, Seahorse::Model::Operation.new.tap do |o|
410
622
  o.name = "DescribeFileSystems"
411
623
  o.http_method = "GET"
@@ -415,6 +627,12 @@ module Aws::EFS
415
627
  o.errors << Shapes::ShapeRef.new(shape: BadRequest)
416
628
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
417
629
  o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
630
+ o[:pager] = Aws::Pager.new(
631
+ limit_key: "max_items",
632
+ tokens: {
633
+ "next_marker" => "marker"
634
+ }
635
+ )
418
636
  end)
419
637
 
420
638
  api.add_operation(:describe_lifecycle_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -450,17 +668,43 @@ module Aws::EFS
450
668
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
451
669
  o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
452
670
  o.errors << Shapes::ShapeRef.new(shape: MountTargetNotFound)
671
+ o.errors << Shapes::ShapeRef.new(shape: AccessPointNotFound)
453
672
  end)
454
673
 
455
674
  api.add_operation(:describe_tags, Seahorse::Model::Operation.new.tap do |o|
456
675
  o.name = "DescribeTags"
457
676
  o.http_method = "GET"
458
677
  o.http_request_uri = "/2015-02-01/tags/{FileSystemId}/"
678
+ o.deprecated = true
459
679
  o.input = Shapes::ShapeRef.new(shape: DescribeTagsRequest)
460
680
  o.output = Shapes::ShapeRef.new(shape: DescribeTagsResponse)
461
681
  o.errors << Shapes::ShapeRef.new(shape: BadRequest)
462
682
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
463
683
  o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
684
+ o[:pager] = Aws::Pager.new(
685
+ limit_key: "max_items",
686
+ tokens: {
687
+ "next_marker" => "marker"
688
+ }
689
+ )
690
+ end)
691
+
692
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
693
+ o.name = "ListTagsForResource"
694
+ o.http_method = "GET"
695
+ o.http_request_uri = "/2015-02-01/resource-tags/{ResourceId}"
696
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
697
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
698
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
699
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
700
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
701
+ o.errors << Shapes::ShapeRef.new(shape: AccessPointNotFound)
702
+ o[:pager] = Aws::Pager.new(
703
+ limit_key: "max_results",
704
+ tokens: {
705
+ "next_token" => "next_token"
706
+ }
707
+ )
464
708
  end)
465
709
 
466
710
  api.add_operation(:modify_mount_target_security_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -477,6 +721,18 @@ module Aws::EFS
477
721
  o.errors << Shapes::ShapeRef.new(shape: SecurityGroupNotFound)
478
722
  end)
479
723
 
724
+ api.add_operation(:put_file_system_policy, Seahorse::Model::Operation.new.tap do |o|
725
+ o.name = "PutFileSystemPolicy"
726
+ o.http_method = "PUT"
727
+ o.http_request_uri = "/2015-02-01/file-systems/{FileSystemId}/policy"
728
+ o.input = Shapes::ShapeRef.new(shape: PutFileSystemPolicyRequest)
729
+ o.output = Shapes::ShapeRef.new(shape: FileSystemPolicyDescription)
730
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
731
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
732
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPolicyException)
733
+ o.errors << Shapes::ShapeRef.new(shape: IncorrectFileSystemLifeCycleState)
734
+ end)
735
+
480
736
  api.add_operation(:put_lifecycle_configuration, Seahorse::Model::Operation.new.tap do |o|
481
737
  o.name = "PutLifecycleConfiguration"
482
738
  o.http_method = "PUT"
@@ -489,6 +745,30 @@ module Aws::EFS
489
745
  o.errors << Shapes::ShapeRef.new(shape: IncorrectFileSystemLifeCycleState)
490
746
  end)
491
747
 
748
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
749
+ o.name = "TagResource"
750
+ o.http_method = "POST"
751
+ o.http_request_uri = "/2015-02-01/resource-tags/{ResourceId}"
752
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
753
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
754
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
755
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
756
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
757
+ o.errors << Shapes::ShapeRef.new(shape: AccessPointNotFound)
758
+ end)
759
+
760
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
761
+ o.name = "UntagResource"
762
+ o.http_method = "DELETE"
763
+ o.http_request_uri = "/2015-02-01/resource-tags/{ResourceId}"
764
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
765
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
766
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
767
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
768
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
769
+ o.errors << Shapes::ShapeRef.new(shape: AccessPointNotFound)
770
+ end)
771
+
492
772
  api.add_operation(:update_file_system, Seahorse::Model::Operation.new.tap do |o|
493
773
  o.name = "UpdateFileSystem"
494
774
  o.http_method = "PUT"