AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateSAMLProviderInput

import "github.com/aws/aws-sdk-go/service/iam"

type CreateSAMLProviderInput struct { Name *string `min:"1" type:"string" required:"true"` SAMLMetadataDocument *string `min:"1000" type:"string" required:"true"` }

Name

Type: *string

The name of the provider to create.

This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Name is a required field

SAMLMetadataDocument

Type: *string

An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP.

For more information, see About SAML 2.0-based Federation (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html) in the IAM User Guide

SAMLMetadataDocument is a required field

Method

GoString

func (s CreateSAMLProviderInput) GoString() string

GoString returns the string representation

SetName

func (s *CreateSAMLProviderInput) SetName(v string) *CreateSAMLProviderInput

SetName sets the Name field's value.

SetSAMLMetadataDocument

func (s *CreateSAMLProviderInput) SetSAMLMetadataDocument(v string) *CreateSAMLProviderInput

SetSAMLMetadataDocument sets the SAMLMetadataDocument field's value.

String

func (s CreateSAMLProviderInput) String() string

String returns the string representation

Validate

func (s *CreateSAMLProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: