R/sso_interfaces.R

Defines functions logout_output logout_input list_accounts_output list_accounts_input list_account_roles_output list_account_roles_input get_role_credentials_output get_role_credentials_input

# This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common populate
#' @include sso_service.R
NULL

.sso$get_role_credentials_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(roleName = structure(logical(0), tags = list(location = "querystring", locationName = "role_name", type = "string")), accountId = structure(logical(0), tags = list(location = "querystring", locationName = "account_id", type = "string")), accessToken = structure(logical(0), tags = list(location = "header", locationName = "x-amz-sso_bearer_token", type = "string", sensitive = TRUE))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.sso$get_role_credentials_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(roleCredentials = structure(list(accessKeyId = structure(logical(0), tags = list(type = "string")), secretAccessKey = structure(logical(0), tags = list(type = "string", sensitive = TRUE)), sessionToken = structure(logical(0), tags = list(type = "string", sensitive = TRUE)), expiration = structure(logical(0), tags = list(type = "long"))), tags = list(type = "structure"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.sso$list_account_roles_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(nextToken = structure(logical(0), tags = list(location = "querystring", locationName = "next_token", type = "string")), maxResults = structure(logical(0), tags = list(location = "querystring", locationName = "max_result", type = "integer", box = TRUE)), accessToken = structure(logical(0), tags = list(location = "header", locationName = "x-amz-sso_bearer_token", type = "string", sensitive = TRUE)), accountId = structure(logical(0), tags = list(location = "querystring", locationName = "account_id", type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.sso$list_account_roles_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(nextToken = structure(logical(0), tags = list(type = "string")), roleList = structure(list(structure(list(roleName = structure(logical(0), tags = list(type = "string")), accountId = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure"))), tags = list(type = "list"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.sso$list_accounts_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(nextToken = structure(logical(0), tags = list(location = "querystring", locationName = "next_token", type = "string")), maxResults = structure(logical(0), tags = list(location = "querystring", locationName = "max_result", type = "integer", box = TRUE)), accessToken = structure(logical(0), tags = list(location = "header", locationName = "x-amz-sso_bearer_token", type = "string", sensitive = TRUE))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.sso$list_accounts_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(nextToken = structure(logical(0), tags = list(type = "string")), accountList = structure(list(structure(list(accountId = structure(logical(0), tags = list(type = "string")), accountName = structure(logical(0), tags = list(type = "string")), emailAddress = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure"))), tags = list(type = "list"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.sso$logout_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(accessToken = structure(logical(0), tags = list(location = "header", locationName = "x-amz-sso_bearer_token", type = "string", sensitive = TRUE))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.sso$logout_output <- function(...) {
  list()
}

Try the paws.security.identity package in your browser

Any scripts or data that you put into this service are public.

paws.security.identity documentation built on Sept. 12, 2023, 1:10 a.m.