Class IamActionTrait
java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait
software.amazon.smithy.aws.iam.traits.IamActionTrait
- All Implemented Interfaces:
- FromSourceLocation,- ToNode,- ToShapeId,- Trait,- ToSmithyBuilder<IamActionTrait>
Indicates properties of a Smithy operation as an IAM action.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classstatic final class
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic IamActionTrait.Builderbuilder()protected NodeThe result of toNode is used for hashCodes and equality.Gets the resources that performing this IAM action will create.Gets the description of what granting the user permission to invoke an operation would entail.getName()Get the AWS IAM resource name.Gets the relative URL path for the action within a set of IAM-related documentation.Gets other actions that the invoker must be authorized to perform when executing the targeted operation.Gets the resources an IAM action can be authorized against.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitequals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.smithy.model.traits.TraitisSynthetic
- 
Field Details- 
ID
 
- 
- 
Method Details- 
getNameGet the AWS IAM resource name.- Returns:
- Returns the name.
 
- 
getDocumentationGets the description of what granting the user permission to invoke an operation would entail.- Returns:
- Returns the documentation.
 
- 
getRelativeDocumentationGets the relative URL path for the action within a set of IAM-related documentation.- Returns:
- Returns the relative URL path to documentation.
 
- 
getRequiredActionsGets other actions that the invoker must be authorized to perform when executing the targeted operation.- Returns:
- Returns the list of required actions.
 
- 
getResourcesGets the resources an IAM action can be authorized against.- Returns:
- Returns the action's resources.
 
- 
getCreatesResourcesGets the resources that performing this IAM action will create.- Returns:
- Returns the resources created by the action.
 
- 
builder
- 
createNodeDescription copied from class:AbstractTraitThe result of toNode is used for hashCodes and equality. Subclasses must implement createNode to turn the trait into a Node. This is then cached for subsequent retrievals.- Specified by:
- createNodein class- AbstractTrait
- Returns:
- Returns the trait as a node.
 
- 
toBuilderDescription copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToSmithyBuilder<IamActionTrait>
- Returns:
- a builder for type T
 
 
-