You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::UpdateResourceServerRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Note:

When making an API call, you may pass UpdateResourceServerRequest data as a hash:

{
  user_pool_id: "UserPoolIdType", # required
  identifier: "ResourceServerIdentifierType", # required
  name: "ResourceServerNameType", # required
  scopes: [
    {
      scope_name: "ResourceServerScopeNameType", # required
      scope_description: "ResourceServerScopeDescriptionType", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#identifierString

The identifier for the resource server.

Returns:

  • (String)


5071
5072
5073
5074
5075
5076
5077
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5071

class UpdateResourceServerRequest < Struct.new(
  :user_pool_id,
  :identifier,
  :name,
  :scopes)
  include Aws::Structure
end

#nameString

The name of the resource server.

Returns:

  • (String)


5071
5072
5073
5074
5075
5076
5077
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5071

class UpdateResourceServerRequest < Struct.new(
  :user_pool_id,
  :identifier,
  :name,
  :scopes)
  include Aws::Structure
end

#scopesArray<Types::ResourceServerScopeType>

The scope values to be set for the resource server.

Returns:



5071
5072
5073
5074
5075
5076
5077
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5071

class UpdateResourceServerRequest < Struct.new(
  :user_pool_id,
  :identifier,
  :name,
  :scopes)
  include Aws::Structure
end

#user_pool_idString

The user pool ID for the user pool.

Returns:

  • (String)


5071
5072
5073
5074
5075
5076
5077
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5071

class UpdateResourceServerRequest < Struct.new(
  :user_pool_id,
  :identifier,
  :name,
  :scopes)
  include Aws::Structure
end