Agree with the comments above. Rigging a "simple" character or object in Maya is extremely simple - maybe just a couple of minutes. But building a rig that includes good controls for animation maybe requires an hour. And, if this is not a skill you need to develop extensively, it is a good idea to purchase some plugin tools for the job. These will automatically build good animation controls for you.
Rigging an object or character that will need very realistic motion in the animation can take a day or two, although most of this time will be spent on the "skinning" portion of the job - that is on building in sufficient geometry in the joints and developing good skin weights. Not really on the "rigging" itself - that part is straightforward in Maya and never takes much time. Maya is a program that has extensive tools just for character development and animation, so it allows for creation of specialized animation controls - that is the control structure you might use for a bear would be different than the controls you might want for a biped or for a bird or for a tractor object.
And then Maya is designed to allow for complex character development where you want to show accurate muscle movement under the skin, and for hair strands moving in your animation, but this is a pretty advanced field of work and can take weeks. Not what you are asking about, I think. And as PhantomDesign says, in this advanced area, skinning, rigging and animation are specialized skills - rarely performed by the same person. (But, as a long-time general freelance modelbuilder, I think that every 3d modeller should be somewhat familiar with skinning, rigging and animation. And have some reasonable familiarity with the tools for those things in the software of their choice.)
If you have a simple biped character and just need some simple animations of that character, you should look into the online Mixamo.com program. This is a free service where you can submit a simple biped character (usually a human) in *.fbx and in *.obj file format to obtain a downloadable animation of that character. The Mixamo program will "rig" your character using an automatic procedure, and then you can select from about 200 different animations. (One or many.) After applying the animation to your character, you can download the resulting animated character, probably also best in *.fbx file format. All this may take you an hour's worth of time.
Of course, as you would expect, there are a lot of limitations in the ability of the automatic tools to do a god job. Often, you will get some distortions of the body, especially in the crotch area, and you will want any clothing on your biped to be pretty close-fitting to the body. Loose clothing can't be animated very well in their tools. But, this is a good service to know about, because even those of us that are long-time character-builders/animators can make use of something quick and simple, for a job that only requires "quick and simple."