Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

APIs.io Engineering Platform #Action=CreateRole API

The #Action=CreateRole API from APIs.io Engineering Platform — 1 operation(s) for #action=createrole.

This API exposes 2 operations across 1 path, and defines 25 schemas. It is described by OpenAPI 3.0.0, at version 2015-07-09.

Requests are made against 4 base URLs: http://apigateway.{region}.amazonaws.com, https://apigateway.{region}.amazonaws.com, http://apigateway.{region}.amazonaws.com.cn, https://apigateway.{region}.amazonaws.com.cn.

2 operations 1 paths 25 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2015-07-09
Base URL
https://{bucketname}.s3.amazonaws.com
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

APIs.io Engineering Platform #Action=CreateRole API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (hmac). By default, every request must be authenticated.

  • hmac — Amazon Signature authorization v4

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

#Action=CreateRole 2
GET
/#Action=CreateRole
Creates a new role for your Amazon Web Services account. For more information about roles, see IAM roles . For information about quotas for role names and the number of roles you can create, see IAM…
GET_CreateRole 16 params → 200480481482483484485
POST
/#Action=CreateRole
Creates a new role for your Amazon Web Services account. For more information about roles, see IAM roles . For information about quotas for role names and the number of roles you can create, see IAM…
POST_CreateRole 9 params body → 200480481482483484485

Schemas 25

The contract defines 25 schemas that model the data the API accepts and returns. The most detailed are Role (11 properties), CreateRoleRequest (7 properties), AttachedPermissionsBoundary (2 properties), RoleLastUsed (2 properties). Each schema is shown below with its type and property counts.

InvalidInputException
tagListType
array
Tag
object
A structure that represents user-provided metadata that can be associated with an IAM resource. For more information about tagging, see Tagging IAM resources i…
2 properties 2 required
arnType
string
The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources. For more information about ARNs, go to Amazon Resource Names (AR…
pathType
string
RoleLastUsed
object
Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is…
2 properties
roleDescriptionType
string
tagKeyType
string
tagValueType
string
LimitExceededException
stringType
string
idType
string
policyDocumentType
string
ConcurrentModificationException
AttachedPermissionsBoundary
object
Contains information about an attached permissions boundary. An attached permissions boundary is a managed policy that has been attached to a user or role to s…
2 properties
dateType
string
roleMaxSessionDurationType
integer
roleNameType
string
CreateRoleRequest
object
7 properties 2 required
ServiceFailureException
Role
object
Contains information about an IAM role. This structure is returned as a response element in several API operations that interact with roles.
11 properties 5 required
EntityAlreadyExistsException
CreateRoleResponse
object
Contains the response to a successful CreateRole request.
1 property 1 required
MalformedPolicyDocumentException
PermissionsBoundaryAttachmentType
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

engineering-platform-action-createrole-api-openapi.yml Raw ↑