public interface InstanceProfileApi
InstanceProfileAsyncApi
Modifier and Type | Method and Description |
---|---|
void |
addRole(String name,
String roleName)
Adds the specified role to the specified instance profile.
|
InstanceProfile |
create(String name)
Creates a new instance profile for your AWS account
|
InstanceProfile |
createWithPath(String name,
String path)
like
create(String) , except you can specify a path. |
void |
delete(String name)
Deletes the specified instanceProfile.
|
InstanceProfile |
get(String name)
Retrieves information about the specified instance profile, including the instance profile's path, GUID, and ARN.
|
PagedIterable<InstanceProfile> |
list()
returns all instance profiles in order.
|
IterableWithMarker<InstanceProfile> |
listAt(String marker)
retrieves up to 100 instance profiles in order, starting at
marker |
IterableWithMarker<InstanceProfile> |
listFirstPage()
retrieves up to 100 instance profiles in order.
|
PagedIterable<InstanceProfile> |
listPathPrefix(String pathPrefix)
returns all instance profiles in order at the specified
pathPrefix . |
IterableWithMarker<InstanceProfile> |
listPathPrefixAt(String pathPrefix,
String marker)
retrieves up to 100 instance profiles in order at the specified
pathPrefix , starting at marker . |
IterableWithMarker<InstanceProfile> |
listPathPrefixFirstPage(String pathPrefix)
retrieves up to 100 instance profiles in order at the specified
pathPrefix . |
void |
removeRole(String name,
String roleName)
Removes the specified role from the specified instance profile.
|
InstanceProfile create(String name)
name
- Name of the instance profile to create.InstanceProfile createWithPath(String name, String path)
create(String)
, except you can specify a path.PagedIterable<InstanceProfile> list()
IterableWithMarker<InstanceProfile> listFirstPage()
IterableWithMarker<InstanceProfile> listAt(String marker)
marker
marker
- starting point to resume the listPagedIterable<InstanceProfile> listPathPrefix(String pathPrefix)
pathPrefix
.pathPrefix
- ex. /division_abc/subdivision_xyz/
IterableWithMarker<InstanceProfile> listPathPrefixFirstPage(String pathPrefix)
pathPrefix
.pathPrefix
- ex. /division_abc/subdivision_xyz/
IterableWithMarker<InstanceProfile> listPathPrefixAt(String pathPrefix, String marker)
pathPrefix
, starting at marker
.pathPrefix
- ex. /division_abc/subdivision_xyz/
marker
- starting point to resume the list@Nullable InstanceProfile get(String name)
name
- Name of the instance profile to get information about.void delete(String name)
name
- Name of the instance profile to deletevoid addRole(String name, String roleName)
name
- Name of the instance profile to update.roleName
- Name of the role to addCopyright © 2009-2013 jclouds. All Rights Reserved.